gnu: proof-general: Update to 4.5@cb23709a.

* gnu/packages/coq.scm (proof-general): Update to 4.5@cb23709a.

Change-Id: Ieb33d8a0effa4c010d1f2488e166cd0647240180
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Arnaud Daby-Seesaram 2024-06-18 11:08:44 +02:00 committed by Christopher Baines
parent da3e71f472
commit b594c2b154
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -129,14 +129,14 @@ (define-public coq-ide
(list lablgtk3 ocaml-lablgtk3-sourceview3)))) (list lablgtk3 ocaml-lablgtk3-sourceview3))))
(define-public proof-general (define-public proof-general
;; The latest release is from 2016 and there has been more than 450 commits ;; The latest release is from 2022 and there has been more than 100 commits
;; since then. ;; since then.
;; Commit from 2021-11-25. ;; Commit from 2024-04-29.
(let ((commit "1b1083e86e0cddc20ff2f1a6b25c7a7eee2edf02") (let ((commit "cb23709ad0c9a9ca0ee48b3ee73c29caea243b98")
(revision "1")) (revision "1"))
(package (package
(name "proof-general") (name "proof-general")
(version (git-version "4.4" revision commit)) (version (git-version "4.5" revision commit))
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -145,7 +145,7 @@ (define-public proof-general
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1pnysczhscapgwmvf6ix7f31lf3hnh8h977bfll1m7jlxl9b9c0j")))) "1spd8rz95s1x91i4lbbb6zabb8014fihx6ai6pgad1nwyr0y9bir"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("emacs" ,emacs-minimal) `(("emacs" ,emacs-minimal)
@ -170,6 +170,12 @@ (define-public proof-general
(substitute* "Makefile" (substitute* "Makefile"
(("\\(setq byte-compile-error-on-warn t\\)") (("\\(setq byte-compile-error-on-warn t\\)")
"(setq byte-compile-error-on-warn nil)")))) "(setq byte-compile-error-on-warn nil)"))))
(add-after 'unpack 'modify-readme-name
;; The README file is called "README.md", but the Make variable
;; "DOC_FILES" still refers to "README".
(lambda _
(substitute* "Makefile"
(("README") "README.md"))))
(add-after 'unpack 'patch-hardcoded-paths (add-after 'unpack 'patch-hardcoded-paths
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"