summary refs log blame commit diff
path: root/pkgs/development/python-modules/hijri-converter/default.nix
blob: e9ce708b2cbae484778b9cb1146bd24def81c0a8 (plain) (tree)
1
2
3
4
5
6
7
8
9







                            
                    


                          
                                                                    










                                                                                              
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "hijri-converter";
  version = "2.1.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1cq67v0fjk7cd8kbppg2kl31a5i6jm8qrkcdqxx6vxwmx65l68ks";
  };

  checkInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Accurate Hijri-Gregorian date converter based on the Umm al-Qura calendar";
    homepage = "https://github.com/dralshehri/hijri-converter";
    license = licenses.mit;
    maintainers = with maintainers; [ hexa ];
  };
}