From e5724bdebe4246c3a5f6eafb225668f0541516b8 Mon Sep 17 00:00:00 2001 From: Mutsuha Asada Date: Mon, 9 Jun 2025 09:16:49 +0900 Subject: [PATCH] ocamlPackages.mmap: 1.1.0 -> 1.2.0 Changelog: https://github.com/mirage/mmap/releases/tag/v1.2.0 Diff: https://github.com/mirage/mmap/compare/v1.1.0...v1.2.0 --- pkgs/development/ocaml-modules/mmap/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/mmap/default.nix b/pkgs/development/ocaml-modules/mmap/default.nix index ea9740494ad7..7eb032aa3c59 100644 --- a/pkgs/development/ocaml-modules/mmap/default.nix +++ b/pkgs/development/ocaml-modules/mmap/default.nix @@ -2,22 +2,27 @@ lib, buildDunePackage, fetchurl, + bigarray-compat, }: buildDunePackage rec { pname = "mmap"; - version = "1.1.0"; - - useDune2 = true; + version = "1.2.0"; src = fetchurl { - url = "https://github.com/mirage/mmap/releases/download/v${version}/mmap-v${version}.tbz"; - sha256 = "0l6waidal2n8mkdn74avbslvc10sf49f5d889n838z03pra5chsc"; + url = "https://github.com/mirage/mmap/releases/download/v${version}/mmap-${version}.tbz"; + hash = "sha256-FgKoq8jiMvqUdxpS5UDleAtAwvJ2Lu5q+9koZQIRbds="; }; + propagatedBuildInputs = [ bigarray-compat ]; + meta = { homepage = "https://github.com/mirage/mmap"; description = "Function for mapping files in memory"; + longDescription = '' + This project provides a Mmap.map_file functions for mapping files in memory. + ''; + changelog = "https://raw.githubusercontent.com/mirage/mmap/refs/tags/v${version}/CHANGES.md"; license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.vbgl ]; };