From 9a729b6a123474ed1c5c437493a6318272b481c5 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 27 Oct 2020 11:30:41 +0000 Subject: gnu: Add rust-cipher. * gnu/packages/crates-io.scm (rust-cipher): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2f932ab732..746e033a31 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34827,3 +34827,28 @@ division with overflow protection (description "Data model library to share app state between threads and process and persist the data in the filesystem. Implements a simple way to store structs instances in a LMDB database and other methods like BTreeMap") (license license:gpl3))) + +(define-public rust-cipher + (package + (name "rust-cipher") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nfnal8bkp0rvsscs3slqrf45rx26qf9nqspaarh50aqwm59bxx1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "") + (synopsis + "Traits for describing block ciphers and stream ciphers") + (description + "Traits for describing block ciphers and stream ciphers") + (license (list license:expat license:asl2.0)))) -- cgit v1.2.3