16 buildPythonPackage rec {
17 pname = "pytest-golden";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
27 hash = "sha256-l5fXWDK6gWJc3dkYFTokI9tWvawMRnF0td/lSwqkYXE=";
31 substituteInPlace pyproject.toml \
32 --replace "poetry>=0.12" poetry-core \
33 --replace poetry.masonry.api poetry.core.masonry.api
36 pythonRelaxDeps = [ "testfixtures" ];
39 # hatchling used for > 0.2.2
43 buildInputs = [ pytest ];
45 propagatedBuildInputs = [
56 pythonImportsCheck = [ "pytest_golden" ];
59 description = "Plugin for pytest that offloads expected outputs to data files";
60 homepage = "https://github.com/oprypin/pytest-golden";
61 license = licenses.mit;
62 maintainers = with maintainers; [ fab ];