* [bug#39159] [PATCH] Add Tokei
@ 2020-01-17 5:30 John Soo
2020-01-17 15:50 ` John Soo
0 siblings, 1 reply; 7+ messages in thread
From: John Soo @ 2020-01-17 5:30 UTC (permalink / raw)
To: 39159
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
Hi Guix!
Tokei is a very fast source code counting command line interface.
It is written in rust, explaining the large number of patches.
I linted these and rebased on master this evening.
Thanks,
John
[-- Attachment #2: 0001-gnu-Add-rust-crossbeam-epoch-0.8.patch --]
[-- Type: text/x-patch, Size: 1656 bytes --]
From 5e9a9c4f53f9508ac8eb487a6f6927e209347ecd Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:35:29 -0800
Subject: [PATCH 01/70] gnu: Add rust-crossbeam-epoch-0.8.
* gnu/packages/crates-io.scm (rust-crossbeam-epoch-0.8): 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 41ed200296..733656edd9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1878,6 +1878,31 @@ intrinsics.")
(description "Epoch-based garbage collection.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crossbeam-epoch-0.8
+ (package
+ (inherit rust-crossbeam-epoch-0.7)
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-epoch" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-epoch-0.7) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b2mgc2gxxvyzyxgd5wvn9k42gr6f9phi2swwjawpqswy3dynr2h"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-0.1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-memoffset" ,rust-memoffset-0.5)
+ ("rust-scopeguard" ,rust-scopeguard-1.0))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-crossbeam-queue-0.1
(package
(name "rust-crossbeam-queue")
--
2.24.1
[-- Attachment #3: 0003-gnu-Add-rust-memoffset-0.5.patch --]
[-- Type: text/x-patch, Size: 1347 bytes --]
From bbb919fc99bb319db01d662d0c05ac82d4fdc5c6 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:34:59 -0800
Subject: [PATCH 03/70] gnu: Add rust-memoffset-0.5.
* gnu/packages/crates-io.scm (rust-memoffset-0.5): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f3fd4538c0..33a07da2ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5508,6 +5508,26 @@ file IO.")
"@code{offset_of} functionality for Rust structs.")
(license license:expat)))
+(define-public rust-memoffset-0.5
+ (package
+ (inherit rust-memoffset-0.2)
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memoffset" version))
+ (file-name
+ (string-append (package-name rust-memoffset-0.2) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fblqzc25hfaym8m0pj112s66pqq87avvaqm5hp5rskib2w9w63m"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.2))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))))
+
(define-public rust-mime-0.3
(package
(name "rust-mime")
--
2.24.1
[-- Attachment #4: 0004-gnu-Update-rust-crossbeam-deque-to-0.7.2.patch --]
[-- Type: text/x-patch, Size: 1403 bytes --]
From 6ad5c23bb71de250ede3bdec08e0bcdfb2acaa08 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 07:33:11 -0800
Subject: [PATCH 04/70] gnu: Update rust-crossbeam-deque to 0.7.2.
* gnu/packages/crates-io.scm (rust-crossbeam-deque-0.7): Update to 0.7.2.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 33a07da2ba..ab5f78d676 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1808,7 +1808,7 @@ intrinsics.")
(define-public rust-crossbeam-deque-0.7
(package
(name "rust-crossbeam-deque")
- (version "0.7.1")
+ (version "0.7.2")
(source
(origin
(method url-fetch)
@@ -1817,12 +1817,12 @@ intrinsics.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0was9x71cz5g1y3670cyy6jdmsdfg6k9mbf0ddz2k1mdd7hx535i"))))
+ "1jm3rqb3qfpfywrakyy81f61xnl4jsim7lam9digw6w6cdfr9an3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.7)
+ (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.8)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.4))))
--
2.24.1
[-- Attachment #5: 0005-gnu-Add-rust-crossbeam-queue-0.2.patch --]
[-- Type: text/x-patch, Size: 1425 bytes --]
From 2386d8a3d5065d110c6a63c052673adafc610172 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:59:10 -0800
Subject: [PATCH 05/70] gnu: Add rust-crossbeam-queue-0.2.
* gnu/packages/crates-io.scm (rust-crossbeam-queue-0.2): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ab5f78d676..b5486afcb5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1931,6 +1931,27 @@ intrinsics.")
license:asl2.0
license:bsd-2))))
+(define-public rust-crossbeam-queue-0.2
+ (package
+ (inherit rust-crossbeam-queue-0.1)
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-queue" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-queue-0.1) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nwkjh185bdwjrv1zj2g7an9lglv8sp4459268m4fwvi3v5fx5f6"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-crossbeam-utils-0.6
(package
(name "rust-crossbeam-utils")
--
2.24.1
[-- Attachment #6: 0006-gnu-Update-rust-rand-chacha-0.2-to-0.2.1.patch --]
[-- Type: text/x-patch, Size: 1227 bytes --]
From af8eb7b42e8366a00aea021a7c017a289d1dafcf Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:09:22 -0800
Subject: [PATCH 06/70] gnu: Update rust-rand-chacha-0.2 to 0.2.1.
* gnu/packages/crates-io.scm (rust-rand-chacha-0.2): Update to 0.2.1.
---
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 b5486afcb5..30793ac181 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7687,7 +7687,7 @@ useful types and distributions, and some randomness-related algorithms.")
(define-public rust-rand-chacha-0.2
(package
(name "rust-rand-chacha")
- (version "0.2.0")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
@@ -7696,7 +7696,7 @@ useful types and distributions, and some randomness-related algorithms.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "178d36jfkc4v95s25scc2vibj2hd2hlk64cs6id4hvzg89whd4z1"))))
+ "0lv8imzzl4h2glm6sjj8mkvasgi8jym23ya48dakyln7m06sk8h3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #7: 0007-gnu-Update-rust-rand-core-0.5-to-0.5.1.patch --]
[-- Type: text/x-patch, Size: 1219 bytes --]
From e9196f38c81b8950933acb174c4809a044469426 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:12:54 -0800
Subject: [PATCH 07/70] gnu: Update rust-rand-core-0.5 to 0.5.1.
* gnu/packages/crates-io.scm (rust-rand-core-0.5): Update to 0.5.1.
---
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 30793ac181..4f7b07e07a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7733,7 +7733,7 @@ useful types and distributions, and some randomness-related algorithms.")
(define-public rust-rand-core-0.5
(package
(name "rust-rand-core")
- (version "0.5.0")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
@@ -7742,7 +7742,7 @@ useful types and distributions, and some randomness-related algorithms.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1"))))
+ "06bdvx08v3rkz451cm7z59xwwqn1rkfh6v9ay77b14f8dwlybgch"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #8: 0008-gnu-rust-rand-hc-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1116 bytes --]
From 6793477df7743fadac775bfa170c2a09b76cb10d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:20:57 -0800
Subject: [PATCH 08/70] gnu: rust-rand-hc-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-rand-hc-0.1):[arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f7b07e07a..f4582ffd8e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7806,11 +7806,11 @@ useful types and distributions, and some randomness-related algorithms.")
(sha256
(base32
"1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v"))))
+ (arguments `(#:skip-build? #t))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_hc")
(synopsis "HC128 random number generator")
(description "HC128 random number generator")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.24.1
[-- Attachment #9: 0009-gnu-Add-rust-rand-hc-0.2.patch --]
[-- Type: text/x-patch, Size: 1290 bytes --]
From 57f124126d584e6f3bedf3c84cb29f788fe55d3d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:22:31 -0800
Subject: [PATCH 09/70] gnu: Add rust-rand-hc-0.2.
* gnu/packages/crates-io.scm (rust-rand-hc-0.2): New variable.
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4582ffd8e..0af15fd2e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7814,6 +7814,23 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-hc-0.2
+ (package
+ (inherit rust-rand-hc-0.1)
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_hc" version))
+ (file-name (string-append (package-name rust-rand-hc-0.1) "-" version ".crate"))
+ (sha256
+ (base32
+ "0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rand-hc" ,rust-rand-core-0.5))))))
+
(define-public rust-rand-isaac-0.1
(package
(name "rust-rand-isaac")
--
2.24.1
[-- Attachment #10: 0010-gnu-rust-rand-pcg-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1132 bytes --]
From 6cc9fef913cb945ce968e50091a0d0cfc9626b1c Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:28:24 -0800
Subject: [PATCH 10/70] gnu: rust-rand-pcg-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-rand-pcg-0.1):[arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0af15fd2e7..e017a6036a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7937,12 +7937,12 @@ useful types and distributions, and some randomness-related algorithms.")
(base32
"0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://crates.io/crates/rand_pcg")
(synopsis
"Selected PCG random number generators")
(description
"Selected PCG random number generators")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.24.1
[-- Attachment #11: 0011-gnu-Add-rust-rand-pcg-0.2.patch --]
[-- Type: text/x-patch, Size: 1185 bytes --]
From 283dc85713b73302cf7c5abb13a047005f3a6dd8 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:30:42 -0800
Subject: [PATCH 11/70] gnu: Add rust-rand-pcg-0.2.
* gnu/packages/crates-io.scm (rust-rand-pcg-0.2): New variable.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e017a6036a..5da174dd25 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7946,6 +7946,19 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-pcg-0.2
+ (package
+ (inherit rust-rand-pcg-0.1)
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_pcg" version))
+ (file-name (string-append (package-name rust-rand-pcg-0.1) "-" version ".crate"))
+ (sha256
+ (base32
+ "0ab4h6s6x3py833jk61lwadq83qd1c8bih2hgi6yps9rnv0x1aqn"))))))
+
(define-public rust-rand-xorshift-0.2
(package
(name "rust-rand-xorshift")
--
2.24.1
[-- Attachment #12: 0012-gnu-Add-rust-rand-0.7.patch --]
[-- Type: text/x-patch, Size: 1719 bytes --]
From b1d95cec9789ebdd32f90fd8634fff46449c620e Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:38:08 -0800
Subject: [PATCH 12/70] gnu: Add rust-rand-0.7.
* gnu/packages/crates-io.scm (rust-rand-0.7): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5da174dd25..d07bae77c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7643,6 +7643,33 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-0.7
+ (package
+ (inherit rust-rand-0.6)
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand" version))
+ (file-name (string-append (package-name rust-rand-0.6) "-" version ".crate"))
+ (sha256
+ (base32
+ "00sdaimkbz491qgi6qxkv582yivl32m2jd401kzbn94vsiwicsva"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-packed-simd" ,rust-packed-simd-0.3)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.2)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-rand-hc" ,rust-rand-hc-0.2)
+ ("rust-rand-pcg" ,rust-rand-pcg-0.2))
+ #:cargo-development-inputs
+ (("rust-rand-hc" ,rust-rand-hc-0.2)
+ ("rust-rand-pcg" ,rust-rand-pcg-0.2))))))
+
(define-public rust-rand-0.4
(package
(inherit rust-rand-0.6)
--
2.24.1
[-- Attachment #13: 0013-gnu-Add-rust-rayon-core-1.7.patch --]
[-- Type: text/x-patch, Size: 1725 bytes --]
From 433b79651d3b286fcd8fd6b7874911c4e5303685 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:43:18 -0800
Subject: [PATCH 13/70] gnu: Add rust-rayon-core-1.7.
* gnu/packages/crates-io.scm (rust-rayon-core-1.7): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d07bae77c2..639ef4f44b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8202,6 +8202,33 @@ accessors.")
(description "Core APIs for Rayon.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rayon-core-1.7
+ (package
+ (inherit rust-rayon-core-1.5)
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon-core" version))
+ (file-name
+ (string-append (package-name rust-rayon-core-1.5) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ac55kpnh2390ah7r071vnjbiy308qpznql0n597x5dgxx39pa08"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.2)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-num-cpus" ,rust-num-cpus-1.10))
+ #:cargo-development-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-scoped-tls" ,rust-scoped-tls-1.0))))))
+
(define-public rust-rdrand-0.4
(package
(name "rust-rdrand")
--
2.24.1
[-- Attachment #14: 0014-gnu-Add-rust-rayon-1.3.patch --]
[-- Type: text/x-patch, Size: 1684 bytes --]
From f2e8dc1acf3485dbda9b19617d7986f1ecd42295 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:46:23 -0800
Subject: [PATCH 14/70] gnu: Add rust-rayon-1.3.
* gnu/packages/crates-io.scm (rust-rayon-1.3): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 639ef4f44b..4c7a813daa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8170,6 +8170,33 @@ accessors.")
"Simple work-stealing parallelism for Rust.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rayon-1.3
+ (package
+ (inherit rust-rayon-1.1)
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon" version))
+ (file-name
+ (string-append (package-name rust-rayon-1.1) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1650g13bxlmywhdlw65q3g1zyyb7l0wcm35v45kf31cwgwly6v6v"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-either" ,rust-either-1.5)
+ ("rust-rayon-core" ,rust-rayon-core-1.7))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-docopt" ,rust-docopt-1.1)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-serde" ,rust-serde-1.0))))))
+
(define-public rust-rayon-core-1.5
(package
(name "rust-rayon-core")
--
2.24.1
[-- Attachment #15: 0015-gnu-Add-rust-libgit2-sys-0.10.patch --]
[-- Type: text/x-patch, Size: 1275 bytes --]
From 7a86dbba62ed049b8c31f014257623a6db435851 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:24:27 -0800
Subject: [PATCH 15/70] gnu: Add rust-libgit2-sys-0.10.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.10): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c7a813daa..01802af9da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5092,6 +5092,21 @@ the platform that libc is compiled for.")
"1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28"))))
(build-system cargo-build-system)))
+(define-public rust-libgit2-sys-0.10
+ (package
+ (inherit rust-libgit2-sys-0.8)
+ (name "rust-libgit2-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append (package-name rust-libgit2-sys-0.8)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))))))
+
(define-public rust-libloading-0.5
(package
(name "rust-libloading")
--
2.24.1
[-- Attachment #16: 0016-gnu-rust-term-0.5-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1070 bytes --]
From 1262946a3fff4f559fd53fa0cb7b1b7a4f35d921 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:53:47 -0800
Subject: [PATCH 16/70] gnu: rust-term-0.5: Don't hide package.
* gnu/packages/crates-io.scm (rust-term-0.5):[arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01802af9da..238faa1987 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10413,11 +10413,11 @@ directories.")
(base32
"0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/Stebalien/term")
(synopsis "Terminal formatting library")
(description
"This package provides a terminal formatting library in rust.")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.24.1
[-- Attachment #17: 0017-gnu-rust-term-0.4-Correct-dependencies.patch --]
[-- Type: text/x-patch, Size: 1052 bytes --]
From 7fdb100d96b85136241d9c5317dbd43f1a530345 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:55:34 -0800
Subject: [PATCH 17/70] gnu: rust-term-0.4: Correct dependencies.
* gnu/packages/crates-io.scm (rust-term-0.4): [arguments] Add dependencies.
---
gnu/packages/crates-io.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 238faa1987..2db33a7bd9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10433,7 +10433,12 @@ directories.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))))
+ "1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-winapi" ,rust-winapi-0.2))))))
(define-public rust-termcolor-1.0
(package
--
2.24.1
[-- Attachment #18: 0002-gnu-Add-rust-crossbeam-utils-0.7.patch --]
[-- Type: text/x-patch, Size: 1465 bytes --]
From 097c77b987db9668f648612b71bf3634c70c9f9d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:34:27 -0800
Subject: [PATCH 02/70] gnu: Add rust-crossbeam-utils-0.7.
* gnu/packages/crates-io.scm (rust-crossbeam-utils-0.7): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 733656edd9..f3fd4538c0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1959,6 +1959,28 @@ intrinsics.")
"Utilities for concurrent programming.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crossbeam-utils-0.7
+ (package
+ (inherit rust-crossbeam-utils-0.6)
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-utils" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-utils-0.6) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1x1rn35q2v05qif14ijfg7800d3rf3ji2cg79awnacfw5jq6si6f"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-0.1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1.3))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-csv-1.1
(package
(name "rust-csv")
--
2.24.1
[-- Attachment #19: 0018-gnu-rust-term-0.4-Don-t-refer-to-name-in-package-sou.patch --]
[-- Type: text/x-patch, Size: 991 bytes --]
From 7f5d32291e895f8674935f54de3b8808e27af258 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:01:21 -0800
Subject: [PATCH 18/70] gnu: rust-term-0.4: Don't refer to name in
package-source.
* gnu/packages/crates-io.scm (rust-term-0.4): [source] Remove reference to name.
---
gnu/packages/crates-io.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2db33a7bd9..6c57fceb88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10430,7 +10430,8 @@ directories.")
(origin
(method url-fetch)
(uri (crate-uri "term" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append (package-name rust-term-0.5)
+ "-" version ".crate"))
(sha256
(base32
"1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))
--
2.24.1
[-- Attachment #20: 0019-gnu-rust-rustc-test-0.3-Correct-cargo-inputs.patch --]
[-- Type: text/x-patch, Size: 1193 bytes --]
From c5fab6fe515cd1e57394216631ef758fbf1d6774 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:48:52 -0800
Subject: [PATCH 19/70] gnu: rust-rustc-test-0.3: Correct cargo-inputs.
* gnu/packages/crates-io.scm (rust-rustc-test-0.3): [arguments] Correct dependencies.
---
gnu/packages/crates-io.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6c57fceb88..d9b54712e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8700,10 +8700,9 @@ rust-lang/rust integration.")
(("rust-getopts" ,rust-getopts-0.2)
("rust-libc" ,rust-libc-0.2)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
- ("rust-term" ,rust-term-0.5)
- ("rust-time" ,rust-time-0.1))
- #:cargo-development-inputs
- (("rust-rustc-version" ,rust-rustc-version-0.2))))
+ ("rust-term" ,rust-term-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-rustc-version" ,rust-rustc-version-0.2))))
(home-page "https://github.com/servo/rustc-test")
(synopsis "Fork of Rust's test crate")
(description
--
2.24.1
[-- Attachment #21: 0021-gnu-rust-time-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1306 bytes --]
From 120634c8054ccab7a7b23961381376fc6ed94661 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:14:22 -0800
Subject: [PATCH 21/70] gnu: rust-time-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-time-0.1): [arguments] Skip build, add
dependencies [properties] Remove field [home-page] Update url
---
gnu/packages/crates-io.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc8bd4b254..61fd143ea1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10684,12 +10684,15 @@ fixed set of worker threads.")
(base32
"161hqx0gw722ikydanpahky447vaxqncwmkj66rny282vzqpalx1"))))
(build-system cargo-build-system)
- (home-page "https://github.com/rust-lang-deprecated/time")
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-redox-syscall" ,rust-redox-syscall-0.1))))
+ (home-page "https://github.com/time-rs/time")
(synopsis "Simple time handling in Rust")
(description
"This package provides utilities for working with time-related functions
in Rust.")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.24.1
[-- Attachment #22: 0020-gnu-Add-rust-idna-0.2.patch --]
[-- Type: text/x-patch, Size: 1533 bytes --]
From 6d4d7146174256f5705ccbdfe29e4223bda42ffd Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:40:44 -0800
Subject: [PATCH 20/70] gnu: Add rust-idna-0.2.
* gnu/packages/crates-io.scm (rust-idna-0.2): 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 d9b54712e5..cc8bd4b254 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4508,6 +4508,29 @@ SystemTime}}.")
"IDNA (Internationalizing Domain Names in Applications) and Punycode.")
(license (list license:expat license:asl2.0))))
+(define-public rust-idna-0.2
+ (package
+ (inherit rust-idna-0.1)
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "idna" version))
+ (file-name
+ (string-append (package-name rust-idna-0.1) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a9066imqpdrm1aavfasdyb1zahqaz8jmdcwdawvb1pf60y6gqh2"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-matches" ,rust-matches-0.1)
+ ("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
+ ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))
+ #:cargo-development-inputs
+ (("rust-rustc-test" ,rust-rustc-test-0.3)
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
+
(define-public rust-ignore-0.4
(package
(name "rust-ignore")
--
2.24.1
[-- Attachment #23: 0022-gnu-Add-rust-url-2.1.patch --]
[-- Type: text/x-patch, Size: 1611 bytes --]
From 836304497467e58124683dc3b481d1ee0fa744cc Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:47:02 -0800
Subject: [PATCH 22/70] gnu: Add rust-url-2.1.
* gnu/packages/crates-io.scm (rust-url-2.1): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 61fd143ea1..ba676b9c6e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11810,6 +11810,32 @@ untrusted inputs in Rust.")
"URL library for Rust, based on the WHATWG URL Standard.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-url-2.1
+ (package
+ (inherit rust-url-1.7)
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "url" version))
+ (file-name
+ (string-append (package-name rust-url-1.7)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jw7cw8br4xvjb92ddrrh1r7jvqhyhiknnnfpgq9np63fs24m7c2"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-idna" ,rust-idna-0.2)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-percent-encoding" ,rust-percent-encoding-2.1)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-rustc-test" ,rust-rustc-test-0.3)
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
+
(define-public rust-utf-8-0.7
(package
(name "rust-utf-8")
--
2.24.1
[-- Attachment #24: 0023-gnu-Add-rust-tempfile-3.1.patch --]
[-- Type: text/x-patch, Size: 1502 bytes --]
From bbcf79f26a01afc5aee8af9758337fd9e88cc193 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:59:27 -0800
Subject: [PATCH 23/70] gnu: Add rust-tempfile-3.1.
* gnu/packages/crates-io.scm (rust-tempfile-3.1): 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 ba676b9c6e..699ca0cd93 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10391,6 +10391,29 @@ directories.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-tempfile-3.1
+ (package
+ (inherit rust-tempfile-3.0)
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tempfile" version))
+ (file-name (string-append (package-name rust-tempfile-3.0)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "1a9cfdqw70n7bcnkx05aih9xdba8lqazmqlkjpkmn2la6gcj8vks"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+ ("rust-remove-dir-all" ,rust-remove-dir-all-0.5)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-tendril-0.4
(package
(name "rust-tendril")
--
2.24.1
[-- Attachment #25: 0024-gnu-Add-rust-git2-0.11.patch --]
[-- Type: text/x-patch, Size: 1865 bytes --]
From 5ab0d53d2b6d8dfe08ff43a2b8c5f0625a51def8 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:03:28 -0800
Subject: [PATCH 24/70] gnu: Add rust-git2-0.11.
* gnu/packages/crates-io.scm (rust-git2-0.11): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 699ca0cd93..b54b115f8f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3862,6 +3862,37 @@ This library is both threadsafe and memory safe and allows both
reading and writing git repositories.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-git2-0.11
+ (package
+ (inherit rust-git2-0.9)
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git2" version))
+ (file-name
+ (string-append (package-name rust-git2-0.9) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-url" ,rust-url-2.1))
+ #:cargo-development-inputs
+ (("rust-docopt" ,rust-docopt-1.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-tempfile" ,rust-tempfile-3.1)
+ ("rust-thread-id" ,rust-thread-id-3.3)
+ ("rust-time" ,rust-time-0.1))))))
+
(define-public rust-glob-0.3
(package
(name "rust-glob")
--
2.24.1
[-- Attachment #26: 0027-gnu-Add-rust-handlebars-2.0.patch --]
[-- Type: text/x-patch, Size: 2185 bytes --]
From 6baa2a1b04a8f61e5815606360925ed6206aba18 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:34:03 -0800
Subject: [PATCH 27/70] gnu: Add rust-handlebars-2.0.
* gnu/packages/crates-io.scm (rust-handlebars-2.0): New variable.
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7328fa0f87..85d46178d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4230,6 +4230,45 @@ standard printing of search results, similar to grep itself.")
IEEE 754-2008 binary16 type.")
(license (list license:expat license:asl2.0))))
+(define-public rust-handlebars-2.0
+ (package
+ (name "rust-handlebars")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "handlebars" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m99gwjd7q7q79bk4f716wsdvcyhsrcsq4vbzcavbkmc48d194mg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hashbrown" ,rust-hashbrown-0.5)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pest" ,rust-pest-2.1)
+ ("rust-pest-derive" ,rust-pest-derive-2.1)
+ ("rust-quick-error" ,rust-quick-error-1.2)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-walkdir" ,rust-walkdir-2.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.2)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-maplit" ,rust-maplit-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-tempfile" ,rust-tempfile-3.0))))
+ (home-page
+ "https://github.com/sunng87/handlebars-rust")
+ (synopsis
+ "Handlebars templating implemented in Rust")
+ (description
+ "Handlebars templating implemented in Rust.")
+ (license license:expat)))
+
(define-public rust-heapsize-0.4
(package
(name "rust-heapsize")
--
2.24.1
[-- Attachment #27: 0025-gnu-rust-lock-api-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1523 bytes --]
From 951c887abb52c0d67a056b02ab964b49f4cd10c2 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:07:14 -0800
Subject: [PATCH 25/70] gnu: rust-lock-api-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-lock-api-0.1):[arguments] Skip build,
update dependencies [properties] Remove field.
---
gnu/packages/crates-io.scm | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b54b115f8f..716ff9c8ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5271,14 +5271,18 @@ functions and static variables these libraries contain.")
(name "rust-lock-api")
(version "0.1.5")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "lock_api" version))
- (file-name (string-append name "-" version ".crate"))
- (sha256
- (base32
- "0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2"))))
- (properties '((hidden? . #t)))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lock_api" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-owning-ref" ,rust-owning-ref-0.4)
+ ("rust-scopeguard" ,rust-scopeguard-0.3))))))
(define-public rust-log-0.4
(package
--
2.24.1
[-- Attachment #28: 0026-gnu-rust-toml-0.5-Update-to-0.5.5.patch --]
[-- Type: text/x-patch, Size: 1506 bytes --]
From 154f5adc5bb75988f977df179ff8c36fa73605ff Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:31:56 -0800
Subject: [PATCH 26/70] gnu: rust-toml-0.5: Update to 0.5.5.
* gnu/packages/crates-io.scm (rust-toml-0.5): Update it.
---
gnu/packages/crates-io.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 716ff9c8ac..7328fa0f87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11288,7 +11288,7 @@ pool.")
(define-public rust-toml-0.5
(package
(name "rust-toml")
- (version "0.5.3")
+ (version "0.5.5")
(source
(origin
(method url-fetch)
@@ -11296,8 +11296,16 @@ pool.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "093p48vpqm4bb8q3514xsij0dkljxlr3jp9ypxr4p48xjisvxan7"))))
+ "1kwqpin2w5fk51yamajdb18s949s80i47yngpwb2pcf88i341l81"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-indexmap" ,rust-indexmap-1.0)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
(home-page "https://github.com/alexcrichton/toml-rs")
(synopsis "Rust encoder and decoder of TOML-formatted files and streams")
(description
--
2.24.1
[-- Attachment #29: 0028-gnu-Add-rust-hex-0.4.patch --]
[-- Type: text/x-patch, Size: 1150 bytes --]
From 09232f2a7b044c283dcc72247a639145f968c855 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:36:59 -0800
Subject: [PATCH 28/70] gnu: Add rust-hex-0.4.
* gnu/packages/crates-io.scm (rust-hex-0.4): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 85d46178d6..568f445287 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4355,6 +4355,21 @@ hexadecimal representation.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-hex-0.4
+ (package
+ (inherit rust-hex-0.3)
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hex" version))
+ (file-name
+ (string-append (package-name rust-hex-0.3)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0glsfrx2pxfsf6ivxj7vfrvd7g78j4z47ssgm5idm8p376z3jfq2"))))))
+
(define-public rust-hex-literal-0.2
(package
(name "rust-hex-literal")
--
2.24.1
[-- Attachment #30: 0030-gnu-rust-memchr-2.2-Update-to-2.2.1.patch --]
[-- Type: text/x-patch, Size: 1140 bytes --]
From 362836e62e25fbecd8640cdfba031dbec0aced95 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:44:45 -0800
Subject: [PATCH 30/70] gnu: rust-memchr-2.2: Update to 2.2.1.
* gnu/packages/crates-io.scm (rust-memchr-2.2): Update it.
---
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 fd718c5569..d89ccd2563 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5559,7 +5559,7 @@ whether an expression matches a pattern.")
(define-public rust-memchr-2.2
(package
(name "rust-memchr")
- (version "2.2.0")
+ (version "2.2.1")
(source
(origin
(method url-fetch)
@@ -5568,7 +5568,7 @@ whether an expression matches a pattern.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0f8wdra7yaggsr4jzlrvpd8yknnqhd990iijdr6llgc8gk2ppz1f"))))
+ "13j6ji9x9ydpi9grbss106gqqr3xn3bcfp28aydqfa4751qrfmw8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #31: 0029-gnu-Add-rust-regex-1.3.patch --]
[-- Type: text/x-patch, Size: 1759 bytes --]
From ee441d50c55e3a0e3e1dda6137cbb9e146f8d2e4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:42:35 -0800
Subject: [PATCH 29/70] gnu: Add rust-regex-1.3.
* gnu/packages/crates-io.scm (rust-regex-1.3): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 568f445287..fd718c5569 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8536,6 +8536,34 @@ system calls.")
uses finite automata and guarantees linear time matching on all inputs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-regex-1.3
+ (package
+ (inherit rust-regex-1.1)
+ (version "1.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "regex" version))
+ (file-name
+ (string-append (package-name rust-regex-1.1)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11syqmfvbsah805z6ih8vxf8p6jssdsz1gjsjqcwprz484cqql5m"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-aho-corasick" ,rust-aho-corasick-0.7)
+ ("rust-memchr" ,rust-memchr-2.2)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-thread-local" ,rust-thread-local-1.0)
+ ("rust-utf8-ranges" ,rust-utf8-ranges-1.0))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-rand" ,rust-rand-0.4))))))
+
(define-public rust-regex-automata-0.1
(package
(name "rust-regex-automata")
--
2.24.1
[-- Attachment #32: 0032-gnu-Add-rust-humantime-1.3.patch --]
[-- Type: text/x-patch, Size: 1134 bytes --]
From e6750916851fc792970308731302e480724d4690 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:48:22 -0800
Subject: [PATCH 32/70] gnu: Add rust-humantime-1.3.
* gnu/packages/crates-io.scm (rust-humantime-1.3): New variable.
---
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 e8627ebe5d..8639400527 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4544,6 +4544,20 @@ requests and responses.")
SystemTime}}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-humantime-1.3
+ (package
+ (inherit rust-humantime-1.2)
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "humantime" version))
+ (file-name
+ (string-append (package-name rust-humantime-1.2) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0krwgbf35pd46xvkqg14j070vircsndabahahlv3rwhflpy4q06z"))))))
+
(define-public rust-hostname-0.1
(package
(name "rust-hostname")
--
2.24.1
[-- Attachment #33: 0031-gnu-Add-rust-lazy-static-1.4.patch --]
[-- Type: text/x-patch, Size: 1207 bytes --]
From 9d6e0187d4eaf45c976fe0095be8bb34b77047c4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:45:54 -0800
Subject: [PATCH 31/70] gnu: Add rust-lazy-static-1.4.
* gnu/packages/crates-io.scm (rust-lazy-static-1.4): New variable.
---
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 d89ccd2563..e8627ebe5d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5060,6 +5060,20 @@ requires non-const function calls to be computed.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-lazy-static-1.4
+ (package
+ (inherit rust-lazy-static-1.3)
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazy_static" version))
+ (file-name (string-append (package-name rust-lazy-static-1.3)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2"))))))
+
(define-public rust-lazycell-1.2
(package
(name "rust-lazycell")
--
2.24.1
[-- Attachment #34: 0033-gnu-Add-rust-env-logger-0.7.patch --]
[-- Type: text/x-patch, Size: 1436 bytes --]
From 439efe11080ae634e16a7b9d4a7d15294a3366e3 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:48:50 -0800
Subject: [PATCH 33/70] gnu: Add rust-env-logger-0.7.
* gnu/packages/crates-io.scm (rust-env-logger-0.7): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8639400527..ed9b254f4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2785,6 +2785,28 @@ Standard.")
is configured via an environment variable.")
(license (list license:expat license:asl2.0))))
+(define-public rust-env-logger-0.7
+ (package
+ (inherit rust-env-logger-0.6)
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env_logger" version))
+ (file-name
+ (string-append (package-name rust-env-logger-0.6) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0djx8h8xfib43g5w94r1m1mkky5spcw4wblzgnhiyg5vnfxknls4"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-humantime" ,rust-humantime-1.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1.1)
+ ("rust-termcolor" ,rust-termcolor-1.0))))))
+
(define-public rust-envmnt-0.6
(package
(name "rust-envmnt")
--
2.24.1
[-- Attachment #35: 0035-gnu-Add-rust-dirs-2.0.patch --]
[-- Type: text/x-patch, Size: 1372 bytes --]
From ca2c80d7b0a8a223c7f1ff0b42925ee18d2027f5 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:52:36 -0800
Subject: [PATCH 35/70] gnu: Add rust-dirs-2.0.
* gnu/packages/crates-io.scm (rust-dirs-2.0): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 599c671010..e3c853014e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2356,6 +2356,25 @@ the XDG base/user directory specifications on Linux, the Known Folder API on
Windows, and the Standard Directory guidelines on macOS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dirs-2.0
+ (package
+ (inherit rust-dirs-1.0)
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name
+ (string-append (package-name rust-dirs-1.0)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qymhyq7w7wlf1dirq6gsnabdyzg6yi2yyxkx6c4ldlkbjdaibhk"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-dirs-sys" ,rust-dirs-sys-0.3))))))
+
(define-public rust-discard-1.0
(package
(name "rust-discard")
--
2.24.1
[-- Attachment #36: 0034-gnu-Add-rust-crossbeam-channel-0.4.patch --]
[-- Type: text/x-patch, Size: 1537 bytes --]
From d734d01f11ac3ae199936191ce0e76e50d83a013 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:50:57 -0800
Subject: [PATCH 34/70] gnu: Add rust-crossbeam-channel-0.4.
* gnu/packages/crates-io.scm (rust-crossbeam-channel-0.4): 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 ed9b254f4d..599c671010 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1805,6 +1805,29 @@ intrinsics.")
license:asl2.0
license:bsd-2))))
+(define-public rust-crossbeam-channel-0.4
+ (package
+ (inherit rust-crossbeam-channel-0.3)
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-channel" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-channel-0.3)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "135ncx9680afs8jkjz8g3iq3naay9rn7942gxrdg2n9m1cxrmv5c"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))
+ #:cargo-development-inputs
+ (("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-signal-hook" ,rust-signal-hook-0.1))))))
+
(define-public rust-crossbeam-deque-0.7
(package
(name "rust-crossbeam-deque")
--
2.24.1
[-- Attachment #37: 0036-gnu-rust-grep-searcher-0.1-Update-to-0.1.6.patch --]
[-- Type: text/x-patch, Size: 1208 bytes --]
From 601f81185b529dab67a1e1b8c2a0aa0dcf8d9200 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:54:28 -0800
Subject: [PATCH 36/70] gnu: rust-grep-searcher-0.1: Update to 0.1.6.
* gnu/packages/crates-io.scm (rust-grep-searcher-0.1): Update it.
---
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 e3c853014e..63648d58c1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4240,7 +4240,7 @@ standard printing of search results, similar to grep itself.")
(define-public rust-grep-searcher-0.1
(package
(name "rust-grep-searcher")
- (version "0.1.5")
+ (version "0.1.6")
(source
(origin
(method url-fetch)
@@ -4249,7 +4249,7 @@ standard printing of search results, similar to grep itself.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0pj85m7q6k6jpl3q57v1gwq5jxmqnza2xg7jjcxky3q325z8lcjy"))))
+ "09ag16im12v6k0lzkyvbvamn1iw15kfx1jbfldb7z5xa7208l04a"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #38: 0038-gnu-rust-serde-cbor-0.10-Update-to-0.10.2.patch --]
[-- Type: text/x-patch, Size: 1142 bytes --]
From d149a473e9667be768f3f05d627e8161703983b1 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:56:41 -0800
Subject: [PATCH 38/70] gnu: rust-serde-cbor-0.10: Update to 0.10.2.
* gnu/packages/crates-io.scm (rust-serde-cbor-0.10): Update it.
---
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 625e7c9ab1..fadbb1d057 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9454,7 +9454,7 @@ proven statistical guarantees.")
(define-public rust-serde-cbor-0.10
(package
(name "rust-serde-cbor")
- (version "0.10.1")
+ (version "0.10.2")
(source
(origin
(method url-fetch)
@@ -9463,7 +9463,7 @@ proven statistical guarantees.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0jcb4j637vdlqk2z38jixaqmp6f92h36r17kclv5brjay32911ii"))))
+ "0kyizacjabsa78p9f7qvj31zirpnsgsr4zpfv1p6lwpcb3biw27p"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #39: 0037-gnu-rust-serde-1.0-Update-to-1.0.104.patch --]
[-- Type: text/x-patch, Size: 1138 bytes --]
From 0ca6642549d0856d221ed4224957b685753744d3 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:55:46 -0800
Subject: [PATCH 37/70] gnu: rust-serde-1.0: Update to 1.0.104.
* gnu/packages/crates-io.scm (rust-serde-1.0): Update it.
---
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 63648d58c1..625e7c9ab1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9398,7 +9398,7 @@ proven statistical guarantees.")
(define-public rust-serde-1.0
(package
(name "rust-serde")
- (version "1.0.101")
+ (version "1.0.104")
(source
(origin
(method url-fetch)
@@ -9406,7 +9406,7 @@ proven statistical guarantees.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1p8r24hagcsrl92w5z32nfrg9040qkgqf8iwwnf7mzigpavwk5lp"))))
+ "0ja4mgw4p42syjk7jkzwhj2yg6llfrfm7vn8rvy7v3c1bzr1aha1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #40: 0039-gnu-rust-serde-derive-1.0-Update-to-1.0.104.patch --]
[-- Type: text/x-patch, Size: 1166 bytes --]
From 24e8efb6d81330af674f6bc6c5ed944fcfeb0e70 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:58:32 -0800
Subject: [PATCH 39/70] gnu: rust-serde-derive-1.0: Update to 1.0.104.
* gnu/packages/crates-io.scm (rust-serde-derive-1.0): Update it.
---
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 fadbb1d057..2c33928ff0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9481,7 +9481,7 @@ proven statistical guarantees.")
(define-public rust-serde-derive-1.0
(package
(name "rust-serde-derive")
- (version "1.0.101")
+ (version "1.0.104")
(source
(origin
(method url-fetch)
@@ -9489,7 +9489,7 @@ proven statistical guarantees.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0bn0wz3j48248187mfmypyqnh73mq734snxxhr05vmgcl51kl4sb"))))
+ "0r7gjlwfry44b4ylz524ynjp9v3qiwdj4c588lh94aas78q9x3qj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #41: 0040-gnu-rust-serde-json-1.0-Update-to-1.0.44.patch --]
[-- Type: text/x-patch, Size: 1155 bytes --]
From 70cc3d6454acdee4685aab9bc0d040c2f1691c59 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:59:34 -0800
Subject: [PATCH 40/70] gnu: rust-serde-json-1.0: Update to 1.0.44.
* gnu/packages/crates-io.scm (rust-serde-json-1.0): Update it.
---
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 2c33928ff0..a9d97102aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9509,7 +9509,7 @@ proven statistical guarantees.")
(define-public rust-serde-json-1.0
(package
(name "rust-serde-json")
- (version "1.0.41")
+ (version "1.0.44")
(source
(origin
(method url-fetch)
@@ -9517,7 +9517,7 @@ proven statistical guarantees.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1hipk84x40454mf599752mi7l08wb8qakz8vd6d3zp57d0mfnwig"))))
+ "1mysl675nqhzzkbcrqy4x63cbbsrrx3gcc7k8ydx1gajrkh7bia8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #42: 0041-gnu-rust-serde-yaml-0.8-Update-to-0.8.11.patch --]
[-- Type: text/x-patch, Size: 1138 bytes --]
From 13192be4d30c71d016cad3c1231f2d451bb8dd13 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:01:02 -0800
Subject: [PATCH 41/70] gnu: rust-serde-yaml-0.8: Update to 0.8.11.
* gnu/packages/crates-io.scm (rust-serde-yaml-0.8): Update it.
---
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 a9d97102aa..6888eca9f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9567,7 +9567,7 @@ proven statistical guarantees.")
(define-public rust-serde-yaml-0.8
(package
(name "rust-serde-yaml")
- (version "0.8.9")
+ (version "0.8.11")
(source
(origin
(method url-fetch)
@@ -9576,7 +9576,7 @@ proven statistical guarantees.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "10mmjpnshgrwij01a13679nxy1hnh5yfr0343kh0y9p5j2d8mc1q"))))
+ "0d9wdjrlx9gxg80kzc6pvdwz5pwhja2n8n0bxja9vv61kzqif6v9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #43: 0042-gnu-Add-rust-dirs-sys-0.3.patch --]
[-- Type: text/x-patch, Size: 1706 bytes --]
From 658fab23c39047f8d37f36591c1bd04ea6200ff7 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:14:17 -0800
Subject: [PATCH 42/70] gnu: Add rust-dirs-sys-0.3.
* gnu/packages/crates-io.scm (rust-dirs-sys-0.3): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6888eca9f5..9424519c83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2375,6 +2375,33 @@ Windows, and the Standard Directory guidelines on macOS.")
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-dirs-sys" ,rust-dirs-sys-0.3))))))
+(define-public rust-dirs-sys-0.3
+ (package
+ (name "rust-dirs-sys")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yyykdcmbc476z1v9m4z5jb8y91dw6kgzpkiqi2ig07xx0yv585g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-users" ,rust-redox-users-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/soc/dirs-sys-rs")
+ (synopsis
+ "System-level helper functions for the dirs and directories crates")
+ (description
+ "System-level helper functions for the dirs and directories crates.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-discard-1.0
(package
(name "rust-discard")
--
2.24.1
[-- Attachment #44: 0043-gnu-Add-rust-blake2-rfc-0.2.patch --]
[-- Type: text/x-patch, Size: 1742 bytes --]
From c73ab4f8ab79329abdcd02537b6ccef81a38a934 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:22:30 -0800
Subject: [PATCH 43/70] gnu: Add rust-blake2-rfc-0.2.
* gnu/packages/crates-io.scm (rust-blake2-rfc-0.2): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9424519c83..968f4edf0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -677,6 +677,36 @@ behave like a set of bitflags.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-blake2-rfc-0.2
+ (package
+ (name "rust-blake2-rfc")
+ (version "0.2.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blake2-rfc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0034g47hyq2bzmk40895ill1mbnpmmjakdq3dmm9clidvl5m6vax"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.4)
+ ("rust-clippy" ,rust-clippy-0.0)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1))
+ #:cargo-development-inputs
+ (("rust-data-encoding" ,rust-data-encoding-2.1))))
+ (home-page
+ "https://github.com/cesarb/blake2-rfc")
+ (synopsis
+ "Rust implementation of BLAKE2 based on RFC 7693")
+ (description
+ "This package provides a pure Rust implementation of BLAKE2 based on RFC
+7693.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-blas-sys-0.7
(package
(name "rust-blas-sys")
--
2.24.1
[-- Attachment #45: 0044-gnu-Add-rust-argon2rs-0.2.patch --]
[-- Type: text/x-patch, Size: 1749 bytes --]
From 46543a2e3e77eb4b6af352dc25bd2035ce93eaac Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:14:43 -0800
Subject: [PATCH 44/70] gnu: Add rust-argon2rs-0.2.
* gnu/packages/crates-io.scm (rust-argon2rs-0.2): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 968f4edf0d..b07f5fde49 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -254,6 +254,35 @@ text or blue underlined text, on ANSI terminals.")
(description "This package provides an atomically swappable Arc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-argon2rs-0.2
+ (package
+ (name "rust-argon2rs")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "argon2rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blake2-rfc" ,rust-blake2-rfc-0.2)
+ ("rust-scoped-threadpool"
+ ,rust-scoped-threadpool-0.1))
+ #:cargo-development-inputs
+ (("rust-cargon" ,rust-cargon-0.0))))
+ (home-page "https://github.com/bryant/argon2rs")
+ (synopsis
+ "The pure Rust password hashing library that runs on Argon2")
+ (description
+ "The pure Rust password hashing library that runs on Argon2.")
+ (license license:expat)))
+
(define-public rust-arrayvec-0.4
(package
(name "rust-arrayvec")
--
2.24.1
[-- Attachment #46: 0046-gnu-Add-rust-term-size-1.0.patch --]
[-- Type: text/x-patch, Size: 1688 bytes --]
From e45f8099eaf089bb46a97e13203c6965ddd9f8f5 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:29:08 -0800
Subject: [PATCH 46/70] gnu: Add rust-term-size-1.0.
* gnu/packages/crates-io.scm (rust-term-size-1.0): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f25b84f7b..647e8a3d84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10811,6 +10811,35 @@ directories.")
(("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-winapi" ,rust-winapi-0.2))))))
+(define-public rust-term-size-1.0
+ (package
+ (name "rust-term-size")
+ (version "1.0.0-beta1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term_size" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "13w9cqjhzh3mmx6zami8lxyf42xx53yy866zxhxqcm71k637v8d8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page
+ "https://github.com/clap-rs/term_size-rs")
+ (synopsis
+ "Determine terminal sizes and dimensions")
+ (description
+ "Functions for determining terminal sizes and dimensions")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-termcolor-1.0
(package
(name "rust-termcolor")
--
2.24.1
[-- Attachment #47: 0047-gnu-Add-rust-term-size-0.3.patch --]
[-- Type: text/x-patch, Size: 1448 bytes --]
From 48c2228161ad685b7da585c0e137141bcc8a6eee Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:29:33 -0800
Subject: [PATCH 47/70] gnu: Add rust-term-size-0.3.
* gnu/packages/crates-io.scm (rust-term-size-0.3): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 647e8a3d84..2f5b439ebb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10840,6 +10840,28 @@ directories.")
"Functions for determining terminal sizes and dimensions")
(license `(,license:asl2.0 ,license:expat))))
+(define-public rust-term-size-0.3
+ (package
+ (inherit rust-term-size-1.0)
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term_size" version))
+ (file-name
+ (string-append (package-name rust-term-size-1.0)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09wk3173ngmb710qs9rwgibq4w250q8lgnwjvb9cypc1vdk9lnwy"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.2))))))
+
(define-public rust-termcolor-1.0
(package
(name "rust-termcolor")
--
2.24.1
[-- Attachment #48: 0048-gnu-rust-regex-syntax-0.6-Update-to-0.6.13.patch --]
[-- Type: text/x-patch, Size: 1245 bytes --]
From 0aadb959354f92e0fca8c78a4db4f7fc3f10c005 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:38:13 -0800
Subject: [PATCH 48/70] gnu: rust-regex-syntax-0.6: Update to 0.6.13.
* gnu/packages/crates-io.scm (rust-regex-syntax-0.6): Update it.
---
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 2f5b439ebb..fb49682739 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8809,7 +8809,7 @@ uses finite automata and guarantees linear time matching on all inputs.")
(define-public rust-regex-syntax-0.6
(package
(name "rust-regex-syntax")
- (version "0.6.10")
+ (version "0.6.13")
(source
(origin
(method url-fetch)
@@ -8817,7 +8817,7 @@ uses finite automata and guarantees linear time matching on all inputs.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
+ "141xi6yiji0bc04c4skamd4ny9vnd1jrwc7qzfga425lyn8yhd77"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #49: 0045-gnu-Add-rust-redox-users-0.3.patch --]
[-- Type: text/x-patch, Size: 1724 bytes --]
From 4053dfa1c098c6a2cdd1e0b9a7d827bfb1311163 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:19:58 -0800
Subject: [PATCH 45/70] gnu: Add rust-redox-users-0.3.
* gnu/packages/crates-io.scm (rust-redox-users-0.3): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b07f5fde49..7f25b84f7b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8630,6 +8630,36 @@ system calls.")
"This package provides a Rust library to access Redox termios functions.")
(license license:expat)))
+(define-public rust-redox-users-0.3
+ (package
+ (name "rust-redox-users")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "redox_users" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vdn688q9wg997b1x5abx2gf7406rn1lvd62ypcgh1gj7g5dpkjf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rust-argon2" ,rust-rust-argon2-0.5)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-rand-os" ,rust-rand-os-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1))))
+ (home-page
+ "https://gitlab.redox-os.org/redox-os/users")
+ (synopsis
+ "Access Redox users and groups")
+ (description
+ "This package provides a Rust library to access Redox users and groups
+functionality.")
+ (license license:expat)))
+
(define-public rust-ref-cast-0.2
(package
(name "rust-ref-cast")
--
2.24.1
[-- Attachment #50: 0049-gnu-Add-rust-rustc-std-workspace-alloc-1.0.patch --]
[-- Type: text/x-patch, Size: 1472 bytes --]
From efc7c2c8830b3cf305effeeef3cbf91527323df5 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:01:01 -0800
Subject: [PATCH 49/70] gnu: Add rust-rustc-std-workspace-alloc-1.0.
* gnu/packages/crates-io.scm (rust-rustc-std-workspace-alloc-1.0): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb49682739..14dbbd740d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8987,6 +8987,26 @@ decoding.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rustc-std-workspace-alloc-1.0
+ (package
+ (name "rust-rustc-std-workspace-alloc")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-std-workspace-alloc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11psmqk6glglxl3zwh8slz6iynfxaifh4spd2wcnws552dqdarpz"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://crates.io/crates/rustc-std-workspace-alloc")
+ (synopsis "Workspace hack")
+ (description "Workspace hack.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-rustc-std-workspace-core-1.0
(package
(name "rust-rustc-std-workspace-core")
--
2.24.1
[-- Attachment #51: 0050-gnu-Add-rust-hashbrown-0.5.patch --]
[-- Type: text/x-patch, Size: 2090 bytes --]
From 335d847648426498c198f149fcdc249d771946a5 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:08:32 -0800
Subject: [PATCH 50/70] gnu: Add rust-hashbrown-0.5.
* gnu/packages/crates-io.scm (rust-hashbrown-0.5): 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 14dbbd740d..af27e195e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4419,6 +4419,42 @@ IEEE 754-2008 binary16 type.")
"Handlebars templating implemented in Rust.")
(license license:expat)))
+(define-public rust-hashbrown-0.5
+ (package
+ (name "rust-hashbrown")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lr3gsicplw7czapsscmii87hgzpvxf5ch92v7pi95xsipxl3pp1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rayon" ,rust-rayon-1.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1.0)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rayon" ,rust-rayon-1.1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1.0)
+ ("rust-serde-test" ,rust-serde-test-1.0))))
+ (home-page
+ "https://github.com/rust-lang/hashbrown")
+ (synopsis
+ "A Rust port of Google's SwissTable hash map")
+ (description
+ "This package provides a Rust port of Google's SwissTable hash map.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-heapsize-0.4
(package
(name "rust-heapsize")
--
2.24.1
[-- Attachment #52: 0051-gnu-rust-quick-error-1.2-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1142 bytes --]
From d62e530a9202a05c8e41e1c45ebec8ef86a35087 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:25:35 -0800
Subject: [PATCH 51/70] gnu: rust-quick-error-1.2: Don't hide package.
* gnu/packages/crates-io.scm (rust-quick-error-1.2): [arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af27e195e3..58cd0db816 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7873,11 +7873,11 @@ in terms of the upstream unstable API.")
(base32
"1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/tailhook/quick-error")
(synopsis "Macro which makes error types pleasant to write")
(description "This crate provides a macro which makes error types pleasant
to write.")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.24.1
[-- Attachment #53: 0052-gnu-rust-quick-error-1.2-Update-to-1.2.3.patch --]
[-- Type: text/x-patch, Size: 1227 bytes --]
From 95e1fbb92415a2a4f5d3f5dd0b1fe783f0c9a836 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:26:32 -0800
Subject: [PATCH 52/70] gnu: rust-quick-error-1.2: Update to 1.2.3.
* gnu/packages/crates-io.scm (rust-quick-error-1.2): Update it.
---
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 58cd0db816..7c80de39c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7863,7 +7863,7 @@ in terms of the upstream unstable API.")
(define-public rust-quick-error-1.2
(package
(name "rust-quick-error")
- (version "1.2.2")
+ (version "1.2.3")
(source
(origin
(method url-fetch)
@@ -7871,7 +7871,7 @@ in terms of the upstream unstable API.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
+ "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/tailhook/quick-error")
--
2.24.1
[-- Attachment #54: 0053-gnu-rust-cc-1.0-Update-to-1.0.50.patch --]
[-- Type: text/x-patch, Size: 1495 bytes --]
From 192c84efe4767622c123fd0292baf1345bf6fae8 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 21:42:07 -0800
Subject: [PATCH 53/70] gnu: rust-cc-1.0: Update to 1.0.50.
* gnu/packages/crates-io.scm (rust-cc-1.0): Update it.
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7c80de39c2..9669d04a72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1149,7 +1149,7 @@ used in argon2rs' bench suite.")
(define-public rust-cc-1.0
(package
(name "rust-cc")
- (version "1.0.41")
+ (version "1.0.50")
(source
(origin
(method url-fetch)
@@ -1157,14 +1157,14 @@ used in argon2rs' bench suite.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld"))))
+ "1kdqm8ka7xg9h56b694pcz29ka33fsz27mzrphqc78gx96h8zqlm"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-rayon" ,rust-rayon-1.1))
+ (("rust-jobserver" ,rust-jobserver-0.1))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
+ (("rust-tempfile" ,rust-tempfile-3.1))))
(home-page "https://github.com/alexcrichton/cc-rs")
(synopsis "Invoke the native C compiler")
(description
--
2.24.1
[-- Attachment #55: 0054-gnu-Add-rust-tokio-core-0.1.patch --]
[-- Type: text/x-patch, Size: 2623 bytes --]
From dffb01a347bcf885ad61c6cfd9b74638e1514689 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:08:50 -0800
Subject: [PATCH 54/70] gnu: Add rust-tokio-core-0.1.
* gnu/packages/crates-io.scm (rust-tokio-core-0.1): New variable.
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9669d04a72..6bb347ad1d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11261,6 +11261,54 @@ backed applications.")
"Utilities for encoding and decoding frames.")
(license license:expat)))
+(define-public rust-tokio-core-0.1
+ (package
+ (name "rust-tokio-core")
+ (version "0.1.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-core" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wbgg59mxfvrhzv97y56nh3gmnmw3jj9dhgkmvz27410jjxzpvxf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-iovec" ,rust-iovec-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-scoped-tls" ,rust-scoped-tls-0.1)
+ ("rust-tokio" ,rust-tokio-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-flate2" ,rust-flate2-1.0)
+ ("rust-futures-cpupool" ,rust-futures-cpupool-0.1)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-httparse" ,rust-httparse-1.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-time" ,rust-time-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis
+ "Core I/O and event loop primitives for asynchronous I/O in Rust")
+ (description
+ "Core I/O and event loop primitives for asynchronous I/O in Rust.
+Foundation for the rest of the tokio crates.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-current-thread-0.1
(package
(name "rust-tokio-current-thread")
--
2.24.1
[-- Attachment #56: 0055-gnu-Add-rust-mio-named-pipes-0.1.patch --]
[-- Type: text/x-patch, Size: 1792 bytes --]
From f6d05970ea8e70dcbf32e64b6570700eb2f06090 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:21:51 -0800
Subject: [PATCH 55/70] gnu: Add rust-mio-named-pipes-0.1.
* gnu/packages/crates-io.scm (rust-mio-named-pipes-0.1): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6bb347ad1d..2fcf6b6ffe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6035,6 +6035,38 @@ drop-in replacement for miniz.")
(description "Lightweight non-blocking IO.")
(license license:expat)))
+(define-public rust-mio-named-pipes-0.1
+ (package
+ (name "rust-mio-named-pipes")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mio-named-pipes" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cwwfx1yr9vws8x971x34ijnirs377vcxi47frdirki5yppp9qzm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-miow" ,rust-miow-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-rand" ,rust-rand-0.4))))
+ (home-page
+ "https://github.com/alexcrichton/mio-named-pipes")
+ (synopsis
+ "Windows named pipe bindings for mio")
+ (description
+ "Windows named pipe bindings for mio.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-mio-uds-0.6
(package
(name "rust-mio-uds")
--
2.24.1
[-- Attachment #57: 0056-gnu-Add-rust-tokio-signal-0.2.patch --]
[-- Type: text/x-patch, Size: 1982 bytes --]
From 4985f6e26b4590e3b51469d4cd209b3c695f3814 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:28:54 -0800
Subject: [PATCH 56/70] gnu: Add rust-tokio-signal-0.2.
* gnu/packages/crates-io.scm (rust-tokio-signal-0.2): New variable.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fcf6b6ffe..504bf7fa26 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11545,6 +11545,41 @@ futures efficiently")
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
+(define-public rust-tokio-signal-0.2
+ (package
+ (name "rust-tokio-signal")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-signal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15l27cvhfcjsahwnm2pgsm0690w0xj1h1sbdl5wy6p50dqkwavfx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-uds" ,rust-mio-uds-0.6)
+ ("rust-signal-hook" ,rust-signal-hook-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/tokio-rs/tokio")
+ (synopsis
+ "Asynchronous Unix signal handling backed futures")
+ (description
+ "An implementation of an asynchronous Unix signal handling backed
+futures.")
+ (license license:expat)))
+
(define-public rust-tokio-sync-0.1
(package
(name "rust-tokio-sync")
--
2.24.1
[-- Attachment #58: 0057-gnu-Add-rust-tokio-process-0.2.patch --]
[-- Type: text/x-patch, Size: 2188 bytes --]
From 3377e7b0b5c1472db3b296165203d3f4d983d307 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:29:35 -0800
Subject: [PATCH 57/70] gnu: Add rust-tokio-process-0.2.
* gnu/packages/crates-io.scm (rust-tokio-process-0.2): New variable.
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 504bf7fa26..8e3c8b7646 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11506,6 +11506,46 @@ futures efficiently")
(properties '((hidden? . #t)))
(license license:expat)))
+(define-public rust-tokio-process-0.2
+ (package
+ (name "rust-tokio-process")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-process" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1s6vi5n5iax4ksx3bzpfdhfbngj49mvq5n40np1d4aycp3qnxgdg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-signal" ,rust-tokio-signal-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-failure" ,rust-failure-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/tokio-rs/tokio")
+ (synopsis
+ "Asynchronous process management backed futures")
+ (description
+ "An implementation of an asynchronous process management backed
+futures.")
+ (license license:expat)))
+
(define-public rust-tokio-reactor-0.1
(package
(name "rust-tokio-reactor")
--
2.24.1
[-- Attachment #59: 0058-gnu-Add-rust-jobserver-0.1.patch --]
[-- Type: text/x-patch, Size: 1819 bytes --]
From 11433f8966d787b3daa843eaf57c3dc53d253f2d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:30:20 -0800
Subject: [PATCH 58/70] gnu: Add rust-jobserver-0.1.
* gnu/packages/crates-io.scm (rust-jobserver-0.1): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e3c8b7646..abb38a254b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5071,6 +5071,38 @@ primitives to an @code{io::Write}.")
(base32
"18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f"))))))
+(define-public rust-jobserver-0.1
+ (package
+ (name "rust-jobserver")
+ (version "0.1.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jobserver" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q2w80v8p2pbfm8ayhjs6zi11a1hp4535z4ck8kg872z8ldnrc37"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-tokio-core" ,rust-tokio-core-0.1)
+ ("rust-tokio-process" ,rust-tokio-process-0.2))))
+ (home-page
+ "https://github.com/alexcrichton/jobserver-rs")
+ (synopsis
+ "GNU make jobserver for Rust")
+ (description
+ "An implementation of the GNU make jobserver for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-js-sys-0.3
(package
(name "rust-js-sys")
--
2.24.1
[-- Attachment #60: 0059-gnu-rust-pest-generator-2.1-Update-dependencies.patch --]
[-- Type: text/x-patch, Size: 936 bytes --]
From c4a2a230679de06f5d6b64918251c2e46a24a9c7 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:39:28 -0800
Subject: [PATCH 59/70] gnu: rust-pest-generator-2.1: Update dependencies.
* gnu/packages/crates-io.scm (rust-pest-generator-2.1):[arguments] Add cargo-input.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index abb38a254b..e4817e1338 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7384,7 +7384,7 @@ algorithm.")
(("rust-pest" ,rust-pest-2.1)
("rust-pest-meta" ,rust-pest-meta-2.1)
("rust-proc-macro2" ,rust-proc-macro2-0.4)
- ("rust-quote" ,rust-quote-1.0)
+ ("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))
(home-page "https://pest.rs/")
(synopsis "Pest code generator")
--
2.24.1
[-- Attachment #61: 0060-gnu-rust-pest-generator-2.1-Update-to-2.1.1.patch --]
[-- Type: text/x-patch, Size: 1112 bytes --]
From 1a5ae4dc38dfc6a3b8b70290d2ff48ce044fd4d7 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:46:25 -0800
Subject: [PATCH 60/70] gnu: rust-pest-generator-2.1: Update to 2.1.1.
* gnu/packages/crates-io.scm (rust-pest-generator-2.1): Update it.
---
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 e4817e1338..06e83b9458 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7367,7 +7367,7 @@ algorithm.")
(define-public rust-pest-generator-2.1
(package
(name "rust-pest-generator")
- (version "2.1.0")
+ (version "2.1.1")
(source
(origin
(method url-fetch)
@@ -7376,7 +7376,7 @@ algorithm.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0ipnv77lqhj4d4fpfxi8m168lcjp482kszaknlardmpgqiv0a4k3"))))
+ "1h3z8jccki87mn7gppy4292s1ah98z4md998w5pd04jpkclwz7vv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #62: 0061-gnu-rust-pest-meta-2.1-Update-dependencies.patch --]
[-- Type: text/x-patch, Size: 999 bytes --]
From 0c2f0ccd9d0cc3506c8d4f66dd6e4cd607a3ca87 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:43:45 -0800
Subject: [PATCH 61/70] gnu: rust-pest-meta-2.1: Update dependencies.
* gnu/packages/crates-io.scm (rust-pest-meta-2.1): [arguments] Add cargo input.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 06e83b9458..474ff37b57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7409,9 +7409,8 @@ algorithm.")
`(#:skip-build? #t
#:cargo-inputs
(("rust-maplit" ,rust-maplit-1.0)
- ("rust-pest" ,rust-pest-2.1))
- #:cargo-development-inputs
- (("rust-sha-1" ,rust-sha-1-0.8))))
+ ("rust-pest" ,rust-pest-2.1)
+ ("rust-sha-1" ,rust-sha-1-0.8))))
(home-page "https://pest.rs")
(synopsis "Pest meta language parser and validator")
(description
--
2.24.1
[-- Attachment #63: 0063-gnu-rust-kernel32-sys-0.2-Update-dependencies.patch --]
[-- Type: text/x-patch, Size: 1226 bytes --]
From 44fac9c36537d56c4ac9ec247d3aeb09fe6477e8 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 23:48:33 -0800
Subject: [PATCH 63/70] gnu: rust-kernel32-sys-0.2: Update dependencies.
* gnu/packages/crates-io.scm (rust-kernel32-sys-0.2): [arguments] Rearrange
cargo inputs.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e088176b02..2606735ef0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5228,9 +5228,9 @@ friction with idiomatic Rust structs to ease interopability.")
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
- #:cargo-inputs (("rust-winapi" ,rust-winapi-0.2))
- #:cargo-development-inputs
- (("rust-winapi-build" ,rust-winapi-build-0.1))))
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Function definitions for the Windows API library kernel32")
(description "Contains function definitions for the Windows API library
--
2.24.1
[-- Attachment #64: 0062-gnu-rust-pest-meta-2.1-Update-to-2.1.2.patch --]
[-- Type: text/x-patch, Size: 1092 bytes --]
From a80698f2cb5f99205aa2db82b9ae1cf03b774965 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:48:27 -0800
Subject: [PATCH 62/70] gnu: rust-pest-meta-2.1: Update to 2.1.2.
* gnu/packages/crates-io.scm (rust-pest-meta-2.1): Update it.
---
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 474ff37b57..e088176b02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7394,7 +7394,7 @@ algorithm.")
(define-public rust-pest-meta-2.1
(package
(name "rust-pest-meta")
- (version "2.1.1")
+ (version "2.1.2")
(source
(origin
(method url-fetch)
@@ -7403,7 +7403,7 @@ algorithm.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0kaprdz3jis9bjfwhri1zncbsvack5m3gx2g5flspdy7wxnyljgj"))))
+ "0iymvrh7lcfi8iarkgq0hwgarr00np3l4xg4bx42rmvgi6czshyz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.24.1
[-- Attachment #65: 0064-gnu-rust-thread-local-0.3-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1147 bytes --]
From 1140f0100dccea02f7a30ce49afe82315fd5c028 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:57:17 -0800
Subject: [PATCH 64/70] gnu: rust-thread-local-0.3: Don't hide package.
* gnu/packages/crates-io.scm (rust-thread-local-0.3):[arguments] Skip build,
add dependency
---
gnu/packages/crates-io.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2606735ef0..8b6b88450f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11160,10 +11160,12 @@ different for every thread.")
(base32
"06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1.4))))
(home-page "https://github.com/Amanieu/thread_local-rs")
(synopsis "Per-object thread-local storage")
(description "Per-object thread-local storage")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.24.1
[-- Attachment #66: 0065-gnu-Add-rust-thread-local-1.0.patch --]
[-- Type: text/x-patch, Size: 1197 bytes --]
From bedcf11174a0a61d6a4299e4debca314c4e10f69 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:59:26 -0800
Subject: [PATCH 65/70] gnu: Add rust-thread-local-1.0.
* gnu/packages/crates-io.scm (rust-thread-local-1.0): New variable.
---
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 8b6b88450f..c921e2dc69 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11169,6 +11169,20 @@ different for every thread.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-thread-local-1.0
+ (package
+ (inherit rust-thread-local-0.3)
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thread_local" version))
+ (file-name (string-append (package-name rust-thread-local-0.3)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l"))))))
+
(define-public rust-threadpool-1.7
(package
(name "rust-threadpool")
--
2.24.1
[-- Attachment #67: 0066-gnu-Add-rust-arrayref-0.3.patch --]
[-- Type: text/x-patch, Size: 1547 bytes --]
From daa0c0848ef5eb09fe200a8f7e0b2117a36f71eb Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:36:53 -0800
Subject: [PATCH 66/70] gnu: Add rust-arrayref-0.3.
* gnu/packages/crates-io.scm (rust-arrayref-0.3): 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 c921e2dc69..5d96e2fa5c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -283,6 +283,31 @@ text or blue underlined text, on ANSI terminals.")
"The pure Rust password hashing library that runs on Argon2.")
(license license:expat)))
+(define-public rust-arrayref-0.3
+ (package
+ (name "rust-arrayref")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrayref" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vphy316jbgmgckk4z7m8csvlyc8hih9w95iyq48h8077xc2wf0d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.8))))
+ (home-page "https://github.com/droundy/arrayref")
+ (synopsis
+ "Macros to take array references of slices")
+ (description
+ "Macros to take array references of slices.")
+ (license license:bsd-2)))
+
(define-public rust-arrayvec-0.4
(package
(name "rust-arrayvec")
--
2.24.1
[-- Attachment #68: 0068-gnu-Add-rust-blake2b-simd-0.5.patch --]
[-- Type: text/x-patch, Size: 1637 bytes --]
From 50825ff6b30ee17ad0205799681dd7d6c88a497e Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:41:54 -0800
Subject: [PATCH 68/70] gnu: Add rust-blake2b-simd-0.5.
* gnu/packages/crates-io.scm (rust-blake2b-simd-0.5): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7ca76f8264..17a37f6457 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -784,6 +784,34 @@ behave like a set of bitflags.")
7693.")
(license `(,license:asl2.0 ,license:expat))))
+(define-public rust-blake2b-simd-0.5
+ (package
+ (name "rust-blake2b-simd")
+ (version "0.5.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blake2b-simd" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arrayref" ,rust-arrayref-0.3)
+ ("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1))))
+ (home-page
+ "https://github.com/oconnor663/blake2_simd")
+ (synopsis
+ "Pure Rust BLAKE2b implementation with dynamic SIMD")
+ (description
+ "A pure Rust BLAKE2b implementation with dynamic SIMD.")
+ (license license:expat)))
+
(define-public rust-blas-sys-0.7
(package
(name "rust-blas-sys")
--
2.24.1
[-- Attachment #69: 0067-gnu-Add-rust-arrayvec-0.5.patch --]
[-- Type: text/x-patch, Size: 1490 bytes --]
From 1328045a69f2c3d3aaf595a205609fee0bea1ea9 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:40:00 -0800
Subject: [PATCH 67/70] gnu: Add rust-arrayvec-0.5.
* gnu/packages/crates-io.scm (rust-arrayvec-0.5): 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 5d96e2fa5c..7ca76f8264 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -339,6 +339,29 @@ array (it can be stored on the stack too). Implements fixed capacity
ArrayVec and ArrayString.")
(license (list license:expat license:asl2.0))))
+(define-public rust-arrayvec-0.5
+ (package
+ (inherit rust-arrayvec-0.4)
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrayvec" version))
+ (file-name
+ (string-append (package-name rust-arrayvec-0.4)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f5mca8kiiwhvhxd1mbnq68j6v6rk139sch567zwwzl6hs37vxyg"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-serde-test" ,rust-serde-test-1.0))))))
+
(define-public rust-ascii-0.9
(package
(name "rust-ascii")
--
2.24.1
[-- Attachment #70: 0069-gnu-Add-rust-rust-argon2-0.5.patch --]
[-- Type: text/x-patch, Size: 1815 bytes --]
From a7dd91760ac70e148341e5d89f422f84ec2df0f4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:42:34 -0800
Subject: [PATCH 69/70] gnu: Add rust-rust-argon2-0.5.
* gnu/packages/crates-io.scm (rust-rust-argon2-0.5): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 17a37f6457..21a5049aec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9086,6 +9086,36 @@ uses finite automata and guarantees linear time matching on all inputs.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rust-argon2-0.5
+ (package
+ (name "rust-rust-argon2")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1krjkmyfn37hy7sfs6lqia0fsvw130nn1z2850glsjcva7pym92c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.3))))
+ (home-page
+ "https://github.com/sru-systems/rust-argon2")
+ (synopsis
+ "Rust implementation of the Argon2 password hashing function")
+ (description
+ "Rust implementation of the Argon2 password hashing function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustc-demangle-0.1
(package
(name "rust-rustc-demangle")
--
2.24.1
[-- Attachment #71: 0070-gnu-Add-tokei.patch --]
[-- Type: text/x-patch, Size: 2668 bytes --]
From d65e490dfd6e305ce6c7373ad88fe68e5bba75c1 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:02:38 -0800
Subject: [PATCH 70/70] gnu: Add tokei.
* gnu/packages/crates-io.scm (tokei): New variable.
---
gnu/packages/rust-apps.scm | 52 ++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index fa1f56e96f..a959e46967 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -92,3 +92,55 @@ gitignore rules.")
(description
"This package provides a tool for generating C/C++ bindings to Rust code.")
(license license:mpl2.0)))
+
+(define-public tokei
+ (package
+ (name "tokei")
+ (version "10.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokei" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07f5laqw2k9l3k8wrg9h8p2m5d9hkfxngyacwrn3vs7mlnw8l81m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1.0)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
+ ("rust-dirs" ,rust-dirs-2.0)
+ ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-grep-searcher" ,rust-grep-searcher-0.1)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-ignore" ,rust-ignore-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-rayon" ,rust-rayon-1.3)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-cbor" ,rust-serde-cbor-0.10)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+ ("rust-term-size" ,rust-term-size-0.3)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))
+ #:cargo-development-inputs
+ (("rust-git2" ,rust-git2-0.11)
+ ("rust-handlebars" ,rust-handlebars-2.0)
+ ("rust-ignore" ,rust-ignore-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1.4)
+ ("rust-regex" ,rust-regex-1.3)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-tempfile" ,rust-tempfile-3.0))))
+ (home-page "https://tokei.rs")
+ (synopsis
+ "Count code, quickly")
+ (description
+ "This package provides a utility that allows you to count code,
+quickly.")
+ (license (list license:expat license:asl2.0))))
--
2.24.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#39159] [PATCH] Add Tokei
2020-01-17 5:30 [bug#39159] [PATCH] Add Tokei John Soo
@ 2020-01-17 15:50 ` John Soo
2020-01-17 15:52 ` John Soo
2020-01-20 7:25 ` Efraim Flashner
0 siblings, 2 replies; 7+ messages in thread
From: John Soo @ 2020-01-17 15:50 UTC (permalink / raw)
To: 39159
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
Hi Guix and Efraim!
I cc'd Efraim since I know they are working quite hard on updating
rust packages to use #:skip-build?. My thanks to them! These patches
have some of the same work since I did not want to add the
dependencies to tokei.
I rebased these patches this morning and already one of my patches was
done by Efraim. Thanks again!
John
[-- Attachment #2: 0001-gnu-Add-rust-crossbeam-epoch-0.8.patch --]
[-- Type: text/x-patch, Size: 1656 bytes --]
From 271bca7f9e6ba24fd9edb4841375bfcc02cc1732 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:35:29 -0800
Subject: [PATCH 01/69] gnu: Add rust-crossbeam-epoch-0.8.
* gnu/packages/crates-io.scm (rust-crossbeam-epoch-0.8): 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 780173bb65..fe17c8f555 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1878,6 +1878,31 @@ intrinsics.")
(description "Epoch-based garbage collection.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crossbeam-epoch-0.8
+ (package
+ (inherit rust-crossbeam-epoch-0.7)
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-epoch" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-epoch-0.7) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b2mgc2gxxvyzyxgd5wvn9k42gr6f9phi2swwjawpqswy3dynr2h"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-0.1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-memoffset" ,rust-memoffset-0.5)
+ ("rust-scopeguard" ,rust-scopeguard-1.0))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-crossbeam-queue-0.1
(package
(name "rust-crossbeam-queue")
--
2.25.0
[-- Attachment #3: 0004-gnu-Update-rust-crossbeam-deque-to-0.7.2.patch --]
[-- Type: text/x-patch, Size: 1403 bytes --]
From 665d1e15415cb8f940ebc170139e3f926a288480 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 07:33:11 -0800
Subject: [PATCH 04/69] gnu: Update rust-crossbeam-deque to 0.7.2.
* gnu/packages/crates-io.scm (rust-crossbeam-deque-0.7): Update to 0.7.2.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 42b5bb4517..79fee7bfc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1808,7 +1808,7 @@ intrinsics.")
(define-public rust-crossbeam-deque-0.7
(package
(name "rust-crossbeam-deque")
- (version "0.7.1")
+ (version "0.7.2")
(source
(origin
(method url-fetch)
@@ -1817,12 +1817,12 @@ intrinsics.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0was9x71cz5g1y3670cyy6jdmsdfg6k9mbf0ddz2k1mdd7hx535i"))))
+ "1jm3rqb3qfpfywrakyy81f61xnl4jsim7lam9digw6w6cdfr9an3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.7)
+ (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.8)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.4))))
--
2.25.0
[-- Attachment #4: 0005-gnu-Add-rust-crossbeam-queue-0.2.patch --]
[-- Type: text/x-patch, Size: 1425 bytes --]
From 6a58f72344fb634cd768b407998fdd607d24c000 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:59:10 -0800
Subject: [PATCH 05/69] gnu: Add rust-crossbeam-queue-0.2.
* gnu/packages/crates-io.scm (rust-crossbeam-queue-0.2): New variable.
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 79fee7bfc8..1a012df63e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1931,6 +1931,27 @@ intrinsics.")
license:asl2.0
license:bsd-2))))
+(define-public rust-crossbeam-queue-0.2
+ (package
+ (inherit rust-crossbeam-queue-0.1)
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-queue" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-queue-0.1) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nwkjh185bdwjrv1zj2g7an9lglv8sp4459268m4fwvi3v5fx5f6"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-crossbeam-utils-0.6
(package
(name "rust-crossbeam-utils")
--
2.25.0
[-- Attachment #5: 0003-gnu-Add-rust-memoffset-0.5.patch --]
[-- Type: text/x-patch, Size: 1347 bytes --]
From 7f71b4dd3be2c7516a16ae008258c9a6b685b816 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:34:59 -0800
Subject: [PATCH 03/69] gnu: Add rust-memoffset-0.5.
* gnu/packages/crates-io.scm (rust-memoffset-0.5): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2ed2667f92..42b5bb4517 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5528,6 +5528,26 @@ file IO.")
"@code{offset_of} functionality for Rust structs.")
(license license:expat)))
+(define-public rust-memoffset-0.5
+ (package
+ (inherit rust-memoffset-0.2)
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memoffset" version))
+ (file-name
+ (string-append (package-name rust-memoffset-0.2) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fblqzc25hfaym8m0pj112s66pqq87avvaqm5hp5rskib2w9w63m"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rustc-version" ,rust-rustc-version-0.2))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3))))))
+
(define-public rust-mime-0.3
(package
(name "rust-mime")
--
2.25.0
[-- Attachment #6: 0006-gnu-Update-rust-rand-chacha-0.2-to-0.2.1.patch --]
[-- Type: text/x-patch, Size: 1227 bytes --]
From ee31991abb30e3a4a92e834b672a95d115449c9a Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:09:22 -0800
Subject: [PATCH 06/69] gnu: Update rust-rand-chacha-0.2 to 0.2.1.
* gnu/packages/crates-io.scm (rust-rand-chacha-0.2): Update to 0.2.1.
---
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 1a012df63e..cb4e8bd312 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7707,7 +7707,7 @@ useful types and distributions, and some randomness-related algorithms.")
(define-public rust-rand-chacha-0.2
(package
(name "rust-rand-chacha")
- (version "0.2.0")
+ (version "0.2.1")
(source
(origin
(method url-fetch)
@@ -7716,7 +7716,7 @@ useful types and distributions, and some randomness-related algorithms.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "178d36jfkc4v95s25scc2vibj2hd2hlk64cs6id4hvzg89whd4z1"))))
+ "0lv8imzzl4h2glm6sjj8mkvasgi8jym23ya48dakyln7m06sk8h3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #7: 0007-gnu-Update-rust-rand-core-0.5-to-0.5.1.patch --]
[-- Type: text/x-patch, Size: 1219 bytes --]
From 47040e8a56d064264988d73ea80256a107823118 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:12:54 -0800
Subject: [PATCH 07/69] gnu: Update rust-rand-core-0.5 to 0.5.1.
* gnu/packages/crates-io.scm (rust-rand-core-0.5): Update to 0.5.1.
---
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 cb4e8bd312..ee4f6448ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7753,7 +7753,7 @@ useful types and distributions, and some randomness-related algorithms.")
(define-public rust-rand-core-0.5
(package
(name "rust-rand-core")
- (version "0.5.0")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
@@ -7762,7 +7762,7 @@ useful types and distributions, and some randomness-related algorithms.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1jis94x9ri8xlxki2w2w5k29sjpfwgzkjylg7paganp74hrnhpk1"))))
+ "06bdvx08v3rkz451cm7z59xwwqn1rkfh6v9ay77b14f8dwlybgch"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #8: 0008-gnu-rust-rand-hc-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1116 bytes --]
From b6737d5cc75a0d96ebde49304058d08fdc9ca97e Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:20:57 -0800
Subject: [PATCH 08/69] gnu: rust-rand-hc-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-rand-hc-0.1):[arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee4f6448ab..5a805c8929 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7826,11 +7826,11 @@ useful types and distributions, and some randomness-related algorithms.")
(sha256
(base32
"1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v"))))
+ (arguments `(#:skip-build? #t))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_hc")
(synopsis "HC128 random number generator")
(description "HC128 random number generator")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.25.0
[-- Attachment #9: 0009-gnu-Add-rust-rand-hc-0.2.patch --]
[-- Type: text/x-patch, Size: 1290 bytes --]
From dfb0707dd1171df8b5080d46443db1e09fee606e Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:22:31 -0800
Subject: [PATCH 09/69] gnu: Add rust-rand-hc-0.2.
* gnu/packages/crates-io.scm (rust-rand-hc-0.2): New variable.
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a805c8929..39a81236ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7834,6 +7834,23 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-hc-0.2
+ (package
+ (inherit rust-rand-hc-0.1)
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_hc" version))
+ (file-name (string-append (package-name rust-rand-hc-0.1) "-" version ".crate"))
+ (sha256
+ (base32
+ "0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rand-hc" ,rust-rand-core-0.5))))))
+
(define-public rust-rand-isaac-0.1
(package
(name "rust-rand-isaac")
--
2.25.0
[-- Attachment #10: 0002-gnu-Add-rust-crossbeam-utils-0.7.patch --]
[-- Type: text/x-patch, Size: 1465 bytes --]
From d3f5944b7c6bcce6d8840d9bb32765084e752636 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 08:34:27 -0800
Subject: [PATCH 02/69] gnu: Add rust-crossbeam-utils-0.7.
* gnu/packages/crates-io.scm (rust-crossbeam-utils-0.7): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe17c8f555..2ed2667f92 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1959,6 +1959,28 @@ intrinsics.")
"Utilities for concurrent programming.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crossbeam-utils-0.7
+ (package
+ (inherit rust-crossbeam-utils-0.6)
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-utils" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-utils-0.6) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1x1rn35q2v05qif14ijfg7800d3rf3ji2cg79awnacfw5jq6si6f"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-autocfg" ,rust-autocfg-0.1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1.3))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.6))))))
+
(define-public rust-csv-1.1
(package
(name "rust-csv")
--
2.25.0
[-- Attachment #11: 0011-gnu-Add-rust-rand-pcg-0.2.patch --]
[-- Type: text/x-patch, Size: 1185 bytes --]
From e6e508648a6f4717a9e3e437677ce6887747ead6 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:30:42 -0800
Subject: [PATCH 11/69] gnu: Add rust-rand-pcg-0.2.
* gnu/packages/crates-io.scm (rust-rand-pcg-0.2): New variable.
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 27a10065a3..97adbce47c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7966,6 +7966,19 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-pcg-0.2
+ (package
+ (inherit rust-rand-pcg-0.1)
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand_pcg" version))
+ (file-name (string-append (package-name rust-rand-pcg-0.1) "-" version ".crate"))
+ (sha256
+ (base32
+ "0ab4h6s6x3py833jk61lwadq83qd1c8bih2hgi6yps9rnv0x1aqn"))))))
+
(define-public rust-rand-xorshift-0.2
(package
(name "rust-rand-xorshift")
--
2.25.0
[-- Attachment #12: 0013-gnu-Add-rust-rayon-core-1.7.patch --]
[-- Type: text/x-patch, Size: 1725 bytes --]
From a9e529dd49d84dca655c58a4f8f7382f7747d85d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:43:18 -0800
Subject: [PATCH 13/69] gnu: Add rust-rayon-core-1.7.
* gnu/packages/crates-io.scm (rust-rayon-core-1.7): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba0b5c1fd6..b6d9f0e125 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8222,6 +8222,33 @@ accessors.")
(description "Core APIs for Rayon.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rayon-core-1.7
+ (package
+ (inherit rust-rayon-core-1.5)
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon-core" version))
+ (file-name
+ (string-append (package-name rust-rayon-core-1.5) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ac55kpnh2390ah7r071vnjbiy308qpznql0n597x5dgxx39pa08"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.2)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-num-cpus" ,rust-num-cpus-1.10))
+ #:cargo-development-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-scoped-tls" ,rust-scoped-tls-1.0))))))
+
(define-public rust-rdrand-0.4
(package
(name "rust-rdrand")
--
2.25.0
[-- Attachment #13: 0014-gnu-Add-rust-rayon-1.3.patch --]
[-- Type: text/x-patch, Size: 1684 bytes --]
From 5070ecdac54d6779b89863fd21cc652de094baae Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:46:23 -0800
Subject: [PATCH 14/69] gnu: Add rust-rayon-1.3.
* gnu/packages/crates-io.scm (rust-rayon-1.3): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6d9f0e125..eaf31d85b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8190,6 +8190,33 @@ accessors.")
"Simple work-stealing parallelism for Rust.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rayon-1.3
+ (package
+ (inherit rust-rayon-1.1)
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rayon" version))
+ (file-name
+ (string-append (package-name rust-rayon-1.1) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1650g13bxlmywhdlw65q3g1zyyb7l0wcm35v45kf31cwgwly6v6v"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7)
+ ("rust-either" ,rust-either-1.5)
+ ("rust-rayon-core" ,rust-rayon-core-1.7))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-docopt" ,rust-docopt-1.1)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+ ("rust-serde" ,rust-serde-1.0))))))
+
(define-public rust-rayon-core-1.5
(package
(name "rust-rayon-core")
--
2.25.0
[-- Attachment #14: 0015-gnu-Add-rust-libgit2-sys-0.10.patch --]
[-- Type: text/x-patch, Size: 1313 bytes --]
From cbb4896e86a7381ff927080121c7905557d73267 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:24:27 -0800
Subject: [PATCH 15/69] gnu: Add rust-libgit2-sys-0.10.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.10): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eaf31d85b6..7e7c0ed16d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5103,6 +5103,21 @@ values of all the exported APIs match the platform that libc is compiled for.")
"1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28"))))
(build-system cargo-build-system)))
+(define-public rust-libgit2-sys-0.10
+ (package
+ (inherit rust-libgit2-sys-0.8)
+ (name "rust-libgit2-sys")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libgit2-sys" version))
+ (file-name (string-append (package-name rust-libgit2-sys-0.8)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r"))))))
+
(define-public rust-libloading-0.5
(package
(name "rust-libloading")
--
2.25.0
[-- Attachment #15: 0012-gnu-Add-rust-rand-0.7.patch --]
[-- Type: text/x-patch, Size: 1719 bytes --]
From 1c10bd6a9cd7e9bb6c258bf0f50faf3d630865cb Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:38:08 -0800
Subject: [PATCH 12/69] gnu: Add rust-rand-0.7.
* gnu/packages/crates-io.scm (rust-rand-0.7): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97adbce47c..ba0b5c1fd6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7663,6 +7663,33 @@ useful types and distributions, and some randomness-related algorithms.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rand-0.7
+ (package
+ (inherit rust-rand-0.6)
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rand" version))
+ (file-name (string-append (package-name rust-rand-0.6) "-" version ".crate"))
+ (sha256
+ (base32
+ "00sdaimkbz491qgi6qxkv582yivl32m2jd401kzbn94vsiwicsva"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-getrandom" ,rust-getrandom-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-packed-simd" ,rust-packed-simd-0.3)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.2)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-rand-hc" ,rust-rand-hc-0.2)
+ ("rust-rand-pcg" ,rust-rand-pcg-0.2))
+ #:cargo-development-inputs
+ (("rust-rand-hc" ,rust-rand-hc-0.2)
+ ("rust-rand-pcg" ,rust-rand-pcg-0.2))))))
+
(define-public rust-rand-0.4
(package
(inherit rust-rand-0.6)
--
2.25.0
[-- Attachment #16: 0016-gnu-rust-term-0.5-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1070 bytes --]
From 520d8ea471ca7ec7f231a74d9311e53fc91dace6 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:53:47 -0800
Subject: [PATCH 16/69] gnu: rust-term-0.5: Don't hide package.
* gnu/packages/crates-io.scm (rust-term-0.5):[arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7e7c0ed16d..3a4bc157c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10433,11 +10433,11 @@ directories.")
(base32
"0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/Stebalien/term")
(synopsis "Terminal formatting library")
(description
"This package provides a terminal formatting library in rust.")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.25.0
[-- Attachment #17: 0017-gnu-rust-term-0.4-Correct-dependencies.patch --]
[-- Type: text/x-patch, Size: 1052 bytes --]
From 230e509d7403620eb7f8b31ae4cc8e9618812dad Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:55:34 -0800
Subject: [PATCH 17/69] gnu: rust-term-0.4: Correct dependencies.
* gnu/packages/crates-io.scm (rust-term-0.4): [arguments] Add dependencies.
---
gnu/packages/crates-io.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a4bc157c8..0c48882db7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10453,7 +10453,12 @@ directories.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))))
+ "1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-winapi" ,rust-winapi-0.2))))))
(define-public rust-termcolor-1.0
(package
--
2.25.0
[-- Attachment #18: 0019-gnu-rust-rustc-test-0.3-Correct-cargo-inputs.patch --]
[-- Type: text/x-patch, Size: 1193 bytes --]
From df245f66e685d4fc8f6d61144e624b6f09da2b5b Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:48:52 -0800
Subject: [PATCH 19/69] gnu: rust-rustc-test-0.3: Correct cargo-inputs.
* gnu/packages/crates-io.scm (rust-rustc-test-0.3): [arguments] Correct dependencies.
---
gnu/packages/crates-io.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f8601d0c8..c2d6dbf62e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8720,10 +8720,9 @@ rust-lang/rust integration.")
(("rust-getopts" ,rust-getopts-0.2)
("rust-libc" ,rust-libc-0.2)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
- ("rust-term" ,rust-term-0.5)
- ("rust-time" ,rust-time-0.1))
- #:cargo-development-inputs
- (("rust-rustc-version" ,rust-rustc-version-0.2))))
+ ("rust-term" ,rust-term-0.4)
+ ("rust-time" ,rust-time-0.1)
+ ("rust-rustc-version" ,rust-rustc-version-0.2))))
(home-page "https://github.com/servo/rustc-test")
(synopsis "Fork of Rust's test crate")
(description
--
2.25.0
[-- Attachment #19: 0020-gnu-Add-rust-idna-0.2.patch --]
[-- Type: text/x-patch, Size: 1533 bytes --]
From 0f92b324f3bb7579e57555570ac6fdd0fac2d677 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 07:40:44 -0800
Subject: [PATCH 20/69] gnu: Add rust-idna-0.2.
* gnu/packages/crates-io.scm (rust-idna-0.2): 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 c2d6dbf62e..d3f16e26df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4515,6 +4515,29 @@ SystemTime}}.")
"IDNA (Internationalizing Domain Names in Applications) and Punycode.")
(license (list license:expat license:asl2.0))))
+(define-public rust-idna-0.2
+ (package
+ (inherit rust-idna-0.1)
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "idna" version))
+ (file-name
+ (string-append (package-name rust-idna-0.1) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1a9066imqpdrm1aavfasdyb1zahqaz8jmdcwdawvb1pf60y6gqh2"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-matches" ,rust-matches-0.1)
+ ("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
+ ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))
+ #:cargo-development-inputs
+ (("rust-rustc-test" ,rust-rustc-test-0.3)
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
+
(define-public rust-ignore-0.4
(package
(name "rust-ignore")
--
2.25.0
[-- Attachment #20: 0021-gnu-rust-time-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1306 bytes --]
From d0bd4e34d3f0f863c571b7111a47cbb3c7dd6d33 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:14:22 -0800
Subject: [PATCH 21/69] gnu: rust-time-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-time-0.1): [arguments] Skip build, add
dependencies [properties] Remove field [home-page] Update url
---
gnu/packages/crates-io.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d3f16e26df..623278c3e4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10704,12 +10704,15 @@ fixed set of worker threads.")
(base32
"161hqx0gw722ikydanpahky447vaxqncwmkj66rny282vzqpalx1"))))
(build-system cargo-build-system)
- (home-page "https://github.com/rust-lang-deprecated/time")
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-redox-syscall" ,rust-redox-syscall-0.1))))
+ (home-page "https://github.com/time-rs/time")
(synopsis "Simple time handling in Rust")
(description
"This package provides utilities for working with time-related functions
in Rust.")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.25.0
[-- Attachment #21: 0018-gnu-rust-term-0.4-Don-t-refer-to-name-in-package-sou.patch --]
[-- Type: text/x-patch, Size: 991 bytes --]
From e8d2337361b0d12321e2127bba7237cb6151fac2 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:01:21 -0800
Subject: [PATCH 18/69] gnu: rust-term-0.4: Don't refer to name in
package-source.
* gnu/packages/crates-io.scm (rust-term-0.4): [source] Remove reference to name.
---
gnu/packages/crates-io.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c48882db7..4f8601d0c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10450,7 +10450,8 @@ directories.")
(origin
(method url-fetch)
(uri (crate-uri "term" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append (package-name rust-term-0.5)
+ "-" version ".crate"))
(sha256
(base32
"1wbh8ngqkqr3f6wz902yplf60bd5yapnckvrkgmzp5nffi7n8qzs"))))
--
2.25.0
[-- Attachment #22: 0010-gnu-rust-rand-pcg-0.1-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1132 bytes --]
From e037ec79ebc54dc8dac9b9635b0cc334aacfa570 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 14 Jan 2020 09:28:24 -0800
Subject: [PATCH 10/69] gnu: rust-rand-pcg-0.1: Don't hide package.
* gnu/packages/crates-io.scm (rust-rand-pcg-0.1):[arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 39a81236ce..27a10065a3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7957,12 +7957,12 @@ useful types and distributions, and some randomness-related algorithms.")
(base32
"0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://crates.io/crates/rand_pcg")
(synopsis
"Selected PCG random number generators")
(description
"Selected PCG random number generators")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.25.0
[-- Attachment #23: 0022-gnu-Add-rust-url-2.1.patch --]
[-- Type: text/x-patch, Size: 1611 bytes --]
From e549c9309d772322f0a372d8b84f375d1bac7d62 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:47:02 -0800
Subject: [PATCH 22/69] gnu: Add rust-url-2.1.
* gnu/packages/crates-io.scm (rust-url-2.1): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 623278c3e4..cd29986b59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11830,6 +11830,32 @@ untrusted inputs in Rust.")
"URL library for Rust, based on the WHATWG URL Standard.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-url-2.1
+ (package
+ (inherit rust-url-1.7)
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "url" version))
+ (file-name
+ (string-append (package-name rust-url-1.7)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jw7cw8br4xvjb92ddrrh1r7jvqhyhiknnnfpgq9np63fs24m7c2"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-idna" ,rust-idna-0.2)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-percent-encoding" ,rust-percent-encoding-2.1)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-rustc-test" ,rust-rustc-test-0.3)
+ ("rust-serde-json" ,rust-serde-json-1.0))))))
+
(define-public rust-utf-8-0.7
(package
(name "rust-utf-8")
--
2.25.0
[-- Attachment #24: 0024-gnu-Add-rust-git2-0.11.patch --]
[-- Type: text/x-patch, Size: 1865 bytes --]
From 0bd7dc2aa4e7678a7aa130297f741e8a79a21895 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:03:28 -0800
Subject: [PATCH 24/69] gnu: Add rust-git2-0.11.
* gnu/packages/crates-io.scm (rust-git2-0.11): New variable.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 35d2cc6ed5..5e93c5aba1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3862,6 +3862,37 @@ This library is both threadsafe and memory safe and allows both
reading and writing git repositories.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-git2-0.11
+ (package
+ (inherit rust-git2-0.9)
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git2" version))
+ (file-name
+ (string-append (package-name rust-git2-0.9) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-url" ,rust-url-2.1))
+ #:cargo-development-inputs
+ (("rust-docopt" ,rust-docopt-1.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-tempfile" ,rust-tempfile-3.1)
+ ("rust-thread-id" ,rust-thread-id-3.3)
+ ("rust-time" ,rust-time-0.1))))))
+
(define-public rust-glob-0.3
(package
(name "rust-glob")
--
2.25.0
[-- Attachment #25: 0023-gnu-Add-rust-tempfile-3.1.patch --]
[-- Type: text/x-patch, Size: 1502 bytes --]
From 2136b255eddc51def6118dd8ad744b7311cd2266 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 08:59:27 -0800
Subject: [PATCH 23/69] gnu: Add rust-tempfile-3.1.
* gnu/packages/crates-io.scm (rust-tempfile-3.1): 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 cd29986b59..35d2cc6ed5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10411,6 +10411,29 @@ directories.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-tempfile-3.1
+ (package
+ (inherit rust-tempfile-3.0)
+ (version "3.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tempfile" version))
+ (file-name (string-append (package-name rust-tempfile-3.0)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "1a9cfdqw70n7bcnkx05aih9xdba8lqazmqlkjpkmn2la6gcj8vks"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+ ("rust-remove-dir-all" ,rust-remove-dir-all-0.5)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-tendril-0.4
(package
(name "rust-tendril")
--
2.25.0
[-- Attachment #26: 0025-gnu-rust-toml-0.5-Update-to-0.5.5.patch --]
[-- Type: text/x-patch, Size: 1506 bytes --]
From 3a3336e277ca74c471d7a751ebd38d60ef8a4c63 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:31:56 -0800
Subject: [PATCH 25/69] gnu: rust-toml-0.5: Update to 0.5.5.
* gnu/packages/crates-io.scm (rust-toml-0.5): Update it.
---
gnu/packages/crates-io.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e93c5aba1..f66cfec870 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11304,7 +11304,7 @@ pool.")
(define-public rust-toml-0.5
(package
(name "rust-toml")
- (version "0.5.3")
+ (version "0.5.5")
(source
(origin
(method url-fetch)
@@ -11312,8 +11312,16 @@ pool.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "093p48vpqm4bb8q3514xsij0dkljxlr3jp9ypxr4p48xjisvxan7"))))
+ "1kwqpin2w5fk51yamajdb18s949s80i47yngpwb2pcf88i341l81"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-indexmap" ,rust-indexmap-1.0)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
(home-page "https://github.com/alexcrichton/toml-rs")
(synopsis "Rust encoder and decoder of TOML-formatted files and streams")
(description
--
2.25.0
[-- Attachment #27: 0026-gnu-Add-rust-handlebars-2.0.patch --]
[-- Type: text/x-patch, Size: 2185 bytes --]
From 45e5b186f94545619d2e0bbab0cff79dfa4dcb72 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:34:03 -0800
Subject: [PATCH 26/69] gnu: Add rust-handlebars-2.0.
* gnu/packages/crates-io.scm (rust-handlebars-2.0): New variable.
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f66cfec870..e690a2f613 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4233,6 +4233,45 @@ standard printing of search results, similar to grep itself.")
IEEE 754-2008 binary16 type.")
(license (list license:expat license:asl2.0))))
+(define-public rust-handlebars-2.0
+ (package
+ (name "rust-handlebars")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "handlebars" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1m99gwjd7q7q79bk4f716wsdvcyhsrcsq4vbzcavbkmc48d194mg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hashbrown" ,rust-hashbrown-0.5)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pest" ,rust-pest-2.1)
+ ("rust-pest-derive" ,rust-pest-derive-2.1)
+ ("rust-quick-error" ,rust-quick-error-1.2)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-walkdir" ,rust-walkdir-2.2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.2)
+ ("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-maplit" ,rust-maplit-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-tempfile" ,rust-tempfile-3.0))))
+ (home-page
+ "https://github.com/sunng87/handlebars-rust")
+ (synopsis
+ "Handlebars templating implemented in Rust")
+ (description
+ "Handlebars templating implemented in Rust.")
+ (license license:expat)))
+
(define-public rust-heapsize-0.4
(package
(name "rust-heapsize")
--
2.25.0
[-- Attachment #28: 0027-gnu-Add-rust-hex-0.4.patch --]
[-- Type: text/x-patch, Size: 1150 bytes --]
From bbdbd098f4884ed250e10a3df9bd661bbc43c87a Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:36:59 -0800
Subject: [PATCH 27/69] gnu: Add rust-hex-0.4.
* gnu/packages/crates-io.scm (rust-hex-0.4): New variable.
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e690a2f613..dd7bd95776 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4358,6 +4358,21 @@ hexadecimal representation.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-hex-0.4
+ (package
+ (inherit rust-hex-0.3)
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hex" version))
+ (file-name
+ (string-append (package-name rust-hex-0.3)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0glsfrx2pxfsf6ivxj7vfrvd7g78j4z47ssgm5idm8p376z3jfq2"))))))
+
(define-public rust-hex-literal-0.2
(package
(name "rust-hex-literal")
--
2.25.0
[-- Attachment #29: 0028-gnu-Add-rust-regex-1.3.patch --]
[-- Type: text/x-patch, Size: 1759 bytes --]
From 92e8affdcc9daf7c7e213a6878ceb425839597c2 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:42:35 -0800
Subject: [PATCH 28/69] gnu: Add rust-regex-1.3.
* gnu/packages/crates-io.scm (rust-regex-1.3): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dd7bd95776..acf8b146e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8552,6 +8552,34 @@ system calls.")
uses finite automata and guarantees linear time matching on all inputs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-regex-1.3
+ (package
+ (inherit rust-regex-1.1)
+ (version "1.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "regex" version))
+ (file-name
+ (string-append (package-name rust-regex-1.1)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11syqmfvbsah805z6ih8vxf8p6jssdsz1gjsjqcwprz484cqql5m"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-aho-corasick" ,rust-aho-corasick-0.7)
+ ("rust-memchr" ,rust-memchr-2.2)
+ ("rust-regex-syntax" ,rust-regex-syntax-0.6)
+ ("rust-thread-local" ,rust-thread-local-1.0)
+ ("rust-utf8-ranges" ,rust-utf8-ranges-1.0))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.8)
+ ("rust-rand" ,rust-rand-0.4))))))
+
(define-public rust-regex-automata-0.1
(package
(name "rust-regex-automata")
--
2.25.0
[-- Attachment #30: 0029-gnu-rust-memchr-2.2-Update-to-2.2.1.patch --]
[-- Type: text/x-patch, Size: 1140 bytes --]
From 487d8ed3c4f55281197a64b484bf65a92b1153e6 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:44:45 -0800
Subject: [PATCH 29/69] gnu: rust-memchr-2.2: Update to 2.2.1.
* gnu/packages/crates-io.scm (rust-memchr-2.2): Update it.
---
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 acf8b146e8..c29fae09b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5575,7 +5575,7 @@ whether an expression matches a pattern.")
(define-public rust-memchr-2.2
(package
(name "rust-memchr")
- (version "2.2.0")
+ (version "2.2.1")
(source
(origin
(method url-fetch)
@@ -5584,7 +5584,7 @@ whether an expression matches a pattern.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0f8wdra7yaggsr4jzlrvpd8yknnqhd990iijdr6llgc8gk2ppz1f"))))
+ "13j6ji9x9ydpi9grbss106gqqr3xn3bcfp28aydqfa4751qrfmw8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #31: 0030-gnu-Add-rust-lazy-static-1.4.patch --]
[-- Type: text/x-patch, Size: 1207 bytes --]
From 77a07cec40d9a4efa816c6b34c46d14a29dd5374 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:45:54 -0800
Subject: [PATCH 30/69] gnu: Add rust-lazy-static-1.4.
* gnu/packages/crates-io.scm (rust-lazy-static-1.4): New variable.
---
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 c29fae09b5..ddc7719626 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5069,6 +5069,20 @@ requires non-const function calls to be computed.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-lazy-static-1.4
+ (package
+ (inherit rust-lazy-static-1.3)
+ (version "1.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazy_static" version))
+ (file-name (string-append (package-name rust-lazy-static-1.3)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2"))))))
+
(define-public rust-lazycell-1.2
(package
(name "rust-lazycell")
--
2.25.0
[-- Attachment #32: 0031-gnu-Add-rust-humantime-1.3.patch --]
[-- Type: text/x-patch, Size: 1134 bytes --]
From 4548abb21e934c409f79ccbcc77910991fdb2650 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:48:22 -0800
Subject: [PATCH 31/69] gnu: Add rust-humantime-1.3.
* gnu/packages/crates-io.scm (rust-humantime-1.3): New variable.
---
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 ddc7719626..7a718dc37a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4547,6 +4547,20 @@ requests and responses.")
SystemTime}}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-humantime-1.3
+ (package
+ (inherit rust-humantime-1.2)
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "humantime" version))
+ (file-name
+ (string-append (package-name rust-humantime-1.2) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0krwgbf35pd46xvkqg14j070vircsndabahahlv3rwhflpy4q06z"))))))
+
(define-public rust-hostname-0.1
(package
(name "rust-hostname")
--
2.25.0
[-- Attachment #33: 0032-gnu-Add-rust-env-logger-0.7.patch --]
[-- Type: text/x-patch, Size: 1436 bytes --]
From f06f99391bd67bb8418edc7544d8f21429324521 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:48:50 -0800
Subject: [PATCH 32/69] gnu: Add rust-env-logger-0.7.
* gnu/packages/crates-io.scm (rust-env-logger-0.7): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a718dc37a..178b8cdda2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2785,6 +2785,28 @@ Standard.")
is configured via an environment variable.")
(license (list license:expat license:asl2.0))))
+(define-public rust-env-logger-0.7
+ (package
+ (inherit rust-env-logger-0.6)
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "env_logger" version))
+ (file-name
+ (string-append (package-name rust-env-logger-0.6) "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0djx8h8xfib43g5w94r1m1mkky5spcw4wblzgnhiyg5vnfxknls4"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-humantime" ,rust-humantime-1.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-regex" ,rust-regex-1.1)
+ ("rust-termcolor" ,rust-termcolor-1.0))))))
+
(define-public rust-envmnt-0.6
(package
(name "rust-envmnt")
--
2.25.0
[-- Attachment #34: 0034-gnu-Add-rust-dirs-2.0.patch --]
[-- Type: text/x-patch, Size: 1372 bytes --]
From 3f189c15907356ef036319e9b04be45b2112436a Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:52:36 -0800
Subject: [PATCH 34/69] gnu: Add rust-dirs-2.0.
* gnu/packages/crates-io.scm (rust-dirs-2.0): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 563e1a80dd..8b080e90e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2356,6 +2356,25 @@ the XDG base/user directory specifications on Linux, the Known Folder API on
Windows, and the Standard Directory guidelines on macOS.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dirs-2.0
+ (package
+ (inherit rust-dirs-1.0)
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name
+ (string-append (package-name rust-dirs-1.0)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qymhyq7w7wlf1dirq6gsnabdyzg6yi2yyxkx6c4ldlkbjdaibhk"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-dirs-sys" ,rust-dirs-sys-0.3))))))
+
(define-public rust-discard-1.0
(package
(name "rust-discard")
--
2.25.0
[-- Attachment #35: 0035-gnu-rust-grep-searcher-0.1-Update-to-0.1.6.patch --]
[-- Type: text/x-patch, Size: 1208 bytes --]
From 63228e071635b91f15915875579698247760273f Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:54:28 -0800
Subject: [PATCH 35/69] gnu: rust-grep-searcher-0.1: Update to 0.1.6.
* gnu/packages/crates-io.scm (rust-grep-searcher-0.1): Update it.
---
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 8b080e90e8..42a9ac0d2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4243,7 +4243,7 @@ standard printing of search results, similar to grep itself.")
(define-public rust-grep-searcher-0.1
(package
(name "rust-grep-searcher")
- (version "0.1.5")
+ (version "0.1.6")
(source
(origin
(method url-fetch)
@@ -4252,7 +4252,7 @@ standard printing of search results, similar to grep itself.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0pj85m7q6k6jpl3q57v1gwq5jxmqnza2xg7jjcxky3q325z8lcjy"))))
+ "09ag16im12v6k0lzkyvbvamn1iw15kfx1jbfldb7z5xa7208l04a"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #36: 0033-gnu-Add-rust-crossbeam-channel-0.4.patch --]
[-- Type: text/x-patch, Size: 1537 bytes --]
From cb5d6f026bf2609475e1739c471500195b40b438 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:50:57 -0800
Subject: [PATCH 33/69] gnu: Add rust-crossbeam-channel-0.4.
* gnu/packages/crates-io.scm (rust-crossbeam-channel-0.4): 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 178b8cdda2..563e1a80dd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1805,6 +1805,29 @@ intrinsics.")
license:asl2.0
license:bsd-2))))
+(define-public rust-crossbeam-channel-0.4
+ (package
+ (inherit rust-crossbeam-channel-0.3)
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossbeam-channel" version))
+ (file-name
+ (string-append (package-name rust-crossbeam-channel-0.3)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "135ncx9680afs8jkjz8g3iq3naay9rn7942gxrdg2n9m1cxrmv5c"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7))
+ #:cargo-development-inputs
+ (("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-rand" ,rust-rand-0.6)
+ ("rust-signal-hook" ,rust-signal-hook-0.1))))))
+
(define-public rust-crossbeam-deque-0.7
(package
(name "rust-crossbeam-deque")
--
2.25.0
[-- Attachment #37: 0036-gnu-rust-serde-1.0-Update-to-1.0.104.patch --]
[-- Type: text/x-patch, Size: 1138 bytes --]
From 8be61d6acef77276beee46b190a357f6544474aa Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:55:46 -0800
Subject: [PATCH 36/69] gnu: rust-serde-1.0: Update to 1.0.104.
* gnu/packages/crates-io.scm (rust-serde-1.0): Update it.
---
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 42a9ac0d2e..80f2253f7b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9414,7 +9414,7 @@ proven statistical guarantees.")
(define-public rust-serde-1.0
(package
(name "rust-serde")
- (version "1.0.101")
+ (version "1.0.104")
(source
(origin
(method url-fetch)
@@ -9422,7 +9422,7 @@ proven statistical guarantees.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1p8r24hagcsrl92w5z32nfrg9040qkgqf8iwwnf7mzigpavwk5lp"))))
+ "0ja4mgw4p42syjk7jkzwhj2yg6llfrfm7vn8rvy7v3c1bzr1aha1"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #38: 0037-gnu-rust-serde-cbor-0.10-Update-to-0.10.2.patch --]
[-- Type: text/x-patch, Size: 1142 bytes --]
From fdc248ccc3eab02bc236aa821ac9353385bc2c2c Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:56:41 -0800
Subject: [PATCH 37/69] gnu: rust-serde-cbor-0.10: Update to 0.10.2.
* gnu/packages/crates-io.scm (rust-serde-cbor-0.10): Update it.
---
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 80f2253f7b..b175dc1990 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9470,7 +9470,7 @@ proven statistical guarantees.")
(define-public rust-serde-cbor-0.10
(package
(name "rust-serde-cbor")
- (version "0.10.1")
+ (version "0.10.2")
(source
(origin
(method url-fetch)
@@ -9479,7 +9479,7 @@ proven statistical guarantees.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0jcb4j637vdlqk2z38jixaqmp6f92h36r17kclv5brjay32911ii"))))
+ "0kyizacjabsa78p9f7qvj31zirpnsgsr4zpfv1p6lwpcb3biw27p"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #39: 0039-gnu-rust-serde-json-1.0-Update-to-1.0.44.patch --]
[-- Type: text/x-patch, Size: 1155 bytes --]
From 35ef59115ec9bb6eefc293def48fe5832b6f746f Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:59:34 -0800
Subject: [PATCH 39/69] gnu: rust-serde-json-1.0: Update to 1.0.44.
* gnu/packages/crates-io.scm (rust-serde-json-1.0): Update it.
---
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 784179a1ce..965610c93c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9525,7 +9525,7 @@ proven statistical guarantees.")
(define-public rust-serde-json-1.0
(package
(name "rust-serde-json")
- (version "1.0.41")
+ (version "1.0.44")
(source
(origin
(method url-fetch)
@@ -9533,7 +9533,7 @@ proven statistical guarantees.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1hipk84x40454mf599752mi7l08wb8qakz8vd6d3zp57d0mfnwig"))))
+ "1mysl675nqhzzkbcrqy4x63cbbsrrx3gcc7k8ydx1gajrkh7bia8"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #40: 0040-gnu-rust-serde-yaml-0.8-Update-to-0.8.11.patch --]
[-- Type: text/x-patch, Size: 1138 bytes --]
From 20efbade336792d90fffc5e81cd26b150ae3c9d2 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:01:02 -0800
Subject: [PATCH 40/69] gnu: rust-serde-yaml-0.8: Update to 0.8.11.
* gnu/packages/crates-io.scm (rust-serde-yaml-0.8): Update it.
---
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 965610c93c..71a9752d8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9583,7 +9583,7 @@ proven statistical guarantees.")
(define-public rust-serde-yaml-0.8
(package
(name "rust-serde-yaml")
- (version "0.8.9")
+ (version "0.8.11")
(source
(origin
(method url-fetch)
@@ -9592,7 +9592,7 @@ proven statistical guarantees.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "10mmjpnshgrwij01a13679nxy1hnh5yfr0343kh0y9p5j2d8mc1q"))))
+ "0d9wdjrlx9gxg80kzc6pvdwz5pwhja2n8n0bxja9vv61kzqif6v9"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #41: 0041-gnu-Add-rust-dirs-sys-0.3.patch --]
[-- Type: text/x-patch, Size: 1706 bytes --]
From 4e579bb33512ed0f9ee8a437156bf72d1f28e034 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:14:17 -0800
Subject: [PATCH 41/69] gnu: Add rust-dirs-sys-0.3.
* gnu/packages/crates-io.scm (rust-dirs-sys-0.3): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 71a9752d8b..e75309c0d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2375,6 +2375,33 @@ Windows, and the Standard Directory guidelines on macOS.")
(("rust-cfg-if" ,rust-cfg-if-0.1)
("rust-dirs-sys" ,rust-dirs-sys-0.3))))))
+(define-public rust-dirs-sys-0.3
+ (package
+ (name "rust-dirs-sys")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yyykdcmbc476z1v9m4z5jb8y91dw6kgzpkiqi2ig07xx0yv585g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-users" ,rust-redox-users-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/soc/dirs-sys-rs")
+ (synopsis
+ "System-level helper functions for the dirs and directories crates")
+ (description
+ "System-level helper functions for the dirs and directories crates.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-discard-1.0
(package
(name "rust-discard")
--
2.25.0
[-- Attachment #42: 0042-gnu-Add-rust-blake2-rfc-0.2.patch --]
[-- Type: text/x-patch, Size: 1742 bytes --]
From fbc4fd903653558969bf250ea90ddb8f874b5588 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:22:30 -0800
Subject: [PATCH 42/69] gnu: Add rust-blake2-rfc-0.2.
* gnu/packages/crates-io.scm (rust-blake2-rfc-0.2): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e75309c0d8..5052263a72 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -677,6 +677,36 @@ behave like a set of bitflags.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-blake2-rfc-0.2
+ (package
+ (name "rust-blake2-rfc")
+ (version "0.2.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blake2-rfc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0034g47hyq2bzmk40895ill1mbnpmmjakdq3dmm9clidvl5m6vax"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.4)
+ ("rust-clippy" ,rust-clippy-0.0)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1))
+ #:cargo-development-inputs
+ (("rust-data-encoding" ,rust-data-encoding-2.1))))
+ (home-page
+ "https://github.com/cesarb/blake2-rfc")
+ (synopsis
+ "Rust implementation of BLAKE2 based on RFC 7693")
+ (description
+ "This package provides a pure Rust implementation of BLAKE2 based on RFC
+7693.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-blas-sys-0.7
(package
(name "rust-blas-sys")
--
2.25.0
[-- Attachment #43: 0044-gnu-Add-rust-redox-users-0.3.patch --]
[-- Type: text/x-patch, Size: 1724 bytes --]
From ae4f8770dc2786d51f18529bfb396b1f75471680 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:19:58 -0800
Subject: [PATCH 44/69] gnu: Add rust-redox-users-0.3.
* gnu/packages/crates-io.scm (rust-redox-users-0.3): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 250c2df327..3d1f842544 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8646,6 +8646,36 @@ system calls.")
"This package provides a Rust library to access Redox termios functions.")
(license license:expat)))
+(define-public rust-redox-users-0.3
+ (package
+ (name "rust-redox-users")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "redox_users" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vdn688q9wg997b1x5abx2gf7406rn1lvd62ypcgh1gj7g5dpkjf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rust-argon2" ,rust-rust-argon2-0.5)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-rand-os" ,rust-rand-os-0.2)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1))))
+ (home-page
+ "https://gitlab.redox-os.org/redox-os/users")
+ (synopsis
+ "Access Redox users and groups")
+ (description
+ "This package provides a Rust library to access Redox users and groups
+functionality.")
+ (license license:expat)))
+
(define-public rust-ref-cast-0.2
(package
(name "rust-ref-cast")
--
2.25.0
[-- Attachment #44: 0046-gnu-Add-rust-term-size-0.3.patch --]
[-- Type: text/x-patch, Size: 1448 bytes --]
From 61d6cd3b85b49acfcb2b3cf63cca63681e763295 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:29:33 -0800
Subject: [PATCH 46/69] gnu: Add rust-term-size-0.3.
* gnu/packages/crates-io.scm (rust-term-size-0.3): New variable.
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 377f07056f..74cdcdc9b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10856,6 +10856,28 @@ directories.")
"Functions for determining terminal sizes and dimensions")
(license `(,license:asl2.0 ,license:expat))))
+(define-public rust-term-size-0.3
+ (package
+ (inherit rust-term-size-1.0)
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term_size" version))
+ (file-name
+ (string-append (package-name rust-term-size-1.0)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "09wk3173ngmb710qs9rwgibq4w250q8lgnwjvb9cypc1vdk9lnwy"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.2))))))
+
(define-public rust-termcolor-1.0
(package
(name "rust-termcolor")
--
2.25.0
[-- Attachment #45: 0045-gnu-Add-rust-term-size-1.0.patch --]
[-- Type: text/x-patch, Size: 1688 bytes --]
From 979c625a82a97eaefdc505ebbcc1fb47fe33067c Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:29:08 -0800
Subject: [PATCH 45/69] gnu: Add rust-term-size-1.0.
* gnu/packages/crates-io.scm (rust-term-size-1.0): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3d1f842544..377f07056f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10827,6 +10827,35 @@ directories.")
(("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
("rust-winapi" ,rust-winapi-0.2))))))
+(define-public rust-term-size-1.0
+ (package
+ (name "rust-term-size")
+ (version "1.0.0-beta1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term_size" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "13w9cqjhzh3mmx6zami8lxyf42xx53yy866zxhxqcm71k637v8d8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-clippy" ,rust-clippy-0.0)
+ ("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page
+ "https://github.com/clap-rs/term_size-rs")
+ (synopsis
+ "Determine terminal sizes and dimensions")
+ (description
+ "Functions for determining terminal sizes and dimensions")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-termcolor-1.0
(package
(name "rust-termcolor")
--
2.25.0
[-- Attachment #46: 0043-gnu-Add-rust-argon2rs-0.2.patch --]
[-- Type: text/x-patch, Size: 1749 bytes --]
From f9257f3c9430614d5778d028ef779a18392e045a Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:14:43 -0800
Subject: [PATCH 43/69] gnu: Add rust-argon2rs-0.2.
* gnu/packages/crates-io.scm (rust-argon2rs-0.2): New variable.
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5052263a72..250c2df327 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -254,6 +254,35 @@ text or blue underlined text, on ANSI terminals.")
(description "This package provides an atomically swappable Arc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-argon2rs-0.2
+ (package
+ (name "rust-argon2rs")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "argon2rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blake2-rfc" ,rust-blake2-rfc-0.2)
+ ("rust-scoped-threadpool"
+ ,rust-scoped-threadpool-0.1))
+ #:cargo-development-inputs
+ (("rust-cargon" ,rust-cargon-0.0))))
+ (home-page "https://github.com/bryant/argon2rs")
+ (synopsis
+ "The pure Rust password hashing library that runs on Argon2")
+ (description
+ "The pure Rust password hashing library that runs on Argon2.")
+ (license license:expat)))
+
(define-public rust-arrayvec-0.4
(package
(name "rust-arrayvec")
--
2.25.0
[-- Attachment #47: 0038-gnu-rust-serde-derive-1.0-Update-to-1.0.104.patch --]
[-- Type: text/x-patch, Size: 1166 bytes --]
From 71ede4a1251c1455feee6394b900cc60169ae527 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 09:58:32 -0800
Subject: [PATCH 38/69] gnu: rust-serde-derive-1.0: Update to 1.0.104.
* gnu/packages/crates-io.scm (rust-serde-derive-1.0): Update it.
---
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 b175dc1990..784179a1ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9497,7 +9497,7 @@ proven statistical guarantees.")
(define-public rust-serde-derive-1.0
(package
(name "rust-serde-derive")
- (version "1.0.101")
+ (version "1.0.104")
(source
(origin
(method url-fetch)
@@ -9505,7 +9505,7 @@ proven statistical guarantees.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0bn0wz3j48248187mfmypyqnh73mq734snxxhr05vmgcl51kl4sb"))))
+ "0r7gjlwfry44b4ylz524ynjp9v3qiwdj4c588lh94aas78q9x3qj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #48: 0047-gnu-rust-regex-syntax-0.6-Update-to-0.6.13.patch --]
[-- Type: text/x-patch, Size: 1245 bytes --]
From 351b63daaa38d1c94b1649cb7127ba07541093a8 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:38:13 -0800
Subject: [PATCH 47/69] gnu: rust-regex-syntax-0.6: Update to 0.6.13.
* gnu/packages/crates-io.scm (rust-regex-syntax-0.6): Update it.
---
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 74cdcdc9b2..8eecf91d42 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8825,7 +8825,7 @@ uses finite automata and guarantees linear time matching on all inputs.")
(define-public rust-regex-syntax-0.6
(package
(name "rust-regex-syntax")
- (version "0.6.10")
+ (version "0.6.13")
(source
(origin
(method url-fetch)
@@ -8833,7 +8833,7 @@ uses finite automata and guarantees linear time matching on all inputs.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
+ "141xi6yiji0bc04c4skamd4ny9vnd1jrwc7qzfga425lyn8yhd77"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #49: 0048-gnu-Add-rust-rustc-std-workspace-alloc-1.0.patch --]
[-- Type: text/x-patch, Size: 1472 bytes --]
From 469f0180ab6a952b79a70f40dda27395769e5b6a Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:01:01 -0800
Subject: [PATCH 48/69] gnu: Add rust-rustc-std-workspace-alloc-1.0.
* gnu/packages/crates-io.scm (rust-rustc-std-workspace-alloc-1.0): New variable.
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8eecf91d42..0a0f272aa6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9003,6 +9003,26 @@ decoding.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rustc-std-workspace-alloc-1.0
+ (package
+ (name "rust-rustc-std-workspace-alloc")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-std-workspace-alloc" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11psmqk6glglxl3zwh8slz6iynfxaifh4spd2wcnws552dqdarpz"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://crates.io/crates/rustc-std-workspace-alloc")
+ (synopsis "Workspace hack")
+ (description "Workspace hack.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-rustc-std-workspace-core-1.0
(package
(name "rust-rustc-std-workspace-core")
--
2.25.0
[-- Attachment #50: 0049-gnu-Add-rust-hashbrown-0.5.patch --]
[-- Type: text/x-patch, Size: 2090 bytes --]
From 8d9016aae5956bcefb7f1c23e824c74664b09407 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:08:32 -0800
Subject: [PATCH 49/69] gnu: Add rust-hashbrown-0.5.
* gnu/packages/crates-io.scm (rust-hashbrown-0.5): 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 0a0f272aa6..d14a180753 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4422,6 +4422,42 @@ IEEE 754-2008 binary16 type.")
"Handlebars templating implemented in Rust.")
(license license:expat)))
+(define-public rust-hashbrown-0.5
+ (package
+ (name "rust-hashbrown")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lr3gsicplw7czapsscmii87hgzpvxf5ch92v7pi95xsipxl3pp1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rayon" ,rust-rayon-1.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1.0)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-rayon" ,rust-rayon-1.1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1.0)
+ ("rust-serde-test" ,rust-serde-test-1.0))))
+ (home-page
+ "https://github.com/rust-lang/hashbrown")
+ (synopsis
+ "A Rust port of Google's SwissTable hash map")
+ (description
+ "This package provides a Rust port of Google's SwissTable hash map.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-heapsize-0.4
(package
(name "rust-heapsize")
--
2.25.0
[-- Attachment #51: 0051-gnu-rust-quick-error-1.2-Update-to-1.2.3.patch --]
[-- Type: text/x-patch, Size: 1227 bytes --]
From 416520dd7f6f9a6c64f823e59ece5f2769f09ee9 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:26:32 -0800
Subject: [PATCH 51/69] gnu: rust-quick-error-1.2: Update to 1.2.3.
* gnu/packages/crates-io.scm (rust-quick-error-1.2): Update it.
---
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 4ec75c7c1b..8f9121d7ee 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7879,7 +7879,7 @@ in terms of the upstream unstable API.")
(define-public rust-quick-error-1.2
(package
(name "rust-quick-error")
- (version "1.2.2")
+ (version "1.2.3")
(source
(origin
(method url-fetch)
@@ -7887,7 +7887,7 @@ in terms of the upstream unstable API.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
+ "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51"))))
(build-system cargo-build-system)
(arguments `(#:skip-build? #t))
(home-page "https://github.com/tailhook/quick-error")
--
2.25.0
[-- Attachment #52: 0050-gnu-rust-quick-error-1.2-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1142 bytes --]
From e5c4fb9b6e04efa2982855b9d739a103200dd24d Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 20:25:35 -0800
Subject: [PATCH 50/69] gnu: rust-quick-error-1.2: Don't hide package.
* gnu/packages/crates-io.scm (rust-quick-error-1.2): [arguments] Skip build
[properties] Remove field.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d14a180753..4ec75c7c1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7889,11 +7889,11 @@ in terms of the upstream unstable API.")
(base32
"1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
(build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
(home-page "https://github.com/tailhook/quick-error")
(synopsis "Macro which makes error types pleasant to write")
(description "This crate provides a macro which makes error types pleasant
to write.")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.25.0
[-- Attachment #53: 0052-gnu-rust-cc-1.0-Update-to-1.0.50.patch --]
[-- Type: text/x-patch, Size: 1495 bytes --]
From 5ee623dfac22a4662c826bd0cd59dc7b55d7f350 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 21:42:07 -0800
Subject: [PATCH 52/69] gnu: rust-cc-1.0: Update to 1.0.50.
* gnu/packages/crates-io.scm (rust-cc-1.0): Update it.
---
gnu/packages/crates-io.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8f9121d7ee..cc38e77118 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1149,7 +1149,7 @@ used in argon2rs' bench suite.")
(define-public rust-cc-1.0
(package
(name "rust-cc")
- (version "1.0.41")
+ (version "1.0.50")
(source
(origin
(method url-fetch)
@@ -1157,14 +1157,14 @@ used in argon2rs' bench suite.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld"))))
+ "1kdqm8ka7xg9h56b694pcz29ka33fsz27mzrphqc78gx96h8zqlm"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-rayon" ,rust-rayon-1.1))
+ (("rust-jobserver" ,rust-jobserver-0.1))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
+ (("rust-tempfile" ,rust-tempfile-3.1))))
(home-page "https://github.com/alexcrichton/cc-rs")
(synopsis "Invoke the native C compiler")
(description
--
2.25.0
[-- Attachment #54: 0055-gnu-Add-rust-tokio-signal-0.2.patch --]
[-- Type: text/x-patch, Size: 1982 bytes --]
From 926a0fcfb211e32b8985d6fa5bac718e3840a427 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:28:54 -0800
Subject: [PATCH 55/69] gnu: Add rust-tokio-signal-0.2.
* gnu/packages/crates-io.scm (rust-tokio-signal-0.2): New variable.
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e186075235..e43bb8a2da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11561,6 +11561,41 @@ futures efficiently")
"Event loop that drives Tokio I/O resources.")
(license license:expat)))
+(define-public rust-tokio-signal-0.2
+ (package
+ (name "rust-tokio-signal")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-signal" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15l27cvhfcjsahwnm2pgsm0690w0xj1h1sbdl5wy6p50dqkwavfx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-uds" ,rust-mio-uds-0.6)
+ ("rust-signal-hook" ,rust-signal-hook-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/tokio-rs/tokio")
+ (synopsis
+ "Asynchronous Unix signal handling backed futures")
+ (description
+ "An implementation of an asynchronous Unix signal handling backed
+futures.")
+ (license license:expat)))
+
(define-public rust-tokio-sync-0.1
(package
(name "rust-tokio-sync")
--
2.25.0
[-- Attachment #55: 0056-gnu-Add-rust-tokio-process-0.2.patch --]
[-- Type: text/x-patch, Size: 2188 bytes --]
From 88365cc2a06acfc927c35d1ee9fb6cc0ef2a2384 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:29:35 -0800
Subject: [PATCH 56/69] gnu: Add rust-tokio-process-0.2.
* gnu/packages/crates-io.scm (rust-tokio-process-0.2): New variable.
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e43bb8a2da..e0b8dc70c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11522,6 +11522,46 @@ futures efficiently")
(properties '((hidden? . #t)))
(license license:expat)))
+(define-public rust-tokio-process-0.2
+ (package
+ (name "rust-tokio-process")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-process" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1s6vi5n5iax4ksx3bzpfdhfbngj49mvq5n40np1d4aycp3qnxgdg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-signal" ,rust-tokio-signal-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-failure" ,rust-failure-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tokio" ,rust-tokio-0.1))))
+ (home-page "https://github.com/tokio-rs/tokio")
+ (synopsis
+ "Asynchronous process management backed futures")
+ (description
+ "An implementation of an asynchronous process management backed
+futures.")
+ (license license:expat)))
+
(define-public rust-tokio-reactor-0.1
(package
(name "rust-tokio-reactor")
--
2.25.0
[-- Attachment #56: 0054-gnu-Add-rust-mio-named-pipes-0.1.patch --]
[-- Type: text/x-patch, Size: 1792 bytes --]
From 93e55315a03b0a855a458bf46835ae5ec4ceb44c Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:21:51 -0800
Subject: [PATCH 54/69] gnu: Add rust-mio-named-pipes-0.1.
* gnu/packages/crates-io.scm (rust-mio-named-pipes-0.1): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e33cc4cf7e..e186075235 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6051,6 +6051,38 @@ drop-in replacement for miniz.")
(description "Lightweight non-blocking IO.")
(license license:expat)))
+(define-public rust-mio-named-pipes-0.1
+ (package
+ (name "rust-mio-named-pipes")
+ (version "0.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "mio-named-pipes" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cwwfx1yr9vws8x971x34ijnirs377vcxi47frdirki5yppp9qzm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-miow" ,rust-miow-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-rand" ,rust-rand-0.4))))
+ (home-page
+ "https://github.com/alexcrichton/mio-named-pipes")
+ (synopsis
+ "Windows named pipe bindings for mio")
+ (description
+ "Windows named pipe bindings for mio.")
+ (license `(,license:asl2.0 ,license:expat))))
+
(define-public rust-mio-uds-0.6
(package
(name "rust-mio-uds")
--
2.25.0
[-- Attachment #57: 0053-gnu-Add-rust-tokio-core-0.1.patch --]
[-- Type: text/x-patch, Size: 2623 bytes --]
From 81132c770e1bbc6d7eb21f4334b15ec142844fc9 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:08:50 -0800
Subject: [PATCH 53/69] gnu: Add rust-tokio-core-0.1.
* gnu/packages/crates-io.scm (rust-tokio-core-0.1): New variable.
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc38e77118..e33cc4cf7e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11277,6 +11277,54 @@ backed applications.")
"Utilities for encoding and decoding frames.")
(license license:expat)))
+(define-public rust-tokio-core-0.1
+ (package
+ (name "rust-tokio-core")
+ (version "0.1.17")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-core" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wbgg59mxfvrhzv97y56nh3gmnmw3jj9dhgkmvz27410jjxzpvxf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-futures" ,rust-futures-0.1)
+ ("rust-iovec" ,rust-iovec-0.1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-scoped-tls" ,rust-scoped-tls-0.1)
+ ("rust-tokio" ,rust-tokio-0.1)
+ ("rust-tokio-executor" ,rust-tokio-executor-0.1)
+ ("rust-tokio-io" ,rust-tokio-io-0.1)
+ ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)
+ ("rust-tokio-timer" ,rust-tokio-timer-0.2))
+ #:cargo-development-inputs
+ (("rust-env-logger" ,rust-env-logger-0.6)
+ ("rust-flate2" ,rust-flate2-1.0)
+ ("rust-futures-cpupool" ,rust-futures-cpupool-0.1)
+ ("rust-http" ,rust-http-0.1)
+ ("rust-httparse" ,rust-httparse-1.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-time" ,rust-time-0.1))))
+ (home-page "https://tokio.rs")
+ (synopsis
+ "Core I/O and event loop primitives for asynchronous I/O in Rust")
+ (description
+ "Core I/O and event loop primitives for asynchronous I/O in Rust.
+Foundation for the rest of the tokio crates.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-tokio-current-thread-0.1
(package
(name "rust-tokio-current-thread")
--
2.25.0
[-- Attachment #58: 0057-gnu-Add-rust-jobserver-0.1.patch --]
[-- Type: text/x-patch, Size: 1819 bytes --]
From 8ce4ef33c46790e48e0a7d39097f169205cea8d5 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:30:20 -0800
Subject: [PATCH 57/69] gnu: Add rust-jobserver-0.1.
* gnu/packages/crates-io.scm (rust-jobserver-0.1): New variable.
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e0b8dc70c8..4b830663fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5080,6 +5080,38 @@ primitives to an @code{io::Write}.")
(base32
"18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f"))))))
+(define-public rust-jobserver-0.1
+ (package
+ (name "rust-jobserver")
+ (version "0.1.19")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jobserver" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q2w80v8p2pbfm8ayhjs6zi11a1hp4535z4ck8kg872z8ldnrc37"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.1)
+ ("rust-num-cpus" ,rust-num-cpus-1.10)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-tokio-core" ,rust-tokio-core-0.1)
+ ("rust-tokio-process" ,rust-tokio-process-0.2))))
+ (home-page
+ "https://github.com/alexcrichton/jobserver-rs")
+ (synopsis
+ "GNU make jobserver for Rust")
+ (description
+ "An implementation of the GNU make jobserver for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-js-sys-0.3
(package
(name "rust-js-sys")
--
2.25.0
[-- Attachment #59: 0058-gnu-rust-pest-generator-2.1-Update-dependencies.patch --]
[-- Type: text/x-patch, Size: 936 bytes --]
From 2533a0770a3905d8ab1af2a87bd41327fee18735 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:39:28 -0800
Subject: [PATCH 58/69] gnu: rust-pest-generator-2.1: Update dependencies.
* gnu/packages/crates-io.scm (rust-pest-generator-2.1):[arguments] Add cargo-input.
---
gnu/packages/crates-io.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b830663fb..734e29fb62 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7400,7 +7400,7 @@ algorithm.")
(("rust-pest" ,rust-pest-2.1)
("rust-pest-meta" ,rust-pest-meta-2.1)
("rust-proc-macro2" ,rust-proc-macro2-0.4)
- ("rust-quote" ,rust-quote-1.0)
+ ("rust-quote" ,rust-quote-0.6)
("rust-syn" ,rust-syn-0.15))))
(home-page "https://pest.rs/")
(synopsis "Pest code generator")
--
2.25.0
[-- Attachment #60: 0060-gnu-rust-pest-meta-2.1-Update-dependencies.patch --]
[-- Type: text/x-patch, Size: 999 bytes --]
From f7c503c347c839c97a51d5c62a54a4561a0e72ee Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 22:43:45 -0800
Subject: [PATCH 60/69] gnu: rust-pest-meta-2.1: Update dependencies.
* gnu/packages/crates-io.scm (rust-pest-meta-2.1): [arguments] Add cargo input.
---
gnu/packages/crates-io.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9c2a3fb29b..8834d5afbb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7425,9 +7425,8 @@ algorithm.")
`(#:skip-build? #t
#:cargo-inputs
(("rust-maplit" ,rust-maplit-1.0)
- ("rust-pest" ,rust-pest-2.1))
- #:cargo-development-inputs
- (("rust-sha-1" ,rust-sha-1-0.8))))
+ ("rust-pest" ,rust-pest-2.1)
+ ("rust-sha-1" ,rust-sha-1-0.8))))
(home-page "https://pest.rs")
(synopsis "Pest meta language parser and validator")
(description
--
2.25.0
[-- Attachment #61: 0061-gnu-rust-pest-meta-2.1-Update-to-2.1.2.patch --]
[-- Type: text/x-patch, Size: 1092 bytes --]
From 6d547348703c41cd3baa3df9e9db2909587dcb36 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:48:27 -0800
Subject: [PATCH 61/69] gnu: rust-pest-meta-2.1: Update to 2.1.2.
* gnu/packages/crates-io.scm (rust-pest-meta-2.1): Update it.
---
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 8834d5afbb..8996639e8b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7410,7 +7410,7 @@ algorithm.")
(define-public rust-pest-meta-2.1
(package
(name "rust-pest-meta")
- (version "2.1.1")
+ (version "2.1.2")
(source
(origin
(method url-fetch)
@@ -7419,7 +7419,7 @@ algorithm.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0kaprdz3jis9bjfwhri1zncbsvack5m3gx2g5flspdy7wxnyljgj"))))
+ "0iymvrh7lcfi8iarkgq0hwgarr00np3l4xg4bx42rmvgi6czshyz"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #62: 0059-gnu-rust-pest-generator-2.1-Update-to-2.1.1.patch --]
[-- Type: text/x-patch, Size: 1112 bytes --]
From b3b7c87fff6ea5e9344afac4d1b9d865d38bbbd6 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:46:25 -0800
Subject: [PATCH 59/69] gnu: rust-pest-generator-2.1: Update to 2.1.1.
* gnu/packages/crates-io.scm (rust-pest-generator-2.1): Update it.
---
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 734e29fb62..9c2a3fb29b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7383,7 +7383,7 @@ algorithm.")
(define-public rust-pest-generator-2.1
(package
(name "rust-pest-generator")
- (version "2.1.0")
+ (version "2.1.1")
(source
(origin
(method url-fetch)
@@ -7392,7 +7392,7 @@ algorithm.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0ipnv77lqhj4d4fpfxi8m168lcjp482kszaknlardmpgqiv0a4k3"))))
+ "1h3z8jccki87mn7gppy4292s1ah98z4md998w5pd04jpkclwz7vv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.25.0
[-- Attachment #63: 0062-gnu-rust-kernel32-sys-0.2-Update-dependencies.patch --]
[-- Type: text/x-patch, Size: 1226 bytes --]
From 99f08ed3c0deadc7698c313ef426418409d26fe2 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 23:48:33 -0800
Subject: [PATCH 62/69] gnu: rust-kernel32-sys-0.2: Update dependencies.
* gnu/packages/crates-io.scm (rust-kernel32-sys-0.2): [arguments] Rearrange
cargo inputs.
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8996639e8b..2f1605b4d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5237,9 +5237,9 @@ friction with idiomatic Rust structs to ease interopability.")
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
- #:cargo-inputs (("rust-winapi" ,rust-winapi-0.2))
- #:cargo-development-inputs
- (("rust-winapi-build" ,rust-winapi-build-0.1))))
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.2)
+ ("rust-winapi-build" ,rust-winapi-build-0.1))))
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Function definitions for the Windows API library kernel32")
(description "Contains function definitions for the Windows API library
--
2.25.0
[-- Attachment #64: 0065-gnu-Add-rust-arrayref-0.3.patch --]
[-- Type: text/x-patch, Size: 1547 bytes --]
From c225dd2bf5422952a53a80d797590867a7a8216e Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:36:53 -0800
Subject: [PATCH 65/69] gnu: Add rust-arrayref-0.3.
* gnu/packages/crates-io.scm (rust-arrayref-0.3): 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 6ed1a1ab25..d705f516fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -283,6 +283,31 @@ text or blue underlined text, on ANSI terminals.")
"The pure Rust password hashing library that runs on Argon2.")
(license license:expat)))
+(define-public rust-arrayref-0.3
+ (package
+ (name "rust-arrayref")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrayref" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vphy316jbgmgckk4z7m8csvlyc8hih9w95iyq48h8077xc2wf0d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-0.8))))
+ (home-page "https://github.com/droundy/arrayref")
+ (synopsis
+ "Macros to take array references of slices")
+ (description
+ "Macros to take array references of slices.")
+ (license license:bsd-2)))
+
(define-public rust-arrayvec-0.4
(package
(name "rust-arrayvec")
--
2.25.0
[-- Attachment #65: 0064-gnu-Add-rust-thread-local-1.0.patch --]
[-- Type: text/x-patch, Size: 1197 bytes --]
From 9a803588df3f9437d6c057e53685e574209f22f0 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:59:26 -0800
Subject: [PATCH 64/69] gnu: Add rust-thread-local-1.0.
* gnu/packages/crates-io.scm (rust-thread-local-1.0): New variable.
---
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 28b395d91d..6ed1a1ab25 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11185,6 +11185,20 @@ different for every thread.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-thread-local-1.0
+ (package
+ (inherit rust-thread-local-0.3)
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "thread_local" version))
+ (file-name (string-append (package-name rust-thread-local-0.3)
+ "-" version ".crate"))
+ (sha256
+ (base32
+ "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l"))))))
+
(define-public rust-threadpool-1.7
(package
(name "rust-threadpool")
--
2.25.0
[-- Attachment #66: 0063-gnu-rust-thread-local-0.3-Don-t-hide-package.patch --]
[-- Type: text/x-patch, Size: 1147 bytes --]
From b8ca51de20fa87e6e046024c788a05ed3ad4ec29 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 19:57:17 -0800
Subject: [PATCH 63/69] gnu: rust-thread-local-0.3: Don't hide package.
* gnu/packages/crates-io.scm (rust-thread-local-0.3):[arguments] Skip build,
add dependency
---
gnu/packages/crates-io.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2f1605b4d9..28b395d91d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11176,10 +11176,12 @@ different for every thread.")
(base32
"06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1.4))))
(home-page "https://github.com/Amanieu/thread_local-rs")
(synopsis "Per-object thread-local storage")
(description "Per-object thread-local storage")
- (properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
--
2.25.0
[-- Attachment #67: 0066-gnu-Add-rust-arrayvec-0.5.patch --]
[-- Type: text/x-patch, Size: 1490 bytes --]
From ef652129315441df07d8ad117693743a9eacc766 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:40:00 -0800
Subject: [PATCH 66/69] gnu: Add rust-arrayvec-0.5.
* gnu/packages/crates-io.scm (rust-arrayvec-0.5): 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 d705f516fb..891b389d21 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -339,6 +339,29 @@ array (it can be stored on the stack too). Implements fixed capacity
ArrayVec and ArrayString.")
(license (list license:expat license:asl2.0))))
+(define-public rust-arrayvec-0.5
+ (package
+ (inherit rust-arrayvec-0.4)
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arrayvec" version))
+ (file-name
+ (string-append (package-name rust-arrayvec-0.4)
+ "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f5mca8kiiwhvhxd1mbnq68j6v6rk139sch567zwwzl6hs37vxyg"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher-0.1)
+ ("rust-matches" ,rust-matches-0.1)
+ ("rust-serde-test" ,rust-serde-test-1.0))))))
+
(define-public rust-ascii-0.9
(package
(name "rust-ascii")
--
2.25.0
[-- Attachment #68: 0067-gnu-Add-rust-blake2b-simd-0.5.patch --]
[-- Type: text/x-patch, Size: 1637 bytes --]
From dd620037ecde51039ac0a5cb4ecbcddc719743b1 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:41:54 -0800
Subject: [PATCH 67/69] gnu: Add rust-blake2b-simd-0.5.
* gnu/packages/crates-io.scm (rust-blake2b-simd-0.5): New variable.
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 891b389d21..50143bfc88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -784,6 +784,34 @@ behave like a set of bitflags.")
7693.")
(license `(,license:asl2.0 ,license:expat))))
+(define-public rust-blake2b-simd-0.5
+ (package
+ (name "rust-blake2b-simd")
+ (version "0.5.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "blake2b-simd" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-arrayref" ,rust-arrayref-0.3)
+ ("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1))))
+ (home-page
+ "https://github.com/oconnor663/blake2_simd")
+ (synopsis
+ "Pure Rust BLAKE2b implementation with dynamic SIMD")
+ (description
+ "A pure Rust BLAKE2b implementation with dynamic SIMD.")
+ (license license:expat)))
+
(define-public rust-blas-sys-0.7
(package
(name "rust-blas-sys")
--
2.25.0
[-- Attachment #69: 0068-gnu-Add-rust-rust-argon2-0.5.patch --]
[-- Type: text/x-patch, Size: 1815 bytes --]
From 53d7666f1060c082b8c5a41c99221b550408e276 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 16 Jan 2020 20:42:34 -0800
Subject: [PATCH 68/69] gnu: Add rust-rust-argon2-0.5.
* gnu/packages/crates-io.scm (rust-rust-argon2-0.5): New variable.
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 50143bfc88..f6ea6cd0b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9102,6 +9102,36 @@ uses finite automata and guarantees linear time matching on all inputs.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-rust-argon2-0.5
+ (package
+ (name "rust-rust-argon2")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1krjkmyfn37hy7sfs6lqia0fsvw130nn1z2850glsjcva7pym92c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.10)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.3))))
+ (home-page
+ "https://github.com/sru-systems/rust-argon2")
+ (synopsis
+ "Rust implementation of the Argon2 password hashing function")
+ (description
+ "Rust implementation of the Argon2 password hashing function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustc-demangle-0.1
(package
(name "rust-rustc-demangle")
--
2.25.0
[-- Attachment #70: 0069-gnu-Add-tokei.patch --]
[-- Type: text/x-patch, Size: 2668 bytes --]
From e261792e57e0ac8b9e875e195e58a0699ff5e723 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Wed, 15 Jan 2020 10:02:38 -0800
Subject: [PATCH 69/69] gnu: Add tokei.
* gnu/packages/crates-io.scm (tokei): New variable.
---
gnu/packages/rust-apps.scm | 52 ++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index fa1f56e96f..a959e46967 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -92,3 +92,55 @@ gitignore rules.")
(description
"This package provides a tool for generating C/C++ bindings to Rust code.")
(license license:mpl2.0)))
+
+(define-public tokei
+ (package
+ (name "tokei")
+ (version "10.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokei" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07f5laqw2k9l3k8wrg9h8p2m5d9hkfxngyacwrn3vs7mlnw8l81m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1.0)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
+ ("rust-dirs" ,rust-dirs-2.0)
+ ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-grep-searcher" ,rust-grep-searcher-0.1)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-ignore" ,rust-ignore-0.4)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-rayon" ,rust-rayon-1.3)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-cbor" ,rust-serde-cbor-0.10)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+ ("rust-term-size" ,rust-term-size-0.3)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))
+ #:cargo-development-inputs
+ (("rust-git2" ,rust-git2-0.11)
+ ("rust-handlebars" ,rust-handlebars-2.0)
+ ("rust-ignore" ,rust-ignore-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1.4)
+ ("rust-regex" ,rust-regex-1.3)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-tempfile" ,rust-tempfile-3.0))))
+ (home-page "https://tokei.rs")
+ (synopsis
+ "Count code, quickly")
+ (description
+ "This package provides a utility that allows you to count code,
+quickly.")
+ (license (list license:expat license:asl2.0))))
--
2.25.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [bug#39159] [PATCH] Add Tokei
2020-01-17 15:50 ` John Soo
@ 2020-01-17 15:52 ` John Soo
2020-01-20 7:25 ` Efraim Flashner
1 sibling, 0 replies; 7+ messages in thread
From: John Soo @ 2020-01-17 15:52 UTC (permalink / raw)
To: 39159, Efraim Flashner
CC Efraim. Thank you very much for your work on the rust ecosystem.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#39159] [PATCH] Add Tokei
2020-01-17 15:50 ` John Soo
2020-01-17 15:52 ` John Soo
@ 2020-01-20 7:25 ` Efraim Flashner
2020-01-20 8:49 ` John Soo
1 sibling, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2020-01-20 7:25 UTC (permalink / raw)
To: John Soo; +Cc: 39159
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
I wanted to follow-up quickly with my progress. I've been applying the
packages locally and making small changes where necessary. I'll
probably upstream them in batches. In particular I recall wanting to
package the rest of the dev-dependencies for the new serde-json.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#39159] [PATCH] Add Tokei
2020-01-20 7:25 ` Efraim Flashner
@ 2020-01-20 8:49 ` John Soo
2020-01-21 8:49 ` John Soo
0 siblings, 1 reply; 7+ messages in thread
From: John Soo @ 2020-01-20 8:49 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 39159
Thanks Efraim,
> On Jan 19, 2020, at 11:26 PM, Efraim Flashner <efraim@flashner.co.il> wrote:
>
> I've been applying the
> packages locally and making small changes where necessary.
I should have said I could make the changes discussed on the coordination thread. Thanks for putting in tv e extra work.
John
^ permalink raw reply [flat|nested] 7+ messages in thread
* [bug#39159] [PATCH] Add Tokei
2020-01-20 8:49 ` John Soo
@ 2020-01-21 8:49 ` John Soo
2020-01-21 14:50 ` bug#39159: " Efraim Flashner
0 siblings, 1 reply; 7+ messages in thread
From: John Soo @ 2020-01-21 8:49 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 39159
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
Hi Efraim,
I updated the vendored package replacement in librsvg after these patches.
This should fix librsvg-next building after tokei is in. I'd like to
fix what I can from the coordination thread without conflicting too
much with what you've done already.
Ripgrep and cbindgen both build correctly after the package updates.
Thanks again,
John
[-- Attachment #2: 0001-gnu-librsvg-next-source-Replace-and-update-some-depe.patch --]
[-- Type: text/x-patch, Size: 5770 bytes --]
From 13183521b5939b1cced40540f0a29133df499263 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Tue, 21 Jan 2020 00:42:32 -0800
Subject: [PATCH] gnu: librsvg-next-source: Replace and update some
dependencies.
* gnu/packages/gnome.scm (librsvg-next-source): Update vendored replacements.
---
gnu/packages/gnome.scm | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 064ce86956..d2dc392969 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -46,6 +46,7 @@
;;; Copyright © 2019 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2184,7 +2185,7 @@ from forcing GEXP-PROMISE."
(lambda (crate)
(delete-file-recursively (string-append "vendor/" (car crate)))
(invoke "tar" "xvf" (cdr crate) "-C" "vendor"))
- '(;("aho-corasick" . #+(package-source rust-aho-corasick-0.7))
+ '(("aho-corasick" . #+(package-source rust-aho-corasick-0.7))
;; alga 0.9
("approx" . #+(package-source rust-approx-0.3))
("arrayvec" . #+(package-source rust-arrayvec-0.4))
@@ -2203,9 +2204,9 @@ from forcing GEXP-PROMISE."
("criterion" . #+(package-source rust-criterion-0.2))
("criterion-plot" . #+(package-source rust-criterion-plot-0.3))
("crossbeam-deque" . #+(package-source rust-crossbeam-deque-0.7))
- ;("crossbeam-epoch" . #+(package-source rust-crossbeam-epoch-0.7))
- ("crossbeam-queue" . #+(package-source rust-crossbeam-queue-0.1))
- ("crossbeam-utils" . #+(package-source rust-crossbeam-utils-0.6))
+ ("crossbeam-epoch" . #+(package-source rust-crossbeam-epoch-0.8))
+ ("crossbeam-queue" . #+(package-source rust-crossbeam-queue-0.2))
+ ("crossbeam-utils" . #+(package-source rust-crossbeam-utils-0.7))
;; cssparser 0.25
;; cssparser-macros 0.3
("csv" . #+(package-source rust-csv-1.1))
@@ -2234,7 +2235,7 @@ from forcing GEXP-PROMISE."
;; glib 0.8
;; glib-sys 0.9
;; gobject-sys 0.9
-;; idna 0.2
+ ("idna" . #+(package-source rust-idna-0.2))
("itertools" . #+(package-source rust-itertools-0.8))
("itoa" . #+(package-source rust-itoa-0.4))
("language-tags" . #+(package-source rust-language-tags-0.2))
@@ -2248,8 +2249,8 @@ from forcing GEXP-PROMISE."
;; markup5ever 0.9
("matches" . #+(package-source rust-matches-0.1))
;; matrixmultiply 0.2
- ;("memchr" . #+(package-source rust-memchr-2.2))
-;; memoffset 0.5
+ ("memchr" . #+(package-source rust-memchr-2.2))
+ ("memoffset" . #+(package-source rust-memoffset-0.5))
;; nalgebra 0.18
("new_debug_unreachable" . #+(package-source rust-new-debug-unreachable-1.0))
("nodrop" . #+(package-source rust-nodrop-0.1))
@@ -2285,15 +2286,15 @@ from forcing GEXP-PROMISE."
("rand_os" . #+(package-source rust-rand-os-0.1))
("rand_pcg" . #+(package-source rust-rand-pcg-0.1))
("rand_xorshift" . #+(package-source rust-rand-xorshift-0.1))
-;; rand_xoshiro 0.1
+ ("rand_xoshiro" . #+(package-source rust-rand-xoshiro-0.1))
;; rawpointer 0.2
-;; rayon 1.2
-;; rayon-core 1.6
+ ("rayon" . #+(package-source rust-rayon-1.3))
+ ("rayon-core" . #+(package-source rust-rayon-core-1.7))
;; rctree 0.3
("rdrand" . #+(package-source rust-rdrand-0.4))
-;; regex 1.3
+ ("regex" . #+(package-source rust-regex-1.3))
("regex-automata" . #+(package-source rust-regex-automata-0.1))
- ;("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
+ ("regex-syntax" . #+(package-source rust-regex-syntax-0.6))
("rustc_version" . #+(package-source rust-rustc-version-0.2))
("ryu" . #+(package-source rust-ryu-1.0))
("same-file" . #+(package-source rust-same-file-1.0))
@@ -2311,14 +2312,14 @@ from forcing GEXP-PROMISE."
("syn" . #+(package-source rust-syn-1.0))
("tendril" . #+(package-source rust-tendril-0.4))
("textwrap" . #+(package-source rust-textwrap-0.11))
- ("thread_local" . #+(package-source rust-thread-local-0.3))
+ ("thread_local" . #+(package-source rust-thread-local-1.0))
("tinytemplate" . #+(package-source rust-tinytemplate-1.0))
("typenum" . #+(package-source rust-typenum-1.10))
("unicode-bidi" . #+(package-source rust-unicode-bidi-0.3))
("unicode-normalization" . #+(package-source rust-unicode-normalization-0.1))
("unicode-width" . #+(package-source rust-unicode-width-0.1))
("unicode-xid" . #+(package-source rust-unicode-xid-0.2))
-;; url 2.1
+ ("url" . #+(package-source rust-url-2.1))
("utf-8" . #+(package-source rust-utf-8-0.7))
("walkdir" . #+(package-source rust-walkdir-2.2))
("winapi" . #+(package-source rust-winapi-0.3))
--
2.25.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#39159: [PATCH] Add Tokei
2020-01-21 8:49 ` John Soo
@ 2020-01-21 14:50 ` Efraim Flashner
0 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2020-01-21 14:50 UTC (permalink / raw)
To: John Soo; +Cc: 39159-done
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
I added a couple more packages during the process and in the end I was
able to de-vendor some of the bundled libraries from some *-sys
packages.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-01-21 14:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-17 5:30 [bug#39159] [PATCH] Add Tokei John Soo
2020-01-17 15:50 ` John Soo
2020-01-17 15:52 ` John Soo
2020-01-20 7:25 ` Efraim Flashner
2020-01-20 8:49 ` John Soo
2020-01-21 8:49 ` John Soo
2020-01-21 14:50 ` bug#39159: " 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.