Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 bigarray-compat, 6}: 7 8buildDunePackage rec { 9 pname = "mmap"; 10 version = "1.2.0"; 11 12 src = fetchurl { 13 url = "https://github.com/mirage/mmap/releases/download/v${version}/mmap-${version}.tbz"; 14 hash = "sha256-FgKoq8jiMvqUdxpS5UDleAtAwvJ2Lu5q+9koZQIRbds="; 15 }; 16 17 propagatedBuildInputs = [ bigarray-compat ]; 18 19 meta = { 20 homepage = "https://github.com/mirage/mmap"; 21 description = "Function for mapping files in memory"; 22 longDescription = '' 23 This project provides a Mmap.map_file functions for mapping files in memory. 24 ''; 25 changelog = "https://raw.githubusercontent.com/mirage/mmap/refs/tags/v${version}/CHANGES.md"; 26 license = lib.licenses.lgpl21; 27 maintainers = [ lib.maintainers.vbgl ]; 28 }; 29}