diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytest-isort')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pytest-isort/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytest-isort/default.nix b/nixpkgs/pkgs/development/python-modules/pytest-isort/default.nix index 9aa4410ec03..869466c6500 100644 --- a/nixpkgs/pkgs/development/python-modules/pytest-isort/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pytest-isort/default.nix @@ -1,17 +1,18 @@ -{ lib, buildPythonPackage, fetchPypi, pytest, isort }: +{ lib, buildPythonPackage, fetchPypi, isPy27, mock, pytest, isort }: buildPythonPackage rec { pname = "pytest-isort"; - version = "0.3.1"; + version = "1.1.0"; src = fetchPypi { inherit pname version; - sha256 = "4bfee60dad1870b51700d55a85f5ceda766bd9d3d2878c1bbabee80e61b1be1a"; + sha256 = "01j0sx8yxd7sbmvwky68mvnwrxxs5bjkvi61043jzff1ga92kg9h"; }; propagatedBuildInputs = [ isort ]; - checkInputs = [ pytest ]; + checkInputs = [ pytest ] + ++ lib.optionals isPy27 [ mock ]; checkPhase = '' py.test -vs --cache-clear |