1{ lib, buildPythonPackage, fetchPypi, pytestcache, pytest, isort }: 2 3buildPythonPackage rec { 4 pname = "pytest-isort"; 5 version = "0.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "d4d195ecfe33d81e258d251b2679b32216bad84131fb41984da22d9d0328a6fe"; 10 }; 11 12 propagatedBuildInputs = [ pytestcache pytest isort ]; 13 14 # no tests in PyPI tarball, no tags on GitHub 15 # https://github.com/moccu/pytest-isort/pull/8 16 doCheck = false; 17 18 meta = with lib; { 19 description = "Pytest plugin to perform isort checks (import ordering)"; 20 homepage = https://github.com/moccu/pytest-isort/; 21 license = licenses.bsd3; 22 }; 23}