depot/third_party/nixpkgs/pkgs/development/ocaml-modules/vchan/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

45 lines
920 B
Nix

{ lib, buildDunePackage, fetchurl
, ppx_cstruct, ppx_sexp_conv, ounit
, lwt, cstruct, io-page, mirage-flow, xenstore, xenstore_transport
, sexplib, cmdliner
}:
buildDunePackage rec {
pname = "vchan";
version = "6.0.1";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-${version}.tbz";
sha256 = "sha256-5E7dITMVirYoxUkp8ZamRAolyhA6avXGJNAioxeBuV0=";
};
nativeBuildInputs = [
ppx_cstruct
];
propagatedBuildInputs = [
ppx_sexp_conv
lwt
cstruct
io-page
mirage-flow
xenstore
xenstore_transport
sexplib
];
doCheck = true;
checkInputs = [
cmdliner
ounit
];
meta = with lib; {
description = "Xen Vchan implementation";
homepage = "https://github.com/mirage/ocaml-vchan";
license = licenses.isc;
maintainers = [ maintainers.sternenseemann ];
};
}