mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Adds ocaml-io-page
This OCaml library implements support for efficient handling of I/O memory pages on Unix and Xen. Homepage: https://github.com/mirage/io-page
This commit is contained in:
parent
2ee6e81896
commit
7365907de5
24
pkgs/development/ocaml-modules/io-page/default.nix
Normal file
24
pkgs/development/ocaml-modules/io-page/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchzip, ocaml, findlib, cstruct }:
|
||||
|
||||
let version = "1.4.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-io-page-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirage/io-page/archive/v${version}.tar.gz";
|
||||
sha256 = "05m1gbcy72i6gikdijbkpw8pfygc86a3l4k8ayyl58019l6qa2fq";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ cstruct ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/mirage/io-page;
|
||||
platforms = ocaml.meta.platforms;
|
||||
description = "IO memory page library for Mirage backends";
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
@ -3910,6 +3910,8 @@ let
|
||||
|
||||
functory = callPackage ../development/ocaml-modules/functory { };
|
||||
|
||||
io-page = callPackage ../development/ocaml-modules/io-page { };
|
||||
|
||||
javalib = callPackage ../development/ocaml-modules/javalib {
|
||||
extlib = ocaml_extlib_maximal;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user