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}";
|
2019-05-21 11:44:57 +02:00
|
|
|
version = "0.13.0.7";
|
2015-05-18 16:06:33 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.colm.net/files/colm/${name}.tar.gz";
|
2019-05-21 11:44:57 +02:00
|
|
|
sha256 = "0f76iri173l2wja2v7qrwmf958cqwh5g9x4bhj2z8wknmlla6gz4";
|
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;
|
2018-01-05 20:10:08 +01:00
|
|
|
platforms = platforms.unix;
|
2015-05-18 16:06:33 +02:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|