nixpkgs/pkgs/desktops/gnome-3/core/dconf/default.nix

31 lines
909 B
Nix
Raw Normal View History

2017-10-10 22:24:04 +02:00
{ stdenv, fetchurl, vala, libxslt, pkgconfig, glib, dbus_glib, gnome3
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, makeWrapper }:
let
majorVersion = "0.26";
in
stdenv.mkDerivation rec {
name = "dconf-${version}";
version = "${majorVersion}.0";
src = fetchurl {
url = "mirror://gnome/sources/dconf/${majorVersion}/${name}.tar.xz";
sha256 = "1jaqsr1r0grpd25rbsc2v3vb0sc51lia9w31wlqswgqsncp2k0w6";
};
2017-03-20 18:15:54 +01:00
outputs = [ "out" "lib" "dev" ];
2017-10-10 22:24:04 +02:00
nativeBuildInputs = [ vala pkgconfig intltool libxslt libxml2 docbook_xsl docbook_xsl_ns makeWrapper ];
buildInputs = [ glib dbus_glib ];
2017-04-20 23:40:43 +02:00
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace client/Makefile \
--replace "-soname=libdconf.so.1" "-install_name,libdconf.so.1"
'';
meta = with stdenv.lib; {
2017-04-20 23:40:43 +02:00
platforms = platforms.linux ++ platforms.darwin;
maintainers = gnome3.maintainers;
};
}