summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-15 03:23:44 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-09 11:12:39 +0200
commit835c854b5dcbded8e5893cdf1bd7d126f77a833c (patch)
tree8785405d572127ccfb326fe020664fbad02c73d5 /gnu
parentc9c5b87559d93dc963c63d36ea303cbae9d13454 (diff)
downloadguix-835c854b5dcbded8e5893cdf1bd7d126f77a833c.tar.gz
gnu: Add rust-approx-0.1.
* gnu/packages/crates-io.scm (rust-approx-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fd78a88c56..3ad193190f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -299,6 +299,22 @@ text or blue underlined text, on ANSI terminals.")
      "Approximate floating point equality comparisons and assertions.")
     (license license:asl2.0)))
 
+(define-public rust-approx-0.1
+  (package
+    (inherit rust-approx-0.3)
+    (name "rust-approx")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "approx" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "153awzwywmb61xg857b80l63b1x6hifx2pha7lxf6fck9qxwraq8"))))
+    (arguments '())))
+
 (define-public rust-arc-swap-0.3
   (package
     (name "rust-arc-swap")