32 lines
725 B
Nix
32 lines
725 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-lazy-fixtures";
|
|
version = "1.1.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dev-petrov";
|
|
repo = "pytest-lazy-fixtures";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-2gaGIv4vfMdhLXQeYMbbx9B6tIsCGw4rytaO8bfRuEI=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pytest_lazy_fixtures" ];
|
|
|
|
meta = with lib; {
|
|
description = "Allows you to use fixtures in @pytest.mark.parametrize";
|
|
homepage = "https://github.com/dev-petrov/pytest-lazy-fixtures";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|