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