2017-05-29 11:32:58 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, gcc, asciidoc }:
|
2015-05-18 16:06:33 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "colm-${version}";
|
2017-05-29 11:32:58 +02:00
|
|
|
version = "0.13.0.5";
|
2015-05-18 16:06:33 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.colm.net/files/colm/${name}.tar.gz";
|
2017-05-29 11:32:58 +02:00
|
|
|
sha256 = "1320bx96ycd1xwww137cixrb983838wnrgkfsym8x5bnf5kj9rik";
|
2015-05-18 16:06:33 +02:00
|
|
|
};
|
|
|
|
|
2017-05-29 11:32:58 +02:00
|
|
|
nativeBuildInputs = [ makeWrapper asciidoc ];
|
2015-05-18 16:06:33 +02:00
|
|
|
|
|
|
|
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;
|
2017-04-21 06:44:25 +02:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
2015-05-18 16:06:33 +02:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|