3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/humanize/default.nix
2021-03-19 15:50:56 -04:00

33 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 ];
};
}