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 <andrew@trop.in>
This commit is contained in:
Remco van 't Veer 2024-09-02 21:38:25 +02:00 committed by Andrew Tropin
parent 993d6d2e7b
commit 7d2ced8d6d
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0
2 changed files with 17 additions and 1 deletions

View file

@ -20,6 +20,7 @@
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Saku Laesvuori <saku@laesvuori.fi>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
;;;
;;; 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")

View file

@ -11,6 +11,7 @@
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
;;;
;;; 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