guix-commits
[Top][All Lists]
Advanced

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

04/12: gnu: camlp5: Don't use unstable tarball.


From: guix-commits
Subject: 04/12: gnu: camlp5: Don't use unstable tarball.
Date: Sun, 14 Apr 2019 23:18:52 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6aade73967c321b8c8818b63728708e20cd122bc
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:09:54 2019 +0200

    gnu: camlp5: Don't use unstable tarball.
    
    * gnu/packages/ocaml.scm (camlp5)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/ocaml.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 2a2a052..a565b2e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -647,14 +647,15 @@ syntax of OCaml.")
   (package
     (name "camlp5")
     (version "7.07")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/camlp5/camlp5/archive/rel";
-                                  (string-delete #\. version) ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "148r6p93xlxi6v7kbsqv8i70r6av04cyn0109pwss5xj6fw97i52"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/camlp5/camlp5.git";)
+             (commit (string-append "rel" (string-delete #\. version)))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1c8v45553ccbqha2ypfranqlgw06rr5wjr2hlnrx5bf9jfq0h0dn"))))
     (build-system gnu-build-system)
     (inputs
      `(("ocaml" ,ocaml)))



reply via email to

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