nixpkgs/pkgs/development/ocaml-modules/vchan/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
890 B
Nix
Raw Normal View History

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