about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/mmap/default.nix
blob: b13639150b0d9b95074543a0d07e3c800cb24a4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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 ];
  };
}