Commit a340e973 authored by jopejoe1's avatar jopejoe1
Browse files

kdePackages.accounts-qt: add update script

parent df93219d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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";