Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / hijri-converter / default.nix
blobf99bddec459365d7c6ab71356bef0f5bd54829bc
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "hijri-converter";
11   version = "2.3.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-BptniSkeCDD0hgp53NNPs87qO5VRbtQBAgK5ZWuhq2E=";
19   };
21   nativeCheckInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "hijri_converter" ];
25   meta = with lib; {
26     description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
27     homepage = "https://github.com/dralshehri/hijri-converter";
28     changelog = "https://github.com/dralshehri/hijridate/blob/v${version}/CHANGELOG.md";
29     license = licenses.mit;
30     maintainers = with maintainers; [ hexa ];
31   };