about summary refs log tree commit diff
path: root/pkgs/by-name/he/hexedit/package.nix
blob: e592d6633b6ce30b3a9ade019d0bfae9cd6198e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
  ncurses,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "hexedit";
  version = "1.6";

  src = fetchFromGitHub {
    owner = "pixel";
    repo = "hexedit";
    rev = finalAttrs.version;
    hash = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI=";
  };

  nativeBuildInputs = [ autoreconfHook ];
  buildInputs = [ ncurses ];

  meta = {
    description = "View and edit files in hexadecimal or in ASCII";
    homepage = "http://rigaux.org/hexedit.html";
    license = lib.licenses.gpl2Plus;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ sigmanificient ];
    mainProgram = "hexedit";
  };
})