[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 85/96] gnu: Add ocaml-ocplib-endian
From: |
Julien Lepiller |
Subject: |
[PATCH 85/96] gnu: Add ocaml-ocplib-endian |
Date: |
Tue, 3 Jan 2017 20:12:06 +0100 |
* gnu/packages/ocaml.scm (ocaml-ocplib-endian): New variable.
---
gnu/packages/ocaml.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 50e028bf7..ab2197c0c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2640,3 +2640,24 @@ standard library that was developed by Jane Street.")
(synopsis "Monadic concurrency library")
(description "Monadic concurrency library.")
(license license:asl2.0)))
+
+(define-public ocaml-ocplib-endian
+ (package
+ (name "ocaml-ocplib-endian")
+ (version "1.0")
+ (home-page "https://github.com/OCamlPro/ocplib-endian/")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append home-page "/archive/" version ".tar.gz"))
+ (sha256 (base32
+ "0hwj09rnzjs0m0kazz5h2mgs6p95j0zlga8cda5srnzqmzhniwkn"))))
+ (build-system ocaml-build-system)
+ (native-inputs `(("cppo" ,ocaml-cppo)))
+ (synopsis "Optimised functions to read and write int16/32/64 from strings
+and bigarrays")
+ (description "Optimised functions to read and write int16/32/64 from
strings
+and bigarrays, based on new primitives added in version 4.01. It works on
+strings, bytes and bigstring (Bigarrys of chars), and provides submodules for
+big- and little-endian, with their unsafe counter-parts.")
+ (license license:lgpl2.1)))
--
2.11.0
- [PATCH 75/96] gnu: Add ocaml-re, (continued)
- [PATCH 75/96] gnu: Add ocaml-re, Julien Lepiller, 2017/01/03
- [PATCH 76/96] gnu: Add ocaml-ppx-expect, Julien Lepiller, 2017/01/03
- [PATCH 77/96] gnu: Add ocaml-ppx-jane, Julien Lepiller, 2017/01/03
- [PATCH 78/96] gnu: Add ocaml-core-kernel, Julien Lepiller, 2017/01/03
- [PATCH 79/96] gnu: Add ocaml-async-kernel, Julien Lepiller, 2017/01/03
- [PATCH 80/96] gnu: Add ocaml-async-rpc-kernel, Julien Lepiller, 2017/01/03
- [PATCH 81/96] gnu: Add ocaml-core, Julien Lepiller, 2017/01/03
- [PATCH 82/96] gnu: Add ocaml-async-unix, Julien Lepiller, 2017/01/03
- [PATCH 83/96] gnu: Add ocaml-async-extra, Julien Lepiller, 2017/01/03
- [PATCH 84/96] gnu: Add ocaml-async, Julien Lepiller, 2017/01/03
- [PATCH 85/96] gnu: Add ocaml-ocplib-endian,
Julien Lepiller <=
- [PATCH 86/96] gnu: Add ocaml-cstruct, Julien Lepiller, 2017/01/03
- [PATCH 87/96] gnu: Add ocaml-hex, Julien Lepiller, 2017/01/03
- [PATCH 88/96] gnu: Add ocaml-ezjsonm, Julien Lepiller, 2017/01/03
- [PATCH 89/96] gnu: Add ocaml-uri, Julien Lepiller, 2017/01/03
- [PATCH 90/96] gnu: Add ocaml-easy-format, Julien Lepiller, 2017/01/03
- [PATCH 91/96] gnu: Add ocaml-optcomp, Julien Lepiller, 2017/01/03
- [PATCH 93/96] gnu: Add ocaml-uuidm, Julien Lepiller, 2017/01/03
- [PATCH 92/96] gnu: Add ocaml-piqilib, Julien Lepiller, 2017/01/03
- [PATCH 95/96] gnu: Add ocaml-piqi, Julien Lepiller, 2017/01/03
- [PATCH 94/96] gnu: Add ocamlgraph, Julien Lepiller, 2017/01/03