guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: ocaml-lwt: Don't use unstable tarball.


From: guix-commits
Subject: 01/03: gnu: ocaml-lwt: Don't use unstable tarball.
Date: Tue, 28 Jan 2020 04:25:37 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 8684575a88fc19d6b421af46d19fa64e1bf613fa
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Jan 28 10:49:02 2020 +0200

    gnu: ocaml-lwt: Don't use unstable tarball.
    
    * gnu/packages/ocaml.scm (ocaml-lwt)[source]: Download using git-fetch.
---
 gnu/packages/ocaml.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index df998af..a8fdd00 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1784,12 +1784,13 @@ for mapping files in memory.  This function is the same 
as the
     (version "5.1.1")
     (source
       (origin
-        (method url-fetch)
-        (uri (string-append "https://github.com/ocsigen/lwt/archive/"; version
-                            ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/ocsigen/lwt";)
+               (commit version)))
+        (file-name (git-file-name name version))
         (sha256 (base32
-                  "0gwdmhn0qx03agc45dplj73ia5y1gb42aan64ywfxmll3lsnr2h7"))))
+                 "1nl7rdnwfdhwcsm5zpay1nr9y5cbapd9x1qzily7zk9ab4v52m8g"))))
     (build-system dune-build-system)
     (arguments
      `(#:package "lwt"))



reply via email to

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