2018-04-07 12:20:00 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestcache, pytest, isort }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-isort";
|
2018-10-06 11:56:19 +01:00
|
|
|
version = "0.2.1";
|
2018-04-07 12:20:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-06 11:56:19 +01:00
|
|
|
sha256 = "c70d0f900f4647bb714f0843dd82d7f7b759904006de31254efdb72ce88e0c0e";
|
2018-04-07 12:20:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytestcache pytest isort ];
|
|
|
|
|
|
|
|
# no tests in PyPI tarball, no tags on GitHub
|
|
|
|
# https://github.com/moccu/pytest-isort/pull/8
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pytest plugin to perform isort checks (import ordering)";
|
|
|
|
homepage = https://github.com/moccu/pytest-isort/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|