nixpkgs/pkgs/development/compilers/colm/default.nix

29 lines
741 B
Nix
Raw Normal View History

2017-05-29 09:32:58 +00:00
{ stdenv, fetchurl, makeWrapper, gcc, asciidoc }:
stdenv.mkDerivation rec {
name = "colm-${version}";
2018-05-24 20:10:58 +00:00
version = "0.13.0.6";
src = fetchurl {
url = "http://www.colm.net/files/colm/${name}.tar.gz";
2018-05-24 20:10:58 +00:00
sha256 = "0jd3qmqdm8yszy0yysbp3syk7pcbxvwzv9mibdwz7v9bv1nrai26";
};
2017-05-29 09:32:58 +00:00
nativeBuildInputs = [ makeWrapper asciidoc ];
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 = platforms.unix;
maintainers = with maintainers; [ pSub ];
};
}