Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 37 lines 799 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, psutil 3, pytest 4, setuptools_scm 5}: 6 7buildPythonPackage rec { 8 pname = "pytest-xprocess"; 9 version = "0.17.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "59c739edee7f3f2258e7c77989241698e356c552f5efb28bb46b478616888bf6"; 14 }; 15 16 nativeBuildInputs = [ setuptools_scm ]; 17 18 buildInputs = [ pytest ]; 19 20 propagatedBuildInputs = [ psutil ]; 21 22 # Remove test QoL package from install_requires 23 postPatch = '' 24 substituteInPlace setup.py \ 25 --replace "'pytest-cache', " "" 26 ''; 27 28 # There's no tests in repo 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Pytest external process plugin"; 33 homepage = "https://github.com/pytest-dev"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ jonringer ]; 36 }; 37}