mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
ba54ba9316
where none of the executables match the package's `name` or `pname`, and one of the executables is the obvious `mainProgram`.
19 lines
368 B
Nix
19 lines
368 B
Nix
{ buildDunePackage, ocaml_gettext, dune-configurator, ounit }:
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gettext-stub";
|
|
|
|
inherit (ocaml_gettext) src version useDune2;
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ ocaml_gettext ];
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];
|
|
}
|