guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: javacc: Don't use unstable tarball.


From: guix-commits
Subject: 02/08: gnu: javacc: Don't use unstable tarball.
Date: Tue, 19 Feb 2019 22:50:11 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit ebf8048d1493b734e188cf5a1557002c961de319
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Feb 19 15:56:20 2019 +0100

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

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8a69510..9747569 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2268,19 +2268,20 @@ debugging, etc.")
   (package
     (inherit javacc-4)
     (version "7.0.4")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/javacc/javacc/";
-                                  "archive/" version ".tar.gz"))
-              (file-name (string-append "javacc-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0z7p9irwarc3avlcdyv9bd3zz57m1aawj8dr95wgxzg5z8fki8m6"))
-              (modules '((guix build utils)))
-              ;; Delete bundled jars.
-              (snippet '(begin (for-each delete-file-recursively
-                                         '("bootstrap" "lib"))
-                               #t))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/javacc/javacc.git";)
+             (commit version)))
+       (file-name (git-file-name "javacc" version))
+       (sha256
+        (base32 "18kkak3gda93gr25jrgy6q00g0jr8i24ri2wk4kybz1v234fxx9i"))
+       (modules '((guix build utils)))
+       ;; Delete bundled jars.
+       (snippet '(begin (for-each delete-file-recursively
+                                  '("bootstrap" "lib"))
+                        #t))))
     (arguments
      `(#:make-flags                     ; bootstrap from javacc-4
        (list (string-append "-Dbootstrap-jar="



reply via email to

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