nixpkgs/pkgs/applications/editors/bviplus/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
666 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "bviplus";
version = "0.9.4";
src = fetchurl {
url = "mirror://sourceforge/project/bviplus/bviplus/${version}/bviplus-${version}.tgz";
sha256 = "10x6fbn8v6i0y0m40ja30pwpyqksnn8k2vqd290vxxlvlhzah4zb";
};
buildInputs = [
ncurses
];
makeFlags = "PREFIX=$(out)";
buildFlags = [ "CFLAGS=-fgnu89-inline" ];
meta = with stdenv.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 ];
};
}