depot/third_party/nixpkgs/pkgs/development/python-modules/hijri-converter/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
558 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "hijri-converter";
version = "2.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "08gv6ypn2zd0i8yrv24m448xkic492qrgxj349slp1achhg9p7ln";
};
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 ];
};
}