mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, gettext, glib, dbus-glib, libxklavier,
|
|
libcanberra-gtk3, libnotify, nss, polkit, dconf, gtk3, mate,
|
|
pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio,
|
|
wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mate-settings-daemon";
|
|
version = "1.24.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0n1ywr3ir5p536s7azdbw2mh40ylqlpx3a74mjrivbms1rpjxyab";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
dbus-glib
|
|
libxklavier
|
|
libcanberra-gtk3
|
|
libnotify
|
|
nss
|
|
polkit
|
|
gtk3
|
|
dconf
|
|
mate.mate-desktop
|
|
mate.libmatekbd
|
|
mate.libmatemixer
|
|
] ++ lib.optional pulseaudioSupport libpulseaudio;
|
|
|
|
configureFlags = lib.optional pulseaudioSupport "--enable-pulse";
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|