diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-01-17 12:57:41 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-01-24 17:38:11 +0100 |
commit | 3b363283a53e279b027027b8101f43f1671a2000 (patch) | |
tree | 8662e146995bb8425f028863d832531f248a1306 /pkgs/development/ocaml-modules | |
parent | 6aef21c314eb35325023eacd8b79c2babfaab1d9 (diff) | |
download | nixlib-3b363283a53e279b027027b8101f43f1671a2000.tar nixlib-3b363283a53e279b027027b8101f43f1671a2000.tar.gz nixlib-3b363283a53e279b027027b8101f43f1671a2000.tar.bz2 nixlib-3b363283a53e279b027027b8101f43f1671a2000.tar.lz nixlib-3b363283a53e279b027027b8101f43f1671a2000.tar.xz nixlib-3b363283a53e279b027027b8101f43f1671a2000.tar.zst nixlib-3b363283a53e279b027027b8101f43f1671a2000.zip |
ocamlPackages.vchan: init at 6.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/vchan/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/vchan/default.nix b/pkgs/development/ocaml-modules/vchan/default.nix new file mode 100644 index 000000000000..54bf4e65004b --- /dev/null +++ b/pkgs/development/ocaml-modules/vchan/default.nix @@ -0,0 +1,47 @@ +{ lib, buildDunePackage, fetchurl +, ppx_cstruct, ppx_sexp_conv, ounit, io-page-unix +, lwt, cstruct, io-page, mirage-flow, xenstore, xenstore_transport +, sexplib, cmdliner +}: + +buildDunePackage rec { + pname = "vchan"; + version = "6.0.0"; + + useDune2 = true; + minimumOCamlVersion = "4.08"; + + src = fetchurl { + url = "https://github.com/mirage/ocaml-vchan/releases/download/v${version}/vchan-v${version}.tbz"; + sha256 = "7a6cc89ff8ba7144d6cef3f36722f40deedb3cefff0f7be1b2f3b7b2a2b41747"; + }; + + nativeBuildInputs = [ + ppx_cstruct + ]; + + propagatedBuildInputs = [ + ppx_sexp_conv + lwt + cstruct + io-page + mirage-flow + xenstore + xenstore_transport + sexplib + ]; + + doCheck = true; + checkInputs = [ + cmdliner + io-page-unix + ounit + ]; + + meta = with lib; { + description = "Xen Vchan implementation"; + homepage = "https://github.com/mirage/ocaml-vchan"; + license = licenses.isc; + maintainers = [ maintainers.sternenseemann ]; + }; +} |