diff mbox series

[bug#74234,PATCHv2,rust-team,05/20] gnu: Add rust-blocking-1.5.

Message ID 0f8ecd0152dd0b117064b5359937e8bc84285048.1731018436.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74234,PATCHv2,rust-team,01/20] gnu: Add rust-ashpd-0.6. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:27 p.m. UTC
* gnu/packages/crates-io.scm (rust-blocking-1.5): New variable.

Change-Id: I0310f19ac5d86d68399cbf3e707f40aafa39fe26
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 957924d931..a29402ddc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9113,6 +9113,28 @@  (define-public rust-blocking-1.6
 programs.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-blocking-1.5
+  (package
+    (inherit rust-blocking-1.6)
+    (name "rust-blocking")
+    (version "1.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "blocking" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "064i3d6b8ln34fgdw49nmx9m36bwi3r3nv8c9xhcrpf4ilz92dva"))))
+    (arguments
+     `(#:cargo-inputs (("rust-async-channel" ,rust-async-channel-2)
+                       ("rust-async-task" ,rust-async-task-4)
+                       ("rust-futures-io" ,rust-futures-io-0.3)
+                       ("rust-futures-lite" ,rust-futures-lite-2)
+                       ("rust-piper" ,rust-piper-0.2)
+                       ("rust-tracing" ,rust-tracing-0.1))
+       #:cargo-development-inputs
+       (("rust-futures-lite" ,rust-futures-lite-1))))))
+
 (define-public rust-blocking-1
   (package
     (inherit rust-blocking-1.6)