kdePackages.accounts-qt: add update script

This commit is contained in:
jopejoe1
2024-04-29 16:35:37 +02:00
parent df93219d89
commit a340e9732d
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkg-config, qmake, qtbase, wrapQtAppsHook }:
{ stdenv, lib, fetchFromGitLab, gitUpdater, doxygen, glib, libaccounts-glib, pkg-config, qmake, qtbase, wrapQtAppsHook }:
stdenv.mkDerivation (finalAttrs: {
pname = "accounts-qt";
@@ -21,6 +21,10 @@ stdenv.mkDerivation (finalAttrs: {
patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$out"/bin/*
'';
passthru.updateScript = gitUpdater {
rev = "VERSION_";
};
meta = with lib; {
description = "Qt library for accessing the online accounts database";
mainProgram = "accountstest";