guix-commits
[Top][All Lists]
Advanced

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

07/19: gnu: sparsehash: Don't use unstable tarball.


From: guix-commits
Subject: 07/19: gnu: sparsehash: Don't use unstable tarball.
Date: Mon, 25 Nov 2019 07:08:54 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit fea30e12f7b0810c90b278127a7d3c75ef59cec7
Author: Efraim Flashner <address@hidden>
Date:   Sun Nov 24 19:16:50 2019 +0200

    gnu: sparsehash: Don't use unstable tarball.
    
    * gnu/packages/datastructures.scm (sparsehash)[source]: Download using
    git-fetch.
---
 gnu/packages/datastructures.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index dabb1f4..7eab65f 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2015, 2016, 2019 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2016, 2017, 2019 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Meiyo Peng <address@hidden>
+;;; Copyright © 2019 Efraim Flashner <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -80,12 +81,14 @@ library.")
     (name "sparsehash")
     (version "2.0.3")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/sparsehash/sparsehash/";
-                                  "archive/sparsehash-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/sparsehash/sparsehash.git";)
+                     (commit (string-append name "-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "133szz0ldwch0kd91l0sa57qsnl020njn622szd9cxrjqyjqds85"))))
+                "0m3f0cnpnpf6aak52wn8xbrrdw8p0yhq8csgc8nlvf9zp8c402na"))))
     (build-system gnu-build-system)
     (synopsis "Memory-efficient hashtable implementations")
     (description



reply via email to

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