mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add python-pysmf.
* gnu/packages/music.scm (python-pysmf): New variable. Change-Id: Ia3ddd5e47e4f42f3ef37b503c24a5df8e79b1726
This commit is contained in:
parent
da0ca860d7
commit
6765139cfc
1 changed files with 33 additions and 0 deletions
|
@ -3098,6 +3098,39 @@ (define-public python-pyportmidi
|
|||
"This package provides Python bindings to the PortMidi library.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public python-pysmf
|
||||
(let ((commit "8a98a557470301f5a471d07d37f334a5b8892602")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "python-pysmf")
|
||||
(version (git-version "0.1.1" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/mididings/pysmf")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1ic24k8jr7iwcrj7xaw5b9i22al05rxfpjw39bbjsg7v09kvygcv"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-build-system
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("from subprocess") "import sys; from subprocess")))))))
|
||||
(inputs (list libsmf glib))
|
||||
(native-inputs (list pkg-config python-cython python-pytest))
|
||||
(home-page "https://github.com/mididings/pysmf")
|
||||
(synopsis "Read and write Standard MIDI files")
|
||||
(description
|
||||
"pysmf is a Python extension module for reading and writing Standard
|
||||
MIDI files, based on libsmf.")
|
||||
(license license:bsd-2))))
|
||||
|
||||
(define-public frescobaldi
|
||||
(package
|
||||
(name "frescobaldi")
|
||||
|
|
Loading…
Reference in a new issue