diff --git a/pkgs/development/libraries/gstreamer/rs/default.nix b/pkgs/development/libraries/gstreamer/rs/default.nix index 77f69c552756..258644febdbe 100644 --- a/pkgs/development/libraries/gstreamer/rs/default.nix +++ b/pkgs/development/libraries/gstreamer/rs/default.nix @@ -116,6 +116,7 @@ let ++ lib.optionals stdenv.hostPlatform.isDarwin [ "reqwest" # tests hang on darwin "threadshare" # tests cannot bind to localhost on darwin + "uriplaylistbin" # thread reqwest-internal-sync-runtime attempred to create a NULL object (in test_cache) "webp" # not supported on darwin (upstream crate issue) ] ++ lib.optionals (!gst-plugins-base.glEnabled || !withGtkPlugins) [ diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix index 2c8d9818f9bb..12e20e097e81 100644 --- a/pkgs/development/python-modules/gst-python/default.nix +++ b/pkgs/development/python-modules/gst-python/default.nix @@ -42,6 +42,13 @@ buildPythonPackage rec { }) ]; + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' + # The analytics tests often timeout under load on Darwin (e.g. on Hydra), so remove them + substituteInPlace testsuite/meson.build --replace-fail \ + "['Test analytics', 'test_analytics.py', ['gst-plugins-bad/gst-libs/gst/analytics', 'gst-plugins-base/gst-libs/gst/video']]," \ + "" + ''; + # Python 2.x is not supported. disabled = !isPy3k; @@ -87,10 +94,10 @@ buildPythonPackage rec { updateScript = directoryListingUpdater { }; }; - meta = with lib; { + meta = { homepage = "https://gstreamer.freedesktop.org"; description = "Python bindings for GStreamer"; - license = licenses.lgpl2Plus; + license = lib.licenses.lgpl2Plus; maintainers = [ ]; }; }