mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
python3Packages.pytest-xprocess: 0.20.0 -> 0.21.0
https://github.com/pytest-dev/pytest-xprocess/blob/0.21.0/CHANGELOG.rst
This commit is contained in:
parent
af8b9c216b
commit
a8a664f206
@ -1,30 +1,41 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
, psutil
|
, psutil
|
||||||
|
, py
|
||||||
, pytest
|
, pytest
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-xprocess";
|
pname = "pytest-xprocess";
|
||||||
version = "0.20.0";
|
version = "0.21.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-AhZ1IsTcdZ+RxKsZhUY5zR6fbgq/ynXhGWgrVB0b1j8=";
|
sha256 = "sha256-+UcL/PiE9ymetrgqQ9KYwxi45T7DFO5iTJh+DofBtEk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ psutil ];
|
|
||||||
|
|
||||||
# Remove test QoL package from install_requires
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
# Remove test QoL package from install_requires
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "'pytest-cache', " ""
|
--replace "'pytest-cache', " ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
psutil
|
||||||
|
py
|
||||||
|
];
|
||||||
|
|
||||||
# There's no tests in repo
|
# There's no tests in repo
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user