nixpkgs/pkgs/development/python-modules/humanize/default.nix
2020-06-11 10:00:26 +02:00

31 lines
600 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, mock
, setuptools_scm
}:
buildPythonPackage rec {
version = "2.4.0";
pname = "humanize";
src = fetchPypi {
inherit pname version;
sha256 = "42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026";
};
nativeBuildInputs = [ setuptools_scm ];
checkInputs = [ mock ];
doCheck = false;
meta = with stdenv.lib; {
description = "Python humanize utilities";
homepage = "https://github.com/jmoiron/humanize";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}