depot/third_party/nixpkgs/pkgs/development/ocaml-modules/xenstore/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

34 lines
654 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 = with maintainers; [
sternenseemann
sigmasquadron
];
homepage = "https://github.com/mirage/ocaml-xenstore";
};
}