ce641f4048
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
32 lines
709 B
Nix
32 lines
709 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, setuptools-scm
|
|
, setuptools
|
|
, pytestCheckHook
|
|
, freezegun
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.12.0";
|
|
pname = "humanize";
|
|
disabled = isPy27; # setup.py no longer compatible
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5ec1a66e230a3e31fb3f184aab9436ea13d4e37c168e0ffc345ae5bb57e58be6";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
propagatedBuildInputs = [ setuptools ];
|
|
checkInputs = [ pytestCheckHook freezegun ];
|
|
|
|
meta = with lib; {
|
|
description = "Python humanize utilities";
|
|
homepage = "https://github.com/jmoiron/humanize";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rmcgibbo ];
|
|
};
|
|
|
|
}
|