gnu: coq: Update to 8.10.2.

* gnu/packages/coq.scm (coq): Update to 8.10.2.
[inputs]: Replace lablgtk with lablgtk3.
[arguments]: Remove remove-lablgtk-references phase, as it no longer appears
to be necessary.
This commit is contained in:
Brett Gilio 2020-01-06 01:32:09 -06:00
parent d977e24364
commit 1ac4004502
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -44,7 +44,7 @@ (define-module (gnu packages coq)
(define-public coq
(package
(name "coq")
(version "8.9.1")
(version "8.10.2")
(source
(origin
(method git-fetch)
@ -53,7 +53,8 @@ (define-public coq
(commit (string-append "V" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1p4z967s18wkblayv12ygqsrqlyk5ax1pz40yf4kag8pva6gblhk"))))
(base32
"0ji2rzd70b3hcwfw97qk7rv3m2977ylqnq82l1555dp3njr8nm3q"))))
(native-search-paths
(list (search-path-specification
(variable "COQPATH")
@ -61,7 +62,7 @@ (define-public coq
(build-system ocaml-build-system)
(outputs '("out" "ide"))
(inputs
`(("lablgtk" ,lablgtk)
`(("lablgtk" ,lablgtk3)
("python" ,python-2)
("camlp5" ,camlp5)
("ocaml-num" ,ocaml-num)))
@ -74,13 +75,6 @@ (define-public coq
(lambda _
(for-each make-file-writable (find-files "."))
#t))
(add-after 'unpack 'remove-lablgtk-references
(lambda _
;; This is not used anywhere, but creates a reference to lablgtk in
;; every binary
(substitute* '("config/coq_config.mli" "configure.ml")
((".*coqideincl.*") ""))
#t))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))