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