[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: Add rust-chan-0.1.
From: |
guix-commits |
Subject: |
02/04: gnu: Add rust-chan-0.1. |
Date: |
Mon, 16 Oct 2023 05:36:57 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 0cedbd9cdb5971f9c1e0ff8aa7833df3cffb2a9e
Author: Wilko Meyer <w@wmeyer.eu>
AuthorDate: Sun Oct 15 23:57:02 2023 +0200
gnu: Add rust-chan-0.1.
* gnu/packages/crates-io.scm (rust-chan-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da385dd22a..2658c923f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11425,6 +11425,26 @@ chain, the first matching branch is the item that gets
emitted.")
(("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+(define-public rust-chan-0.1
+ (package
+ (name "rust-chan")
+ (version "0.1.23")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "chan" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n0y992mqfk5zpxzvrv14g9qivacmd4fiv4j1nmgyrg0vaimcjfi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/BurntSushi/chan")
+ (synopsis "DEPRECATED. Use crossbeam-channel instead")
+ (description "DEPRECATED. Use crossbeam-channel instead.")
+ (license (list license:unlicense license:expat))))
+
(define-public rust-chacha20-0.8
(package
(name "rust-chacha20")