Add glib-networking: module to use with TLS
svn path=/nixpkgs/trunk/; revision=26848
This commit is contained in:
parent
d6d9493a4e
commit
cc6ecaeeef
@ -137,6 +137,11 @@ pkgs.makeOverridable
|
|||||||
inherit intltool libbonobo ORBit2;
|
inherit intltool libbonobo ORBit2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
glib_networking = import ./platform/glib-networking {
|
||||||
|
inherit (pkgs) stdenv fetchurl pkgconfig glib libtool intltool gnutls
|
||||||
|
libproxy libgcrypt libtasn1;
|
||||||
|
};
|
||||||
|
|
||||||
gtk_doc = import ./platform/gtk-doc {
|
gtk_doc = import ./platform/gtk-doc {
|
||||||
inherit (pkgs) stdenv fetchurl pkgconfig perl python libxml2 libxslt;
|
inherit (pkgs) stdenv fetchurl pkgconfig perl python libxml2 libxslt;
|
||||||
inherit (pkgs) docbook_xml_dtd_43 docbook_xsl dblatex;
|
inherit (pkgs) docbook_xml_dtd_43 docbook_xsl dblatex;
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
{stdenv, fetchurl, pkgconfig, glib, libtool, intltool, gnutls, libproxy
|
||||||
|
, libgcrypt, libtasn1
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "glib-networking-2.28.5";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://gnome/sources/glib-networking/2.28/glib-networking-2.28.5.tar.bz2;
|
||||||
|
sha256 = "959ffeb91fee17c1b0fb2aa82872c3daae0230de93708b2ebabeb92b747d7876";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--without-ca-certificates"
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
sed -e "s@${glib}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig ];
|
||||||
|
propagatedBuildInputs = [ glib libtool intltool gnutls libproxy libgcrypt
|
||||||
|
libtasn1];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user