gnu: python-python3-midi: Switch to pyproject.

* gnu/packages/audio.scm (python-python3-midi):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: I035a2e99dbb7a63c52d68c08f9dd2889f7cb0136
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-26 23:49:50 +01:00 committed by Sharlatan Hellseher
parent c1d2c20358
commit 9f751b809b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3824,16 +3824,21 @@ one-dimensional sample-rate conversion library.")
(version "0.2.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python3_midi" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/NFJones/python3-midi")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1z9j1w7mpn3xhkcpxmqm5rvmj6nffb5rf14bv7n3sdh07nf6n7sf"))))
(build-system python-build-system)
(base32 "1zihn7n9dr9jjgkjlpad515hhwh22k94irb21ji793sr5crh5s15"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f)) ; XXX: midi module has not been packaged yet.
(native-inputs (list python-setuptools))
(home-page "https://github.com/NFJones/python3-midi")
(synopsis "Python MIDI API")
(description "This package provides a python API to read and write MIDI
files.")
(description
"This package provides a python API to read and write MIDI files.")
(license license:expat)))
(define-public python-wavefile