1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 hatch-fancy-pypi-readme, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "hijridate"; 12 version = "2.5.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "dralshehri"; 17 repo = "hijridate"; 18 tag = "v${version}"; 19 hash = "sha256-IT5OnFDuNQ9tMfuZ5pFqnAPd7nspIfAmeN6Pqtn0OwA="; 20 }; 21 22 build-system = [ 23 hatchling 24 hatch-fancy-pypi-readme 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonImportsCheck = [ "hijridate" ]; 30 31 meta = with lib; { 32 description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar"; 33 homepage = "https://github.com/dralshehri/hijridate"; 34 changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ hexa ]; 37 }; 38}