2011-08-27 19:04:25 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, libtool, intltool, gnutls2, libproxy
|
2012-03-09 07:18:42 +01:00
|
|
|
, gsettings_desktop_schemas, libgcrypt, libtasn1 }:
|
2011-04-15 07:24:06 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-03-09 07:18:42 +01:00
|
|
|
name = "glib-networking-2.30.2";
|
|
|
|
|
2011-04-15 07:24:06 +02:00
|
|
|
src = fetchurl {
|
2012-03-09 07:18:42 +01:00
|
|
|
url = mirror://gnome/sources/glib-networking/2.30/glib-networking-2.30.2.tar.xz;
|
|
|
|
sha256 = "1g2ran0rn37009fs3xl38m95i5w8sdf9ax0ady4jbjir15844xcz";
|
2011-04-15 07:24:06 +02:00
|
|
|
};
|
|
|
|
|
2012-03-09 07:18:42 +01:00
|
|
|
configureFlags = "--with-ca-certificates=/etc/ca-bundle.crt";
|
2011-04-15 07:24:06 +02:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
sed -e "s@${glib}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
|
|
|
|
'';
|
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2012-03-09 07:18:42 +01:00
|
|
|
propagatedBuildInputs =
|
|
|
|
[ glib libtool gnutls2 libproxy libgcrypt libtasn1 gsettings_desktop_schemas ];
|
2011-04-15 07:24:06 +02:00
|
|
|
}
|