Archived
1
0
Fork 0

gnu: frama-c: Update to 27.1.

* gnu/packages/maths.scm (frama-c): Update to 27.1.
(why3): Update to 1.6.0.

Change-Id: I74191e4274d58a88a772413875fbf7de4d243fec
This commit is contained in:
Julien Lepiller 2024-01-10 08:43:33 +01:00
parent 594a412231
commit 41634d3b5f
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -28,7 +28,7 @@
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com> ;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018 Eric Brown <brown@fastmail.com> ;;; Copyright © 2018 Eric Brown <brown@fastmail.com>
;;; Copyright © 2018, 2021 Julien Lepiller <julien@lepiller.eu> ;;; Copyright © 2018, 2021, 2024 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2018 Amin Bandali <bandali@gnu.org> ;;; Copyright © 2018 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2019, 2021-2023 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2019, 2021-2023 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com> ;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
@ -93,6 +93,7 @@
#:use-module (guix build-system ant) #:use-module (guix build-system ant)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system dune)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
@ -183,6 +184,7 @@
#:use-module (gnu packages tcl) #:use-module (gnu packages tcl)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages tex) #:use-module (gnu packages tex)
#:use-module (gnu packages time)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages version-control) #:use-module (gnu packages version-control)
#:use-module (gnu packages wxwidgets) #:use-module (gnu packages wxwidgets)
@ -9354,7 +9356,7 @@ numeric differences and differences in numeric formats.")
(define-public why3 (define-public why3
(package (package
(name "why3") (name "why3")
(version "1.4.1") (version "1.6.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -9363,7 +9365,7 @@ numeric differences and differences in numeric formats.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1yca6mx8bjm8x0i594ivh31aw45s6fbimmwfj8g2v9zwrgmr1i4s")))) "0k3y98xzhrl44vwzq2m6k4nrllrwp3ll69lc2gfl8d77w0wg7gkp"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(native-inputs (native-inputs
(list autoconf automake coq ocaml which)) (list autoconf automake coq ocaml which))
@ -9411,36 +9413,38 @@ of C, Java, or Ada programs.")
(define-public frama-c (define-public frama-c
(package (package
(name "frama-c") (name "frama-c")
(version "24.0") (version "27.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://frama-c.com/download/frama-c-" (uri (string-append "http://frama-c.com/download/frama-c-"
version "-Chromium.tar.gz")) version "-Cobalt.tar.gz"))
(sha256 (sha256
(base32 (base32
"0x1xgip50jdz1phsb9rzwf2ra8lshn1hmd9g967xia402wrg3sjf")))) "1lirkvhf5m53d33l0aw5jzc1fyzkwx5fkgh9g71732d52r55f4sv"))))
(build-system ocaml-build-system) (build-system dune-build-system)
(arguments (arguments
`(#:tests? #f; no test target in Makefile `(#:phases
#:configure-flags
(list "--enable-verbosemake") ; to aid debugging
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'export-shell (add-before 'build 'set-env
(lambda* (#:key inputs #:allow-other-keys) (lambda _
(setenv "CONFIG_SHELL" (setenv "CC" "gcc"))))))
(search-input-file inputs "/bin/sh")))))))
(inputs (inputs
(list gmp zlib)) (list gmp zlib))
(propagated-inputs (propagated-inputs (list
(list ocaml-biniou graphviz
ocaml-easy-format lablgtk3
ocaml-graph ocaml-graph
ocaml-odoc
ocaml-lablgtk3-sourceview3
ocaml-yaml
ocaml-yojson ocaml-yojson
ocaml-zarith ocaml-zarith
ocaml-lablgtk3-sourceview3 ocaml-ppx-deriving
lablgtk3 ocaml-ppx-deriving-yojson
ocaml-ppx-deriving-yaml
ocaml-ppx-import
why3)) why3))
(native-inputs (list dune-site time ocaml-menhir ocaml-graph))
(native-search-paths (native-search-paths
(list (search-path-specification (list (search-path-specification
(variable "FRAMAC_SHARE") (variable "FRAMAC_SHARE")