all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#37291] [PATCHES] Add rust-constant-time-eq, Update rust-unicode-xid to 0.2.0
@ 2019-09-02 23:29 goodoldpaul
  2019-09-03  2:53 ` Ivan Petkov
  0 siblings, 1 reply; 3+ messages in thread
From: goodoldpaul @ 2019-09-02 23:29 UTC (permalink / raw)
  To: 37291

[-- 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-03  8:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-02 23:29 [bug#37291] [PATCHES] Add rust-constant-time-eq, Update rust-unicode-xid to 0.2.0 goodoldpaul
2019-09-03  2:53 ` Ivan Petkov
2019-09-03  8:21   ` bug#37291: " Efraim Flashner

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.