2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2022-07-14 12:49:19 +00:00
|
|
|
, ppx_cstruct, ppx_sexp_conv, ounit
|
2021-02-05 17:12:51 +00:00
|
|
|
, lwt, cstruct, io-page, mirage-flow, xenstore, xenstore_transport
|
|
|
|
, sexplib, cmdliner
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "vchan";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "6.0.1";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-30 22:05:00 +00:00
|
|
|
duneVersion = "3";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-07-14 12:49:19 +00:00
|
|
|
url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-${version}.tbz";
|
2023-03-30 22:05:00 +00:00
|
|
|
hash = "sha256-5E7dITMVirYoxUkp8ZamRAolyhA6avXGJNAioxeBuV0=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-02-09 11:40:11 +00:00
|
|
|
ppx_cstruct
|
2021-02-05 17:12:51 +00:00
|
|
|
ppx_sexp_conv
|
|
|
|
lwt
|
|
|
|
cstruct
|
|
|
|
io-page
|
|
|
|
mirage-flow
|
|
|
|
xenstore
|
|
|
|
xenstore_transport
|
|
|
|
sexplib
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
cmdliner
|
|
|
|
ounit
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Xen Vchan implementation";
|
|
|
|
homepage = "https://github.com/mirage/ocaml-vchan";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|