guix-commits
[Top][All Lists]
Advanced

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

63/88: gnu: ocaml-utop: Don't use unstable tarball.


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

nckx pushed a commit to branch master
in repository guix.

commit 7848205b24ac2f700216c03707fea725bfb614d9
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:14:31 2019 +0200

    gnu: ocaml-utop: Don't use unstable tarball.
    
    * gnu/packages/ocaml.scm (ocaml-utop)[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 a409b70..789c828 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4443,14 +4443,15 @@ instead of bindings to a C library.")
   (package
     (name "ocaml-utop")
     (version "2.2.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/ocaml-community/utop/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "1414snwmqaxs1x8wbpjf6fn3jsl01hq0phrr7639xmb5vh15mgd4"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ocaml-community/utop.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "02hjkc0rdzfq3bqy9mqm5wmw312r3187v9cl66ynb6hxkj6s3glb"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"



reply via email to

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