From: goodoldpaul@autistici.org
To: 37291@debbugs.gnu.org
Subject: [bug#37291] [PATCHES] Add rust-constant-time-eq, Update rust-unicode-xid to 0.2.0
Date: Mon, 02 Sep 2019 23:29:57 +0000 [thread overview]
Message-ID: <bb1aa08bb273a6a02922fbae44b5b4ae@autistici.org> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-rust-constant-time-eq.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-rust-constant-time-eq.patch, Size: 1867 bytes --]
From a371d35c4de3f60b4d9475a7c29eb507cd747d85 Mon Sep 17 00:00:00 2001
From: Giacomo Leidi <goodoldpaul@autistici.org>
Date: Tue, 3 Sep 2019 01:06:40 +0200
Subject: [PATCH 1/2] gnu: Add rust-constant-time-eq.
* gnu/packages/crates-io.scm (rust-constant-time-eq): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f2a002a2f..3fbe0c748a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -251,6 +252,28 @@ colorization.")
"Low level interface to CloudABI. Contains all syscalls and related types.")
(license license:bsd-2)))
+(define-public rust-constant-time-eq
+ (package
+ (name "rust-constant-time-eq")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "constant_time_eq" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr"))))
+ (build-system cargo-build-system)
+ (home-page "https://crates.io/crates/constant_time_eq")
+ (synopsis
+ "Compares two equal-sized byte strings in constant time")
+ (description
+ "This package compares two equal-sized byte strings in constant time. Inspired
+by the Linux kernel's @code{crypto_memneq}.")
+ (license license:cc0)))
+
(define-public rust-core-foundation-sys
(package
(name "rust-core-foundation-sys")
--
2.23.0
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-rust-unicode-xid-Update-to-0.2.0.patch --]
[-- Type: text/x-diff; name=0002-gnu-rust-unicode-xid-Update-to-0.2.0.patch, Size: 1200 bytes --]
From 8a6313282c6651f24da4a70c2d633b74fdcebea0 Mon Sep 17 00:00:00 2001
From: Giacomo Leidi <goodoldpaul@autistici.org>
Date: Tue, 3 Sep 2019 01:16:29 +0200
Subject: [PATCH 2/2] gnu: rust-unicode-xid: Update to 0.2.0.
* gnu/packages/crates-io.scm (rust-unicode-xid): Update to 0.2.0.
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3fbe0c748a..a837d97d53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2431,7 +2431,7 @@ with the Unicode character database.")
(define-public rust-unicode-xid
(package
(name "rust-unicode-xid")
- (version "0.1.0")
+ (version "0.2.0")
(source
(origin
(method url-fetch)
@@ -2440,7 +2440,7 @@ with the Unicode character database.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))
+ "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
(build-system cargo-build-system)
(home-page
"https://github.com/unicode-rs/unicode-xid")
--
2.23.0
next reply other threads:[~2019-09-02 23:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-02 23:29 goodoldpaul [this message]
2019-09-03 2:53 ` [bug#37291] [PATCHES] Add rust-constant-time-eq, Update rust-unicode-xid to 0.2.0 Ivan Petkov
2019-09-03 8:21 ` bug#37291: " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb1aa08bb273a6a02922fbae44b5b4ae@autistici.org \
--to=goodoldpaul@autistici.org \
--cc=37291@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.