diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/bviplus')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/bviplus/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/bviplus/default.nix b/nixpkgs/pkgs/applications/editors/bviplus/default.nix new file mode 100644 index 000000000000..e48a147e6daf --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/bviplus/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchurl, ncurses }: + +stdenv.mkDerivation rec { + pname = "bviplus"; + version = "1.0"; + + src = fetchurl { + url = "mirror://sourceforge/project/bviplus/bviplus/${version}/bviplus-${version}.tgz"; + sha256 = "08q2fdyiirabbsp5qpn3v8jxp4gd85l776w6gqvrbjwqa29a8arg"; + }; + + buildInputs = [ + ncurses + ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + buildFlags = [ "CFLAGS=-fgnu89-inline" ]; + + meta = with lib; { + description = "Ncurses based hex editor with a vim-like interface"; + homepage = "http://bviplus.sourceforge.net"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ cstrahan ]; + }; +} |