glib-networking-2.30.2

* Pass gsettings-desktop-schemas to glib-networking
* Use ca-certificates /etc/ca-bundle.crt

Cherry-pick ^/nixpkgs/branches/glib-2.30@31414, remove xz

svn path=/nixpkgs/branches/glib-2.30-take2/; revision=32942
This commit is contained in:
Yury G. Kudryashov 2012-03-09 06:18:42 +00:00
parent dc4833f773
commit 7331031c0c
1 changed files with 9 additions and 12 deletions

View File

@ -1,24 +1,21 @@
{stdenv, fetchurl, pkgconfig, glib, libtool, intltool, gnutls2, libproxy {stdenv, fetchurl, pkgconfig, glib, libtool, intltool, gnutls2, libproxy
, libgcrypt, libtasn1 , gsettings_desktop_schemas, libgcrypt, libtasn1 }:
}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "glib-networking-2.28.5"; name = "glib-networking-2.30.2";
src = fetchurl { src = fetchurl {
url = mirror://gnome/sources/glib-networking/2.28/glib-networking-2.28.5.tar.bz2; url = mirror://gnome/sources/glib-networking/2.30/glib-networking-2.30.2.tar.xz;
sha256 = "959ffeb91fee17c1b0fb2aa82872c3daae0230de93708b2ebabeb92b747d7876"; sha256 = "1g2ran0rn37009fs3xl38m95i5w8sdf9ax0ady4jbjir15844xcz";
}; };
configureFlags = [ configureFlags = "--with-ca-certificates=/etc/ca-bundle.crt";
"--without-ca-certificates"
];
preBuild = '' preBuild = ''
sed -e "s@${glib}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile) sed -e "s@${glib}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
''; '';
buildInputs = [ pkgconfig ]; buildNativeInputs = [ pkgconfig intltool ];
propagatedBuildInputs = [ glib libtool intltool gnutls2 libproxy libgcrypt propagatedBuildInputs =
libtasn1]; [ glib libtool gnutls2 libproxy libgcrypt libtasn1 gsettings_desktop_schemas ];
} }