guix-commits
[Top][All Lists]
Advanced

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

06/09: gnu: websockify: Don't use unstable tarball.


From: guix-commits
Subject: 06/09: gnu: websockify: Don't use unstable tarball.
Date: Mon, 11 Feb 2019 20:34:51 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 34920d2adf3b55179b959401f76f7fe093b60377
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Feb 10 21:36:23 2019 +0100

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

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index c591ea0..5f95fa3 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -993,13 +993,14 @@ of people.")
     (name "websockify")
     (version "0.8.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/novnc/websockify/archive/v";
-                                  version "/archive.tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/novnc/websockify.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
+                "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
     (build-system python-build-system)
     (arguments
      `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No 
module



reply via email to

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