d0d8e8fc71
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
32 lines
696 B
Nix
32 lines
696 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, setuptools_scm
|
|
, setuptools
|
|
, pytestCheckHook
|
|
, freezegun
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.2.0";
|
|
pname = "humanize";
|
|
disabled = isPy27; # setup.py no longer compatible
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "09ph6fd1362xdn2hgwdgh30z0zqjp3bgvr1akyvm36b8jm400sdb";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|