depot/pkgs/development/ocaml-modules/xenstore_transport/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

28 lines
756 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, xenstore, lwt }:
buildDunePackage rec {
pname = "xenstore_transport";
version = "1.3.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchFromGitHub {
owner = "xapi-project";
repo = "ocaml-xenstore-clients";
rev = "v${version}";
sha256 = "1kxxd9i4qiq98r7sgvl59iq2ni7y6drnv48qj580q5cyiyyc85q3";
};
propagatedBuildInputs = [ xenstore lwt ];
# requires a mounted xenfs and xen server
doCheck = false;
meta = with lib; {
description = "Low-level libraries for connecting to a xenstore service on a xen host";
license = licenses.lgpl21Only;
homepage = "https://github.com/xapi-project/ocaml-xenstore-clients";
maintainers = teams.xen.members;
};
}