From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50852) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkWl-0002Qa-7h for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkWi-000763-4o for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkWh-00075h-LF for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkWh-0005WG-HA for guix-patches@gnu.org; Sun, 26 Apr 2020 12:53:07 -0400 Subject: [bug#40874] [PATCH 92/94] gnu: Add rust-nettle-sys-2. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49988) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkVZ-0007oD-21 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:51:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkVY-00053c-HU for guix-patches@gnu.org; Sun, 26 Apr 2020 12:51:56 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:33691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkVY-00052o-0E for guix-patches@gnu.org; Sun, 26 Apr 2020 12:51:56 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:46:11 +0200 Message-Id: <6d8c88f66eef97a52b09c47ebd2297acc6b18238.1587919230.git.h.goebel@crazy-compilers.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40874@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-nettle-sys-2): New variable. --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 06090079fd..cbb8290380 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 nettle) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -11964,6 +11965,36 @@ build it for Rust.") (license (list license:lgpl3 license:gpl2 license:gpl3)))) +(define-public rust-nettle-sys-2 + (package + (name "rust-nettle-sys") + (version "2.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "nettle-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yq1w6dlcmg89x529i7s20j29afdhgim7qnsa7978fszzwrr6qmq")))) + (build-system cargo-build-system) + (native-inputs + `(("clang" ,clang) + ("pkg-config" ,pkg-config))) + (inputs + `(("nettle", nettle))) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-bindgen" ,rust-bindgen-0.51) + ("rust-nettle-src" ,rust-nettle-src) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://gitlab.com/sequoia-pgp/nettle-sys") + (synopsis "Low-level Rust bindings for the Nettle cryptographic library") + (description "This package provides low-level Rust bindings for the Nettle +cryptographic library.") + (license ;; licensed under either of these, at your option + (list license:lgpl3 license:gpl2 license:gpl3)))) + (define-public rust-new-debug-unreachable-1.0 (package (name "rust-new-debug-unreachable") -- 2.21.3