From 1c573847586c557bd6199a5976e5ed0ddcdee118 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 14:50:52 -0700 Subject: [PATCH] gnu: Add rust-nettle-5. * gnu/packages/crates-io.scm (rust-nettle-5): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 99c0f049ad..8d3d7fde48 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15900,6 +15900,20 @@ (define-public rust-nettle-7 cryptographic library.") (license (list license:lgpl3 license:gpl2 license:gpl3)))) +(define-public rust-nettle-5 + (package + (inherit rust-nettle-7) + (version "5.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "nettle" version)) + (file-name + (string-append (package-name rust-nettle-7) "-" version ".tar.gz")) + (sha256 + (base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4")) + (patches (search-patches "rust-nettle-disable-vendor.patch")))))) + (define-public rust-nettle-sys-2 (package (name "rust-nettle-sys")