Subject: [bug#40874] [PATCH 91/94] gnu: Add nettle-src.

From: Hartmut Goebel <[email-masked]>
Date: Sun, 26 Apr 2020 18:46:10 +0200

* gnu/packages/crates-io.scm (nettle-src): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6dd9a4ef1..06090079fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11942,6 +11942,28 @@ types as proposed in RFC 1158.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-nettle-src
+  (package
+    (name "rust-nettle-src")
+    (version "3.5.1-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nettle-src" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j20nv9qyww9bjrxhgaj5a2dvc6ly44z040c2y90x213pvac1lzs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cc" ,rust-cc-1.0))))
+    (home-page "https://gitlab.com/sequoia-pgp/nettle-sys")
+    (synopsis "Source of Nettle and logic to build it")
+    (description "This package provided the source of Nettle and logic to
+build it for Rust.")
+    (license
+     (list license:lgpl3 license:gpl2 license:gpl3))))
+
 (define-public rust-new-debug-unreachable-1.0
   (package
     (name "rust-new-debug-unreachable")
-- 
2.21.3