about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/dune-build-info/default.nix
blob: 9eb7afa2c408c0f4b19d7bd2a843422897a0628a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, buildDunePackage, dune_2, dune-action-plugin }:

buildDunePackage rec {
  pname = "dune-build-info";
  inherit (dune_2) src version patches;

  useDune2 = true;

  dontAddPrefix = true;

  buildInputs = [ dune-action-plugin ];

  meta = with lib; {
    inherit (dune_2.meta) homepage;
    description = "Embed build information inside executables";
    maintainers = [ maintainers.bcdarwin ];
    license = licenses.mit;
  };
}