GNU bug report logs -
#73466
[PATCH 01/16] gnu: Add ocaml-jsonrpc.
Previous Next
Full log
Message #32 received at 73466 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ocaml.scm (ocaml-json-data-encoding): Add variable.
Change-Id: I1d37ed62753c07dfd6ed0cbc3a5ac80ab0da6fae
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 651d351bd1..329b28ef84 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4202,6 +4202,35 @@ (define-public ocaml-js-of-ocaml-compiler
;; LGPL 2.1 or later with OCaml LGPL linking exception.
(license (list license:gpl2+ license:lgpl2.1+))))
+(define-public ocaml-json-data-encoding
+ (package
+ (name "ocaml-json-data-encoding")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://gitlab.com/nomadic-labs/"
+ "data-encoding/-/archive/v" version
+ "/data-encoding-v" version ".tar.gz"))
+ (sha256
+ (base32 "1mhzij8g8bkqq73gazhbbgn555qh68dllk1r0x479y2wyz9nsvgj"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-uri ocaml-hex ocamlformat ocaml-odoc))
+ (inputs (list gmp node))
+ (native-inputs (list ocaml-alcotest
+ ocaml-crowbar
+ ocaml-ezjsonm
+ ocaml-js-of-ocaml-compiler
+ ocaml-ppx-expect
+ ocaml-ppx-hash
+ ocaml-zarith
+ ocaml-zarith-stubs-js))
+ (home-page "https://gitlab.com/nomadic-labs/json-data-encoding")
+ (synopsis "Type-safe encoding to and decoding from JSON")
+ (description
+ "This package provides type-safe JSON encoding and decoding.")
+ (license license:expat)))
+
(define-public ocaml-jsonm
(package
(name "ocaml-jsonm")
--
2.45.2
This bug report was last modified 262 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.