1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, mock
6, setuptools_scm
7}:
8
9buildPythonPackage rec {
10 version = "2.6.0";
11 pname = "humanize";
12 disabled = isPy27; # setup.py no longer compatible
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "8ee358ea6c23de896b9d1925ebe6a8504bb2ba7e98d5ccf4d07ab7f3b28f3819";
17 };
18
19 nativeBuildInputs = [ setuptools_scm ];
20 checkInputs = [ mock ];
21
22 doCheck = false;
23
24 meta = with stdenv.lib; {
25 description = "Python humanize utilities";
26 homepage = "https://github.com/jmoiron/humanize";
27 license = licenses.mit;
28 maintainers = with maintainers; [ ];
29 platforms = platforms.unix;
30 };
31
32}