Merge pull request #12431 from henrytill/racket-6.3

racket: 6.2.1 -> 6.3, add parameter to enable building docs
This commit is contained in:
Arseniy Seroka 2016-01-17 18:36:44 +03:00
commit a69192df2b

View File

@ -3,6 +3,7 @@
, glib, gmp, gtk, libffi, libjpeg, libpng
, libtool, mpfr, openssl, pango, poppler
, readline, sqlite
, disableDocs ? true
}:
let
@ -31,11 +32,11 @@ in
stdenv.mkDerivation rec {
name = "racket-${version}";
version = "6.2.1";
version = "6.3";
src = fetchurl {
url = "http://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
sha256 = "0555j63k7fs10iv0icmivlxpzgp6s7gwcbfddmbwxlf2rk80qhq0";
sha256 = "0f21vnads6wsrzimfja969gf3pkl60s0rdfrjf9s70lcy9x0jz4i";
};
FONTCONFIG_FILE = fontsConf;
@ -50,7 +51,8 @@ stdenv.mkDerivation rec {
cd src/build
'';
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" "--disable-docs"];
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" ]
++ stdenv.lib.optional disableDocs [ "--disable-docs" ];
configureScript = "../configure";