From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WHrBNMc+VGexCwEA62LTzQ:P1 (envelope-from ) for ; Sat, 07 Dec 2024 12:25:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WHrBNMc+VGexCwEA62LTzQ (envelope-from ) for ; Sat, 07 Dec 2024 13:25:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Uk5g7xLV; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=R0x1KHfU; 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-Seal: i=1; s=key1; d=yhetil.org; t=1733574343; a=rsa-sha256; cv=none; b=hnsEYp9h6iY/wRzdQ6FLU6sMHsHWMJrZUGjbrInMNb8DeM+4QsQ6yk86MVRnltqaNm7cwo vTiBPMaLX5n01R4wmHAZv6qAOrpxtzkUHZEhUUIeRTW/ALzIoC+7BtKShziAUmwLSI6bdo l2ZL/9xxjFxDpHhxpbu6CrtyqX72RF+J3clNuYbZ9a8x2Mox5vX22HslOkGi9JaGkTe9Xy 8Fnp4qSVv52q9rXHHjk2dtXlRLx2718WyxubE/ROpIT1TTeKZk/KmNNyytuX+pyi4jezMn s5lLbe26S3zwlyRDLuEVqr5shXMFsRBDQe7Mu+LCG3P8JJYhJqotbpkWZRe17w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Uk5g7xLV; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=R0x1KHfU; 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=1733574343; 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-type:content-type: 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=FH+i4Gbck+FG/TzWXlR3i2HD02XmqKqo58sjFoiIyEU=; b=g9dy0e2QtnHmTjx1/iq7YxfOaM2Hu7Bm90wF2sFVzzkmxlvq5RnOQxRgfIhNAykVqIo/0+ Thr2W5aB5Jn8F5P5jAfQnVR5VXo/Tc5aFYmjkgktsry1aeG6sjPcGzs70qvIoaBe7yE/mM T299JgcHiQIFtlPUbiCMOuY/RCmQg60et1GqfkrnxRRaoN7rNNwaw0Ywei/Gs6f8N5VACh iaVurK/Id0fyjoiTsqyYpDBI7oplSIt2+N5Z3xXzNZBHcOnxrYArsEpySIXueQ06Eeo6ao 4vuVVkKIsRbRX4+UqyIQdcWBkEIwSSalMBCkT1u/FWFuJZKZAvDBd1UDfI40AQ== 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 4A9A55D638 for ; Sat, 07 Dec 2024 13:25:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJts8-0003Tu-05; Sat, 07 Dec 2024 07:25:20 -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 1tJtry-0003HK-OA for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:10 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJtry-0001Zh-CU for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=FH+i4Gbck+FG/TzWXlR3i2HD02XmqKqo58sjFoiIyEU=; b=Uk5g7xLVSTlZivIG7jKFbhdF+jSa9/cHCR4jjRF45R85HGjJ/69CX4RbUm43/wFfZTI15jAOsy7Ofhc5CBOCb6RxYRZrzUtv+AGbkoqyf0DZ4MupTbLin60avixUxHqrM+nZBAonQidNc7N7KQ+ZEhRIFOJZiYq7KobXNmoNQHP7vGZ3F4W7D5Ny5cM3YzO6xLBNx03jFoC67HrAJdqdKsRPCa2FwUyhfOZjnpRsKuPdW/CEhBeulOhH+9DXf1wApy/mSlj8ZbMDfLLuw5QpvaXSYXW94e2PXnEGGpMiIo+zRRWckoU+7umIifFLRvatsXp624LOfhAYAdYlf8yl0A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJtrx-0001pD-PG; Sat, 07 Dec 2024 07:25:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74723] [PATCH 14/19] gnu: Add exprtk. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 07 Dec 2024 12:25:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74723@debbugs.gnu.org Cc: Sughosha , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 74723-submit@debbugs.gnu.org id=B74723.17335743016846 (code B ref 74723); Sat, 07 Dec 2024 12:25:09 +0000 Received: (at 74723) by debbugs.gnu.org; 7 Dec 2024 12:25:01 +0000 Received: from localhost ([127.0.0.1]:45740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtro-0001mF-Bi for submit@debbugs.gnu.org; Sat, 07 Dec 2024 07:25:00 -0500 Received: from layka.disroot.org ([178.21.23.139]:55576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrk-0001lU-CH for 74723@debbugs.gnu.org; Sat, 07 Dec 2024 07:24:57 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F28D625246; Sat, 7 Dec 2024 13:24:55 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id yot-z9-9JlIt; Sat, 7 Dec 2024 13:24:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1733574295; bh=xZMzd1QjtfxY29rrrYouC4K42f3mhSFrJB3ZG49kdpI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=R0x1KHfUNMPq8u3UzSFm1t5yKJM3is7E7+qh6rpWrGK2Bsk/W5yRrLhshonUTI+MW kJNVkiyX/owSWsUkl+nCt5BaNktbv0QRbGazYQncgt1B0S479Qm/eNYF4dp7w1jrFI GHDqy2E/6KezYQ0wF6HipWIs/lXEIVpwWujbsVgzbxBT+mJqXqobaItdI5O6SGJl7m ajVfybnE7TX9ktIjaKZ1/lw/IEVfO0mwU6/5AxF6IV+JFpwcN2sqYdFwosONyhFfc0 4PeGXd/TH1rYLVEf4g7O8OxEcz2Ua3c19+Vq1gbu9xFeC68aBWkEZxNkSD5quRA0e5 knV2mQWokCsaQ== Date: Sat, 7 Dec 2024 17:50:28 +0530 Message-ID: <01bbcbd48a990be71ed46b21d2244c5ed4102152.1733563475.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit 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: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4A9A55D638 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.65 X-Spam-Score: -3.65 X-TUID: LswRBhc2ueRE * gnu/packages/maths.scm (exprtk): New variable. Change-Id: I14bd7c26d111f399b5a3624456f43b3fe7dacd40 --- gnu/packages/maths.scm | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 9257a8adb7..e3638794ad 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -67,6 +67,7 @@ ;;; Copyright © 2024 Foundation Devices, Inc. ;;; Copyright © 2024 Artyom V. Poptsov ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Sughosha ;;; ;;; This file is part of GNU Guix. ;;; @@ -8079,6 +8080,58 @@ (define-public elemental reduction.") (license license:bsd-2)))) +(define-public exprtk + (let ((commit "7b993904a21639304edd4db261f6e2cdcf6d936b") ;no tags + (revision "0")) + (package + (name "exprtk") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ArashPartow/exprtk") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rza8lmn4mbdbrdj1aqir37nk8z034cqwr2s1ypyqgflckirwzdp")) + (modules '((guix build utils))) + (snippet + ;; Prevent linking to /usr/lib. + '(substitute* "Makefile" + (("-L/usr/lib") ""))))) + (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'configure) ;no configure script + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./exprtk_test")))) + (replace 'install + (lambda _ + ;; Install executable binaries excluding that of testing. + (for-each (lambda (file) + (when (and (executable-file? file) + (not (string=? "exprtk_test" + (basename file)))) + (install-file file + (string-append #$output + "/bin")))) + (find-files ".")) + ;; Install header. + (install-file "exprtk.hpp" + (string-append #$output "/include"))))))) + (home-page "https://github.com/ArashPartow/exprtk") + (synopsis "C++ mathematical expression parsing and evaluation library") + (description + "C++ Mathematical Expression Toolkit Library (ExprTk) is a run-time +mathematical expression parsing and evaluation engine. The parsing engine +supports numerous forms of functional and logic processing semantics and is +easily extensible.") + (license license:expat)))) + (define-public mcrl2 (package (name "mcrl2") -- 2.46.0