forked from mirrors/nixpkgs
highlight: Update to 3.5
svn path=/nixpkgs/trunk/; revision=29064
This commit is contained in:
parent
eba95e013b
commit
9dd496c687
pkgs
|
@ -1,20 +1,19 @@
|
||||||
{ stdenv, fetchurl, getopt }:
|
{ stdenv, fetchurl, getopt, lua, boost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "highlight-2.6.10";
|
name = "highlight-3.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
|
||||||
sha256 = "18f2ki9pajxlp0aq4ingxj7m0cp7wlbc40xm25pnxc1yis9vlira";
|
sha256 = "0jpidd2fwn5mbrgzjmh53qvfmqqp6g0mah7i5zsf9bd71ga1lp28";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [getopt];
|
buildInputs = [ getopt lua boost ];
|
||||||
|
|
||||||
preBuild = ''
|
makeFlags = [
|
||||||
sed -e '/#include <map>/i#include <stdio.h>' -i src/re/Pattern.h
|
"PREFIX=$(out)"
|
||||||
'';
|
"conf_dir=$(out)/etc/highlight/"
|
||||||
|
];
|
||||||
makeFlags = ["PREFIX=$out"];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Source code highlighting tool";
|
description = "Source code highlighting tool";
|
||||||
|
|
|
@ -812,7 +812,9 @@ let
|
||||||
|
|
||||||
hevea = callPackage ../tools/typesetting/hevea { };
|
hevea = callPackage ../tools/typesetting/hevea { };
|
||||||
|
|
||||||
highlight = callPackage ../tools/text/highlight { };
|
highlight = callPackage ../tools/text/highlight {
|
||||||
|
lua = lua5;
|
||||||
|
};
|
||||||
|
|
||||||
host = callPackage ../tools/networking/host { };
|
host = callPackage ../tools/networking/host { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue