mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03: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" ];
|
|
}
|