summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorCees de Groot <cg@evrl.com>2021-07-11 15:35:40 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-07-13 12:46:08 +0300
commit11c832a7f4d0202a5a0d3d1b47f3f0f64d6e17c0 (patch)
tree51861e610f1a4d8fbdf0b8e3337fc657fafab154 /gnu
parent6577fda97308ae6f6f0c44019e4634875f10bb09 (diff)
downloadguix-11c832a7f4d0202a5a0d3d1b47f3f0f64d6e17c0.tar.gz
gnu: erlang: Update to 24.0.2.
* gnu/packages/erlang.scm (erlang): Update to 24.0.2.
[arguments]: Adjust custom 'install-doc phase for changes in manpage
input.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/erlang.scm14
1 files changed, 5 insertions, 9 deletions
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index d52d5c3983..35262b9045 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Nikita <nikita@n0.is>
 ;;; Copyright © 2021 Oskar Köök <oskar@maatriks.ee>
+;;; Copyright © 2021 Cees de Groot <cg@evrl.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -41,7 +42,7 @@
 (define-public erlang
   (package
     (name "erlang")
-    (version "23.2.1")
+    (version "24.0.2")
     (source (origin
               (method git-fetch)
               ;; The tarball from http://erlang.org/download contains many
@@ -53,7 +54,7 @@
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1p3lw4bcm2dph3pf1h4i0d9pzrcfr83r0iadqanxkwbmm1bl11pm"))
+                "06plnhi1489wqsag5wgm16hb1xd1a8nbnb9gw7635d3fidxyb0wp"))
               (patches (search-patches "erlang-man-path.patch"))))
     (build-system gnu-build-system)
     (native-inputs
@@ -69,7 +70,7 @@
                                (version-major+minor version) ".tar.gz"))
            (sha256
             (base32
-             "0rq0rw68f02vckgdiwmvx8bvyv00l81s27cq59i3h79j9prfal2n"))))))
+             "1c9ccp93pmm54mmvpiyrmj8v00pq11a60c4xv220k97i965zkwsg"))))))
     (inputs
      `(("ncurses" ,ncurses)
        ("openssl" ,openssl)
@@ -202,13 +203,8 @@
                     (manpages (assoc-ref inputs "erlang-manpages"))
                     (share (string-append out "/share/")))
                (mkdir-p share)
-               (mkdir-p (string-append share "/misc/erlang"))
                (with-directory-excursion share
-                 (invoke "tar" "xvf" manpages)
-                 (rename-file "COPYRIGHT"
-                              (string-append share "/misc/erlang/COPYRIGHT"))
-                 ;; Delete superfluous file.
-                 (delete-file "PR.template"))
+                 (invoke "tar" "xvf" manpages))
                #t))))))
     (home-page "https://www.erlang.org/")
     (synopsis "The Erlang programming language")