guix-commits
[Top][All Lists]
Advanced

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

54/88: gnu: ocaml-seq: Don't use unstable tarball.


From: guix-commits
Subject: 54/88: gnu: ocaml-seq: 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 f6a99fbfa22f45ba8f1f9e13b45bc5017138243e
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:13:06 2019 +0200

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d7b2eee..5272d9f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3508,14 +3508,15 @@ new record values.")
   (package
     (name "ocaml-seq")
     (version "0.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/c-cube/seq/archive/";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "02lb2d9i12bxrz2ba5wygk2bycan316skqlyri0597q7j9210g8r"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/c-cube/seq.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1cjpsc7q76yfgq9iyvswxgic4kfq2vcqdlmxjdjgd4lx87zvcwrv"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:tests? #f
@@ -3534,9 +3535,9 @@ new record values.")
 version=\"[distributed with ocaml]\"
 description=\"dummy package for compatibility\"
 requires=\"\"")))
-             #t))))))
+               #t))))))
     (properties
-      `((ocaml4.02-variant . ,(delay ocaml4.02-seq))))
+     `((ocaml4.02-variant . ,(delay ocaml4.02-seq))))
     (home-page "https://github.com/c-cube/seq";)
     (synopsis "OCaml's standard iterator type")
     (description "This package is a compatibility package for OCaml's



reply via email to

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