python3Packages.ical: migrate to finalAttrs
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ical";
|
||||
version = "13.2.1";
|
||||
pyproject = true;
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "allenporter";
|
||||
repo = "ical";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-SSOonK+iFD3JT9aTceyM/nHiGrp3/7ud8NLMXsgqlI8=";
|
||||
};
|
||||
|
||||
@@ -48,8 +48,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Library for handling iCalendar";
|
||||
homepage = "https://github.com/allenporter/ical";
|
||||
changelog = "https://github.com/allenporter/ical/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/allenporter/ical/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user