2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus-glib, gnome3 ? null, glib, libxml2
|
2017-11-01 12:31:59 +00:00
|
|
|
, intltool, polkit, orbit, python, withGtk ? false }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
assert withGtk -> (gnome3 != null);
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
versionMajor = "3.2";
|
|
|
|
versionMinor = "6";
|
|
|
|
moduleName = "GConf";
|
|
|
|
|
|
|
|
origName = "${moduleName}-${versionMajor}.${versionMinor}";
|
|
|
|
|
|
|
|
name = "gconf-${versionMajor}.${versionMinor}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${origName}.tar.xz";
|
|
|
|
sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr";
|
|
|
|
};
|
|
|
|
|
2017-11-01 12:31:59 +00:00
|
|
|
buildInputs = [ libxml2 polkit orbit python ] ++ stdenv.lib.optional withGtk gnome3.gtk;
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedBuildInputs = [ glib dbus-glib ];
|
2016-09-18 20:35:23 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
# ToDo: ldap reported as not found but afterwards reported as supported
|
|
|
|
|
2017-03-20 13:41:25 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://projects.gnome.org/gconf/;
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A system for storing application preferences";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|