mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
gnu: Add rust-scraper-0.12.
* gnu/packages/crates-io.scm (rust-scraper-0.12): New variable.
This commit is contained in:
parent
64662ca988
commit
3cafe8c198
1 changed files with 30 additions and 0 deletions
|
@ -43394,6 +43394,36 @@ (define-public rust-scopeguard-0.3
|
||||||
(base32
|
(base32
|
||||||
"09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
|
"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
|
(define-public rust-scratch-1
|
||||||
(package
|
(package
|
||||||
(name "rust-scratch")
|
(name "rust-scratch")
|
||||||
|
|
Loading…
Reference in a new issue