blob: acbf1c270ffa088112c49851774d57b949ffe86e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, buildDunePackage, fetchurl
, cstruct, ppx_cstruct, lwt, ounit2
}:
buildDunePackage rec {
pname = "xenstore";
version = "2.3.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/ocaml-xenstore/releases/download/v${version}/xenstore-${version}.tbz";
hash = "sha256-1jxrvLLTwpd2fYPAoPbdRs7P1OaR8c9cW2VURF7Bs/Q=";
};
buildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [ cstruct lwt ];
doCheck = true;
checkInputs = [ ounit2 ];
meta = with lib; {
description = "Xenstore protocol in pure OCaml";
license = licenses.lgpl21Only;
maintainers = [ maintainers.sternenseemann ];
homepage = "https://github.com/mirage/ocaml-xenstore";
};
}
|