mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
ragel: 6.9 -> 7.0.0.6
This commit is contained in:
parent
22bcfc6e91
commit
6d6f331109
|
@ -1,21 +1,26 @@
|
||||||
{stdenv, fetchurl, transfig, texLiveAggregationFun, texLive, texLiveExtra, ghostscript
|
{stdenv, fetchurl, transfig, texLiveAggregationFun, texLive, texLiveExtra
|
||||||
, build-manual ? false
|
, ghostscript, colm, build-manual ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ragel-${version}";
|
name = "ragel-${version}";
|
||||||
version = "6.9";
|
version = "7.0.0.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.colm.net/files/ragel/${name}.tar.gz";
|
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 ''
|
preConfigure = stdenv.lib.optional build-manual ''
|
||||||
sed -i "s/build_manual=no/build_manual=yes/g" DIST
|
sed -i "s/build_manual=no/build_manual=yes/g" DIST
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = [ "--with-colm=${colm}" ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.complang.org/ragel;
|
homepage = http://www.complang.org/ragel;
|
||||||
|
|
Loading…
Reference in a new issue