diff --git a/pkgs/development/ocaml-modules/pgsolver/default.nix b/pkgs/development/ocaml-modules/pgsolver/default.nix new file mode 100644 index 000000000000..5045cb6a0eeb --- /dev/null +++ b/pkgs/development/ocaml-modules/pgsolver/default.nix @@ -0,0 +1,23 @@ +{ 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 = { + homepage = https://github.com/tcsprojects/pgsolver; + description = "A collection of tools for generating, manipulating and - most of all - solving parity games"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ mgttlinger ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 525f417a5b4c..b5ec6ed335b2 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -577,6 +577,8 @@ let ounit = callPackage ../development/ocaml-modules/ounit { }; + pgsolver = callPackage ../development/ocaml-modules/pgsolver { }; + piqi = callPackage ../development/ocaml-modules/piqi { base64 = base64_2; };