diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-11-17 23:24:42 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-17 23:43:14 +0100 |
commit | 3a317f7476f8c6012e166ff9f340f861938721c9 (patch) | |
tree | 946e398c37912cfc03be7306951ae87bfeb130fa /gnu/packages/music.scm | |
parent | e55547bf70384691712047912c793c517debd2ec (diff) | |
parent | 62e707d67caf1dab2af411a69ff8cec4b2dc686e (diff) | |
download | guix-3a317f7476f8c6012e166ff9f340f861938721c9.tar.gz |
Merge branch 'master' into core-updates-frozen
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r-- | gnu/packages/music.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 8d1836c44e..9ad2842e3e 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1524,6 +1524,39 @@ Guile.") ;; more than an hour of silence, so double the max silent time. (properties `((max-silent-time . 7200))))) +(define-public music21 + (package + (name "music21") + (version "7.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "music21" version)) + (sha256 + (base32 "17v2id8qm99xqymqsdczq173fmbdha4w109ahh8j1d9l5a7mqc86")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + ;; See: https://github.com/cuthbertLab/music21/issues/1164 + (invoke "python" "-m" "music21.stream.tests"))))))) + (propagated-inputs + `(("python-chardet" ,python-chardet) + ("python-joblib" ,python-joblib) + ("python-more-itertools" ,python-more-itertools) + ("python-webcolors" ,python-webcolors))) + (home-page "https://web.mit.edu/music21/") + (synopsis "Toolkit for Computational Musicology") + (description + "Music21 is a set of tools for helping scholars and other active +listeners answer questions about music quickly and simply.") + ;; Software is dual-licensed. + (license (list license:bsd-3 license:lgpl3+)))) + (define-public abjad (package (name "abjad") |