From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ECkJNpLZr17zSgAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 09:00:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4KbaAp3Zr172KgAA1q6Kng (envelope-from ) for ; Mon, 04 May 2020 09:00:13 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 52E38944516 for ; Mon, 4 May 2020 09:00:11 +0000 (UTC) Received: from localhost ([::1]:53826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVWxP-00008o-JI for larch@yhetil.org; Mon, 04 May 2020 05:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVWxG-00006o-Gp for guix-patches@gnu.org; Mon, 04 May 2020 05:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVWxG-0001yC-71 for guix-patches@gnu.org; Mon, 04 May 2020 05:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVWxG-0002mB-5O for guix-patches@gnu.org; Mon, 04 May 2020 05:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40874] [PATCH 93/94] gnu: Add rust-nettle-7. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 May 2020 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40874 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 40874@debbugs.gnu.org Received: via spool by 40874-submit@debbugs.gnu.org id=B40874.158858278610625 (code B ref 40874); Mon, 04 May 2020 09:00:02 +0000 Received: (at 40874) by debbugs.gnu.org; 4 May 2020 08:59:46 +0000 Received: from localhost ([127.0.0.1]:58939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVWx0-0002lJ-E1 for submit@debbugs.gnu.org; Mon, 04 May 2020 04:59:46 -0400 Received: from flashner.co.il ([178.62.234.194]:51412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVWwy-0002l5-PQ for 40874@debbugs.gnu.org; Mon, 04 May 2020 04:59:45 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 91D1140032; Mon, 4 May 2020 08:59:38 +0000 (UTC) Date: Mon, 4 May 2020 11:59:06 +0300 From: Efraim Flashner Message-ID: <20200504085906.GB1920@E5400> References: <754dc70567f6058f506c6a75598c9d00685c82b8.1587919230.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <754dc70567f6058f506c6a75598c9d00685c82b8.1587919230.git.h.goebel@crazy-compilers.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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: scn0 X-Spam-Score: 0.69 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [0.69 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49439845930978]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; FROM_NEQ_ENVFROM(0.00)[efraim@flashner.co.il,guix-patches-bounces@gnu.org]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(3.00)[188.120.128.132:received]; URIBL_BLOCKED(0.00)[flashner.co.il:email,gitlab.com:url]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[flashner.co.il]; HAS_LIST_UNSUB(-0.01)[]; BAD_REP_POLICIES(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[188.120.128.132:received]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: z2sXc04PULyu --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Can we drop nettle-src? If it can't be stuck in a snippet there's also a patch for rust-openssl-sys-0.9 that drops the vendored source crate. https://sources.debian.org/src/rust-nettle-sys/2.0.4-3/debian/patches/disab= le-vendor.diff/ https://sources.debian.org/src/rust-nettle/7.0.0-1/debian/patches/disable-v= endor.diff/ On Sun, Apr 26, 2020 at 06:46:12PM +0200, Hartmut Goebel wrote: > * gnu/packages/crates-io.scm (rust-nettle-7): New variable. > --- > gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+) >=20 > diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm > index cbb8290380..4c3b21f037 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -37,6 +37,7 @@ > #:use-module (gnu packages gtk) > #:use-module (gnu packages jemalloc) > #:use-module (gnu packages llvm) > + #:use-module (gnu packages multiprecision) > #:use-module (gnu packages nettle) > #:use-module (gnu packages pcre) > #:use-module (gnu packages pkg-config) > @@ -11943,6 +11944,49 @@ types as proposed in RFC 1158.") > (license (list license:asl2.0 > license:expat)))) > =20 > +(define-public rust-nettle-7 > + (package > + (name "rust-nettle") > + (version "7.0.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "nettle" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 "1n6dwy9zba8853bmxzhwaashd3np0wxpx0pj43brm0hb8n2sxbxi"))= )) > + (build-system cargo-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (inputs > + `(("clang" ,clang) > + ("gmp" ,gmp) > + ("nettle" ,nettle))) > + (arguments > + `(#:skip-build? #t ;; provides nothing, has no tests > + #:cargo-inputs > + (("rust-getrandom" ,rust-getrandom-0.1) > + ("rust-libc" ,rust-libc-0.2) > + ("rust-nettle-sys" ,rust-nettle-sys-2) > + ("rust-nettle-src" ,rust-nettle-src) > + ("rust-thiserror" ,rust-thiserror-1.0)) > + #:cargo-development-inputs > + (("rust-bindgen" ,rust-bindgen-0.51) > + ("rust-pkg-config" ,rust-pkg-config-0.3)) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'set-missing-env-vars > + (lambda* (#:key inputs #:allow-other-keys) > + ;; FIXME: why do we need to set this? > + (setenv "LIBCLANG_PATH" > + (string-append (assoc-ref inputs "clang") "/lib")) > + #t))))) > + (home-page "https://gitlab.com/sequoia-pgp/nettle-rs") > + (synopsis "Rust bindings for the Nettle cryptographic library") > + (description "This package provides Rust bindings for the Nettle > +cryptographic library.") > + (license (list license:lgpl3 license:gpl2 license:gpl3)))) > + > (define-public rust-nettle-src > (package > (name "rust-nettle-src") > --=20 > 2.21.3 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6v2VYACgkQQarn3Mo9 g1Hk9xAArdAw+CdKf6uL1ZY9wBKnpS7VWpDuQVsBLYPI0myNYaj93kOpYX6wK4y5 NBTmUm0yIobQsGcx9T/Hs+pt2+IR5vIIhiONa+cqePek7m6Mi91l7/pyVDbLA0bN nICVCaJltPXkega1R34C5tqAu4sayxbcfHKL1GL2HctwQASyBHdDKBoa30gNJMji 5cJmp6pHMEgZvVQQaBramc40pkOF4fDZI4cm4WzCyqoVheJGxeDlNc0FW37VCcuy 2jOrsVbrnAsmrPw8YsJNYoQWFAZRzbIP8Cw8O4neNViFrr3h1bNjBMWkrcyLhhhB kczKsXKrWG9sNDAuYJsKHKmHRFwarzdXZ/08Lsyf1jZt0eTEfzgJ7NJkqlOPa6Pv 6rRogX7ef5gZ4NPn5Q9OVoj2nCaHiG63qGBCGRYWjlDr5QZjncjalpGDnnGbASGQ kGeWeE8rnWEl/RqUD6Zh56Ajo9yb/vbMalPWLdTpzN1baY1qa7zWPN8rYN9Z2/QE IfHWPV2OjvT7ejbPpORKDnUpijHmUqc/W3IX8FfisyN/rlTV0scuu1SHhtmenY4K V+/8PNaIBIw6PkHlvkPf0Ag2UXzaaqs8KdFoylijFETgIFbMlpmuZvrP1/y2A1XB 4cNaFLEP8ULB/nk8iLwubrk/0YDR+XZxK60wcWWKI7sD1496ppw= =Yd6x -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--