[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
237/472: gnu: Add rust-afl-0.12.
From: |
guix-commits |
Subject: |
237/472: gnu: Add rust-afl-0.12. |
Date: |
Tue, 18 Jul 2023 14:08:58 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 10e78d9f12cf0d5810fb80754998a7116860063e
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 74abfd4826..0a77a2c6b7 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
- 253/472: gnu: rust-cipher-0.4: Update to 0.4.4., (continued)
- 253/472: gnu: rust-cipher-0.4: Update to 0.4.4., guix-commits, 2023/07/18
- 301/472: gnu: rust-thread-local-1: Update to 1.1.7., guix-commits, 2023/07/18
- 276/472: gnu: Add rust-num-bigint-dig-0.8., guix-commits, 2023/07/18
- 316/472: gnu: Add sequoia-wot., guix-commits, 2023/07/18
- 294/472: gnu: rust-snapbox-macros-0.3: Update to 0.3.4., guix-commits, 2023/07/18
- 317/472: gnu: sequoia: Update to 1.16.0., guix-commits, 2023/07/18
- 338/472: gnu: Add rust-openpgp-cert-d-0.1., guix-commits, 2023/07/18
- 343/472: gnu: Add rust-git-testament-0.2., guix-commits, 2023/07/18
- 332/472: gnu: Add rust-roadmap-0.5., guix-commits, 2023/07/18
- 231/472: gnu: Remove rust-pin-project-auxiliary-macro-0.0., guix-commits, 2023/07/18
- 237/472: gnu: Add rust-afl-0.12.,
guix-commits <=
- 243/472: gnu: Add rust-botan-sys-0.10., guix-commits, 2023/07/18
- 263/472: gnu: rust-fs-extra-1: Update to 1.3.0., guix-commits, 2023/07/18
- 274/472: gnu: Add rust-markup5ever-rcdom-0.2., guix-commits, 2023/07/18
- 273/472: gnu: Add rust-markup5ever-0.11., guix-commits, 2023/07/18
- 277/472: gnu: Add rust-object-0.30., guix-commits, 2023/07/18
- 279/472: gnu: rust-pest-2: Update to 2.6.0., guix-commits, 2023/07/18
- 280/472: gnu: rust-pest-derive-2: Update to 2.6.0., guix-commits, 2023/07/18
- 282/472: gnu: rust-pest-meta-2: Update to 2.6.0., guix-commits, 2023/07/18
- 283/472: gnu: Add rust-pkcs1-0.7., guix-commits, 2023/07/18
- 287/472: gnu: Add rust-rsa-0.9., guix-commits, 2023/07/18