From patchwork Wed May 15 15:51:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64455 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 70F9027BBEA; Wed, 15 May 2024 16:53:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E313127BBE2 for ; Wed, 15 May 2024 16:53:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7GwC-0003zd-H1; Wed, 15 May 2024 11:53: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 1s7GwB-0003wt-3t for guix-patches@gnu.org; Wed, 15 May 2024 11:53:03 -0400 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 1s7GwA-0004P4-J5 for guix-patches@gnu.org; Wed, 15 May 2024 11:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7GwA-0003X1-7F; Wed, 15 May 2024 11:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70087] [PATCH v2 2/4] gnu: Add chuffed. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 15 May 2024 15:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70087 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70087@debbugs.gnu.org Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 70087-submit@debbugs.gnu.org id=B70087.171578833213526 (code B ref 70087); Wed, 15 May 2024 15:53:02 +0000 Received: (at 70087) by debbugs.gnu.org; 15 May 2024 15:52:12 +0000 Received: from localhost ([127.0.0.1]:42819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7GvL-0003W5-K3 for submit@debbugs.gnu.org; Wed, 15 May 2024 11:52:11 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:47759 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7GvH-0003VC-Pl for 70087@debbugs.gnu.org; Wed, 15 May 2024 11:52:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1715788316; 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: in-reply-to:in-reply-to:references:references; bh=NFNs8iYVgCX1dYOVxvUp80rqLy4DYjNHLCfM2XUYSK8=; b=YfVUvGz+ofNOx1xtvL6+OpAlTdI9qsPn8jPWKUjM+Zp62I6dxV1/k+QQd404lrNFEcAjlz 5Ep85tRF8qFzPxsRUuc5ho17yiCxcEkz4oj8iiy5yMMZhlDZMiksS03ufauVpFHnNznIEV LnUaL4N9Tu0F5Sywn9oc+sF91FF6pkEioVY7/EWm/kgIDe6Z1DYurdyWxFOStaZTWnJUuz GpCg/pLDbPd3VfkLzClsn2R8OVxkr5KckLTWJpMD1Hm2D8tPK8sCyWRCZp0knX5gRdrcRz kfTO1Oreo3uXPiGVe/zKoIE9TmG9oR8ujzkJe63JjpMzcbXBbjSE4jxfWJVTWQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 83a6ffaa (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70087@debbugs.gnu.org>; Wed, 15 May 2024 15:51:56 +0000 (UTC) Date: Wed, 15 May 2024 17:51:23 +0200 Message-ID: <5fb4a1d84959c6760592abda115dcaa663559a43.1715786322.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/maths.scm (chuffed): Add variable. Change-Id: I77fc1ceb9caa42833689fba771010aeb38443e5e --- gnu/packages/maths.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 48f43f264b..d245805ffb 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -305,6 +305,42 @@ (define-public calc (home-page "http://www.isthe.com/chongo/tech/comp/calc/") (license license:lgpl2.1))) +(define-public chuffed + (package + (name "chuffed") + (version "0.13.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chuffed/chuffed") + (commit version))) + (sha256 + (base32 + "164brmwn71p9gb2441kh7b1gzmy2sg7bjv5z00wjs9nw41qc908g")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ; no 'check' target + #:modules '((guix build cmake-build-system) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'patch-msc + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "chuffed.msc" + (("\\.\\./../..") out) + (("\\.\\.") + (string-append out "/share/minizinc"))))))))) + (synopsis "Lazy clause generation solver") + (description + "Chuffed is a state of the art lazy clause solver designed from the +ground up with lazy clause generation in mind. Lazy clause generation +is a hybrid approach to constraint solving that combines features of +finite domain propagation and Boolean satisfiability.") + (home-page "https://github.com/chuffed/chuffed") + (license license:expat))) + (define-public coda (package (name "coda")