mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.syrupy: use finalAttrs
This commit is contained in:
parent
3dc26f2e52
commit
065869b1b2
1 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
invoke,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "syrupy";
|
||||
version = "5.2.0";
|
||||
pyproject = true;
|
||||
|
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "syrupy-project";
|
||||
repo = "syrupy";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tivRKADRYyyNmNOOd0w2qTseA3t7TMwkAkQ/Kr6wp6U=";
|
||||
};
|
||||
|
||||
|
|
@ -44,10 +44,10 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "syrupy" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/syrupy-project/syrupy/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://github.com/syrupy-project/syrupy/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
description = "Pytest Snapshot Test Utility";
|
||||
homepage = "https://github.com/syrupy-project/syrupy";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue