linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / libantlr3c / default.nix
blob6cbf1d204376430fa6552ca70ee24cc310e0f8fb
1 {lib, stdenv, fetchurl}:
3 stdenv.mkDerivation {
4   name = "libantlr3c-3.4";
5   src = fetchurl {
6     url = "https://www.antlr3.org/download/C/libantlr3c-3.4.tar.gz";
7     sha256 ="0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa";
8   };
10   configureFlags = lib.optional stdenv.is64bit "--enable-64bit";
12   meta = with lib; {
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'
20     #
21     # See:
22     # https://gist.github.com/r-rmcgibbo/15bf2ca9b297e8357887e146076fff7d
23     # https://gist.github.com/r-rmcgibbo/a362535e4b174d4bfb68112503a49fcd
24     broken = stdenv.hostPlatform.isAarch64;
25   };