From 76edf7e664923321be725417471a471122cb8848 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 2 Oct 2025 15:27:37 -0700 Subject: [PATCH 1/3] python3Packages.gst-python: remove `with lib;` --- pkgs/development/python-modules/gst-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix index 2c8d9818f9bb..9363e91b684c 100644 --- a/pkgs/development/python-modules/gst-python/default.nix +++ b/pkgs/development/python-modules/gst-python/default.nix @@ -87,10 +87,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 = [ ]; }; } From 3ea3a24f3e9a0abd95412d0d728c602b271c0a7f Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 2 Oct 2025 15:49:33 -0700 Subject: [PATCH 2/3] python3Packages.gst-python: disable anaytics tests on Darwin The analytics tests will time out under load on Darwin, breaking Hydra builds and nixpkgs-review. --- pkgs/development/python-modules/gst-python/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/gst-python/default.nix b/pkgs/development/python-modules/gst-python/default.nix index 9363e91b684c..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; From da708ddef08f9ef18ba1e9b3575ac547d67c2548 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 3 Oct 2025 15:49:16 -0700 Subject: [PATCH 3/3] gst-plugins-rs: disable failing test on Darwin --- pkgs/development/libraries/gstreamer/rs/default.nix | 1 + 1 file changed, 1 insertion(+) 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) [