glib-networking: 2.56.0 → 2.58.0

This commit is contained in:
Jan Tojnar 2018-09-05 00:44:57 +00:00
parent 0149459f42
commit 3ac85d55b4
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,28 +1,20 @@
{ stdenv, fetchurl, fetchpatch, meson, ninja, pkgconfig, glib, gettext, python3, gnutls, p11-kit, libproxy, gnome3
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gettext, python3, gnutls, p11-kit, libproxy, gnome3
, gsettings-desktop-schemas }:
let
pname = "glib-networking";
version = "2.56.0";
version = "2.58.0";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "14vw8xwajd7m31bpavg2psk693plhjikwpk8bzf3jl1fmsy11za7";
sha256 = "0s006gs9nsq6mg31spqha1jffzmp6qjh10y27h0fxf1iw1ah5ymx";
};
outputs = [ "out" "dev" ]; # to deal with propagatedBuildInputs
patches = [
# Use GNUTLS system trust for certificates
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/glib-networking/commit/f1c8feee014007cc913b71357acb609f8d1200df.patch;
sha256 = "1rbxqsrcb5if3xs2d18pqzd9xnjysdj715ijc41n5w326fsawg7i";
})
];
PKG_CONFIG_GIO_2_0_GIOMODULEDIR = "${placeholder "out"}/lib/gio/modules";
postPatch = ''