Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 20 lines 514 B view raw
1{ lib, buildDunePackage, fetchurl }: 2 3buildDunePackage rec { 4 pname = "mmap"; 5 version = "1.1.0"; 6 7 useDune2 = true; 8 9 src = fetchurl { 10 url = "https://github.com/mirage/mmap/releases/download/v${version}/mmap-v${version}.tbz"; 11 sha256 = "0l6waidal2n8mkdn74avbslvc10sf49f5d889n838z03pra5chsc"; 12 }; 13 14 meta = { 15 homepage = "https://github.com/mirage/mmap"; 16 description = "Function for mapping files in memory"; 17 license = lib.licenses.lgpl21; 18 maintainers = [ lib.maintainers.vbgl ]; 19 }; 20}