2015-05-18 16:06:33 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, gcc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "colm-${version}";
|
2016-02-15 17:11:58 +01:00
|
|
|
version = "0.13.0.3";
|
2015-05-18 16:06:33 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.colm.net/files/colm/${name}.tar.gz";
|
2016-02-15 17:11:58 +01:00
|
|
|
sha256 = "0dadfsnkbxcrf5kihvncbprb6w64jz2myylfmj952gdmcsim4zj2";
|
2015-05-18 16:06:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|