1 {lib, stdenv, fetchurl}:
4 name = "libantlr3c-3.4";
6 url = "https://www.antlr3.org/download/C/libantlr3c-3.4.tar.gz";
7 sha256 ="0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa";
10 configureFlags = lib.optional stdenv.is64bit "--enable-64bit";
13 description = "C runtime libraries of ANTLR v3";
14 homepage = "https://www.antlr3.org/";
15 license = licenses.bsd3;
16 platforms = platforms.unix;
17 maintainers = with maintainers; [ vbgl ];
18 # The package failed to build with error:
19 # gcc: error: unrecognized command line option '-m64'
22 # https://gist.github.com/r-rmcgibbo/15bf2ca9b297e8357887e146076fff7d
23 # https://gist.github.com/r-rmcgibbo/a362535e4b174d4bfb68112503a49fcd
24 broken = stdenv.hostPlatform.isAarch64;