Add colm, a language for program analysis and transformation

This commit is contained in:
Pascal Wittmann 2015-05-18 16:06:33 +02:00
parent 04622fe3ba
commit 132570bace
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchurl, makeWrapper, gcc }:
stdenv.mkDerivation rec {
name = "colm-${version}";
version = "0.12.0";
src = fetchurl {
url = "http://www.colm.net/files/colm/${name}.tar.gz";
sha256 = "0kbfipxv3nvggd1a2nahk3jg22iifp2l7lkm55i5r7qkpms5sm3v";
};
buildInputs = [ makeWrapper ];
doCheck = true;
checkPhase = ''sh ./test/runtests.sh'';
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 ];
};
}

View File

@ -3413,6 +3413,8 @@ let
bigloo = callPackage ../development/compilers/bigloo { }; bigloo = callPackage ../development/compilers/bigloo { };
colm = callPackage ../development/compilers/colm { };
fetchegg = callPackage ../build-support/fetchegg { }; fetchegg = callPackage ../build-support/fetchegg { };
eggDerivation = callPackage ../development/compilers/chicken/eggDerivation.nix { }; eggDerivation = callPackage ../development/compilers/chicken/eggDerivation.nix { };