python.pkgs.pytest-isort: 0.2.1 -> 0.3.1

This commit is contained in:
Robert Schütz 2019-03-11 12:42:15 +01:00
parent 1f3844b86a
commit fe633fb1be

View File

@ -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)";