2019-07-08 06:42:33 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, psutil
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-xprocess";
|
2020-06-06 07:47:28 +01:00
|
|
|
version = "0.13.1";
|
2019-07-08 06:42:33 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:28 +01:00
|
|
|
sha256 = "779aeca517cd9c996d1544bdc510cb3cff40c48136d94bbce6148e27f30a93ff";
|
2019-07-08 06:42:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|