depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-lazy-fixtures/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

32 lines
710 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-lazy-fixtures";
version = "1.0.7";
pyproject = true;
src = fetchFromGitHub {
owner = "dev-petrov";
repo = "pytest-lazy-fixtures";
rev = version;
hash = "sha256-BOKUg5HPBQfteKOEsdZ30h/hWbVZPuHMhtGXF3KfMXg=";
};
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 = [ ];
};
}