diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-10 15:21:51 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-10 15:24:55 +0100 |
commit | 3c97239afec6cfdd7873c88f736487168a9c1ff4 (patch) | |
tree | 8f25b703ee03930c620603f80540f17fe80a5f76 /pkgs/development/python-modules/testtools | |
parent | c6bd88155e572bf20193be270bc6a75e40527764 (diff) | |
download | nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.tar nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.tar.gz nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.tar.bz2 nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.tar.lz nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.tar.xz nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.tar.zst nixpkgs-3c97239afec6cfdd7873c88f736487168a9c1ff4.zip |
pythonPackages.testtools: clean up dependencies
Diffstat (limited to 'pkgs/development/python-modules/testtools')
-rw-r--r-- | pkgs/development/python-modules/testtools/default.nix | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/testtools/default.nix b/pkgs/development/python-modules/testtools/default.nix index eb6a6694b05..1a99378a541 100644 --- a/pkgs/development/python-modules/testtools/default.nix +++ b/pkgs/development/python-modules/testtools/default.nix @@ -4,33 +4,26 @@ , pbr , python_mimeparse , extras -, lxml , unittest2 , traceback2 -, isPy3k -, fixtures -, pyrsistent +, testscenarios }: - - buildPythonPackage rec { pname = "testtools"; version = "2.3.0"; - # Python 2 only judging from SyntaxError -# disabled = isPy3k; - src = fetchPypi { inherit pname version; sha256 = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559"; }; - propagatedBuildInputs = [ pbr python_mimeparse extras lxml unittest2 pyrsistent ]; + propagatedBuildInputs = [ pbr python_mimeparse extras unittest2 ]; buildInputs = [ traceback2 ]; - # No tests in archive + # testscenarios has a circular dependency on testtools doCheck = false; + checkInputs = [ testscenarios ]; # testtools 2.0.0 and up has a circular run-time dependency on futures postPatch = '' @@ -42,4 +35,4 @@ buildPythonPackage rec { homepage = https://pypi.python.org/pypi/testtools; license = lib.licenses.mit; }; -} \ No newline at end of file +} |