GNU bug report logs -
#59052
[PATCH] gnu: sbcl-triads: Install binary executable.
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Sat, 5 Nov 2022 14:54:01 UTC
Severity: normal
Tags: patch
Done: Guillaume Le Vaillant <glv <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 19 Dec 2022 13:25:03 +0000
with message-id <87sfhbplrl.fsf <at> kitej>
and subject line Re: [bug#59052] Add sbcl-triads:bin patch
has caused the debbugs.gnu.org bug report #59052,
regarding [PATCH] gnu: sbcl-triads: Install binary executable.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
59052: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59052
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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 <at> 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
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Patch pushed as 89a8534b425817640c3e168399543b7f6e10b5a7.
Thanks.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 211 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.