depot/third_party/nixpkgs/pkgs/development/compilers/julia/default.nix

79 lines
2.7 KiB
Nix

{ callPackage }:
let
juliaWithPackages = callPackage ../../julia-modules { };
wrapJulia = julia: julia.overrideAttrs (oldAttrs: {
passthru = (oldAttrs.passthru or { }) // {
withPackages = juliaWithPackages.override { inherit julia; };
};
});
in
{
julia_19-bin = wrapJulia (callPackage
(import ./generic-bin.nix {
version = "1.9.4";
sha256 = {
x86_64-linux = "07d20c4c2518833e2265ca0acee15b355463361aa4efdab858dad826cf94325c";
aarch64-linux = "541d0c5a9378f8d2fc384bb8595fc6ffe20d61054629a6e314fb2f8dfe2f2ade";
x86_64-darwin = "67eec264f6afc9e9bf72c0f62c84d91c2ebdfaed6a0aa11606e3c983d278b441";
aarch64-darwin = "67542975e86102eec95bc4bb7c30c5d8c7ea9f9a0b388f0e10f546945363b01a";
};
patches = [
# https://github.com/JuliaLang/julia/commit/f5eeba35d9bf20de251bb9160cc935c71e8b19ba
./patches/1.9-bin/0001-allow-skipping-internet-required-tests.patch
];
})
{ });
julia_110-bin = wrapJulia (callPackage
(import ./generic-bin.nix {
version = "1.10.4";
sha256 = {
x86_64-linux = "079f61757c3b5b40d2ade052b3cc4816f50f7ef6df668825772562b3746adff1";
aarch64-linux = "ae4ae6ade84a103cdf30ce91c8d4035a0ef51c3e2e66f90a0c13abeb4e100fc4";
x86_64-darwin = "259c18a5294dd41cc60117ecb9fc5a8b2f659807284903a65439fb9d3818c763";
aarch64-darwin = "97b88d7f9b5724118769f3a3bd259f8f7ada48cdecf3d584cf68162dd873dd10";
};
})
{ });
julia_111-bin = wrapJulia (callPackage
(import ./generic-bin.nix {
version = "1.11.1";
sha256 = {
x86_64-linux = "cca8d13dc4507e4f62a129322293313ee574f300d4df9e7db30b7b41c5f8a8f3";
aarch64-linux = "bd623ef3801c5a56103464d349c7901d5cc034405ad289332c67f1e8ecc05840";
x86_64-darwin = "59885de9310788c1ed12f41e7d2c2f05eabd314888cd105d299837b76a4a7240";
aarch64-darwin = "e09d13e1c6c98452e91e698220688dd784ec8e5367e9e6443099c5f9aa2add78";
};
})
{ });
julia_19 = wrapJulia (callPackage
(import ./generic.nix {
version = "1.9.4";
hash = "sha256-YYQ7lkf9BtOymU8yd6ZN4ctaWlKX2TC4yOO8DpN0ACQ=";
patches = [
./patches/1.9/0002-skip-failing-and-flaky-tests.patch
];
})
{ });
julia_110 = wrapJulia (callPackage
(import ./generic.nix {
version = "1.10.4";
hash = "sha256-8y5Sd/XYKmOCSILN6/rBWBmbuEgUw8AZo/7MNgFYYZE=";
patches = [
./patches/1.10/0002-skip-failing-and-flaky-tests.patch
];
})
{ });
julia_111 = wrapJulia (callPackage
(import ./generic.nix {
version = "1.11.1";
hash = "sha256-pJuATeboagP+Jsc/WIUeruH/JD1yBPK1rk28XB3CdY0=";
patches = [
./patches/1.11/0002-skip-failing-and-flaky-tests.patch
];
})
{ });
}