Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / vchan / default.nix
blobe727c8667669b2846f24a6d365b8b038b07ee61f
1 { lib, buildDunePackage, fetchurl
2 , ppx_cstruct, ppx_sexp_conv, ounit
3 , lwt, cstruct, io-page, mirage-flow, xenstore, xenstore_transport
4 , sexplib, cmdliner
5 }:
7 buildDunePackage rec {
8   pname = "vchan";
9   version = "6.0.1";
11   minimalOCamlVersion = "4.08";
12   duneVersion = "3";
14   src = fetchurl {
15     url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-${version}.tbz";
16     hash = "sha256-5E7dITMVirYoxUkp8ZamRAolyhA6avXGJNAioxeBuV0=";
17   };
19   propagatedBuildInputs = [
20     ppx_cstruct
21     ppx_sexp_conv
22     lwt
23     cstruct
24     io-page
25     mirage-flow
26     xenstore
27     xenstore_transport
28     sexplib
29   ];
31   doCheck = true;
32   checkInputs = [
33     cmdliner
34     ounit
35   ];
37   meta = with lib; {
38     description = "Xen Vchan implementation";
39     homepage = "https://github.com/mirage/ocaml-vchan";
40     license = licenses.isc;
41     maintainers = [ maintainers.sternenseemann ];
42   };