2018-04-07 13:20:00 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestcache, pytest, isort }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-isort";
|
2018-06-12 18:47:05 +02:00
|
|
|
version = "0.2.0";
|
2018-04-07 13:20:00 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:05 +02:00
|
|
|
sha256 = "d4d195ecfe33d81e258d251b2679b32216bad84131fb41984da22d9d0328a6fe";
|
2018-04-07 13:20:00 +02: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;
|
|
|
|
};
|
|
|
|
}
|