aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 01:12:06 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:32 +0100
commit77905166cec419ceb57af374405bcedb65ac2347 (patch)
tree439abf438722733d9abcaf22a274549eb4bb3762 /gnu/packages
parentfa660cfbeaebe9bb1d3daf968f4008f83e874456 (diff)
downloadguix-77905166cec419ceb57af374405bcedb65ac2347.tar.gz
guix-77905166cec419ceb57af374405bcedb65ac2347.zip
gnu: Add rust-async-attributes-1 and rust-async-std-0.99.
* gnu/packages/crates-io.scm (rust-async-attributes-1): (rust-async-std-0.99): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm73
1 files changed, 73 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e043ba3d4f..ade018eb47 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1177,6 +1177,31 @@ standard library.")
(description "This package provides a libsyntax ast builder.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-attributes-1
+ (package
+ (name "rust-async-attributes")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-attributes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08w41342hybxhln7j7hjsf7v04p3r9d6qdczfwp8d53xj5bd3lzg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))
+ #:cargo-development-inputs
+ (("rust-async-std" ,rust-async-std-0.99))))
+ (home-page "https://github.com/async-rs/async-attributes")
+ (synopsis "Experimental language-level polyfills for Async Rust")
+ (description
+ "This package provides experimental language-level polyfills for Async
+Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-compression-0.3
(package
(name "rust-async-compression")
@@ -1293,6 +1318,54 @@ crate.")
(description "Macros for async-std.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-std-0.99
+ (package
+ (name "rust-async-std")
+ (version "0.99.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-std" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k34181r1xzalyf7alka0ibnbqll6s5l435ycydm7fv1g6gill24"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--" "--skip=io_timeout")
+ #:cargo-inputs
+ (("rust-async-attributes" ,rust-async-attributes-1)
+ ("rust-async-macros" ,rust-async-macros-1)
+ ("rust-async-task" ,rust-async-task-1)
+ ("rust-broadcaster" ,rust-broadcaster-0.2)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3)
+ ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-futures-timer" ,rust-futures-timer-1)
+ ("rust-kv-log-macro" ,rust-kv-log-macro-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-uds" ,rust-mio-uds-0.6)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.1)
+ ("rust-pin-utils" ,rust-pin-utils-0.1)
+ ("rust-slab" ,rust-slab-0.4))
+ #:cargo-development-inputs
+ (("rust-femme" ,rust-femme-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://async.rs")
+ (synopsis "Async version of the Rust standard library")
+ (description
+ "This crate provides an async version of @code{std}. It provides all the
+interfaces you are used to, but in an async version and ready for Rust's
+@code{async/await} syntax.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-async-stream-0.3
(package
(name "rust-async-stream")
5d7a4a6a'>doc: Extract (localization) module.Ludovic Courtès * doc/build.scm (localization-helper-module): New procedure. (html-manual-indexes)[build]: Use it. Remove use of GUILE-JSON-3. 2022-01-15doc: Remove now unnecessary workaround.Ludovic Courtès * doc/build.scm (translated-texi-manuals): Turn into an alias for (@@ (guix self) translated-texi-manuals). 2021-12-13Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-12-13doc: Handle '&nbsp' when syntax-highlighting HTML.Ludovic Courtès * doc/build.scm (syntax-highlighted-html)[build](entity->string): Handle "&nbsp".