highlight: update to version 3.18 to fix build errors with Lua 5.2
This commit is contained in:
parent
0487521ab2
commit
ff85b53c5f
@ -1,19 +1,16 @@
|
|||||||
{ stdenv, fetchurl, getopt, lua, boost }:
|
{ stdenv, fetchurl, getopt, lua, boost, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "highlight-3.9";
|
name = "highlight-3.18";
|
||||||
|
|
||||||
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 = "1vysj34zz8gk5yhlzm7g6lbphb8y6zfbd9smfgsgwkyawfargrja";
|
sha256 = "0jsq78qb75sawwggbpx5pdqxk00wgjr1a0la0w8wihmamsjzgijm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ getopt lua boost ];
|
buildInputs = [ getopt lua boost pkgconfig ];
|
||||||
|
|
||||||
makeFlags = [
|
preConfigure = ''makeFlags="PREFIX=$out conf_dir=$out/etc/highlight"'';
|
||||||
"PREFIX=$(out)"
|
|
||||||
"conf_dir=$(out)/etc/highlight/"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Source code highlighting tool";
|
description = "Source code highlighting tool";
|
||||||
|
Loading…
Reference in New Issue
Block a user