summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-02-23 17:36:32 +0000
committerLudovic Courtès <ludo@gnu.org>2011-02-23 17:36:32 +0000
commit20111bb05ac108ba2c151646664ba7201cc480a2 (patch)
tree83d2d2faac3614d40aec20496cb453925eb4b417 /pkgs/tools/text
parentf1f647e6fc4a9642839c6bd5516f8e4ddf8adeaf (diff)
GNU Source-Highlight 3.1.4.
svn path=/nixpkgs/trunk/; revision=26079
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/source-highlight/default.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/tools/text/source-highlight/default.nix b/pkgs/tools/text/source-highlight/default.nix
index 35dc7a8a8e6e5..ae46d212f0165 100644
--- a/pkgs/tools/text/source-highlight/default.nix
+++ b/pkgs/tools/text/source-highlight/default.nix
@@ -2,27 +2,31 @@
 
 let
   name = "source-highlight";
-  version = "3.1.3";
+  version = "3.1.4";
 in
 stdenv.mkDerivation {
   name = "${name}-${version}";
 
   src = fetchurl {
       url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
-      sha256 = "2d819f2ffdc8bb23a87635bdfbc51545db22605a8e544f66f86054b8075af0b5";
+      sha256 = "1jd30ansx2pld196lik6r85aifdhd0cav701vasf4ws8kc8zkcxc";
     };
 
+  # Help it find Boost::Regex.
+  preConfigure =
+    '' export ax_cv_boost_regex=yes
+       export link_regex=yes
+       export BOOST_REGEX_LIB=-lboost_regex
+    '';
+
   buildInputs = [boost];
-  doCheck = false;		# The test suite fails with a trivial
-				# error, so I'll disable it for now.
-				# Whoever bumps this build to the next
-				# version, please re-enable it though!
+  doCheck = true;
 
   meta = {
-    description = "render source code with syntax highlighting";
+    description = "GNU Source-Highlight, source code renderer with syntax highlighting";
     homepage = "http://www.gnu.org/software/src-highlite/";
     license = "GPLv3+";
-    maintainers = [ ];
+    maintainers = [ stdenv.lib.maintainers.ludo ];
     platforms = stdenv.lib.platforms.all;
     longDescription =
       ''