From patchwork Sat Nov 5 14:49:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 44335 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 88F0627BBEA; Sat, 5 Nov 2022 14:54:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EEB5F27BBE9 for ; Sat, 5 Nov 2022 14:54:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orKYe-0002sT-Ko; Sat, 05 Nov 2022 10:54:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orKYc-0002sK-NV for guix-patches@gnu.org; Sat, 05 Nov 2022 10:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orKYc-0004oE-Fo for guix-patches@gnu.org; Sat, 05 Nov 2022 10:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orKYc-0000yf-04 for guix-patches@gnu.org; Sat, 05 Nov 2022 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59052] [PATCH] gnu: sbcl-triads: Install binary executable. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Nov 2022 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59052 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59052@debbugs.gnu.org Cc: Guillaume Le Vaillant , Charles , jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16676600113708 (code B ref -1); Sat, 05 Nov 2022 14:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Nov 2022 14:53:31 +0000 Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orKY7-0000xk-7F for submit@debbugs.gnu.org; Sat, 05 Nov 2022 10:53:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:60136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orKY4-0000xY-AM for submit@debbugs.gnu.org; Sat, 05 Nov 2022 10:53:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orKY4-0002rP-3O for guix-patches@gnu.org; Sat, 05 Nov 2022 10:53:28 -0400 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orKY1-0004nH-IH for guix-patches@gnu.org; Sat, 05 Nov 2022 10:53:27 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ea8d88da; Sat, 5 Nov 2022 15:53:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=ongmg/bu9E8F3LQ/3/hJgMLLVBoWWHEwjts/beN4iTo=; b= OtBouSCinsKUVh1sShuto55t1uG7yqxiz0tdfMYMAF1c0haCQNHE04LHis5GhWin f8ud0A2I2Rd57WV2YsotbWm7TIZ9mrLmwmnP0+lXGRkP4YykrV0Ml+YseC1RcPix YUEyh+JShzJr3QClzZlrzKCVxyKVYFVkWNfcO1TlpVYSdB8Z/TdC01NflJa96zUn peFZrUgrFKT2m8Yfl/pR+nKQDfG3k6aMmVfnFEZjPqr6pP/kftIrqiAAKao+W/w/ sWQS7/XAlORfk1CORd7ef7Lkr6WGqJ2CTR4jnx2szuVGM6M9dkbLlSh38e+graWj 44KEw7VfQBMpwQQ3R0mYtg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 4ce6d833; Sat, 5 Nov 2022 15:53:21 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 3725bc20; Sat, 5 Nov 2022 15:53:21 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d1fb6d3b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 5 Nov 2022 15:53:20 +0100 (CET) Date: Sat, 5 Nov 2022 09:49:26 -0500 Message-Id: <20221105144924.22898-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-triads): Install binary executable. [arguments]: Install the triads binary executable in a phase. Co-authored-by: Charles 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))