depot/pkgs/development/ocaml-modules/xenstore/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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";
};
}