mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
pythonPackages.pytest-xprocess: init at 0.12.1
This commit is contained in:
parent
2eb3dd206d
commit
4bed1fa043
32
pkgs/development/python-modules/pytest-xprocess/default.nix
Normal file
32
pkgs/development/python-modules/pytest-xprocess/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -855,6 +855,8 @@ in {
|
|||
|
||||
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
||||
|
||||
pytest-xprocess = callPackage ../development/python-modules/pytest-xprocess { };
|
||||
|
||||
python-binance = callPackage ../development/python-modules/python-binance { };
|
||||
|
||||
python-dbusmock = callPackage ../development/python-modules/python-dbusmock { };
|
||||
|
|
Loading…
Reference in a new issue