summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 12:35:15 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:47 +0100
commitd2e6ee85ebaf6da15c77e841da38b75d3d50a986 (patch)
treedbe8d296e1e95244dcf8635b46e12bc64bda10e3 /gnu
parent379956baede3e6de69e52ea6b1c4b49a8037de0e (diff)
downloadguix-d2e6ee85ebaf6da15c77e841da38b75d3d50a986.tar.gz
gnu: Add rust-runtime-0.3.
* gnu/packages/crates-io.scm (rust-runtime-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a411cff97..4ec3acd68b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29623,6 +29623,35 @@ console applications.")
         (base32
          "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k"))))))
 
+(define-public rust-runtime-0.3
+  (package
+    (name "rust-runtime")
+    (version "0.3.0-alpha.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "runtime" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04aj2jslnndwhhbvp9ysdgh98vfy6lk6f0rzqsan5wlfpd70nzc3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-futures-preview" ,rust-futures-preview-0.3)
+        ("rust-pin-project" ,rust-pin-project-0.4)
+        ("rust-runtime-attributes" ,rust-runtime-attributes-0.3)
+        ("rust-runtime-native" ,rust-runtime-native-0.3)
+        ("rust-runtime-raw" ,rust-runtime-raw-0.3))))
+    (home-page "https://github.com/rustasync/runtime")
+    (synopsis "Empowering everyone to build asynchronous software")
+    (description
+     "Runtime is an asynchronous library.
+
+This package is deprecated.  If you're looking for an asynchronous runtime
+please consider using @code{async-std} or @code{tokio}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-runtime-attributes-0.3
   (package
     (name "rust-runtime-attributes")