1 { lib, stdenv, fetchurl, pkg-config, dbus-glib, glib, ORBit2, libxml2, polkit, python3, intltool }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnome/sources/GConf/${lib.versions.majorMinor version}/GConf-${version}.tar.xz";
9 sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr";
12 outputs = [ "out" "dev" "man" ];
16 buildInputs = [ ORBit2 libxml2 ]
17 # polkit requires pam, which requires shadow.h, which is not available on
19 ++ lib.optional (!stdenv.isDarwin) polkit;
21 propagatedBuildInputs = [ glib dbus-glib ];
23 nativeBuildInputs = [ pkg-config intltool python3 glib ];
26 # fixes the "libgconfbackend-oldxml.so is not portable" error on darwin
27 lib.optionals stdenv.isDarwin [ "--enable-static" ];
30 2to3 --write --nobackup gsettings/gsettings-schema-convert
34 homepage = "https://projects.gnome.org/gconf/";
35 description = "Deprecated system for storing application preferences";
36 platforms = platforms.unix;