Skip to content

Commit

Permalink
Fix build failure on Python versions older the 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
montag451 committed Apr 14, 2019
1 parent 20c2405 commit 984a356
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/humanfriendly/default.nix
@@ -1,6 +1,8 @@
{ stdenv
, pythonOlder
, buildPythonPackage
, fetchPypi
, monotonic
}:

buildPythonPackage rec {
Expand All @@ -12,6 +14,8 @@ buildPythonPackage rec {
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 :(
Expand Down

0 comments on commit 984a356

Please sign in to comment.