depot/third_party/nixpkgs/pkgs/development/ocaml-modules/xenstore/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

31 lines
639 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
lwt,
ounit2,
}:
buildDunePackage rec {
pname = "xenstore";
version = "2.3.0";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-xenstore";
rev = "v${version}";
hash = "sha256-LaynsbCE/+2QfbQCOLZi8nw1rqmZtgrwAov9cSxYZw8=";
};
propagatedBuildInputs = [ lwt ];
doCheck = true;
checkInputs = [ ounit2 ];
meta = with lib; {
description = "Xenstore protocol in pure OCaml";
license = licenses.lgpl21Only;
maintainers = teams.xen.members ++ [ maintainers.sternenseemann ];
homepage = "https://github.com/mirage/ocaml-xenstore";
};
}