From patchwork Sat May 4 11:35:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64086 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7E66227BBEA; Sat, 4 May 2024 12:48:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 034A027BBE9 for ; Sat, 4 May 2024 12:48:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Drb-0001AQ-IW; Sat, 04 May 2024 07:47:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3Dqt-0000ak-8f for guix-patches@gnu.org; Sat, 04 May 2024 07:46:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3Dqn-00007n-L1 for guix-patches@gnu.org; Sat, 04 May 2024 07:46:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DrA-0007aK-Gv; Sat, 04 May 2024 07:47:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 28/75] gnu: Add rust-ammonia-3. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:47:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482322429065 (code B ref 69257); Sat, 04 May 2024 11:47:08 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:47:04 +0000 Received: from localhost ([127.0.0.1]:53232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dr5-0007Ya-Vt for submit@debbugs.gnu.org; Sat, 04 May 2024 07:47:04 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:44215 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Di5-0004Lm-38 for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GtAk+RTUpv89WCx9fg0+YAT+NJ/LeKplljwErV2WQdo=; b=OW8NhjrB6L8Y47kzOd/0VP7rNzIraMfwVLMRpP4U8XNhUZopBLY79/XHwPrQNoYT+fPX1K jE4GYuu0kkVubEznJhZvtVjV3XTMfUbab1GLyQl3LHJ2zxA9VbtXJApWIBDlYP0rTZHklF WbL1E2INAfJAl9fdOI7LndftTdyepbhPiTVQBwbSBTMq80dlGpA0hX1T4hujgcYH7PZedK uAYCKlLRnsRKLCbOp7OyfXRMJI+ZvTd7iUhYt+IDZlNJ02Kup+kEahOWi2TQnh6cumsM1z 1Gl3ICq0wW+a6P2MEiynlunXzijQ6Jf+vi8Q0N2LY6aXknrevrnzzoXPviz4FA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id bd2a4ac0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:09 +0000 (UTC) Date: Sat, 4 May 2024 13:35:00 +0200 Message-ID: <962b71d3356f7d8c74b1ca829bc6153c4d6382cb.1714820130.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-ammonia-3): Add variable. Change-Id: I49c3c414e91c550be3f121857410a0441186070e --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 32de493d6d..1d7931e875 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1432,6 +1432,32 @@ (define-public rust-alto-3 "Rust bindings for OpenAL 1.1 and extensions (including EFX).") (license (list license:expat license:asl2.0)))) +(define-public rust-ammonia-3 + (package + (name "rust-ammonia") + (version "3.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ammonia" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w01hk3b2k3q53jny6n5l6ayck1qgki7wmannz4hbdwdhg3x3rk4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-version-sync" ,rust-version-sync-0.9)) + #:cargo-inputs (("rust-html5ever" ,rust-html5ever-0.26) + ("rust-maplit" ,rust-maplit-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/rust-ammonia/ammonia") + (synopsis "HTML Sanitization") + (description "This package provides HTML Sanitization.") + (license (list license:expat license:asl2.0)))) + (define-public rust-android-activity-0.5 (package (name "rust-android-activity")