2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
future,
|
|
|
|
psutil,
|
|
|
|
pytest,
|
|
|
|
pytest-shutil,
|
|
|
|
pytest-fixture-config,
|
|
|
|
requests,
|
|
|
|
retry,
|
|
|
|
six,
|
|
|
|
setuptools,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
buildPythonPackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "pytest-server-fixtures";
|
2024-09-19 14:19:46 +00:00
|
|
|
inherit (pytest-fixture-config) version src patches;
|
2024-05-15 15:35:15 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
postPatch = ''
|
|
|
|
cd pytest-server-fixtures
|
|
|
|
'';
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
build-system = [ setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
dependencies = [
|
|
|
|
future
|
|
|
|
psutil
|
|
|
|
pytest-shutil
|
|
|
|
pytest-fixture-config
|
|
|
|
requests
|
|
|
|
retry
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
# Don't run intergration tests
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Extensible server fixures for py.test";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://github.com/manahl/pytest-plugins";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|