nixpkgs-suyu/pkgs/desktops/mate/mate-settings-daemon/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, glib, dbus-glib, libxklavier, libcanberra-gtk3, libnotify, nss, polkit, gnome3, mate, wrapGAppsHook
2017-08-31 05:03:41 +02:00
, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio
}:
stdenv.mkDerivation rec {
name = "mate-settings-daemon-${version}";
version = "1.20.1";
2017-08-31 05:03:41 +02:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1hmc5qfr9yrvrlc1d2mmsqbhv0lhikbadaac18bxjynw9ff857iq";
2017-08-31 05:03:41 +02:00
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
dbus-glib
2017-08-31 05:03:41 +02:00
libxklavier
libcanberra-gtk3
2017-08-31 05:03:41 +02:00
libnotify
nss
polkit
gnome3.gtk
gnome3.dconf
mate.mate-desktop
mate.libmatekbd
mate.libmatemixer
] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
configureFlags = stdenv.lib.optional pulseaudioSupport "--enable-pulse";
meta = with stdenv.lib; {
description = "MATE settings daemon";
homepage = https://github.com/mate-desktop/mate-settings-daemon;
license = with licenses; [ gpl2 lgpl21 ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}