[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40874] [PATCH 92/94] gnu: Add rust-nettle-sys-2.
From: |
Hartmut Goebel |
Subject: |
[bug#40874] [PATCH 92/94] gnu: Add rust-nettle-sys-2. |
Date: |
Sun, 26 Apr 2020 18:46:11 +0200 |
* 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
- [bug#40874] [PATCH 84/94] gnu: Add rust-webpki-0.21., (continued)
- [bug#40874] [PATCH 84/94] gnu: Add rust-webpki-0.21., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 85/94] gnu: Add rust-webpki-0.18., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 91/94] gnu: Add nettle-src., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 90/94] gnu: Add rust-zbase32-0.1., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 87/94] gnu: Add rust-webpki-roots-0.17., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 83/94] gnu: Add rust-want-0.2., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 86/94] gnu: Add rust-webpki-roots-0.18., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 89/94] gnu: Add rust-which-3., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 88/94] gnu: Add rust-webpki-roots-0.14., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 80/94] gnu: Add rust-tokio-rustls-0.12., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 92/94] gnu: Add rust-nettle-sys-2.,
Hartmut Goebel <=
- [bug#40874] [PATCH 93/94] gnu: Add rust-nettle-7., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 94/94] gnu: Add sequoia., Hartmut Goebel, 2020/04/26
- [bug#40874] [PATCH 00/94] Add sequoia pgp, rust-nettle, and 90 rust package., Ludovic Courtès, 2020/04/30