aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2023-12-24 21:36:50 +0100
committerMathieu Othacehe <othacehe@gnu.org>2023-12-28 10:12:35 +0100
commit1db966e1bb128080dda1771679dfb35f9bd2070f (patch)
treea900920f057fc7b1d92de0517d2642785b387fbf
parent8838aff2b021c6af17360ccc6234ff8db12ba986 (diff)
downloadguix-1db966e1bb128080dda1771679dfb35f9bd2070f.tar.gz
guix-1db966e1bb128080dda1771679dfb35f9bd2070f.zip
gnu: Add rust-archery-1.
* gnu/packages/crates-io.scm (rust-archery-1): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Change-Id: Ie0b29e5c3163e0202327ce5661393ee1d3925d89
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 76eed4bf46..5e60e33483 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4096,6 +4096,32 @@ coverage-guided, mutation-based fuzzers.")
("rust-proptest" ,rust-proptest-0.9)
("rust-version-sync" ,rust-version-sync-0.9))))))
+(define-public rust-archery-1
+ (package
+ (name "rust-archery")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "archery" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lp7lq613dd21ay15gzbl8s5r91c96iia000rs358xk217v5aya8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-triomphe" ,rust-triomphe-0.1))
+ #:cargo-development-inputs
+ (("rust-compiletest-rs" ,rust-compiletest-rs-0.10)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-1))))
+ (home-page "https://github.com/orium/archery")
+ (synopsis "Abstract over the atomicity of reference-counting pointers")
+ (description "This package provides a way to abstract @code{Rc} and
+@code{Arc} smart pointers. It can also create data structures where
+the pointer type is parameterizable.")
+ (license license:mpl2.0)))
+
(define-public rust-arg-enum-proc-macro-0.3
(package
(name "rust-arg-enum-proc-macro")