guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c1d2c2035800277cb5c06f97eb3eb5720d902bd6
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Dec 26 23:44:04 2025 +0100

    gnu: python-pulsectl: Update to 24.12.0.
    
    * gnu/packages/audio.scm (python-pulsectl): Update to 24.12.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Improve style.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I7e299deb86da14dbff1053a1a2d747965d62b7fb
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/audio.scm | 42 +++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 270d075286..2299648ed0 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3635,27 +3635,31 @@ cross-platform audio input/output stream library.")
 (define-public python-pulsectl
   (package
     (name "python-pulsectl")
-    (version "24.4.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "pulsectl" version))
-              (sha256
-               (base32
-                "0r9igs365cqgrn1m55a8qjz0hc446nwjm3p3i9kphbj5gl7dazk9"))))
-    (build-system python-build-system)
-    (inputs (list pulseaudio))
+    (version "24.12.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mk-fg/python-pulse-control";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1f15w2312j2yc9bs689dvdgq891sjrp5x3q1vf08743px70gxc1m"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f                      ; tests try to communicate with 
PulseAudio
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'patch-path
-           (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* "pulsectl/_pulsectl.py"
-               (("libpulse.so.0")
-                (string-append (search-input-file inputs 
"/lib/libpulse.so.0")))))))))
+     (list
+      #:tests? #f ;tests try to communicate with PulseAudio
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-path
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "pulsectl/_pulsectl.py"
+                (("libpulse.so.0")
+                 (search-input-file inputs "/lib/libpulse.so.0"))))))))
+    (native-inputs (list python-setuptools))
+    (inputs (list pulseaudio))
     (home-page "https://github.com/mk-fg/python-pulse-control";)
-    (synopsis
-     "Python bindings for mixer-like controls in PulseAudio")
+    (synopsis "Python bindings for mixer-like controls in PulseAudio")
     (description
      "This package provides a Python high-level interface and ctypes-based
 bindings for PulseAudio (libpulse), to use in simple synchronous code.

Reply via email to