From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GGp8C2sRRmFN3QAAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 18:18:51 +0200 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uNcxB2sRRmF+SwAA1q6Kng (envelope-from ) for ; Sat, 18 Sep 2021 16:18:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id E1A902C724 for ; Sat, 18 Sep 2021 18:18:50 +0200 (CEST) Received: from localhost ([::1]:43986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRd3B-0005ax-W1 for larch@yhetil.org; Sat, 18 Sep 2021 12:18:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRczb-0000RZ-VU for guix-patches@gnu.org; Sat, 18 Sep 2021 12:15:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRczb-00059M-OX for guix-patches@gnu.org; Sat, 18 Sep 2021 12:15:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRczb-0004Lh-Ke for guix-patches@gnu.org; Sat, 18 Sep 2021 12:15:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50662] [PATCH 12/34] gnu: Add rust-article-scraper-1. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 16:15:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50662@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50662-submit@debbugs.gnu.org id=B50662.163198168716528 (code B ref 50662); Sat, 18 Sep 2021 16:15:07 +0000 Received: (at 50662) by debbugs.gnu.org; 18 Sep 2021 16:14:47 +0000 Received: from localhost ([127.0.0.1]:36538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRczH-0004IW-DB for submit@debbugs.gnu.org; Sat, 18 Sep 2021 12:14:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRczF-0004Hy-Dz for 50662@debbugs.gnu.org; Sat, 18 Sep 2021 12:14:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CF801240101 for <50662@debbugs.gnu.org>; Sat, 18 Sep 2021 18:14:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631981679; bh=v1AIEFrMORjwjOSpus0BjVLsOmZ9mm/WQnL9Rr9AX2E=; h=From:To:Cc:Subject:Date:From; b=WoJbV9OCAfw92IYtPBQYpv55p/aD0keCXy74ja2qzpTbGhWiWbwKmZ/GnyU1VEsVG ypiG2rvN/uWZVwXcWXEYzwe/c1bdrCSEvkivIgOD1yc2zADjLpIku76cfpc7iK2C3n CcBvJrxi/5xoaxct5hIjPKO9wms5jFCunwH4mnYxuAaET9MTI0GXOTGiEzERu7dXko KT3RyrLB9kyxdkRcueUwgzuFXgyHjwxH0EaHcMw7YMdIQUvRl+kXNghuz4IXtZDdG5 wF+vmrco3hL5B6Un9TmblBs9BYUu3rvaoQ+dKWIDU/xWK8lmbEUmjjyOpCtkg6j00B otDfp6yEyhdCw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HBbW25pRjz6tm9; Sat, 18 Sep 2021 18:14:38 +0200 (CEST) From: Vinicius Monego Date: Sat, 18 Sep 2021 16:13:14 +0000 Message-Id: <20210918161336.208727-12-monego@posteo.net> In-Reply-To: <20210918161336.208727-1-monego@posteo.net> References: <20210918161336.208727-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631981931; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rAlykzT9Tsah1U1FG8I4LLQ1KpwrtQpTZf2Nfnw9TVE=; b=FWpWRFPOZC0PP3sADtAOvOt9yyER/KqH/MwvZNGZk24sWzRdNF/etG/DSKnogohSsPbrIp XhMqXW3Y8IepjXrdIFvQX1TP/XYhJ2GHCWBbNd+NM4Ivbrxwt5WOBo/PeixjjXp9lLgRmj ldiNOkhUw83T++o//gzGqxUVY0BS98riZb9gtN47Yfw9v6NiGXUfVDcEP2wgSY09pXESQW dv7gCivmy9rpYXXXDP+YNIFtvd7FvdnYvU2maJqoqTlcLJp/8ok8S0Uzojl86N8AUtWbP0 Z2J6m1HS5PybfRlh2Q7y8iaZF6gXXFMrvklBOlH9JXQ0QWmoceLpqvl/9FQXSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631981931; a=rsa-sha256; cv=none; b=Ttptd1FS1BKs/4KnATUsrpbEAn/1yLRigywXeZYqHwAI3MDVx5WNc1IOV1ONTXuHRMPpjd IEwS0zGGsdTlSAplkBhmSgSXwoB5XeX4PHDBLoBuYQCXtFOwW1OclDzfJyshtbwNQ/J5mn n+4zXGTZd97hFQLx9hgQWW6HFJSNwhmlqskaRu3lPzq4zKDgofHJr+PudmuKlxoN6Ro3IE jSATDeZ3hQOP+O6tx56D4gGiI3KcaO9wVSkZvLn2UCtcTq1tPkJnJg0D8Zij6bDrLVync1 V4oZoTVAdm/d7R8NPLFIeQotPKh0Sg9pN41vgtHhSSHnviWb8SAuJfgKNCsruQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WoJbV9OC; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WoJbV9OC; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: E1A902C724 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: ABkAmPmRlJMu * gnu/packages/crates-io.scm (rust-article-scraper-1): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f636c843cf..caaf3bd8ff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2433,6 +2433,46 @@ format.") ("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") -- 2.30.2