diff --git a/pkgs/development/python-modules/ddt/default.nix b/pkgs/development/python-modules/ddt/default.nix index bc5964c73769..f419a717f083 100644 --- a/pkgs/development/python-modules/ddt/default.nix +++ b/pkgs/development/python-modules/ddt/default.nix @@ -9,23 +9,28 @@ buildPythonPackage rec { pname = "ddt"; - version = "1.4.4"; + version = "1.5.0"; src = fetchPypi { inherit pname version; - sha256 = "8de39a69730442dc835e4d33f9d2e33043ff91151c8d18086959ee556febb9f8"; + sha256 = "sha256-2q1rxfx2GeWqfu1sOU4Fv4KUYWChPl3y4m3hdsuvNH4="; }; - checkInputs = [ six pyyaml mock pytestCheckHook ]; - propagatedBuildInputs = lib.optionals (!isPy3k) [ enum34 ]; + checkInputs = [ six pyyaml mock pytestCheckHook ]; + + preCheck = '' + # pytest can't import one file even with PYTHONPATH set + rm test/test_named_data.py + ''; + meta = with lib; { description = "Data-Driven/Decorated Tests, a library to multiply test cases"; homepage = "https://github.com/txels/ddt"; + maintainers = with maintainers; [ ]; license = licenses.mit; }; - }