mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
python3Packages.syrupy: init at 3.0.6
This commit is contained in:
parent
73f51168cb
commit
51dd1f3ed5
45
pkgs/development/python-modules/syrupy/default.nix
Normal file
45
pkgs/development/python-modules/syrupy/default.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user