mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: pari-gp: Add seadata-small package.
* gnu/packages/algebra.scm (pari-seadata-small): New variable. (pari-gp)[phases]{install-galdata}: Rename to... {install-data}: ...this and also install the pari-seadata-small data. Change-Id: I348090dfce5ef52f132585cff3542e585c2309e3
This commit is contained in:
parent
a62ee289a5
commit
70231fe775
1 changed files with 11 additions and 1 deletions
|
@ -240,6 +240,15 @@ the real span of the lattice.")
|
|||
(base32
|
||||
"1pch6bk76f1i6cwwgm7hhxi5h71m52lqayp4mnyj0jmjk406bhdp"))))
|
||||
|
||||
(define pari-seadata-small
|
||||
;; version from 2009-06-18
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri "https://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-small.tgz")
|
||||
(sha256
|
||||
(base32
|
||||
"13qafribxwkz8h3haa0cng7arz0kh7398br4y7vqs9ib8w9yjnxz"))))
|
||||
|
||||
(define-public pari-gp
|
||||
(package
|
||||
(name "pari-gp")
|
||||
|
@ -265,9 +274,10 @@ the real span of the lattice.")
|
|||
(invoke "./Configure"
|
||||
"--mt=pthread"
|
||||
(string-append "--prefix=" #$output))))
|
||||
(add-after 'install 'install-galdata
|
||||
(add-after 'install 'install-data
|
||||
(lambda _
|
||||
(invoke "tar" "-xvf" #$pari-galdata)
|
||||
(invoke "tar" "-xvf" #$pari-seadata-small)
|
||||
(copy-recursively "data/" (string-append
|
||||
#$output
|
||||
"/share/pari")))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue