From patchwork Sun Dec 24 16:43:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 58029 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 2AC3227BBEA; Sun, 24 Dec 2023 16:47:36 +0000 (GMT) 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 3EB3527BBE2 for ; Sun, 24 Dec 2023 16:47:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHRd6-0003PD-UR; Sun, 24 Dec 2023 11:47:09 -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 1rHRcw-0003NB-KP for guix-patches@gnu.org; Sun, 24 Dec 2023 11:46:59 -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 1rHRcv-0006Ni-Rf for guix-patches@gnu.org; Sun, 24 Dec 2023 11:46:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHRd1-0001KH-Pt for guix-patches@gnu.org; Sun, 24 Dec 2023 11:47:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64249] [PATCH 9/9] gnu: update frama-c to 27.1-Cobalt. Resent-From: ds-ac@nanein.fr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Dec 2023 16:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64249 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64249@debbugs.gnu.org Cc: pukkamustard@posteo.net, Arnaud DABY-SEESARAM , Josselin Poiret , Julien Lepiller Received: via spool by 64249-submit@debbugs.gnu.org id=B64249.17034364085042 (code B ref 64249); Sun, 24 Dec 2023 16:47:03 +0000 Received: (at 64249) by debbugs.gnu.org; 24 Dec 2023 16:46:48 +0000 Received: from localhost ([127.0.0.1]:53427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHRcl-0001JB-Ks for submit@debbugs.gnu.org; Sun, 24 Dec 2023 11:46:48 -0500 Received: from nanein.fr ([185.230.78.41]:55510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHRce-0001IR-6f for 64249@debbugs.gnu.org; Sun, 24 Dec 2023 11:46:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nanein.fr; s=mail; t=1703436385; bh=bHX4xxT5WVN7orLA1cgwIAsPaSZK4MLykQQSNPz4Wfk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tdWOFxn5s7bXa1rkIvv6nKQEsUSVvX9gXDpHO68VSCQYxDZNIKxtIlabsLmGvPeID C1XYI4azNIPhCnxScnvmolH9EcaUw+rKa6MQf6W6b1wmFmAtr2/5ivBFN/PHVVx9QH dBgPQeK17Oc4pH+jQCxg5tUV2PWj5iLoeDSElpmldvJWy1UHWXpT8vJqlf00iaA9By YPXKeJfS7Pqm3sE0qvLluIdKvEavaxvmOG8l99N36dir9U9ppylIGd1ta4qhVZTrUQ JJrYWSxbTtc4wtAyvvzzM7mvgfXJY0iGi9Q8fnjPwSbq7/CLJU1h7IGWbs7l7IplP/ SAP1XOVZdnYyn0Gew+8dLtMDER3owMoay3hDVrlbP/mf2ekqsMvD9ysuPooXg29M/B Ut6OevAQomjAbCXfTMRT9WjYf1wcaghwhQbytEtsPtkituS5YSh9VHACTeOJho9y6H kdo2dVx3Xmj5xYG8cqLx+FuzGm3qsxQWH/7ODJg3taeMiKS2y/z5WPtJNAj9+jaL+k j7IW2LNYCcrFxp0SlPAqQ6XuOTCPXgTHww04h97RczhOB3bY/ocfqJNgojGTaZmOZj i49XPeNKcA5R8VfJrwwRatZ3Q7jevAPcS8C24jXQjUJaLt6fw3m7hAAVMVm9TF4QFf zfbrlV5iphRniyUYmhMU3OFc= Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:a9e:a4c0:9d01:2b7b:5834:e51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by nanein.fr (Postfix) with ESMTPSA id 28212140249; Sun, 24 Dec 2023 17:46:25 +0100 (CET) Date: Sun, 24 Dec 2023 17:43:44 +0100 Message-ID: <93766019c37d07b5742943971944ebf0fc502736.1703436224.git.ds-ac@nanein.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231224140732.4467c1fa@tachikoma.lepiller.eu> References: <20231224140732.4467c1fa@tachikoma.lepiller.eu> 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: ds-ac@nanein.fr X-ACL-Warn: , ds-ac--- via Guix-patches X-Patchwork-Original-From: ds-ac--- via Guix-patches via From: "ashish.is--- via Guix-patches\" via" 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 From: Arnaud DABY-SEESARAM * gnu/packages/maths.scm (frama-c): Update to 27.1-Cobalt. [build-system] switch from ocaml-build-system to dune-build-system. add new dependencies Change-Id: Iaf48692db5af281636e2907be4d681b8d94353fa --- gnu/packages/maths.scm | 64 ++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 7d17ee58ae6..99326c2f5c8 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -96,6 +96,7 @@ (define-module (gnu packages maths) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system ocaml) + #:use-module (guix build-system dune) #:use-module (guix build-system perl) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) @@ -9259,36 +9260,38 @@ (define-public why3 (define-public frama-c (package (name "frama-c") - (version "24.0") - (source (origin - (method url-fetch) - (uri (string-append "http://frama-c.com/download/frama-c-" - version "-Chromium.tar.gz")) - (sha256 - (base32 - "0x1xgip50jdz1phsb9rzwf2ra8lshn1hmd9g967xia402wrg3sjf")))) - (build-system ocaml-build-system) + (version "27.1-Cobalt") + (source + (origin + (method url-fetch) + (uri (string-append "http://frama-c.com/download/frama-c-" version + ".tar.gz")) + (sha256 + (base32 "1lirkvhf5m53d33l0aw5jzc1fyzkwx5fkgh9g71732d52r55f4sv")))) + (build-system dune-build-system) (arguments - `(#:tests? #f; no test target in Makefile - #:configure-flags - (list "--enable-verbosemake") ; to aid debugging - #:phases - (modify-phases %standard-phases - (add-before 'configure 'export-shell - (lambda* (#:key inputs #:allow-other-keys) - (setenv "CONFIG_SHELL" - (search-input-file inputs "/bin/sh"))))))) - (inputs - (list gmp zlib)) - (propagated-inputs - (list ocaml-biniou - ocaml-easy-format - ocaml-graph - ocaml-yojson - ocaml-zarith - ocaml-lablgtk3-sourceview3 - lablgtk3 - why3)) + '(#:phases (modify-phases %standard-phases + (add-before 'build 'set-environment-variables + (lambda* (#:key outputs #:allow-other-keys) + (setenv "CC" "gcc")))))) + (inputs (list python + perl + gcc + dune + gmp + zlib)) + (propagated-inputs (list ocaml-biniou + ocaml-easy-format + ocaml-graph + ocaml-yojson + ocaml-dune-site + ocaml-ppx-deriving-yaml + ocaml-zarith + ocaml-ppx-deriving-yojson + ocaml-ppx-import + ocaml-lablgtk3-sourceview3 + lablgtk3 + why3)) (native-search-paths (list (search-path-specification (variable "FRAMAC_SHARE") @@ -9300,7 +9303,8 @@ (define-public frama-c (separator #f)))) (home-page "https://frama-c.com") (synopsis "C source code analysis platform") - (description "Frama-C is an extensible and collaborative platform dedicated + (description + "Frama-C is an extensible and collaborative platform dedicated to source-code analysis of C software. The Frama-C analyzers assist you in various source-code-related activities, from the navigation through unfamiliar projects up to the certification of critical software.")