diff --git a/pkgs/development/ocaml-modules/yuujinchou/default.nix b/pkgs/development/ocaml-modules/yuujinchou/default.nix new file mode 100644 index 000000000000..5a78809d9099 --- /dev/null +++ b/pkgs/development/ocaml-modules/yuujinchou/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchFromGitHub, buildDunePackage, qcheck-alcotest }: + +buildDunePackage rec { + pname = "yuujinchou"; + version = "2.0.0"; + + minimalOCamlVersion = "4.12"; + + src = fetchFromGitHub { + owner = "RedPRL"; + repo = pname; + rev = version; + sha256 = "sha256:1nhz44cyipy922anzml856532m73nn0g7iwkg79yzhq6yb87109w"; + }; + + doCheck = true; + checkInputs = [ qcheck-alcotest ]; + + meta = { + description = "Name pattern combinators"; + inherit (src.meta) homepage; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.vbgl ]; + }; +} + diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index e61eedf151ec..546c37149f70 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1457,6 +1457,8 @@ let yuscii = callPackage ../development/ocaml-modules/yuscii { }; + yuujinchou = callPackage ../development/ocaml-modules/yuujinchou { }; + z3 = callPackage ../development/ocaml-modules/z3 { inherit (pkgs) z3; };