From unknown Wed Jun 18 23:06:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78771 <78771@debbugs.gnu.org> To: bug#78771 <78771@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add clac. Reply-To: bug#78771 <78771@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:06:33 +0000 retitle 78771 [PATCH] gnu: Add clac. reassign 78771 guix-patches submitter 78771 Skylar Hill severity 78771 normal tag 78771 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 11 23:14:22 2025 Received: (at submit) by debbugs.gnu.org; 12 Jun 2025 03:14:22 +0000 Received: from localhost ([127.0.0.1]:54585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uPYOU-0003a5-Aa for submit@debbugs.gnu.org; Wed, 11 Jun 2025 23:14:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52706) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uPYOR-0003Zb-Mb for submit@debbugs.gnu.org; Wed, 11 Jun 2025 23:14:20 -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 1uPYO8-0002NY-Uq for guix-patches@gnu.org; Wed, 11 Jun 2025 23:14:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uPYO5-0003BK-R4 for guix-patches@gnu.org; Wed, 11 Jun 2025 23:13:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E4DF2240027 for ; Thu, 12 Jun 2025 05:13:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=1984.ea087b; t=1749698032; bh=v17NTxCF4U7+JtG+FO2bDDmpfliIa/byRux3Adu023g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=iBV082XNKWF83p+jG7am6kNgXJDxcrUXEu3h77GY5HXI1C331Ld/uTcqUEufs60es DiSckU7KfrRiwBnySDnT6LPS69COYxy28sXtpxj7aa1mmV3izeI6BYxJm3ACaLRyyX JUkb81RXJoBUeWtxbf9auXKSdKqPQuZIY5mibxUar3wwuj96UckoH+XaKFnyr291c4 /14RA7lqhjLcU3+L1dzMEwXsZYWZBr0OEfbqOTsuGeleuXYGyK3WKKdh/+AOIM1xM1 V4Z9KsLqXjljWsVTxtPJdZXlFIRN18dsv17hXRG7v7tyhjepximZLw20HxlmPK7Xa0 Mw5h13zZ2K0cC9l//cRATeW+0EQqSyZpHe30Ffw2oYJGo8hZXRgGED4qj2is3vZGBr nx6RnLuOiT1+MLa620e6qmHyN3cPbam8q+M/wdXrjVkm1tgZve0PjyxxhXg9eVpEVE gM43ySvyQHfEhXYxn00TtKyIOqwXF5vYIWtcfJs+ee8nGryFqg7 Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4bHng35Wqwz6tyT; Thu, 12 Jun 2025 05:13:51 +0200 (CEST) From: Skylar Hill To: guix-patches@gnu.org Subject: [PATCH] gnu: Add clac. Date: Thu, 12 Jun 2025 03:12:49 +0000 Message-ID: MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=stellarskylark@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Skylar Hill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * (clac): New variable. Vendors a dependency, linenoise, which is already packaged. However, since the linenoise package doesn't provide shared object files, I chose to simply use the vendored one. Change-Id: I5fe4db7b40b58753da3ac3ef947bf28cebeca7a6 --- gnu/packages/algebra.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b23785279e..931f421dac 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -2178,3 +2178,38 @@ (define-public msolve @end itemize") (license license:gpl2+))) +(define-public clac + (package + (name "clac") + (version "0.3.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/soveran/clac") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + "0crpm5rxxipiz6kqs5ip900d77vvnslyjn5f6nj0lrc86bkbgi8d"))) + (build-system gnu-build-system) + (arguments + (list + #:test-target "test" + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-env + (lambda _ + (setenv "CC" "gcc") + (setenv "PREFIX" + #$output)))))) + (home-page "https://github.com/soveran/clac") + (synopsis "Command-line, stack-based calculator with postfix notation") + (description + "A command line, stack-based calculator with postfix notation +that displays the stack contents at all times. As you type, the stack changes +are reflected immediately.") + ;; Vendors two dependencies, both also BSD-2. SDS is not already + ;; packaged. linenoise is packaged, but the package doesn't provide shared + ;; object files so we have to build it anyway + (license license:bsd-2))) base-commit: 3d4cadf2759665d3ef9b6b81e5ba73b488d84dc9 prerequisite-patch-id: 3fec04fa2a12083bb04816507fd9c714478c44bd -- 2.49.0