gnu: erlang: Update to 27.1.

* gnu/packages/erlang.scm (erlang): Update to 27.1.
[native-inputs]: Fetch recent erlang-manpages.

Change-Id: I30b810fe900160c269a7c84e2a6860f630c988ad
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Igor Goryachev via Guix-patches via 2024-09-19 19:39:10 +03:00 committed by Andrew Tropin
parent 75824be1ac
commit d600adbca6
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -49,7 +49,7 @@ (define-module (gnu packages erlang)
(define-public erlang
(package
(name "erlang")
(version "27.0.1")
(version "27.1")
(source (origin
(method git-fetch)
;; The tarball from http://erlang.org/download contains many
@ -61,25 +61,20 @@ (define-public erlang
(file-name (git-file-name name version))
(sha256
(base32
"1gzlvbbc1zm87910pnhi94mcpag1zxylhy7m2g4vhlmclyir7gd1"))
"099m8z5f9mq6hqv75hv73iydzmnpylcagss4ysrk9xg732xqcawb"))
(patches (search-patches "erlang-man-path.patch"))))
(build-system gnu-build-system)
(native-inputs
`(("perl" ,perl)
;; Erlang's documentation is distributed in a separate tarball.
("erlang-manpages"
;; Manpages tarball is not released for 27.0.1, so we take it from the
;; previous version. Details:
;; https://erlangforums.com/t/patch-package-otp-27-0-1-released/3824/4
,(let ((version "27.0"))
(origin
(method url-fetch)
(uri (string-append "https://github.com/erlang/otp/releases/download"
"/OTP-" version "/otp_doc_man_" version ".tar.gz"))
(sha256
(base32
"0f3w2152090860aci4a38d1bd19c5sslbwadwxc7sjza487fm8lm")))))))
,(origin
(method url-fetch)
(uri (string-append "https://github.com/erlang/otp/releases/download"
"/OTP-" version "/otp_doc_man_" version ".tar.gz"))
(sha256
(base32
"1d4v664z9z4d8sfp9304kflgmymbl74hcgjpbcqkbhzwcjk8jrn0"))))))
(inputs
(list ncurses openssl wxwidgets))
(propagated-inputs