gnu: Add libtommath-1.0.

* gnu/packages/multiprecision.scm (libtommath-1.0): New variable.
This commit is contained in:
Efraim Flashner 2019-03-19 20:44:33 +02:00
parent 38a3f4df8f
commit cf3f12f6e5
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 19 additions and 0 deletions

View File

@ -346,3 +346,22 @@ integer library written entirely in C. It's designed to provide an API that is
simple to work with that provides fairly efficient routines that build out of
the box without configuration.")
(license unlicense)))
(define-public libtommath-1.0
(package
(inherit libtommath)
(version "1.0.1")
(outputs '("out"))
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/libtom/libtommath/releases/"
"download/v" version "/ltm-" version ".tar.xz"))
(sha256
(base32
"0sbccdwbkfc680id2fi0x067j23biqcjqilwkk7y9339knrjy0s7"))))
(arguments
(substitute-keyword-arguments (package-arguments libtommath)
((#:phases phases)
`(modify-phases ,phases
(delete 'install-static-library)))))))