about summary refs log tree commit diff
path: root/pkgs/development/tools/parsing
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2016-02-15 18:29:44 +0100
committerPascal Wittmann <mail@pascal-wittmann.de>2016-02-15 18:34:55 +0100
commit6d6f3311093386d1e2e45b4580ac2f0b8838477d (patch)
tree88c39d7a93c86b6f4e46f115df3d3f4c0181c32f /pkgs/development/tools/parsing
parent22bcfc6e9145e7419b499570795873169920708f (diff)
downloadnixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.tar
nixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.tar.gz
nixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.tar.bz2
nixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.tar.lz
nixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.tar.xz
nixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.tar.zst
nixlib-6d6f3311093386d1e2e45b4580ac2f0b8838477d.zip
ragel: 6.9 -> 7.0.0.6
Diffstat (limited to 'pkgs/development/tools/parsing')
-rw-r--r--pkgs/development/tools/parsing/ragel/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/tools/parsing/ragel/default.nix b/pkgs/development/tools/parsing/ragel/default.nix
index e55a2015a705..0b3844ef5e9b 100644
--- a/pkgs/development/tools/parsing/ragel/default.nix
+++ b/pkgs/development/tools/parsing/ragel/default.nix
@@ -1,21 +1,26 @@
-{stdenv, fetchurl, transfig, texLiveAggregationFun, texLive, texLiveExtra, ghostscript
-, build-manual ? false
+{stdenv, fetchurl, transfig, texLiveAggregationFun, texLive, texLiveExtra
+, ghostscript, colm,  build-manual ? false
 }:
 
 stdenv.mkDerivation rec {
   name = "ragel-${version}";
-  version = "6.9";
+  version = "7.0.0.6";
 
   src = fetchurl {
     url = "http://www.colm.net/files/ragel/${name}.tar.gz";
-    sha256 = "02k6rwh8cr95f1p5sjjr3wa6dilg06572xz1v71dk8awmc7vw1vf";
+    sha256 = "1ns3kbcvhinn4rwm54ajg49d1la8filxskl3rgbwws0irzw507vs";
   };
 
-  buildInputs = stdenv.lib.optional build-manual [ transfig ghostscript (texLiveAggregationFun { paths=[ texLive texLiveExtra ]; }) ];
+  buildInputs = stdenv.lib.optional build-manual [ transfig ghostscript
+    (texLiveAggregationFun { paths=[ texLive texLiveExtra ]; }) ];
    
   preConfigure = stdenv.lib.optional build-manual ''
     sed -i "s/build_manual=no/build_manual=yes/g" DIST
   '';
+
+  configureFlags = [ "--with-colm=${colm}" ];
+
+  doCheck = true;
   
   meta = with stdenv.lib; {
     homepage = http://www.complang.org/ragel;