linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / humanize / default.nix
blobef66870ddfd7d54bbc69e135d3d297afc1fabb52
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy27
5 , setuptools_scm
6 , setuptools
7 , pytestCheckHook
8 , freezegun
9 }:
11 buildPythonPackage rec {
12   version = "3.2.0";
13   pname = "humanize";
14   disabled = isPy27; # setup.py no longer compatible
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "09ph6fd1362xdn2hgwdgh30z0zqjp3bgvr1akyvm36b8jm400sdb";
19   };
21   nativeBuildInputs = [ setuptools_scm ];
22   propagatedBuildInputs = [ setuptools ];
23   checkInputs = [ pytestCheckHook freezegun ];
25   meta = with lib; {
26     description = "Python humanize utilities";
27     homepage = "https://github.com/jmoiron/humanize";
28     license = licenses.mit;
29     maintainers = with maintainers; [ rmcgibbo ];
30   };