Skip to content

Commit

Permalink
ocamlPackages.dune-action-plugin: init at 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam authored and vbgl committed Aug 24, 2020
1 parent 41ae05a commit bc00ece
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pkgs/development/ocaml-modules/dune-action-plugin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{ lib, buildDunePackage, dune_2, dune-glob, dune-private-libs }:

buildDunePackage rec {
pname = "dune-action-plugin";
inherit (dune_2) src version;

useDune2 = true;

dontAddPrefix = true;

propagatedBuildInputs = [ dune-glob dune-private-libs ];

meta = with lib; {
inherit (dune_2.meta) homepage;
description = "API for writing dynamic Dune actions";
maintainers = [ maintainers.marsam ];
license = licenses.mit;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ let
then pkgs.dune_2
else throw "dune_2 is not available for OCaml ${ocaml.version}";

dune-action-plugin = callPackage ../development/ocaml-modules/dune-action-plugin { };

dune-build-info = callPackage ../development/ocaml-modules/dune-build-info { };

dune-configurator = callPackage ../development/ocaml-modules/dune-configurator { };
Expand Down

0 comments on commit bc00ece

Please sign in to comment.