python3Packages.pytest-golden: 0.2.2 -> 1.0.1

This commit was automatically generated using update-python-libraries.
This commit is contained in:
Martin Weinelt
2026-02-01 17:20:06 +01:00
parent 2fd0477445
commit dc7e725a33
@@ -4,7 +4,7 @@
buildPythonPackage,
fetchFromGitHub,
ruamel-yaml,
poetry-core,
hatchling,
pytest,
pytestCheckHook,
testfixtures,
@@ -12,27 +12,20 @@
buildPythonPackage rec {
pname = "pytest-golden";
version = "0.2.2";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "oprypin";
repo = "pytest-golden";
tag = "v${version}";
hash = "sha256-l5fXWDK6gWJc3dkYFTokI9tWvawMRnF0td/lSwqkYXE=";
hash = "sha256-mjb8lBAoZxwUCN4AIMK/n70aC41Y4IV/+hrW11S9rcw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry>=0.12" poetry-core \
--replace-fail poetry.masonry.api poetry.core.masonry.api
'';
pythonRelaxDeps = [ "testfixtures" ];
build-system = [
# hatchling used for > 0.2.2
poetry-core
hatchling
];
buildInputs = [ pytest ];