diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-05 13:51:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-12-05 15:10:33 +0200 |
commit | 31b63a7a8c3aa469d2735115925ff86cc44e8d39 (patch) | |
tree | 4e515d444682037b35d1b0407cb12b1078984f4f /gnu | |
parent | 504e62144539ac68c0f64f10dee872b47f088a26 (diff) | |
download | guix-31b63a7a8c3aa469d2735115925ff86cc44e8d39.tar.gz guix-31b63a7a8c3aa469d2735115925ff86cc44e8d39.zip |
gnu: python-osc: Adjust for newer python.
* gnu/packages/python-xyz.scm (python-osc)[source]: Add snippet to
adjust python imports.
Change-Id: Ie9708fe6961a4f65909d4795190bd2a037e9c9c8
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9fd62c0ff8..28be393f0a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29239,8 +29239,12 @@ workspace...") (method url-fetch) (uri (pypi-uri "python-osc" version)) (sha256 - (base32 - "0cnh0z5lnng7fh48nmfaqqn8j25k13gkd4rhxd3m6sjqiix9s3vn")))) + (base32 "0cnh0z5lnng7fh48nmfaqqn8j25k13gkd4rhxd3m6sjqiix9s3vn")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "pythonosc/udp_client.py" + (("from collections import Iterable") + "from collections.abc import Iterable")))))) (build-system python-build-system) (home-page "https://github.com/attwad/python-osc") (synopsis "Open Sound Control server and client implementations") |