diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-11-24 19:27:33 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-11-25 14:08:30 +0200 |
commit | 898ac8e732cca10bde0717aac5b8255fe6a331ee (patch) | |
tree | b686afc11937433df946857b49324602625bb4cf /gnu/packages/compression.scm | |
parent | d40362f4258e835131ac95930440ef711ca1e78c (diff) | |
download | patches-898ac8e732cca10bde0717aac5b8255fe6a331ee.tar patches-898ac8e732cca10bde0717aac5b8255fe6a331ee.tar.gz |
gnu: snappy: Don't use unstable tarball.
* gnu/packages/compression.scm (snappy)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 326b0a42e5..cb1ababca2 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 |