gnu: coq-equations: Update to 1.2.1.

* gnu/packages/coq.scm (coq-equations): Update to 1.2.1.
[arguments]: Replace configure phase to run configure shell script. Remove
redundant COQLIB.
This commit is contained in:
Brett Gilio 2020-01-06 02:20:41 -06:00
parent 8f1216552c
commit cd5406effa
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -549,16 +549,16 @@ (define-public coq-autosubst
(define-public coq-equations
(package
(name "coq-equations")
(version "1.2")
(version "1.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattam82/Coq-Equations.git")
(commit (string-append "v" version "-8.9"))))
(commit (string-append "v" version "-8.10"))))
(file-name (git-file-name name version))
(sha256
(base32
"1q3wvicr43bgy7xn1diwh4j43mnrhprrc2xd22qlbz9cl6bhf8bj"))))
"023q5dww3drw35dm9bi9p9d0wrj9k7vax7hfdsprf8l340pb4s0k"))))
(build-system gnu-build-system)
(native-inputs
`(("ocaml" ,ocaml)
@ -570,10 +570,9 @@ (define-public coq-equations
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(invoke "coq_makefile" "-f" "_CoqProject" "-o" "Makefile")))
(invoke "sh" "./configure.sh")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(setenv "COQLIB" (string-append (assoc-ref outputs "out") "/lib/coq/"))
(invoke "make"
(string-append "COQLIB=" (assoc-ref outputs "out")
"/lib/coq/")