mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: Add rust-article-scraper-1.
* gnu/packages/crates-io.scm (rust-article-scraper-1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
6acc69ca52
commit
8a169eac59
1 changed files with 40 additions and 0 deletions
|
@ -2433,6 +2433,46 @@ (define-public rust-arrow-4
|
|||
("rust-serde-derive" ,rust-serde-derive-1)
|
||||
("rust-serde-json" ,rust-serde-json-1))))))
|
||||
|
||||
(define-public rust-article-scraper-1
|
||||
(package
|
||||
(name "rust-article-scraper")
|
||||
(version "1.1.7")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "article_scraper" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1l904hn99fgj83f3dhspxgz1j3xzgjbnbfsgvmhd1jg5l4hqfhxp"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;tests use the network
|
||||
#:cargo-inputs
|
||||
(("rust-base64" ,rust-base64-0.13)
|
||||
("rust-chrono" ,rust-chrono-0.4)
|
||||
("rust-encoding-rs" ,rust-encoding-rs-0.8)
|
||||
("rust-failure" ,rust-failure-0.1)
|
||||
("rust-image" ,rust-image-0.23)
|
||||
("rust-libxml" ,rust-libxml-0.2)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-parking-lot" ,rust-parking-lot-0.11)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
("rust-reqwest" ,rust-reqwest-0.11)
|
||||
("rust-tokio" ,rust-tokio-1)
|
||||
("rust-url" ,rust-url-2))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("libxml2" ,libxml2)
|
||||
("openssl" ,openssl)))
|
||||
(home-page "https://gitlab.com/news-flash/article_scraper")
|
||||
(synopsis "Scrap article contents from the web")
|
||||
(description "This package provides a crate to scrap article contents from
|
||||
the web.")
|
||||
;; No copyright headers in the source code. LICENSE indicates gpl3.
|
||||
(license license:gpl3)))
|
||||
|
||||
(define-public rust-askama-escape-0.10
|
||||
(package
|
||||
(name "rust-askama-escape")
|
||||
|
|
Loading…
Reference in a new issue