Merge pull request #168615 from bobby285271/gnome-firmware

gnome-firmware: 3.34.0 → 42.1
This commit is contained in:
Bobby Rong 2022-04-17 10:12:22 +08:00 committed by GitHub
commit a6a0b07ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 65 additions and 76 deletions

View file

@ -1,75 +0,0 @@
{ lib, stdenv
, fetchFromGitLab
, fetchpatch
, appstream-glib
, desktop-file-utils
, fwupd
, gettext
, glib
, gtk3
, libsoup
, libxmlb
, meson
, ninja
, pkg-config
, systemd
, help2man
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "gnome-firmware-updater";
version = "3.34.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "hughsie";
repo = "gnome-firmware-updater";
rev = version;
sha256 = "04pll0fzf4nr276kfw89r0524s6ppmls5rz4vq2j8c8gb50g0b6l";
};
patches = [
# Fixes manual build
(fetchpatch {
url = "https://gitlab.gnome.org/hughsie/gnome-firmware-updater/commit/006b64dcb401d8c81a33222bc4be8274c23f3c9c.patch";
sha256 = "02303ip4ri5pv1bls8c0njb00qhn0jd0d8rmvsrig0fmacwfvc06";
})
(fetchpatch {
url = "https://gitlab.gnome.org/hughsie/gnome-firmware-updater/commit/c4f076f2c902080618e0c27dec924fd0019f68a3.patch";
sha256 = "1yfxd7qsg3gwpamg0m2sbcfrgks59w70r9728arrc4pwx1hia2q1";
})
];
nativeBuildInputs = [
appstream-glib # for ITS rules
desktop-file-utils
gettext
help2man
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
fwupd
glib
gtk3
libsoup
libxmlb
systemd
];
mesonFlags = [
"-Dconsolekit=false"
];
meta = with lib; {
homepage = "https://gitlab.gnome.org/hughsie/gnome-firmware-updater";
description = "Tool for installing firmware on devices";
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,63 @@
{ stdenv
, lib
, fetchFromGitLab
, appstream-glib
, desktop-file-utils
, fwupd
, gettext
, glib
, gtk4
, libadwaita
, libxmlb
, meson
, ninja
, pkg-config
, systemd
, help2man
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "gnome-firmware";
version = "42.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "gnome-firmware";
rev = version;
sha256 = "9QZ98EElENWsME/jXoj9YJl2e+ipyLm0g4grQUwmnuE=";
};
nativeBuildInputs = [
appstream-glib # for ITS rules
desktop-file-utils
gettext
help2man
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
fwupd
glib
gtk4
libadwaita
libxmlb
systemd
];
mesonFlags = [
"-Dconsolekit=false"
];
meta = with lib; {
homepage = "https://gitlab.gnome.org/World/gnome-firmware";
description = "Tool for installing firmware on devices";
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}

View file

@ -447,6 +447,7 @@ mapAliases ({
gmic_krita_qt = gmic-qt-krita; # Added 2019-09-07
gmvault = throw "gmvault has been removed because it is unmaintained, mostly broken, and insecure"; # Added 2021-03-08
gnash = throw "gnash has been removed; broken and abandoned upstream"; # added 2022-02-06
gnome-firmware-updater = gnome-firmware; # added 2022-04-14
gnome-passwordsafe = gnome-secrets; # added 2022-01-30
gnome-mpv = celluloid; # Added 2019-08-22
gnome-sharp = throw "gnome-sharp has been removed from nixpkgs"; # Added 2022-01-15

View file

@ -15149,7 +15149,7 @@ with pkgs;
gnome-desktop-testing = callPackage ../development/tools/gnome-desktop-testing {};
gnome-firmware-updater = callPackage ../applications/misc/gnome-firmware-updater {};
gnome-firmware = callPackage ../applications/misc/gnome-firmware {};
gnome-usage = callPackage ../applications/misc/gnome-usage {};