diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 21:53:36 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:47 +0100 |
commit | 5b12ff952e817f27f90a737692218dbf058b149e (patch) | |
tree | d8951985aa1698b83fc97c2306539d68e47c3f31 | |
parent | a6896bc25f52c7c0f518c7d6bcf40a84dba6bfe8 (diff) | |
download | guix-5b12ff952e817f27f90a737692218dbf058b149e.tar.gz |
gnu: Add rust-derive-arbitrary-0.4.
* gnu/packages/crates-io.scm (rust-derive-arbitrary-0.4): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cd1bd40547..fb98650888 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10533,6 +10533,31 @@ algorithm which serves to quantify the difference between two colors.") Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-arbitrary-0.4 + (package + (name "rust-derive-arbitrary") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_arbitrary" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rp0z4k0j5ip0bx6dssg97l4q6bakhf6lm5h1lpr3p3kwjsi585i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/rust-fuzz/arbitrary") + (synopsis "Derives arbitrary traits") + (description "This crate implements support for automatically deriving the +@code{Arbitrary} trait. Don't depend on this crate directly, though. +Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-0.9 (package (name "rust-derive-builder") |