gsettings-qt: add update script
This commit is contained in:
parent
01fc61f585
commit
dbc9decefb
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitLab, pkgconfig
|
{ stdenv, fetchFromGitLab, pkgconfig
|
||||||
, qmake, qtbase, qtdeclarative, wrapQtAppsHook
|
, qmake, qtbase, qtdeclarative, wrapQtAppsHook
|
||||||
, glib, gobject-introspection
|
, glib, gobject-introspection
|
||||||
|
, genericUpdater, common-updater-scripts
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -54,6 +55,12 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = genericUpdater {
|
||||||
|
inherit pname version;
|
||||||
|
rev-prefix = "v";
|
||||||
|
versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Library to access GSettings from Qt";
|
description = "Library to access GSettings from Qt";
|
||||||
homepage = "https://gitlab.com/ubports/core/gsettings-qt";
|
homepage = "https://gitlab.com/ubports/core/gsettings-qt";
|
||||||
|
Loading…
Reference in New Issue
Block a user