libaccounts-glib: add update script

This commit is contained in:
jopejoe1
2024-04-29 16:35:38 +02:00
parent 39cd498061
commit e228b6d41a
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, meson, mesonEmulatorHook, ninja, glib, check, python3, vala, gtk-doc, glibcLocales
{ lib, stdenv, fetchFromGitLab, gitUpdater, meson, mesonEmulatorHook, ninja, glib, check, python3, vala, gtk-doc, glibcLocales
, libxml2, libxslt, pkg-config, sqlite, docbook_xsl, docbook_xml_dtd_43, gobject-introspection }:
stdenv.mkDerivation rec {
@@ -50,6 +50,10 @@ stdenv.mkDerivation rec {
"-Dpy-overrides-dir=${placeholder "py"}/${python3.sitePackages}/gi/overrides"
];
passthru.updateScript = gitUpdater {
rev = "VERSION_";
};
meta = with lib; {
description = "Library for managing accounts which can be used from GLib applications";
homepage = "https://gitlab.com/accounts-sso/libaccounts-glib";