about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix
blob: 27a1a90502845c0b34ebd65c96354dcdf1c7d84a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, gawk
, stdenv
, fetchFromGitHub
}:

stdenv.mkDerivation rec {
  pname = "lukesmithxyz-bible-kjv";
  version = "unstable-2022-06-01";

  src = fetchFromGitHub {
    owner = "lukesmithxyz";
    repo = "kjv";
    rev = "1b675c0396806a2a3d134c51fd11d9fed8ea3dc5";
    hash = "sha256-ii5SGZmO99VYbKdebfEbN3rL7LLSSQ0jm5mGqX2G3o0=";
  };

  buildInputs = [ gawk ];

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "Read the Word of God from your terminal + Apocrypha";
    mainProgram = "kjv";
    homepage = "https://lukesmith.xyz/articles/command-line-bibles";
    license = licenses.unlicense;
    platforms = platforms.unix;
    maintainers = [ maintainers.wesleyjrz ];
  };
}