depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-xprocess/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

34 lines
776 B
Nix

{ lib, buildPythonPackage, fetchPypi
, psutil
, pytest
, setuptools_scm
}:
buildPythonPackage rec {
pname = "pytest-xprocess";
version = "0.13.1";
src = fetchPypi {
inherit pname version;
sha256 = "779aeca517cd9c996d1544bdc510cb3cff40c48136d94bbce6148e27f30a93ff";
};
nativeBuildInputs = [ setuptools_scm ];
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 ];
};
}