julia: 0.5.1 -> 0.5.2

This commit is contained in:
Vincent Laporte 2017-07-25 07:05:07 +00:00
parent ace55359f1
commit efad0d5e3f

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, fetchurl { stdenv, fetchgit, fetchurl, fetchzip
# build tools # build tools
, gfortran, m4, makeWrapper, patchelf, perl, which, python2 , gfortran, m4, makeWrapper, patchelf, perl, which, python2
, runCommand , runCommand
@ -54,12 +54,12 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "julia"; pname = "julia";
version = "0.5.1"; version = "0.5.2";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchzip {
url = "https://github.com/JuliaLang/${pname}/releases/download/v${version}/${name}.tar.gz"; url = "https://github.com/JuliaLang/${pname}/releases/download/v${version}/${name}.tar.gz";
sha256 = "1a9m7hzzrwk71gvwwrd1p45s64yid61i41n95gm5pzbry6p9fpl0"; sha256 = "1616f53dj7xc0g2iys8qfbzal6dx55nswnws5g5r44dlbf4hcl0h";
}; };
prePatch = '' prePatch = ''
mkdir deps/srccache mkdir deps/srccache
@ -166,6 +166,7 @@ stdenv.mkDerivation rec {
preBuild = '' preBuild = ''
sed -e '/^install:/s@[^ ]*/doc/[^ ]*@@' -i Makefile sed -e '/^install:/s@[^ ]*/doc/[^ ]*@@' -i Makefile
sed -e '/[$](DESTDIR)[$](docdir)/d' -i Makefile sed -e '/[$](DESTDIR)[$](docdir)/d' -i Makefile
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
''; '';
postInstall = '' postInstall = ''