2009-11-18 10:39:59 +01:00
|
|
|
{ stdenv, fetchurl, getopt }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "highlight-2.6.10";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
|
|
|
sha256 = "18f2ki9pajxlp0aq4ingxj7m0cp7wlbc40xm25pnxc1yis9vlira";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [getopt];
|
|
|
|
|
2010-02-21 09:24:00 +01:00
|
|
|
preBuild = ''
|
|
|
|
sed -e '/#include <map>/i#include <stdio.h>' -i src/re/Pattern.h
|
|
|
|
'';
|
|
|
|
|
2009-11-18 10:39:59 +01:00
|
|
|
makeFlags = ["PREFIX=$out"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Source code highlighting tool";
|
|
|
|
};
|
|
|
|
}
|