Skip to content

Instantly share code, notes, and snippets.

@tbenst
Created November 10, 2018 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbenst/436a69e117402f0a99e9bf8491c6de92 to your computer and use it in GitHub Desktop.
Save tbenst/436a69e117402f0a99e9bf8491c6de92 to your computer and use it in GitHub Desktop.
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "julia-binary-${version}";
version = "1.0.2";
src = fetchurl {
url = "https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.2-linux-x86_64.tar.gz";
sha256 = "0hpisary2n00vya6fxlfbzpkz2s82gi7lzgjsm3ari1wfm4kksg0";
};
/* dontBuild = true; */
installPhase = ''
cp -r $src $out
'';
phases = ["unpackPhase" "installPhase"];
meta = with stdenv.lib; {
description = "The Julia Programming Language - binary distribution";
homepage = https://julialang.org/;
license = licenses.mit;
maintainers = with maintainers; [ tbenst ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment