2014-01-10 01:16:07 +01:00
|
|
|
{ stdenv, fetchurl, vala, libxslt, pkgconfig, glib, dbus_glib, gnome3
|
2014-04-05 15:51:42 +02:00
|
|
|
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, makeWrapper }:
|
2014-01-10 01:16:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dconf-${version}";
|
|
|
|
version = "0.18.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/dconf/0.18/${name}.tar.xz";
|
|
|
|
sha256 = "0mf921pnkhs8xn1dr2wxfq277vjsbkpl9cccv0gaz4460z31p6qh";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ vala libxslt pkgconfig glib dbus_glib gnome3.gtk libxml2
|
2014-04-05 15:51:42 +02:00
|
|
|
intltool docbook_xsl docbook_xsl_ns makeWrapper ];
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/dconf-editor" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
|
|
|
|
rm $out/lib/gio/modules/giomodule.cache
|
|
|
|
rm $out/share/icons/hicolor/icon-theme.cache
|
2014-04-11 22:55:15 +02:00
|
|
|
rm $out/share/icons/HighContrast/icon-theme.cache
|
2014-04-05 15:51:42 +02:00
|
|
|
'';
|
2014-01-10 01:16:07 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|