From 7d2ced8d6d9c38327592d312376d59a8c37fc160 Mon Sep 17 00:00:00 2001 From: Remco van 't Veer Date: Mon, 2 Sep 2024 21:38:25 +0200 Subject: [PATCH] gnu: python-gst: Fix build. * gnu/packages/glib.scm: Add package python-pygobject-3.48. * gnu/packages/gstreamer.scm (python-gst) [inputs]: Use python-pygobject-3.48 to fix tests. Change-Id: I3038b85db67ff354a6d77708fa4fd7c63aa6732c Signed-off-by: Andrew Tropin --- gnu/packages/glib.scm | 15 +++++++++++++++ gnu/packages/gstreamer.scm | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 9827856f32..d6275ea63e 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2023 Saku Laesvuori ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Remco van 't Veer ;;; ;;; This file is part of GNU Guix. ;;; @@ -1077,6 +1078,20 @@ (define-public python-pygobject '((upstream-name . "pygobject"))) (license license:lgpl2.1+))) +(define-public python-pygobject-3.48 + (package + (inherit python-pygobject) + (version "3.48.2") + (source + (origin + (inherit (package-source python-pygobject)) + (uri (string-append "mirror://gnome/sources/pygobject/" + (version-major+minor version) + "/pygobject-" version ".tar.xz")) + (sha256 + (base32 + "19yii8lydnjw225k4gclhn8hya7caiginqi0mj9a0cdym6sax507")))))) + (define-public perl-glib (package (name "perl-glib") diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index ad08285181..66978fc2bc 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Liliana Marie Prikler ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2023 Maxim Cournoyer +;;; Copyright © 2024 Remco van 't Veer ;;; ;;; This file is part of GNU Guix. ;;; @@ -1126,7 +1127,7 @@ (define-public python-gst (native-inputs (list pkg-config python)) (propagated-inputs - (list gst-plugins-base python-pygobject)) + (list gst-plugins-base python-pygobject-3.48)) (home-page "https://gstreamer.freedesktop.org/") (synopsis "GStreamer GObject Introspection overrides for Python") (description