3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/colm/default.nix
Jan Tojnar 845632557f
colm: loosen platform restrictions
Seems to build on aarch64 and i686 Linux.
2018-01-05 20:10:13 +01:00

29 lines
741 B
Nix

{ stdenv, fetchurl, makeWrapper, gcc, asciidoc }:
stdenv.mkDerivation rec {
name = "colm-${version}";
version = "0.13.0.5";
src = fetchurl {
url = "http://www.colm.net/files/colm/${name}.tar.gz";
sha256 = "1320bx96ycd1xwww137cixrb983838wnrgkfsym8x5bnf5kj9rik";
};
nativeBuildInputs = [ makeWrapper asciidoc ];
doCheck = true;
postInstall = ''
wrapProgram $out/bin/colm \
--prefix PATH ":" ${gcc}/bin
'';
meta = with stdenv.lib; {
description = "A programming language for the analysis and transformation of computer languages";
homepage = http://www.colm.net/open-source/colm;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ pSub ];
};
}