python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / pratter / default.nix
bloba44e815092ca0f4c5a6011553c01ebce86fa1f64
1 { lib
2 , fetchFromGitHub
3 , buildDunePackage
4 , camlp-streams
5 , alcotest
6 , qcheck
7 , qcheck-alcotest
8 }:
10 buildDunePackage rec {
11   version = "2.0.0";
12   pname = "pratter";
14   minimalOCamlVersion = "4.08";
16   src = fetchFromGitHub {
17     owner = "gabrielhdt";
18     repo = "pratter";
19     rev = version;
20     hash = "sha256-QEq8Zt2pfsRT04Zd+ugGKcHdzkqYcDDUg/iAFMMDdEE=";
21   };
23   propagatedBuildInputs = [ camlp-streams ];
25   checkInputs = [ alcotest qcheck qcheck-alcotest ];
26   doCheck = true;
28   meta = with lib; {
29     description = "An extended Pratt parser";
30     homepage = "https://github.com/gabrielhdt/pratter";
31     license = licenses.bsd3;
32     changelog = "https://github.com/gabrielhdt/pratter/raw/${version}/CHANGELOG.md";
33     maintainers = with maintainers; [ bcdarwin ];
34   };