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