nixpkgs/pkgs/desktops/mate/mate-applets/default.nix

47 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, libwnck3, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook }:
2018-01-04 03:03:10 +01:00
stdenv.mkDerivation rec {
name = "mate-applets-${version}";
version = "1.21.0";
2018-01-04 03:03:10 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0jr66xrwjrlyh4hz6h5axh96pgxm8n1xyc0rmggah2fijs940rsb";
2018-01-04 03:03:10 +01:00
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];
buildInputs = [
gnome3.gtk
gnome3.gtksourceview
gnome3.gucharmap
libwnck3
libgtop
libxml2
libnotify
polkit
upower
wirelesstools
mate.libmateweather
mate.mate-panel
hicolor-icon-theme
2018-01-04 03:03:10 +01:00
];
configureFlags = [ "--enable-suid=no" ];
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
meta = with stdenv.lib; {
description = "Applets for use with the MATE panel";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}