Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 ounit2, 6 lwt, 7 cstruct, 8 io-page, 9 mirage-flow, 10 xenstore, 11 xenstore_transport, 12}: 13 14buildDunePackage rec { 15 pname = "vchan"; 16 version = "6.0.2"; 17 18 minimalOCamlVersion = "4.08"; 19 20 src = fetchurl { 21 url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-${version}.tbz"; 22 hash = "sha256-fki12lrWuIweGX/vSD2gbMX9qaM4KthiDZLeJYWcX+U="; 23 }; 24 25 propagatedBuildInputs = [ 26 lwt 27 cstruct 28 io-page 29 mirage-flow 30 xenstore 31 xenstore_transport 32 ]; 33 34 doCheck = true; 35 checkInputs = [ 36 ounit2 37 ]; 38 39 meta = with lib; { 40 description = "Xen Vchan implementation"; 41 homepage = "https://github.com/mirage/ocaml-vchan"; 42 license = licenses.isc; 43 maintainers = [ maintainers.sternenseemann ]; 44 teams = [ teams.xen ]; 45 }; 46}