Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 ncurses, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "hexedit"; 11 version = "1.6"; 12 13 src = fetchFromGitHub { 14 owner = "pixel"; 15 repo = "hexedit"; 16 rev = finalAttrs.version; 17 hash = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI="; 18 }; 19 20 nativeBuildInputs = [ autoreconfHook ]; 21 buildInputs = [ ncurses ]; 22 23 meta = { 24 description = "View and edit files in hexadecimal or in ASCII"; 25 homepage = "http://rigaux.org/hexedit.html"; 26 license = lib.licenses.gpl2Plus; 27 platforms = lib.platforms.unix; 28 maintainers = with lib.maintainers; [ sigmanificient ]; 29 mainProgram = "hexedit"; 30 }; 31})