guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: iso-codes: Update to 4.5.0.


From: guix-commits
Subject: 02/03: gnu: iso-codes: Update to 4.5.0.
Date: Mon, 9 Nov 2020 16:10:06 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit 486512dcec484e0f6903e288a2eb1bb15ac585bb
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Nov 8 20:16:28 2020 +0100

    gnu: iso-codes: Update to 4.5.0.
    
    * gnu/packages/iso-codes.scm (iso-codes): Update to 4.5.0.
---
 gnu/packages/iso-codes.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 4a009c3..637390d 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]