Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
dbus-glib,
|
|
glib,
|
|
ORBit2,
|
|
libxml2,
|
|
polkit,
|
|
python312,
|
|
intltool,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gconf";
|
|
version = "3.2.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/GConf/${lib.versions.majorMinor version}/GConf-${version}.tar.xz";
|
|
sha256 = "0k3q9nh53yhc9qxf1zaicz4sk8p3kzq4ndjdsgpaa2db0ccbj4hr";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"man"
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
buildInputs = [
|
|
ORBit2
|
|
libxml2
|
|
]
|
|
# polkit requires pam, which requires shadow.h, which is not available on
|
|
# darwin
|
|
++ lib.optional (!stdenv.hostPlatform.isDarwin) polkit;
|
|
|
|
propagatedBuildInputs = [
|
|
glib
|
|
dbus-glib
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
intltool
|
|
python312
|
|
glib
|
|
];
|
|
|
|
configureFlags =
|
|
# fixes the "libgconfbackend-oldxml.so is not portable" error on darwin
|
|
lib.optionals stdenv.hostPlatform.isDarwin [ "--enable-static" ];
|
|
|
|
postPatch = ''
|
|
2to3 --write --nobackup gsettings/gsettings-schema-convert
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://projects.gnome.org/gconf/";
|
|
description = "Deprecated system for storing application preferences";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|