nixpkgs/pkgs/development/ocaml-modules/xenstore/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
639 B
Nix
Raw Normal View History

{
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
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-xenstore";
rev = "v${version}";
hash = "sha256-LaynsbCE/+2QfbQCOLZi8nw1rqmZtgrwAov9cSxYZw8=";
2021-01-17 11:44:21 +00:00
};
propagatedBuildInputs = [ lwt ];
2021-01-17 11:44:21 +00:00
doCheck = true;
checkInputs = [ ounit2 ];
2021-01-17 11:44:21 +00:00
meta = with lib; {
description = "Xenstore protocol in pure OCaml";
license = licenses.lgpl21Only;
maintainers = teams.xen.members ++ [ maintainers.sternenseemann ];
2021-01-17 11:44:21 +00:00
homepage = "https://github.com/mirage/ocaml-xenstore";
};
}