forked from mirrors/nixpkgs
2be90ccb4f
fix evaluation when config.allowAliases == false (regression after #55735)
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, dbus-glib, libxklavier, libcanberra-gtk3, libnotify, nss, polkit, gnome3, gtk3, mate, wrapGAppsHook
|
|
, pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mate-settings-daemon-${version}";
|
|
version = "1.20.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "10xlg2gb7fypnn5cnr14kbpjy5jdfz98ji615scz61zf5lljksxh";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
dbus-glib
|
|
libxklavier
|
|
libcanberra-gtk3
|
|
libnotify
|
|
nss
|
|
polkit
|
|
gtk3
|
|
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 ];
|
|
};
|
|
}
|