ocamlPackages.dune-rpc: init at ${dune_3.version}

main
Guillaume Girol 2 years ago
parent 43dc4612b0
commit 4b55b3809e
  1. 23
      pkgs/development/ocaml-modules/dune-rpc/default.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

@ -0,0 +1,23 @@
{ lib, buildDunePackage, dune_3, stdune, ordering, pp, xdg, dyn }:
buildDunePackage rec {
pname = "dune-rpc";
inherit (dune_3) src version;
duneVersion = "3";
dontAddPrefix = true;
buildInputs = [ stdune ordering pp xdg dyn ];
preBuild = ''
rm -r vendor/csexp
'';
meta = with lib; {
description = "Library to connect and control a running dune instance";
inherit (dune_3.meta) homepage;
maintainers = with lib.maintainers; [ ];
license = licenses.mit;
};
}

@ -330,6 +330,8 @@ let
inherit (pkgs) opam git mercurial coreutils gnutar bzip2;
};
dune-rpc = callPackage ../development/ocaml-modules/dune-rpc { };
dune-site = callPackage ../development/ocaml-modules/dune-site { };
duration = callPackage ../development/ocaml-modules/duration { };

Loading…
Cancel
Save