Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
764 B
Nix

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