guix-commits
[Top][All Lists]
Advanced

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

10/19: gnu: snappy: Don't use unstable tarball.


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

efraim pushed a commit to branch master
in repository guix.

commit 898ac8e732cca10bde0717aac5b8255fe6a331ee
Author: Efraim Flashner <address@hidden>
Date:   Sun Nov 24 19:27:33 2019 +0200

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

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 326b0a4..cb1abab 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1107,12 +1107,13 @@ well as bzip2.")
     (version "1.1.7")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/google/snappy/archive/";
-                           version ".tar.gz"))
-       (file-name (string-append "snappy-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/google/snappy.git";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))
+        (base32 "1x7r8sjmdqlqjz0xfiwdyrqpgaj5yrvrgb28ivgpvnxgar5qv6m2"))
        (patches (search-patches 
"snappy-add-O2-flag-in-CmakeLists.txt.patch"))))
     (build-system cmake-build-system)
     (arguments



reply via email to

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