guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: ocaml-result: Update to 1.3.


From: guix-commits
Subject: 02/07: gnu: ocaml-result: Update to 1.3.
Date: Fri, 26 Apr 2019 12:29:44 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 22cd6a1d4f81c2e92e92d5fe5c244cd895b046c6
Author: Julien Lepiller <address@hidden>
Date:   Fri Apr 26 17:40:37 2019 +0200

    gnu: ocaml-result: Update to 1.3.
    
    * gnu/packages/ocaml.scm (ocaml-result): Update to 1.3.
    [build-system]: Use dune-build-system.
    [source]: Use git-fetch.
---
 gnu/packages/ocaml.scm | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d710576..b6df414 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1428,21 +1428,19 @@ powerful.")
 (define-public ocaml-result
   (package
     (name "ocaml-result")
-    (version "1.2")
+    (version "1.3")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/janestreet/result";
-                                  "/archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/janestreet/result";)
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1pgpfsgvhxnh0i37fkvp9j8nadns9hz9iqgabj4dr519j2gr1xvw"))))
-    (build-system ocaml-build-system)
+                "081ayblszn9pj2rqcif40x6cz2zda48vi45gy49rc2qfc4gszry3"))))
+    (build-system dune-build-system)
     (arguments
-     `(#:tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))))
+     `(#:test-target "."))
     (home-page "https://github.com/janestreet/result";)
     (synopsis "Compatibility Result module")
     (description "Uses the new result type defined in OCaml >= 4.03 while



reply via email to

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