[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/28: gnu: Add ocaml-optint.
From: |
guix-commits |
Subject: |
08/28: gnu: Add ocaml-optint. |
Date: |
Wed, 21 Dec 2022 16:11:42 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit cdca7347756e4ae230bbe2d6795451e649bc634e
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:07 2022 +0000
gnu: Add ocaml-optint.
* gnu/packages/ocaml.scm (ocaml-optint): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b9f6bb13df..1d30eadd92 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2745,6 +2745,31 @@ for mapping files in memory. This function is the same
as the
Typical applications are searches, schedulers and caches.")
(license license:isc)))
+(define-public ocaml-optint
+ (package
+ (name "ocaml-optint")
+ (version "0.3.0")
+ (home-page "https://github.com/mirage/optint")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32
+ "1qj32bcw1in7s6raxdvbmjr3lvj99iwv98x1ar9cwxp4zf8ybfss"))))
+ (build-system dune-build-system)
+ (arguments `(#:test-target "."))
+ (native-inputs (list ocaml-crowbar ocaml-monolith ocaml-fmt))
+ (synopsis "Efficient integer types on 64-bit architectures for OCaml")
+ (description
+ "This OCaml library provides two new integer types, @code{Optint.t} and
+@code{Int63.t}, which guarantee efficient representation on 64-bit
+architectures and provide a best-effort boxed representation on 32-bit
+architectures.")
+ (license license:isc)))
+
(define-public ocaml-lwt
(package
(name "ocaml-lwt")
- 03/28: gnu: Add ocaml5.0-findlib, (continued)
- 03/28: gnu: Add ocaml5.0-findlib, guix-commits, 2022/12/21
- 01/28: gnu: Add ocaml-5.0., guix-commits, 2022/12/21
- 04/28: guix: ocaml: Add package-with-ocaml5.0., guix-commits, 2022/12/21
- 15/28: gnu: Add ocaml5.0-crowbar., guix-commits, 2022/12/21
- 17/28: gnu: Add ocaml5.0-ctypes, guix-commits, 2022/12/21
- 27/28: gnu: Add ocaml5.0-dot-merlin-reader., guix-commits, 2022/12/21
- 25/28: gnu: Update ocaml-merlin-lib to 4.7-414., guix-commits, 2022/12/21
- 21/28: gnu: Add ocaml5.0-eio-luv., guix-commits, 2022/12/21
- 02/28: gnu: ocaml-findlib: Update to 1.9.5., guix-commits, 2022/12/21
- 07/28: gnu: Add ocaml-monolith., guix-commits, 2022/12/21
- 08/28: gnu: Add ocaml-optint.,
guix-commits <=
- 10/28: gnu: Add ocaml5.0-base., guix-commits, 2022/12/21
- 12/28: gnu: Update ocaml-qcheck to 0.20., guix-commits, 2022/12/21
- 14/28: gnu: Update ocaml-odoc to 2.2.0., guix-commits, 2022/12/21
- 20/28: gnu: Add ocaml5.0-eio., guix-commits, 2022/12/21
- 24/28: gnu: Add ocaml5.0-eio-main., guix-commits, 2022/12/21
- 06/28: gnu: Add ocaml-psq., guix-commits, 2022/12/21
- 05/28: gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages., guix-commits, 2022/12/21
- 09/28: gnu: Add ocaml-hmap., guix-commits, 2022/12/21
- 11/28: gnu: Update ocaml-ppxlib to 0.25.1., guix-commits, 2022/12/21
- 19/28: gnu: ocaml-mdx: Move inputs to propagated-inputs., guix-commits, 2022/12/21