1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/mate/mate-applets/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

53 lines
1.3 KiB
Nix

{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gnome, glib, gtk3, gtksourceview3, libwnck3
, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook
, mateUpdateScript }:
stdenv.mkDerivation rec {
pname = "mate-applets";
version = "1.24.1";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0h70i4x3bk017pgv4zn280682wm58vwdjm7kni91ni8rmblnnvyp";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
wrapGAppsHook
];
buildInputs = [
gtk3
gtksourceview3
gnome.gucharmap
libwnck3
libgtop
libxml2
libnotify
polkit
upower
wirelesstools
mate.libmateweather
mate.mate-panel
hicolor-icon-theme
];
configureFlags = [ "--enable-suid=no" ];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
description = "Applets for use with the MATE panel";
homepage = "https://mate-desktop.org";
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}