summary refs log tree commit diff
path: root/pkgs/tools/text/highlight/default.nix
blob: 585f501e1fcda681a1c28780366df2721ce2ee50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:

stdenv.mkDerivation rec {
  name = "highlight-3.18";

  src = fetchurl {
    url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
    sha256 = "0jsq78qb75sawwggbpx5pdqxk00wgjr1a0la0w8wihmamsjzgijm";
  };

  buildInputs = [ getopt lua boost pkgconfig ];

  preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight"'';

  meta = {
    description = "Source code highlighting tool";
  };
}