Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 708 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, setuptools_scm 6, setuptools 7, pytestCheckHook 8, freezegun 9}: 10 11buildPythonPackage rec { 12 version = "3.3.0"; 13 pname = "humanize"; 14 disabled = isPy27; # setup.py no longer compatible 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "8bf7abd672b867f38b8b04593829b85b9b6199a61ef6586bf3629cc06458ff35"; 19 }; 20 21 nativeBuildInputs = [ setuptools_scm ]; 22 propagatedBuildInputs = [ setuptools ]; 23 checkInputs = [ pytestCheckHook freezegun ]; 24 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 }; 31 32}