nixpkgs/pkgs/development/ocaml-modules/vchan/default.nix
Vincent Laporte e69aee3280 ocamlPackages.io-page: 2.3.0 → 2.4.0
ocamlPackages.mirage-block: 2.0.1 → 3.0.0
ocamlPackages.mirage-block-ramdisk: disable tests
ocamlPackages.mirage-block-unix: 2.12.1 → 2.14.1
ocamlPackages.mirage-unix: 4.0.0 → 4.0.1
ocamlPackages.vchan: 6.0.0 → 6.0.1
ocamlPackages.wodan-unix: mark as broken
2022-07-04 09:10:59 +02:00

46 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 ];
};
}