Add gnome3.gnome_settings_daemon
This commit is contained in:
@@ -1,50 +1,24 @@
|
||||
{ stdenv, fetchurl, fetchgit
|
||||
{ stdenv, fetchurl, fetchgit, bashCompletion
|
||||
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
|
||||
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection }:
|
||||
|
||||
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection
|
||||
, version ? "git"
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "colord-1.1.5";
|
||||
|
||||
# colord wants to write to the etc/colord.conf and var/run/colord/mapping.db
|
||||
# thus they get symlinked to /etc and /var
|
||||
|
||||
stdenv.mkDerivation (stdenv.lib.mergeAttrsByVersion "colord" version {
|
||||
"0.1.33" = {
|
||||
name = "colord-0.1.33";
|
||||
src = fetchurl {
|
||||
url = http://www.freedesktop.org/software/colord/releases/colord-0.1.32.tar.xz;
|
||||
sha256 = "1smbkh4z1c2jjwxg626f12sslv7ff3yzak1zqrc493cl467ll0y7";
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "http://www.freedesktop.org/software/colord/releases/${name}.tar.xz";
|
||||
sha256 = "1638pfv16bdrdxxprk6dp8d706571a8i3nlfv3m0ldx26xpy8z5j";
|
||||
};
|
||||
"git" = {
|
||||
name = "colord-git-11dca";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/hughsie/colord.git";
|
||||
rev = "11dcaba034edff3955ceff53795df82c57c34adc";
|
||||
sha256 = "1280q7zbfm5wqql872kcxmk5rmwjs7cv7cgz8nx0i9g4ac8j2mrf";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
buildInputs = [ automake autoconf libtool gtk_doc which gobjectIntrospection ];
|
||||
};
|
||||
} {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d --with-systemdsystemunitdir=$out/lib/udev/rules.d"
|
||||
'';
|
||||
configureFlags = "--with-udevrulesdir=$out/lib/udev/rules.d --with-systemdsystemunitdir=$out/lib/udev/rules.d --disable-bash-completion";
|
||||
|
||||
buildInputs = [glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus];
|
||||
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
|
||||
bashCompletion ];
|
||||
|
||||
postInstall = ''
|
||||
sed -i '/usb_id\|usb-db/d' $out/lib/udev/rules.d/69-cd-sensors.rules
|
||||
mv $out/etc/colord.conf{,.default}
|
||||
ln -s /etc/colord.conf $out/etc/colord.conf
|
||||
rm -fr $out/var/lib/colord
|
||||
ln -s /var/lib/colord $out/var/lib/colord
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@@ -54,4 +28,4 @@ stdenv.mkDerivation (stdenv.lib.mergeAttrsByVersion "colord" version {
|
||||
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user