guix-commits
[Top][All Lists]
Advanced

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

02/06: gnu: gdsl: Replace 'url-fetch' by 'git-fetch'.


From: guix-commits
Subject: 02/06: gnu: gdsl: Replace 'url-fetch' by 'git-fetch'.
Date: Mon, 21 Sep 2020 17:38:09 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 74cb33c22818b25d1b9c6d576352fc8249832d34
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Tue Sep 15 16:03:43 2020 +0200

    gnu: gdsl: Replace 'url-fetch' by 'git-fetch'.
    
    Fixes <https://debbugs.gnu.org/25913>.
    
    * gnu/packages/datastructures.scm (gdsl)[source]: Replace 'url-fetch' by
    'git-fetch'.
    [home-page]: Update.
    
    Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/datastructures.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index 3203f91..cd4126b 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -37,14 +37,16 @@
     (name "gdsl")
     (version "1.8")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "http://download.gna.org/gdsl/";
-                                  "gdsl-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://example.org";) ;only hosted on Software 
Heritage
+                    (commit "6adb53be8b8f9f2e4bbfc92d357eedeefb4c7430")))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1v64jvlnj8jfpphphgjgb36p0kv50kwfyqncf0y12f16v8ydyiaw"))))
+                "0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0"))))
     (build-system gnu-build-system)
-    (home-page "http://home.gna.org/gdsl/";)
+    (home-page 
"https://web.archive.org/web/20170502005430/http://home.gna.org/gdsl/";)
     (synopsis "Generic data structures library")
     (description "The Generic Data Structures Library (GDSL) is a collection
 of routines for generic data structures manipulation.  It is a re-entrant



reply via email to

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