From 6d6f3311093386d1e2e45b4580ac2f0b8838477d Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Mon, 15 Feb 2016 18:29:44 +0100 Subject: [PATCH] ragel: 6.9 -> 7.0.0.6 --- pkgs/development/tools/parsing/ragel/default.nix | 15 ++++++++++----- 1 file 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;