guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/26: gnu: Add libtommath-1.0.


From: guix-commits
Subject: 01/26: gnu: Add libtommath-1.0.
Date: Sat, 23 Mar 2019 16:31:43 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit cf3f12f6e541e263e03990019a18dceefa011bc5
Author: Efraim Flashner <address@hidden>
Date:   Tue Mar 19 20:44:33 2019 +0200

    gnu: Add libtommath-1.0.
    
    * gnu/packages/multiprecision.scm (libtommath-1.0): New variable.
---
 gnu/packages/multiprecision.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/multiprecision.scm b/gnu/packages/multiprecision.scm
index 069fae6..6383976 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)))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]