From fe633fb1be9aa56079c488f8c95d455a96908206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 11 Mar 2019 12:42:15 +0100 Subject: [PATCH] python.pkgs.pytest-isort: 0.2.1 -> 0.3.1 --- .../python-modules/pytest-isort/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pytest-isort/default.nix b/pkgs/development/python-modules/pytest-isort/default.nix index 23cd7667992..235d6f3af24 100644 --- a/pkgs/development/python-modules/pytest-isort/default.nix +++ b/pkgs/development/python-modules/pytest-isort/default.nix @@ -1,19 +1,21 @@ -{ lib, buildPythonPackage, fetchPypi, pytestcache, pytest, isort }: +{ lib, buildPythonPackage, fetchPypi, pytest, isort }: buildPythonPackage rec { pname = "pytest-isort"; - version = "0.2.1"; + version = "0.3.1"; src = fetchPypi { inherit pname version; - sha256 = "c70d0f900f4647bb714f0843dd82d7f7b759904006de31254efdb72ce88e0c0e"; + sha256 = "4bfee60dad1870b51700d55a85f5ceda766bd9d3d2878c1bbabee80e61b1be1a"; }; - propagatedBuildInputs = [ pytestcache pytest isort ]; + propagatedBuildInputs = [ isort ]; - # no tests in PyPI tarball, no tags on GitHub - # https://github.com/moccu/pytest-isort/pull/8 - doCheck = false; + checkInputs = [ pytest ]; + + checkPhase = '' + py.test -vs --cache-clear + ''; meta = with lib; { description = "Pytest plugin to perform isort checks (import ordering)";