3
0
Fork 0
forked from mirrors/nixpkgs

julia: add some version info to passthru, will be used by julia2nix

This commit is contained in:
Rob Vermaas 2018-06-04 15:06:33 +02:00
parent 19332e4d52
commit c548814b81
No known key found for this signature in database
GPG key ID: 6B726FB2EE6F4255

View file

@ -50,11 +50,16 @@ let
url = "mirror://pypi/v/virtualenv/virtualenv-${virtualenvVersion}.tar.gz";
sha256 = "06fw4liazpx5vf3am45q2pdiwrv0id7ckv7n6zmpml29x6vkzmkh";
};
majorVersion = "0";
minorVersion = "6";
maintenanceVersion = "2";
version = "${majorVersion}.${minorVersion}.${maintenanceVersion}";
in
stdenv.mkDerivation rec {
pname = "julia";
version = "0.6.2";
inherit version;
name = "${pname}-${version}";
src = fetchzip {
@ -183,6 +188,11 @@ stdenv.mkDerivation rec {
done
'';
passthru = {
inherit majorVersion minorVersion maintenanceVersion;
site = "share/julia/site/v${majorVersion}.${minorVersion}";
};
meta = {
description = "High-level performance-oriented dynamical language for technical computing";
homepage = https://julialang.org/;