python3Packages.pytest-insta: init at 0.3.0

This commit is contained in:
George Huebner
2026-03-07 10:10:12 +01:00
committed by Fabian Affolter
parent db952ffcd6
commit 2a36a45dd9
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest,
pytestCheckHook,
wrapt,
poetry-core,
}:
buildPythonPackage rec {
pname = "pytest-insta";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "vberlier";
repo = pname;
tag = "v${version}";
hash = "sha256-kXsKM84yXdGE89KxUtxT2mINmS2lXkuEqB6a9oXZqGo=";
};
build-system = [ poetry-core ];
buildInputs = [ pytest ];
dependencies = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pytest_insta" ];
meta = {
description = "Pytest plugin for snapshot testing";
homepage = "https://github.com/vberlier/pytest-insta";
changelog = "https://github.com/vberlier/pytest-insta/blob/v${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
+2
View File
@@ -15203,6 +15203,8 @@ self: super: with self; {
pytest-image-diff = callPackage ../development/python-modules/pytest-image-diff { };
pytest-insta = callPackage ../development/python-modules/pytest-insta { };
pytest-instafail = callPackage ../development/python-modules/pytest-instafail { };
pytest-integration = callPackage ../development/python-modules/pytest-integration { };