diff options
author | Shea Levy <shea@shealevy.com> | 2011-09-06 17:10:08 +0000 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2011-09-06 17:10:08 +0000 |
commit | 9dd496c687eff3a641d3ca528ca3292331217ad5 (patch) | |
tree | 39a66004362609ea08ff2baeb3007fe2acd989a8 /pkgs/tools/text/highlight | |
parent | eba95e013bb7f866924299f1a098d49942ebf3ee (diff) |
highlight: Update to 3.5
svn path=/nixpkgs/trunk/; revision=29064
Diffstat (limited to 'pkgs/tools/text/highlight')
-rw-r--r-- | pkgs/tools/text/highlight/default.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/tools/text/highlight/default.nix b/pkgs/tools/text/highlight/default.nix index 53f562eb10a4f..40a3bcf78ea5f 100644 --- a/pkgs/tools/text/highlight/default.nix +++ b/pkgs/tools/text/highlight/default.nix @@ -1,20 +1,19 @@ -{ stdenv, fetchurl, getopt }: +{ stdenv, fetchurl, getopt, lua, boost }: stdenv.mkDerivation rec { - name = "highlight-2.6.10"; + name = "highlight-3.5"; src = fetchurl { url = "http://www.andre-simon.de/zip/${name}.tar.bz2"; - sha256 = "18f2ki9pajxlp0aq4ingxj7m0cp7wlbc40xm25pnxc1yis9vlira"; + sha256 = "0jpidd2fwn5mbrgzjmh53qvfmqqp6g0mah7i5zsf9bd71ga1lp28"; }; - buildInputs = [getopt]; + buildInputs = [ getopt lua boost ]; - preBuild = '' - sed -e '/#include <map>/i#include <stdio.h>' -i src/re/Pattern.h - ''; - - makeFlags = ["PREFIX=$out"]; + makeFlags = [ + "PREFIX=$(out)" + "conf_dir=$(out)/etc/highlight/" + ]; meta = { description = "Source code highlighting tool"; |