2018-07-25 09:23:55 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus-glib, glib, ORBit2, libxml2, polkit, python2, intltool }:
|
2015-04-30 21:20:17 +01:00
|
|
|
|
2018-07-09 23:02:06 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gconf-${version}";
|
|
|
|
version = "3.2.6";
|
2012-01-06 00:55:14 +00:00
|
|
|
|
2009-09-30 06:27:34 +01:00
|
|
|
src = fetchurl {
|
2018-07-09 23:02:06 +01:00
|
|
|
url = "mirror://gnome/sources/GConf/${stdenv.lib.versions.majorMinor version}/GConf-${version}.tar.xz";
|
|
|
|
sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
2009-09-30 07:50:32 +01:00
|
|
|
|
2017-07-11 10:14:14 +01:00
|
|
|
outputs = [ "out" "dev" "man" ];
|
2015-07-26 12:43:49 +01:00
|
|
|
|
2018-07-25 09:23:55 +01:00
|
|
|
buildInputs = [ ORBit2 libxml2 python2 ]
|
2013-07-03 15:21:46 +01:00
|
|
|
# polkit requires pam, which requires shadow.h, which is not available on
|
|
|
|
# darwin
|
2018-07-09 23:02:06 +01:00
|
|
|
++ stdenv.lib.optional (!stdenv.isDarwin) polkit;
|
2013-07-03 15:21:46 +01:00
|
|
|
|
2018-07-09 23:02:06 +01:00
|
|
|
propagatedBuildInputs = [ glib dbus-glib ];
|
2012-03-08 22:45:25 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2012-03-08 22:45:25 +00:00
|
|
|
|
2018-07-09 23:02:06 +01:00
|
|
|
configureFlags =
|
2013-07-03 15:21:46 +01:00
|
|
|
# fixes the "libgconfbackend-oldxml.so is not portable" error on darwin
|
2018-07-09 23:02:06 +01:00
|
|
|
stdenv.lib.optional stdenv.isDarwin [ "--enable-static" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://projects.gnome.org/gconf/;
|
|
|
|
description = "Deprecated system for storing application preferences";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2009-09-30 06:27:34 +01:00
|
|
|
}
|