glib_networking: big update, cleanup, meta added
This commit is contained in:
parent
28437226ae
commit
4a0d464384
@ -1,12 +1,16 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, glib, libtool, intltool, gnutls, libproxy
|
{ stdenv, fetchurl, pkgconfig, glib, intltool, gnutls, libproxy
|
||||||
, gsettings_desktop_schemas, libgcrypt, libtasn1 }:
|
, gsettings_desktop_schemas }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
let
|
||||||
name = "glib-networking-2.30.2";
|
ver_maj = "2.38";
|
||||||
|
ver_min = "2";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "glib-networking-${ver_maj}.${ver_min}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://gnome/sources/glib-networking/2.30/glib-networking-2.30.2.tar.xz;
|
url = "mirror://gnome/sources/glib-networking/${ver_maj}/${name}.tar.xz";
|
||||||
sha256 = "1g2ran0rn37009fs3xl38m95i5w8sdf9ax0ady4jbjir15844xcz";
|
sha256 = "1iwzjkx6q9gqr7fipc98zi2bi0gccrwq1v7skff1cdijkn8zxqp8";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt";
|
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt";
|
||||||
@ -16,6 +20,14 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool ];
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = [ glib gnutls libproxy gsettings_desktop_schemas ];
|
||||||
[ glib libtool gnutls libproxy libgcrypt libtasn1 gsettings_desktop_schemas ];
|
|
||||||
|
doCheck = false; # tests need to access the certificates (among other things)
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Network-related giomodules for glib";
|
||||||
|
license = licenses.lgpl2Plus;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user