11 stdenv.mkDerivation rec {
16 url = "https://www.colm.net/files/colm/${pname}-${version}.tar.gz";
17 sha256 = "0f76iri173l2wja2v7qrwmf958cqwh5g9x4bhj2z8wknmlla6gz4";
20 patches = [ ./cross-compile.patch ];
28 env = lib.optionalAttrs stdenv.cc.isGNU {
29 NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion";
35 wrapProgram $out/bin/colm \
36 --prefix PATH ":" ${gcc}/bin
40 description = "Programming language for the analysis and transformation of computer languages";
42 homepage = "http://www.colm.net/open-source/colm";
43 license = licenses.gpl2;
44 platforms = platforms.unix;
45 maintainers = with maintainers; [ pSub ];