Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pytestcache, pytest, isort }: 2 3buildPythonPackage rec { 4 pname = "pytest-isort"; 5 version = "0.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "c70d0f900f4647bb714f0843dd82d7f7b759904006de31254efdb72ce88e0c0e"; 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}