mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: singular: Update to 4.2.1.
* gnu/packages/algebra.scm (singular): Update to 4.2.1. Rewrite the origin expression so that it works for versions with or without a patch level.
This commit is contained in:
parent
9b461b1c89
commit
e6fbf84dcc
1 changed files with 5 additions and 4 deletions
|
@ -609,7 +609,7 @@ (define-public ntl
|
|||
(define-public singular
|
||||
(package
|
||||
(name "singular")
|
||||
(version "4.1.3p2")
|
||||
(version "4.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -618,12 +618,13 @@ (define-public singular
|
|||
"Singular/SOURCES/"
|
||||
(string-join
|
||||
(string-split
|
||||
(string-trim-right version #\p
|
||||
0 (1- (string-length version)))
|
||||
(let ((index (string-index version #\p)))
|
||||
(if index (string-take version index)
|
||||
version))
|
||||
#\.) "-")
|
||||
"/singular-" version ".tar.gz"))
|
||||
(sha256 (base32
|
||||
"1524yrni7gh0hir5ckridq671q5s6avfjdsdyahj51kzdl3wcypf"))))
|
||||
"13gy1gdng8zijwlr1fn5sixw53z0zf9czzlg0vh1dcc59zw6v998"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("doxygen" ,doxygen)
|
||||
|
|
Loading…
Reference in a new issue