depot/third_party/nixpkgs/pkgs/development/python-modules/humanize/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

32 lines
662 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, mock
, setuptools_scm
}:
buildPythonPackage rec {
version = "2.4.1";
pname = "humanize";
disabled = isPy27; # setup.py no longer compatible
src = fetchPypi {
inherit pname version;
sha256 = "4b4ce2fc1c9d79c63f68009ddf5a12ad238aa78e2fceb256b5aa921763551422";
};
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;
};
}