2015-05-18 15:06:33 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, gcc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "colm-${version}";
|
2016-11-17 20:46:24 +00:00
|
|
|
version = "0.13.0.4";
|
2015-05-18 15:06:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.colm.net/files/colm/${name}.tar.gz";
|
2016-11-17 20:46:24 +00:00
|
|
|
sha256 = "04xcb7w82x9i4ygxqla9n39y646n3jw626khdp5297z1dkxx1czx";
|
2015-05-18 15:06:33 +01: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;
|
2017-04-21 05:44:25 +01:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
2015-05-18 15:06:33 +01:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|