guix-commits
[Top][All Lists]
Advanced

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

50/88: gnu: ocaml-ppx-tools: Don't use unstable tarball.


From: guix-commits
Subject: 50/88: gnu: ocaml-ppx-tools: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 23:44:43 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit ef59cf9d3bf64086fda1b0fe205210e9a36d60a0
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:10:20 2019 +0200

    gnu: ocaml-ppx-tools: Don't use unstable tarball.
    
    * gnu/packages/ocaml.scm (ocaml-ppx-tools)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
    Fix indentation.
---
 gnu/packages/ocaml.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 338dbb8..0d5ec46 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1948,18 +1948,19 @@ simple (yet expressive) query language to select the 
tests to run.")
     (name "ocaml-ppx-tools")
     (version "5.1+4.06.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/alainfrisch/ppx_tools/archive/";
-                            version ".tar.gz"))
-        (sha256 (base32
-                  "0mncpy9v2mcjgnj7s2vqpp2b1ixv54djicfx66ic9wny9d202gj1"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/alainfrisch/ppx_tools.git";)
+             (commit version)))
+       (sha256 (base32
+                "1ww4cspdpgjjsgiv71s0im5yjkr3544x96wsq1vpdacq7dr7zwiw"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases (delete 'configure))
        #:tests? #f))
     (properties
-      `((ocaml4.02-variant . ,(delay ocaml4.02-ppx-tools))))
+     `((ocaml4.02-variant . ,(delay ocaml4.02-ppx-tools))))
     (home-page "https://github.com/alainfrisch/ppx_tools";)
     (synopsis "Tools for authors of ppx rewriters and other syntactic tools")
     (description "Tools for authors of ppx rewriters and other syntactic 
tools.")



reply via email to

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