python3Packages.vdirsyncer: use finalAttrs

This commit is contained in:
Robert Schütz
2026-07-08 19:46:41 -07:00
parent 6e3ffc4119
commit fdd954251f
@@ -21,13 +21,13 @@
versionCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "vdirsyncer";
version = "0.20.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-/rGlM1AKlcFP0VVzOhBW/jWRklU9gsB8a6BPy/xAsS0=";
};
@@ -78,9 +78,9 @@ buildPythonPackage rec {
meta = {
description = "Synchronize calendars and contacts";
homepage = "https://github.com/pimutils/vdirsyncer";
changelog = "https://github.com/pimutils/vdirsyncer/blob/v${version}/CHANGELOG.rst";
changelog = "https://github.com/pimutils/vdirsyncer/blob/v${finalAttrs.version}/CHANGELOG.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ stephen-huan ];
mainProgram = "vdirsyncer";
};
}
})