1{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 name = "highlight-3.18";
5
6 src = fetchurl {
7 url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
8 sha256 = "0jsq78qb75sawwggbpx5pdqxk00wgjr1a0la0w8wihmamsjzgijm";
9 };
10
11 buildInputs = [ getopt lua boost pkgconfig ];
12
13 preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight/"'';
14
15 meta = {
16 description = "Source code highlighting tool";
17 };
18}