summary refs log tree commit diff
path: root/gnu/packages/iso-codes.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-11-08 20:16:28 +0100
committerMarius Bakke <marius@gnu.org>2020-11-09 22:08:10 +0100
commit486512dcec484e0f6903e288a2eb1bb15ac585bb (patch)
tree2ea14fe5663eed4fae9dbaf04e707566b507cbca /gnu/packages/iso-codes.scm
parent1564d1fd96dd956ca4315516329392073d1ee375 (diff)
downloadguix-486512dcec484e0f6903e288a2eb1bb15ac585bb.tar.gz
gnu: iso-codes: Update to 4.5.0.
* gnu/packages/iso-codes.scm (iso-codes): Update to 4.5.0.
Diffstat (limited to 'gnu/packages/iso-codes.scm')
-rw-r--r--gnu/packages/iso-codes.scm16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 4a009c3159..637390d734 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -22,6 +22,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (gnu packages gettext)
@@ -31,21 +32,22 @@
 (define-public iso-codes
   (package
     (name "iso-codes")
-    (version "3.77")
+    (version "4.5.0")
+    (home-page "https://salsa.debian.org/iso-codes-team/iso-codes")
     (source (origin
-             (method url-fetch)
-             (uri (string-append
-                   "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-"
-                   version ".tar.xz"))
+             (method git-fetch)
+             (uri (git-reference
+                   (url home-page)
+                   (commit (string-append "iso-codes-" version))))
+             (file-name (git-file-name name version))
              (sha256
               (base32
-               "140dgygv22a49xb8x1941xr5ff12cphd9zzwxds98pgrqsj77k91"))))
+               "1q6x9c5x4x0x4q11iygldsmxdyzhz1mb4n8im76glwsgqsqyjs80"))))
     (build-system gnu-build-system)
     (inputs
      `(("gettext" ,gettext-minimal)
        ("perl" ,perl)
        ("python" ,python-wrapper)))
-    (home-page "https://salsa.debian.org/iso-codes-team/iso-codes")
     (synopsis "Various ISO standards")
     (description
      "This package provides lists of various ISO standards (e.g. country,