mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
mathics: remove package definiton
This commit is contained in:
parent
01684d6e9b
commit
9489dcb7ba
@ -1,50 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, django
|
||||
, python
|
||||
, cython
|
||||
, sympy
|
||||
, ply
|
||||
, mpmath
|
||||
, dateutil
|
||||
, colorama
|
||||
, six
|
||||
, pexpect
|
||||
}:
|
||||
|
||||
if (stdenv.lib.versionOlder django.version "1.8") ||
|
||||
(stdenv.lib.versionAtLeast django.version "1.9")
|
||||
then throw "mathics only supports django-1.8.x"
|
||||
else buildPythonPackage rec {
|
||||
pname = "mathics";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mathics";
|
||||
repo = "Mathics";
|
||||
rev = "v${version}";
|
||||
sha256 = "0xzz7j8xskj5y6as178mjmm0i2xbhd4q4mwmdnvghpd2aqq3qx1c";
|
||||
};
|
||||
|
||||
buildInputs = [ pexpect ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py --replace "sympy==0.7.6" "sympy"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn $out/bin $out
|
||||
patchPythonScript $out/${python.sitePackages}/mathics/manage.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ cython sympy django ply mpmath dateutil colorama six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A general-purpose computer algebra system";
|
||||
homepage = "http://www.mathics.org";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.benley ];
|
||||
};
|
||||
|
||||
}
|
@ -283,6 +283,7 @@ mapAliases ({
|
||||
manpages = man-pages; # added 2015-12-06
|
||||
mariadb-client = hiPrio mariadb.client; #added 2019.07.28
|
||||
matcha = throw "matcha was renamed to matcha-gtk-theme"; # added 2020-05-09
|
||||
mathics = throw "mathics has been removed from nixpkgs, as it's unmaintained"; # added 2020-08-15
|
||||
matrique = spectral; # added 2020-01-27
|
||||
mbedtls_1_3 = throw "mbedtls_1_3 is end of life, see https://tls.mbed.org/kb/how-to/upgrade-2.0"; # added 2019-12-08
|
||||
mess = mame; # added 2019-10-30
|
||||
|
@ -2112,8 +2112,6 @@ in
|
||||
|
||||
marlin-calc = callPackage ../tools/misc/marlin-calc {};
|
||||
|
||||
mathics = with python2Packages; toPythonApplication mathics;
|
||||
|
||||
masscan = callPackage ../tools/security/masscan {
|
||||
stdenv = gccStdenv;
|
||||
};
|
||||
|
@ -4742,8 +4742,6 @@ in {
|
||||
|
||||
markdown-macros = callPackage ../development/python-modules/markdown-macros { };
|
||||
|
||||
mathics = callPackage ../development/python-modules/mathics { };
|
||||
|
||||
matplotlib = let
|
||||
path = if isPy3k then ../development/python-modules/matplotlib/default.nix else
|
||||
../development/python-modules/matplotlib/2.nix;
|
||||
|
Loading…
Reference in New Issue
Block a user