diff mbox series

[bug#56729,RFC,v2,28/29] gnu: Add sagemath-with-dependencies.

Message ID 39297a78b98e2e63b7a52a738566390da90e2174.1659973115.git.guix@ikherbers.com
State New
Headers show
Series Add sagemath. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

vicvbcun Aug. 8, 2022, 3:46 p.m. UTC
* gnu/packages/sagemath.scm (sagemath-with-dependencies): New variable.
---
 gnu/packages/sagemath.scm | 62 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index cf48182047..af0aad04dc 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -38,7 +38,9 @@  (define-module (gnu packages sagemath)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bdw-gc)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages commencement)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages graph)
   #:use-module (gnu packages image)
@@ -49,6 +51,7 @@  (define-module (gnu packages sagemath)
   #:use-module (gnu packages popt)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-xyz))
 
 
@@ -906,3 +909,62 @@  (define-public sagemath-just-build
 power through a common, Python-based language or directly via interfaces or
 wrappers.")
     (license license:gpl3)))
+
+;;; this propagates all dependencies not needed to build sagemath
+(define-public sagemath-with-dependencies
+  (package
+    (name "sagemath-with-dependencies")
+    (version "9.6")
+    (source #f)
+    (build-system trivial-build-system)
+    (arguments
+     (list #:modules '((guix build utils))
+           #:builder #~(begin
+                         (use-modules (guix build utils))
+
+                         (mkdir-p #$output))))
+    (propagated-inputs (list cddlib
+                             ecl
+                             eclib
+                             flint
+                             flintqs
+                             gap
+                             gap
+                             gcc-toolchain
+                             gfan
+                             gfortran-toolchain
+                             giac
+                             gmp-ecm
+                             gsl
+                             lcalc
+                             maxima
+                             mpfr
+                             nauty
+                             ntl
+                             openblas
+                             palp
+                             pari-galdata
+                             pari-gp
+                             pkg-config
+                             python-fpylll
+                             python-ipython
+                             python-ipywidgets
+                             python-lrcalc
+                             python-networkx
+                             python-pkgconfig
+                             python-primecountpy
+                             python-scipy
+                             python-sympy
+                             sagemath-data-combinatorial-designs
+                             sagemath-data-conway-polynomials
+                             sagemath-data-elliptic-curves
+                             sagemath-data-graphs
+                             sagemath-data-polytopes-db
+                             sagemath-just-build
+                             singular
+                             tachyon
+                             xdg-utils))
+    (home-page "")
+    (synopsis "")
+    (description "")
+    (license #f)))