guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: yosys: Don't use unstable tarball.


From: Tobias Geerinckx-Rice
Subject: 06/07: gnu: yosys: Don't use unstable tarball.
Date: Tue, 30 Oct 2018 20:48:57 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 21fc352bad21c786ad334edc78fadf74c9a9bb0f
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Oct 30 23:06:28 2018 +0100

    gnu: yosys: Don't use unstable tarball.
    
    * gnu/packages/fpga.scm (yosys)[source]: Use GIT-FETCH and GIT-FILE-NAME.
---
 gnu/packages/fpga.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index c9454aa..9ab2e35 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -121,14 +121,15 @@ For synthesis, the compiler generates netlists in the 
desired format.")
     (name "yosys")
     (version "0.7")
     (source (origin
-              (method url-fetch)
-              (uri
-               (string-append "https://github.com/cliffordwolf/yosys/archive/";
-                              name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/cliffordwolf/yosys.git";)
+                    (commit (string-append "yosys-" version))
+                    (recursive? #t))) ; for the ‘iverilog’ submodule
               (sha256
                 (base32
-                   "0vkfdn4phvkjqlnpqlr6q5f97bgjc3312vj5jf0vf85zqv88dy9x"))
-              (file-name (string-append name "-" version "-checkout.tar.gz"))
+                   "1ssrpgw0j9qlm52g1hsbb9fsww4vnwi0l7zvvky7a8w7wamddky0"))
+              (file-name (git-file-name name version))
               (modules '((guix build utils)))
               (snippet
                '(begin



reply via email to

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