From 60a1b2efcd596fb7deb4fd9a2b6d77cc098c3831 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 14:14:51 -0800 Subject: [PATCH 059/263] gnu: Add rust-afl-0.4. * gnu/packages/crates-io.scm (rust-afl-0.4): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82b2dcef67..2ef9365630 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -53,6 +53,37 @@ the Rust programming language.") (license (list license:bsd-3 license:zlib)))) +(define-public rust-afl-0.4 + (package + (name "rust-afl") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "afl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g2chc18ji7qxi0d03n2ai140qdcww958v5si6rcjnnhmri1vyfb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cc" ,rust-cc-1.0) + ("rust-clap" ,rust-clap-2) + ("rust-rustc-version" ,rust-rustc-version-0.2) + ("rust-xdg" ,rust-xdg-2.2)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version-0.2) + ("rust-xdg" ,rust-xdg-2.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))) + (define-public rust-ansi-term-0.11 (package (name "rust-ansi-term") -- 2.24.1