8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
32 lines
705 B
Nix
32 lines
705 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, psutil
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-xprocess";
|
|
version = "0.12.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "06w2acg0shy0vxrmnxpqclimhgfjys5ql5kmmzr7r1lai46x1q2h";
|
|
};
|
|
|
|
propagatedBuildInputs = [ psutil pytest ];
|
|
|
|
# Remove test QoL package from install_requires
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace "'pytest-cache', " ""
|
|
'';
|
|
|
|
# There's no tests in repo
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Pytest external process plugin";
|
|
homepage = "https://github.com/pytest-dev";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|