diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-10-06 16:19:30 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 23:00:40 +0100 |
commit | 3cafe8c198ce524131e2cf85e847c7a3c7730b33 (patch) | |
tree | 9bb70b792ea7829a3b7678847f13157710c9f478 /gnu | |
parent | 64662ca9886f927660ce26674a24ad61c2985c25 (diff) |
gnu: Add rust-scraper-0.12.
* gnu/packages/crates-io.scm (rust-scraper-0.12): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0091b4967d..831022b553 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43394,6 +43394,36 @@ with one of the implemented strategies.") (base32 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) +(define-public rust-scraper-0.12 + (package + (name "rust-scraper") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "scraper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04icx88wdrlz1qv0dz1zc0inlfq34ajwdpih854jw368j2kjmq28")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cssparser" ,rust-cssparser-0.27) + ("rust-ego-tree" ,rust-ego-tree-0.6) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-html5ever" ,rust-html5ever-0.25) + ("rust-matches" ,rust-matches-0.1) + ("rust-selectors" ,rust-selectors-0.22) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tendril" ,rust-tendril-0.4)))) + (home-page "https://github.com/programble/scraper") + (synopsis "HTML parsing and querying with CSS selectors") + (description + "Scraper provides an interface to Servo's html5ever and selectors crates, +for browser-grade parsing and querying.") + (license license:isc))) + (define-public rust-scratch-1 (package (name "rust-scratch") |