nixpkgs/pkgs/applications/misc/gnome-firmware/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitLab
2022-06-03 13:28:04 +00:00
, gitUpdater
, 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.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "gnome-firmware";
rev = version;
sha256 = "L0R2lXU69I6NI7Srq5s+8N9261Ic8B7FVaaXNjz2Ll0=";
};
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"
];
2022-06-03 13:28:04 +00:00
passthru.updateScript = gitUpdater {
ignoredVersions = "(alpha|beta|rc).*";
};
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;
};
}