[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add ocaml-piqi.
From: |
julien lepiller |
Subject: |
08/10: gnu: Add ocaml-piqi. |
Date: |
Wed, 27 Sep 2017 15:28:12 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit fc3d70ae543db7a1e22d29057febc7cfda9a00a0
Author: Julien Lepiller <address@hidden>
Date: Thu Sep 21 20:47:40 2017 +0200
gnu: Add ocaml-piqi.
* gnu/packages/ocaml.scm (ocaml-piqi): New variable.
---
gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 52294d1..0c32e47 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -47,6 +47,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
#:use-module (gnu packages tex)
#:use-module (gnu packages texinfo)
@@ -3418,6 +3419,38 @@ and 4 (random based) according to RFC 4122.")
(description "OCamlgraph is a generic graph library for OCaml.")
(license license:lgpl2.1)))
+(define-public ocaml-piqi
+ (package
+ (name "ocaml-piqi")
+ (version "0.7.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/alavrik/piqi-ocaml/"
+ "archive/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ngz6y8i98i5v2ma8nk6mc83pdsmf2z0ks7m3xi6clfg3zqbddrv"))))
+ (build-system ocaml-build-system)
+ (arguments
+ `(#:make-flags
+ (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
+ (string-append "SHELL=" (assoc-ref %build-inputs "bash")
+ "/bin/sh"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (native-inputs
+ `(("which" ,which)
+ ("protobuf" ,protobuf))) ; for tests
+ (propagated-inputs
+ `(("piqilib" ,ocaml-piqilib)))
+ (home-page "https://github.com/alavrik/piqi-ocaml")
+ (synopsis "Protocol serialization system for OCaml")
+ (description "Piqi is a multi-format data serialization system for OCaml.
+It provides a uniform interface for serializing OCaml data structures to JSON,
+XML and Protocol Buffers formats.")
+ (license license:asl2.0)))
+
(define-public coq-flocq
(package
(name "coq-flocq")
- branch master updated (cb1e0cf -> 408091d), julien lepiller, 2017/09/27
- 01/10: gnu: Add ocaml-ezjsonm., julien lepiller, 2017/09/27
- 02/10: gnu: Add ocaml-uri., julien lepiller, 2017/09/27
- 05/10: gnu: Add ocaml-piqilib., julien lepiller, 2017/09/27
- 06/10: gnu: Add ocaml-uuidm., julien lepiller, 2017/09/27
- 03/10: gnu: Add ocaml-easy-format., julien lepiller, 2017/09/27
- 08/10: gnu: Add ocaml-piqi.,
julien lepiller <=
- 09/10: gnu: Add bap., julien lepiller, 2017/09/27
- 10/10: gnu: Add ocaml-camomile., julien lepiller, 2017/09/27
- 07/10: gnu: Add ocaml-graph., julien lepiller, 2017/09/27
- 04/10: gnu: Add ocaml-optcomp., julien lepiller, 2017/09/27