Merge pull request #246928 from Aleksanaa/openvi

openvi: 7.3.22 -> 7.4.23
This commit is contained in:
Weijia Wang 2023-08-04 12:13:39 +02:00 committed by GitHub
commit 69a04542c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)"