nixpkgs/pkgs/development/ocaml-modules/rebez/default.nix
Malo Bourgon ba54ba9316 ocamlPackages: add meta.mainProgram to packages with multiple executables
where none of the executables match the package's `name` or `pname`, and
one of the executables is the obvious `mainProgram`.
2022-05-20 10:13:29 +02:00

23 lines
631 B
Nix

{ buildDunePackage, fetchFromGitHub, lib, reason }:
buildDunePackage rec {
pname = "rebez";
version = "unstable-2019-06-20";
src = fetchFromGitHub {
owner = "jchavarri";
repo = "rebez";
rev = "03fa3b707abb28fdd710eb9e57ba40d9cd6ae163";
sha256 = "sha256-khZSwtwW+mP/EvAvIZMQyOb6FgNR+gmzpBZoD9ZPkpY=";
};
nativeBuildInputs = [ reason ];
meta = with lib; {
description = "Cubic bezier implementation in Reason / OCaml";
homepage = "https://github.com/jchavarri/rebez/";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
mainProgram = "RebezApp.exe";
};
}