1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 pkg-config,
7 perl,
8 libitl,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "itools";
13 version = "1.1";
14
15 nativeBuildInputs = [
16 pkg-config
17 autoreconfHook
18 ];
19 buildInputs = [
20 libitl
21 perl
22 ];
23
24 outputs = [
25 "out"
26 "man"
27 ];
28
29 src = fetchFromGitHub {
30 owner = "arabeyes-org";
31 repo = "itools";
32 rev = finalAttrs.version;
33 hash = "sha256-DxTZaq2SlEmy9k7iAdjctpPkk+2rIaF+xEcfXj/ERWw=";
34 };
35
36 meta = {
37 description = "Islamic command-line tools for prayer times and hijri dates";
38 longDescription = ''
39 The itools package is a set of user friendly applications utilizing Arabeyes' ITL library.
40
41 The package addresses two main areas - hijri date and prayertime calculation. The package
42 is envisioned to mimick the development of the underlying ITL library and is meant to
43 always give the end-user a simple means to access its functions.
44 '';
45 homepage = "https://www.arabeyes.org/ITL";
46 license = lib.licenses.gpl2Only;
47 platforms = lib.platforms.all;
48 maintainers = with lib.maintainers; [ amyipdev ];
49 };
50})