From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ZSLiEeCqu1/9OQAA0tVLHw (envelope-from ) for ; Mon, 23 Nov 2020 12:28:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QHdKDeCqu181eQAAB5/wlQ (envelope-from ) for ; Mon, 23 Nov 2020 12:28:16 +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 aspmx1.migadu.com (Postfix) with ESMTPS id E2617940363 for ; Mon, 23 Nov 2020 12:28:15 +0000 (UTC) Received: from localhost ([::1]:51200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khAx4-0001jR-OB for larch@yhetil.org; Mon, 23 Nov 2020 07:28:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khAwt-0001ie-Td for guix-patches@gnu.org; Mon, 23 Nov 2020 07:28:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khAws-0002YV-NK for guix-patches@gnu.org; Mon, 23 Nov 2020 07:28:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khAws-0003LB-KF for guix-patches@gnu.org; Mon, 23 Nov 2020 07:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44785] [PATCH v2 02/22] gnu: Add rust-win-crypto-ng-0.2. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Nov 2020 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44785 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44785@debbugs.gnu.org Received: via spool by 44785-submit@debbugs.gnu.org id=B44785.160613444412653 (code B ref 44785); Mon, 23 Nov 2020 12:28:02 +0000 Received: (at 44785) by debbugs.gnu.org; 23 Nov 2020 12:27:24 +0000 Received: from localhost ([127.0.0.1]:49347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khAwG-0003I1-EL for submit@debbugs.gnu.org; Mon, 23 Nov 2020 07:27:24 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:42356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khAwF-0003Ht-2y for 44785@debbugs.gnu.org; Mon, 23 Nov 2020 07:27:23 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Cfmcp2z7Sz1qql9 for <44785@debbugs.gnu.org>; Mon, 23 Nov 2020 13:27:22 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Cfmcp1SN7z1sJ44 for <44785@debbugs.gnu.org>; Mon, 23 Nov 2020 13:27:22 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id fTI4S23WUbeR for <44785@debbugs.gnu.org>; Mon, 23 Nov 2020 13:27:21 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-54-253.dynamic.mnet-online.de [188.174.54.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <44785@debbugs.gnu.org>; Mon, 23 Nov 2020 13:27:21 +0100 (CET) Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id CD16E60122; Mon, 23 Nov 2020 13:33:05 +0100 (CET) From: Hartmut Goebel Date: Mon, 23 Nov 2020 13:26:55 +0100 Message-Id: <58875a0bd1fe278fd52cf8a29010ef2b2c525039.1606131550.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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-Spam-Score: 3.99 X-TUID: jW4DmdUDYj1o * gnu/packages/crates-io.scm (rust-win-crypto-ng-0.2): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1b0957bf7e..9f07b022bb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32286,6 +32286,41 @@ color in a Windows console.") (license (list license:unlicense license:expat)))) +(define-public rust-win-crypto-ng-0.2 + (package + (name "rust-win-crypto-ng") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "win-crypto-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ab0iwl4bmqvysypyn6xgax7rlh3w524jji2y1zfwfpdr7wwyv23")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://crates.io/crates/win-crypto-ng") + (synopsis "Safe bindings to MS Windows Cryptography API Next +Generation") + (description + "Cryptography API Next Generation (CNG) are cryptographic +primitives and utilities provided by the operating system and/or +hardware. It is available since Windows Vista and replaces the now +deprecated CryptoAPI. + +The primitives do not depend on OpenSSL or other libraries of the +sort, they are provided by Microsoft and/or by the hardware +manufacturer. They are the primitives used in kernel space programs. +Therefore, if you are using Microsoft Windows, you already accepted to +trust these primitives.") + (license license:bsd-3))) + (define-public rust-winpty-sys-0.4 (package (name "rust-winpty-sys") -- 2.21.3