diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix index 289c9b7b6580..c4cebcd8e29a 100644 --- a/pkgs/applications/science/math/mathematica/default.nix +++ b/pkgs/applications/science/math/mathematica/default.nix @@ -77,7 +77,7 @@ callPackage real-drv { homepage = "http://www.wolfram.com/mathematica/"; license = licenses.unfree; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - maintainers = with maintainers; [ herberteuler ]; + maintainers = with maintainers; [ herberteuler rafaelrc ]; platforms = [ "x86_64-linux" ]; }; } diff --git a/pkgs/applications/science/math/mathematica/generic.nix b/pkgs/applications/science/math/mathematica/generic.nix index 7cd699e58e3c..5064a3ddbdf4 100644 --- a/pkgs/applications/science/math/mathematica/generic.nix +++ b/pkgs/applications/science/math/mathematica/generic.nix @@ -158,9 +158,10 @@ in stdenv.mkDerivation { # Remove PATH restriction, root and avahi daemon checks, and hostname call sed -i ' - s/^PATH=/# &/ + s/^\s*PATH=/# &/ s/isRoot="false"/# &/ - s/^checkAvahiDaemon$/# &/ + s/^\s*checkAvahiDaemon$/:/ + s/^\s*installBundledInstall$/:/ s/`hostname`/""/ ' MathInstaller diff --git a/pkgs/applications/science/math/mathematica/versions.nix b/pkgs/applications/science/math/mathematica/versions.nix index 2bcce6c58c3d..74422621c7b4 100644 --- a/pkgs/applications/science/math/mathematica/versions.nix +++ b/pkgs/applications/science/math/mathematica/versions.nix @@ -7,6 +7,20 @@ */ let versions = [ + { + version = "13.3.1"; + lang = "en"; + language = "English"; + sha256 = "sha256-0+mYVGiF4Qn3eiLIoINSHVIqT8GtlBPFRYIOF+nHyQo="; + installer = "Mathematica_13.3.1_LINUX.sh"; + } + { + version = "13.3.1"; + lang = "en"; + language = "English"; + sha256 = "sha256-03R4s05fmTcZnlZIMSI6xlLER58MIoccoCr27F8BXOk="; + installer = "Mathematica_13.3.1_BNDL_LINUX.sh"; + } { version = "13.3.0"; lang = "en"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e1a6f286610f..15bc27fb50ce 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39285,10 +39285,19 @@ with pkgs; mathematica = callPackage ../applications/science/math/mathematica { }; + mathematica-webdoc = callPackage ../applications/science/math/mathematica { + webdoc = true; + }; + mathematica-cuda = callPackage ../applications/science/math/mathematica { cudaSupport = true; }; + mathematica-webdoc-cuda = callPackage ../applications/science/math/mathematica { + webdoc = true; + cudaSupport = true; + }; + mathematica9 = callPackage ../applications/science/math/mathematica { version = "9"; };