gnu: lean: Update to 3.51.1.
* gnu/packages/lean.scm (lean): Update to 3.51.1. [home-page]: Use new home page. [arguments]<#:phases>: Remove stale phase 'patch-tests-shebangs'. [inputs]: Remove bash-minimal. Change-Id: Ib90a124b4a6b06fb30223ad4b9254249e56dd086 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
parent
f1bcc043a4
commit
46ec8592f7
|
@ -40,19 +40,20 @@
|
||||||
(define-public lean
|
(define-public lean
|
||||||
(package
|
(package
|
||||||
(name "lean")
|
(name "lean")
|
||||||
(version "3.41.0")
|
(version "3.51.1")
|
||||||
(home-page "https://github.com/leanprover-community/lean")
|
(home-page "https://lean-lang.org" )
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference (url home-page)
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/leanprover-community/lean")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0mpxlfjq460x1vi3v6qzgjv74asg0qlhykd51pj347795x5b1hf1"))))
|
"17g4d3lqnbl1yfy2pjannf73v8qhc5003d2jkmrqiy05zkqs8d9n"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal gmp))
|
(list gmp))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:build-type "Release" ; default upstream build type
|
#:build-type "Release" ; default upstream build type
|
||||||
|
@ -65,17 +66,6 @@
|
||||||
(string-prefix? "armhf" arch)))))
|
(string-prefix? "armhf" arch)))))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'patch-source-shebangs 'patch-tests-shebangs
|
|
||||||
(lambda _
|
|
||||||
(let ((sh (which "sh"))
|
|
||||||
(bash (which "bash")))
|
|
||||||
(substitute* (find-files "tests/lean" "\\.sh$")
|
|
||||||
(("#![[:blank:]]?/bin/sh")
|
|
||||||
(string-append "#!" sh))
|
|
||||||
(("#![[:blank:]]?/bin/bash")
|
|
||||||
(string-append "#!" bash))
|
|
||||||
(("#![[:blank:]]?usr/bin/env bash")
|
|
||||||
(string-append "#!" bash))))))
|
|
||||||
(add-before 'configure 'chdir-to-src
|
(add-before 'configure 'chdir-to-src
|
||||||
(lambda _ (chdir "src"))))))
|
(lambda _ (chdir "src"))))))
|
||||||
(synopsis "Theorem prover and programming language")
|
(synopsis "Theorem prover and programming language")
|
||||||
|
|
Reference in New Issue