1 { lib, stdenv, fetchurl, jdk }:
3 stdenv.mkDerivation rec {
7 url = "https://www.antlr2.org/download/antlr-${version}.tar.gz";
8 sha256 = "1ffvcwdw73id0dk6pj2mlxjvbg0662qacx4ylayqcxgg381fnfl5";
10 patches = [ ./2.7.7-fixes.patch ];
11 buildInputs = [ jdk ];
14 description = "Powerful parser generator";
16 ANTLR (ANother Tool for Language Recognition) is a powerful parser
17 generator for reading, processing, executing, or translating structured
18 text or binary files. It's widely used to build languages, tools, and
19 frameworks. From a grammar, ANTLR generates a parser that can build and
22 homepage = "https://www.antlr.org/";
23 license = licenses.bsd3;
24 platforms = platforms.unix;