nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "hijri-converter";
9 version = "2.2.2";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-1KENsAnBQXWSu/s96+yt+gTY2NXVG2Spcelp12Gp8+E=";
14 };
15
16 checkInputs = [ pytestCheckHook ];
17
18 pythonImportsCheck = [ "hijri_converter" ];
19
20 meta = with lib; {
21 description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
22 homepage = "https://github.com/dralshehri/hijri-converter";
23 license = licenses.mit;
24 maintainers = with maintainers; [ hexa ];
25 };
26}