summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/bv/bvi/package.nix
blob: c3831c27d2821b1f2176e62e2a7abba0da2c9a8e (plain)
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
{
  lib,
  stdenv,
  fetchurl,
  ncurses,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "bvi";
  version = "1.5.0";

  src = fetchurl {
    url = "mirror://sourceforge/bvi/bvi-${finalAttrs.version}.src.tar.gz";
    sha256 = "sha256-ZUBxaho7K5cRY1EI2hSya66kiIgdSmghIcC927prdMs=";
  };

  buildInputs = [ ncurses ];

  meta = {
    description = "Hex editor with vim style keybindings";
    homepage = "https://bvi.sourceforge.net/download.html";
    license = lib.licenses.gpl2;
    maintainers = with lib.maintainers; [ pSub ];
    platforms = with lib.platforms; linux ++ darwin;
  };
})