1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "hijri-converter";
9 version = "2.1.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "08gv6ypn2zd0i8yrv24m448xkic492qrgxj349slp1achhg9p7ln";
14 };
15
16 checkInputs = [ pytestCheckHook ];
17
18 meta = with lib; {
19 description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
20 homepage = "https://github.com/dralshehri/hijri-converter";
21 license = licenses.mit;
22 maintainers = with maintainers; [ hexa ];
23 };
24}