python3Packages.vdirsyncer: use finalAttrs
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user