diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-08-29 14:13:53 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-08-29 14:33:52 +0200 |
commit | 792c220f480e615403507d2822f7c9f9597fb7e0 (patch) | |
tree | c16372ec6d2555dcdd8999c8bcb293dd6a74ee94 /pkgs/development/python-modules/ludios_wpull | |
parent | c23c59594e00fd7e4e4f3eabf48695efa28dfd0a (diff) |
python3.pkgs.ludios_wpull: fix constraint
Diffstat (limited to 'pkgs/development/python-modules/ludios_wpull')
-rw-r--r-- | pkgs/development/python-modules/ludios_wpull/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/ludios_wpull/default.nix b/pkgs/development/python-modules/ludios_wpull/default.nix index 7bea2b04bbd42..e87146f6fbc3c 100644 --- a/pkgs/development/python-modules/ludios_wpull/default.nix +++ b/pkgs/development/python-modules/ludios_wpull/default.nix @@ -8,15 +8,16 @@ , lxml , namedlist , sqlalchemy -, tornado_4 +, tornado , Yapsy +, pythonAtLeast }: buildPythonPackage rec { pname = "ludios_wpull"; version = "3.0.7"; - disabled = !isPy3k; + disabled = (!isPy3k) || (pythonAtLeast "3.8"); src = fetchFromGitHub { rev = version; @@ -25,7 +26,7 @@ buildPythonPackage rec { sha256 = "1j96avm0ynbazypzp766wh26n4qc73y7wgsiqfrdfl6x7rx20wgf"; }; - propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado_4 Yapsy ]; + propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado Yapsy ]; # Test suite has tests that fail on all platforms doCheck = false; @@ -35,5 +36,6 @@ buildPythonPackage rec { homepage = "https://github.com/ludios/wpull"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ ivan ]; + broken = lib.versions.major tornado.version != "4"; }; } |