mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +01:00
gnu: Add rust-atomig-0.4.
* gnu/packages/crates-io.scm (rust-atomig-0.4): New variable. Change-Id: Iab76d6cb522f9de65fffaba3af6c26cb83415838
This commit is contained in:
parent
55a49c1a9d
commit
0da8d1fdc6
1 changed files with 25 additions and 0 deletions
|
@ -6046,6 +6046,31 @@ (define-public rust-atomic-waker-1
|
|||
"This package provides a synchronization primitive for task wakeup.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-atomig-0.4
|
||||
(package
|
||||
(name "rust-atomig")
|
||||
(version "0.4.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "atomig" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "08f8mhww13dskj55rw37h9d2bwghqxvp7q70mg826y8zn4bjmbqf"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-atomig-macro" ,rust-atomig-macro-0.3)
|
||||
("rust-serde" ,rust-serde-1))
|
||||
#:cargo-development-inputs (("rust-bincode" ,rust-bincode-1))))
|
||||
(home-page "https://github.com/LukasKalbertodt/atomig/")
|
||||
(synopsis
|
||||
"Generic and lock-free `std` atomics via `Atomic<T>`")
|
||||
(description
|
||||
"This package provides Generic, convenient and lock-free `std` atomics via
|
||||
@code{Atomic<T>}. Can be used with many primitive types (including floats) and
|
||||
with custom types.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-atomig-macro-0.3
|
||||
(package
|
||||
(name "rust-atomig-macro")
|
||||
|
|
Loading…
Reference in a new issue