nixpkgs/pkgs/development/python-modules/pytest-datafiles/default.nix
Martin Weinelt 05284bfb9b python3Packages.pytest-datafiles: 3.0.0 -> 3.0.1
This commit was automatically generated using update-python-libraries.
2026-02-01 17:20:06 +01:00

36 lines
749 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-datafiles";
version = "3.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "omarkohl";
repo = "pytest-datafiles";
tag = version;
hash = "sha256-xB96JAUlEicIrTET1L363H8O2JwCTuUWr9jX/70uFvs=";
};
build-system = [ hatchling ];
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_datafiles" ];
meta = {
description = "Pytest plugin to create a tmpdir containing predefined files/directories";
homepage = "https://github.com/omarkohl/pytest-datafiles";
license = lib.licenses.mit;
maintainers = [ ];
};
}