summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@posteo.net>2021-06-23 22:28:05 -0500
committerEric Bavier <bavier@posteo.net>2021-06-23 22:29:24 -0500
commitd320daf7df3f5a50447158c1244bdc4fa57973ac (patch)
tree962e23d7c07772c5b294231c24aca511e5de8e26
parent6d388103a4ed8f14f1ac6ac7a2ff22c5fa6b8cd4 (diff)
gnu: Add Gappa.
* gnu/packages/algebra.scm (gappa): New variable.
-rw-r--r--gnu/packages/algebra.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 5227d6797bb..34a9bd202c2 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -34,6 +34,7 @@
34 #:use-module (gnu packages) 34 #:use-module (gnu packages)
35 #:use-module (gnu packages autotools) 35 #:use-module (gnu packages autotools)
36 #:use-module (gnu packages bison) 36 #:use-module (gnu packages bison)
37 #:use-module (gnu packages boost)
37 #:use-module (gnu packages check) 38 #:use-module (gnu packages check)
38 #:use-module (gnu packages compression) 39 #:use-module (gnu packages compression)
39 #:use-module (gnu packages cpp) 40 #:use-module (gnu packages cpp)
@@ -1245,6 +1246,47 @@ objects.")
1245 ;; safe side, we drop them for now. 1246 ;; safe side, we drop them for now.
1246 (license license:gpl2+))) 1247 (license license:gpl2+)))
1247 1248
1249(define-public gappa
1250 (package
1251 (name "gappa")
1252 (version "1.3.5")
1253 (source (origin
1254 (method url-fetch)
1255 (uri (string-append "https://gforge.inria.fr/frs/download.php/latestfile/"
1256 "2699/gappa-" version ".tar.gz"))
1257 (sha256
1258 (base32
1259 "0q1wdiwqj6fsbifaayb1zkp20bz8a1my81sqjsail577jmzwi07w"))))
1260 (build-system gnu-build-system)
1261 (inputs
1262 `(("boost" ,boost)
1263 ("gmp" ,gmp)
1264 ("mpfr" ,mpfr)))
1265 (arguments
1266 `(#:phases
1267 (modify-phases %standard-phases
1268 (add-after 'unpack 'patch-remake-shell
1269 (lambda _
1270 (substitute* "remake.cpp"
1271 (("/bin/sh") (which "sh")))
1272 #t))
1273 (replace 'build
1274 (lambda _ (invoke "./remake" "-s" "-d")))
1275 (replace 'install
1276 (lambda _ (invoke "./remake" "-s" "-d" "install")))
1277 (replace 'check
1278 (lambda _ (invoke "./remake" "check"))))))
1279 (home-page "http://gappa.gforge.inria.fr/")
1280 (synopsis "Proof generator for arithmetic properties")
1281 (description "Gappa is a tool intended to help verifying and formally
1282proving properties on numerical programs dealing with floating-point or
1283fixed-point arithmetic. It has been used to write robust floating-point
1284filters for CGAL and it is used to certify elementary functions in CRlibm.
1285While Gappa is intended to be used directly, it can also act as a backend
1286prover for the Why3 software verification platform or as an automatic tactic
1287for the Coq proof assistant.")
1288 (license (list license:gpl3+ license:cecill-c)))) ; either/or
1289
1248(define-public givaro 1290(define-public givaro
1249 (package 1291 (package
1250 (name "givaro") 1292 (name "givaro")