guix-commits
[Top][All Lists]
Advanced

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

01/02: nu: Add ocaml-lwt-react.


From: guix-commits
Subject: 01/02: nu: Add ocaml-lwt-react.
Date: Tue, 21 Jan 2020 19:11:21 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit d77310cc3f6626baf2a11a8a8c6e4b7730c2f1b2
Author: Julien Lepiller <address@hidden>
AuthorDate: Wed Jan 22 01:08:19 2020 +0100

    nu: Add ocaml-lwt-react.
    
    * gnu/packages/ocaml.scm (ocaml-lwt-react): New variable.
---
 gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 31e200f..b51dc3b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1794,6 +1794,28 @@ process.  Also, in many cases, Lwt threads can interact 
without the need for
 locks or other synchronization primitives.")
     (license license:lgpl2.1)))
 
+(define-public ocaml-lwt-react
+  (package
+    (inherit ocaml-lwt)
+    (name "ocaml-lwt-react")
+    (version "1.1.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/ocsigen/lwt";)
+                     ;; Version from opam
+                     (commit "4.3.0")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0f7036srqz7zmnz0n164734smgkrqz78r1i35cg30x31kkr3pnn4"))))
+    (arguments
+     `(#:package "lwt_react"))
+    (properties `((upstream-name . "lwt_react")))
+    (propagated-inputs
+     `(("ocaml-lwt" ,ocaml-lwt)
+       ("ocaml-react" ,ocaml-react)))))
+
 (define-public ocaml-lwt-log
   (package
     (name "ocaml-lwt-log")



reply via email to

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