[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: Add ocaml-ocplib-endian.
From: |
julien lepiller |
Subject: |
08/11: gnu: Add ocaml-ocplib-endian. |
Date: |
Tue, 6 Jun 2017 15:10:00 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 9059d856d27c7ea538f6b2feecf95c4da0011e21
Author: Julien Lepiller <address@hidden>
Date: Sun May 28 15:30:33 2017 +0200
gnu: Add ocaml-ocplib-endian.
* gnu/packages/ocaml.scm (ocaml-ocplib-endian): New variable.
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 5acf06d..3e83375 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3065,3 +3065,26 @@ async library.")
(synopsis "Monadic concurrency library")
(description "Async is a library for concurrent programming in OCaml.")
(license license:asl2.0)))
+
+(define-public ocaml-ocplib-endian
+ (package
+ (name "ocaml-ocplib-endian")
+ (version "1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/OCamlPro/ocplib-endian/"
+ "archive/" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hwj09rnzjs0m0kazz5h2mgs6p95j0zlga8cda5srnzqmzhniwkn"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system ocaml-build-system)
+ (native-inputs `(("cppo" ,ocaml-cppo)))
+ (home-page "https://github.com/OCamlPro/ocplib-endian")
+ (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)))
- 03/11: gnu: Add ocaml-async-rpc-kernel., (continued)
- 03/11: gnu: Add ocaml-async-rpc-kernel., julien lepiller, 2017/06/06
- 02/11: gnu: Add ocaml-async-kernel., julien lepiller, 2017/06/06
- 09/11: gnu: Add ocaml-cstruct., julien lepiller, 2017/06/06
- 01/11: gnu: Add ocaml-core-kernel., julien lepiller, 2017/06/06
- 05/11: gnu: Add ocaml-async-unix., julien lepiller, 2017/06/06
- 07/11: gnu: Add ocaml-async., julien lepiller, 2017/06/06
- 11/11: gnu: coq: Add search-paths for coq libraries., julien lepiller, 2017/06/06
- 06/11: gnu: Add ocaml-async-extra., julien lepiller, 2017/06/06
- 04/11: gnu: Add ocaml-core., julien lepiller, 2017/06/06
- 10/11: gnu: Add ocaml-hex., julien lepiller, 2017/06/06
- 08/11: gnu: Add ocaml-ocplib-endian.,
julien lepiller <=