diff options
author | montag451 <montag451@laposte.net> | 2019-04-15 08:38:30 +0200 |
---|---|---|
committer | Robert Schütz <rschuetz17@gmail.com> | 2019-04-15 08:38:30 +0200 |
commit | b18719fabbdf855a38f7184a0ae60dae4e01c7c4 (patch) | |
tree | 1099e71d27c5b193d34775a755a73bd732d85405 /pkgs/development/python-modules/humanfriendly/default.nix | |
parent | 3b6c07c398c3da29d98dd2710703aaa27f1b0b1a (diff) | |
download | nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.tar nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.tar.gz nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.tar.bz2 nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.tar.lz nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.tar.xz nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.tar.zst nixpkgs-b18719fabbdf855a38f7184a0ae60dae4e01c7c4.zip |
pythonPackages.humanfriendly: init at 4.18 (#59466)
Diffstat (limited to 'pkgs/development/python-modules/humanfriendly/default.nix')
-rw-r--r-- | pkgs/development/python-modules/humanfriendly/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/humanfriendly/default.nix b/pkgs/development/python-modules/humanfriendly/default.nix new file mode 100644 index 00000000000..bef32f947c3 --- /dev/null +++ b/pkgs/development/python-modules/humanfriendly/default.nix @@ -0,0 +1,30 @@ +{ lib +, pythonOlder +, buildPythonPackage +, fetchPypi +, monotonic +}: + +buildPythonPackage rec { + pname = "humanfriendly"; + version = "4.18"; + + src = fetchPypi { + inherit pname version; + sha256 = "33ee8ceb63f1db61cce8b5c800c531e1a61023ac5488ccde2ba574a85be00a85"; + }; + + propagatedBuildInputs = lib.optional (pythonOlder "3.3") monotonic; + + # humanfriendly tests depends on coloredlogs which itself depends on + # humanfriendly. This lead to infinite recursion when trying to + # build this package so we have to disable the test suite :( + doCheck = false; + + meta = with lib; { + description = "Human friendly output for text interfaces using Python"; + homepage = https://humanfriendly.readthedocs.io/; + license = licenses.mit; + maintainers = with maintainers; [ montag451 ]; + }; +} |