[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: Add abjad-ext-ipython.
From: |
guix-commits |
Subject: |
12/12: gnu: Add abjad-ext-ipython. |
Date: |
Thu, 22 Jul 2021 04:51:59 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 4c63efa5e34bd9fdddb35de840eab1cf64ede30e
Author: jgart <jgart@dismail.de>
AuthorDate: Fri Apr 16 00:38:23 2021 -0400
gnu: Add abjad-ext-ipython.
* gnu/packages/music.scm (abjad-ext-ipython): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/music.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3efc15f..cee8f61 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -1701,6 +1701,54 @@ and manipulating rhythms such as accelerandi, taleas,
and more.")
music theorist Paul Nauert's quantization grids or Q-Grids, for short.")
(license license:expat)))
+(define-public abjad-ext-ipython
+ (package
+ (name "abjad-ext-ipython")
+ (version "3.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Abjad/abjad-ext-ipython")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vv0alpiz0gf5lgjfvlh4km72dvrxfqkwzxl3k4amzci3i0jzbs2"))))
+ (build-system python-build-system)
+ (arguments
+ ;; UnboundLocalError: local variable 'output_path' referenced before
assignment
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ (add-installed-pythonpath inputs outputs)
+ ;; From 'make jupyter-test'
+ (invoke "jupyter" "nbconvert" "--to=html"
+ "--ExecutePreprocessor.enabled=True" "tests/test.ipynb")))))))
+ (native-inputs
+ `(("lilypond" ,lilypond)
+ ("python-black" ,python-black)
+ ("python-flake8" ,python-flake8)
+ ("python-iniconfig" ,python-iniconfig)
+ ("python-isort" ,python-isort)
+ ("python-mypy" ,python-mypy)
+ ("python-pytest" ,python-pytest-6)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-helpers-namespace" ,python-pytest-helpers-namespace)))
+ (propagated-inputs
+ `(("abjad" ,abjad)
+ ("jupyter" ,jupyter)))
+ (home-page "https://abjad.github.io")
+ (synopsis "Abjad IPython Extension")
+ (description
+ "@code{abjad-ext-ipython} makes it possible to embed music notation in
+@code{jupyter} notebooks.")
+ (license license:expat)))
+
(define-public non-sequencer
;; The latest tagged release is three years old and uses a custom build
;; system, so we take the last commit.
- branch master updated (55db762 -> 4c63efa), guix-commits, 2021/07/22
- 05/12: gnu: python-abjad: Rename to abjad., guix-commits, 2021/07/22
- 11/12: gnu: Add abjad-ext-nauert., guix-commits, 2021/07/22
- 08/12: gnu: abjad: Move lilypond to inputs., guix-commits, 2021/07/22
- 12/12: gnu: Add abjad-ext-ipython.,
guix-commits <=
- 01/12: gnu: python-biopython: Update to 1.73., guix-commits, 2021/07/22
- 02/12: gnu: Add htslib-1.10., guix-commits, 2021/07/22
- 03/12: gnu: python-pysam: Update to 0.16.0.1., guix-commits, 2021/07/22
- 10/12: gnu: Add abjad-ext-rmakers., guix-commits, 2021/07/22
- 09/12: gnu: abjad: Remove obsolete phase., guix-commits, 2021/07/22
- 07/12: gnu: abjad: Improve description., guix-commits, 2021/07/22
- 04/12: gnu: python-pysam: Make the check phase honor the tests? argument., guix-commits, 2021/07/22
- 06/12: gnu: abjad: Move python-ply to propagated-inputs., guix-commits, 2021/07/22