mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
6c15ffe487
commit
af504e45b3
18
pkgs/development/ocaml-modules/mmap/default.nix
Normal file
18
pkgs/development/ocaml-modules/mmap/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user