diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-06-20 10:25:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 10:25:28 +0200 |
commit | 1e8a5c8be07ac2dd8980f1072d473d4f6a74c039 (patch) | |
tree | fcbe9d0c6edb995191eb338768ed062782e8ac36 | |
parent | d9c4f1155d504b6860f222826ce0a6f0f83a311a (diff) | |
parent | 57814866676a49111385ac5380be4983cc0b465f (diff) |
Merge pull request #315797 from amyipdev/itools
itools: init at 1.1
-rw-r--r-- | pkgs/by-name/it/itools/package.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/by-name/it/itools/package.nix b/pkgs/by-name/it/itools/package.nix new file mode 100644 index 0000000000000..85cede0eb9007 --- /dev/null +++ b/pkgs/by-name/it/itools/package.nix @@ -0,0 +1,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 ]; + }; +}) |