7 stdenv.mkDerivation rec {
11 url = "https://www.antlr3.org/download/C/libantlr3c-${version}.tar.gz";
12 sha256 = "0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa";
16 lib.optional stdenv.hostPlatform.is64bit "--enable-64bit"
17 # libantlr3c wrongly emits the abi flags -m64 and -m32 which imply x86 archs
18 # https://github.com/antlr/antlr3/issues/205
19 ++ lib.optional (!stdenv.hostPlatform.isx86) "--disable-abiflags";
22 description = "C runtime libraries of ANTLR v3";
23 homepage = "https://www.antlr3.org/";
24 license = licenses.bsd3;
25 platforms = platforms.unix;
26 maintainers = with maintainers; [ vbgl ];