2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildDunePackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lwt,
|
|
|
|
ounit2,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "xenstore";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2.3.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mirage";
|
|
|
|
repo = "ocaml-xenstore";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-LaynsbCE/+2QfbQCOLZi8nw1rqmZtgrwAov9cSxYZw8=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
propagatedBuildInputs = [ lwt ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ ounit2 ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Xenstore protocol in pure OCaml";
|
|
|
|
license = licenses.lgpl21Only;
|
2024-10-04 16:56:33 +00:00
|
|
|
maintainers = teams.xen.members ++ [ maintainers.sternenseemann ];
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://github.com/mirage/ocaml-xenstore";
|
|
|
|
};
|
|
|
|
}
|