GNU bug report logs -
#60840
[PATCH 0/3] gnu: volctl: Update to 0.9.3.
Previous Next
Reported by: Sergiu Ivanov <sivanov <at> colimite.fr>
Date: Sun, 15 Jan 2023 22:39:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi again,
Sergiu Ivanov <sivanov <at> colimite.fr> writes:
>>From b92cdb4ce99bc7ad45e0caba7f863db5931741db Mon Sep 17 00:00:00 2001
> From: Sergiu Ivanov <sivanov <at> colimite.fr>
> Date: Sun, 15 Jan 2023 23:16:02 +0100
> Subject: [PATCH 2/3] gnu: packages: Add python-pulsectl.
[...]
> +(define-public python-pulsectl
> + (package
> + (name "python-pulsectl")
> + (version "22.3.2")
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "pulsectl" version))
> + (sha256
> + (base32
> + "115ha1cwpd2r84ssnxdbr59hgs0jbx0lz3xpqli64kmxxqf4w5yc"))))
> + (build-system python-build-system)
> + (inputs (list pulseaudio))
> + (arguments
> + `(#:tests? #f
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'patch-path
> + (lambda* (#:key inputs #:allow-other-keys)
> + (let ((pulse (assoc-ref inputs "pulseaudio")))
> + (substitute* "pulsectl/_pulsectl.py"
> + (("libpulse.so.0")
> + (string-append pulse "/lib/libpulse.so.0")))
Sorry, I forgot to mention in my previous reply: here, you could use
(search-input-file inputs "lib/libpulse.so.0"), which has the added
benefit of failing if the file cannot be found in the inputs arguments.
--
Thanks,
Maxim
This bug report was last modified 2 years and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.