summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorMauricio Collares <mauricio@collares.org>2022-05-20 11:03:25 -0700
committerMauricio Collares <mauricio@collares.org>2022-05-20 11:03:25 -0700
commit727e5a14735d5df31d5b6a4e7ec10a4ea1d02834 (patch)
treefe1c5b91bd4d04302f9231485703eb07a561f7ac /pkgs/applications/science/math
parent21ae98f5f09610dd241d53269993f8fe8a2a49a7 (diff)
downloadnixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.tar
nixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.tar.gz
nixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.tar.bz2
nixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.tar.lz
nixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.tar.xz
nixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.tar.zst
nixpkgs-727e5a14735d5df31d5b6a4e7ec10a4ea1d02834.zip
sageWithDoc: cleanup sagedoc.nix
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/sage/default.nix3
-rw-r--r--pkgs/applications/science/math/sage/sagedoc.nix29
2 files changed, 2 insertions, 30 deletions
diff --git a/pkgs/applications/science/math/sage/default.nix b/pkgs/applications/science/math/sage/default.nix
index 84b511de8fc..44ae4041121 100644
--- a/pkgs/applications/science/math/sage/default.nix
+++ b/pkgs/applications/science/math/sage/default.nix
@@ -78,8 +78,7 @@ let
 
   # The documentation for sage, building it takes a lot of ram.
   sagedoc = callPackage ./sagedoc.nix {
-    inherit sage-with-env;
-    inherit python3 maxima jupyter-kernel-specs;
+    inherit sage-with-env jupyter-kernel-specs;
   };
 
   # sagelib with added wrappers and a dependency on sage-tests to make sure thet tests were run.
diff --git a/pkgs/applications/science/math/sage/sagedoc.nix b/pkgs/applications/science/math/sage/sagedoc.nix
index 8573bc27ae0..650b6d3b141 100644
--- a/pkgs/applications/science/math/sage/sagedoc.nix
+++ b/pkgs/applications/science/math/sage/sagedoc.nix
@@ -2,10 +2,6 @@
 , sage-with-env
 , python3
 , jupyter-kernel-specs
-, maxima
-, tachyon
-, jmol
-, cddlib
 }:
 
 stdenv.mkDerivation rec {
@@ -13,30 +9,7 @@ stdenv.mkDerivation rec {
   pname = "sagedoc";
   src = sage-with-env.env.lib.src;
 
-
-  # Building the documentation has many dependencies, because all documented
-  # modules are imported and because matplotlib is used to produce plots.
-  buildInputs = [
-    sage-with-env
-    python3
-    maxima
-    tachyon
-    jmol
-    cddlib
-  ] ++ (with python3.pkgs; [
-    sage-docbuild
-    psutil
-    future
-    sphinx
-    scipy
-    sympy
-    matplotlib
-    pillow
-    networkx
-    ipykernel
-    ipywidgets
-    jupyter-client
-  ]);
+  strictDeps = true;
 
   unpackPhase = ''
     export SAGE_DOC_OVERRIDE="$PWD/share/doc/sage"