Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 751 B view raw
1{ lib, fetchurl, buildDunePackage, pkg-config, cstruct, bigarray-compat, ounit }: 2 3buildDunePackage rec { 4 pname = "io-page"; 5 version = "3.0.0"; 6 7 minimalOCamlVersion = "4.08"; 8 duneVersion = "3"; 9 10 src = fetchurl { 11 url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 12 hash = "sha256-DjbKdNkFa6YQgJDLmLsuvyrweb4/TNvqAiggcj/3hu4="; 13 }; 14 15 nativeBuildInputs = [ pkg-config ]; 16 propagatedBuildInputs = [ cstruct bigarray-compat ]; 17 checkInputs = [ ounit ]; 18 doCheck = true; 19 20 meta = { 21 homepage = "https://github.com/mirage/io-page"; 22 license = lib.licenses.isc; 23 description = "IO memory page library for Mirage backends"; 24 maintainers = with lib.maintainers; [ vbgl ]; 25 }; 26}