gnome-firmware: add update script

(cherry picked from commit 5f36ed3f87)
This commit is contained in:
Bobby Rong
2022-06-03 21:28:04 +08:00
committed by github-actions[bot]
parent 7a20c208aa
commit eecb986bad

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";