summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:39:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:08 +0300
commit9248ad6db26fdfd600894820463d6264c5584f67 (patch)
tree3503d8ea2c631e7decf4f10ef809679810afddac /gnu
parentde72b804f1786e75f0da00c32f43708a8ca96ee0 (diff)
downloadguix-9248ad6db26fdfd600894820463d6264c5584f67.tar.gz
gnu: Add rust-tokio-mock-task.
* gnu/packages/crates-io.scm (rust-tokio-mock-task): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0045414077..3a906af89a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1584,6 +1584,26 @@ fixed set of worker threads.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-tokio-mock-task
+  (package
+    (name "rust-tokio-mock-task")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tokio-mock-task" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-futures" ,rust-futures))))
+    (home-page  "https://github.com/carllerche/tokio-mock-task")
+    (synopsis "Mock a Tokio task")
+    (description "Mock a Tokio task")
+    (license license:expat)))
+
 (define-public rust-typenum
   (package
     (name "rust-typenum")