[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
241/371: gnu: Add rust-afl-0.12.
From: |
guix-commits |
Subject: |
241/371: gnu: Add rust-afl-0.12. |
Date: |
Thu, 25 May 2023 10:48:28 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 5d99c48c0065e6983580051d6be089c406d153af
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:25:26 2023 +0300
gnu: Add rust-afl-0.12.
* gnu/packages/crates-io.scm (rust-afl-0.12): New variable.
(rust-afl-0.8): Inherit from rust-afl-0.12.
---
gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++--------
1 file changed, 36 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 534041cdb4..40129cc7fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2291,8 +2291,43 @@ This package is deprecated and was replaced by the
@code{aes} crate.")
("rust-opaque-debug" ,rust-opaque-debug-0.2)
("rust-stream-cipher" ,rust-stream-cipher-0.3))))))
+(define-public rust-afl-0.12
+ (package
+ (name "rust-afl")
+ (version "0.12.17")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "afl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05f7wrz15h97b6xqa914syiv6ij849ndgyb5iwmgwkv26qpjzhzn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; We don't want to add AFL as an input.
+ #:cargo-inputs
+ (("rust-clap" ,rust-clap-4)
+ ("rust-fs-extra" ,rust-fs-extra-1)
+ ("rust-home" ,rust-home-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-xdg" ,rust-xdg-2))
+ #:cargo-development-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-assert-cmd" ,rust-assert-cmd-2)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/rust-fuzz/afl.rs")
+ (synopsis
+ "Fuzzing Rust code with american-fuzzy-lop")
+ (description
+ "Fuzz Rust code with american-fuzzy-lop.")
+ (license license:asl2.0)))
+
(define-public rust-afl-0.8
(package
+ (inherit rust-afl-0.12)
(name "rust-afl")
(version "0.8.0")
(source
@@ -2304,7 +2339,6 @@ This package is deprecated and was replaced by the
@code{aes} crate.")
(sha256
(base32
"1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -2316,13 +2350,7 @@ This package is deprecated and was replaced by the
@code{aes} crate.")
("rust-xdg" ,rust-xdg-2))
#:cargo-development-inputs
(("rust-rustc-version" ,rust-rustc-version-0.2)
- ("rust-xdg" ,rust-xdg-2))))
- (home-page "https://github.com/rust-fuzz/afl.rs")
- (synopsis
- "Fuzzing Rust code with american-fuzzy-lop")
- (description
- "Fuzz Rust code with american-fuzzy-lop.")
- (license license:asl2.0)))
+ ("rust-xdg" ,rust-xdg-2))))))
(define-public rust-ahash-0.8
(package
- 371/371: gnu: rust-ring-0.16: Don't delete pre-generated file., (continued)
- 371/371: gnu: rust-ring-0.16: Don't delete pre-generated file., guix-commits, 2023/05/25
- 201/371: gnu: Remove rust-libdeflate-sys-0.5., guix-commits, 2023/05/25
- 202/371: gnu: Remove rust-pager-0.15., guix-commits, 2023/05/25
- 208/371: gnu: Remove rust-polars-core-0.15., guix-commits, 2023/05/25
- 211/371: gnu: Remove rust-polars-arrow-0.15., guix-commits, 2023/05/25
- 214/371: gnu: Remove rust-proptest-0.8., guix-commits, 2023/05/25
- 217/371: gnu: Remove rust-quasi-0.32., guix-commits, 2023/05/25
- 218/371: gnu: Remove rust-rust-decimal-0.10., guix-commits, 2023/05/25
- 228/371: gnu: Remove rust-take-0.1., guix-commits, 2023/05/25
- 231/371: gnu: Remove rust-urlocator-0.1., guix-commits, 2023/05/25
- 241/371: gnu: Add rust-afl-0.12.,
guix-commits <=
- 245/371: gnu: Add rust-botan-src-0.21903., guix-commits, 2023/05/25
- 251/371: gnu: Add rust-anstyle-1., guix-commits, 2023/05/25
- 247/371: gnu: Add rust-botan-sys-0.10., guix-commits, 2023/05/25
- 252/371: gnu: Add rust-capnp-rpc-0.14., guix-commits, 2023/05/25
- 258/371: gnu: rust-clap-derive-4: Update to 4.3.0., guix-commits, 2023/05/25
- 257/371: gnu: rust-cipher-0.4: Update to 0.4.4., guix-commits, 2023/05/25
- 256/371: gnu: Add rust-chrono-tz-build-0.0.3., guix-commits, 2023/05/25
- 259/371: gnu: rust-clap-4: Update to 4.3.0., guix-commits, 2023/05/25
- 262/371: gnu: Add rust-cpp-demangle-0.4., guix-commits, 2023/05/25
- 265/371: gnu: Add rust-ecb-0.1., guix-commits, 2023/05/25