kjv: 2018-12-25 -> 2021-03-11
(cherry picked from commit 6461cc71c37ed44c6a887b3252c5e053e902054f)
This commit is contained in:
parent
7ebf2d4f9b
commit
431eed7521
|
@ -1,43 +1,41 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, readline }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
patchPrefix = "https://github.com/samuelgrf/kjv/commit/";
|
||||||
|
|
||||||
patch-base = "https://github.com/LukeSmithxyz/kjv/commit/";
|
add-apocrypha = fetchpatch {
|
||||||
|
url = patchPrefix + "0856fa0d37b45de0d6b47d163b5ea9a0b7f2c061.patch";
|
||||||
add-apocrypha = fetchpatch {
|
sha256 = "1jkajdg4wvpbbwc5mn37i4c8nfis4z0pv5rl7gqs0laj0gpj7jn8";
|
||||||
url = patch-base + "b92b7622285d10464f9274f11e740bef90705bbc.patch";
|
};
|
||||||
sha256 = "0n4sj8p9m10fcair4msc129jxkkx5whqzhjbr5k4lfgp6nb1zk8k";
|
|
||||||
};
|
|
||||||
|
|
||||||
add-install-target = fetchpatch {
|
|
||||||
url = patch-base + "f4ad73539eb73f1890f4b791d8d38dd95900a4a4.patch";
|
|
||||||
sha256 = "1yzj72i5fkzn2i4wl09q6jx7nwn2h4jwm49fc23nxfwchzar9m1q";
|
|
||||||
};
|
|
||||||
|
|
||||||
|
add-install-target = fetchpatch {
|
||||||
|
url = patchPrefix + "50a83256ee45430fb06b7aea1945dd91c6813bc3.patch";
|
||||||
|
sha256 = "0bv9yma67jdj496a6vn6y007c9gwjpg3rzld1i9m9y9xmlzq4yzv";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "kjv";
|
pname = "kjv";
|
||||||
version = "unstable-2018-12-25";
|
version = "unstable-2021-03-11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bontibon";
|
owner = "bontibon";
|
||||||
repo = pname;
|
repo = "kjv";
|
||||||
rev = "fda81a610e4be0e7c5cf242de655868762dda1d4";
|
rev = "108595dcbb9bb12d40e0309f029b6fb3ccd81309";
|
||||||
sha256 = "1favfcjvd3pzz1ywwv3pbbxdg7v37s8vplgsz8ag016xqf5ykqqf";
|
hash = "sha256-Z6myd9Xn23pYizG+IZVDrP988pYU06QIcpqXtWTcPiw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ add-apocrypha add-install-target ];
|
patches = [ add-apocrypha add-install-target ];
|
||||||
|
|
||||||
makeFlags = [
|
buildInputs = [ readline ];
|
||||||
"PREFIX=${placeholder "out"}"
|
|
||||||
];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Bible, King James Version";
|
description = "The Bible, King James Version";
|
||||||
homepage = "https://github.com/bontibon/kjv";
|
homepage = "https://github.com/bontibon/kjv";
|
||||||
license = licenses.publicDomain;
|
license = licenses.unlicense;
|
||||||
maintainers = [ maintainers.jtobin ];
|
maintainers = with maintainers; [ jtobin samuelgrf ];
|
||||||
|
mainProgram = "kjv";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue