depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mmap/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

20 lines
514 B
Nix

{ lib, buildDunePackage, fetchurl }:
buildDunePackage rec {
pname = "mmap";
version = "1.1.0";
useDune2 = true;
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 ];
};
}