summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-02-01 01:21:58 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-02-05 13:34:27 +0200
commitd492a69e5862b2eebf7681f0e022238032b2de89 (patch)
tree3c5ea685efe215370e7c3757cdb3c39907f4d83b
parent059a79e416aee99ad37fdbca48b2c351e14ef778 (diff)
downloadguix-d492a69e5862b2eebf7681f0e022238032b2de89.tar.gz
gnu: Add rust-libm-0.1.
* gnu/packages/crates-io.scm (rust-libm-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad6b778bbc..e307840781 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5760,6 +5760,21 @@ functions and static variables these libraries contain.")
     (description "This package provides an implementation of libm in pure Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-libm-0.1
+  (package
+    (inherit rust-libm-0.2)
+    (name "rust-libm")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libm" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "16pc0gx4gkg0q2s1ssq8268brn14j8344623vwhadmivc4lsmivz"))))))
+
 (define-public rust-libssh2-sys-0.2
   (package
     (name "rust-libssh2-sys")