[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60120] [PATCH 08/28] gnu: Add ocaml-optint.
From: |
pukkamustard |
Subject: |
[bug#60120] [PATCH 08/28] gnu: Add ocaml-optint. |
Date: |
Fri, 16 Dec 2022 13:25:07 +0000 |
* gnu/packages/ocaml.scm (ocaml-optint): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 58eef28558..7118f88318 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2742,6 +2742,31 @@ (define-public ocaml-psq
Typical applications are searches, schedulers and caches.")
(license license:isc)))
+(define-public ocaml-optint
+ (package
+ (name "ocaml-optint")
+ (version "0.2.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
+ "0d82nf9w46zbyfq3h3n2b9jajvv8gndjyc168xzzk328vj63i12p"))))
+ (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")
--
2.38.1
- [bug#60120] [PATCH 00/28] gnu: Add ocaml-5.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 01/28] gnu: Add ocaml-5.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 02/28] gnu: ocaml-findlib: Update to 1.9.5., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 05/28] gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 03/28] gnu: Add ocaml5.0-findlib, pukkamustard, 2022/12/16
- [bug#60120] [PATCH 04/28] guix: ocaml: Add package-with-ocaml5.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 06/28] gnu: Add ocaml-psq., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 13/28] gnu: Add ocaml5.0-ppx-expect., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 08/28] gnu: Add ocaml-optint.,
pukkamustard <=
- [bug#60120] [PATCH 07/28] gnu: Add ocaml-monolith., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 09/28] gnu: Add ocaml-hmap., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 10/28] gnu: Add ocaml5.0-base., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 11/28] gnu: Update ocaml-ppxlib to 0.25.1., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 18/28] gnu: Add ocaml-bechamel., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 12/28] gnu: Update ocaml-qcheck to 0.20., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 17/28] gnu: Add ocaml5.0-ctypes, pukkamustard, 2022/12/16
- [bug#60120] [PATCH 14/28] gnu: Update ocaml-odoc to 2.2.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 15/28] gnu: Add ocaml5.0-crowbar., pukkamustard, 2022/12/16