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

stdenv.mkDerivation rec {
  name = "highlight-${version}";
  version = "3.28";

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

  buildInputs = [ getopt lua boost pkgconfig ];

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

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