2021-01-17 11:45:06 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildDunePackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
xenstore,
|
|
|
|
lwt,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "xenstore_transport";
|
|
|
|
version = "1.3.0";
|
|
|
|
|
2022-12-12 06:54:50 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-28 06:57:41 +00:00
|
|
|
duneVersion = "3";
|
2021-01-17 11:45:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xapi-project";
|
|
|
|
repo = "ocaml-xenstore-clients";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1kxxd9i4qiq98r7sgvl59iq2ni7y6drnv48qj580q5cyiyyc85q3";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
xenstore
|
|
|
|
lwt
|
|
|
|
];
|
|
|
|
|
|
|
|
# requires a mounted xenfs and xen server
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Low-level libraries for connecting to a xenstore service on a xen host";
|
|
|
|
license = licenses.lgpl21Only;
|
2021-04-17 15:59:08 +00:00
|
|
|
homepage = "https://github.com/xapi-project/ocaml-xenstore-clients";
|
2024-09-26 16:01:01 +00:00
|
|
|
maintainers = teams.xen.members;
|
2021-01-17 11:45:06 +00:00
|
|
|
};
|
|
|
|
}
|