about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/xenstore_transport/default.nix
blob: f0bb908e5dba8ac7d9bee87ca6fbd32b6239e2cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildDunePackage, fetchFromGitHub, xenstore, lwt }:

buildDunePackage rec {
  pname = "xenstore_transport";
  version = "1.3.0";

  minimumOCamlVersion = "4.04";
  useDune2 = true;

  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 = "http://github.com/xapi-project/ocaml-xenstore-clients";
  };
}