gcr: 3.34.0 -> 3.36.0

This commit is contained in:
Tor Hedin Brønner 2020-02-09 00:22:29 +01:00 committed by Jan Tojnar
parent 46908a3c5f
commit 6a8bf975ee
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,6 +1,8 @@
{ stdenv
, fetchurl
, pkgconfig
, meson
, ninja
, gettext
, gnupg
, p11-kit
@ -15,32 +17,38 @@
, vala
, gnome3
, python3
, shared-mime-info
}:
stdenv.mkDerivation rec {
pname = "gcr";
version = "3.34.0";
version = "3.36.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9";
sha256 = "00b6bzpr8rj8mvj66r2273r417wg2y21m6n88mhkq9m22z8bxyda";
};
postPatch = ''
patchShebangs build/ gcr/fixtures/
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
outputs = [ "out" "dev" ];
configureFlags = [ "--with-libgcrypt-prefix=${stdenv.lib.getDev libgcrypt}" ];
nativeBuildInputs = [
pkgconfig
meson
python3
ninja
gettext
gobject-introspection
libxslt
makeWrapper
vala
shared-mime-info
];
buildInputs = [
@ -60,6 +68,10 @@ stdenv.mkDerivation rec {
python3
];
mesonFlags = [
"-Dgtk_doc=false"
];
doCheck = false; # fails 21 out of 603 tests, needs dbus daemon
enableParallelBuilding = true;