mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add ocaml-ocplib-endian.
* gnu/packages/ocaml.scm (ocaml-ocplib-endian): New variable.
This commit is contained in:
parent
84470902dc
commit
9059d856d2
1 changed files with 23 additions and 0 deletions
|
@ -3065,3 +3065,26 @@ (define-public ocaml-async
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue