gnome-firmware: add update script

This commit is contained in:
Bobby Rong 2022-06-03 21:28:04 +08:00
parent 57b107c726
commit 5f36ed3f87
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitLab
, gitUpdater
, appstream-glib
, desktop-file-utils
, fwupd
@ -53,6 +54,11 @@ stdenv.mkDerivation rec {
"-Dconsolekit=false"
];
passthru.updateScript = gitUpdater {
inherit pname version;
ignoredVersions = "(alpha|beta|rc).*";
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/World/gnome-firmware";
description = "Tool for installing firmware on devices";