From 0bce3ebdd3f79c4bdc5e1a00d08b132a9f92d2cf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 19:30:43 +0200 Subject: gnu: Add rust-rand-xoshiro-0.1. * gnu/packages/crates-io.scm (rust-rand-xoshiro-0.1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 201f500666..2e3e8a9132 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7857,6 +7857,29 @@ useful types and distributions, and some randomness-related algorithms.") "Xoshiro, xoroshiro and splitmix64 random number generators.") (license (list license:expat license:asl2.0)))) +(define-public rust-rand-xoshiro-0.1 + (package + (inherit rust-rand-xoshiro-0.3) + (name "rust-rand-xoshiro") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_xoshiro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ac9ha6ll8b6l1930bd99k29jrjpsbpddvr6ycrnbi5rkwb1id03")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-rand-core" ,rust-rand-core-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.6)))))) + (define-public rust-rawpointer-0.1 (package (name "rust-rawpointer") -- cgit 1.4.1 From 35c08c2b52f4499552681f63a082d76b874f85a6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 19:32:14 +0200 Subject: gnu: rust-rand-0.6: Update inputs. * gnu/packages/crates-io.scm (rust-rand-0.6)[arguments]: Move rust-autocfg-0.1 to cargo-inputs. Replace rust-rand-xoshiro-0.3 with rust-rand-xoshiro-0.1. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2e3e8a9132..dd720b0bd2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7482,10 +7482,10 @@ to write.") ("rust-rand-os" ,rust-rand-os-0.1) ("rust-rand-pcg" ,rust-rand-pcg-0.1) ("rust-rand-xorshift" ,rust-rand-xorshift-0.1) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-autocfg" ,rust-autocfg-0.1)) ; build-dependency #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg-0.1) - ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.3)))) + (("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1)))) (home-page "https://crates.io/crates/rand") (synopsis "Random number generators and other randomness functionality") (description -- cgit 1.4.1 From 408156a98cc240aa110a72993700ee1fd8ffb3d5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 20:47:12 +0200 Subject: gnu: rust-rawpointer-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-rawpointer-0.1)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dd720b0bd2..ce82f8c208 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7893,12 +7893,12 @@ useful types and distributions, and some randomness-related algorithms.") (base32 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/bluss/rawpointer/") (synopsis "Extra methods for raw pointers") (description "Extra methods for raw pointers. For example @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr}) and @code{ptrdistance}.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 0169e087dd403011522c7816c89b893e685f9440 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 20:51:07 +0200 Subject: gnu; rust-rdrand-0.4: Don't hide package. * gnu/packages/crates-io.scm (rust-rdrand-0.4)[arguments]: Skip build. Add rust-rand-core-0.3 to cargo-inputs. [properties]: Remove field. [description]: Fix typo. --- gnu/packages/crates-io.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ce82f8c208..93a868286a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8009,12 +8009,15 @@ accessors.") (base32 "1cjq0kwx1bk7jx3kzyciiish5gqsj7620dm43dc52sr8fzmm9037")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3)))) (home-page "https://github.com/nagisa/rust_rdrand/") (synopsis "Random number generator") (description "This package is an implementation of random number generator based on -@code{rdrand} and @cpde{rdseed} instructions") - (properties '((hidden? . #t))) +@code{rdrand} and @code{rdseed} instructions") (license license:isc))) ;; This package requires features which are unavailable -- cgit 1.4.1 From 99b006627e4c47bb0d8e2d28b1c1a2fe9e0fa4c0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 20:54:06 +0200 Subject: gnu: rust-redox-syscall-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-redox-syscall-0.1)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 93a868286a..6db6516e74 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8035,11 +8035,11 @@ accessors.") (base32 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://gitlab.redox-os.org/redox-os/syscall") (synopsis "Rust library to access raw Redox system calls") (description "This package provides a Rust library to access raw Redox system calls.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-redox-termios-0.1 -- cgit 1.4.1 From 57c2ef35f77bab3b36f1fbc73524e6dc7eb2e72c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 20:55:57 +0200 Subject: gnu: rust-redox-termios-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-redox-termios-0.1)[arguments]: Skip build. Add rust-redox-syscall-0.1 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6db6516e74..343bd8fd97 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8055,11 +8055,14 @@ system calls.") (base32 "0xhgvdh62mymgdl3jqrngl8hr4i8xwpnbsxnldq0l47993z1r2by")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-redox-syscall" ,rust-redox-syscall-0.1)))) (home-page "https://github.com/redox-os/termios") (synopsis "Rust library to access Redox termios functions") (description "This package provides a Rust library to access Redox termios functions.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-ref-cast-0.2 -- cgit 1.4.1 From a198ee940f5b9c0b0cc19ccb75934c9183ea31d3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 20:58:21 +0200 Subject: gnu: rust-remove-dir-all-0.5: Don't hide package. * gnu/packages/crates-io.scm (rust-remove-dir-all-0.5)[arguments]: Skip build. Add rust-winapi-0.3 to cargo-inputs. Add rust-doc-comment-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 343bd8fd97..cb4e919f00 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8220,12 +8220,17 @@ uses finite automata and guarantees linear time matching on all inputs.") (base32 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) (home-page "https://github.com/XAMPPRocky/remove_dir_all") (synopsis "Implementation of remove_dir_all for Windows") (description "This package provides a safe, reliable implementation of @code{remove_dir_all} for Windows") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 77006df588e8cc158b3a1fc1273e6d1e3313d50d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:00:22 +0200 Subject: gnu: rust-resolv-conf-0.6: Don't hide package. * gnu/packages/crates-io.scm (rust-resolv-conf-0.6)[arguments]: Skip build. Add rust-quick-error-1.2, rust-hostname-0.1 to cargo-inputs. [synopsis]: Appease 'guix lint'. [properties]: Remove field. --- gnu/packages/crates-io.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cb4e919f00..139f27622b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8247,11 +8247,15 @@ uses finite automata and guarantees linear time matching on all inputs.") (base32 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-quick-error" ,rust-quick-error-1.2) + ("rust-hostname", rust-hostname-0.1)))) (home-page "https://github.com/tailhook/resolv-conf") - (synopsis "/etc/resolv.conf parser") + (synopsis "Parser for /etc/resolv.conf") (description "An /etc/resolv.conf parser crate for Rust.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 39d6888f1accd47ac1ead46dcf05b7193f77cc27 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:03:18 +0200 Subject: gnu: rust-rustc-demangle-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-rustc-demangle-0.1)[arguments]: Skip build. Add rust-compiler-builtins-0.1, rust-rustc-std-workspace-core-1.0 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 139f27622b..cd22af13fa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8301,11 +8301,15 @@ uses finite automata and guarantees linear time matching on all inputs.") (base32 "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)))) (home-page "https://github.com/alexcrichton/rustc-demangle") (synopsis "Rust compiler symbol demangling") (description "This package demanges the symbols from the Rust compiler.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 74146f9c72f40241b544e4df532875212a63e3d6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:05:58 +0200 Subject: gnu: rust-rustc-hash-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-rustc-hash-1.0)[arguments]: Skip build. [home-page]: Update to new home-page. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cd22af13fa..f39de6c406 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8326,11 +8326,11 @@ uses finite automata and guarantees linear time matching on all inputs.") (base32 "114bf72466bl63i5hh8fgqfnhihs0w1m9c9jz505095agfixnvg0")))) (build-system cargo-build-system) - (home-page "https://github.com/rust-lang-nursery/rustc-hash") + (arguments '(#:skip-build? #t)) + (home-page "https://github.com/rust-lang/rustc-hash") (synopsis "Speedy, non-cryptographic hash used in rustc") (description "This package provides a speedy, non-cryptographic hash used in rustc.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From a23dbdab6dbac44f91ef2835a63643ffec2171d0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:08:44 +0200 Subject: gnu: rust-rustc-hash-1.0: Update to 1.0.1. * gnu/packages/crates-io.scm (rust-rustc-hash-1.0): Update to 1.0.1. [arguments]: Add rust-byteorder-1.3 to cargo-inputs. --- gnu/packages/crates-io.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f39de6c406..909941c4e2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8316,7 +8316,7 @@ uses finite automata and guarantees linear time matching on all inputs.") (define-public rust-rustc-hash-1.0 (package (name "rust-rustc-hash") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) @@ -8324,9 +8324,12 @@ uses finite automata and guarantees linear time matching on all inputs.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "114bf72466bl63i5hh8fgqfnhihs0w1m9c9jz505095agfixnvg0")))) + "1f4cnbcmz2c3zjidqszc9c4fip37ch4xl74nkkp9dw291j5zqh3m")))) (build-system cargo-build-system) - (arguments '(#:skip-build? #t)) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3)))) (home-page "https://github.com/rust-lang/rustc-hash") (synopsis "Speedy, non-cryptographic hash used in rustc") (description -- cgit 1.4.1 From 4de42e8eaff4a1a2793ae697067190ddab6fddeb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:10:34 +0200 Subject: gnu: rust-rustc-serialize-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-rustc-serialize-0.3)[arguments]: Skip build. Add rust-rand-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 909941c4e2..e3d0a74010 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8350,6 +8350,10 @@ uses finite automata and guarantees linear time matching on all inputs.") (base32 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand" ,rust-rand-0.3)))) (home-page "https://github.com/rust-lang-deprecated/rustc-serialize") (synopsis "Generic serialization/deserialization support") (description @@ -8357,7 +8361,6 @@ uses finite automata and guarantees linear time matching on all inputs.") corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the compiler. Also includes support for hex, base64, and json encoding and decoding.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From e098c3aa847e1a62b6cdb1e228c01568a3028489 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:12:17 +0200 Subject: gnu: rust-rustc-std-workspace-core-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-rustc-std-workspace-core-1.0) [arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e3d0a74010..216c4b019e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8377,11 +8377,11 @@ decoding.") (base32 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://crates.io/crates/rustc-std-workspace-core") (synopsis "Explicitly empty crate for rust-lang/rust integration") (description "This crate provides an explicitly empty crate for rust-lang/rust integration.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From a66dbe098953b71a7a62ec631c7622aa7663e4fa Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:15:27 +0200 Subject: gnu: rust-safemem-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-safemem-0.3)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 216c4b019e..0a2c06b89b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8537,11 +8537,11 @@ using a fork-like interface.") (base32 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/abonander/safemem") (synopsis "Safe wrappers for memory-accessing functions") (description "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 251c3fa2ae2e30c509fde0c6de57ececbe39f5c6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:16:28 +0200 Subject: gnu: rust-safemem-0.3: Update to 0.3.3. * gnu/packages/crates-io.scm (rust-safemem-0.3): Update to 0.3.3. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0a2c06b89b..869504134b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8527,7 +8527,7 @@ using a fork-like interface.") (define-public rust-safemem-0.3 (package (name "rust-safemem") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) @@ -8535,7 +8535,7 @@ using a fork-like interface.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j")))) + "0wp0d2b2284lw11xhybhaszsczpbq1jbdklkxgifldcknmy3nw7g")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/abonander/safemem") -- cgit 1.4.1 From 0a293597cba4b1371d15deceeee6da846091c283 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:19:47 +0200 Subject: gnu: rust-same-file-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-same-file-1.0)[arguments]: Skip build. Add rust-winapi-util-0.1 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 869504134b..0fde0f8f8c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8558,12 +8558,15 @@ using a fork-like interface.") (base32 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi-util" ,rust-winapi-util-0.1)))) (home-page "https://github.com/BurntSushi/same-file") (synopsis "Determine whether two file paths point to the same file") (description "This package provides a simple crate for determining whether two file paths point to the same file.") - (properties '((hidden? . #t))) (license (list license:unlicense license:expat)))) -- cgit 1.4.1 From a618b6b7cafbb18b653871b901e7f2487fb227ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:21:36 +0200 Subject: gnu: rust-same-file-1.0: Upgrade to 1.0.6. * gnu/packages/crates-io.scm (rust-same-file-1.0): Update to 1.0.6. [arguments]: Add rust-doc-comment-0.3 to cargo-development-inputs. --- gnu/packages/crates-io.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0fde0f8f8c..63ffddb7e2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8548,7 +8548,7 @@ using a fork-like interface.") (define-public rust-same-file-1.0 (package (name "rust-same-file") - (version "1.0.5") + (version "1.0.6") (source (origin (method url-fetch) @@ -8556,12 +8556,14 @@ using a fork-like interface.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq")))) + "00h5j1w87dmhnvbv9l8bic3y7xxsnjmssvifw2ayvgx9mb1ivz4k")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-winapi-util" ,rust-winapi-util-0.1)))) + (("rust-winapi-util" ,rust-winapi-util-0.1)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) (home-page "https://github.com/BurntSushi/same-file") (synopsis "Determine whether two file paths point to the same file") (description -- cgit 1.4.1 From 000f42f4f606f4fdf2e3adb3d9129d693aee0ab5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:23:36 +0200 Subject: gnu: rust-schannel-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-schannel-0.1)[arguments]: Skip build. Add rust-lazy-static-1.3, rust-winapi-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 63ffddb7e2..d8ad71db88 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8585,12 +8585,16 @@ paths point to the same file.") (base32 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/steffengy/schannel-rs") (synopsis "Rust bindings to the Windows SChannel APIs") (description "Rust bindings to the Windows SChannel APIs providing TLS client and server functionality.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-scoped-threadpool-0.1 -- cgit 1.4.1 From 98e5e7305ad46ccc9187c621b39c8d3b6039cca9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:25:35 +0200 Subject: gnu: rust-schannel-0.1: Update to 0.1.16. * gnu/packages/crates-io.scm (rust-channel-0.1): Update to 0.1.16. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d8ad71db88..38a513098c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8575,7 +8575,7 @@ paths point to the same file.") (define-public rust-schannel-0.1 (package (name "rust-schannel") - (version "0.1.15") + (version "0.1.16") (source (origin (method url-fetch) @@ -8583,7 +8583,7 @@ paths point to the same file.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj")))) + "08d0p5iy574vdrax4l3laazic0crj7rp7vp3if5rrfkcdfq51xc7")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From ff7173ebaeb64b078938da0d2583758bcb6db755 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Jan 2020 21:27:48 +0200 Subject: gnu: rust-scoped-threadpool-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-scoped-threadpool-0.1)[arguments]: Skip build. Add rust-lazy-static-1.3 to cargo-development-inputs. [synopsis]: Appease 'guix lint'. [description]: Appease 'guix lint'. [properties]: Remove field. --- gnu/packages/crates-io.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 38a513098c..93199f4e3d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8610,16 +8610,19 @@ server functionality.") (base32 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3)))) (home-page "https://github.com/Kimundi/scoped-threadpool-rs") - (synopsis "library for scoped and cached threadpools") + (synopsis "Library for scoped and cached threadpools") (description "This crate provides a stable, safe and scoped threadpool. It can be used to execute a number of short-lived jobs in parallel without the need to respawn the underlying threads. Jobs are runnable by borrowing the pool for a given -scope, during which an arbitrary number of them can be executed. These jobs can +scope, during which an arbitrary number of them can be executed. These jobs can access data of any lifetime outside of the pools scope, which allows working on non-'static references in parallel.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 3bcbc367e68191253d23936778e047aee617ed36 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:26:13 +0200 Subject: gnu: rust-aho-corasick-0.7: Update to 0.7.6. * gnu/packages/crates-io.scm (rust-aho-corasick-0.7): Update to 0.7.6. [arguments]: Add rust-doc-comment-0.3 to cargo-development-inputs. --- gnu/packages/crates-io.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 93199f4e3d..8c11d44086 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -129,7 +129,7 @@ Rust, using gimli.") (define-public rust-aho-corasick-0.7 (package (name "rust-aho-corasick") - (version "0.7.3") + (version "0.7.6") (source (origin (method url-fetch) @@ -138,11 +138,13 @@ Rust, using gimli.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0k1nqabiz37mnfnlrn084qi9yf8pj6a38qgbb3lc5zlr1jp89x76")))) + "0b8dh20fhdc59dhhnfi89n2bi80a8zbagzd5c122hf1vv2amxysq")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-memchr" ,rust-memchr-2.2)))) + #:cargo-inputs (("rust-memchr" ,rust-memchr-2.2)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) (home-page "https://github.com/BurntSushi/aho-corasick") (synopsis "Fast multiple substring searching") (description -- cgit 1.4.1 From 7d5c2e27da6bea19e76a5729c313a03663275fdf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:41:50 +0200 Subject: gnu: rust-foreign-types-macros-0.1: Appease guix lint. * gnu/packages/crates-io.scm (rust-foreign-types-macros-0.1)[synopsis]: Appease 'guix lint'. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c11d44086..e190b32ecc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3151,7 +3151,7 @@ APIs.") ("rust-quote" ,rust-quote-1.0) ("rust-syn" ,rust-syn-0.15)))) (home-page "https://github.com/sfackler/foreign-types") - (synopsis "An internal crate used by foreign-types") + (synopsis "Internal crate used by foreign-types") (description "An internal crate used by foreign-types.") (license (list license:expat license:asl2.0)))) -- cgit 1.4.1 From dc576232f0cfedd6cd15aa720e40c60692ed87e2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:42:44 +0200 Subject: gnu: rust-foreign-types-shared-0.2: Appease guix lint. * gnu/packages/crates-io.scm (rust-foreign-types-shared-0.2)[synopsis]: Appease 'guix lint'. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e190b32ecc..789318664a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3171,7 +3171,7 @@ APIs.") (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/sfackler/foreign-types") - (synopsis "An internal crate used by foreign-types") + (synopsis "Internal crate used by foreign-types") (description "An internal crate used by foreign-types.") (license (list license:asl2.0 -- cgit 1.4.1 From 61c998b394b4e2a02303f7d2e77d7f86e018e656 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:44:13 +0200 Subject: gnu: rust-serde-json-1.0: Appease guix lint. * gnu/packages/crates-io.scm (rust-serde-json-1.0)[synopsis]: Appease 'guix lint'. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 789318664a..d9713f3775 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9007,7 +9007,7 @@ proven statistical guarantees.") ("rust-serde-derive" ,rust-serde-derive-1.0) ("rust-trybuild" ,rust-trybuild-1.0)))) (home-page "https://github.com/serde-rs/json") - (synopsis "A JSON serialization file format") + (synopsis "JSON serialization file format") (description "This package provides a JSON serialization file format.") (license (list license:expat license:asl2.0)))) -- cgit 1.4.1 From 5b1b86514f641c03da2845355fa82b5906783d64 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:45:32 +0200 Subject: gnu: rust-winapi-0.3: Appease guix lint. * gnu/packages/crates-io.scm (rust-winapi-0.3)[synopsis]: Appease 'guix lint'. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d9713f3775..65a887f272 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12068,7 +12068,7 @@ UTF-32 types are provided, including support for malformed encoding.") (("winapi-i686-pc-windows-gnu" ,rust-winapi-i686-pc-windows-gnu-0.4) ("winapi-x86-64-pc-windows-gnu" ,rust-winapi-x86-64-pc-windows-gnu-0.4)))) (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Raw FFI bindings for all of Windows API.") + (synopsis "Raw FFI bindings for all of Windows API") (description "Raw FFI bindings for all of Windows API.") (license (list license:asl2.0 -- cgit 1.4.1 From cd2c47135285f016a5826f79cfe1ed98968c6448 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:49:56 +0200 Subject: gnu: rust-xattr-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-xattr-0.2)[arguments]: Skip build. Add rust-libc-0.2 to cargo-inputs. Add rust-tempfile-3.0 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 65a887f272..fea5998af1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12264,12 +12264,17 @@ color in a Windows console.") (base32 "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3.0)))) (home-page "https://github.com/Stebalien/xattr") (synopsis "Unix extended filesystem attributes") (description "This package provide a small library for setting, getting, and listing extended attributes.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From d998f94b1a5d9491c6b33492ad34c105b94d9121 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:51:09 +0200 Subject: gnu: rust-xdg-2.2: Don't hide package. * gnu/packages/crates-io.scm (rust-xdg-2.2)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fea5998af1..d940a58aa9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12291,12 +12291,12 @@ extended attributes.") (base32 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/whitequark/rust-xdg") (synopsis "Store and retrieve files according to XDG specification") (description "This package provides a library for storing and retrieving files according to XDG Base Directory specification") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 9778eb952122a7803c24b41fff2bd0b1534922b2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:52:41 +0200 Subject: gnu: rust-blas-sys-0.7: Don't hide package. * gnu/packages/crates-io.scm (rust-blas-sys-0.7)[arguments]: Skip build. Add rust-libc-0.2 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d940a58aa9..b529f50d3e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -690,11 +690,13 @@ behave like a set of bitflags.") (base32 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/blas-lapack-rs/blas-sys") (synopsis "Bindings to BLAS (Fortran)") (description "Ths package provides bindings to BLAS (Fortran).") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From b443e045285d755b383a755512de39e9d12a5d50 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:54:33 +0200 Subject: gnu: rust-cargon-0.0: Don't hide package. * gnu/packages/crates-io.scm (rust-cargon-0.0)[arguments]: Skip build. Add rust-gcc-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b529f50d3e..39a0e9a80c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1028,12 +1028,15 @@ capabilities") (base32 "1cszlab7jk736p0lb50ag4l9nv72m7j41bwrmygl0lr4iz0350w2")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-gcc" ,rust-gcc-0.3)))) (home-page "https://github.com/bryant/argon2rs") (synopsis "Thin wrapper around the Argon2 C library") (description "This package provides a thin wrapper around the Argon2 C library. It is used in argon2rs' bench suite.") - (properties '((hidden? . #t))) (license license:wtfpl2))) (define-public rust-cast-0.2 -- cgit 1.4.1 From ffbefd8f91ef8a8627a7d68eab1227719fdd785c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:56:07 +0200 Subject: gnu: rust-cblas-sys-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-cblas-sys-0.1)[arguments]: Skip build. Add rust-libc-0.2 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39a0e9a80c..0746ae91cd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1077,11 +1077,13 @@ used in argon2rs' bench suite.") (base32 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/blas-lapack-rs/cblas-sys") (synopsis "Bindings to CBLAS (C)") (description "The package provides bindings to CBLAS (C).") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 5d87eb8cf64c606fe7c6744f910645b9350307e4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 09:58:25 +0200 Subject: gnu: rust-cc-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-cc-1.0)[arguments]: Skip build. Add rust-rayon-1.1 to cargo-inputs. Add rust-tempdir-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0746ae91cd..7b47c309b2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1100,13 +1100,18 @@ used in argon2rs' bench suite.") (base32 "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rayon" ,rust-rayon-1.1)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) (home-page "https://github.com/alexcrichton/cc-rs") (synopsis "Invoke the native C compiler") (description "This package provides a build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rustcode.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 971fb85cef7578d6cd8da1ad5eccbb31ddf220b4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:04:52 +0200 Subject: gnu: rust-json-0.11: Don't hide package. * gnu/packages/crates-io.scm (rust-json-0.11)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b47c309b2..4b68b1a162 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4758,11 +4758,11 @@ wasm-bindgen crate.") (base32 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/maciejhirsz/json-rust") (synopsis "JSON implementation in Rust") (description "This crate provides a JSON implementation in Rust, reducing friction with idiomatic Rust structs to ease interopability.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From bf33e72d317e90489a408085c9cad3d3020d8541 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:06:00 +0200 Subject: gnu: rust-json-0.11: Update to 0.11.15. * gnu/packages/crates-io.scm (rust-json-0.11): Update to 0.11.15. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4b68b1a162..a4ce24c857 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4748,7 +4748,7 @@ wasm-bindgen crate.") (define-public rust-json-0.11 (package (name "rust-json") - (version "0.11.14") + (version "0.11.15") (source (origin (method url-fetch) @@ -4756,7 +4756,7 @@ wasm-bindgen crate.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1")))) + "1rg9jxf6bpbwis3ixd5ak8rp37him7n4z8awz4ssrxl6hyplbhlj")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/maciejhirsz/json-rust") -- cgit 1.4.1 From ebe8fe562403f73c5d434d5a53a37c9ec4c26500 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:08:08 +0200 Subject: gnu: rust-kernel32-sys-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-kernel32-sys-0.2)[arguments]: Skip build. Add rust-winapi-0.2 to cargo-inputs. Add rust-winapi-build-0.1 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a4ce24c857..23e7a357e3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4779,11 +4779,15 @@ friction with idiomatic Rust structs to ease interopability.") (base32 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm")))) (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)))) (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 kernel32.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-language-tags-0.2 -- cgit 1.4.1 From 5d9e02a467ddbf774a03e186fa9d9f16b38a178e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:11:01 +0200 Subject: gnu: rust-language-tags-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-language-tags-0.2)[arguments]: Skip build. Add rust-heapsize-0.3, rust-heapsize-plugin-0.1 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 23e7a357e3..e699a18099 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4803,6 +4803,11 @@ kernel32.") (base32 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-heapsize" ,rust-heapsize-0.3) + ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1)))) (home-page "https://github.com/pyfisch/rust-language-tags") (synopsis "Language tags for Rust") (description @@ -4811,7 +4816,6 @@ script, countries and other regions. They are commonly used in HTML and HTTP @code{Content-Language} and @code{Accept-Language} header fields. This package currently supports parsing (fully conformant parser), formatting and comparing language tags.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-lazy-static-1.3 -- cgit 1.4.1 From ff5639f5ad1d0fb2905bb4ecaff1decda45bfa56 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:13:14 +0200 Subject: gnu: rust-heapsize-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-heapsize-0.3)[arguments]: Skip build. Add rust-kernel32-sys-0.2 to cargo-inputs. [properties]: Don't inherit. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e699a18099..a1a461d5d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4133,7 +4133,11 @@ heap.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))))) + "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)))) + (properties '()))) ;; This package makes use of removed features (define-public rust-heapsize-plugin-0.1 -- cgit 1.4.1 From 3e68f4004450b0ef3646d9512c23c3842884feca Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:14:37 +0200 Subject: gnu: rust-heapsize-0.4: Don't hide package. * gnu/packages/crates-io.scm (rust-heapsize-0.4)[arguments]: Skip build. Add rust-winapi-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a1a461d5d2..b5a91caf80 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4112,12 +4112,14 @@ IEEE 754-2008 binary16 type.") (base32 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/servo/heapsize") (synopsis "Measure the total runtime size of an object on the heap") (description "Infrastructure for measuring the total runtime size of an object on the heap.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -4136,8 +4138,7 @@ heap.") "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m")))) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)))) - (properties '()))) + #:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)))))) ;; This package makes use of removed features (define-public rust-heapsize-plugin-0.1 -- cgit 1.4.1 From 09b79f3bd5ad562feb00cb06bd1028711d01a879 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:16:18 +0200 Subject: gnu: rust-heapsize-plugin-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-heapsize-plugin-0.1)[arguments]: Skip build. Add rust-heapsize-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b5a91caf80..777ed35bad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4154,12 +4154,14 @@ heap.") (base32 "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-heapsize" ,rust-heapsize-0.3)))) (home-page "https://github.com/servo/heapsize") (synopsis "Measure runtime size of an object on the heap") (description "This package automatically generates infrastructure for measuring the total runtime size of an object on the heap") - (properties `((hidden? . #t))) (license license:mpl2.0))) (define-public rust-hex-0.3 -- cgit 1.4.1 From fb01b0ce8999d48343cde3b72c8be3968402edbb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2020 10:17:43 +0200 Subject: gnu: rust-hex-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-hex-0.3)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 777ed35bad..782b5959ba 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4177,11 +4177,11 @@ total runtime size of an object on the heap") (base32 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/KokaKiwi/rust-hex") (synopsis "Encode and decode data to/from hexadecimals") (description "This crate allows for encoding and decoding data into/from hexadecimal representation.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 82c2f8840d3f0597e83a6d3cb3eb4a944ff9fb60 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:07:19 +0200 Subject: gnu: rust-clicolors-control-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-clicolors-control-1.0)[arguments]: Skip build. Add rust-atty-0.2, rust-lazy-static-1.3, rust-libc-0.2, rust-winapi-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 782b5959ba..e08ec90b56 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1321,12 +1321,18 @@ Command Line Argument Parser.") (base32 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/mitsuhiko/clicolors-control") (synopsis "Common utility library to control CLI colorization") (description "This package provides a common utility library to control CLI colorization.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-clippy-0.0 -- cgit 1.4.1 From dca4e6324caec44a0060a9e053c9ed268d3ed23d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:09:46 +0200 Subject: gnu: rust-clicolors-control-1.0: Update to 1.0.1. * gnu/packages/crates-io.scm (rust-clicolors-control-1.0): Update to 1.0.1. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e08ec90b56..fcdc104099 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1311,7 +1311,7 @@ Command Line Argument Parser.") (define-public rust-clicolors-control-1.0 (package (name "rust-clicolors-control") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) @@ -1319,7 +1319,7 @@ Command Line Argument Parser.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk")))) + "07klix8nbpwk0cg1k4h0kkiijm1jxvrzndqdkr7dqr6xvkjjw24h")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From a9b5fe4d86d8ab1c1086e9949b42ccd23fc63afc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:11:26 +0200 Subject: gnu: rust-cmake-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-cmake-0.1)[arguments]: Skip build. Add rust-cc-1.0 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fcdc104099..a53b801650 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1397,13 +1397,15 @@ pitfalls in Rust.") (base32 "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cc" ,rust-cc-1.0)))) (home-page "https://github.com/alexcrichton/cmake-rs") (synopsis "Rust build dependency for running cmake") (description "This package provides a build dependency for running @code{cmake} to build a native library. The CMake executable is assumed to be @code{cmake} unless the CMAKE environmental variable is set.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 0441e834a26d4442e27db5aad729d7869b3ee7b8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:13:19 +0200 Subject: gnu: rust-fallible-iterator-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-fallible-iterator-0.2)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a53b801650..aa5ae7fba2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2933,13 +2933,13 @@ is configured via an environment variable.") (base32 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/sfackler/rust-fallible-iterator") (synopsis "Fallible iterator traits") (description "If the @code{std} or @code{alloc} features are enabled, this crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally provides implementations for @code{HashMap} and @code{HashSet}.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From ef8c91be7f92fe0a4c10ad6ff33fe479f297895a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:16:32 +0200 Subject: gnu: rust-filetime-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-filetime-0.2)[arguments]: Skip build. Add rust-cfg-if-0.1, rust-libc-0.2, rust-redox-syscall-0.1, rust-winapi-0.3 to cargo-inputs. Add rust-tempdir-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aa5ae7fba2..3a9e013446 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2956,6 +2956,15 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (base32 "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) (home-page "https://github.com/alexcrichton/filetime") (synopsis "Platform-agnostic accessors of timestamps in File metadata") (description @@ -2964,7 +2973,6 @@ various timestamps of files in Rust. This library takes into account cross-platform differences in terms of where the timestamps are located, what they are called, and how to convert them into a platform-independent representation.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 1c9d47b6424099f379170cd5f13c319b2ee8acd5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:19:00 +0200 Subject: gnu: rust-filetime-0.2: Update to 0.2.8. * gnu/packages/crates-io.scm (rust-filetime-0.2): Update to 0.2.8. [arguments]: Remove rust-tempdir-0.3 from cargo-development-inputs. Add rust-tempfile-3.0. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3a9e013446..2b4f80e236 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2946,7 +2946,7 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (define-public rust-filetime-0.2 (package (name "rust-filetime") - (version "0.2.7") + (version "0.2.8") (source (origin (method url-fetch) @@ -2954,7 +2954,7 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0sflihq2l77xjrza7yjalnxsc7dxzg25rhzcfbd9vmyfah5kimvb")))) + "0zfc90802dbw11bx6kmm8zw6r88k7glm4q6l8riqw35an3dd9xhz")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -2964,7 +2964,7 @@ provides implementations for @code{HashMap} and @code{HashSet}.") ("rust-redox-syscall" ,rust-redox-syscall-0.1) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) + (("rust-tempfile" ,rust-tempfile-3.0)))) (home-page "https://github.com/alexcrichton/filetime") (synopsis "Platform-agnostic accessors of timestamps in File metadata") (description -- cgit 1.4.1 From ced246661782fd2701630776d99e68c09a45712b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:22:01 +0200 Subject: gnu: rust-findshlibs-0.5: Don't hide package. * gnu/packages/crates-io.scm (rust-findshlibs-0.5)[arguments]: Skip build. Add rust-lazy-static-1.3, rust-libc-0.2 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2b4f80e236..093f43a7f2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2989,12 +2989,16 @@ representation.") (base32 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/gimli-rs/findshlibs") (synopsis "Find the set of shared libraries loaded in the current process") (description "Find the set of shared libraries loaded in the current process with a cross platform API.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 0c44bf848c48210166f07d67d49148651d6cbbb2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:23:48 +0200 Subject: gnu: rust-fixedbitset-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-fixedbitset-0.1)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 093f43a7f2..5dcb2dad6d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3015,10 +3015,10 @@ cross platform API.") (base32 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/petgraph/fixedbitset") (synopsis "FixedBitSet is a simple bitset collection") (description "FixedBitSet is a simple bitset collection.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 74de42eb660067096dfd8c6dc0ea759b388cf40e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:26:56 +0200 Subject: gnu: rust-fnv-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-fnv-1.0)[arguments]: Skip build. [synopsis]: Appease 'guix lint'. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5dcb2dad6d..8c120799ca 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3128,11 +3128,11 @@ streams.") (base32 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/servo/rust-fnv") - (synopsis "implementation of the Fowler-Noll-Vo hash function") + (synopsis "Implementation of the Fowler-Noll-Vo hash function") (description "The @code{fnv} hash function is a custom @code{Hasher} implementation that is more efficient for smaller hash keys.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 9eda3bcfdd1e81a84eac28c156abdacb2fa47ebb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:32:20 +0200 Subject: gnu: rust-fs-extra-1.1: Don't hide package. * gnu/packages/crates-io.scm (rust-fs-extra-1.1)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c120799ca..e2eb14fdfd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3237,12 +3237,12 @@ APIs.") (base32 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/webdesus/fs_extra") (synopsis "Extra filesystem methods") (description "Expanding opportunities standard library @code{std::fs} and @code{std::io}. Recursively copy folders with recept information about process and much more.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-fuchsia-cprng-0.1 -- cgit 1.4.1 From 7f27e979bfa7f04cef5e936f2866964e6b26c2db Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:33:18 +0200 Subject: gnu: rust-fuchsia-cprng-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-fuchsia-cprng-0.1)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2eb14fdfd..0fbe49881f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3258,11 +3258,12 @@ process and much more.") (base32 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0")))) (build-system cargo-build-system) - (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng") + (arguments '(#:skip-build? #t)) + (home-page + "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng") (synopsis "Fuchsia cryptographically secure pseudorandom number generator") (description "Rust crate for the Fuchsia cryptographically secure pseudorandom number generator") - (properties '((hidden? . #t))) (license license:bsd-3))) (define-public rust-fuchsia-zircon-0.3 -- cgit 1.4.1 From 7b4d3d869828e99523a37ad67525c439827b5d41 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:36:22 +0200 Subject: gnu: rust-fuchsia-zircon-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-fuchsia-zircon-0.3)[arguments]: Skip build. Add rust-bitflags-1, rust-fuchsia-zircon-sys-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0fbe49881f..59d75db17e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3279,10 +3279,14 @@ pseudorandom number generator") (base32 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys-0.3)))) (home-page "https://fuchsia.googlesource.com/garnet/") (synopsis "Rust bindings for the Zircon kernel") (description "Rust bindings for the Zircon kernel.") - (properties '((hidden? . #t))) (license license:bsd-3))) (define-public rust-fuchsia-zircon-sys-0.3 -- cgit 1.4.1 From f32036911769a1a23f074d818a5fc9e2b6fae54b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:38:08 +0200 Subject: gnu: rust-fuchsia-zircon-sys-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-fuchsia-zircon-sys-0.3)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 59d75db17e..a4add0da3a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3302,10 +3302,10 @@ pseudorandom number generator") (base32 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://fuchsia.googlesource.com/garnet/") (synopsis "Low-level Rust bindings for the Zircon kernel") (description "Low-level Rust bindings for the Zircon kernel.") - (properties '((hidden? . #t))) (license license:bsd-3))) (define-public rust-futf-0.1 -- cgit 1.4.1 From 3f5e2fd956c43ac269db8c492bd628a0285c6e88 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:39:57 +0200 Subject: gnu: rust-futures-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-futures-0.1)[arguments]: Skip build. [home-page]: Update home-page. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a4add0da3a..3d248bd0b4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3345,11 +3345,11 @@ pseudorandom number generator") (base32 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25")))) (build-system cargo-build-system) - (home-page "https://github.com/rust-lang-nursery/futures-rs") + (arguments '(#:skip-build? #t)) + (home-page "https://github.com/rust-lang/futures-rs") (synopsis "Implementation of zero-cost futures in Rust") (description "An implementation of @code{futures} and @code{streams} featuring zero allocations, composability, and iterator-like interfaces.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From a075606f0ddae6a0857601823a10bd2bac52267d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:41:25 +0200 Subject: gnu: rust-futures-0.1: Update to 0.1.29. * gnu/packages/crates-io.scm (rust-futures-0.1): Update to 0.1.29. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3d248bd0b4..8c16eeffab 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3335,7 +3335,7 @@ pseudorandom number generator") (define-public rust-futures-0.1 (package (name "rust-futures") - (version "0.1.28") + (version "0.1.29") (source (origin (method url-fetch) @@ -3343,7 +3343,7 @@ pseudorandom number generator") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25")))) + "1vq3cw37knnd0afw3rcjzh71i2l01v5m4ysinrrqdvnn2ql0z60v")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/rust-lang/futures-rs") -- cgit 1.4.1 From efd853489732ee013eb26f4a111f67b8142a942f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:51:08 +0200 Subject: gnu: Add rust-rustc-std-workspace-std-1.0. * gnu/packages/crates-io.scm (rust-rustc-std-workspace-std-1.0): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c16eeffab..00f3bf196a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8439,6 +8439,26 @@ rust-lang/rust integration.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-std-workspace-std-1.0 + (package + (name "rust-rustc-std-workspace-std") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-std-workspace-std" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vq4vaclamwhk0alf4f7wq3i9wxa993sxpmhy6qfaimy1ai7d9mb")))) + (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) + (home-page "https://crates.io/crates/rustc-std-workspace-std") + (synopsis "Workaround for rustbuild") + (description "This package provides a workaround for rustbuild.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustc-test-0.3 (package (name "rust-rustc-test") -- cgit 1.4.1 From a630e32ac12d21e93438b6c55c6303f349a7d5ac Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:45:28 +0200 Subject: gnu: rust-getopts-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-getopts-0.2)[arguments]: Skip build. Add rust-log-0.3 to cargo-development-inputs. [home-page]: Update home-page. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 00f3bf196a..dd5778366c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3673,10 +3673,13 @@ archive to be linked into Rustcode.") (base32 "018yhq97zgcrcxwhj3pxh31h83704sgaiijdnpl0r1ir366c005r")))) (build-system cargo-build-system) - (home-page "https://github.com/rust-lang-nursery/getopts") + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-log" ,rust-log-0.3)))) + (home-page "https://github.com/rust-lang/getopts") (synopsis "Rust library for option parsing for CLI utilities") (description "This library provides getopts-like option parsing.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From fe195ef7d30b22ca12ebf770101460b1f0920fdf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:48:50 +0200 Subject: gnu: rust-getopts-0.2: Update to 0.2.21. * gnu/packages/crates-io.scm (rust-getopts-0.2): Update to 0.2.21. [arguments]: Add rust-unicode-width-0.1, rust-rustc-std-workspace-core-1.0, rust-rustc-std-workspace-std-1.0 to cargo-inputs. --- gnu/packages/crates-io.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dd5778366c..ce5aef4534 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3663,7 +3663,7 @@ archive to be linked into Rustcode.") (define-public rust-getopts-0.2 (package (name "rust-getopts") - (version "0.2.17") + (version "0.2.21") (source (origin (method url-fetch) @@ -3671,10 +3671,14 @@ archive to be linked into Rustcode.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "018yhq97zgcrcxwhj3pxh31h83704sgaiijdnpl0r1ir366c005r")))) + "1mgb3qvivi26gs6ihqqhh8iyhp3vgxri6vwyrwg28w0xqzavznql")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t + #:cargo-inputs + (("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0) + ("rust-rustc-std-workspace-std" ,rust-rustc-std-workspace-std-1.0)) #:cargo-development-inputs (("rust-log" ,rust-log-0.3)))) (home-page "https://github.com/rust-lang/getopts") -- cgit 1.4.1 From fcc4e04d2271d7ae862a9f40775d3c3e3f083fdc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:55:15 +0200 Subject: gnu: rust-scoped-tls-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-scoped-tls-0.1)[arguments]: Skip build. [properties]: Don't inherit field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ce5aef4534..f0f9387438 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8741,7 +8741,9 @@ library's old @code{scoped_thread_local!} macro for providing scoped access to (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk")))))) + "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk")))) + (arguments '(#:skip-build? #t)) + (properties '()))) (define-public rust-scopeguard-1.0 (package -- cgit 1.4.1 From 671d08f30d5a12a4865fede3dfa56f604637ad63 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:53:31 +0200 Subject: gnu: rust-scoped-tls-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-scoped-tls-1.0)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f0f9387438..129d5d4770 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8720,12 +8720,12 @@ non-'static references in parallel.") (base32 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/alexcrichton/scoped-tls") (synopsis "Rust library providing the old standard library's scoped_thread_local") (description "This crate provides a library implementation of the standard library's old @code{scoped_thread_local!} macro for providing scoped access to @dfn{thread local storage} (TLS) so any type can be stored into TLS.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -8741,9 +8741,7 @@ library's old @code{scoped_thread_local!} macro for providing scoped access to (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk")))) - (arguments '(#:skip-build? #t)) - (properties '()))) + "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk")))))) (define-public rust-scopeguard-1.0 (package -- cgit 1.4.1 From ac20ab2b4e7f34f1c695c3e51b54bf29bdcb54ed Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:57:30 +0200 Subject: gnu: rust-scopeguard-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-scopeguard-0.3)[arguments]: Skip build. [properties]: Don't inherit field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 129d5d4770..87725e7937 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8780,7 +8780,9 @@ with one of the implemented strategies.") (string-append name "-" version ".crate")) (sha256 (base32 - "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) + "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))) + (arguments '(#:skip-build? #t)) + (properties '()))) (define-public rust-scroll-0.9 (package -- cgit 1.4.1 From 1c70205f8277e4dc2f99d0c79a685028d4c64aed Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 17:58:33 +0200 Subject: gnu: rust-scopeguard-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-scopeguard-1.0)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 87725e7937..41ed200296 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8756,6 +8756,7 @@ library's old @code{scoped_thread_local!} macro for providing scoped access to (base32 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/bluss/scopeguard") (synopsis "Scope guard which will run a closure even out of scope") (description "This package provides a RAII scope guard that will run a @@ -8763,7 +8764,6 @@ given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros @code{defer!}, @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards with one of the implemented strategies.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -8780,9 +8780,7 @@ with one of the implemented strategies.") (string-append name "-" version ".crate")) (sha256 (base32 - "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))) - (arguments '(#:skip-build? #t)) - (properties '()))) + "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) (define-public rust-scroll-0.9 (package -- cgit 1.4.1 From 4711a24074da962c50fa446215060ed50eb52970 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:23:21 +0200 Subject: gnu: rust-glob-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-glob-0.2)[arguments]: Skip build. Add rust-tempdir-0.3 to cargo-development-inputs. [properties]: Don't inherit field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 41ed200296..ebc2afeae3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3828,7 +3828,12 @@ shell style patterns.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))))) + "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) + (properties '()))) (define-public rust-globset-0.4 (package -- cgit 1.4.1 From 5a3217e52cd5364684b8a295357187a53a26e437 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:24:19 +0200 Subject: gnu: rust-glob-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-glob-0.3)[arguments]: Skip build. Add rust-tempdir-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ebc2afeae3..bb073700c7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3807,12 +3807,15 @@ reading and writing git repositories.") (base32 "0x25wfr7vg3mzxc9x05dcphvd3nwlcmbnxrvwcvrrdwplcrrk4cv")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) (home-page "https://github.com/rust-lang-nursery/glob") (synopsis "Match file paths against Unix shell style patterns") (description "This package provides support for matching file paths against Unix shell style patterns.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -3828,12 +3831,7 @@ shell style patterns.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))) - (arguments - `(#:skip-build? #t - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) - (properties '()))) + "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))))) (define-public rust-globset-0.4 (package -- cgit 1.4.1 From af9ca877b0d64d15683a5076f25efc2d2069eae7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:26:02 +0200 Subject: gnu: rust-hostname-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-hostname-0.1)[arguments]: Skip build. Add rust-libc-0.2, rust-winutil-0.1 to cargo-inputs. [host-name]: Update to new host-name. [properties]: Remove field. --- gnu/packages/crates-io.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb073700c7..2602d2a38c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4407,11 +4407,15 @@ SystemTime}}.") (base32 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1")))) (build-system cargo-build-system) - (home-page "https://github.com/fengcen/hostname") + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winutil" ,rust-winutil-0.1)))) + (home-page "https://github.com/svartalf/hostname") (synopsis "Get hostname for Rust") (description "Get hostname for Rust.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-idna-0.1 -- cgit 1.4.1 From 7499a9c78108ebc4e9aaf054cc30d71d89227d01 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:29:16 +0200 Subject: gnu: rust-iovec-0.1: Don't hide package. * gnu/package/crates-io.scm (rust-iovec-0.1)[arguments]: Skip build. Add rust-libc-0.2, rust-winapi-0.2 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2602d2a38c..9c07f81397 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4599,11 +4599,15 @@ immutable interval tree.") (base32 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.2)))) (home-page "https://github.com/carllerche/iovec") (synopsis "Portable buffer type for scatter/gather I/O operations") (description "Portable buffer type for scatter/gather I/O operations.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From a6e28a92c17a6c25d6b36e2c8b49049d67652345 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:30:13 +0200 Subject: gnu: rust-iovec-0.1: Update to 0.1.4. * gnu/packages/crates-io.scm (rust-iovec-0.1): Update to 0.1.4. [arguments] Remove rust-winapi-0.2 from cargo-inputs. --- gnu/packages/crates-io.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9c07f81397..6ddb747add 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4589,7 +4589,7 @@ immutable interval tree.") (define-public rust-iovec-0.1 (package (name "rust-iovec") - (version "0.1.2") + (version "0.1.4") (source (origin (method url-fetch) @@ -4597,13 +4597,11 @@ immutable interval tree.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv")))) + "0ph73qygwx8i0mblrf110cj59l00gkmsgrpzz1rm85syz5pymcxj")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.2)))) + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/carllerche/iovec") (synopsis "Portable buffer type for scatter/gather I/O operations") (description -- cgit 1.4.1 From 1403c31e3eaa0ee535489b969f1d59f8da78fd5f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:32:02 +0200 Subject: gnu: rust-itoa-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-itoa-0.1)[arguments]: Skip build. [properties]: Don't inherit field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ddb747add..1ab69e9a32 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4702,7 +4702,9 @@ primitives to an @code{io::Write}.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f")))))) + "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f")))) + (arguments '(#:skip-build? #t)) + (properties '()))) (define-public rust-js-sys-0.3 (package -- cgit 1.4.1 From 6c92f52b2ea1998678713505f4c5af70efc3792b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:32:53 +0200 Subject: gnu: rust-itoa-0.4: Don't hide package. * gnu/packages/crates-io.scm (rust-itoa-0.4)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1ab69e9a32..8879096115 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4682,11 +4682,11 @@ and functions.") (base32 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/dtolnay/itoa") (synopsis "Fast functions for printing integer primitives") (description "This crate provides fast functions for printing integer primitives to an @code{io::Write}.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -4702,9 +4702,7 @@ primitives to an @code{io::Write}.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f")))) - (arguments '(#:skip-build? #t)) - (properties '()))) + "18g7p2hrb3dk84z3frfgmszfc9hjb4ps9vp99qlb1kmf9gm8hc5f")))))) (define-public rust-js-sys-0.3 (package -- cgit 1.4.1 From 759dfa989e5f5fbc91ac618243333112c641cf15 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:34:48 +0200 Subject: gnu: rust-libc-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-libc-0.2)[arguments]: Skip build. Add rust-rustc-std-workspace-core-1.0 to cargo-inputs. [description]: Appease 'guix lint'. [properties]: Remove field. --- gnu/packages/crates-io.scm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8879096115..8f62e89a75 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4964,19 +4964,21 @@ requires non-const function calls to be computed.") (base32 "1s14bjxnz6haw0gr1h3j4sr7s2s407hpgm8dxhwnl7yzgxia0c8s")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1.0)))) (home-page "https://github.com/rust-lang/libc") (synopsis "Raw FFI bindings to platform libraries like libc") (description - "libc provides all of the definitions necessary to easily -interoperate with C code (or \"C-like\" code) on each of the platforms -that Rust supports. This includes type definitions (e.g., c_int), -constants (e.g., EINVAL) as well as function headers (e.g., malloc). + "The rust libc crate provides all of the definitions necessary to easily +interoperate with C code (or \"C-like\" code) on each of the platforms that Rust +supports. This includes type definitions (e.g., c_int), constants (e.g., EINVAL) +as well as function headers (e.g., malloc). -This crate exports all underlying platform types, functions, and -constants under the crate root, so all items are accessible as -@samp{libc::foo}. The types and values of all the exported APIs match -the platform that libc is compiled for.") - (properties '((hidden? . #t))) +This crate exports all underlying platform types, functions, and constants under +the crate root, so all items are accessible as @samp{libc::foo}. The types and +values of all the exported APIs match the platform that libc is compiled for.") (license (list license:expat license:asl2.0)))) -- cgit 1.4.1 From 290436d1109ae6f19bd8fbeb49ec7b3a858e98b9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:37:07 +0200 Subject: gnu: rust-libc-0.2: Update to 0.2.66. * gnu/packages/crates-io.scm (rust-libc-0.2): Update to 0.2.66. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8f62e89a75..9e81019f83 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4954,7 +4954,7 @@ requires non-const function calls to be computed.") (define-public rust-libc-0.2 (package (name "rust-libc") - (version "0.2.65") + (version "0.2.66") (source (origin (method url-fetch) @@ -4962,7 +4962,7 @@ requires non-const function calls to be computed.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1s14bjxnz6haw0gr1h3j4sr7s2s407hpgm8dxhwnl7yzgxia0c8s")))) + "0n0mwry21fxfwc063k33mvxk8xj7ia5ar8m42c9ymbam2ksb25fm")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From cc0e8ce608d7374c1d80a24876fdfbbb698cca9d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:40:03 +0200 Subject: gnu: rust-libloading-0.5: Don't hide package. * gnu/packages/crates-io.scm (rust-libloading-0.5)[arguments]: Skip build. Add rust-winapi-0.3 to cargo-inputs. Add rust-cc-1.0 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9e81019f83..f01dd5370e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5048,6 +5048,12 @@ values of all the exported APIs match the platform that libc is compiled for.") (base32 "0lyply8rcqc8agajzxs7bq6ivba9dnn1i68kgb9z2flnfjh13cgj")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-cc" ,rust-cc-1.0)))) (home-page "https://github.com/nagisa/rust_libloading/") (synopsis "Rust library for loading dynamic libraries") (description @@ -5056,7 +5062,6 @@ The most important safety guarantee by this library is prevention of dangling-Symbols that may occur after a Library is unloaded. Using this library allows loading dynamic libraries (also known as shared libraries) as well as use functions and static variables these libraries contain.") - (properties '((hidden? . #t))) (license license:isc))) (define-public rust-libssh2-sys-0.2 -- cgit 1.4.1 From 468e15b1af5fab3c841bfac16a1bcd61ab014dcd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:44:55 +0200 Subject: gnu: rust-lock-api-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-lock-api-0.1)[arguments]: Skip build. Add rust-scopeguard-0.3, rust-owning-ref-0.4 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f01dd5370e..a14d302e12 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5157,7 +5157,11 @@ functions and static variables these libraries contain.") (sha256 (base32 "0b24q9mh258xa52ap636q1sxz0j5vrnp0hwbbh7ddjka3wwz3sv2")))) - (properties '((hidden? . #t))))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-scopeguard" ,rust-scopeguard-0.3) + ("rust-owning-ref" ,rust-owning-ref-0.4)))))) (define-public rust-log-0.4 (package -- cgit 1.4.1 From bd843a2ff6ccf5a4dc28795ad5671a8c7c28ee11 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 16 Jan 2020 22:45:57 +0200 Subject: gnu: rust-lock-api-0.3: Update to 0.3.3. * gnu/packages/crates-io.scm (rust-lock-api-0.3): Update to 0.3.3. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a14d302e12..780173bb65 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5104,7 +5104,7 @@ functions and static variables these libraries contain.") (define-public rust-lock-api-0.3 (package (name "rust-lock-api") - (version "0.3.1") + (version "0.3.3") (source (origin (method url-fetch) @@ -5113,7 +5113,7 @@ functions and static variables these libraries contain.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1p04271jikw69ja0ap0plrfwm9incf1iny48g0b3ma9k4mw2x4gq")))) + "0yzlz7f5xl5sm129dq8jqsrcrkyv7jjnqwd4zr4ijsdlxjaxxckr")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From dd39f0acc9ddff046f2ce26d517e7914bbae2b1e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 08:35:29 -0800 Subject: gnu: Add rust-crossbeam-epoch-0.8. * gnu/packages/crates-io.scm (rust-crossbeam-epoch-0.8): New variable. (rust-crossbeam-epoch-0.7): Inherit from rust-crossbeam-epoch-0.8. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 780173bb65..1f93a8fff8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2019 Nicolas Goaziou ;;; Copyright © 2019 Giacomo Leidi ;;; Copyright © 2019 Tobias Geerinckx-Rice -;;; Copyright © 2019 John Soo +;;; Copyright © 2019, 2020 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -1847,8 +1847,40 @@ intrinsics.") (base32 "04rcpgjs6ns57vag8a3dzx26190dhbvy2l0p9n22b9p1yf64pr05")))))) +(define-public rust-crossbeam-epoch-0.8 + (package + (name "rust-crossbeam-epoch") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam-epoch" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b2mgc2gxxvyzyxgd5wvn9k42gr6f9phi2swwjawpqswy3dynr2h")))) + (build-system cargo-build-system) + (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)))) + (home-page + "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch") + (synopsis "Epoch-based garbage collection") + (description "Epoch-based garbage collection.") + (license (list license:expat license:asl2.0)))) + (define-public rust-crossbeam-epoch-0.7 (package + (inherit rust-crossbeam-epoch-0.8) (name "rust-crossbeam-epoch") (version "0.7.1") (source @@ -1860,7 +1892,6 @@ intrinsics.") (sha256 (base32 "1d408b9x82mdbnb405gw58v5mmdbj2rl28a1h7b9rmn25h8f7j84")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -1871,12 +1902,7 @@ intrinsics.") ("rust-memoffset" ,rust-memoffset-0.2) ("rust-scopeguard" ,rust-scopeguard-0.3)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.4)))) - (home-page - "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch") - (synopsis "Epoch-based garbage collection") - (description "Epoch-based garbage collection.") - (license (list license:expat license:asl2.0)))) + (("rust-rand" ,rust-rand-0.4)))))) (define-public rust-crossbeam-queue-0.1 (package -- cgit 1.4.1 From 6f8794bd5006b2bafd8703dd134ff68d6d2f6b74 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 07:33:11 -0800 Subject: gnu: Update rust-crossbeam-deque to 0.7.2. * gnu/packages/crates-io.scm (rust-crossbeam-deque-0.7): Update to 0.7.2. [arguments]: In cargo-inputs, replace rust-crossbeam-epoch-0.7 with 0.8, rust-crossbeam-utils-0.6 with 0.7. In cargo-development-inputs, replace rust-rand-0.4 with 0.6. * gnu/packages/gnome.scm (librsvg-next)[source]: Don't replace package-source for crossbeam-deque-0.7. Co-authored-by: Efraim Flashner Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 10 +++++----- gnu/packages/gnome.scm | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1f93a8fff8..0be958ef07 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,15 +1817,15 @@ 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-utils" ,rust-crossbeam-utils-0.6)) + (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.8) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.4)))) + (("rust-rand" ,rust-rand-0.6)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-deque") (synopsis "Concurrent work-stealing deque") diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 211333314f..8b7ac13457 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2200,7 +2200,7 @@ from forcing GEXP-PROMISE." ("cloudabi" . #+(package-source rust-cloudabi-0.0)) ("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-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)) -- cgit 1.4.1 From 4edb32699e6923fba5371781ca3c6391b0032d86 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 08:59:10 -0800 Subject: gnu: Add rust-crossbeam-queue-0.2. * gnu/packages/crates-io.scm (rust-crossbeam-queue-0.2): New variable. (rust-crossbeam-queue-0.1): Inherit from rust-crossbeam-queue-0.2. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0be958ef07..4339f1f574 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1904,10 +1904,10 @@ intrinsics.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-crossbeam-queue-0.1 +(define-public rust-crossbeam-queue-0.2 (package (name "rust-crossbeam-queue") - (version "0.1.2") + (version "0.2.1") (source (origin (method url-fetch) @@ -1916,22 +1916,45 @@ intrinsics.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jsa9dbxnwqcxfws09vaschf92d4imlbbikmcn4ka8z7rzb9r5vw")))) + "1nwkjh185bdwjrv1zj2g7an9lglv8sp4459268m4fwvi3v5fx5f6")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)) + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.4)))) + (("rust-rand" ,rust-rand-0.6)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils") - (synopsis "Concurrent queues") - (description "Concurrent queues.") + (synopsis "Concurrent queues in Rust") + (description + "This crate provides concurrent queues that can be shared among threads.") (license (list license:expat license:asl2.0 license:bsd-2)))) +(define-public rust-crossbeam-queue-0.1 + (package + (inherit rust-crossbeam-queue-0.2) + (name "rust-crossbeam-queue") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam-queue" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jsa9dbxnwqcxfws09vaschf92d4imlbbikmcn4ka8z7rzb9r5vw")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))))) + (define-public rust-crossbeam-utils-0.6 (package (name "rust-crossbeam-utils") -- cgit 1.4.1 From bc3c2aacd39165b1949ee440e773427f5e1fd075 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 08:34:59 -0800 Subject: gnu: Add rust-memoffset-0.5. * gnu/packages/crates-io.scm (rust-memoffset-0.5): New variable. (rust-memoffset-0.2): Inherit from rust-memoffset-0.5. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4339f1f574..66d3b52d99 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5508,10 +5508,10 @@ file IO.") (base32 "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2")))))) -(define-public rust-memoffset-0.2 +(define-public rust-memoffset-0.5 (package (name "rust-memoffset") - (version "0.2.1") + (version "0.5.3") (source (origin (method url-fetch) @@ -5520,16 +5520,37 @@ file IO.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))) + "1fblqzc25hfaym8m0pj112s66pqq87avvaqm5hp5rskib2w9w63m")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (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)))) (home-page "https://github.com/Gilnaa/memoffset") (synopsis - "offset_of functionality for Rust structs") - (description - "@code{offset_of} functionality for Rust structs.") + "C-like offset_of functionality for Rust structs") + (description "This package provides C-like @code{offset_of} functionality +for Rust structs.") (license license:expat))) +(define-public rust-memoffset-0.2 + (package + (inherit rust-memoffset-0.5) + (name "rust-memoffset") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "memoffset" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-mime-0.3 (package (name "rust-mime") -- cgit 1.4.1 From 6b35ddf612c6edfdc9231134976f0af8d13fc424 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:09:22 -0800 Subject: 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. [arguments]: Remove rust-autocfg-0.1 from cargo-development-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 66d3b52d99..10e19d4114 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7689,7 +7689,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) @@ -7698,15 +7698,13 @@ 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 #:cargo-inputs (("rust-c2-chacha" ,rust-c2-chacha-0.2) - ("rust-rand-core" ,rust-rand-core-0.5)) - #:cargo-development-inputs - (("rust-autocfg" ,rust-autocfg-0.1)))) + ("rust-rand-core" ,rust-rand-core-0.5)))) (home-page "https://crates.io/crates/rand-chacha") (synopsis "ChaCha random number generator") (description "ChaCha random number generator.") -- cgit 1.4.1 From 812ce80adaa0e2174ca9ee6c3a0fc9e2d6e6d0bd Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:12:54 -0800 Subject: 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. [arguments]: Remove rust-serde-derive-1.0 from cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 10e19d4114..72bc1ad642 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,14 +7742,13 @@ 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 #:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.1) - ("rust-serde" ,rust-serde-1.0) - ("rust-serde-derive" ,rust-serde-derive-1.0)))) + ("rust-serde" ,rust-serde-1.0)))) (home-page "https://crates.io/crates/rand-core") (synopsis "Core random number generator traits and tools for implementation") -- cgit 1.4.1 From 2d92286de65845ae8eb13911711f15e9fae684dd Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:20:57 -0800 Subject: gnu: rust-rand-hc-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-rand-hc-0.1):[arguments] Skip build. Add urst-rand-core-0.3 to cargo-inputs. [properties] Remove field. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 72bc1ad642..4f88c18877 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7805,11 +7805,13 @@ useful types and distributions, and some randomness-related algorithms.") (sha256 (base32 "1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3)))) (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)))) -- cgit 1.4.1 From 56beba471bf33e2b831ee3c22a4ac66110521ba8 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:22:31 -0800 Subject: gnu: Add rust-rand-hc-0.2. * gnu/packages/crates-io.scm (rust-rand-hc-0.2): New variable. (rust-rand-hc-0.1): Inherit from rust-rand-hc-0.2. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4f88c18877..87eaa741d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7793,10 +7793,10 @@ useful types and distributions, and some randomness-related algorithms.") `(#:skip-build? #t #:cargo-inputs (("rand-core" ,rust-rand-core-0.4)))))) -(define-public rust-rand-hc-0.1 +(define-public rust-rand-hc-0.2 (package (name "rust-rand-hc") - (version "0.1.0") + (version "0.2.0") (source (origin (method url-fetch) @@ -7804,17 +7804,36 @@ useful types and distributions, and some randomness-related algorithms.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v")))) + "0g31sqwpmsirdlwr0svnacr4dbqyz339im4ssl9738cjgfpjjcfa")))) + (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3)))) - (build-system cargo-build-system) + #:cargo-inputs + (("rust-rand-hc" ,rust-rand-core-0.5)))) (home-page "https://crates.io/crates/rand_hc") (synopsis "HC128 random number generator") - (description "HC128 random number generator") + (description "This package provides a cryptographically secure random number +generator that uses the HC-128 algorithm.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-hc-0.1 + (package + (inherit rust-rand-hc-0.2) + (name "rust-rand-hc") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_hc" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.3)))))) + (define-public rust-rand-isaac-0.1 (package (name "rust-rand-isaac") -- cgit 1.4.1 From 544fff4f43f154de0afc0713a0d544c4f305bc3c Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 08:34:27 -0800 Subject: gnu: Add rust-crossbeam-utils-0.7. * gnu/packages/crates-io.scm (rust-crossbeam-utils-0.7): New variable. (rust-crossbeam-utils-0.6): Inherit from rust-crossbeam-utils-0.7. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 87eaa741d4..5f74ed3efd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1955,10 +1955,10 @@ intrinsics.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-crossbeam-utils-0.6 +(define-public rust-crossbeam-utils-0.7 (package (name "rust-crossbeam-utils") - (version "0.6.5") + (version "0.7.0") (source (origin (method url-fetch) @@ -1967,15 +1967,16 @@ intrinsics.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0p5aa8k3wpsn17md4rx038ac2azm9354knbxdfvn7dd7yk76yc7q")))) + "1x1rn35q2v05qif14ijfg7800d3rf3ji2cg79awnacfw5jq6si6f")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) + (("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.4)))) + (("rust-rand" ,rust-rand-0.6)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils") (synopsis "Utilities for concurrent programming") @@ -1983,6 +1984,28 @@ intrinsics.") "Utilities for concurrent programming.") (license (list license:expat license:asl2.0)))) +(define-public rust-crossbeam-utils-0.6 + (package + (inherit rust-crossbeam-utils-0.7) + (name "rust-crossbeam-utils") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam-utils" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p5aa8k3wpsn17md4rx038ac2azm9354knbxdfvn7dd7yk76yc7q")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-lazy-static" ,rust-lazy-static-1.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))))) + (define-public rust-csv-1.1 (package (name "rust-csv") -- cgit 1.4.1 From c060511f2fcdd380894e6e5557dad1e89f01a544 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:30:42 -0800 Subject: gnu: Add rust-rand-pcg-0.2. * gnu/packages/crates-io.scm (rust-rand-pcg-0.2): New variable. (rust-rand-pcg-0.1): Inherit from rust-rand-pcg-0.2. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5f74ed3efd..3a0263d504 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7950,10 +7950,10 @@ generator that uses the HC-128 algorithm.") ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-rand-pcg-0.1 +(define-public rust-rand-pcg-0.2 (package (name "rust-rand-pcg") - (version "0.1.2") + (version "0.2.1") (source (origin (method url-fetch) @@ -7961,17 +7961,31 @@ generator that uses the HC-128 algorithm.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb")))) + "0ab4h6s6x3py833jk61lwadq83qd1c8bih2hgi6yps9rnv0x1aqn")))) (build-system cargo-build-system) (home-page "https://crates.io/crates/rand_pcg") (synopsis - "Selected PCG random number generators") + "Selected PCG random number generators") (description - "Selected PCG random number generators") + "Implements a selection of PCG random number generators.") (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-pcg-0.1 + (package + (inherit rust-rand-pcg-0.2) + (name "rust-rand-pcg") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_pcg" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb")))))) + (define-public rust-rand-xorshift-0.2 (package (name "rust-rand-xorshift") -- cgit 1.4.1 From 91107d058c4d4d1878496697bbc615a91865377d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Jan 2020 12:01:23 +0200 Subject: gnu: rust-rand-pcg-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-rand-pcg-0.1)[arguments]: Skip build. Add rust-autocfg-0.1, rust-rand-core-0.4, rust-serde-1.0, rust-serde-derive-1.0 to cargo-inputs. Add rust-bincode-1.1 to cargo-development-inputs. [properties]: Don't inherit field. --- gnu/packages/crates-io.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3a0263d504..e88e9e5400 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7984,7 +7984,17 @@ generator that uses the HC-128 algorithm.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb")))))) + "0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-autocfg" ,rust-autocfg-0.1) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1)))) + (properties '()))) (define-public rust-rand-xorshift-0.2 (package -- cgit 1.4.1 From 1261bc7ac855ac1742d515b15d52b8f4516c8a63 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Jan 2020 12:03:13 +0200 Subject: gnu: rust-rand-pcg-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-rand-pcg-0.2)[arguments]: Skip build. Add rust-rand-core-0.5, rust-serde-1.0 to cargo-inputs. Add rust-bincode-1.1 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e88e9e5400..73016b6ae4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7963,12 +7963,18 @@ generator that uses the HC-128 algorithm.") (base32 "0ab4h6s6x3py833jk61lwadq83qd1c8bih2hgi6yps9rnv0x1aqn")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1)))) (home-page "https://crates.io/crates/rand_pcg") (synopsis "Selected PCG random number generators") (description "Implements a selection of PCG random number generators.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -7993,8 +7999,7 @@ generator that uses the HC-128 algorithm.") ("rust-serde" ,rust-serde-1.0) ("rust-serde-derive" ,rust-serde-derive-1.0)) #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1.1)))) - (properties '()))) + (("rust-bincode" ,rust-bincode-1.1)))))) (define-public rust-rand-xorshift-0.2 (package -- cgit 1.4.1 From eb3cf81cddc8ce1b7ac2b85cce68735978ab4b09 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:43:18 -0800 Subject: gnu: Add rust-rayon-core-1.7. * gnu/packages/crates-io.scm (rust-rayon-core-1.7): New variable. (rust-rayon-core-1.5): Inherit from rust-rayon-core-1.7. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 73016b6ae4..39e43ed771 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8185,10 +8185,10 @@ accessors.") "Simple work-stealing parallelism for Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rayon-core-1.5 +(define-public rust-rayon-core-1.7 (package (name "rust-rayon-core") - (version "1.5.0") + (version "1.7.0") (source (origin (method url-fetch) @@ -8197,19 +8197,19 @@ accessors.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ljva6blaf1wmzvg77h1i9pd0hsmsbbcmdk7sjbw7h2s8gw0vgpb")))) + "1ac55kpnh2390ah7r071vnjbiy308qpznql0n597x5dgxx39pa08")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) - ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) + ("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.4) + ("rust-rand" ,rust-rand-0.7) ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) ("rust-scoped-tls" ,rust-scoped-tls-1.0)))) (home-page "https://github.com/rayon-rs/rayon") @@ -8217,6 +8217,34 @@ accessors.") (description "Core APIs for Rayon.") (license (list license:expat license:asl2.0)))) +(define-public rust-rayon-core-1.5 + (package + (inherit rust-rayon-core-1.7) + (name "rust-rayon-core") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ljva6blaf1wmzvg77h1i9pd0hsmsbbcmdk7sjbw7h2s8gw0vgpb")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) + ("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.4) + ("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") -- cgit 1.4.1 From 91b1ff70004f05d6bc54d9985f2dfde5a412f8a9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:46:23 -0800 Subject: gnu: Add rust-rayon-1.3. * gnu/packages/crates-io.scm (rust-rayon-1.3): New variable. (rust-rayon-1.1): Inherit from rust-rayon-1.3. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 42 +++++++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39e43ed771..2120a6398c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8151,8 +8151,42 @@ For example creation from raw pointers and start, end pointer accessors.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rayon-1.3 + (package + (name "rust-rayon") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rayon" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1650g13bxlmywhdlw65q3g1zyyb7l0wcm35v45kf31cwgwly6v6v")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/rayon-rs/rayon") + (synopsis "Simple work-stealing parallelism for Rust") + (description + "Simple work-stealing parallelism for Rust.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rayon-1.1 (package + (inherit rust-rayon-1.3) (name "rust-rayon") (version "1.1.0") (source @@ -8164,7 +8198,6 @@ accessors.") (sha256 (base32 "190hkbcdfvcphyyzkdg52zdia2y9d9yanpm072bmnzbn49p1ic54")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -8178,12 +8211,7 @@ accessors.") ("rust-rand" ,rust-rand-0.4) ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) ("rust-serde" ,rust-serde-1.0) - ("rust-serde-derive" ,rust-serde-derive-1.0)))) - (home-page "https://github.com/rayon-rs/rayon") - (synopsis "Simple work-stealing parallelism for Rust") - (description - "Simple work-stealing parallelism for Rust.") - (license (list license:asl2.0 license:expat)))) + ("rust-serde-derive" ,rust-serde-derive-1.0)))))) (define-public rust-rayon-core-1.7 (package -- cgit 1.4.1 From ad30f7dc0138a56effb125faf2e7c3bfbdb84ea0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 07:24:27 -0800 Subject: gnu: Add rust-libgit2-sys-0.10. * gnu/packages/crates-io.scm (rust-libgit2-sys-0.10): New variable. (rust-libgit2-sys-0.8): Inherit from rust-libgit2-sys-0.10. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2120a6398c..23a2fd5f7d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5054,10 +5054,10 @@ values of all the exported APIs match the platform that libc is compiled for.") (license (list license:expat license:asl2.0)))) -(define-public rust-libgit2-sys-0.8 +(define-public rust-libgit2-sys-0.10 (package (name "rust-libgit2-sys") - (version "0.8.2") + (version "0.10.0") (source (origin (method url-fetch) @@ -5065,7 +5065,7 @@ values of all the exported APIs match the platform that libc is compiled for.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")) )) + "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r")))) (build-system cargo-build-system) ;(arguments ; `(#:phases @@ -5092,6 +5092,20 @@ values of all the exported APIs match the platform that libc is compiled for.") (license (list license:asl2.0 license:expat)))) +(define-public rust-libgit2-sys-0.8 + (package + (inherit rust-libgit2-sys-0.10) + (name "rust-libgit2-sys") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")))))) + (define-public rust-libgit2-sys-0.7 (package (inherit rust-libgit2-sys-0.8) @@ -5104,8 +5118,7 @@ values of all the exported APIs match the platform that libc is compiled for.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28")))) - (build-system cargo-build-system))) + "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28")))))) (define-public rust-libloading-0.5 (package -- cgit 1.4.1 From 89e4d2ccdb7ac1092d9de570380420117c5aae05 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 14 Jan 2020 09:38:08 -0800 Subject: gnu: Add rust-rand-0.7. * gnu/packages/crates-io.scm (rust-rand-0.7): New variable. (rust-rand-0.6): Inherit from rust-rand-0.7. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 23a2fd5f7d..fc26f6146b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7642,8 +7642,44 @@ to write.") (base32 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s")))))) +(define-public rust-rand-0.7 + (package + (name "rust-rand") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "00sdaimkbz491qgi6qxkv582yivl32m2jd401kzbn94vsiwicsva")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://crates.io/crates/rand") + (synopsis "Random number generators and other randomness functionality") + (description + "Rand provides utilities to generate random numbers, to convert them to +useful types and distributions, and some randomness-related algorithms.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-rand-0.6 (package + (inherit rust-rand-0.7) (name "rust-rand") (version "0.6.5") (source @@ -7654,7 +7690,6 @@ to write.") (sha256 (base32 "1jl4449jcl4wgmzld6ffwqj5gwxrp8zvx8w573g1z368qg6xlwbd")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -7672,14 +7707,7 @@ to write.") ("rust-winapi" ,rust-winapi-0.3) ("rust-autocfg" ,rust-autocfg-0.1)) ; build-dependency #:cargo-development-inputs - (("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1)))) - (home-page "https://crates.io/crates/rand") - (synopsis "Random number generators and other randomness functionality") - (description - "Rand provides utilities to generate random numbers, to convert them to -useful types and distributions, and some randomness-related algorithms.") - (license (list license:asl2.0 - license:expat)))) + (("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1)))))) (define-public rust-rand-0.4 (package -- cgit 1.4.1 From 91d81ab2480ddaa2e5d691dcf29328241c1e581b Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 07:55:34 -0800 Subject: gnu: rust-term-0.4: Don't hide package. * gnu/packages/crates-io.scm (rust-term-0.4): [arguments] Skip build. Add rust-kernel32-sys-0.2, rust-winapi-0.2 to cargo-inputs. [properties]: Don't inherit field. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fc26f6146b..7b9730c610 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10476,7 +10476,13 @@ 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)))) + (properties '()))) (define-public rust-termcolor-1.0 (package -- cgit 1.4.1 From a9fd04214bddf15702920c8977bd3fdc9f4c225a Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 07:53:47 -0800 Subject: gnu: rust-term-0.5: Don't hide package. * gnu/packages/crates-io.scm (rust-term-0.5):[arguments] Skip build. Add rust-byteorder-1.3, rust-dirs-1.0, rust-winapi-0.3 to cargo-inputs. [properties] Remove field. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7b9730c610..417b3329c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10456,11 +10456,16 @@ directories.") (base32 "0hkgjrfisj6zjwz525639pmsvzhlc48a0h65nw87qrdp6jihdlgd")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1.3) + ("rust-dirs" ,rust-dirs-1.0) + ("rust-winapi" ,rust-winapi-0.3)))) (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)))) @@ -10481,8 +10486,7 @@ directories.") `(#:skip-build? #t #:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-winapi" ,rust-winapi-0.2)))) - (properties '()))) + ("rust-winapi" ,rust-winapi-0.2)))))) (define-public rust-termcolor-1.0 (package -- cgit 1.4.1 From 28c006321ff838188698bc99e135ca0884714c10 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 07:48:52 -0800 Subject: gnu: rust-rustc-test-0.3: Correct cargo-inputs. * gnu/packages/crates-io.scm (rust-rustc-test-0.3)[arguments]: Replace rust-term-0.5 with 0.4 in cargo-inputs. Move rust-rustc-version-0.2 from cargo-development-inputs to cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 417b3329c3..a3bdfa0500 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8743,10 +8743,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 -- cgit 1.4.1 From cd088ebe89941ae7188b77b071d951d2cce96447 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 07:40:44 -0800 Subject: gnu: Add rust-idna-0.2. * gnu/packages/crates-io.scm (rust-idna-0.2): New variable. (rust-idna-0.1): Inherit from rust-idna-0.2. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a3bdfa0500..6ec29d61c7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4490,10 +4490,10 @@ SystemTime}}.") "Get hostname for Rust.") (license license:expat))) -(define-public rust-idna-0.1 +(define-public rust-idna-0.2 (package (name "rust-idna") - (version "0.1.5") + (version "0.2.0") (source (origin (method url-fetch) @@ -4502,7 +4502,7 @@ SystemTime}}.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kl4gs5kaydn4v07c6ka33spm9qdh2np0x7iw7g5zd8z1c7rxw1q")))) + "1a9066imqpdrm1aavfasdyb1zahqaz8jmdcwdawvb1pf60y6gqh2")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -4511,14 +4511,38 @@ SystemTime}}.") ("rust-unicode-bidi" ,rust-unicode-bidi-0.3) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) #:cargo-development-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-rustc-test" ,rust-rustc-test-0.3)))) + (("rust-rustc-test" ,rust-rustc-test-0.3) + ("rust-serde-json" ,rust-serde-json-1.0)))) (home-page "https://github.com/servo/rust-url/") (synopsis "Internationalizing Domain Names in Applications and Punycode") (description "IDNA (Internationalizing Domain Names in Applications) and Punycode.") (license (list license:expat license:asl2.0)))) +(define-public rust-idna-0.1 + (package + (inherit rust-idna-0.2) + (name "rust-idna") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "idna" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kl4gs5kaydn4v07c6ka33spm9qdh2np0x7iw7g5zd8z1c7rxw1q")))) + (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-serialize" ,rust-rustc-serialize-0.3) + ("rust-rustc-test" ,rust-rustc-test-0.3)))))) + (define-public rust-ignore-0.4 (package (name "rust-ignore") -- cgit 1.4.1 From 4fbc679a13bb5ed0d9ed64a1c60381819482aaae Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 08:14:22 -0800 Subject: gnu: rust-time-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-time-0.1)[arguments]: Skip build. Add rust-libc-0.2, rust-redox-syscall-0.1, rust-rustc-serialize-0.3, rust-winapi-0.3 to cargo-inputs. Add rust-log-0.3, rust-winapi-0.3 to cargo-development-inputs. [home-page] Update url. [properties] Remove field. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6ec29d61c7..c86f972c11 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10732,12 +10732,21 @@ 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-libc" ,rust-libc-0.2) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-log" ,rust-log-0.3) + ("rust-winapi" ,rust-winapi-0.3)))) + (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)))) -- cgit 1.4.1 From 101aa648d3701800a5c8a2d333d650326e5a0921 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Jan 2020 12:56:51 +0200 Subject: gnu: rust-time-0.1: Update to 0.1.42. * gnu/packages/crates-io.scm (rust-time-0.1): Update to 0.1.42. [arguments]: Replace rust-log-0.3 with 0.4 in cargo-development-inputs. --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c86f972c11..d7dc571f2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10722,7 +10722,7 @@ fixed set of worker threads.") (define-public rust-time-0.1 (package (name "rust-time") - (version "0.1.39") + (version "0.1.42") (source (origin (method url-fetch) @@ -10730,7 +10730,7 @@ fixed set of worker threads.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "161hqx0gw722ikydanpahky447vaxqncwmkj66rny282vzqpalx1")))) + "0vsbvsz0ryxb35dy9j4anxvy8zlaplmjmi0a4z4l64bc135cz3fv")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -10740,7 +10740,7 @@ fixed set of worker threads.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs - (("rust-log" ,rust-log-0.3) + (("rust-log" ,rust-log-0.4) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/time-rs/time") (synopsis "Simple time handling in Rust") -- cgit 1.4.1 From f949981b78517d38c47e2b411873c69d44cc50b3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 08:47:02 -0800 Subject: gnu: Add rust-url-2.1. * gnu/packages/crates-io.scm (rust-url-2.1): New variable. (rust-url-1.7): Inherit from rust-url-2.1. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d7dc571f2e..5cc99fe93f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11829,8 +11829,40 @@ untrusted inputs in Rust.") (properties '((hidden? . #t))) (license license:isc))) +(define-public rust-url-2.1 + (package + (name "rust-url") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "url" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jw7cw8br4xvjb92ddrrh1r7jvqhyhiknnnfpgq9np63fs24m7c2")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/servo/rust-url") + (synopsis "URL library for Rust, based on the WHATWG URL Standard") + (description + "URL library for Rust, based on the WHATWG URL Standard.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-url-1.7 (package + (inherit rust-url-2.1) (name "rust-url") (version "1.7.2") (source @@ -11842,7 +11874,6 @@ untrusted inputs in Rust.") (sha256 (base32 "0nim1c90mxpi9wgdw2xh8dqd72vlklwlzam436akcrhjac6pqknx")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -11857,12 +11888,7 @@ untrusted inputs in Rust.") (("rust-bencher" ,rust-bencher-0.1) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-rustc-test" ,rust-rustc-test-0.3) - ("rust-serde-json" ,rust-serde-json-1.0)))) - (home-page "https://github.com/servo/rust-url") - (synopsis "URL library for Rust, based on the WHATWG URL Standard") - (description - "URL library for Rust, based on the WHATWG URL Standard.") - (license (list license:asl2.0 license:expat)))) + ("rust-serde-json" ,rust-serde-json-1.0)))))) (define-public rust-utf-8-0.7 (package -- cgit 1.4.1 From a3c031ce4353a7fbe246b912d40653d17d9e2838 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:03:28 -0800 Subject: gnu: Add rust-git2-0.11. * gnu/packages/crates-io.scm (rust-git2-0.11): New variable. (rust-git2-0.9): Inherit from rust-git2-0.11. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5cc99fe93f..6c3740f5d3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3827,10 +3827,10 @@ retrieving random data from system source.") DWARF debugging format.") (license (list license:asl2.0 license:expat)))) -(define-public rust-git2-0.9 +(define-public rust-git2-0.11 (package (name "rust-git2") - (version "0.9.1") + (version "0.11.0") (source (origin (method url-fetch) @@ -3839,23 +3839,23 @@ DWARF debugging format.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0cayf5w7wkvclvs8brbi7lyfxbdklwls9s49mpf2brl655yjwjwj")))) + "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.8) + ("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-1.7)) + ("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-tempdir" ,rust-tempdir-0.3) + ("rust-tempfile" ,rust-tempfile-3.1) ("rust-thread-id" ,rust-thread-id-3.3) ("rust-time" ,rust-time-0.1)))) (home-page "https://github.com/rust-lang/git2-rs") @@ -3866,6 +3866,38 @@ 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.9 + (package + (inherit rust-git2-0.11) + (name "rust-git2") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cayf5w7wkvclvs8brbi7lyfxbdklwls9s49mpf2brl655yjwjwj")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.8) + ("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-1.7)) + #:cargo-development-inputs + (("rust-docopt" ,rust-docopt-1.1) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-thread-id" ,rust-thread-id-3.3) + ("rust-time" ,rust-time-0.1)))))) + (define-public rust-glob-0.3 (package (name "rust-glob") -- cgit 1.4.1 From b1ae24c9a4dc199bd817d678f10b6e6aedfcd2ed Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 08:59:27 -0800 Subject: gnu: Add rust-tempfile-3.1. * gnu/packages/crates-io.scm (rust-tempfile-3.1): New variable. (rust-tempfile-3.0): Inherit from rust-tempfile-3.1. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c3740f5d3..e411d110b9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10437,10 +10437,10 @@ deleting all contents when it's dropped.") (license (list license:asl2.0 license:expat)))) -(define-public rust-tempfile-3.0 +(define-public rust-tempfile-3.1 (package (name "rust-tempfile") - (version "3.0.8") + (version "3.1.0") (source (origin (method url-fetch) @@ -10448,14 +10448,14 @@ deleting all contents when it's dropped.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1vqk7aq2l04my2r3jiyyxirnf8f90nzcvjasvrajivb85s7p7i3x")))) + "1a9cfdqw70n7bcnkx05aih9xdba8lqazmqlkjpkmn2la6gcj8vks")))) (build-system cargo-build-system) (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.6) + ("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)))) @@ -10467,6 +10467,29 @@ directories.") (license (list license:asl2.0 license:expat)))) +(define-public rust-tempfile-3.0 + (package + (inherit rust-tempfile-3.1) + (name "rust-tempfile") + (version "3.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "tempfile" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "1vqk7aq2l04my2r3jiyyxirnf8f90nzcvjasvrajivb85s7p7i3x")))) + (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.6) + ("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") -- cgit 1.4.1 From 1ff4d9cbcaa7dcc3b06a857350ab7bf294d6b75a Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:31:56 -0800 Subject: gnu: rust-toml-0.5: Update to 0.5.6. * gnu/packages/crates-io.scm (rust-toml-0.5): Update to 0.5.6. [arguments]: Skip build. Add rust-indexmap-1.0, rust-serde-1.0 to cargo-inputs. Add rust-serde-derive-1.0, rust-serde-json-1.0 to cargo-development-inputs. [properties]: Remove field. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e411d110b9..a65207ef0d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11339,7 +11339,7 @@ pool.") (define-public rust-toml-0.5 (package (name "rust-toml") - (version "0.5.3") + (version "0.5.6") (source (origin (method url-fetch) @@ -11347,8 +11347,16 @@ pool.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "093p48vpqm4bb8q3514xsij0dkljxlr3jp9ypxr4p48xjisvxan7")))) + "06n7j8z63hj6g0kj2x6sqwxnm4q3s0q5d873bdk41vqy1cb2vjgz")))) (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 @@ -11356,7 +11364,6 @@ pool.") files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 2157f749ec6d52c1287032da383dd1c4d9b9d61d Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:44:45 -0800 Subject: gnu: rust-memchr-2.2: Update to 2.2.1. * gnu/packages/crates-io.scm (rust-memchr-2.2): Update to 2.2.1. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a65207ef0d..dc358877f2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5525,7 +5525,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) @@ -5534,7 +5534,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 -- cgit 1.4.1 From 166aca480e1bdc0932a3d0427d00fcb138bcf907 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:36:59 -0800 Subject: gnu: Add rust-hex-0.4. * gnu/packages/crates-io.scm (rust-hex-0.4): New variable. (rust-hex-0.3): Inherit from rust-hex-0.4. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dc358877f2..7fb93494c2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4303,18 +4303,19 @@ heap.") total runtime size of an object on the heap") (license license:mpl2.0))) -(define-public rust-hex-0.3 +(define-public rust-hex-0.4 (package (name "rust-hex") - (version "0.3.2") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "hex" version)) - (file-name (string-append name "-" version ".crate")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40")))) + "0glsfrx2pxfsf6ivxj7vfrvd7g78j4z47ssgm5idm8p376z3jfq2")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/KokaKiwi/rust-hex") @@ -4324,6 +4325,20 @@ hexadecimal representation.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hex-0.3 + (package + (inherit rust-hex-0.4) + (name "rust-hex") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hex" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40")))))) + (define-public rust-hex-literal-0.2 (package (name "rust-hex-literal") -- cgit 1.4.1 From a842e3625990a2e90ffd5a6114526b1a81a6c4cb Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:45:54 -0800 Subject: gnu: Add rust-lazy-static-1.4. * gnu/packages/crates-io.scm (rust-lazy-static-1.4): New variable. (rust-lazy-static-1.3): Inherit from rust-lazy-static-1.4. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7fb93494c2..e2a835e264 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5009,10 +5009,10 @@ currently supports parsing (fully conformant parser), formatting and comparing language tags.") (license license:expat))) -(define-public rust-lazy-static-1.3 +(define-public rust-lazy-static-1.4 (package (name "rust-lazy-static") - (version "1.3.0") + (version "1.4.0") (source (origin (method url-fetch) @@ -5020,11 +5020,13 @@ language tags.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw")))) + "0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-spin" ,rust-spin-0.5)))) + #:cargo-inputs (("rust-spin" ,rust-spin-0.5)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) (home-page "https://github.com/rust-lang-nursery/lazy-static.rs") (synopsis "Macro for declaring lazily evaluated statics in Rust") (description @@ -5036,6 +5038,23 @@ requires non-const function calls to be computed.") (license (list license:asl2.0 license:expat)))) +(define-public rust-lazy-static-1.3 + (package + (inherit rust-lazy-static-1.4) + (name "rust-lazy-static") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lazy_static" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-spin" ,rust-spin-0.5)))))) + (define-public rust-lazycell-1.2 (package (name "rust-lazycell") -- cgit 1.4.1 From 7e7fd7fadc0923b0884a2666a92c45ae80bae926 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:48:22 -0800 Subject: gnu: Add rust-humantime-1.3. * gnu/packages/crates-io.scm (rust-humantime-1.3): New variable. (rust-humantime-1.2): Inherit from rust-humantime-1.3. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2a835e264..639446878d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4482,10 +4482,10 @@ requests and responses.") "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.") (license (list license:asl2.0 license:expat)))) -(define-public rust-humantime-1.2 +(define-public rust-humantime-1.3 (package (name "rust-humantime") - (version "1.2.0") + (version "1.3.0") (source (origin (method url-fetch) @@ -4494,7 +4494,7 @@ requests and responses.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "057ilhy6vc9iqhhby5ymh45m051pgxwq2z437gwkbnqhw7rfb9rw")))) + "0krwgbf35pd46xvkqg14j070vircsndabahahlv3rwhflpy4q06z")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -4504,8 +4504,7 @@ requests and responses.") (("rust-chrono" ,rust-chrono-0.4) ("rust-rand" ,rust-rand-0.4) ("rust-time" ,rust-time-0.1)))) - (home-page - "https://github.com/tailhook/humantime") + (home-page "https://github.com/tailhook/humantime") (synopsis "Parser and formatter for Duration and SystemTime") (description @@ -4513,6 +4512,21 @@ requests and responses.") SystemTime}}.") (license (list license:expat license:asl2.0)))) +(define-public rust-humantime-1.2 + (package + (inherit rust-humantime-1.3) + (name "rust-humantime") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "humantime" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "057ilhy6vc9iqhhby5ymh45m051pgxwq2z437gwkbnqhw7rfb9rw")))))) + (define-public rust-hostname-0.1 (package (name "rust-hostname") -- cgit 1.4.1 From 8328cf26401ad714dd57e9245ce190e16f997204 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:48:50 -0800 Subject: gnu: Add rust-env-logger-0.7. * gnu/packages/crates-io.scm (rust-env-logger-0.7): New variable. (rust-env-logger-0.6): Inherit from rust-env-logger-0.7. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 639446878d..63c0f682e6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2758,10 +2758,10 @@ Standard.") "Streaming transcoding for encoding_rs.") (license (list license:asl2.0 license:expat)))) -(define-public rust-env-logger-0.6 +(define-public rust-env-logger-0.7 (package (name "rust-env-logger") - (version "0.6.2") + (version "0.7.1") (source (origin (method url-fetch) @@ -2770,25 +2770,46 @@ Standard.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1lx2s5nk96xx4i3m4zc4ghqgi8kb07dsnyiv8jk2clhax42dxz5a")))) + "0djx8h8xfib43g5w94r1m1mkky5spcw4wblzgnhiyg5vnfxknls4")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-humantime" ,rust-humantime-1.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)))) - (home-page - "https://github.com/sebasmagri/env_logger/") - (synopsis - "Logging implementation for @code{log}") + (home-page "https://github.com/sebasmagri/env_logger/") + (synopsis "Logging implementation for @code{log}") (description "This package provides a logging implementation for @code{log} which is configured via an environment variable.") (license (list license:expat license:asl2.0)))) +(define-public rust-env-logger-0.6 + (package + (inherit rust-env-logger-0.7) + (name "rust-env-logger") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lx2s5nk96xx4i3m4zc4ghqgi8kb07dsnyiv8jk2clhax42dxz5a")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-humantime" ,rust-humantime-1.2) + ("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") -- cgit 1.4.1 From 2cd2cb2b92061aa93d279d5ab7c7921cb2e199e7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:54:28 -0800 Subject: gnu: rust-grep-searcher-0.1: Update to 0.1.6. * gnu/packages/crates-io.scm (rust-grep-searcher-0.1): Update to 0.1.6. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 63c0f682e6..e1c421a877 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4205,7 +4205,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) @@ -4214,7 +4214,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 -- cgit 1.4.1 From b42899c29c35d97c9f860642759303781e41e7ad Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:50:57 -0800 Subject: gnu: Add rust-crossbeam-channel-0.4. * gnu/packages/crates-io.scm (rust-crossbeam-channel-0.4): New variable. (rust-crossbeam-channel-0.3): Inherit from rust-crossbeam-channel-0.4. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e1c421a877..4c50ee5474 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1773,8 +1773,41 @@ intrinsics.") (description "Tools for concurrent programming.") (license (list license:expat license:asl2.0)))) +(define-public rust-crossbeam-channel-0.4 + (package + (name "rust-crossbeam-channel") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossbeam-channel" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "135ncx9680afs8jkjz8g3iq3naay9rn7942gxrdg2n9m1cxrmv5c")))) + (build-system cargo-build-system) + (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)))) + (home-page + "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel") + (synopsis + "Multi-producer multi-consumer channels for message passing") + (description + "Multi-producer multi-consumer channels for message passing.") + (license (list license:expat + license:asl2.0 + license:bsd-2)))) + (define-public rust-crossbeam-channel-0.3 (package + (inherit rust-crossbeam-channel-0.4) (name "rust-crossbeam-channel") (version "0.3.8") (source @@ -1786,7 +1819,6 @@ intrinsics.") (sha256 (base32 "0azpymyk0ld4akrjfy69ck5pzfgz1f2gb3smm2ywld92vsjd23hg")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -1794,16 +1826,7 @@ intrinsics.") ("rust-smallvec" ,rust-smallvec-0.6)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4) - ("rust-signal-hook" ,rust-signal-hook-0.1)))) - (home-page - "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel") - (synopsis - "Multi-producer multi-consumer channels for message passing") - (description - "Multi-producer multi-consumer channels for message passing.") - (license (list license:expat - license:asl2.0 - license:bsd-2)))) + ("rust-signal-hook" ,rust-signal-hook-0.1)))))) (define-public rust-crossbeam-deque-0.7 (package -- cgit 1.4.1 From 9448d0effc5648f4ddad1bce4fe54323af3532a6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Jan 2020 21:42:17 +0200 Subject: gnu: rust-crossbeam-channel-0.3: Update to 0.3.9. * gnu/packages/crates-io.scm (rust-crossbeam-channel-0.3)[arguments]: Remove rust-smallvec-0.6 from cargo-inputs. Add rust-rust-num-cpus-1.10 to cargo-development-inputs. Replace rust-rand-0.4 with 0.6. --- gnu/packages/crates-io.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4c50ee5474..dd75d462f6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1809,7 +1809,7 @@ intrinsics.") (package (inherit rust-crossbeam-channel-0.4) (name "rust-crossbeam-channel") - (version "0.3.8") + (version "0.3.9") (source (origin (method url-fetch) @@ -1818,14 +1818,14 @@ intrinsics.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0azpymyk0ld4akrjfy69ck5pzfgz1f2gb3smm2ywld92vsjd23hg")))) + "1ylyzb1m9qbvd1nd3vy38x9073wdmcy295ncjs7wf7ap476pzv68")))) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) - ("rust-smallvec" ,rust-smallvec-0.6)) + (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.4) + (("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 -- cgit 1.4.1 From 04020a73b3dea169f806d4f0d04cd2505d50efa1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:34:03 -0800 Subject: gnu: Add rust-handlebars-2.0. * gnu/packages/crates-io.scm (rust-handlebars-2.0): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dd75d462f6..f79b5a7bb2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4282,6 +4282,44 @@ 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 + "This package provides handlebars templating implemented in Rust. It is +the template engine that renders the official Rust website") + (license license:expat))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize") -- cgit 1.4.1 From 39bb7b29d96d24f33c242d53fc574933736c51f0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:42:35 -0800 Subject: gnu: Add rust-regex-1.3. * gnu/packages/crates-io.scm (rust-regex-1.3): New variable. (rust-regex-1.1): Inherit from rust-regex-1.3. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f79b5a7bb2..5936d690e9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8619,10 +8619,10 @@ system calls.") "Derive implementation for ref_cast::RefCast.") (license (list license:asl2.0 license:expat)))) -(define-public rust-regex-1.1 +(define-public rust-regex-1.3 (package (name "rust-regex") - (version "1.1.7") + (version "1.3.3") (source (origin (method url-fetch) @@ -8631,7 +8631,7 @@ system calls.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1pabajpp0wzb7dm2x32gy8w7k0mwykr6zsvzn0fgpr6pww40hbqb")))) + "11syqmfvbsah805z6ih8vxf8p6jssdsz1gjsjqcwprz484cqql5m")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -8639,13 +8639,12 @@ system calls.") (("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-0.3) - ("rust-utf8-ranges" ,rust-utf8-ranges-1.0)) + ("rust-thread-local" ,rust-thread-local-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)))) + ("rust-rand" ,rust-rand-0.6)))) (home-page "https://github.com/rust-lang/regex") (synopsis "Regular expressions for Rust") (description @@ -8653,6 +8652,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.1 + (package + (inherit rust-regex-1.3) + (name "rust-regex") + (version "1.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pabajpp0wzb7dm2x32gy8w7k0mwykr6zsvzn0fgpr6pww40hbqb")))) + (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-0.3) + ("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") -- cgit 1.4.1 From 30b36e524af4459decf84ca0011707082c00ac31 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:52:36 -0800 Subject: gnu: Add rust-dirs-2.0. * gnu/packages/crates-io.scm (rust-dirs-2.0): New variable. (rust-dirs-1.0): Inherit from rust-dirs-2.0. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5936d690e9..2589b18e97 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2332,24 +2332,25 @@ hexadecimal, base32, and base64.") "Traits for cryptographic hash functions.") (license (list license:expat license:asl2.0)))) -(define-public rust-dirs-1.0 +(define-public rust-dirs-2.0 (package (name "rust-dirs") - (version "1.0.3") + (version "2.0.2") (source (origin (method url-fetch) (uri (crate-uri "dirs" version)) - (file-name (string-append name "-" version ".crate")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02vigc566z5i6n9wr2x8sch39qp4arn89xhhrh18fhpm3jfc0ygn")))) - (build-system cargo-build-system) + "1qymhyq7w7wlf1dirq6gsnabdyzg6yi2yyxkx6c4ldlkbjdaibhk")))) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-dirs-sys" ,rust-dirs-sys-0.3)))) + (build-system cargo-build-system) (home-page "https://github.com/soc/dirs-rs") (synopsis "Abstractions for standard locations for various platforms") (description @@ -2360,6 +2361,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-1.0 + (package + (inherit rust-dirs-2.0) + (name "rust-dirs") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "dirs" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "02vigc566z5i6n9wr2x8sch39qp4arn89xhhrh18fhpm3jfc0ygn")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-discard-1.0 (package (name "rust-discard") -- cgit 1.4.1 From 27f158ef23fd708a2c31f9f2f2a4e6c6f45761ec Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:55:46 -0800 Subject: gnu: rust-serde-1.0: Update to 1.0.104. * gnu/packages/crates-io.scm (rust-serde-1.0): Update to 1.0.104. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2589b18e97..0749cf31a2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9442,7 +9442,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) @@ -9450,7 +9450,7 @@ proven statistical guarantees.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1p8r24hagcsrl92w5z32nfrg9040qkgqf8iwwnf7mzigpavwk5lp")))) + "0ja4mgw4p42syjk7jkzwhj2yg6llfrfm7vn8rvy7v3c1bzr1aha1")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From ec438ab295703c83029d3d7e760d375c55e4b384 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:56:41 -0800 Subject: gnu: rust-serde-cbor-0.10: Update to 0.10.2. * gnu/packages/crates-io.scm (rust-serde-cbor-0.10): Update 0.10.2. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0749cf31a2..c7bb4129d3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9498,7 +9498,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) @@ -9507,7 +9507,7 @@ proven statistical guarantees.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jcb4j637vdlqk2z38jixaqmp6f92h36r17kclv5brjay32911ii")))) + "0kyizacjabsa78p9f7qvj31zirpnsgsr4zpfv1p6lwpcb3biw27p")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From ea78979dd4460a2f3dd0c49287b68c0045af7c8c Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:59:34 -0800 Subject: gnu: rust-serde-json-1.0: Update to 1.0.44. * gnu/packages/crates-io.scm (rust-serde-json-1.0): Update to 1.0.44. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c7bb4129d3..06a1669dbf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9553,7 +9553,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) @@ -9561,7 +9561,7 @@ proven statistical guarantees.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1hipk84x40454mf599752mi7l08wb8qakz8vd6d3zp57d0mfnwig")))) + "1mysl675nqhzzkbcrqy4x63cbbsrrx3gcc7k8ydx1gajrkh7bia8")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From b6510b1a62b7b20567708db34fa45a6b70d5ebce Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:01:02 -0800 Subject: gnu: rust-serde-yaml-0.8: Update to 0.8.11. * gnu/packages/crates-io.scm (rust-serde-yaml-0.8): Update to 0.8.11. [arguments]: Remove rust-version-sync-0.8 from cargo-development-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 06a1669dbf..72523a9613 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9611,7 +9611,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) @@ -9620,7 +9620,7 @@ proven statistical guarantees.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10mmjpnshgrwij01a13679nxy1hnh5yfr0343kh0y9p5j2d8mc1q")))) + "0d9wdjrlx9gxg80kzc6pvdwz5pwhja2n8n0bxja9vv61kzqif6v9")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -9631,8 +9631,7 @@ proven statistical guarantees.") ("rust-yaml-rust" ,rust-yaml-rust-0.4)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1.0) - ("rust-unindent" ,rust-unindent-0.1) - ("rust-version-sync" ,rust-version-sync-0.8)))) + ("rust-unindent" ,rust-unindent-0.1)))) (home-page "https://github.com/dtolnay/serde-yaml") (synopsis "YAML support for Serde") -- cgit 1.4.1 From cb806c7c63e6c05facd1bb146d54593ba3e43808 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:14:17 -0800 Subject: gnu: Add rust-dirs-sys-0.3. * gnu/packages/crates-io.scm (rust-dirs-sys-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 72523a9613..200147140f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2380,6 +2380,35 @@ Windows, and the Standard Directory guidelines on macOS.") (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-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 + `(#:skip-build? #t + #: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 + "This package provides system-level helper functions for the @code{dirs} +and @code{directories} crates.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-discard-1.0 (package (name "rust-discard") -- cgit 1.4.1 From e320b20650ea02bfdbd8097de2b543a5038bad29 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:22:30 -0800 Subject: gnu: Add rust-blake2-rfc-0.2. * gnu/packages/crates-io.scm (rust-blake2-rfc-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 200147140f..dce7a6daed 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -677,6 +677,35 @@ 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 + `(#:skip-build? #t + #: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 (list license:asl2.0 license:expat)))) + (define-public rust-blas-sys-0.7 (package (name "rust-blas-sys") -- cgit 1.4.1 From b43885e9e25493fd66b90769e99bc6e215ee7ecf Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:19:58 -0800 Subject: gnu: Add rust-redox-users-0.3. * gnu/packages/crates-io.scm (rust-redox-users-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dce7a6daed..4728ecde60 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8647,6 +8647,34 @@ 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-failure" ,rust-failure-0.1) + ("rust-rand-os" ,rust-rand-os-0.1) + ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-rust-argon2" ,rust-rust-argon2-0.5)))) + (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") -- cgit 1.4.1 From 5a9e88c7d174e5936914ab2969fdf061bc977a00 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:29:08 -0800 Subject: gnu: Add rust-term-size-1.0. * gnu/packages/crates-io.scm (rust-term-size-1.0): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4728ecde60..167630e6af 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10828,6 +10828,33 @@ 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 (list license:asl2.0 license:expat)))) + (define-public rust-termcolor-1.0 (package (name "rust-termcolor") -- cgit 1.4.1 From 7a7ff5d36ca523b3b3f69cbd95a72e84d92733d5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:29:33 -0800 Subject: gnu: Add rust-term-size-0.3. * gnu/packages/crates-io.scm (rust-term-size-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 167630e6af..823b54f879 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10855,6 +10855,28 @@ directories.") "Functions for determining terminal sizes and dimensions") (license (list license:asl2.0 license:expat)))) +(define-public rust-term-size-0.3 + (package + (inherit rust-term-size-1.0) + (name "rust-term-size") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "term_size" version)) + (file-name + (string-append name "-" 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") -- cgit 1.4.1 From 77a164a7236ec99f8827e1190f4f6af3fa448d1c Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:14:43 -0800 Subject: gnu: Add rust-argon2rs-0.2. * gnu/packages/crates-io.scm (rust-argon2rs-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 823b54f879..4492f96c55 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -254,6 +254,33 @@ 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 "Rust password hashing library that runs on Argon2") + (description "This package provides a pure Rust password hashing library +that runs on Argon2.") + (license license:expat))) + (define-public rust-arrayvec-0.4 (package (name "rust-arrayvec") -- cgit 1.4.1 From 21f887c3557fb87d63458a68339ed4b315af53c7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 09:58:32 -0800 Subject: gnu: rust-serde-derive-1.0: Update to 1.0.104. * gnu/packages/crates-io.scm (rust-serde-derive-1.0): Update it. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4492f96c55..611283644e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9638,7 +9638,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) @@ -9646,7 +9646,7 @@ proven statistical guarantees.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0bn0wz3j48248187mfmypyqnh73mq734snxxhr05vmgcl51kl4sb")))) + "0r7gjlwfry44b4ylz524ynjp9v3qiwdj4c588lh94aas78q9x3qj")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From ef2f6487d72b6828c60f5f34b5654f5482c41bc4 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 10:38:13 -0800 Subject: gnu: rust-regex-syntax-0.6: Update to 0.6.13. * gnu/packages/crates-io.scm (rust-regex-syntax-0.6): Update to 0.6.13. [arguments]: Remove rust-ucd-util-0.1 from cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 611283644e..9fd5aa7505 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8850,7 +8850,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) @@ -8858,12 +8858,9 @@ 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 - #:cargo-inputs - (("rust-ucd-util" ,rust-ucd-util-0.1)))) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/rust-lang/regex") (synopsis "Regular expression parser") (description -- cgit 1.4.1 From c0e73f92ba4c0dc0218317a4346a2eda4a87d5f8 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 20:01:01 -0800 Subject: gnu: Add rust-rustc-std-workspace-alloc-1.0. * gnu/packages/crates-io.scm (rust-rustc-std-workspace-alloc-1.0): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9fd5aa7505..1d44cb86f6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9025,6 +9025,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 "Rust workspace hack") + (description "This package is a Rust workspace hack.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rustc-std-workspace-core-1.0 (package (name "rust-rustc-std-workspace-core") -- cgit 1.4.1 From 5e5ca33cd9112584032225675d073e6175015c0b Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 20:08:32 -0800 Subject: gnu: Add rust-hashbrown-0.5. * gnu/packages/crates-io.scm (rust-hashbrown-0.5): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1d44cb86f6..3e3082824d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4425,6 +4425,40 @@ IEEE 754-2008 binary16 type.") the template engine that renders the official Rust website") (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.5) + ("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 "Rust port of Google's SwissTable hash map") + (description + "This package provides a Rust port of Google's SwissTable hash map.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-heapsize-0.4 (package (name "rust-heapsize") -- cgit 1.4.1 From 922b65d05ec013693ea54bdf8220048047cd2e04 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:23:07 +0200 Subject: gnu: Add rust-rand-0.5. * gnu/packages/crates-io.scm (rust-rand-0.5): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3e3082824d..8c3c31a28a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8034,6 +8034,35 @@ useful types and distributions, and some randomness-related algorithms.") #:cargo-development-inputs (("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1)))))) +(define-public rust-rand-0.5 + (package + (inherit rust-rand-0.7) + (name "rust-rand") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fdcgja9167hlzkf4g5daqwp498lwiyq7aqm05whklpbsdyc8666")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cloudabi" ,rust-cloudabi-0.0) + ("rust-fuchsia-cprng" ,rust-fuchsia-cprng-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rand-core" ,rust-rand-core-0.3) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0) + ("rust-stdweb" ,rust-stdweb-0.4) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1.1)))))) + (define-public rust-rand-0.4 (package (inherit rust-rand-0.6) -- cgit 1.4.1 From b72648d7f5565e7974d47664ed795b3468b5f54e Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 20:26:32 -0800 Subject: gnu: rust-quick-error-1.2: Update to 1.2.3. * gnu/packages/crates-io.scm (rust-quick-error-1.2): Update to 1.2.3. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c3c31a28a..5691d948a3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7885,7 +7885,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) @@ -7893,7 +7893,7 @@ in terms of the upstream unstable API.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j")))) + "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51")))) (build-system cargo-build-system) (home-page "https://github.com/tailhook/quick-error") (synopsis "Macro which makes error types pleasant to write") -- cgit 1.4.1 From a62d3de70421fb7edc81b183461316a6a7c449e0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 20:25:35 -0800 Subject: 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. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5691d948a3..203f725816 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7895,11 +7895,11 @@ in terms of the upstream unstable API.") (base32 "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51")))) (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)))) -- cgit 1.4.1 From 8eeb7794bac7b8cfbb6ea156b347d88ace90326c Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 21:42:07 -0800 Subject: gnu: rust-cc-1.0: Update to 1.0.50. * gnu/packages/crates-io.scm (rust-cc-1.0): Update to 1.0.50. [arguments]: Remove rust-rayon-1.1 from cargo-inputs, add rust-jobserver-0.1. Remove rust-tempdir-0.3 from cargo-development-inputs, add rust-tempfile-3.1. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 203f725816..c3f0f27c61 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1146,7 +1146,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) @@ -1154,14 +1154,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 -- cgit 1.4.1 From 874a5bc61daf310c99fa642fec4ec17552a81a09 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:28:54 -0800 Subject: gnu: Add rust-tokio-signal-0.2. * gnu/packages/crates-io.scm (rust-tokio-signal-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c3f0f27c61..5b9f3498c0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11537,6 +11537,42 @@ 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 + `(#:skip-build? #t + #: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") -- cgit 1.4.1 From 7fcc421e8a40dfafa79611373d4d65fb7e57dee9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:29:35 -0800 Subject: gnu: Add rust-tokio-process-0.2. * gnu/packages/crates-io.scm (rust-tokio-process-0.2): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5b9f3498c0..a77246f4b1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11498,6 +11498,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") -- cgit 1.4.1 From 272004aee52d492a538a243e4387b10628fc8f86 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:21:51 -0800 Subject: gnu: Add rust-mio-named-pipes-0.1. * gnu/packages/crates-io.scm (rust-mio-named-pipes-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a77246f4b1..f4f32a79fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6057,6 +6057,36 @@ 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.4) + ("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/alexcrichton/mio-named-pipes") + (synopsis "Windows named pipe bindings for mio") + (description + "A library for integrating Windows Named Pipes with mio.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-mio-uds-0.6 (package (name "rust-mio-uds") -- cgit 1.4.1 From 2f1fe591d1073465f05a73e21b10ee653c138c40 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:32:49 +0200 Subject: gnu: Add rust-env-logger-0.4. * gnu/packages/crates-io.scm (rust-env-logger-0.4): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f4f32a79fd..c3f32d0b32 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2938,6 +2938,27 @@ is configured via an environment variable.") ("rust-regex" ,rust-regex-1.1) ("rust-termcolor" ,rust-termcolor-1.0)))))) +(define-public rust-env-logger-0.4 + (package + (inherit rust-env-logger-0.7) + (name "rust-env-logger") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "env-logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nydz2lidsvx9gs0v2zcz68rzqx8in7fzmiprgsrhqh17vkj3prx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-log" ,rust-log-0.3) + ("rust-regex" ,rust-regex-0.2)))))) + (define-public rust-envmnt-0.6 (package (name "rust-envmnt") -- cgit 1.4.1 From 5381d5c49ff8b3637a791cfbaedd5a4583c1bb5c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:35:21 +0200 Subject: gnu: Add rust-regex-0.2. * gnu/packages/crates-io.scm (rust-regex-0.2): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c3f32d0b32..2bd3367a97 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8927,6 +8927,34 @@ uses finite automata and guarantees linear time matching on all inputs.") ("rust-quickcheck" ,rust-quickcheck-0.8) ("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-regex-0.2 + (package + (inherit rust-regex-1.3) + (name "rust-regex") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1163ir1k5zjspirfjl4wqbviwrxlhmfwy95xxb69y4irkv4snack")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aho-corasick" ,rust-aho-corasick-0.6) + ("rust-memchr" ,rust-memchr-2.2) + ("rust-regex-syntax" ,rust-regex-syntax-0.5) + ("rust-thread-local" ,rust-thread-local-0.3) + ("rust-utf8-ranges" ,rust-utf8-ranges-1.0)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4)))))) + (define-public rust-regex-automata-0.1 (package (name "rust-regex-automata") -- cgit 1.4.1 From d304015f22aa83ce7c414b5c88b04156f3e176c5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:38:20 +0200 Subject: gnu: Add rust-aho-corasick-0.6. * gnu/packages/crates-io.scm (rust-aho-corasick-0.6.): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2bd3367a97..152bff7d40 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -151,6 +151,33 @@ Rust, using gimli.") "Fast multiple substring searching.") (license (list license:unlicense license:expat)))) +(define-public rust-aho-corasick-0.6 + (package + (inherit rust-aho-corasick-0.7) + (name "rust-aho-corasick") + (version "0.6.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "aho-corasick" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19f8v503ibvlyr824g5ynicrh1lsmp2i0zmpszr8lqay0qw3vkl1")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-memchr" ,rust-memchr-2.2)) + #:cargo-development-inputs + (("rust-csv" ,rust-csv-1.1) + ("rust-docopt" ,rust-docopt-1.1) + ("rust-memmap" ,rust-memmap-0.6) + ("rust-quickcheck" ,rust-quickcheck-0.7) + ("rust-rand" ,rust-rand-0.5) + ("rust-serde" ,rust-serde-1.0) + ("rust-serde-derive" ,rust-serde-derive-1.0)))))) + (define-public rust-ansi-term-0.11 (package (name "rust-ansi-term") -- cgit 1.4.1 From efbfc7e86c024abc044aa936560ad9d7d7610167 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:40:27 +0200 Subject: gnu: Add rust-quickcheck-0.7. * gnu/packages/crates-io.scm (rust-quickcheck-0.7): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 152bff7d40..284931aa5f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8012,6 +8012,28 @@ to write.") "Automatic property based testing with shrinking.") (license (list license:expat license:unlicense)))) +(define-public rust-quickcheck-0.7 + (package + (inherit rust-quickcheck-0.8) + (name "rust-quickcheck") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05pqzja6fwdyrs1za5vmxb9ifb993knmpdsrs1fs2wyz9qz7slyl")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.5) + ("rust-rand-core" ,rust-rand-core-0.2)))))) + (define-public rust-quote-1.0 (package (name "rust-quote") -- cgit 1.4.1 From 54af2e59e29b58fe6a47355367a7a8d386c9c795 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:42:42 +0200 Subject: gnu: Add rust-env-logger-0.5. * gnu/packages/crates-io.scm (rust-env-logger-0.5): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 284931aa5f..54ac96045a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2965,6 +2965,28 @@ is configured via an environment variable.") ("rust-regex" ,rust-regex-1.1) ("rust-termcolor" ,rust-termcolor-1.0)))))) +(define-public rust-env-logger-0.5 + (package + (inherit rust-env-logger-0.7) + (name "rust-env-logger") + (version "0.5.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "env-logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f0c4i4c65jh8lci0afl5yg74ac0lbnpxcp81chj114zwg9a9c0m")))) + (arguments + `(#:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-humantime" ,rust-humantime-1.2) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1.1) + ("rust-termcolor" ,rust-termcolor-1.0)))))) + (define-public rust-env-logger-0.4 (package (inherit rust-env-logger-0.7) -- cgit 1.4.1 From 790c528525aa31839752ba3d59b1cc4c0e4c10de Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:44:57 +0200 Subject: gnu: Add rust-rand-core-0.2. * gnu/packages/crates-io.scm (rust-rand-core-0.2): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 54ac96045a..e096a77067 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8333,6 +8333,25 @@ useful types and distributions, and some randomness-related algorithms.") `(#:skip-build? #t #:cargo-inputs (("rand-core" ,rust-rand-core-0.4)))))) +(define-public rust-rand-core-0.2 + (package + (inherit rust-rand-core-0.5) + (name "rust-rand-core") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand-core" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wikbw2a36bz8ywjyycjrd7db6ra3yzj14zs1ysxz2fiqhia8q8r")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.3)))))) + (define-public rust-rand-hc-0.2 (package (name "rust-rand-hc") -- cgit 1.4.1 From 010ea34f7da6dbb390e48dd3f3a318201ac6bfa7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:47:19 +0200 Subject: gnu: Add rust-regex-syntax-0.5. * gnu/packages/crates-io.scm (rust-regex-syntax-0.5): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e096a77067..1c06dd99bf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9100,6 +9100,25 @@ uses finite automata and guarantees linear time matching on all inputs.") (license (list license:asl2.0 license:expat)))) +(define-public rust-regex-syntax-0.5 + (package + (inherit rust-regex-syntax-0.6) + (name "rust-regex-syntax") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-syntax" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19zp25jr3dhmclg3qqjk3bh1yrn7bqi05zgr5v52szv3l97plw3x")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ucd-util" ,rust-ucd-util-0.1)))))) + (define-public rust-remove-dir-all-0.5 (package (name "rust-remove-dir-all") -- cgit 1.4.1 From 7353994bad8c0b9eff31e36e612dc8951c832839 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 21:49:03 +0200 Subject: gnu: Add rust-quickcheck-0.6. * gnu/packages/crates-io.scm (rust-quickcheck-0.6): New variable. --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1c06dd99bf..738d8aecf7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2980,7 +2980,8 @@ is configured via an environment variable.") (base32 "0f0c4i4c65jh8lci0afl5yg74ac0lbnpxcp81chj114zwg9a9c0m")))) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-atty" ,rust-atty-0.2) ("rust-humantime" ,rust-humantime-1.2) ("rust-log" ,rust-log-0.4) @@ -8056,6 +8057,27 @@ to write.") ("rust-rand" ,rust-rand-0.5) ("rust-rand-core" ,rust-rand-core-0.2)))))) +(define-public rust-quickcheck-0.6 + (package + (inherit rust-quickcheck-0.8) + (name "rust-quickcheck") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dyazm2fcq0v9fscq1a7597zsvdl9f0j8c2bfj1jm2nlzz2sn6y0")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.4)))))) + (define-public rust-quote-1.0 (package (name "rust-quote") -- cgit 1.4.1 From 66d4d23a0db21eccd59a23684b4b680ddb8ccd55 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:08:50 -0800 Subject: gnu: Add rust-tokio-core-0.1. * gnu/packages/crates-io.scm (rust-tokio-core-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 738d8aecf7..9a72a5ca9a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11543,6 +11543,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.4) + ("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") -- cgit 1.4.1 From 04d924db0c18aac3e54c6b1f0ebce002ce03c842 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:30:20 -0800 Subject: gnu: Add rust-jobserver-0.1. * gnu/packages/crates-io.scm (rust-jobserver-0.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9a72a5ca9a..c72d082213 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5153,6 +5153,36 @@ 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") -- cgit 1.4.1 From b94c6ac38e60de342265165e219167236f3fee6a Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:39:28 -0800 Subject: gnu: rust-pest-generator-2.1: Update dependencies. * gnu/packages/crates-io.scm (rust-pest-generator-2.1)[arguments]: Replace rust-quote-1.0 with 0.6 in cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c72d082213..500ec9defb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7473,7 +7473,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") -- cgit 1.4.1 From 2760345fe9214b151e1cafd971278d011456573b Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 22:43:45 -0800 Subject: gnu: rust-pest-meta-2.1: Update dependencies. * gnu/packages/crates-io.scm (rust-pest-meta-2.1)[arguments]: Move rust-sha-1-0.8 from cargo-development-inputs to cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 500ec9defb..13c429e4e2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7498,9 +7498,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 -- cgit 1.4.1 From 699c454945e30edfa37ac3cf6c4b10e8be40443c Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 19:48:27 -0800 Subject: gnu: rust-pest-meta-2.1: Update to 2.1.2. * gnu/packages/crates-io.scm (rust-pest-meta-2.1): Update to 2.1.2. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 13c429e4e2..5d169872fc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7483,7 +7483,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) @@ -7492,7 +7492,7 @@ algorithm.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0kaprdz3jis9bjfwhri1zncbsvack5m3gx2g5flspdy7wxnyljgj")))) + "0iymvrh7lcfi8iarkgq0hwgarr00np3l4xg4bx42rmvgi6czshyz")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- cgit 1.4.1 From 05f8588c2d921e64329c304d6ea5702a6147be8b Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 19:46:25 -0800 Subject: gnu: rust-pest-generator-2.1: Update to 2.1.1. * gnu/packages/crates-io.scm (rust-pest-generator-2.1): Update to 2.1.1. [arguments]: In cargo-inputs replace rust-proc-macro2-0.4 with 1.0, rust-quote-0.6 with 1.0, rust-syn-0.15 with 1.0. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5d169872fc..9bd96e7d4a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7456,7 +7456,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) @@ -7465,16 +7465,16 @@ algorithm.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ipnv77lqhj4d4fpfxi8m168lcjp482kszaknlardmpgqiv0a4k3")))) + "1h3z8jccki87mn7gppy4292s1ah98z4md998w5pd04jpkclwz7vv")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("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-0.6) - ("rust-syn" ,rust-syn-0.15)))) + ("rust-proc-macro2" ,rust-proc-macro2-1.0) + ("rust-quote" ,rust-quote-1.0) + ("rust-syn" ,rust-syn-1.0)))) (home-page "https://pest.rs/") (synopsis "Pest code generator") (description "Pest code generator.") -- cgit 1.4.1 From c8a2b343d37479c4b8a82e7bec9cab27139bf3ea Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 15 Jan 2020 23:48:33 -0800 Subject: gnu: rust-kernel32-sys-0.2: Update dependencies. * gnu/packages/crates-io.scm (rust-kernel32-sys-0.2)[arguments]: Move rust-winapi-build-0.1 from cargo-development-inputs to cargo-inputs. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9bd96e7d4a..c8fe7597d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5308,9 +5308,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 -- cgit 1.4.1 From 8f414fa29dc54a40fdfa94a897eda0795f6cb355 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 20:36:53 -0800 Subject: gnu: Add rust-arrayref-0.3. * gnu/packages/crates-io.scm (rust-arrayref-0.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c8fe7597d2..7bbaf60324 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -308,6 +308,30 @@ text or blue underlined text, on ANSI terminals.") 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.6)))) + (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") -- cgit 1.4.1 From d9b2c855bfaeacbe02321b92705653a2b613551d Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 19:59:26 -0800 Subject: gnu: Add rust-thread-local-1.0. * gnu/packages/crates-io.scm (rust-thread-local-1.0): New variable. (rust-thread-local-0.3): Inherit from rust-thread-local-1.0. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7bbaf60324..e001c8bbbb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11413,10 +11413,10 @@ different for every thread.") (license (list license:asl2.0 license:expat)))) -(define-public rust-thread-local-0.3 +(define-public rust-thread-local-1.0 (package (name "rust-thread-local") - (version "0.3.6") + (version "1.0.1") (source (origin (method url-fetch) @@ -11424,7 +11424,7 @@ different for every thread.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))) + "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l")))) (build-system cargo-build-system) (home-page "https://github.com/Amanieu/thread_local-rs") (synopsis "Per-object thread-local storage") @@ -11433,6 +11433,20 @@ different for every thread.") (license (list license:asl2.0 license:expat)))) +(define-public rust-thread-local-0.3 + (package + (inherit rust-thread-local-1.0) + (name "rust-thread-local") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "thread_local" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))))) + (define-public rust-threadpool-1.7 (package (name "rust-threadpool") -- cgit 1.4.1 From 27b75426c50078574d1d41fa0e24e992fe7ae869 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 19:57:17 -0800 Subject: gnu: rust-thread-local-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-thread-local-0.3)[arguments]: Skip build. Add rust-lazy-static-1.4 to cargo-inputs. [properties]: Don't inherit field. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e001c8bbbb..e7d377de3a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11445,7 +11445,11 @@ different for every thread.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))))) + "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1.4)))) + (properties '()))) (define-public rust-threadpool-1.7 (package -- cgit 1.4.1 From 0f414f0da94f5199fc4f7dc93d7adc22b938ac74 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 20 Jan 2020 22:21:13 +0200 Subject: gnu: rust-thread-local-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-thread-local-1.0)[arguments]: Skip build. Add rust-lazy-static-1.4 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e7d377de3a..e70b869ea4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11426,10 +11426,12 @@ different for every thread.") (base32 "054vlrr1vsdy1h4b7n99mr24pnj8928ig9qwzg36wnkld4dns36l")))) (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))) + (description "Per-object thread-local storage.") (license (list license:asl2.0 license:expat)))) @@ -11448,8 +11450,7 @@ different for every thread.") "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6")))) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1.4)))) - (properties '()))) + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1.4)))))) (define-public rust-threadpool-1.7 (package -- cgit 1.4.1 From 5624b4292dba85cecf6c98c9016772a370c71e40 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 20:40:00 -0800 Subject: gnu: Add rust-arrayvec-0.5. * gnu/packages/crates-io.scm (rust-arrayvec-0.5): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e70b869ea4..bbe7e9afec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -332,10 +332,10 @@ that runs on Argon2.") "Macros to take array references of slices.") (license license:bsd-2))) -(define-public rust-arrayvec-0.4 +(define-public rust-arrayvec-0.5 (package (name "rust-arrayvec") - (version "0.4.10") + (version "0.5.1") (source (origin (method url-fetch) @@ -344,13 +344,12 @@ that runs on Argon2.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wcch3ca9qvkixgdbd2afrv1xa27l83vpraf7frsh9l8pivgpiwj")))) + "1f5mca8kiiwhvhxd1mbnq68j6v6rk139sch567zwwzl6hs37vxyg")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-nodrop" ,rust-nodrop-0.1) - ("rust-serde" ,rust-serde-1.0)) + (("rust-serde" ,rust-serde-1.0)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) ("rust-matches" ,rust-matches-0.1) @@ -363,6 +362,30 @@ 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.4 + (package + (inherit rust-arrayvec-0.5) + (name "rust-arrayvec") + (version "0.4.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrayvec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wcch3ca9qvkixgdbd2afrv1xa27l83vpraf7frsh9l8pivgpiwj")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-nodrop" ,rust-nodrop-0.1) + ("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") -- cgit 1.4.1 From f8607be8a834607f69dd9be9b3790e35bad8951e Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 20:41:54 -0800 Subject: gnu: Add rust-blake2b-simd-0.5. * gnu/packages/crates-io.scm (rust-blake2b-simd-0.5): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bbe7e9afec..a10021c16c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -807,6 +807,33 @@ behave like a set of bitflags.") 7693.") (license (list 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 + "This package provides a pure Rust implementation of the BLAKE2b and +BLAKE2bp hash functions.") + (license license:expat))) + (define-public rust-blas-sys-0.7 (package (name "rust-blas-sys") -- cgit 1.4.1 From 72803f5cd28669f0854d516204a9ecf84e781a13 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 16 Jan 2020 20:42:34 -0800 Subject: gnu: Add rust-rust-argon2-0.5. * gnu/packages/crates-io.scm (rust-rust-argon2-0.5): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a10021c16c..fb0d7ea10a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9325,6 +9325,34 @@ 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 "This package contans a 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") -- cgit 1.4.1 From 6dc67c2d11895f3516117a06b741690aed517784 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 12:10:50 +0200 Subject: gnu: rust-failure-derive-0.1: Fix inputs. * gnu/packages/crates-io.scm (rust-failure-derive-0.1)[arguments]: Replace rust-quote-1.0 with 0.6 in cargo-inputs. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fb0d7ea10a..3bf5d54020 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3276,7 +3276,7 @@ is configured via an environment variable.") `(#:skip-build? #t #:cargo-inputs (("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) ("rust-synstructure" ,rust-synstructure-0.10)) #:cargo-development-inputs -- cgit 1.4.1 From 0c8538545036cfadd548e2c0afeca71d7e63c7fd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 13:07:11 +0200 Subject: gnu: rust-libgit2-sys-0.10: Don't hide package. * gnu/packages/crates-io.scm (rust-libgit2-sys-0.10)[arguments]: Add rust-libc-0.2, rust-libz-sys-1.0, rust-libssh2-sys-0.2, rust-openssl-sys-0.9, rust-cc-1.0, rust-pkg-config-0.3 to cargo-inputs. Add custom phase to unbundle vendored sources and set environment variables. [native-inputs]: Add libgit2, openssl, pkg-config, zlib. [properties]: Remove field. --- gnu/packages/crates-io.scm | 68 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 21 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3bf5d54020..60664e3e17 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25,7 +25,11 @@ #:use-module (guix build-system cargo) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages)) + #:use-module (guix packages) + #:use-module (gnu packages compression) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control)) ;;; ;;; Please: Try to add new module packages in alphabetic order. @@ -5567,28 +5571,46 @@ values of all the exported APIs match the platform that libc is compiled for.") (base32 "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r")))) (build-system cargo-build-system) - ;(arguments - ; `(#:phases - ; (modify-phases %standard-phases - ; (add-after 'unpack 'find-openssl - ; (lambda* (#:key inputs #:allow-other-keys) - ; (let ((openssl (assoc-ref inputs "openssl"))) - ; (setenv "OPENSSL_DIR" openssl)) - ; (delete-file-recursively "libgit2") - ; (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1") - ; (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") - ; #t))))) - ;(native-inputs - ; `(("pkg-config" ,pkg-config))) - ;(inputs - ; `(("libgit2" ,libgit2) - ; ("openssl" ,openssl) - ; ("zlib" ,zlib))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-libz-sys" ,rust-libz-sys-1.0) + ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1.0) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'dont-vendor-sources + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + (delete-file-recursively "libgit2") + (delete-file-recursively + (string-append "guix-vendor/rust-libgit2-sys-" + ,(package-version rust-libgit2-sys-0.10) + ".crate/libgit2")) + (delete-file-recursively + (string-append "guix-vendor/rust-libz-sys-" + ,(package-version rust-libz-sys-1.0) + ".crate/src/zlib")) + (delete-file-recursively + (string-append "guix-vendor/rust-libssh2-sys-" + ,(package-version rust-libssh2-sys-0.2) + ".crate/libssh2")) + (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1") + (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") + #t))))) + (native-inputs + `(("libgit2" ,libgit2) + ("openssl" ,openssl) + ("pkg-config" ,pkg-config) + ("zlib" ,zlib))) (home-page "https://github.com/rust-lang/git2-rs") (synopsis "Native bindings to the libgit2 library") (description "This package provides native rust bindings to the @code{libgit2} library.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -5604,7 +5626,9 @@ values of all the exported APIs match the platform that libc is compiled for.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")))))) + "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")))) + (arguments '()) + (properties '((hidden? . #t))))) (define-public rust-libgit2-sys-0.7 (package @@ -5618,7 +5642,9 @@ values of all the exported APIs match the platform that libc is compiled for.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28")))))) + "1wcvg2qqra2aviasvqcscl8gb2rnjnd6h998wy5dlmf2bnriqi28")))) + (arguments '()) + (properties '((hidden? . #t))))) (define-public rust-libloading-0.5 (package -- cgit 1.4.1 From d7364e85e05a3faae0542d1b6470657863b11410 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 13:13:08 +0200 Subject: gnu: rust-libssh2-sys-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-libssh2-sys-0.2)[arguments]: Add rust-libc-0.2, rust-libz-sys-1.0, rust-openssl-sys-0.9, rust-cc-1.0, rust-pkg-config-0.3, rust-vcpkg-0.2 to cargo-inputs. Add custom phase to unbundle vendored sources and set environment variables. [native-inputs]: Add libssh2, openssl, pkg-config, zlib. [properties]: Remove field. --- gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 17 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 60664e3e17..5c6d760208 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28,6 +28,7 @@ #:use-module (guix packages) #:use-module (gnu packages compression) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages ssh) #:use-module (gnu packages tls) #:use-module (gnu packages version-control)) @@ -5688,27 +5689,42 @@ functions and static variables these libraries contain.") (base32 "1zb6gsw795nq848nk5x2smzpfnn1s15wjlzjnvr8ihlz2l5x2549")))) (build-system cargo-build-system) - ;(arguments - ; `(#:phases - ; (modify-phases %standard-phases - ; (add-after 'unpack 'find-openssl - ; (lambda* (#:key inputs #:allow-other-keys) - ; (let ((openssl (assoc-ref inputs "openssl"))) - ; (setenv "OPENSSL_DIR" openssl)) - ; (delete-file-recursively "libssh2") - ; (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") - ; #t))))) - ;(native-inputs - ; `(("pkg-config" ,pkg-config))) - ;(inputs - ; `(("libssh2" ,libssh2) - ; ("openssl" ,openssl) - ; ("zlib" ,zlib))) + (arguments + `(#:skip-build? #t ; it wants rust-openssl-src + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-libz-sys" ,rust-libz-sys-1.0) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1.0) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'dont-vendor-sources + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + (delete-file-recursively "libssh2") + (delete-file-recursively + (string-append "guix-vendor/rust-libssh2-sys-" + ,(package-version rust-libssh2-sys-0.2) + ".crate/libssh2")) + (delete-file-recursively + (string-append "guix-vendor/rust-libz-sys-" + ,(package-version rust-libz-sys-1.0) + ".crate/src/zlib")) + (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") + #t))))) + (native-inputs + `(("libssh2" ,libssh2) + ("openssl" ,openssl) + ("pkg-config" ,pkg-config) + ("zlib" ,zlib))) (home-page "https://github.com/alexcrichton/ssh2-rs") (synopsis "Native bindings to the libssh2 library") (description "This package provides native rust bindings to the @code{libssh2} library.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 128aa31fe6255caf7bb7fabdca0ea4f695eaca41 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 13:20:00 +0200 Subject: gnu: rust-openssl-sys-0.9: Don't hide package. * gnu/packages/crates-io.scm (rust-openssl-sys-0.9)[arguments]: Add rust-libc-0.2, rust-autocfg-0.1, rust-cc-1.0, rust-pkg-config-0.3, rust-vcpkg-0.2 to cargo-inputs. Add custom phase to find packaged openssl. [native-inputs]: Add openssl, pkg-config. [properties]: Remove field. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5c6d760208..18b31bbb91 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7035,22 +7035,30 @@ system for OpenSSL.") (sha256 (base32 "0vvk8vzrc73y8n5rf4yj3x8ygyxjaz7wxrbxiwqi7qy0gyp1cpa6")))) (build-system cargo-build-system) - ;(arguments - ; `(#:phases - ; (modify-phases %standard-phases - ; (add-after 'unpack 'find-openssl - ; (lambda* (#:key inputs #:allow-other-keys) - ; (let ((openssl (assoc-ref inputs "openssl"))) - ; (setenv "OPENSSL_DIR" openssl)) - ; #t))))) - ;(inputs - ; `(("openssl" ,openssl) - ; ("pkg-config" ,pkg-config))) + (arguments + `(#:skip-build? #t ; it wants rust-openssl-src + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ;; Build dependencies: + ("rust-autocfg" ,rust-autocfg-0.1) + ("rust-cc" ,rust-cc-1.0) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ;("rust-openssl-src" ,rust-openssl-src-111) + ("rust-vcpkg" ,rust-vcpkg-0.2)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))) + (native-inputs + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "FFI bindings to OpenSSL") (description "This package provides FFI bindings to OpenSSL for use in rust crates.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-ordermap-0.3 -- cgit 1.4.1 From 16a5dfdc3cf596fb7cf9b5e474825067fb5bcf07 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 14:48:34 +0200 Subject: gnu: rust-libssh2-sys-0.2: Update to 0.2.14. * gnu/packages/crates-io.scm (rust-libssh2-sys-0.2): Update to 0.2.14. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 18b31bbb91..3e2a2f5104 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5679,7 +5679,7 @@ functions and static variables these libraries contain.") (define-public rust-libssh2-sys-0.2 (package (name "rust-libssh2-sys") - (version "0.2.12") + (version "0.2.14") (source (origin (method url-fetch) @@ -5687,7 +5687,7 @@ functions and static variables these libraries contain.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "1zb6gsw795nq848nk5x2smzpfnn1s15wjlzjnvr8ihlz2l5x2549")))) + "042gsgbvxgm5by4mk906j3zm4qdvzcfhjxrb55is1lrr6f0nxain")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; it wants rust-openssl-src -- cgit 1.4.1 From 33d69d20ad4d3b93848c60c8102a16a3b2f0746a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:04:07 +0200 Subject: gnu: Add rust-quickcheck-0.5. * gnu/packages/crates-io.scm (rust-quickcheck-0.5): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3e2a2f5104..82aec47db1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8231,6 +8231,26 @@ to write.") ("rust-log" ,rust-log-0.4) ("rust-rand" ,rust-rand-0.4)))))) +(define-public rust-quickcheck-0.5 + (package + (inherit rust-quickcheck-0.8) + (name "rust-quickcheck") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jzm1ygfbn4igaq14b9nipc8yvsn6c8panpgd1qiy5r2insjllyd")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.4) + ("rust-log" ,rust-log-0.3) + ("rust-rand" ,rust-rand-0.3)))))) + (define-public rust-quote-1.0 (package (name "rust-quote") -- cgit 1.4.1 From b86409a76fcdf8e1637505e55e7dc8c1baaf133d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:06:40 +0200 Subject: gnu: rust-unicode-segmentation-1.3: Fix inputs. * gnu/packages/crates-io.scm (rust-unicode-segmentation-1.3)[arguments]: Replace rust-quickcheck-0.8 with 0.7 in cargo-development-inputs. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82aec47db1..d40b50c8c4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12715,7 +12715,7 @@ described in Unicode Standard Annex #15.") (arguments `(#:skip-build? #t #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.8)))) + (("rust-quickcheck" ,rust-quickcheck-0.7)))) (home-page "https://github.com/unicode-rs/unicode-segmentation") (synopsis "Grapheme Cluster, Word and Sentence boundaries") (description -- cgit 1.4.1 From a8a5cc6841c1b45f58303eb0f7d97e4b7e1d49c8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:24:31 +0200 Subject: gnu: Add rust-heck-0.3. * gnu/packages/crates-io.scm (rust-heck-0.3): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d40b50c8c4..831c4959c1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4674,6 +4674,32 @@ heap.") total runtime size of an object on the heap") (license license:mpl2.0))) +(define-public rust-heck-0.3 + (package + (name "rust-heck") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "heck" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "01a2v7yvkiqxakdqz4hw3w3g4sm52ivz9cs3qcsv2arxsmw4wmi0")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-unicode-segmentation" ,rust-unicode-segmentation-1.3)))) + (home-page "https://github.com/withoutboats/heck") + (synopsis "Case conversion library") + (description + "This library exists to provide case conversion between common cases like +CamelCase and snake_case. It is intended to be unicode aware, internally +consistent, and reasonably well performing.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-hex-0.4 (package (name "rust-hex") -- cgit 1.4.1 From 2e1100f377bd32994a23ec26207edfa92e6a0074 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:26:30 +0200 Subject: gnu: Add rust-matrixmultiply-0.1. * gnu/packages/crates-io.scm (rust-matrixmultiply-0.1): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 831c4959c1..0be0136a31 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6014,6 +6014,33 @@ whether an expression matches a pattern.") (properties '((hidden? . #t))) (license license:expat))) +(define-public rust-matrixmultiply-0.1 + (package + (name "rust-matrixmultiply") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "matrixmultiply" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "00p0fpjhm45qdzi37mgv7ggsy8b9gqvq4999yrbgyn1dxkf6gbfw")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://github.com/bluss/matrixmultiply/") + (synopsis "General matrix multiplication for f32 and f64 matrices") + (description "General matrix multiplication for f32 and f64 matrices. +Operates on matrices with general layout (they can use arbitrary row and column +stride). Detects and uses AVX or SSE2 on x86 platforms transparently for higher +performance. Uses a microkernel strategy, so that the implementation is easy to +parallelize and optimize.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-md5-0.6 (package (name "rust-md5") -- cgit 1.4.1 From af996d9086d875d0f06acbecf5176ffb94f8e015 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:28:18 +0200 Subject: gnu: rust-permutohedron-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-permutohedron-0.2)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0be0136a31..57319c73f8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7571,13 +7571,13 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (base32 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/bluss/permutohedron") (synopsis "Generate permutations of sequences") (description "Generate permutations of sequences. Either lexicographical order permutations, or a minimal swaps permutation sequence implemented using Heap's algorithm.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 328df292aa45226b9a53a7bf6d23f4f4d707a3ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:44:06 +0200 Subject: gnu: rust-lzma-sys-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-lzma-sys-0.1)[arguments]: Add rust-libc-0.2, rust-cc-1.0, rust-pkg-config-0.3 to cargo-inputs. Add custom phase to delete vendored code. [native-inputs]: Add pkg-config, xz. [properties]: Remove field. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 57319c73f8..4f1505e6fc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5898,23 +5898,29 @@ functions and static variables these libraries contain.") (base32 "14gyj256yh0wm77jbvmlc39v7lfn0navpfrja4alczarzlc8ir2k")))) (build-system cargo-build-system) - ;(arguments - ; `(#:phases - ; (modify-phases %standard-phases - ; (add-after 'unpack 'unbundle-xz - ; (lambda* (#:key inputs #:allow-other-keys) - ; (let ((xz (assoc-ref inputs "xz"))) - ; (delete-file-recursively "xz-5.2")) - ; #t))))) - ;(inputs - ; `(("pkg-config" ,pkg-config) - ; ("xz" ,xz))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-cc" ,rust-cc-1.0) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'unbundle-xz + (lambda _ + (delete-file-recursively "xz-5.2") + (delete-file-recursively + (string-append "guix-vendor/rust-lzma-sys-" + ,(package-version rust-lzma-sys-0.1) + ".crate/xz-5.2")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("xz" ,xz))) (home-page "https://github.com/alexcrichton/xz2-rs") (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding") (description "This package contains the raw bindings to liblzma which contains an implementation of LZMA and xz stream encoding/decoding.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 3977728026ff0e480732b45d3f761732cad1d470 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:45:53 +0200 Subject: gnu: rust-maplit-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-maplit-1.0)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4f1505e6fc..2bee5e1dbf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5958,11 +5958,11 @@ implementation of LZMA and xz stream encoding/decoding.") (base32 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/bluss/maplit") (synopsis "Collection of Map macros") (description "This crate provides a collection of @code{literal} macros for @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 132c15ae9cbdc59b0b7bd28b492e024fce3eeb10 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:46:33 +0200 Subject: gnu: rust-maplit-1.0: Upgrade to 1.0.2. * gnu/packages/crates-io.scm (rust-maplit-1.0): Upgrade to 1.0.2. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2bee5e1dbf..8605cc4520 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5948,7 +5948,7 @@ implementation of LZMA and xz stream encoding/decoding.") (define-public rust-maplit-1.0 (package (name "rust-maplit") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) @@ -5956,7 +5956,7 @@ implementation of LZMA and xz stream encoding/decoding.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8")))) + "07b5kjnhrrmfhgqm9wprjw8adx6i225lqp49gasgqg74lahnabiy")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/bluss/maplit") -- cgit 1.4.1 From 5b7856ecd0df6bc4c663bc3c143136f3e8969add Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:49:00 +0200 Subject: gnu: rust-matches-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-matches-0.1)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8605cc4520..04808c4f2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6013,11 +6013,11 @@ implementation of LZMA and xz stream encoding/decoding.") (base32 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/SimonSapin/rust-std-candidates") - (synopsis "Macro to evaluate whether an expression matches a pattern.") + (synopsis "Macro to evaluate whether an expression matches a pattern") (description "This package provides a macro to evaluate, as a boolean, whether an expression matches a pattern.") - (properties '((hidden? . #t))) (license license:expat))) (define-public rust-matrixmultiply-0.1 -- cgit 1.4.1 From e61dc8d0d7d5c2f2543bcff974333c5973a10558 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:51:01 +0200 Subject: gnu: rust-md5-0.6: Don't hide package. * gnu/packages/crates-io.scm (rust-md5-0.6)[arguments]: Skip build. [properties]: Remove field. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 04808c4f2e..a45d6e49a4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6060,10 +6060,10 @@ parallelize and optimize.") (base32 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy")))) (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/stainless-steel/md5") (synopsis "MD5 hash function in Rust") (description "The package provides the MD5 hash function.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 161095512cd68c8fc9961587d167d1e097c4e546 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:53:49 +0200 Subject: gnu: rust-memmap-0.7: Don't hide package. * gnu/packages/crates-io.scm (rust-memmap-0.7)[arguments]: Skip build. Add rust-libc-0.2, rust-winapi-0.3 to cargo-inputs. Add rust-tempdir-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a45d6e49a4..168e6d131f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6122,12 +6122,18 @@ for searching bytes.") (base32 "0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) (home-page "https://github.com/danburkert/memmap-rs") (synopsis "Rust library for cross-platform memory mapped IO") (description "This package provides a cross-platform Rust API for memory-mapped file IO.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 4a2590f0588a21647a690e0b995f102d32d8a7b5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:56:45 +0200 Subject: gnu: rust-mime-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-mime-0.3)[arguments]: Skip build. Add rust-unicase-2.4 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 168e6d131f..8c798bccd5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6207,11 +6207,13 @@ for Rust structs.") (base32 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-unicase" ,rust-unicase-2.4)))) (home-page "https://github.com/hyperium/mime") (synopsis "Strongly Typed Mimes") (description "Support MIME (HTTP Media Types) as strong types in Rust.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From acb9657a73b8e7452f71e8d1b1f49549313dbb90 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:57:40 +0200 Subject: gnu: rust-mime-0.3: Update to 0.3.16. * gnu/packages/crates-io.scm (rust-mime-0.3): Update to 0.3.16. [arguments]: Remove rust-unicase-2.4 from cargo-inputs. --- gnu/packages/crates-io.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8c798bccd5..692e290e63 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6197,7 +6197,7 @@ for Rust structs.") (define-public rust-mime-0.3 (package (name "rust-mime") - (version "0.3.13") + (version "0.3.16") (source (origin (method url-fetch) @@ -6205,11 +6205,9 @@ for Rust structs.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry")))) + "13dcm9lh01hdwfjcg74ppljyjfj1c6w3a3cwkhxf0w8wa37cfq1a")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-unicase" ,rust-unicase-2.4)))) + (arguments '(#:skip-build? #t)) (home-page "https://github.com/hyperium/mime") (synopsis "Strongly Typed Mimes") (description -- cgit 1.4.1 From 5660d292b39669936f87e49ed132cdfd7d8aaec4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 17:59:58 +0200 Subject: gnu: rust-miniz-sys-0.1: Don't hide package. * gnu/packages/crates-io.scm (rust-miniz-sys-0.1)[arguments]: Add rust-libc-0.2, rust-cc-1.0 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 692e290e63..4629bcf790 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6295,11 +6295,15 @@ drop-in replacement for miniz.") (base32 "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1.0)))) (home-page "https://github.com/alexcrichton/flate2-rs") (synopsis "Bindings to the miniz.c library") (description "This package provides bindings to the @code{miniz.c} library.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From af6655ed4db36951c4c81bfdd1c538c6c7f8520f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:03:12 +0200 Subject: gnu: rust-miow-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-miow-0.3)[arguments]: Skip build. Add rust-socket2-0.3, rust-winapi-0.3 to cargo-inputs. Add rust-rand-0.4 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4629bcf790..9470860b80 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6414,12 +6414,18 @@ drop-in replacement for miniz.") (base32 "09ljvx6wg30f2xlv7b7hhpkw7k312n3hjgmrbhwzhz9x03ra0sir")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-socket2" ,rust-socket2-0.3) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))) (home-page "https://github.com/alexcrichton/miow") (synopsis "Rust I/O library for Windows") (description "This package provides a zero overhead I/O library for Windows, focusing on IOCP and Async I/O abstractions.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) @@ -6435,7 +6441,9 @@ IOCP and Async I/O abstractions.") (file-name (string-append name "-" version ".crate")) (sha256 (base32 - "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc")))))) + "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc")))) + (arguments '()) + (properties '((hidden? . #t))))) (define-public rust-model-0.1 (package -- cgit 1.4.1 From ae637969b626d573115714615ca2325881fc9f68 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:07:11 +0200 Subject: gnu: rust-miow-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-miow-0.2)[arguments]: Skip build. Add rust-kernel32-sys-0.2, rust-net2-0.2, rust-winapi-0.2, rust-ws2-32-sys-0.2 to cargo-inputs. Add rust-rand-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9470860b80..7c257fa33b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6442,8 +6442,15 @@ IOCP and Async I/O abstractions.") (sha256 (base32 "06g9b8sqlh5gxakwqq4rrib07afwanfnxgxajrldwcgk3hxjy7wc")))) - (arguments '()) - (properties '((hidden? . #t))))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-winapi" ,rust-winapi-0.2) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))))) (define-public rust-model-0.1 (package -- cgit 1.4.1 From 8bbf9d390fb3091249c89a585473fc4f00603bc1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:09:23 +0200 Subject: gnu: rust-net2-0.2: Don't hide package. * gnu/packages/crates-io.scm (rust-net2-0.2)[arguments]: Skip build. Add rust-cfg-if-0.1, rust-libc-0.2, rust-winapi-0.3 to cargo-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7c257fa33b..163409c00d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6512,12 +6512,17 @@ checking.") (base32 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/rust-lang-nursery/net2-rs") (synopsis "Extensions to the standard library's networking types") (description "This library contains extensions to the standard library's networking types as proposed in RFC 1158.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 904e8a4697873ef459fd8ba40aafae82e2affcf1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:15:50 +0200 Subject: gnu: rust-libz-sys-1.0: Don't hide package. * gnu/packages/crates-io.scm (rust-libz-sys-1.0)[arguments]: Add rust-libc-0.2, rust-cc-1.0, rust-pkg-config-0.3, rust-vcpkg-0.2 to cargo-inputs. Add custom phase to delete vendored source. [native-inputs]: Add pkg-config, zlib. [properties]: Remove field. --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 163409c00d..e5c6b939dd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6586,22 +6586,31 @@ types as proposed in RFC 1158.") (base32 "1gjycyl2283525abks98bhxa4r259m617xfm5z52p3p3c8ry9d9f")))) (build-system cargo-build-system) - ;(arguments - ; `(#:phases - ; (modify-phases %standard-phases - ; (add-after 'unpack 'delete-vendored-zlib - ; (lambda _ - ; (delete-file-recursively "src/zlib") - ; #t))))) - ;(inputs - ; `(("pkg-config" ,pkg-config) - ; ("zlib" ,zlib))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1.0) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'delete-vendored-zlib + (lambda _ + (delete-file-recursively "src/zlib") + (delete-file-recursively + (string-append "guix-vendor/rust-libz-sys-" + ,(package-version rust-libz-sys-1.0) + ".crate/src/zlib")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("zlib" ,zlib))) (home-page "https://github.com/rust-lang/libz-sys") (synopsis "Bindings to the system libz library") (description "This package provides bindings to the system @code{libz} library (also known as zlib).") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 45ad04e72182aafcf3f4b7c67deb998aac3b98b4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:19:39 +0200 Subject: gnu: rust-num-cpus-1.10: Don't hide package. * gnu/packages/crates-io.scm (rust-num-cpus-1.10)[arguments]: Skip build. Add rust-libc-0.2 to cargo-inputs. Add rust-doc-comment-0.3 to cargo-development-inputs. [properties]: Remove field. --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e5c6b939dd..af58c09290 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6826,11 +6826,16 @@ combinators library.") (base32 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) (home-page "https://github.com/seanmonstar/num_cpus") (synopsis "Get the number of CPUs on a machine") (description "Get the number of CPUs on a machine.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From 5e2ce6afad34cf9faa167406c9b8bd8eac68c078 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:32:03 +0200 Subject: gnu: rust-jemalloc-sys-0.3: Don't hide package. * gnu/packages/crates-io.scm (rust-jemalloc-sys-0.3)[arguments]: Add rust-libc-0.2, rust-cc-1.0, rust-fs-extra-1.1 to cargo-inputs. Add custom phase to delete vendored sources. [native-inputs]: Add jemalloc. [properties]: Remove field. --- gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index af58c09290..04a9b49ba5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27,6 +27,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages compression) + #:use-module (gnu packages jemalloc) #:use-module (gnu packages pkg-config) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) @@ -5331,22 +5332,30 @@ wasm-bindgen crate.") (base32 "0ify9vlql01qhfxlj7d4p9jvcp90mj2h69nkbq7slccvbhzryfqd")))) (build-system cargo-build-system) - ;(arguments - ; `(#:phases - ; (modify-phases %standard-phases - ; (add-after 'unpack 'override-jemalloc - ; (lambda* (#:key inputs #:allow-other-keys) - ; (let ((jemalloc (assoc-ref inputs "jemalloc"))) - ; (delete-file-recursively "jemalloc") - ; (setenv "JEMALLOC_OVERRIDE" - ; (string-append jemalloc "/lib/libjemalloc_pic.a"))) - ; #t))))) - ;(inputs - ; `(("jemalloc" ,jemalloc))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1.0) + ("rust-fs-extra" ,rust-fs-extra-1.1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + (delete-file-recursively "jemalloc") + (delete-file-recursively + (string-append "guix-vendor/rust-jemalloc-sys-" + ,(package-version rust-jemalloc-sys-0.3) + ".crate/jemalloc")) + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a"))) + #t))))) + (native-inputs + `(("jemalloc" ,jemalloc))) (home-page "https://github.com/gnzlbg/jemallocator") (synopsis "Rust FFI bindings to jemalloc") (description "This package provides Rust FFI bindings to jemalloc.") - (properties '((hidden? . #t))) (license (list license:asl2.0 license:expat)))) -- cgit 1.4.1 From f51fa60b1679c6d06cfe248e901b8df47d71ad77 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Jan 2020 18:49:10 +0200 Subject: gnu: rust-pcre2-sys-0.2: Unbundle vendored source. * gnu/packages/crates-io.scm (rust-pcre2-sys-0.2)[arguments]: Don't skip build. Add custom phase to delete vendored sources. [native-inputs]: Add pcre2, pkg-config. --- gnu/packages/crates-io.scm | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 04a9b49ba5..19a84f5cdb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28,6 +28,7 @@ #:use-module (guix packages) #:use-module (gnu packages compression) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) @@ -7548,11 +7549,23 @@ deserialization, and interpreter in Rust.") "0nwdvc43dkb89qmm5q8gw1zyll0wsfqw7kczpn23mljra3874v47")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-cc" ,rust-cc-1.0)))) + ("rust-cc" ,rust-cc-1.0)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'unbundle-sources + (lambda _ + (delete-file-recursively "pcre2") + (delete-file-recursively + (string-append "guix-vendor/rust-pcre2-sys-" + ,(package-version rust-pcre2-sys-0.2) + ".tar.gz/pcre2")) + #t))))) + (native-inputs + `(("pcre2" ,pcre2) + ("pkg-config" ,pkg-config))) (home-page "https://github.com/BurntSushi/rust-pcre2") (synopsis "Low level bindings to PCRE2") -- cgit 1.4.1