python3Packages.pytest-insta: init at 0.3.0
This commit is contained in:
committed by
Fabian Affolter
parent
db952ffcd6
commit
2a36a45dd9
@@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user