diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-07-13 12:25:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:16 +0300 |
commit | d8cf1896226dd15d5292e6b80c9f9e2e2bed0e1c (patch) | |
tree | e1ccb37a7ff9916542a1e56de8352b3d9ca40735 /gnu/packages | |
parent | b8789f634a3dcea4967ec7b2d32bcdeda91a50b2 (diff) | |
download | guix-d8cf1896226dd15d5292e6b80c9f9e2e2bed0e1c.tar.gz |
gnu: Add rust-adblock-0.5.
* gnu/packages/crates-io.scm (rust-adblock-0.5): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 56317fefdd..41af74fd4b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1661,6 +1661,59 @@ deadlock, like the standard Barrier).") syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") (license license:mpl2.0))) +(define-public rust-adblock-0.5 + (package + (inherit rust-adblock-0.7) + (name "rust-adblock") + (version "0.5.8") + (source (origin + (method url-fetch) + (uri (crate-uri "adblock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qgjcrm7vqxq5ispdj95ql7payy5d5rj0zfwba4b076xxvw1q4yq")))) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; Not all files included + "--skip=check_works_same_after_deserialization" + "--skip=check_matching_equivalent" + "--skip=check_matching_hostnames" + ;; Skip tests which require the network. + "--skip=check_live_from_filterlists" + "--skip=check_live_specific_urls" + "--skip=stable_serialization" + "--skip=stable_serialization_through_load") + #:cargo-inputs + (("rust-addr" ,rust-addr-0.14) + ("rust-base64" ,rust-base64-0.13) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-cssparser" ,rust-cssparser-0.28) + ("rust-flate2" ,rust-flate2-1) + ("rust-idna" ,rust-idna-0.2) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lifeguard" ,rust-lifeguard-0.6) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-regex" ,rust-regex-1) + ("rust-rmp-serde" ,rust-rmp-serde-0.13) + ("rust-rmp-serde" ,rust-rmp-serde-0.15) + ("rust-seahash" ,rust-seahash-3) + ("rust-selectors" ,rust-selectors-0.23) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-twoway" ,rust-twoway-0.2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-csv" ,rust-csv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-tokio" ,rust-tokio-1)))))) + (define-public rust-addr2line-0.19 (package (name "rust-addr2line") |