Something went wrong. Try again.
lol
Something went wrong. Try again.
870 B · 38 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839{ 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 ]; };}