openvi: 7.3.22 -> 7.4.23

This commit is contained in:
aleksana 2023-08-03 15:36:23 +08:00
parent 85eb9355b5
commit 74e9b9cd49

View File

@ -1,30 +1,22 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, ncurses
, perl
}:
stdenv.mkDerivation rec {
pname = "openvi";
version = "7.3.22";
version = "7.4.23";
src = fetchFromGitHub {
owner = "johnsonjh";
repo = "OpenVi";
rev = version;
hash = "sha256-yXYiH2FCT7ffRPmb28V54+KO1RLs8L9KHk3remkMWmA=";
hash = "sha256-DwecSnByRkjBFqy3gWJ0+1srF2YsNACqKrAITn6wXJw=";
};
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 ];
buildInputs = [ ncurses perl ];
makeFlags = [
"PREFIX=$(out)"