guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: ocaml-extlib: Don't use unstable tarball.


From: guix-commits
Subject: 01/04: gnu: ocaml-extlib: Don't use unstable tarball.
Date: Sun, 12 Jan 2020 23:24:40 -0500 (EST)

brettgilio pushed a commit to branch wip-ocaml4.09
in repository guix.

commit de166613344e0297112fb8c3f0dc293dccf24fcc
Author: Brett Gilio <address@hidden>
AuthorDate: Sun Jan 12 22:14:10 2020 -0600

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3253d02..fa0186e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -263,13 +263,16 @@ for building OCaml library and programs.")
   (package
     (name "ocaml-extlib")
     (version "1.7.6")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://ygrek.org.ua/p/release/ocaml-extlib/";
-                                  "extlib-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0wfs20v1yj5apdbj7214wdsr17ayh0qqq7ihidndvc8nmmwfa1dz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ygrek/ocaml-extlib.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0hv147mk9g0xnj11ansg40himlhr0pwmz10x33s5jk4n1b7nijci"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:phases



reply via email to

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