nixpkgs/pkgs/applications/editors/bvi/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

21 lines
565 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "bvi";
version = "1.4.0";
src = fetchurl {
url = "mirror://sourceforge/bvi/${pname}-${version}.src.tar.gz";
sha256 = "00pq9rv7s8inqxq2m3xshxi58691i3pxw9smibcrgh6768l3qnh1";
};
buildInputs = [ ncurses ];
meta = with stdenv.lib; {
description = "Hex editor with vim style keybindings";
homepage = http://bvi.sourceforge.net/download.html;
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux ++ darwin;
};
}