mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: why3: Use new style.
* gnu/packages/maths.scm (why3): Use new style and move arguments above input fields. Change-Id: Ia9cb04cafe426d7f20c5efb10ca540572dbd3be9 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
05d4190587
commit
e6413c6f51
1 changed files with 34 additions and 29 deletions
|
@ -9497,15 +9497,9 @@ numeric differences and differences in numeric formats.")
|
||||||
(base32
|
(base32
|
||||||
"0fq8wg8ji2v2ssz1d681glmk8glps1irnmdlhqfklaggx01hlf4p"))))
|
"0fq8wg8ji2v2ssz1d681glmk8glps1irnmdlhqfklaggx01hlf4p"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system ocaml-build-system)
|
||||||
(native-inputs
|
|
||||||
(list autoconf automake coq ocaml which))
|
|
||||||
(propagated-inputs
|
|
||||||
(list camlzip ocaml-graph ocaml-menhir ocaml-num ocaml-zarith))
|
|
||||||
(inputs
|
|
||||||
(list coq-flocq emacs-minimal zlib))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list #:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'configure 'bootstrap
|
(add-before 'configure 'bootstrap
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "./autogen.sh")
|
(invoke "./autogen.sh")
|
||||||
|
@ -9514,19 +9508,30 @@ numeric differences and differences in numeric formats.")
|
||||||
(("#! /bin/sh") (string-append "#!" (which "sh")))
|
(("#! /bin/sh") (string-append "#!" (which "sh")))
|
||||||
;; find ocaml-num in the correct directory
|
;; find ocaml-num in the correct directory
|
||||||
(("\\$DIR/nums.cma") "$DIR/num.cma")
|
(("\\$DIR/nums.cma") "$DIR/num.cma")
|
||||||
(("\\$DIR/num.cmi") "$DIR/core/num.cmi"))
|
(("\\$DIR/num.cmi") "$DIR/core/num.cmi"))))
|
||||||
#t))
|
|
||||||
(add-after 'configure 'fix-makefile
|
(add-after 'configure 'fix-makefile
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
;; find ocaml-num in the correct directory
|
;; find ocaml-num in the correct directory
|
||||||
(("site-lib/num") "site-lib"))
|
(("site-lib/num") "site-lib"))))
|
||||||
#t))
|
|
||||||
(add-after 'install 'install-lib
|
(add-after 'install 'install-lib
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make" "byte")
|
(invoke "make" "byte")
|
||||||
(invoke "make" "install-lib")
|
(invoke "make" "install-lib"))))))
|
||||||
#t)))))
|
(native-inputs (list autoconf
|
||||||
|
automake
|
||||||
|
coq
|
||||||
|
ocaml
|
||||||
|
ocaml-findlib
|
||||||
|
which))
|
||||||
|
(propagated-inputs (list camlzip
|
||||||
|
ocaml-graph
|
||||||
|
ocaml-menhir
|
||||||
|
ocaml-num
|
||||||
|
ocaml-zarith))
|
||||||
|
(inputs (list coq-flocq
|
||||||
|
emacs-minimal
|
||||||
|
zlib))
|
||||||
(home-page "https://why3.lri.fr")
|
(home-page "https://why3.lri.fr")
|
||||||
(synopsis "Deductive program verification")
|
(synopsis "Deductive program verification")
|
||||||
(description "Why3 provides a language for specification and programming,
|
(description "Why3 provides a language for specification and programming,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue