python3Packages.syrupy: init at 3.0.6

This commit is contained in:
Martin Weinelt 2023-01-03 15:42:48 +01:00
parent 73f51168cb
commit 51dd1f3ed5
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest
, colored
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "syrupy";
version = "3.0.6";
format = "pyproject";
src = fetchFromGitHub {
owner = "tophat";
repo = "syrupy";
rev = "refs/tags/v${version}";
hash = "sha256-8DdPgah1cWVY9YZT78otlAv7X00iwxfi+Fkn3OmLgeM=";
};
nativeBuildInputs = [
poetry-core
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
colored
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/tophat/syrupy/releases/tag/v${version}";
description = "Pytest Snapshot Test Utility";
homepage = "https://github.com/tophat/syrupy";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}

View file

@ -11007,6 +11007,8 @@ self: super: with self; {
sysv_ipc = callPackage ../development/python-modules/sysv_ipc { };
syrupy = callPackage ../development/python-modules/syrupy { };
tableaudocumentapi = callPackage ../development/python-modules/tableaudocumentapi { };
tables = callPackage ../development/python-modules/tables { };