2014-09-08 10:22:50 +02:00
|
|
|
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
|
|
|
|
|
2009-11-18 10:39:59 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-05-03 04:33:49 +02:00
|
|
|
name = "highlight-${version}";
|
|
|
|
version = "3.28";
|
2009-11-18 10:39:59 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
2016-05-03 04:33:49 +02:00
|
|
|
sha256 = "1kg73isgz3czb1k6ccajqzifahr3zs9ci8168k0dlj31j1nlndin";
|
2009-11-18 10:39:59 +01:00
|
|
|
};
|
|
|
|
|
2014-09-08 10:22:50 +02:00
|
|
|
buildInputs = [ getopt lua boost pkgconfig ];
|
2009-11-18 10:39:59 +01:00
|
|
|
|
2015-06-18 16:07:55 +02:00
|
|
|
preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight/"'';
|
2009-11-18 10:39:59 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Source code highlighting tool";
|
|
|
|
};
|
|
|
|
}
|