1{ lib, buildPythonPackage, fetchPypi
2, psutil
3, pytest
4, setuptools-scm
5}:
6
7buildPythonPackage rec {
8 pname = "pytest-xprocess";
9 version = "0.18.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "fd9f30ed1584b5833bc34494748adf0fb9de3ca7bacc4e88ad71989c21cba266";
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}