depot/third_party/nixpkgs/pkgs/development/ocaml-modules/xenstore-tool/default.nix

18 lines
452 B
Nix
Raw Normal View History

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