From 0edaaae3ffd117b88879bf655260654947ee2dc4 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Thu, 16 Feb 2023 14:26:09 +0100 Subject: sage: 9.8 -> 10.0 --- pkgs/applications/science/math/sage/sagelib.nix | 165 +++++++++++++----------- 1 file changed, 91 insertions(+), 74 deletions(-) (limited to 'pkgs/applications/science/math/sage/sagelib.nix') diff --git a/pkgs/applications/science/math/sage/sagelib.nix b/pkgs/applications/science/math/sage/sagelib.nix index 3d1c319a2f2..d8d5586e219 100644 --- a/pkgs/applications/science/math/sage/sagelib.nix +++ b/pkgs/applications/science/math/sage/sagelib.nix @@ -1,76 +1,83 @@ { sage-src , env-locations -, perl +, python , buildPythonPackage , m4 +, perl +, pkg-config +, sage-setup +, gd +, iml +, libpng +, readline , arb , blas -, lapack +, boost , brial , cliquer -, cypari2 -, cysignals -, cython -, lisp-compiler , eclib , ecm +, fflas-ffpack , flint -, gd +, gap , giac , givaro , glpk , gsl -, iml -, jinja2 -, libpng +, lapack , lcalc -, lrcalc -, gap +, libbraiding +, libhomfly +, libmpc , linbox +, lisp-compiler +, lrcalc , m4ri , m4rie -, memory-allocator -, libmpc , mpfi +, mpfr , ntl -, numpy , pari -, pkgconfig # the python module, not the pkg-config alias -, pkg-config , planarity , ppl -, primecountpy -, python -, ratpoints -, readline , rankwidth -, symmetrica -, zn_poly -, fflas-ffpack -, boost +, ratpoints , singular -, pip -, jupyter-core -, sage-setup -, libhomfly -, libbraiding -, gmpy2 -, pplpy , sqlite -, jupyter-client +, symmetrica +, cvxopt +, cypari2 +, cysignals +, cython +, fpylll +, gmpy2 +, importlib-metadata +, importlib-resources +, ipykernel +, ipython , ipywidgets +, jinja2 +, jupyter-client +, jupyter-core +, lrcalc-python +, matplotlib +, memory-allocator , mpmath +, networkx +, numpy +, pexpect +, pillow +, pip +, pkgconfig +, pplpy +, primecountpy +, ptyprocess +, requests , rpy2 -, fpylll , scipy +, sphinx , sympy -, matplotlib -, pillow -, ipykernel -, networkx -, ptyprocess -, lrcalc-python -, sphinx # TODO: this is in setup.cfg, should we override it? +, typing-extensions }: assert (!blas.isILP64) && (!lapack.isILP64); @@ -87,83 +94,93 @@ buildPythonPackage rec { nativeBuildInputs = [ iml + lisp-compiler + m4 perl - jupyter-core + pip # needed to query installed packages pkg-config sage-setup - pip # needed to query installed packages - lisp-compiler - m4 ]; buildInputs = [ gd - readline iml libpng + readline ]; propagatedBuildInputs = [ - cypari2 - jinja2 - numpy - pkgconfig - boost + # native dependencies (TODO: determine which ones need to be propagated) arb + blas + boost brial cliquer - lisp-compiler eclib ecm fflas-ffpack flint + gap giac givaro glpk gsl + lapack lcalc - gap + libbraiding + libhomfly libmpc linbox + lisp-compiler lrcalc m4ri m4rie - memory-allocator mpfi + mpfr ntl - blas - lapack pari planarity ppl - primecountpy rankwidth ratpoints singular + sqlite symmetrica - zn_poly - pip - cython + + # from src/sage/setup.cfg and requirements.txt + cvxopt + cypari2 cysignals - libhomfly - libbraiding + cython + fpylll gmpy2 - pplpy - sqlite - mpmath - rpy2 - scipy - sympy - matplotlib - pillow + importlib-metadata + importlib-resources ipykernel - fpylll - networkx - jupyter-client + ipython ipywidgets - ptyprocess + jinja2 + jupyter-client + jupyter-core lrcalc-python + matplotlib + memory-allocator + mpmath + networkx + numpy + pexpect + pillow + pip + pkgconfig + pplpy + primecountpy + ptyprocess + requests + rpy2 + scipy sphinx + sympy + typing-extensions ]; preBuild = '' -- cgit 1.4.1