guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: ubridge: Don't use unstable tarball.


From: guix-commits
Subject: 04/07: gnu: ubridge: Don't use unstable tarball.
Date: Wed, 15 May 2019 15:25:43 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5af7428b796ae4da9a35453f2ba03108673178ac
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed May 15 20:53:27 2019 +0200

    gnu: ubridge: Don't use unstable tarball.
    
    * gnu/packages/networking.scm (ubridge)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/networking.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 2ec3f37..4481373 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2218,21 +2218,22 @@ SNMP v3 using both IPv4 and IPv6.")
   (package
     (name "ubridge")
     (version "0.9.15")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/GNS3/ubridge/archive/v";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0nmj37s7wvl7c36qbdv33rk9fyniwfk73qwb61ingni5siw67mr3"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/GNS3/ubridge.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0fl07zyall04map6v2l1bclqh8y3rrhsx61s2v0sr8b00j201jg4"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f ;no tests
+     `(#:tests? #f                      ; no tests
        #:make-flags '("CC=gcc")
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure)
+         (delete 'configure)            ; no configure script
          (add-before 'install 'set-bindir
            (lambda* (#:key  inputs outputs #:allow-other-keys)
              (let ((bin (string-append (assoc-ref outputs "out")



reply via email to

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