Loading pkgs/by-name/nv/nvi/package.nix +16 −5 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, stdenv, fetchurl, fetchpatch, ncurses, db, }: Loading @@ -13,7 +12,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://deb.debian.org/debian/pool/main/n/nvi/nvi_${version}.orig.tar.gz"; sha256 = "13cp9iz017bk6ryi05jn7drbv7a5dyr201zqd3r4r8srj644ihwb"; hash = "sha256-i8NIiJFZo0zyaPgHILJvRZ29cjtWFhB9NnOdAH5Ml40="; }; patches = Loading @@ -28,16 +27,28 @@ stdenv.mkDerivation rec { preConfigure = '' cd build.unix ''; configureScript = "../dist/configure"; configureFlags = [ "vi_cv_path_preserve=/tmp" "--enable-widechar" ]; meta = with lib; { meta = { description = "Berkeley Vi Editor"; license = licenses.free; platforms = platforms.unix; longDescription = '' nvi ("new vi") is a re-implementation of the classic Berkeley text editor vi, written by Keith Bostic at UC Berkeley for 4BSD. Created to replace Unix-derived code in BSD, it provides a clean, unencumbered version of the original editor and is the default vi on all major BSD systems as well as MINIX. ''; license = lib.licenses.bsd3; platforms = lib.platforms.unix; mainProgram = "vi"; broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/nvi.x86_64-darwin }; } Loading
pkgs/by-name/nv/nvi/package.nix +16 −5 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, stdenv, fetchurl, fetchpatch, ncurses, db, }: Loading @@ -13,7 +12,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://deb.debian.org/debian/pool/main/n/nvi/nvi_${version}.orig.tar.gz"; sha256 = "13cp9iz017bk6ryi05jn7drbv7a5dyr201zqd3r4r8srj644ihwb"; hash = "sha256-i8NIiJFZo0zyaPgHILJvRZ29cjtWFhB9NnOdAH5Ml40="; }; patches = Loading @@ -28,16 +27,28 @@ stdenv.mkDerivation rec { preConfigure = '' cd build.unix ''; configureScript = "../dist/configure"; configureFlags = [ "vi_cv_path_preserve=/tmp" "--enable-widechar" ]; meta = with lib; { meta = { description = "Berkeley Vi Editor"; license = licenses.free; platforms = platforms.unix; longDescription = '' nvi ("new vi") is a re-implementation of the classic Berkeley text editor vi, written by Keith Bostic at UC Berkeley for 4BSD. Created to replace Unix-derived code in BSD, it provides a clean, unencumbered version of the original editor and is the default vi on all major BSD systems as well as MINIX. ''; license = lib.licenses.bsd3; platforms = lib.platforms.unix; mainProgram = "vi"; broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/nvi.x86_64-darwin }; }