2024-05-15 15:35:15 +00:00
|
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
buildPythonPackage,
|
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
setuptools,
|
|
|
|
|
setuptools-git,
|
|
|
|
|
pytest,
|
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pytest-fixture-config";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
version = "1.7.1-unstable-2022-10-03";
|
|
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "man-group";
|
|
|
|
|
repo = "pytest-plugins";
|
|
|
|
|
rev = "5f9b88a65a8c1e506885352bbd9b2a47900f5014";
|
|
|
|
|
hash = "sha256-huN3RzwtfVf4iMJ96VRP/ldOxTUlUMF1wJIdbcGXHn4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
|
sourceRoot = "${src.name}/pytest-fixture-config";
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
|
setuptools
|
|
|
|
|
setuptools-git
|
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
|
description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables aren’t set";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
homepage = "https://github.com/manahl/pytest-plugins";
|
|
|
|
|
license = licenses.mit;
|
|
|
|
|
maintainers = with maintainers; [ ryansydnor ];
|
|
|
|
|
};
|
|
|
|
|
}
|