mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 20:34:06 +00:00
ce3258ddf5
This patch adds the Islamic Tools Library, which provides functions for calculating Islamic prayer times and Hijri calendar dates. It is necessary to add ITL before adding the itools suite (ical, ipraytime, ireminder, idate), which will be requested for addition to nixpkgs after libitl's acceptance. Signed-off-by: Amy Parker <amy@amyip.net>
33 lines
803 B
Nix
33 lines
803 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, fetchpatch
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libitl";
|
|
version = "0.1.8-unstable-2024-05-26";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "arabeyes-org";
|
|
repo = "ITL";
|
|
rev = "07de1851722d0818d1f981df234e1b585eb60e05";
|
|
hash = "sha256-bhejnA7FfuopR27heliaE/vNd1Rqvnjj3n/vkjmimAw=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Islamic Tools and Libraries (ITL)";
|
|
longDescription = ''
|
|
The Islamic Tools and Libraries (ITL) project provides
|
|
a fully featured library for performing common Islamic calculations.
|
|
'';
|
|
homepage = "https://www.arabeyes.org/ITL";
|
|
license = licenses.lgpl21Only;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ amyipdev ];
|
|
};
|
|
})
|