diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-09 12:19:13 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-09 17:00:18 +0300 |
commit | f3ea6ec1f2f0471f1a09e29a932805bcc31599ac (patch) | |
tree | 204d409f91d013c5df920ff37e5a712fd039b087 | |
parent | 3cde2bdaa650bc14901f0cca90ee8aaa1940fb9e (diff) | |
download | guix-f3ea6ec1f2f0471f1a09e29a932805bcc31599ac.tar.gz guix-f3ea6ec1f2f0471f1a09e29a932805bcc31599ac.zip |
gnu: Add rust-afl-0.8.
* gnu/packages/crates-io.scm (rust-afl-0.8): New variable.
(rust-afl-0.5): Inherit from rust-afl-0.8.
-rw-r--r-- | gnu/packages/crates-io.scm | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d79d8cab53..4c84735eb8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -181,10 +181,10 @@ the Rust programming language.") (license (list license:bsd-3 license:zlib)))) -(define-public rust-afl-0.5 +(define-public rust-afl-0.8 (package (name "rust-afl") - (version "0.5.2") + (version "0.8.0") (source (origin (method url-fetch) @@ -193,15 +193,20 @@ the Rust programming language.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0azpi917l8nhvx25n2v670nvkxkrhcwmddfi85qnr6kchmi6y946")))) + "1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs + (("rust-cc" ,rust-cc-1.0) + ("rust-clap" ,rust-clap-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.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-cc" ,rust-cc-1.0) - ("rust-xdg" ,rust-xdg-2.2) - ("rust-clap" ,rust-clap-2)))) + ("rust-xdg" ,rust-xdg-2.2)))) (home-page "https://github.com/rust-fuzz/afl.rs") (synopsis "Fuzzing Rust code with american-fuzzy-lop") @@ -209,6 +214,31 @@ the Rust programming language.") "Fuzz Rust code with american-fuzzy-lop.") (license license:asl2.0))) +(define-public rust-afl-0.5 + (package + (inherit rust-afl-0.8) + (name "rust-afl") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "afl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0azpi917l8nhvx25n2v670nvkxkrhcwmddfi85qnr6kchmi6y946")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rustc-version" ,rust-rustc-version-0.2) + ("rust-cc" ,rust-cc-1.0) + ("rust-xdg" ,rust-xdg-2.2) + ("rust-clap" ,rust-clap-2)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version-0.2) + ("rust-xdg" ,rust-xdg-2.2)))))) + (define-public rust-afl-0.4 (package (name "rust-afl") |