From 197a2dc7d14d6cd2ee0ee8e20d2f0bf61a85eb96 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:27 +0300 Subject: [PATCH] gnu: Add rust-pasetors-0.6. * gnu/packages/crates-io.scm (rust-pasetors-0.6): New variable. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0a289ab51b..cc804abe3d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42809,6 +42809,42 @@ (define-public rust-partial-io-0.2 ("rust-tokio-core" ,rust-tokio-core-0.1)))) (license license:bsd-3))) +(define-public rust-pasetors-0.6 + (package + (name "rust-pasetors") + (version "0.6.6") + (source (origin + (method url-fetch) + (uri (crate-uri "pasetors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sgag8mxix45inzmvkcp2nahmnd5gdi62wdh5v7dxhaxp0rzcjw2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ct-codecs" ,rust-ct-codecs-1) + ("rust-ed25519-compact" ,rust-ed25519-compact-2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-orion" ,rust-orion-0.17) + ("rust-p384" ,rust-p384-0.13) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/brycx/pasetors") + (synopsis "PASETO: Platform-Agnostic Security Tokens (in Rust)") + (description "PASETO: Platform-Agnostic Security Tokens (in Rust)") + (license license:expat))) + (define-public rust-password-hash-0.5 (package (name "rust-password-hash")