nixpkgs/pkgs/development/ocaml-modules/xenstore-tool/default.nix
2023-07-31 06:27:24 +02:00

18 lines
452 B
Nix

{ buildDunePackage, camlp-streams, xenstore_transport, xenstore, lwt }:
buildDunePackage {
pname = "xenstore-tool";
inherit (xenstore_transport) src version;
postPatch = ''
substituteInPlace cli/dune --replace 'libraries ' 'libraries camlp-streams '
'';
buildInputs = [ camlp-streams xenstore_transport xenstore lwt ];
meta = xenstore_transport.meta // {
description = "Command line tool for interfacing with xenstore";
};
}