11 # N.B. Versions in this list should be ordered from newest to oldest.
17 sha256 = "1kxdvm3i7nn3ws784y972h2br1n0y82kkkjvz7c5llssv6d3pgj8";
18 installer = "WolframEngine_14.1.0_LIN.sh";
24 sha256 = "96106ac8ed6d0e221a68d846117615c14025320f927e5e0ed95b1965eda68e31";
25 installer = "WolframEngine_13.3.0_LINUX.sh";
31 sha256 = "1xvg1n64iq52jxnk9y551m5iwkkz6cxzwyw28h8d0kq36aaiky24";
32 installer = "WolframEngine_13.2.0_LINUX.sh";
38 sha256 = "1659kyp38a8xknic95pynx9fsgn96i8jn9lnk89pc8n6vydw1460";
39 installer = "WolframEngine_13.1.0_LINUX.sh";
45 sha256 = "1rrxi7d51m02407k719fq829jzanh550wr810i22n3irhk8axqga";
46 installer = "WolframEngine_13.0.1_LINUX.sh";
52 sha256 = "10cpwllz9plxz22iqdh6xgkxqphl9s9nq8ax16pafjll6j9kqy1q";
53 installer = "WolframEngine_13.0.0_LINUX.sh";
66 name = "wolfram-engine-${version}" + lib.optionalString (lang != "en") "-${lang}";
70 This nix expression requires that ${installer} is
71 already part of the store. Download the file from
72 https://www.wolfram.com/engine/ and add it to the nix store
73 with nix-store --add-fixed sha256 <FILE>.
80 if majorVersion == null then
81 lib.elemAt (builtins.splitVersion (lib.elemAt allVersions 0).version) 0
84 maxVersion = toString (1 + builtins.fromJSON minVersion);
87 l: (l.lang == lang && l.version >= minVersion && l.version < maxVersion)
88 ) (throw "Version ${minVersion} in language ${lang} not supported") allVersions