guix-commits
[Top][All Lists]
Advanced

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

57/88: gnu: ocaml4.02-uri: Don't use unstable tarball.


From: guix-commits
Subject: 57/88: gnu: ocaml4.02-uri: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 23:44:44 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e4bb29ddfab558dc9fdc28a4ac2b80bd1d65e5b5
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:13:29 2019 +0200

    gnu: ocaml4.02-uri: Don't use unstable tarball.
    
    * gnu/packages/ocaml.scm (ocaml4.02-uri)[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 3b44e7e..dd1b658 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3978,14 +3978,15 @@ JSON.")
   (package
     (name "ocaml4.02-uri")
     (version "1.9.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/mirage/ocaml-uri/archive/v";
-                                  version ".tar.gz"))
-              (sha256
-               (base32
-                "02bzrag79prx261rxf9mlak749pwf4flpfl8p012x1xznv9m0clc"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mirage/ocaml-uri.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "137pg8j654x7r0d1664iy2zp3l82nki1kkh921lwdrwc5qqdl6jx"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:ocaml ,ocaml-4.02



reply via email to

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