at 24.05-pre 36 lines 798 B view raw
1{ lib 2, fetchFromGitHub 3, buildDunePackage 4, camlp-streams 5, alcotest 6, qcheck 7, qcheck-alcotest 8}: 9 10buildDunePackage rec { 11 version = "2.0.0"; 12 pname = "pratter"; 13 14 minimalOCamlVersion = "4.08"; 15 duneVersion = "3"; 16 17 src = fetchFromGitHub { 18 owner = "gabrielhdt"; 19 repo = "pratter"; 20 rev = version; 21 hash = "sha256-QEq8Zt2pfsRT04Zd+ugGKcHdzkqYcDDUg/iAFMMDdEE="; 22 }; 23 24 propagatedBuildInputs = [ camlp-streams ]; 25 26 checkInputs = [ alcotest qcheck qcheck-alcotest ]; 27 doCheck = true; 28 29 meta = with lib; { 30 description = "An extended Pratt parser"; 31 homepage = "https://github.com/gabrielhdt/pratter"; 32 license = licenses.bsd3; 33 changelog = "https://github.com/gabrielhdt/pratter/raw/${version}/CHANGELOG.md"; 34 maintainers = with maintainers; [ bcdarwin ]; 35 }; 36}