2022-07-11 10:30:39 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
|
2012-09-14 20:41:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hexedit";
|
2022-07-11 10:30:39 +00:00
|
|
|
version = "1.6";
|
2012-09-14 20:41:41 +00:00
|
|
|
|
2022-07-11 10:30:39 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pixel";
|
|
|
|
repo = "hexedit";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI=";
|
2012-09-14 20:41:41 +00:00
|
|
|
};
|
|
|
|
|
2022-07-11 10:30:39 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2012-09-14 20:41:41 +00:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2022-07-11 10:30:39 +00:00
|
|
|
meta = with lib; {
|
2012-09-14 20:41:41 +00:00
|
|
|
description = "View and edit files in hexadecimal or in ASCII";
|
2022-07-11 10:30:39 +00:00
|
|
|
homepage = "http://rigaux.org/hexedit.html";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ delroth ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "hexedit";
|
2012-09-14 20:41:41 +00:00
|
|
|
};
|
|
|
|
}
|