diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a1139d7c5cdd..9836c37be222 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -898,6 +898,8 @@ let gmic = callPackage ../tools/graphics/gmic { }; + mathics = pythonPackages.mathics; + mcrl = callPackage ../tools/misc/mcrl { }; mcrl2 = callPackage ../tools/misc/mcrl2 { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cdc5a9514e8c..cbe90c93eb58 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7752,6 +7752,41 @@ let }; + mathics = buildPythonPackage rec { + name = "mathics-${version}"; + version = "0.8"; + src = pkgs.fetchFromGitHub { + owner = "mathics"; + repo = "Mathics"; + rev = "v${version}"; + sha256 = "1hyrxnhxw35vn00k55hp9bkg8vg4dsphrpfg1yg4cn53y78rk1im"; + }; + + buildInputs = with self; [ pexpect ]; + + propagatedBuildInputs = with self; [ + argparse + cython + colorama + dateutil + django_1_6 + mpmath + readline + interruptingcow + ply + sqlite3 + sympy + ]; + + meta = { + description = "A general-purpose computer algebra system"; + homepage = http://www.mathics.org; + license = licenses.gpl3; + maintainers = [ maintainers.benley ]; + }; + }; + + matplotlib = callPackage ../development/python-modules/matplotlib/default.nix { stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv; enableGhostscript = true;