1{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm, pytest }: 2 3buildPythonPackage rec { 4 pname = "pytest-runner"; 5 version = "4.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "183f3745561b1e00ea51cd97634ba5c540848ab4aa8016a81faba7fb7f33ec76"; 10 }; 11 12 buildInputs = [ setuptools_scm pytest ]; 13 14 meta = with stdenv.lib; { 15 description = "Invoke py.test as distutils command with dependency resolution"; 16 homepage = https://bitbucket.org/pytest-dev/pytest-runner; 17 license = licenses.mit; 18 }; 19}