diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-03-19 20:44:33 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-03-19 21:09:06 +0200 |
commit | 68863f37fc0a128d26198313d0e36a1bf5c7d7be (patch) | |
tree | 668cf5ac76bb6bc1b99f68b4d32a118ebaf897ff /gnu/packages | |
parent | c1d6865166270a236ad15a1d4704e062d3f38a98 (diff) | |
download | guix-68863f37fc0a128d26198313d0e36a1bf5c7d7be.tar.gz |
gnu: Add libtommath-1.0.
* gnu/packages/multiprecision.scm (libtommath-1.0): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/multiprecision.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm index 069fae62b4..6383976f00 100644 --- a/gnu/packages/multiprecision.scm +++ b/gnu/packages/multiprecision.scm @@ -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))))))) |