Archived
1
0
Fork 0

gnu: coq-flocq: Update to 3.2.0.

* gnu/packages/coq.scm (coq-flocq): Update to 3.2.0.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[native-inputs]: Add autoconf and automake for remake.
[arguments]: Add remove-failing-examples phase to work around union error.
This commit is contained in:
Brett Gilio 2020-01-06 01:35:55 -06:00
parent a5727da96a
commit 346825571c
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -21,6 +21,7 @@
(define-module (gnu packages coq) (define-module (gnu packages coq)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
@ -207,18 +208,22 @@ provers.")
(define-public coq-flocq (define-public coq-flocq
(package (package
(name "coq-flocq") (name "coq-flocq")
(version "3.1.0") (version "3.2.0")
(source (origin (source
(method url-fetch) (origin
;; Use the Latest version link for a stable URI across releases. (method git-fetch)
(uri (string-append "https://gforge.inria.fr/frs/download.php/" (uri (git-reference
"file/37901/flocq-" version ".tar.gz")) (url "https://gitlab.inria.fr/flocq/flocq.git")
(sha256 (commit (string-append "flocq-" version))))
(base32 (file-name (git-file-name name version))
"02szrgz9m0ac51la1lqpiv6i2g0zbgx9gz5rp0q1g00ajldyna5c")))) (sha256
(base32
"15bi36x7zj0glsb3s2gwqd4wswhfzh36rbp7imbyff53a7nna95l"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("ocaml" ,ocaml) `(("autoconf" ,autoconf)
("automake" ,automake)
("ocaml" ,ocaml)
("which" ,which) ("which" ,which)
("coq" ,coq))) ("coq" ,coq)))
(arguments (arguments
@ -227,6 +232,12 @@ provers.")
"/lib/coq/user-contrib/Flocq")) "/lib/coq/user-contrib/Flocq"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'remove-failing-examples
(lambda _
(substitute* "Remakefile.in"
;; Fails on a union error.
(("Double_rounding_odd_radix.v") ""))
#t))
(add-before 'configure 'fix-remake (add-before 'configure 'fix-remake
(lambda _ (lambda _
(substitute* "remake.cpp" (substitute* "remake.cpp"