~ruther/guix-local

389dd532a6989930741c14ea3b5cfde7e9495946 — vicvbcun 1 year, 4 months ago df69b89
gnu: Add sagemath-data-graphs.

* gnu/packages/sagemath.scm (sagemath-data-graphs): New variable.

Change-Id: I7c537aac21f43a8712fd6d542551f78c3ebaec68
Co-authored by: Vinicius Monego <monego@posteo.net>

Change-Id: I88f35ccf94cfe0d866ef57cb893844c8285d5138
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
1 files changed, 24 insertions(+), 0 deletions(-)

M gnu/packages/sagemath.scm
M gnu/packages/sagemath.scm => gnu/packages/sagemath.scm +24 -0
@@ 425,3 425,27 @@ generic Python interface.")
to be used by SageMath.")
    ;; Debian says GPLv2+.
    (license license:gpl2+)))

(define-public sagemath-data-graphs
  (package
    (name "sagemath-data-graphs")
    (version "20210214")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://mirrors.mit.edu/sage/spkg/upstream/"
                    "graphs/graphs-" version ".tar.bz2"))
              (sha256
               (base32
                "0h9p5wrxips51x6vpfiiaqzp9j004nwppzc9qc2iaqakk06pq8q7"))))
    (build-system copy-build-system)
    (arguments
     '(#:install-plan '(("." "share/graphs"))))
    (home-page "https://www.sagemath.org")
    (synopsis "Database of graphs")
    (description
     "This package contains databases of graphs.  It also includes the
@acronym{ISGCI, Information System on Graph Classes and their Inclusions}
database.")
    ;; Debian says GPLv2+.
    (license license:gpl2+)))