nixpkgs/pkgs/development/ocaml-modules/pgsolver/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

25 lines
724 B
Nix

{ lib, fetchFromGitHub, buildOasisPackage, ounit, tcslib, ocaml-sat-solvers }:
buildOasisPackage rec {
pname = "pgsolver";
version = "4.1";
src = fetchFromGitHub {
owner = "tcsprojects";
repo = "pgsolver";
rev = "v${version}";
sha256 = "16skrn8qql9djpray25xv66rjgfl20js5wqnxyq1763nmyizyj8a";
};
buildInputs = [ ounit ];
propagatedBuildInputs = [ tcslib ocaml-sat-solvers ];
meta = {
description = "A collection of tools for generating, manipulating and - most of all - solving parity games";
homepage = "https://github.com/tcsprojects/pgsolver";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ mgttlinger ];
mainProgram = "pgsolver-bin";
};
}