From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0CTsBawBpWNWawAAbAwnHQ (envelope-from ) for ; Fri, 23 Dec 2022 02:17: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 mp10.migadu.com with LMTPS id 4IUSBawBpWOULgAAG6o9tA (envelope-from ) for ; Fri, 23 Dec 2022 02:17: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 ACD713DF19 for ; Fri, 23 Dec 2022 02:17:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8WgL-0000g5-BY; Thu, 22 Dec 2022 20:17:05 -0500 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 1p8WgJ-0000ff-36 for guix-patches@gnu.org; Thu, 22 Dec 2022 20:17:03 -0500 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 1p8WgI-00024t-Re for guix-patches@gnu.org; Thu, 22 Dec 2022 20:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p8WgI-0000JA-1X; Thu, 22 Dec 2022 20:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60266] [PATCH] gnu: Add form. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: bavier@posteo.net, guix-patches@gnu.org Resent-Date: Fri, 23 Dec 2022 01:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60266 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60266@debbugs.gnu.org Cc: Antero Mejr , bavier@posteo.net X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: bavier@posteo.net Received: via spool by submit@debbugs.gnu.org id=B.16717581881165 (code B ref -1); Fri, 23 Dec 2022 01:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Dec 2022 01:16:28 +0000 Received: from localhost ([127.0.0.1]:36490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Wfj-0000Ij-PN for submit@debbugs.gnu.org; Thu, 22 Dec 2022 20:16:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:35940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Wfh-0000Ia-VF for submit@debbugs.gnu.org; Thu, 22 Dec 2022 20:16:26 -0500 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 1p8Wfh-0000cw-PF for guix-patches@gnu.org; Thu, 22 Dec 2022 20:16:25 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1p8Wff-00015L-3L for guix-patches@gnu.org; Thu, 22 Dec 2022 20:16:25 -0500 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-201.mailbox.org (Postfix) with ESMTPS id 4NdTlh0Z4rz9sQq for ; Fri, 23 Dec 2022 02:16:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1671758176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7dNNnZQoyd5DazpTDs7ZW7hpYBqIKyMSO6UhI88V0+U=; b=DBR+W5dDJr5gW32jGh5UoFBwKRsfz6sfKp/3UJxQVyDXwSEAjjA0a9gfv5ZrIcMntb9sas +Yw85qd4WevQ4bYbRkfRbRdicsRHhHvrVdBL8GAffo9vK1UG8Wt5fYKNAQ3l2ubUyGVXtx 3TArtsjsAcYX6qrM1+mjzR56PWd/hhYUPY6inbJa0hesCEtRHB1NEPwJ9f2RE3CbXUY/Ha yG9rEUVTSi323G+0QQtJBhWY5ut0/7uS0ykCHQNP0cWGCCRSfpd8pRNmnkvHVJOKO7nkaR ElO3IwIhkctzJyJvZhD/hSMLYUieTH33fA26PlG7eM2ChIcBM36b1x2X4CtBsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1671758174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7dNNnZQoyd5DazpTDs7ZW7hpYBqIKyMSO6UhI88V0+U=; b=D6oZU5oar21fJQFra4GVHhaK01ipBGw/TmZZ0kjI9DiApAhborTAoaAo8pFtqGXDeIM5Dq peNoVnyhn+PsTekkNfDH18g28fk91lScq8pEjFDys0uprlQzYBjz/SHvnut8+0eBRFrqib uFEy/Enoe6BPQ3p8HYG6F5VIyuBf9EX/1u958oJXK1ydX93UYN+mA7F3x9qhbyt3Ble9oG aUJuQk19qPWPv0QvtQHaygpTnlJ1iUv3k6rsMkV2xIrOzSqFDtFehqN58ZskQ7lJKVnnUS /9F4KWXFBRcux0d79iKUnY6bTHTKlWC8Tvb2qcFesuihCQf2XcnnShJm+K1Hxg== Date: Fri, 23 Dec 2022 01:15:51 +0000 Message-Id: <20221223011551.32708-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: ir4kdnhecjowj4ht3hy9rdauckbtsubw X-MBO-RS-ID: 88dfc6705fa8a97f65d Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org 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: , 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=1671758251; a=rsa-sha256; cv=none; b=jrgG2wfSh8dRitOnGGrl7xw5hFlQyQx2JRM+eKn5EC7Xux9AZaJgF1FIwQixNFfoSjTF6S m9RrJtY3ZwjoNJdfbN3fCQ1zRLiEtNMhvveac2Aod2wDbcGSOiQXf6NRFRe8Dj1poGQTQX fKNlizOy6O++X0bj0kXo7SPgptO5ouSnGl6b5oqle9fJ2gXKo2CWmk97NdAemH7fAb85Ak jTibtpv3Cm9MeoDfpl3oQ5xlyC3NheBvSEoJ5XusNbp1pUx3psjsPKttG/O5GaKWWpXnWb q1KCLipwJw3BAsA9tjPdSRNMD2ggXhaycgojH47BKtqlm+U7/xzvED/arlyFOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=DBR+W5dD; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=D6oZU5oa; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671758251; 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=7dNNnZQoyd5DazpTDs7ZW7hpYBqIKyMSO6UhI88V0+U=; b=hnSR9M41L2TiUGOV7bx7ueJjaKsq8Krk/mIHo15p0Zg5iF+7YjVuz8YkoUjzgmFZ1gx0Eu aiGdHg8PjSbL9XhoOAHICx0086mMtivlfmt0gglidQkAx3i8a8+bXUwJrUhk3GwAqGYPRY BHPw5cqHCqFEEZ/JBL3xfkoSYB+4911rn+IEAv5kfQ5EjFu0C0np1oayQl80S2dwUjaLTk QzQ9UBqFsAjv4C3CSW4rWFqdeSgJAb3129YMyZ4Gvi0yGmLiAZPDP+9VaU7NOmzxqSBFDs slgnnE5RrehSwbQP4aQoGWcxUda7Z/iChqA6iXy7EmgGS2mSLj6BdTPnAfIFfg== X-Spam-Score: -4.31 X-Migadu-Queue-Id: ACD713DF19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=DBR+W5dD; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=D6oZU5oa; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.31 X-TUID: 97qBx09FGWB9 * gnu/packages/maths.scm (form): New variable. --- 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 gnu/packages/maths.scm | 55 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 050450e12c..08ddd2ecb4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8161,3 +8161,58 @@ (define-public optizelle provided for applications written in C++ and Python. Parallel computation is supported via MPI.") (license license:bsd-2)))) + +(define-public form + (let ((commit "28e15eaf0856a0a012795298d6a4b570e764a8b1") + (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 + "04i932lqwng2hmknvai1gmmb5j17rwrhlj11nr96w9bmj4sq736x")) + (modules '((guix build utils))) + (snippet #~(substitute* "check/examples.frm" + (("#pend_if valgrind\\?") + "#pend_if 0"))))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake doxygen ruby)) + (inputs (list bash openmpi)) + (arguments + (list #:configure-flags #~(list "--enable-parform") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-hardcoded-path + (lambda _ + (substitute* "sources/extcmd.c" + (("/bin/sh") + (string-append #$(this-package-input "bash") + "/bin/sh"))))) + (add-after 'build 'build-doxygen + (lambda _ + (with-directory-excursion "doc/doxygen" + (invoke "make" "html")))) + (add-before 'check 'mpi-setup + #$%openmpi-setup) + (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))))))) + (home-page "https://www.nikhef.nl/~form/maindir/maindir.html") + (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.") + (supported-systems '("x86_64-linux")) + (license license:gpl3+)))) -- 2.38.1