pythonPackages.humanfriendly: init at 4.18 (#59466)
This commit is contained in:
parent
3b6c07c398
commit
b18719fabb
30
pkgs/development/python-modules/humanfriendly/default.nix
Normal file
30
pkgs/development/python-modules/humanfriendly/default.nix
Normal file
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1983,6 +1983,8 @@ in {
|
|||||||
|
|
||||||
humanize = callPackage ../development/python-modules/humanize { };
|
humanize = callPackage ../development/python-modules/humanize { };
|
||||||
|
|
||||||
|
humanfriendly = callPackage ../development/python-modules/humanfriendly { };
|
||||||
|
|
||||||
hupper = callPackage ../development/python-modules/hupper {};
|
hupper = callPackage ../development/python-modules/hupper {};
|
||||||
|
|
||||||
hsaudiotag = callPackage ../development/python-modules/hsaudiotag { };
|
hsaudiotag = callPackage ../development/python-modules/hsaudiotag { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user