ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / ocaml-modules / pratter / default.nix
blobdcaead619d9816e2e862f524435807149090a578
2   lib,
3   fetchFromGitHub,
4   buildDunePackage,
5   camlp-streams,
6   alcotest,
7   qcheck,
8   qcheck-alcotest,
9 }:
11 buildDunePackage rec {
12   version = "2.0.0";
13   pname = "pratter";
15   minimalOCamlVersion = "4.08";
16   duneVersion = "3";
18   src = fetchFromGitHub {
19     owner = "gabrielhdt";
20     repo = "pratter";
21     rev = version;
22     hash = "sha256-QEq8Zt2pfsRT04Zd+ugGKcHdzkqYcDDUg/iAFMMDdEE=";
23   };
25   propagatedBuildInputs = [ camlp-streams ];
27   checkInputs = [
28     alcotest
29     qcheck
30     qcheck-alcotest
31   ];
32   doCheck = true;
34   meta = with lib; {
35     description = "Extended Pratt parser";
36     homepage = "https://github.com/gabrielhdt/pratter";
37     license = licenses.bsd3;
38     changelog = "https://github.com/gabrielhdt/pratter/raw/${version}/CHANGELOG.md";
39     maintainers = with maintainers; [ bcdarwin ];
40   };