2011-09-06 19:10:08 +02:00
|
|
|
{ stdenv, fetchurl, getopt, lua, boost }:
|
2009-11-18 10:39:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-09-06 19:10:08 +02:00
|
|
|
name = "highlight-3.5";
|
2009-11-18 10:39:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
2011-09-06 19:10:08 +02:00
|
|
|
sha256 = "0jpidd2fwn5mbrgzjmh53qvfmqqp6g0mah7i5zsf9bd71ga1lp28";
|
2009-11-18 10:39:59 +01:00
|
|
|
};
|
|
|
|
|
2011-09-06 19:10:08 +02:00
|
|
|
buildInputs = [ getopt lua boost ];
|
2009-11-18 10:39:59 +01:00
|
|
|
|
2011-09-06 19:10:08 +02:00
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
"conf_dir=$(out)/etc/highlight/"
|
|
|
|
];
|
2009-11-18 10:39:59 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Source code highlighting tool";
|
|
|
|
};
|
|
|
|
}
|