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