From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6AvsECD6GWQDUwAASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 19:40:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IDncECD6GWRTTgAAauVa8A (envelope-from ) for ; Tue, 21 Mar 2023 19:40:32 +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 EFDDF2A2C0 for ; Tue, 21 Mar 2023 19:40:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pegu0-0005JB-QX; Tue, 21 Mar 2023 14:40:08 -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 1pegtx-0005Il-Gt for guix-patches@gnu.org; Tue, 21 Mar 2023 14:40:06 -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 1pegtu-0002gE-TZ for guix-patches@gnu.org; Tue, 21 Mar 2023 14:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pegtu-00053V-Q3 for guix-patches@gnu.org; Tue, 21 Mar 2023 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60266] [PATCH v3 1/2] gnu: Add form. References: <20221223011551.32708-1-antero@mailbox.org> In-Reply-To: <20221223011551.32708-1-antero@mailbox.org> Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 60266@debbugs.gnu.org Received: via spool by 60266-submit@debbugs.gnu.org id=B60266.167942396919371 (code B ref 60266); Tue, 21 Mar 2023 18:40:02 +0000 Received: (at 60266) by debbugs.gnu.org; 21 Mar 2023 18:39:29 +0000 Received: from localhost ([127.0.0.1]:60590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pegtN-00052N-B3 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 14:39:29 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:38642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pegtL-000529-QZ for 60266@debbugs.gnu.org; Tue, 21 Mar 2023 14:39:28 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4Ph0kb2jK6z9sVl for <60266@debbugs.gnu.org>; Tue, 21 Mar 2023 19:39:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1679423959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oj8uodvZROcXmaYWcQfVUANgxAITFF1mEijuzRPVlR4=; b=m/ZbNVHrD0sasJu7OQEzC0FyauENUTNTBgzPgIcC3MxhF32HbIE/VRuNe6SjjgM+9PuDnw tjeQkA9s4lGJ8xfIe8xv0enBP3ti5blTzCE4VOf+WFFiRk969dArqnyZoDQnQis3ufo624 F69cb62sob8FNAx3C7P0mBv5G2+VSjvkgLQ8zI1TbMiFF0fQM53olg2hcUNpOIMK8uBPnv 69VYC2zDI03lHxGwGsoMOIbiuvpMbm+dAZ2LHDqzyEHOA0UfWUrHTJTS7U6yVm7IFUXwDY zMTMwgLEJ0aWhD3GZRvgIwV0WnDGm/qguJ49rN/lOrCTvk8MIKAd4wGOXv95Gg== Date: Tue, 21 Mar 2023 18:39:01 +0000 Message-Id: <20230321183902.30605-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: h3wzjub39yh773c6hkqzsadczfhdj4n4 X-MBO-RS-ID: d86581c735faf6c5bf3 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679424032; a=rsa-sha256; cv=none; b=fUNFpqIMfyekvZI1+2MQyaPvQgIQXhHoGSXNjyjgT3cUeO+6cQN8efXOQDzCLkBACE+z4n SZsD76c5Jlw9DAYuq7uglGwVTvFrtLEFEfSP21477Q29g5tvAJfmP1cNpxCwcWukgUO11U m5DS+/FBJN1/VymJZ+5x0tjwpp4bDqQ6Dlv3vGg+5jt6mmpa0/p4ra7x4Wcab7F8vaUlTc wMgvRzw0+qwpMbymcorU2Mvt8NVCDoWi6WaIqa1LVs6fCWKc5SohVR4kc6dK6tD7TrEMVM J+Cl2ASDeraVRg6sb6Alo4s/EuROMugGHoSxDa1HTysUfmNy8rw8GnN6laHcdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="m/ZbNVHr"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679424032; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oj8uodvZROcXmaYWcQfVUANgxAITFF1mEijuzRPVlR4=; b=VLUHag9zsH9/TVFPWY6bu6/mir2/SdTbMHG92ejW3gEkOJE6H3xpAkVpzWTUwdMVf32XUu M4sspQ9xSDKpiIyQlx16bwVUqPQ+9dHFCI4V301YsI4rbVnJ6ucVwnnJ99QFzmwOrh8mEC 9I2MwENiONP0ziYvK/JrfCXO58OLVQEojvGRgkyg++Zhv2gVnvSKYKILBI7+EsDxRHMhz0 1T3eqKmSACfhpOYeRvMerpKdto4FIecVNyqcnPUKtgXit4qb/Ruws+Nid4w1vRepoQ3+sK 8T5PrD7hmLp7mGBoo/SQFveuWx1C1wRE0VfHrqVfLvAgUkWai2Lo0gqxekkt/w== X-Migadu-Spam-Score: -3.35 X-Spam-Score: -3.35 X-Migadu-Queue-Id: EFDDF2A2C0 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="m/ZbNVHr"; 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-Scanner: scn1.migadu.com X-TUID: zXBnZzr7gQEo * gnu/packages/algebra.scm (form): New variable. --- gnu/packages/algebra.scm | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 5842a166ad..f6cb171e2a 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -34,6 +34,7 @@ (define-module (gnu packages algebra) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -58,6 +59,7 @@ (define-module (gnu packages algebra) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages ruby) #:use-module (gnu packages shells) #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) @@ -1818,3 +1820,61 @@ (define-public sollya it offers a certified infinity norm, an automatic polynomial implementer, and a fast Remez algorithm.") (license license:cecill-c))) + +(define-public form + ;; using this commit as it removes some invalid/ambiguous license info + (let ((commit "e7c52d3b07abe21f21718f5e70ee138e856f15ac") + (revision "0")) + (package + (name "form") + (version (git-version "4.3.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vermaseren/form") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "15pjpn5s8d3sva18syhyymh5v1dijchk0xkf6d0m7cl2sj3qxxxq")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags #~'("--enable-native=no") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-src + (lambda _ + (substitute* "check/examples.frm" + ;; skip test that causes memory leak and fails + (("#pend_if valgrind\\?") + "#pend_if 0")) + (substitute* "sources/extcmd.c" + (("/bin/sh") + (string-append + #$(this-package-input "bash-minimal") + "/bin/sh"))))) + (add-after 'build 'build-doxygen + (lambda _ + (with-directory-excursion "doc/doxygen" + (invoke "make" "html")))) + (add-after 'install 'install-docs + (lambda _ + (let ((doc (string-append + #$output "/share/doc/" #$name "-" + #$version "/html"))) + (mkdir-p doc) + (copy-recursively "doc/doxygen/html" doc))))))) + (native-inputs (list autoconf automake doxygen ruby)) + (inputs (list bash-minimal)) + (home-page "https://www.nikhef.nl/~form/") + (synopsis "Symbolic manipulation system for very big expressions") + (description + "FORM is a symbolic manipulation system. It reads symbolic expressions +from files and executes symbolic/algebraic transformations upon them. The +answers are returned in a textual mathematical representation. The size of +the considered expressions in FORM is only limited by the available disk space +and not by the available RAM.") + ;; x86_64 only due to test failures on other platforms. + ;; Developers say other platforms are not "tier 1" supported: + ;; https://github.com/vermaseren/form/issues/426 + (supported-systems '("x86_64-linux")) + (license license:gpl3+)))) -- 2.38.1