From bd96132fb9625837e25b837c4d3c7bbfdd290031 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 5 Jun 2024 21:22:09 +0530 Subject: gnu: Add python-mido. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-mido): New variable. Change-Id: I4bdc6dc6f059dd16c0e0a4152a5e9b5bf84764ee Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python-xyz.scm') 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") -- cgit v1.2.3