gnu: glpk: Update to 5.0.

* gnu/packages/maths.scm (glpk): Update to 5.0.
(glpk-4.65): New variable.
* gnu/packages/algebra.scm (giac)[inputs]: Replace glpk with glpk-4.
This commit is contained in:
Efraim Flashner 2020-12-17 21:45:54 +02:00
parent 5686f5d7cd
commit 885fe927e7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 17 additions and 3 deletions

View file

@ -410,7 +410,7 @@ (define-public giac
(inputs
;; TODO: Add libnauty, unbundle "libmicropython.a".
`(("fltk" ,fltk)
("glpk" ,glpk)
("glpk" ,glpk-4)
("gmp" ,gmp)
("gsl" ,gsl)
("lapack" ,lapack)

View file

@ -562,7 +562,7 @@ (define-public sleef
(define-public glpk
(package
(name "glpk")
(version "4.65")
(version "5.0")
(source
(origin
(method url-fetch)
@ -570,7 +570,7 @@ (define-public glpk
version ".tar.gz"))
(sha256
(base32
"040sfaa9jclg2nqdh83w71sv9rc1sznpnfiripjdyr48cady50a2"))))
"05bgxidxj8d9xdp82niy7cy36w181cxq7p8vc3y2ixshpgp1642a"))))
(build-system gnu-build-system)
(inputs
`(("gmp" ,gmp)))
@ -586,6 +586,20 @@ (define-public glpk
LP/MIP solver is included in the package.")
(license license:gpl3+)))
(define-public glpk-4
(package
(inherit glpk)
(name "glpk")
(version "4.65")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnu/glpk/glpk-"
version ".tar.gz"))
(sha256
(base32
"040sfaa9jclg2nqdh83w71sv9rc1sznpnfiripjdyr48cady50a2"))))))
(define-public 4ti2
(package
(name "4ti2")