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