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