depot/third_party/nixpkgs/pkgs/development/ocaml-modules/xenstore-tool/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

17 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";
};
}