From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 59052@debbugs.gnu.org
Cc: Guillaume Le Vaillant <glv@posteo.net>,
Charles <charles.b.jackson@protonmail.com>,
jgart <jgart@dismail.de>
Subject: [bug#59052] [PATCH] gnu: sbcl-triads: Install binary executable.
Date: Sat, 5 Nov 2022 09:49:26 -0500 [thread overview]
Message-ID: <20221105144924.22898-1-jgart@dismail.de> (raw)
* gnu/packages/lisp-xyz.scm (sbcl-triads): Install binary executable.
[arguments]: Install the triads binary executable in a phase.
Co-authored-by: Charles <charles.b.jackson@protonmail.com>
Hi Guillaume,
I forgot to add in this phase.
thanks in advance,
jgart
---
gnu/packages/lisp-xyz.scm | 38 +++++++++++++++++++++++++++-----------
1 file changed, 27 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 98860f131c..34ad0af1fb 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -24527,20 +24527,36 @@ (define-public sbcl-triads
(file-name (git-file-name "cl-triads" version))
(sha256
(base32 "146mwshynhdw82m2nxrcjvf1nk0z3fn6ywcd2vqxkly5qricc53w"))))
- (build-system asdf-build-system/sbcl)
- (arguments
- '(#:asd-systems '("charje.triads")))
- (inputs
- (list sbcl-cl-str
- sbcl-serapeum
- sbcl-trivia))
- (home-page "https://github.com/charJe/triads")
- (synopsis "Music composition tool to convert roman numerals into triads")
- (description "Triads is a simple command line tool that reads roman
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:asd-systems '("charje.triads")
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "HOME" (getcwd))
+ (system*
+ "sbcl" "--no-userinit"
+ "--eval" "(require :asdf)"
+ "--eval" (string-append
+ "(require :charje.triads \""
+ (getcwd) "/charje.triads.asd\")")
+ "--eval" "(asdf:make :charje.triads)")
+ (install-file (string-append (getcwd) "/triads")
+ (string-append (assoc-ref outputs "out") "/bin"))))
+ (delete 'check)
+ (delete 'create-asdf-configuration))))
+ (inputs
+ (list sbcl-cl-str
+ sbcl-serapeum
+ sbcl-trivia))
+ (home-page "https://github.com/charJe/triads")
+ (synopsis "Music composition tool to convert roman numerals into triads")
+ (description "Triads is a simple command line tool that reads roman
numeral notation from standard input (or a file) and an musical key and outputs
the roman numeral in addition to the notes of the triad associated with that
roman numeral given in the key.")
- (license license:gpl3))))
+ (license license:gpl3))))
(define-public cl-triads
(sbcl-package->cl-source-package sbcl-triads))
--
2.38.1
next reply other threads:[~2022-11-05 14:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 14:49 jgart via Guix-patches via [this message]
2022-11-05 19:02 ` [bug#59052] [PATCH] gnu: sbcl-triads: Install binary executable Guillaume Le Vaillant
2022-11-05 19:15 ` Charles via Guix-patches via
2022-11-05 19:17 ` ( via Guix-patches via
2022-11-05 19:21 ` Charles via Guix-patches via
2022-11-06 17:24 ` jgart via Guix-patches via
2022-12-14 5:06 ` [bug#59052] Add sbcl-triads:bin patch Charles via Guix-patches via
2022-12-19 13:25 ` bug#59052: " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221105144924.22898-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=59052@debbugs.gnu.org \
--cc=charles.b.jackson@protonmail.com \
--cc=glv@posteo.net \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.