From: divoplade <d@divoplade.fr>
To: 45133@debbugs.gnu.org
Subject: [bug#45133] Add ocaml reactiveData
Date: Wed, 09 Dec 2020 15:58:35 +0100 [thread overview]
Message-ID: <d9e3259f2a51b29f4cee5503a347dfb1774bd47e.camel@divoplade.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 294 bytes --]
Dear guix,
I want to have js_of_ocaml into guix. Here is a dependency of it,
reactiveData. It is a simple package, but the build system changed from
ocaml-build-system to dune-build-system between the last release and
now, so I think we should use the latest commit.
Best regards,
divoplade
[-- Attachment #2: 0001-gnu-add-ocaml-reactiveData.patch --]
[-- Type: text/x-patch, Size: 1967 bytes --]
From ca8deeb67a83c33cf16488b048224ccd76393791 Mon Sep 17 00:00:00 2001
From: divoplade <d@divoplade.fr>
Date: Wed, 9 Dec 2020 15:45:04 +0100
Subject: [PATCH] gnu: add ocaml-reactiveData
* ocaml.scm (ocaml-reactiveData): add ocaml-reactiveData
---
gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 2bfda7307e..c394a1d263 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5859,3 +5859,38 @@ LablGL), gnomecanvas, gnomeui, gtksourceview, gtkspell, libglade (and it can
generate OCaml code from .glade files), libpanel, librsvg and quartz.")
;; Version 2 only, with linking exception.
(license license:lgpl2.0)))
+
+(define ocaml-reactiveData
+ (package
+ (name "ocaml-reactiveData")
+ (version "0.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocsigen/reactiveData")
+ (commit "aaf9ab6d64ff8ac7cde55b9148e2470406b2fa13")))
+ (sha256
+ (base32
+ "1b8a6dhv9i3k23g3k1x4n74dpp4bsifr4j7ks4v4ar6hkdj5vsa5"))))
+ (build-system dune-build-system)
+ (arguments
+ `(#:test-target "."
+ #:phases
+ (modify-phases
+ %standard-phases
+ (add-before 'build 'fix-deprecated
+ (lambda _
+ (substitute*
+ "src/reactiveData.ml"
+ (("Pervasives.compare") "compare"))
+ #t)))))
+ (propagated-inputs
+ `(("ocaml-react" ,ocaml-react)))
+ (home-page
+ "https://github.com/ocsigen/reactiveData")
+ (synopsis
+ "Declarative events and signals for OCaml")
+ (description
+ "React is an OCaml module for functional reactive programming (FRP). It provides support to program with time varying values : declarative events and signals. React doesn't define any primitive event or signal, it lets the client chooses the concrete timeline.")
+ (license license:lgpl2.1+)))
--
2.29.2
next reply other threads:[~2020-12-09 15:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-09 14:58 divoplade [this message]
2020-12-09 15:40 ` [bug#45133] Add ocaml reactiveData Julien Lepiller
2020-12-09 17:03 ` divoplade
2020-12-09 17:59 ` zimoun
2020-12-09 18:05 ` divoplade
2020-12-09 18:35 ` zimoun
2020-12-09 19:12 ` Julien Lepiller
2020-12-10 12:41 ` zimoun
2020-12-10 12:49 ` divoplade
2020-12-10 12:42 ` divoplade
2020-12-10 13:53 ` Julien Lepiller
2020-12-10 14:12 ` divoplade
2020-12-10 14:43 ` zimoun
2020-12-10 14:57 ` divoplade
2020-12-15 14:49 ` bug#45133: " Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9e3259f2a51b29f4cee5503a347dfb1774bd47e.camel@divoplade.fr \
--to=d@divoplade.fr \
--cc=45133@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.