guix-commits
[Top][All Lists]
Advanced

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

10/17: gnu: sonic: Don't use unstable tarball.


From: guix-commits
Subject: 10/17: gnu: sonic: Don't use unstable tarball.
Date: Wed, 13 Nov 2019 16:08:51 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 520cca28ee782065ecfff35efee460ab7d00a699
Author: Efraim Flashner <address@hidden>
Date:   Wed Nov 13 22:07:52 2019 +0200

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

diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
index 38ae8ae..21ad6f8 100644
--- a/gnu/packages/speech.scm
+++ b/gnu/packages/speech.scm
@@ -25,6 +25,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
@@ -199,13 +200,14 @@ stable and well documented interface.")
     (name "sonic")
     (version "0.2.0")
     (source (origin
-             (method url-fetch)
-             (uri (string-append 
"https://github.com/waywardgeek/sonic/archive/";
-                                 "release-" version ".tar.gz"))
-             (file-name (string-append name "-" version ".tar.gz"))
+             (method git-fetch)
+             (uri (git-reference
+                    (url "https://github.com/waywardgeek/sonic";)
+                    (commit (string-append "release-" version))))
+             (file-name (git-file-name name version))
              (sha256
               (base32
-               "11a0q9wkgbb9ymf52v7dvybfhj8hprgr67zs1xcng143fvjpr0n7"))))
+               "08xwnpw9cnaix1n1i7gvpq5hrfrqc2z1snjhjapfam506hrc77g4"))))
     (build-system gnu-build-system)
     (arguments
       `(#:tests? #f ; No test suite.



reply via email to

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