python312Packages.llm-gguf: init at 0.2 (#364926)
[NixPkgs.git] / pkgs / applications / misc / kjv / default.nix
blob0bd8f52d0a3b0f7123e8edb86c233757a6df57c6
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   fetchpatch,
6   readline,
7 }:
9 let
10   patchPrefix = "https://web.archive.org/web/20220422205751/https://github.com/samuelgrf/kjv/commit/";
12   add-apocrypha = fetchpatch {
13     url = patchPrefix + "0856fa0d37b45de0d6b47d163b5ea9a0b7f2c061.patch";
14     sha256 = "1jkajdg4wvpbbwc5mn37i4c8nfis4z0pv5rl7gqs0laj0gpj7jn8";
15   };
17   add-install-target = fetchpatch {
18     url = patchPrefix + "50a83256ee45430fb06b7aea1945dd91c6813bc3.patch";
19     sha256 = "0bv9yma67jdj496a6vn6y007c9gwjpg3rzld1i9m9y9xmlzq4yzv";
20   };
23 stdenv.mkDerivation {
24   pname = "kjv";
25   version = "unstable-2021-03-11";
27   src = fetchFromGitHub {
28     owner = "bontibon";
29     repo = "kjv";
30     rev = "108595dcbb9bb12d40e0309f029b6fb3ccd81309";
31     hash = "sha256-Z6myd9Xn23pYizG+IZVDrP988pYU06QIcpqXtWTcPiw=";
32   };
34   patches = [
35     add-apocrypha
36     add-install-target
37   ];
39   buildInputs = [ readline ];
41   makeFlags = [ "PREFIX=${placeholder "out"}" ];
43   meta = with lib; {
44     description = "Bible, King James Version";
45     homepage = "https://github.com/bontibon/kjv";
46     license = licenses.unlicense;
47     maintainers = with maintainers; [
48       jtobin
49       cafkafk
50     ];
51     mainProgram = "kjv";
52   };