[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/45: gnu: Add ocaml-io-page.
From: |
guix-commits |
Subject: |
35/45: gnu: Add ocaml-io-page. |
Date: |
Fri, 17 Feb 2023 10:49:37 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 1276f9da9a2bce286da6cdda5d1e4d3d1870b3c3
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:24 2023 +0100
gnu: Add ocaml-io-page.
* gnu/packages/ocaml.scm (ocaml-io-page): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8ea2827ae2..5b915a532a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3084,6 +3084,29 @@ The client and the server libraries have sets of
unit-tests.")
;; Has a linking exception, see LICENSE.md.
(license license:lgpl2.1)))
+(define-public ocaml-io-page
+ (package
+ (name "ocaml-io-page")
+ (version "3.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mirage/io-page")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0lmvm1whdw5s7rvi7jnjzicrp2j919dkjl856jwyjlq38f7qn0zm"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-cstruct))
+ (native-inputs (list pkg-config ocaml-ounit))
+ (home-page "https://github.com/mirage/io-page")
+ (synopsis "Support for efficient handling of I/O memory pages")
+ (description
+ "IO pages are page-aligned, and wrapped in the @code{Cstruct} library to
+avoid copying the data contained within the page.")
+ (license license:isc)))
+
(define-public ocaml-luv
(package
(name "ocaml-luv")
- 25/45: gnu: Add ocaml-async-kernel., (continued)
- 25/45: gnu: Add ocaml-async-kernel., guix-commits, 2023/02/17
- 36/45: gnu: Add ocaml-bheap., guix-commits, 2023/02/17
- 37/45: gnu: Add ocaml-mirage-xen., guix-commits, 2023/02/17
- 40/45: gnu: p11-kit-next: Switch to meson-build-system., guix-commits, 2023/02/17
- 13/45: gnu: Add ocaml-mirage-time., guix-commits, 2023/02/17
- 19/45: gnu: Add ocaml-ptime., guix-commits, 2023/02/17
- 20/45: gnu: Add ocaml-mirage-logs., guix-commits, 2023/02/17
- 12/45: gnu: Add ocaml-mirage-unix., guix-commits, 2023/02/17
- 30/45: gnu: Add ocaml-async-rpc-kernel., guix-commits, 2023/02/17
- 29/45: gnu: Add ocaml-protocol-version-header., guix-commits, 2023/02/17
- 35/45: gnu: Add ocaml-io-page.,
guix-commits <=
- 41/45: gnu: Add go-gopkg-in-irc-v3., guix-commits, 2023/02/17
- 44/45: gnu: Add docker-registry., guix-commits, 2023/02/17