about summary refs log tree commit diff
path: root/pkgs/tools/text/highlight/default.nix
blob: 40a3bcf78ea5f48415d0e968c82f8b9870c9b37e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, getopt, lua, boost }:
        
stdenv.mkDerivation rec {
  name = "highlight-3.5";

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

  buildInputs = [ getopt lua boost ];

  makeFlags = [
    "PREFIX=$(out)"
    "conf_dir=$(out)/etc/highlight/"
  ];

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