diff --git a/pkgs/development/python-modules/pytest-golden/default.nix b/pkgs/development/python-modules/pytest-golden/default.nix index 4167ab618d6a..45114a76a0e9 100644 --- a/pkgs/development/python-modules/pytest-golden/default.nix +++ b/pkgs/development/python-modules/pytest-golden/default.nix @@ -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 ];