git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.dune-action-plugin: init at 2.7.0
commitbc00ecedfa709f4fa91d445dd76ecd792cb2c728 authorMario Rodas <marsam@users.noreply.github.com> dateThu 20 Aug 2020, 04:21 (6 years ago) parent41ae05a
2 files changed+21
pkgs/development/ocaml-modules/dune-action-plugin/default.nix+19 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/dune-action-plugin/default.nixnew file+19
@@ -0,0 +1,19 @@
1+{ lib, buildDunePackage, dune_2, dune-glob, dune-private-libs }:
2+
3+buildDunePackage rec {
4+ pname = "dune-action-plugin";
5+ inherit (dune_2) src version;
6+
7+ useDune2 = true;
8+
9+ dontAddPrefix = true;
10+
11+ propagatedBuildInputs = [ dune-glob dune-private-libs ];
12+
13+ meta = with lib; {
14+ inherit (dune_2.meta) homepage;
15+ description = "API for writing dynamic Dune actions";
16+ maintainers = [ maintainers.marsam ];
17+ license = licenses.mit;
18+ };
19+}
pkgs/top-level/ocaml-packages.nix+2
@@ -226,6 +226,8 @@ let
226226 then pkgs.dune_2
227227 else throw "dune_2 is not available for OCaml ${ocaml.version}";
228228
229+ dune-action-plugin = callPackage ../development/ocaml-modules/dune-action-plugin { };
230+
229231 dune-build-info = callPackage ../development/ocaml-modules/dune-build-info { };
230232
231233 dune-configurator = callPackage ../development/ocaml-modules/dune-configurator { };