Merge pull request #43700 from oxij/tree/more-test-fixes

treewide: more fixes to tests

authored by Matthew Bauer and committed by GitHub 856743f1 40691493

+21 -3
+2
pkgs/development/libraries/at-spi2-atk/default.nix
··· 27 nativeBuildInputs = [ meson ninja pkgconfig ]; 28 buildInputs = [ at-spi2-core atk dbus glib libxml2 ]; 29 30 passthru = { 31 updateScript = gnome3.updateScript { 32 packageName = pname;
··· 27 nativeBuildInputs = [ meson ninja pkgconfig ]; 28 buildInputs = [ at-spi2-core atk dbus glib libxml2 ]; 29 30 + doCheck = false; # fails with "No test data file provided" 31 + 32 passthru = { 33 updateScript = gnome3.updateScript { 34 packageName = pname;
+2
pkgs/development/libraries/at-spi2-core/default.nix
··· 30 nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ]; 31 buildInputs = [ dbus glib libX11 libXtst libXi ]; 32 33 passthru = { 34 updateScript = gnome3.updateScript { 35 packageName = pname;
··· 30 nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ]; 31 buildInputs = [ dbus glib libX11 libXtst libXi ]; 32 33 + doCheck = false; # fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?" 34 + 35 passthru = { 36 updateScript = gnome3.updateScript { 37 packageName = pname;
+8 -1
pkgs/development/libraries/fribidi/default.nix
··· 5 , ninja 6 , pkgconfig 7 , fixDarwinDylibNames 8 }: 9 10 stdenv.mkDerivation rec { 11 name = "${pname}-${version}"; 12 pname = "fribidi"; 13 version = "1.0.4"; 14 15 # NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application. 16 src = fetchurl { ··· 18 sha256 = "1gipy8fjyn6i4qrhima02x8xs493d21f22dijp88nk807razxgcl"; 19 }; 20 21 nativeBuildInputs = [ meson ninja pkgconfig ]; 22 buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; 23 24 - outputs = [ "out" "devdoc" ]; 25 26 meta = with stdenv.lib; { 27 homepage = https://github.com/fribidi/fribidi;
··· 5 , ninja 6 , pkgconfig 7 , fixDarwinDylibNames 8 + , python3 9 }: 10 11 stdenv.mkDerivation rec { 12 name = "${pname}-${version}"; 13 pname = "fribidi"; 14 version = "1.0.4"; 15 + 16 + outputs = [ "out" "devdoc" ]; 17 18 # NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application. 19 src = fetchurl { ··· 21 sha256 = "1gipy8fjyn6i4qrhima02x8xs493d21f22dijp88nk807razxgcl"; 22 }; 23 24 + postPatch = '' 25 + patchShebangs test 26 + ''; 27 + 28 nativeBuildInputs = [ meson ninja pkgconfig ]; 29 buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; 30 31 + checkInptus = [ python3 ]; 32 33 meta = with stdenv.lib; { 34 homepage = https://github.com/fribidi/fribidi;
+2
pkgs/development/libraries/libnice/default.nix
··· 12 buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gnutls ]; 13 propagatedBuildInputs = [ glib gupnp-igd ]; 14 15 meta = { 16 homepage = https://nice.freedesktop.org/wiki/; 17 description = "The GLib ICE implementation";
··· 12 buildInputs = [ gst_all_1.gstreamer gst_all_1.gst-plugins-base gnutls ]; 13 propagatedBuildInputs = [ glib gupnp-igd ]; 14 15 + doCheck = false; # fails with "fatal error: nice/agent.h: No such file or directory" 16 + 17 meta = { 18 homepage = https://nice.freedesktop.org/wiki/; 19 description = "The GLib ICE implementation";
+7 -2
pkgs/development/libraries/librdf/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, autoreconfHook 2 , librdf_raptor2, ladspaH, openssl, zlib 3 }: 4 5 stdenv.mkDerivation rec { ··· 10 url = "http://github.com/swh/LRDF/archive/${version}.tar.gz"; 11 sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"; 12 }; 13 14 preAutoreconf = "rm m4/*"; 15 - postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c"; 16 - 17 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 18 buildInputs = [ ladspaH openssl zlib ]; 19 20 propagatedBuildInputs = [ librdf_raptor2 ]; 21 22 meta = { 23 description = "Lightweight RDF library with special support for LADSPA plugins";
··· 1 { stdenv, fetchurl, pkgconfig, autoreconfHook 2 , librdf_raptor2, ladspaH, openssl, zlib 3 + , doCheck ? stdenv.config.doCheckByDefault or false, ladspaPlugins 4 }: 5 6 stdenv.mkDerivation rec { ··· 11 url = "http://github.com/swh/LRDF/archive/${version}.tar.gz"; 12 sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"; 13 }; 14 + 15 + postPatch = stdenv.lib.optionalString doCheck '' 16 + sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c 17 + ''; 18 19 preAutoreconf = "rm m4/*"; 20 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 21 buildInputs = [ ladspaH openssl zlib ]; 22 23 propagatedBuildInputs = [ librdf_raptor2 ]; 24 + 25 + inherit doCheck; 26 27 meta = { 28 description = "Lightweight RDF library with special support for LADSPA plugins";