aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/dune-action-plugin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/dune-action-plugin/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/dune-action-plugin/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/dune-action-plugin/default.nix b/nixpkgs/pkgs/development/ocaml-modules/dune-action-plugin/default.nix
new file mode 100644
index 00000000000..65c55da6e3b
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/dune-action-plugin/default.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage, dune_2, dune-glob, dune-private-libs }:
+
+buildDunePackage rec {
+ pname = "dune-action-plugin";
+ inherit (dune_2) src version patches;
+
+ 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;
+ };
+}