2024-07-03 01:05:09 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildDunePackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lwt,
|
|
|
|
ounit2,
|
2021-01-17 11:44:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "xenstore";
|
2024-05-07 01:28:37 +00:00
|
|
|
version = "2.3.0";
|
2021-01-17 11:44:21 +00:00
|
|
|
|
2024-07-03 01:05:09 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mirage";
|
|
|
|
repo = "ocaml-xenstore";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-LaynsbCE/+2QfbQCOLZi8nw1rqmZtgrwAov9cSxYZw8=";
|
2021-01-17 11:44:21 +00:00
|
|
|
};
|
|
|
|
|
2024-07-03 01:05:09 +00:00
|
|
|
propagatedBuildInputs = [ lwt ];
|
2021-01-17 11:44:21 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2022-03-01 15:42:22 +00:00
|
|
|
checkInputs = [ ounit2 ];
|
2021-01-17 11:44:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Xenstore protocol in pure OCaml";
|
|
|
|
license = licenses.lgpl21Only;
|
2024-09-26 16:01:01 +00:00
|
|
|
maintainers = teams.xen.members ++ [ maintainers.sternenseemann ];
|
2021-01-17 11:44:21 +00:00
|
|
|
homepage = "https://github.com/mirage/ocaml-xenstore";
|
|
|
|
};
|
|
|
|
}
|