openvi: init at 7.3.22
This commit is contained in:
parent
2909d9b117
commit
64ec522697
2 changed files with 48 additions and 0 deletions
46
pkgs/applications/editors/openvi/default.nix
Normal file
46
pkgs/applications/editors/openvi/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, ncurses
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "openvi";
|
||||||
|
version = "7.3.22";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "johnsonjh";
|
||||||
|
repo = "OpenVi";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-yXYiH2FCT7ffRPmb28V54+KO1RLs8L9KHk3remkMWmA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# do not attempt to install to /var/tmp/vi.recover
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/johnsonjh/OpenVi/commit/5205f0234369963c443e83ca5028ca63feaaac91.patch";
|
||||||
|
hash = "sha256-hoKzQLnpdRbc48wffWbzFtivr20VqEPs4WRPXuDa/88=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"PREFIX=$(out)"
|
||||||
|
# command -p will yield command not found erorr
|
||||||
|
"PAWK=awk"
|
||||||
|
# silently fail the chown command
|
||||||
|
"IUSGR=$(USER)"
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/johnsonjh/OpenVi";
|
||||||
|
description = "Portable OpenBSD vi for UNIX systems";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ aleksana ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -32897,6 +32897,8 @@ with pkgs;
|
||||||
|
|
||||||
opentx = libsForQt5.callPackage ../applications/misc/opentx { };
|
opentx = libsForQt5.callPackage ../applications/misc/opentx { };
|
||||||
|
|
||||||
|
openvi = darwin.apple_sdk_11_0.callPackage ../applications/editors/openvi { };
|
||||||
|
|
||||||
opera = callPackage ../applications/networking/browsers/opera { };
|
opera = callPackage ../applications/networking/browsers/opera { };
|
||||||
|
|
||||||
orca = python3Packages.callPackage ../applications/misc/orca {
|
orca = python3Packages.callPackage ../applications/misc/orca {
|
||||||
|
|
Loading…
Reference in a new issue