nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 xenstore,
6 lwt,
7}:
8
9buildDunePackage rec {
10 pname = "xenstore_transport";
11 version = "1.5.0";
12
13 minimalOCamlVersion = "4.08";
14 duneVersion = "3";
15
16 src = fetchFromGitHub {
17 owner = "xapi-project";
18 repo = "ocaml-xenstore-clients";
19 rev = "v${version}";
20 sha256 = "sha256-tnz+dZ3EdzDVTGAe4y7OveXuVEUSh1aJxJabHM4zHTI=";
21 };
22
23 propagatedBuildInputs = [
24 xenstore
25 lwt
26 ];
27
28 # requires a mounted xenfs and xen server
29 doCheck = false;
30
31 meta = {
32 description = "Low-level libraries for connecting to a xenstore service on a xen host";
33 license = lib.licenses.lgpl21Only;
34 homepage = "https://github.com/xapi-project/ocaml-xenstore-clients";
35 teams = [ lib.teams.xen ];
36 };
37}