2014-09-08 09:22:50 +01:00
|
|
|
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
|
|
|
|
|
2009-11-18 09:39:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-09-08 09:22:50 +01:00
|
|
|
name = "highlight-3.18";
|
2009-11-18 09:39:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
2014-09-08 09:22:50 +01:00
|
|
|
sha256 = "0jsq78qb75sawwggbpx5pdqxk00wgjr1a0la0w8wihmamsjzgijm";
|
2009-11-18 09:39:59 +00:00
|
|
|
};
|
|
|
|
|
2014-09-08 09:22:50 +01:00
|
|
|
buildInputs = [ getopt lua boost pkgconfig ];
|
2009-11-18 09:39:59 +00:00
|
|
|
|
2015-06-18 15:07:55 +01:00
|
|
|
preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight/"'';
|
2009-11-18 09:39:59 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Source code highlighting tool";
|
|
|
|
};
|
|
|
|
}
|