blob: afa2ca565f0d97e149a98b17fefd9c5c97851d3b (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-fancy-pypi-readme,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hijridate";
version = "2.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dralshehri";
repo = "hijridate";
tag = "v${version}";
hash = "sha256-xnFF81l1ZqtH91NzYvjzXpXpN/zeHdARJYx6L5VNBSo=";
};
build-system = [
hatchling
hatch-fancy-pypi-readme
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hijridate" ];
meta = {
description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
homepage = "https://github.com/dralshehri/hijridate";
changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
}
|