guix-commits
[Top][All Lists]
Advanced

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

06/11: gnu: Add rust-libm-0.2.


From: guix-commits
Subject: 06/11: gnu: Add rust-libm-0.2.
Date: Wed, 5 Feb 2020 06:35:24 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 7f34c330852b4c88f11a821d005b3eacb3add49f
Author: John Soo <address@hidden>
AuthorDate: Fri Jan 31 21:43:24 2020 -0800

    gnu: Add rust-libm-0.2.
    
    * gnu/packages/crates-io.scm (rust-libm-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78ab26a..46e437c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5723,6 +5723,30 @@ allows loading dynamic libraries (also known as shared 
libraries) as well as use
 functions and static variables these libraries contain.")
     (license license:isc)))
 
+(define-public rust-libm-0.2
+  (package
+    (name "rust-libm")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libm" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0akh56sh51adhagmk9l84dyrlz60gv8ri05xhr13i1b18czkpmy7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-development-inputs
+       (("rust-no-panic" ,rust-no-panic-0.1)
+        ("rust-rand" ,rust-rand-0.6))))
+    (home-page "https://github.com/rust-lang/libm";)
+    (synopsis "Libm in pure Rust")
+    (description "Libm in pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-libssh2-sys-0.2
   (package
     (name "rust-libssh2-sys")



reply via email to

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