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