1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/compilers/colm/default.nix
2017-04-23 18:08:39 -05:00

29 lines
736 B
Nix

{ stdenv, fetchurl, makeWrapper, gcc }:
stdenv.mkDerivation rec {
name = "colm-${version}";
version = "0.13.0.4";
src = fetchurl {
url = "http://www.colm.net/files/colm/${name}.tar.gz";
sha256 = "04xcb7w82x9i4ygxqla9n39y646n3jw626khdp5297z1dkxx1czx";
};
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;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ pSub ];
};
}