ragel: 6.9 -> 7.0.0.6

This commit is contained in:
Pascal Wittmann 2016-02-15 18:29:44 +01:00
parent 22bcfc6e91
commit 6d6f331109

View file

@ -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;