mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
df30f5b75b
https://gitlab.gnome.org/World/gnome-firmware/-/compare/3.34.0...3.36.0 https://gitlab.gnome.org/World/gnome-firmware/-/compare/3.36.0...41.0 https://gitlab.gnome.org/World/gnome-firmware/-/compare/41.0...42.1
64 lines
1.0 KiB
Nix
64 lines
1.0 KiB
Nix
{ 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;
|
|
};
|
|
}
|