about summary refs log tree commit diff
path: root/pkgs/by-name/it/itools/package.nix
blob: 85cede0eb9007d134c665384220facb761ed2963 (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
31
32
33
34
35
36
37
38
39
40
41
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkgs
, pkg-config
, perl
, libitl
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "itools";
  version = "1.1";

  nativeBuildInputs = [ pkg-config autoreconfHook ];
  buildInputs = [ libitl perl ];

  outputs = [ "out" "man" ];

  src = fetchFromGitHub {
    owner = "arabeyes-org";
    repo = "itools";
    rev = finalAttrs.version;
    hash = "sha256-DxTZaq2SlEmy9k7iAdjctpPkk+2rIaF+xEcfXj/ERWw=";
  };

  meta = {
    description = "Islamic command-line tools for prayer times and hijri dates";
    longDescription = ''
      The itools package is a set of user friendly applications utilizing Arabeyes' ITL library.

      The package addresses two main areas - hijri date and prayertime calculation. The package
      is envisioned to mimick the development of the underlying ITL library and is meant to
      always give the end-user a simple means to access its functions.
    '';
    homepage = "https://www.arabeyes.org/ITL";
    license = lib.licenses.gpl2Only;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ amyipdev ];
  };
})