aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2024-01-08 02:51:46 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:48 +0200
commit8f3afb9f3adc81377bfe3e53e586cfc0fabde255 (patch)
tree7085653cd3bdef0639abc9006a9f9d86be9d3cb6 /gnu/packages
parent8301774cabebb0929e445f3a1db174309ac2cb09 (diff)
downloadguix-8f3afb9f3adc81377bfe3e53e586cfc0fabde255.tar
guix-8f3afb9f3adc81377bfe3e53e586cfc0fabde255.tar.gz
gnu: Add rust-atomic-0.6.
* gnu/packages/crates-io.scm (rust-atomic-0.6): New variable. (rust-atomic-0.5): Inherit from rust-atomic-0.6. Change-Id: I20e5f45ed4de079f294cec2d013e866609a33ace Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm36
1 files changed, 26 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3685ee4033..3e9510bf05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4924,20 +4924,21 @@ methods.")
(description "This package provides a safe abstraction around AtomicPtr.")
(license license:asl2.0)))
-(define-public rust-atomic-0.5
+(define-public rust-atomic-0.6
(package
(name "rust-atomic")
- (version "0.5.1")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "atomic" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0k135q1qfmxxyzrlhr47r0j38r5fnd4163rgl552qxyagrk853dq"))))
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15193mfhmrq3p6vi1a10hw3n6kvzf5h32zikhby3mdj0ww1q10cd"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1))))
+ `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1))
+ #:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1))))
(home-page "https://github.com/Amanieu/atomic-rs")
(synopsis "Generic @code{Atomic<T>} wrapper type")
(description
@@ -4947,6 +4948,21 @@ fixed atomic types.")
;; The user can choose either license.
(license (list license:asl2.0 license:expat))))
+(define-public rust-atomic-0.5
+ (package
+ (inherit rust-atomic-0.6)
+ (name "rust-atomic")
+ (version "0.5.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0k135q1qfmxxyzrlhr47r0j38r5fnd4163rgl552qxyagrk853dq"))))
+ (arguments
+ `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1))))))
+
(define-public rust-atomic-polyfill-1
(package
(name "rust-atomic-polyfill")