civodul pushed a commit to branch master
in repository guix.
commit bd96132fb9625837e25b837c4d3c7bbfdd290031
Author: Sughosha <[email protected]>
AuthorDate: Wed Jun 5 21:22:09 2024 +0530
gnu: Add python-mido.
* gnu/packages/python-xyz.scm (python-mido): New variable.
Change-Id: I4bdc6dc6f059dd16c0e0a4152a5e9b5bf84764ee
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 556606b6b4..1bda7e7ab7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -36160,6 +36160,33 @@ terminal. It has red, blue, green, yellow, purple and
black/white (default)
colors.")
(license license:expat)))
+(define-public python-mido
+ (package
+ (name "python-mido")
+ (version "1.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "mido" version))
+ (sha256
+ (base32
+ "0j63cydiinfyrvlhydzsb00cb7dyvrw3bnhjbdyp63vkxnv2isis"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ ;; This package requires python-packaging~=23.1 which is not yet
+ ;; updated to. As per pyproject.toml, it is required to provide
+ ;; a nice version_info opbject.
+ ;; TODO: After updating python-packaging, fix this.
+ (delete 'sanity-check))))
+ (propagated-inputs (list python-importlib-metadata python-packaging))
+ (native-inputs (list python-pytest))
+ (home-page "https://mido.readthedocs.io/en/stable/")
+ (synopsis "MIDI Objects for Python")
+ (description "This library is for working with MIDI 1.0 ports, messages and
+files.")
+ (license license:expat)))
+
(define-public python-musical-scales
(package
(name "python-musical-scales")