ocamlPackages.mmap: init at 1.1.0

This project provides a Mmap.map_file function for mapping files in memory.
This commit is contained in:
Vincent Laporte 2019-08-09 07:34:04 +02:00 committed by Vincent Laporte
parent 6c15ffe487
commit af504e45b3
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ lib, buildDunePackage, fetchurl }:
buildDunePackage rec {
pname = "mmap";
version = "1.1.0";
src = fetchurl {
url = "https://github.com/mirage/mmap/releases/download/v${version}/mmap-v${version}.tbz";
sha256 = "0l6waidal2n8mkdn74avbslvc10sf49f5d889n838z03pra5chsc";
};
meta = {
homepage = "https://github.com/mirage/mmap";
description = "Function for mapping files in memory";
license = lib.licenses.lgpl21;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -450,6 +450,8 @@ let
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
mmap = callPackage ../development/ocaml-modules/mmap { };
mparser = callPackage ../development/ocaml-modules/mparser { };
mstruct = callPackage ../development/ocaml-modules/mstruct { };