From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sCwHDRl5ZmMBDAEAbAwnHQ (envelope-from ) for ; Sat, 05 Nov 2022 15:54:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aLobDRl5ZmOEoQAA9RJhRA (envelope-from ) for ; Sat, 05 Nov 2022 15:54:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BAC4732C27 for ; Sat, 5 Nov 2022 15:54:16 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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 From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667660056; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=j1X04rYwtTerzbcGcZZk7u/qHaxtcH8lL3nLJrPxkro=; b=M+l0pFwbM0V/uyZXQXoc9awnuj5/ejQUX1GPEK2Gk8sJ+5lG1T2BIRf51S8hKMCBEJFiol MlrvEsmrdzx+z3T9Uy6FtA7MmCv9baA6RNliFwvgMVFAD9PvmeKMUh6w7HFqnzM9IobuIo zklKs1gj9spYsvrFBDkpmdlg4eThys5LTan0q4As7JkY2DT9ZJIfpnWxe84NPOV6v6f+uQ 3F79jSawX8weTNpH2flybAAa9DGi8IIHisRK1n+C3EWV5ChcMFtlA3R1hg4BgSkYElSmzS sEYiE5Bdz4EEzXcRO7Wjm0ZaICgbVZuWIHiHVf6KarG/MnhILv5sKZ0s1PWQ1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667660056; a=rsa-sha256; cv=none; b=fOeXzpQmkPDCrqmRTbaW+1o5ika8XgiMUqS/eJXxfZcJpczq2FtUfiVcO5/dClv3qGTH9G 1gNjlVeV+tsVqarSlDtVCSZY2LurDNm2xr97gOSg9w7I1lEh/N92Qidfv3vFdagbkM3W3e bXUmPBJLFogvkTWriI5lwPLZtz5rgp7uRQXf6LjO8rRYtpqHxQET+8Jxs4bJ17xf0Xwp23 EpCpuysYjEvjUlECCVh0t32wTBwFL9bN9nP+5RS2yGaPaaNZmdzWC6sHZJX+5vMmNgRiUF FvFfjGi69xSbYvlJHEN4DFYfOsU0XD23JXYL7040ERVB4boLpoz3h/7sFmY3QA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=OtBouSCi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=OtBouSCi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BAC4732C27 X-Spam-Score: -1.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0xBcC9PCqLI6 * 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)) -- 2.38.1