Add colm, a language for program analysis and transformation
This commit is contained in:
parent
04622fe3ba
commit
132570bace
28
pkgs/development/compilers/colm/default.nix
Normal file
28
pkgs/development/compilers/colm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -3413,6 +3413,8 @@ let
|
||||
|
||||
bigloo = callPackage ../development/compilers/bigloo { };
|
||||
|
||||
colm = callPackage ../development/compilers/colm { };
|
||||
|
||||
fetchegg = callPackage ../build-support/fetchegg { };
|
||||
|
||||
eggDerivation = callPackage ../development/compilers/chicken/eggDerivation.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user