gnu: Add rust-fuchsia-cprng.
[jackhill/guix/guix.git] / gnu / packages / crates-io.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
3 ;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
5 ;;;
6 ;;; This file is part of GNU Guix.
7 ;;;
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
12 ;;;
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
17 ;;;
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21 (define-module (gnu packages crates-io)
22 #:use-module (guix build-system cargo)
23 #:use-module (guix download)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages)
26 #:use-module (gnu packages pkg-config))
27
28 ;;;
29 ;;; Please: Try to add new module packages in alphabetic order.
30 ;;;
31
32 (define-public rust-antidote
33 (package
34 (name "rust-antidote")
35 (version "1.0.0")
36 (source
37 (origin
38 (method url-fetch)
39 (uri (crate-uri "antidote" version))
40 (file-name (string-append name "-" version ".tar.gz"))
41 (sha256
42 (base32
43 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
44 (build-system cargo-build-system)
45 (home-page "https://github.com/sfackler/rust-antidote")
46 (synopsis "Poison-free Mutex and RwLock types")
47 (description
48 "These types expose identical APIs to the standard library @code{Mutex} and
49 @code{RwLock} except that they do not return @code{PoisonError}s.")
50 (license (list license:asl2.0
51 license:expat))))
52
53 (define-public rust-atty
54 (package
55 (name "rust-atty")
56 (version "0.2.13")
57 (source
58 (origin
59 (method url-fetch)
60 (uri (crate-uri "atty" version))
61 (file-name (string-append name "-" version ".tar.gz"))
62 (sha256
63 (base32
64 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
65 (build-system cargo-build-system)
66 (arguments
67 `(#:cargo-inputs
68 (("rust-libc" ,rust-libc)
69 ("rust-winapi" ,rust-winapi))
70 #:tests? #f)) ; tests fail in our sandbox
71 (home-page "https://github.com/softprops/atty")
72 (synopsis "A simple interface for querying atty")
73 (description
74 "This package provides a simple interface for querying atty.")
75 (license license:expat)))
76
77 (define-public rust-autocfg
78 (package
79 (name "rust-autocfg")
80 (version "0.1.5")
81 (source
82 (origin
83 (method url-fetch)
84 (uri (crate-uri "autocfg" version))
85 (file-name (string-append name "-" version ".tar.gz"))
86 (sha256
87 (base32
88 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
89 (build-system cargo-build-system)
90 (home-page "https://github.com/cuviper/autocfg")
91 (synopsis "Automatic cfg for Rust compiler features")
92 (description "Rust library for build scripts to automatically configure
93 code based on compiler support. Code snippets are dynamically tested to see
94 if the @code{rustc} will accept them, rather than hard-coding specific version
95 support.")
96 (license (list license:asl2.0
97 license:expat))))
98
99 (define-public rust-bencher
100 (package
101 (name "rust-bencher")
102 (version "0.1.5")
103 (source
104 (origin
105 (method url-fetch)
106 (uri (crate-uri "bencher" version))
107 (file-name (string-append name "-" version ".tar.gz"))
108 (sha256
109 (base32
110 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
111 (build-system cargo-build-system)
112 (home-page "https://github.com/bluss/bencher/")
113 (synopsis "Port of the libtest benchmark runner to Rust stable")
114 (description "This package provides a port of the libtest (unstable Rust)
115 benchmark runner to Rust stable releases. Supports running benchmarks and
116 filtering based on the name. Benchmark execution works exactly the same way
117 and no more (caveat: black_box is still missing!).")
118 (license (list license:asl2.0
119 license:expat))))
120
121 (define-public rust-bitflags
122 (package
123 (name "rust-bitflags")
124 (version "1.1.0")
125 (source
126 (origin
127 (method url-fetch)
128 (uri (crate-uri "bitflags" version))
129 (file-name (string-append name "-" version ".tar.gz"))
130 (sha256
131 (base32
132 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
133 (build-system cargo-build-system)
134 (home-page "https://github.com/bitflags/bitflags")
135 (synopsis "Macro to generate structures which behave like bitflags")
136 (description "This package provides a macro to generate structures which
137 behave like a set of bitflags.")
138 (license (list license:asl2.0
139 license:expat))))
140
141 (define-public rust-blas-sys
142 (package
143 (name "rust-blas-sys")
144 (version "0.7.1")
145 (source
146 (origin
147 (method url-fetch)
148 (uri (crate-uri "blas-sys" version))
149 (file-name (string-append name "-" version ".tar.gz"))
150 (sha256
151 (base32
152 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
153 (build-system cargo-build-system)
154 (arguments
155 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
156 (home-page "https://github.com/blas-lapack-rs/blas-sys")
157 (synopsis "Bindings to BLAS (Fortran)")
158 (description
159 "Ths package provides bindings to BLAS (Fortran).")
160 (license (list license:asl2.0
161 license:expat))))
162
163 (define-public rust-cblas-sys
164 (package
165 (name "rust-cblas-sys")
166 (version "0.1.4")
167 (source
168 (origin
169 (method url-fetch)
170 (uri (crate-uri "cblas-sys" version))
171 (file-name (string-append name "-" version ".tar.gz"))
172 (sha256
173 (base32
174 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
175 (build-system cargo-build-system)
176 (arguments
177 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
178 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
179 (synopsis "Bindings to CBLAS (C)")
180 (description
181 "The package provides bindings to CBLAS (C).")
182 (license (list license:asl2.0
183 license:expat))))
184
185 (define-public rust-cfg-if
186 (package
187 (name "rust-cfg-if")
188 (version "0.1.9")
189 (source
190 (origin
191 (method url-fetch)
192 (uri (crate-uri "cfg-if" version))
193 (file-name (string-append name "-" version ".tar.gz"))
194 (sha256
195 (base32
196 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
197 (build-system cargo-build-system)
198 (home-page "https://github.com/alexcrichton/cfg-if")
199 (synopsis "Define an item depending on parameters")
200 (description "This package provides a macro to ergonomically define an item
201 depending on a large number of #[cfg] parameters. Structured like an
202 @code{if-else} chain, the first matching branch is the item that gets emitted.")
203 (license (list license:asl2.0
204 license:expat))))
205
206 (define-public rust-clicolors-control
207 (package
208 (name "rust-clicolors-control")
209 (version "1.0.0")
210 (source
211 (origin
212 (method url-fetch)
213 (uri (crate-uri "clicolors-control" version))
214 (file-name (string-append name "-" version ".tar.gz"))
215 (sha256
216 (base32
217 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
218 (build-system cargo-build-system)
219 (arguments
220 `(#:cargo-inputs
221 (("rust-atty" ,rust-atty)
222 ("rust-lazy-static" ,rust-lazy-static)
223 ("rust-libc" ,rust-libc)
224 ("rust-winapi" ,rust-winapi))))
225 (home-page "https://github.com/mitsuhiko/clicolors-control")
226 (synopsis "Common utility library to control CLI colorization")
227 (description
228 "This package provides a common utility library to control CLI
229 colorization.")
230 (license license:expat)))
231
232 (define-public rust-cloudabi
233 (package
234 (name "rust-cloudabi")
235 (version "0.0.3")
236 (source
237 (origin
238 (method url-fetch)
239 (uri (crate-uri "cloudabi" version))
240 (file-name (string-append name "-" version ".tar.gz"))
241 (sha256
242 (base32
243 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
244 (build-system cargo-build-system)
245 (arguments
246 `(#:cargo-inputs
247 (("rust-bitflags" ,rust-bitflags))))
248 (home-page "https://nuxi.nl/cloudabi/")
249 (synopsis "Low level interface to CloudABI")
250 (description
251 "Low level interface to CloudABI. Contains all syscalls and related types.")
252 (license license:bsd-2)))
253
254 (define-public rust-core-foundation-sys
255 (package
256 (name "rust-core-foundation-sys")
257 (version "0.6.2")
258 (source
259 (origin
260 (method url-fetch)
261 (uri (crate-uri "core-foundation-sys" version))
262 (file-name (string-append name "-" version ".tar.gz"))
263 (sha256
264 (base32
265 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
266 (build-system cargo-build-system)
267 (home-page "https://github.com/servo/core-foundation-rs")
268 (synopsis "Bindings to Core Foundation for OS X")
269 (description
270 "Bindings to Core Foundation for OS X.")
271 (license (list license:asl2.0
272 license:expat))))
273
274 (define-public rust-data-encoding
275 (package
276 (name "rust-data-encoding")
277 (version "2.1.2")
278 (source
279 (origin
280 (method url-fetch)
281 (uri (crate-uri "data-encoding" version))
282 (file-name (string-append name "-" version ".tar.gz"))
283 (sha256
284 (base32
285 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
286 (build-system cargo-build-system)
287 (home-page "https://github.com/ia0/data-encoding")
288 (synopsis "Efficient and customizable data-encoding functions")
289 (description
290 "This library provides encodings for many different common cases, including
291 hexadecimal, bas32, and base64.")
292 (license license:expat)))
293
294 (define-public rust-defmac
295 (package
296 (name "rust-defmac")
297 (version "0.2.0")
298 (source
299 (origin
300 (method url-fetch)
301 (uri (crate-uri "defmac" version))
302 (file-name (string-append name "-" version ".tar.gz"))
303 (sha256
304 (base32
305 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
306 (build-system cargo-build-system)
307 (home-page "https://github.com/bluss/defmac")
308 (synopsis "Macro to define lambda-like macros inline")
309 (description "A macro to define lambda-like macros inline.")
310 (license (list license:asl2.0
311 license:expat))))
312
313 (define-public rust-defmac-0.1
314 (package
315 (inherit rust-defmac)
316 (name "rust-defmac")
317 (version "0.1.3")
318 (source
319 (origin
320 (method url-fetch)
321 (uri (crate-uri "defmac" version))
322 (file-name (string-append name "-" version ".tar.gz"))
323 (sha256
324 (base32
325 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
326
327 (define-public rust-discard
328 (package
329 (name "rust-discard")
330 (version "1.0.4")
331 (source
332 (origin
333 (method url-fetch)
334 (uri (crate-uri "discard" version))
335 (file-name (string-append name "-" version ".tar.gz"))
336 (sha256
337 (base32
338 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
339 (build-system cargo-build-system)
340 (home-page "https://github.com/Pauan/rust-discard")
341 (synopsis "Allow for intentionally leaking memory")
342 (description "There are situations where you need to intentionally leak some
343 memory but not other memory. This package provides a discard trait which allows
344 for intentionally leaking memory")
345 (license license:expat)))
346
347 (define-public rust-doc-comment
348 (package
349 (name "rust-doc-comment")
350 (version "0.3.1")
351 (source
352 (origin
353 (method url-fetch)
354 (uri (crate-uri "doc-comment" version))
355 (file-name (string-append name "-" version ".tar.gz"))
356 (sha256
357 (base32
358 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
359 (build-system cargo-build-system)
360 (home-page "https://github.com/GuillaumeGomez/doc-comment")
361 (synopsis "Macro to generate doc comments")
362 (description "This package provides a way to generate doc comments
363 from macros.")
364 (license license:expat)))
365
366 (define-public rust-dtoa
367 (package
368 (name "rust-dtoa")
369 (version "0.4.4")
370 (source
371 (origin
372 (method url-fetch)
373 (uri (crate-uri "dtoa" version))
374 (file-name (string-append name "-" version ".tar.gz"))
375 (sha256
376 (base32
377 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
378 (build-system cargo-build-system)
379 (home-page "https://github.com/dtolnay/dtoa")
380 (synopsis "Fast functions for printing floating-point primitives")
381 (description "This crate provides fast functions for printing
382 floating-point primitives to an @code{io::Write}.")
383 (license (list license:asl2.0
384 license:expat))))
385
386 (define-public rust-fallible-iterator
387 (package
388 (name "rust-fallible-iterator")
389 (version "0.2.0")
390 (source
391 (origin
392 (method url-fetch)
393 (uri (crate-uri "fallible-iterator" version))
394 (file-name (string-append name "-" version ".tar.gz"))
395 (sha256
396 (base32
397 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
398 (build-system cargo-build-system)
399 (home-page "https://github.com/sfackler/rust-fallible-iterator")
400 (synopsis "Fallible iterator traits")
401 (description "If the @code{std} or @code{alloc} features are enabled, this
402 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
403 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
404 provides implementations for @code{HashMap} and @code{HashSet}.")
405 (license (list license:asl2.0
406 license:expat))))
407
408 (define-public rust-findshlibs
409 (package
410 (name "rust-findshlibs")
411 (version "0.5.0")
412 (source
413 (origin
414 (method url-fetch)
415 (uri (crate-uri "findshlibs" version))
416 (file-name (string-append name "-" version ".tar.gz"))
417 (sha256
418 (base32
419 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
420 (build-system cargo-build-system)
421 (arguments
422 `(#:cargo-inputs
423 (("rust-lazy-static" ,rust-lazy-static)
424 ("rust-libc" ,rust-libc))))
425 (home-page "https://github.com/gimli-rs/findshlibs")
426 (synopsis "Find the set of shared libraries loaded in the current process")
427 (description
428 "Find the set of shared libraries loaded in the current process with a
429 cross platform API.")
430 (license (list license:asl2.0
431 license:expat))))
432
433 (define-public rust-fixedbitset
434 (package
435 (name "rust-fixedbitset")
436 (version "0.1.9")
437 (source
438 (origin
439 (method url-fetch)
440 (uri (crate-uri "fixedbitset" version))
441 (file-name (string-append name "-" version ".tar.gz"))
442 (sha256
443 (base32
444 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
445 (build-system cargo-build-system)
446 (home-page "https://github.com/bluss/fixedbitset")
447 (synopsis "FixedBitSet is a simple bitset collection")
448 (description "FixedBitSet is a simple bitset collection.")
449 (license (list license:asl2.0
450 license:expat))))
451
452 (define-public rust-fnv
453 (package
454 (name "rust-fnv")
455 (version "1.0.6")
456 (source
457 (origin
458 (method url-fetch)
459 (uri (crate-uri "fnv" version))
460 (file-name (string-append name "-" version ".tar.gz"))
461 (sha256
462 (base32
463 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
464 (build-system cargo-build-system)
465 (home-page "https://github.com/servo/rust-fnv")
466 (synopsis "implementation of the Fowler-Noll-Vo hash function")
467 (description "The @code{fnv} hash function is a custom @code{Hasher}
468 implementation that is more efficient for smaller hash keys.")
469 (license (list license:asl2.0
470 license:expat))))
471
472 (define-public rust-foreign-types-shared
473 (package
474 (name "rust-foreign-types-shared")
475 (version "0.2.0")
476 (source
477 (origin
478 (method url-fetch)
479 (uri (crate-uri "foreign-types-shared" version))
480 (file-name (string-append name "-" version ".tar.gz"))
481 (sha256
482 (base32
483 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
484 (build-system cargo-build-system)
485 (home-page "https://github.com/sfackler/foreign-types")
486 (synopsis "An internal crate used by foreign-types")
487 (description
488 "An internal crate used by foreign-types.")
489 (license (list license:asl2.0
490 license:expat))))
491
492 (define-public rust-fs-extra
493 (package
494 (name "rust-fs-extra")
495 (version "1.1.0")
496 (source
497 (origin
498 (method url-fetch)
499 (uri (crate-uri "fs_extra" version))
500 (file-name (string-append name "-" version ".tar.gz"))
501 (sha256
502 (base32
503 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
504 (build-system cargo-build-system)
505 (home-page "https://github.com/webdesus/fs_extra")
506 (synopsis "Extra filesystem methods")
507 (description "Expanding opportunities standard library @code{std::fs} and
508 @code{std::io}. Recursively copy folders with recept information about
509 process and much more.")
510 (license license:expat)))
511
512 (define-public rust-fuchsia-cprng
513 (package
514 (name "rust-fuchsia-cprng")
515 (version "0.1.1")
516 (source
517 (origin
518 (method url-fetch)
519 (uri (crate-uri "fuchsia-cprng" version))
520 (file-name (string-append name "-" version ".tar.gz"))
521 (sha256
522 (base32
523 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
524 (build-system cargo-build-system)
525 (arguments
526 `(#:tests? #f)) ; tests require zircon
527 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
528 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
529 (description "Rust crate for the Fuchsia cryptographically secure
530 pseudorandom number generator")
531 (license license:bsd-3)))
532
533 (define-public rust-fuchsia-zircon
534 (package
535 (name "rust-fuchsia-zircon")
536 (version "0.3.3")
537 (source
538 (origin
539 (method url-fetch)
540 (uri (crate-uri "fuchsia-zircon" version))
541 (file-name (string-append name "-" version ".tar.gz"))
542 (sha256
543 (base32
544 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
545 (build-system cargo-build-system)
546 (arguments
547 `(#:cargo-inputs
548 (("rust-bitflags" ,rust-bitflags)
549 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
550 #:tests? #f)) ; tests require zircon
551 (home-page "https://fuchsia.googlesource.com/garnet/")
552 (synopsis "Rust bindings for the Zircon kernel")
553 (description "Rust bindings for the Zircon kernel.")
554 (license license:bsd-3)))
555
556 (define-public rust-fuchsia-zircon-sys
557 (package
558 (name "rust-fuchsia-zircon-sys")
559 (version "0.3.3")
560 (source
561 (origin
562 (method url-fetch)
563 (uri (crate-uri "fuchsia-zircon-sys" version))
564 (file-name (string-append name "-" version ".tar.gz"))
565 (sha256
566 (base32
567 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
568 (build-system cargo-build-system)
569 (arguments
570 `(#:tests? #f)) ; tests require zircon
571 (home-page "https://fuchsia.googlesource.com/garnet/")
572 (synopsis "Low-level Rust bindings for the Zircon kernel")
573 (description "Low-level Rust bindings for the Zircon kernel.")
574 (license license:bsd-3)))
575
576 (define-public rust-futures
577 (package
578 (name "rust-futures")
579 (version "0.1.28")
580 (source
581 (origin
582 (method url-fetch)
583 (uri (crate-uri "futures" version))
584 (file-name (string-append name "-" version ".tar.gz"))
585 (sha256
586 (base32
587 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
588 (build-system cargo-build-system)
589 (home-page "https://github.com/rust-lang-nursery/futures-rs")
590 (synopsis "Implementation of zero-cost futures in Rust")
591 (description "An implementation of @code{futures} and @code{streams}
592 featuring zero allocations, composability, and iterator-like interfaces.")
593 (license (list license:asl2.0
594 license:expat))))
595
596 (define-public rust-futures-io-preview
597 (package
598 (name "rust-futures-io-preview")
599 (version "0.3.0-alpha.17")
600 (source
601 (origin
602 (method url-fetch)
603 (uri (crate-uri "futures-io-preview" version))
604 (file-name (string-append name "-" version ".tar.gz"))
605 (sha256
606 (base32
607 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
608 (build-system cargo-build-system)
609 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
610 (synopsis "Async read and write traits for the futures library")
611 (description "This crate provides the @code{AsyncRead} and
612 @code{AsyncWrite} traits for the @code{futures-rs} library.")
613 (license (list license:asl2.0
614 license:expat))))
615
616 (define-public rust-heapsize
617 (package
618 (name "rust-heapsize")
619 (version "0.4.2")
620 (source
621 (origin
622 (method url-fetch)
623 (uri (crate-uri "heapsize" version))
624 (file-name (string-append name "-" version ".tar.gz"))
625 (sha256
626 (base32
627 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
628 (build-system cargo-build-system)
629 (arguments
630 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
631 ;; Tests assume rust is built with jemalloc.
632 ;; https://github.com/servo/heapsize/issues/74
633 #:cargo-test-flags '("--features" "flexible-tests")))
634 (home-page "https://github.com/servo/heapsize")
635 (synopsis "Measure the total runtime size of an object on the heap")
636 (description
637 "Infrastructure for measuring the total runtime size of an object on the
638 heap.")
639 (license (list license:asl2.0
640 license:expat))))
641
642 (define-public rust-hex
643 (package
644 (name "rust-hex")
645 (version "0.3.2")
646 (source
647 (origin
648 (method url-fetch)
649 (uri (crate-uri "hex" version))
650 (file-name (string-append name "-" version ".tar.gz"))
651 (sha256
652 (base32
653 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
654 (build-system cargo-build-system)
655 (home-page "https://github.com/KokaKiwi/rust-hex")
656 (synopsis "Encode and decode data to/from hexadecimals")
657 (description "This crate allows for encoding and decoding data into/from
658 hexadecimal representation.")
659 (license (list license:asl2.0
660 license:expat))))
661
662 (define-public rust-hostname
663 (package
664 (name "rust-hostname")
665 (version "0.1.5")
666 (source
667 (origin
668 (method url-fetch)
669 (uri (crate-uri "hostname" version))
670 (file-name (string-append name "-" version ".tar.gz"))
671 (sha256
672 (base32
673 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
674 (build-system cargo-build-system)
675 (arguments
676 `(#:cargo-inputs
677 (("rust-libc" ,rust-libc)
678 ("rust-winutil" ,rust-winutil))))
679 (home-page "https://github.com/fengcen/hostname")
680 (synopsis "Get hostname for Rust")
681 (description
682 "Get hostname for Rust.")
683 (license license:expat)))
684
685 (define-public rust-iovec
686 (package
687 (name "rust-iovec")
688 (version "0.1.2")
689 (source
690 (origin
691 (method url-fetch)
692 (uri (crate-uri "iovec" version))
693 (file-name (string-append name "-" version ".tar.gz"))
694 (sha256
695 (base32
696 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
697 (build-system cargo-build-system)
698 (arguments
699 `(#:cargo-inputs
700 (("rust-libc" ,rust-libc)
701 ("rust-winapi" ,rust-winapi-0.2))))
702 (home-page "https://github.com/carllerche/iovec")
703 (synopsis "Portable buffer type for scatter/gather I/O operations")
704 (description
705 "Portable buffer type for scatter/gather I/O operations.")
706 (license (list license:asl2.0
707 license:expat))))
708
709 (define-public rust-itoa
710 (package
711 (name "rust-itoa")
712 (version "0.4.4")
713 (source
714 (origin
715 (method url-fetch)
716 (uri (crate-uri "itoa" version))
717 (file-name (string-append name "-" version ".tar.gz"))
718 (sha256
719 (base32
720 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
721 (build-system cargo-build-system)
722 (home-page "https://github.com/dtolnay/itoa")
723 (synopsis "Fast functions for printing integer primitives")
724 (description "This crate provides fast functions for printing integer
725 primitives to an @code{io::Write}.")
726 (license (list license:asl2.0
727 license:expat))))
728
729 (define-public rust-json
730 (package
731 (name "rust-json")
732 (version "0.11.14")
733 (source
734 (origin
735 (method url-fetch)
736 (uri (crate-uri "json" version))
737 (file-name (string-append name "-" version ".tar.gz"))
738 (sha256
739 (base32
740 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
741 (build-system cargo-build-system)
742 (home-page "https://github.com/maciejhirsz/json-rust")
743 (synopsis "JSON implementation in Rust")
744 (description "This crate provides a JSON implementation in Rust, reducing
745 friction with idiomatic Rust structs to ease interopability.")
746 (license (list license:asl2.0
747 license:expat))))
748
749 (define-public rust-kernel32-sys
750 (package
751 (name "rust-kernel32-sys")
752 (version "0.2.2")
753 (source
754 (origin
755 (method url-fetch)
756 (uri (crate-uri "kernel32-sys" version))
757 (file-name (string-append name "-" version ".tar.gz"))
758 (sha256
759 (base32
760 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
761 (build-system cargo-build-system)
762 (arguments
763 `(#:cargo-inputs
764 (("rust-winapi" ,rust-winapi-0.2)
765 ("rust-winapi-build" ,rust-winapi-build))
766 #:phases
767 (modify-phases %standard-phases
768 (add-after 'unpack 'fix-Cargo-toml
769 (lambda _
770 (substitute* "Cargo.toml"
771 ((", path =.* }") "}\n"))
772 #t)))))
773 (home-page "https://github.com/retep998/winapi-rs")
774 (synopsis "Function definitions for the Windows API library kernel32")
775 (description "Contains function definitions for the Windows API library
776 kernel32.")
777 (license license:expat)))
778
779 (define-public rust-lazy-static
780 (package
781 (name "rust-lazy-static")
782 (version "1.3.0")
783 (source
784 (origin
785 (method url-fetch)
786 (uri (crate-uri "lazy_static" version))
787 (file-name (string-append name "-" version ".tar.gz"))
788 (sha256
789 (base32
790 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
791 (build-system cargo-build-system)
792 (arguments
793 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
794 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
795 (synopsis "Macro for declaring lazily evaluated statics in Rust")
796 (description
797 "This package provides a macro for declaring lazily evaluated statics in
798 Rust. Using this macro, it is possible to have @code{static}s that require code
799 to be executed at runtime in order to be initialized. This includes anything
800 requiring heap allocations, like vectors or hash maps, as well as anything that
801 requires non-const function calls to be computed.")
802 (license (list license:asl2.0
803 license:expat))))
804
805 (define-public rust-libc
806 (package
807 (name "rust-libc")
808 (version "0.2.62")
809 (source
810 (origin
811 (method url-fetch)
812 (uri (crate-uri "libc" version))
813 (file-name
814 (string-append name "-" version ".tar.gz"))
815 (sha256
816 (base32
817 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
818 (build-system cargo-build-system)
819 (arguments
820 `(#:cargo-inputs
821 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
822 (home-page "https://github.com/rust-lang/libc")
823 (synopsis "Raw FFI bindings to platform libraries like libc")
824 (description
825 "libc provides all of the definitions necessary to easily
826 interoperate with C code (or \"C-like\" code) on each of the platforms
827 that Rust supports. This includes type definitions (e.g., c_int),
828 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
829
830 This crate exports all underlying platform types, functions, and
831 constants under the crate root, so all items are accessible as
832 @samp{libc::foo}. The types and values of all the exported APIs match
833 the platform that libc is compiled for.")
834 (license (list license:expat
835 license:asl2.0))))
836
837 (define-public rust-maplit
838 (package
839 (name "rust-maplit")
840 (version "1.0.1")
841 (source
842 (origin
843 (method url-fetch)
844 (uri (crate-uri "maplit" version))
845 (file-name (string-append name "-" version ".tar.gz"))
846 (sha256
847 (base32
848 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
849 (build-system cargo-build-system)
850 (home-page "https://github.com/bluss/maplit")
851 (synopsis "Collection of Map macros")
852 (description "This crate provides a collection of @code{literal} macros for
853 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
854 (license (list license:asl2.0
855 license:expat))))
856
857 (define-public rust-matches
858 (package
859 (name "rust-matches")
860 (version "0.1.8")
861 (source
862 (origin
863 (method url-fetch)
864 (uri (crate-uri "matches" version))
865 (file-name (string-append name "-" version ".tar.gz"))
866 (sha256
867 (base32
868 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
869 (build-system cargo-build-system)
870 (home-page "https://github.com/SimonSapin/rust-std-candidates")
871 (synopsis "Macro to evaluate whether an expression matches a pattern.")
872 (description "This package provides a macro to evaluate, as a boolean,
873 whether an expression matches a pattern.")
874 (license license:expat)))
875
876 (define-public rust-md5
877 (package
878 (name "rust-md5")
879 (version "0.6.1")
880 (source
881 (origin
882 (method url-fetch)
883 (uri (crate-uri "md5" version))
884 (file-name (string-append name "-" version ".tar.gz"))
885 (sha256
886 (base32
887 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
888 (build-system cargo-build-system)
889 (home-page "https://github.com/stainless-steel/md5")
890 (synopsis "MD5 hash function in Rust")
891 (description "The package provides the MD5 hash function.")
892 (license (list license:asl2.0
893 license:expat))))
894
895 (define-public rust-mime
896 (package
897 (name "rust-mime")
898 (version "0.3.13")
899 (source
900 (origin
901 (method url-fetch)
902 (uri (crate-uri "mime" version))
903 (file-name (string-append name "-" version ".tar.gz"))
904 (sha256
905 (base32
906 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
907 (build-system cargo-build-system)
908 (arguments
909 `(#:cargo-inputs
910 (("rust-unicase" ,rust-unicase))))
911 (home-page "https://github.com/hyperium/mime")
912 (synopsis "Strongly Typed Mimes")
913 (description
914 "Support MIME (HTTP Media Types) as strong types in Rust.")
915 (license (list license:asl2.0
916 license:expat))))
917
918 (define-public rust-modifier
919 (package
920 (name "rust-modifier")
921 (version "0.1.0")
922 (source
923 (origin
924 (method url-fetch)
925 (uri (crate-uri "modifier" version))
926 (file-name (string-append name "-" version ".tar.gz"))
927 (sha256
928 (base32
929 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
930 (build-system cargo-build-system)
931 (home-page "https://github.com/reem/rust-modifier")
932 (synopsis
933 "Chaining APIs for both self -> Self and &mut self methods.")
934 (description
935 "Chaining APIs for both self -> Self and &mut self methods.")
936 (license license:expat)))
937
938 (define-public rust-net2
939 (package
940 (name "rust-net2")
941 (version "0.2.33")
942 (source
943 (origin
944 (method url-fetch)
945 (uri (crate-uri "net2" version))
946 (file-name (string-append name "-" version ".tar.gz"))
947 (sha256
948 (base32
949 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
950 (build-system cargo-build-system)
951 (arguments
952 `(#:cargo-inputs
953 (("rust-cfg-if" ,rust-cfg-if)
954 ("rust-libc" ,rust-libc)
955 ("rust-winapi" ,rust-winapi))))
956 (home-page "https://github.com/rust-lang-nursery/net2-rs")
957 (synopsis "Extensions to the standard library's networking types")
958 (description
959 "This library contains extensions to the standard library's networking
960 types as proposed in RFC 1158.")
961 (license (list license:asl2.0
962 license:expat))))
963
964 (define-public rust-num-cpus
965 (package
966 (name "rust-num-cpus")
967 (version "1.10.1")
968 (source
969 (origin
970 (method url-fetch)
971 (uri (crate-uri "num_cpus" version))
972 (file-name (string-append name "-" version ".tar.gz"))
973 (sha256
974 (base32
975 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
976 (build-system cargo-build-system)
977 (arguments
978 `(#:cargo-inputs
979 (("rust-libc" ,rust-libc))
980 #:cargo-development-inputs
981 (("rust-doc-comment" ,rust-doc-comment))))
982 (home-page "https://github.com/seanmonstar/num_cpus")
983 (synopsis "Get the number of CPUs on a machine")
984 (description
985 "Get the number of CPUs on a machine.")
986 (license (list license:asl2.0
987 license:expat))))
988
989 (define-public rust-num-integer
990 (package
991 (name "rust-num-integer")
992 (version "0.1.41")
993 (source
994 (origin
995 (method url-fetch)
996 (uri (crate-uri "num-integer" version))
997 (file-name
998 (string-append name "-" version ".tar.gz"))
999 (sha256
1000 (base32
1001 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1002 (build-system cargo-build-system)
1003 (arguments
1004 `(#:cargo-inputs
1005 (("rust-autocfg" ,rust-autocfg)
1006 ("rust-num-traits" ,rust-num-traits))))
1007 (home-page "https://github.com/rust-num/num-integer")
1008 (synopsis "Integer traits and functions")
1009 (description "Integer traits and functions.")
1010 ;; Dual licensed.
1011 (license (list license:asl2.0
1012 license:expat))))
1013
1014 (define-public rust-num-traits
1015 (package
1016 (name "rust-num-traits")
1017 (version "0.2.8")
1018 (source
1019 (origin
1020 (method url-fetch)
1021 (uri (crate-uri "num-traits" version))
1022 (file-name
1023 (string-append name "-" version ".tar.gz"))
1024 (sha256
1025 (base32
1026 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1027 (build-system cargo-build-system)
1028 (arguments
1029 `(#:cargo-inputs
1030 (("rust-autocfg" ,rust-autocfg))))
1031 (home-page "https://github.com/rust-num/num-traits")
1032 (synopsis "Numeric traits for generic mathematics")
1033 (description "Numeric traits for generic mathematics.")
1034 ;; Dual licensed.
1035 (license (list license:asl2.0
1036 license:expat))))
1037
1038 (define-public rust-peeking-take-while
1039 (package
1040 (name "rust-peeking-take-while")
1041 (version "0.1.2")
1042 (source
1043 (origin
1044 (method url-fetch)
1045 (uri (crate-uri "peeking_take_while" version))
1046 (file-name (string-append name "-" version ".tar.gz"))
1047 (sha256
1048 (base32
1049 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1050 (build-system cargo-build-system)
1051 (home-page "https://github.com/fitzgen/peeking_take_while")
1052 (synopsis "Provides the peeking_take_while iterator adaptor method")
1053 (description
1054 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1055 value. This allows you to use @code{Iterator::by_ref} and
1056 @code{Iterator::take_while} together, and still get the first value for which
1057 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1058 (license (list license:asl2.0
1059 license:expat))))
1060
1061 (define-public rust-percent-encoding
1062 (package
1063 (name "rust-percent-encoding")
1064 (version "2.0.0")
1065 (source
1066 (origin
1067 (method url-fetch)
1068 (uri (crate-uri "percent-encoding" version))
1069 (file-name (string-append name "-" version ".tar.gz"))
1070 (sha256
1071 (base32
1072 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1073 (build-system cargo-build-system)
1074 (home-page "https://github.com/servo/rust-url/")
1075 (synopsis "Percent encoding and decoding")
1076 (description "This crate provides percent encoding and decoding.")
1077 (license (list license:asl2.0
1078 license:expat))))
1079
1080 (define-public rust-permutohedron
1081 (package
1082 (name "rust-permutohedron")
1083 (version "0.2.4")
1084 (source
1085 (origin
1086 (method url-fetch)
1087 (uri (crate-uri "permutohedron" version))
1088 (file-name (string-append name "-" version ".tar.gz"))
1089 (sha256
1090 (base32
1091 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1092 (build-system cargo-build-system)
1093 (home-page "https://github.com/bluss/permutohedron")
1094 (synopsis "Generate permutations of sequences")
1095 (description
1096 "Generate permutations of sequences. Either lexicographical order
1097 permutations, or a minimal swaps permutation sequence implemented using Heap's
1098 algorithm.")
1099 (license (list license:asl2.0
1100 license:expat))))
1101
1102 (define-public rust-pin-utils
1103 (package
1104 (name "rust-pin-utils")
1105 (version "0.1.0-alpha.4")
1106 (source
1107 (origin
1108 (method url-fetch)
1109 (uri (crate-uri "pin-utils" version))
1110 (file-name (string-append name "-" version ".tar.gz"))
1111 (sha256
1112 (base32
1113 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1114 (build-system cargo-build-system)
1115 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1116 (synopsis "Utilities for pinning")
1117 (description "This crate provides utilities for pinning values on the stack.")
1118 (license (list license:asl2.0
1119 license:expat))))
1120
1121 (define-public rust-pkg-config
1122 (package
1123 (name "rust-pkg-config")
1124 (version "0.3.14")
1125 (source
1126 (origin
1127 (method url-fetch)
1128 (uri (crate-uri "pkg-config" version))
1129 (file-name (string-append name "-" version ".tar.gz"))
1130 (sha256
1131 (base32
1132 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1133 (build-system cargo-build-system)
1134 (arguments
1135 `(#:cargo-development-inputs
1136 (("rust-lazy-static" ,rust-lazy-static))))
1137 (inputs
1138 `(("pkg-config" ,pkg-config)))
1139 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1140 (synopsis "Library to run the pkg-config system tool")
1141 (description
1142 "A library to run the pkg-config system tool at build time in order to be
1143 used in Cargo build scripts.")
1144 (license (list license:asl2.0
1145 license:expat))))
1146
1147 (define-public rust-plain
1148 (package
1149 (name "rust-plain")
1150 (version "0.2.3")
1151 (source
1152 (origin
1153 (method url-fetch)
1154 (uri (crate-uri "plain" version))
1155 (file-name (string-append name "-" version ".tar.gz"))
1156 (sha256
1157 (base32
1158 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1159 (build-system cargo-build-system)
1160 (home-page "https://github.com/randomites/plain")
1161 (synopsis "Rust library that allows reinterpreting data safely")
1162 (description "This package provides a small Rust library that allows users
1163 to reinterpret data of certain types safely.")
1164 (license (list license:asl2.0
1165 license:expat))))
1166
1167 (define-public rust-plugin
1168 (package
1169 (name "rust-plugin")
1170 (version "0.2.6")
1171 (source
1172 (origin
1173 (method url-fetch)
1174 (uri (crate-uri "plugin" version))
1175 (file-name (string-append name "-" version ".tar.gz"))
1176 (sha256
1177 (base32
1178 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1179 (build-system cargo-build-system)
1180 (arguments
1181 `(#:cargo-inputs
1182 (("rust-typemap" ,rust-typemap))
1183 #:cargo-development-inputs
1184 (("rust-void" ,rust-void))))
1185 (home-page "https://github.com/reem/rust-plugin")
1186 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1187 (description
1188 "Lazily evaluated, order-independent plugins for extensible types.")
1189 (license license:expat)))
1190
1191 (define-public rust-pocket-resources
1192 (package
1193 (name "rust-pocket-resources")
1194 (version "0.3.2")
1195 (source
1196 (origin
1197 (method url-fetch)
1198 (uri (crate-uri "pocket-resources" version))
1199 (file-name (string-append name "-" version ".tar.gz"))
1200 (sha256
1201 (base32
1202 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1203 (build-system cargo-build-system)
1204 (home-page "https://github.com/tomaka/pocket-resources")
1205 (synopsis "Include resources in your applications")
1206 (description "This crate allows you to include resources in your
1207 applications.")
1208 (license license:expat)))
1209
1210 (define-public rust-ppv-lite86
1211 (package
1212 (name "rust-ppv-lite86")
1213 (version "0.2.5")
1214 (source
1215 (origin
1216 (method url-fetch)
1217 (uri (crate-uri "ppv-lite86" version))
1218 (file-name (string-append name "-" version ".tar.gz"))
1219 (sha256
1220 (base32
1221 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1222 (build-system cargo-build-system)
1223 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1224 (synopsis "Implementation of the crypto-simd API for x86")
1225 (description "This crate provides an implementation of the crypto-simd API
1226 for x86.")
1227 (license (list license:asl2.0
1228 license:expat))))
1229
1230 (define-public rust-proc-macro2
1231 (package
1232 (name "rust-proc-macro2")
1233 (version "0.4.30")
1234 (source
1235 (origin
1236 (method url-fetch)
1237 (uri (crate-uri "proc-macro2" version))
1238 (file-name
1239 (string-append name "-" version ".tar.gz"))
1240 (sha256
1241 (base32
1242 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1243 (build-system cargo-build-system)
1244 (arguments
1245 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid))
1246 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1247 (home-page "https://github.com/alexcrichton/proc-macro2")
1248 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1249 (description "This package provides a stable implementation of the upcoming new
1250 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1251 in terms of the upstream unstable API.")
1252 ;; Dual licensed.
1253 (license (list license:asl2.0 license:expat))))
1254
1255 (define-public rust-quick-error
1256 (package
1257 (name "rust-quick-error")
1258 (version "1.2.2")
1259 (source
1260 (origin
1261 (method url-fetch)
1262 (uri (crate-uri "quick-error" version))
1263 (file-name (string-append name "-" version ".tar.gz"))
1264 (sha256
1265 (base32
1266 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1267 (build-system cargo-build-system)
1268 (home-page "http://github.com/tailhook/quick-error")
1269 (synopsis "Macro which makes error types pleasant to write")
1270 (description "This crate provides a macro which makes error types pleasant
1271 to write.")
1272 (license (list license:asl2.0
1273 license:expat))))
1274
1275 (define-public rust-quote
1276 (package
1277 (name "rust-quote")
1278 (version "0.6.12")
1279 (source
1280 (origin
1281 (method url-fetch)
1282 (uri (crate-uri "quote" version))
1283 (file-name
1284 (string-append name "-" version ".tar.gz"))
1285 (sha256
1286 (base32
1287 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1288 (build-system cargo-build-system)
1289 (arguments
1290 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1291 (home-page "https://github.com/dtolnay/quote")
1292 (synopsis "Quasi-quoting macro quote!(...)")
1293 (description "Quasi-quoting macro quote!(...)")
1294 ;; Dual licensed.
1295 (license (list license:asl2.0 license:expat))))
1296
1297 (define-public rust-rawpointer
1298 (package
1299 (name "rust-rawpointer")
1300 (version "0.1.0")
1301 (source
1302 (origin
1303 (method url-fetch)
1304 (uri (crate-uri "rawpointer" version))
1305 (file-name (string-append name "-" version ".tar.gz"))
1306 (sha256
1307 (base32
1308 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1309 (build-system cargo-build-system)
1310 (home-page "https://github.com/bluss/rawpointer/")
1311 (synopsis "Extra methods for raw pointers")
1312 (description "Extra methods for raw pointers. For example
1313 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1314 and @code{ptrdistance}.")
1315 (license (list license:asl2.0
1316 license:expat))))
1317
1318 (define-public rust-regex-syntax
1319 (package
1320 (name "rust-regex-syntax")
1321 (version "0.6.10")
1322 (source
1323 (origin
1324 (method url-fetch)
1325 (uri (crate-uri "regex-syntax" version))
1326 (file-name (string-append name "-" version ".tar.gz"))
1327 (sha256
1328 (base32
1329 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1330 (build-system cargo-build-system)
1331 (arguments
1332 `(#:cargo-inputs
1333 (("rust-ucd-util" ,rust-ucd-util))))
1334 (home-page "https://github.com/rust-lang/regex")
1335 (synopsis "Regular expression parser")
1336 (description
1337 "This package provides a regular expression parser.")
1338 (license (list license:asl2.0
1339 license:expat))))
1340
1341 (define-public rust-remove-dir-all
1342 (package
1343 (name "rust-remove-dir-all")
1344 (version "0.5.2")
1345 (source
1346 (origin
1347 (method url-fetch)
1348 (uri (crate-uri "remove_dir_all" version))
1349 (file-name (string-append name "-" version ".tar.gz"))
1350 (sha256
1351 (base32
1352 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1353 (build-system cargo-build-system)
1354 (arguments
1355 `(#:cargo-inputs
1356 (("rust-winapi" ,rust-winapi))
1357 #:cargo-development-inputs
1358 (("rust-doc-comment" ,rust-doc-comment))
1359 #:phases
1360 (modify-phases %standard-phases
1361 (add-after 'unpack 'fix-source
1362 ;; The test phase expects there to be a README.md in the root directory.
1363 (lambda _
1364 (invoke "touch" "README.md"))))))
1365 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1366 (synopsis "Implementation of remove_dir_all for Windows")
1367 (description
1368 "This package provides a safe, reliable implementation of
1369 @code{remove_dir_all} for Windows")
1370 (license (list license:asl2.0
1371 license:expat))))
1372
1373 (define-public rust-resolv-conf
1374 (package
1375 (name "rust-resolv-conf")
1376 (version "0.6.2")
1377 (source
1378 (origin
1379 (method url-fetch)
1380 (uri (crate-uri "resolv-conf" version))
1381 (file-name (string-append name "-" version ".tar.gz"))
1382 (sha256
1383 (base32
1384 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1385 (build-system cargo-build-system)
1386 (arguments
1387 `(#:cargo-inputs
1388 (("rust-quick-error" ,rust-quick-error)
1389 ("rust-hostname" ,rust-hostname))
1390 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1391 (home-page "https://github.com/tailhook/resolv-conf")
1392 (synopsis "/etc/resolv.conf parser")
1393 (description
1394 "An /etc/resolv.conf parser crate for Rust.")
1395 (license (list license:asl2.0
1396 license:expat))))
1397
1398 (define-public rust-rustc-std-workspace-core
1399 (package
1400 (name "rust-rustc-std-workspace-core")
1401 (version "1.0.0")
1402 (source
1403 (origin
1404 (method url-fetch)
1405 (uri (crate-uri "rustc-std-workspace-core" version))
1406 (file-name (string-append name "-" version ".tar.gz"))
1407 (sha256
1408 (base32
1409 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
1410 (build-system cargo-build-system)
1411 (home-page "https://crates.io/crates/rustc-std-workspace-core")
1412 (synopsis "Explicitly empty crate for rust-lang/rust integration")
1413 (description "This crate provides an explicitly empty crate for
1414 rust-lang/rust integration.")
1415 (license (list license:asl2.0
1416 license:expat))))
1417
1418 (define-public rust-safemem
1419 (package
1420 (name "rust-safemem")
1421 (version "0.3.2")
1422 (source
1423 (origin
1424 (method url-fetch)
1425 (uri (crate-uri "safemem" version))
1426 (file-name (string-append name "-" version ".tar.gz"))
1427 (sha256
1428 (base32
1429 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
1430 (build-system cargo-build-system)
1431 (home-page "https://github.com/abonander/safemem")
1432 (synopsis "Safe wrappers for memory-accessing functions")
1433 (description
1434 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
1435 (license (list license:asl2.0
1436 license:expat))))
1437
1438 (define-public rust-same-file
1439 (package
1440 (name "rust-same-file")
1441 (version "1.0.5")
1442 (source
1443 (origin
1444 (method url-fetch)
1445 (uri (crate-uri "same-file" version))
1446 (file-name (string-append name "-" version ".tar.gz"))
1447 (sha256
1448 (base32
1449 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
1450 (build-system cargo-build-system)
1451 (arguments
1452 `(#:cargo-inputs
1453 (("rust-winapi-util" ,rust-winapi-util))))
1454 (home-page "https://github.com/BurntSushi/same-file")
1455 (synopsis "Determine whether two file paths point to the same file")
1456 (description
1457 "This package provides a simple crate for determining whether two file
1458 paths point to the same file.")
1459 (license (list license:unlicense
1460 license:expat))))
1461
1462 (define-public rust-schannel
1463 (package
1464 (name "rust-schannel")
1465 (version "0.1.15")
1466 (source
1467 (origin
1468 (method url-fetch)
1469 (uri (crate-uri "schannel" version))
1470 (file-name (string-append name "-" version ".tar.gz"))
1471 (sha256
1472 (base32
1473 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
1474 (build-system cargo-build-system)
1475 (arguments
1476 `(#:cargo-inputs
1477 (("rust-lazy-static" ,rust-lazy-static)
1478 ("rust-winapi" ,rust-winapi))))
1479 (home-page "https://github.com/steffengy/schannel-rs")
1480 (synopsis "Rust bindings to the Windows SChannel APIs")
1481 (description
1482 "Rust bindings to the Windows SChannel APIs providing TLS client and
1483 server functionality.")
1484 (license license:expat)))
1485
1486 (define-public rust-scoped-tls
1487 (package
1488 (name "rust-scoped-tls")
1489 (version "1.0.0")
1490 (source
1491 (origin
1492 (method url-fetch)
1493 (uri (crate-uri "scoped-tls" version))
1494 (file-name (string-append name "-" version ".tar.gz"))
1495 (sha256
1496 (base32
1497 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
1498 (build-system cargo-build-system)
1499 (home-page "https://github.com/alexcrichton/scoped-tls")
1500 (synopsis "Rust library providing the old standard library's scoped_thread_local")
1501 (description "This crate provides a library implementation of the standard
1502 library's old @code{scoped_thread_local!} macro for providing scoped access to
1503 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
1504 (license (list license:asl2.0
1505 license:expat))))
1506
1507 (define-public rust-scoped-tls-0.1
1508 (package
1509 (inherit rust-scoped-tls)
1510 (name "rust-scoped-tls")
1511 (version "0.1.2")
1512 (source
1513 (origin
1514 (method url-fetch)
1515 (uri (crate-uri "scoped-tls" version))
1516 (file-name (string-append name "-" version ".tar.gz"))
1517 (sha256
1518 (base32
1519 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
1520
1521 (define-public rust-scopeguard
1522 (package
1523 (name "rust-scopeguard")
1524 (version "1.0.0")
1525 (source
1526 (origin
1527 (method url-fetch)
1528 (uri (crate-uri "scopeguard" version))
1529 (file-name (string-append name "-" version ".tar.gz"))
1530 (sha256
1531 (base32
1532 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
1533 (build-system cargo-build-system)
1534 (home-page "https://github.com/bluss/scopeguard")
1535 (synopsis "Scope guard which will run a closure even out of scope")
1536 (description "This package provides a RAII scope guard that will run a
1537 given closure when it goes out of scope, even if the code between panics
1538 (assuming unwinding panic). Defines the macros @code{defer!},
1539 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
1540 with one of the implemented strategies.")
1541 (license (list license:asl2.0
1542 license:expat))))
1543
1544 (define-public rust-scopeguard-0.3
1545 (package
1546 (inherit rust-scopeguard)
1547 (name "rust-scopeguard")
1548 (version "0.3.3")
1549 (source
1550 (origin
1551 (method url-fetch)
1552 (uri (crate-uri "scopeguard" version))
1553 (file-name
1554 (string-append name "-" version ".tar.gz"))
1555 (sha256
1556 (base32
1557 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
1558
1559 (define-public rust-security-framework-sys
1560 (package
1561 (name "rust-security-framework-sys")
1562 (version "0.3.1")
1563 (source
1564 (origin
1565 (method url-fetch)
1566 (uri (crate-uri "security-framework-sys" version))
1567 (file-name (string-append name "-" version ".tar.gz"))
1568 (sha256
1569 (base32
1570 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
1571 (build-system cargo-build-system)
1572 (arguments
1573 `(#:cargo-inputs
1574 (("rust-core-foundation-sys"
1575 ,rust-core-foundation-sys))))
1576 (home-page "https://lib.rs/crates/security-framework-sys")
1577 (synopsis "Apple `Security.framework` low-level FFI bindings")
1578 (description
1579 "Apple `Security.framework` low-level FFI bindings.")
1580 (license (list license:asl2.0
1581 license:expat))))
1582
1583 (define-public rust-semver-parser
1584 (package
1585 (name "rust-semver-parser")
1586 (version "0.9.0")
1587 (source
1588 (origin
1589 (method url-fetch)
1590 (uri (crate-uri "semver-parser" version))
1591 (file-name (string-append name "-" version ".tar.gz"))
1592 (sha256
1593 (base32
1594 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
1595 (build-system cargo-build-system)
1596 (home-page "https://github.com/steveklabnik/semver-parser")
1597 (synopsis "Parsing of the semver spec")
1598 (description "This package provides for parsing of the semver spec.")
1599 (license (list license:asl2.0
1600 license:expat))))
1601
1602 (define-public rust-shlex
1603 (package
1604 (name "rust-shlex")
1605 (version "0.1.1")
1606 (source
1607 (origin
1608 (method url-fetch)
1609 (uri (crate-uri "shlex" version))
1610 (file-name (string-append name "-" version ".tar.gz"))
1611 (sha256
1612 (base32
1613 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
1614 (build-system cargo-build-system)
1615 (home-page "https://github.com/comex/rust-shlex")
1616 (synopsis "Split a string into shell words, like Python's shlex")
1617 (description "This crate provides a method to split a string into shell
1618 words, like Python's shlex.")
1619 (license (list license:asl2.0
1620 license:expat))))
1621
1622 (define-public rust-slab
1623 (package
1624 (name "rust-slab")
1625 (version "0.4.2")
1626 (source
1627 (origin
1628 (method url-fetch)
1629 (uri (crate-uri "slab" version))
1630 (file-name (string-append name "-" version ".tar.gz"))
1631 (sha256
1632 (base32
1633 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
1634 (build-system cargo-build-system)
1635 (home-page "https://github.com/carllerche/slab")
1636 (synopsis "Pre-allocated storage for a uniform data type")
1637 (description "This create provides a pre-allocated storage for a uniform
1638 data type.")
1639 (license license:expat)))
1640
1641 (define-public rust-spin
1642 (package
1643 (name "rust-spin")
1644 (version "0.5.0")
1645 (source
1646 (origin
1647 (method url-fetch)
1648 (uri (crate-uri "spin" version))
1649 (file-name (string-append name "-" version ".tar.gz"))
1650 (sha256
1651 (base32
1652 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
1653 (build-system cargo-build-system)
1654 (home-page "https://github.com/mvdnes/spin-rs.git")
1655 (synopsis "Synchronization primitives based on spinning")
1656 (description "This crate provides synchronization primitives based on
1657 spinning. They may contain data, are usable without @code{std},and static
1658 initializers are available.")
1659 (license license:expat)))
1660
1661 (define-public rust-stable-deref-trait
1662 (package
1663 (name "rust-stable-deref-trait")
1664 (version "1.1.1")
1665 (source
1666 (origin
1667 (method url-fetch)
1668 (uri (crate-uri "stable_deref_trait" version))
1669 (file-name (string-append name "-" version ".tar.gz"))
1670 (sha256
1671 (base32
1672 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
1673 (build-system cargo-build-system)
1674 (home-page "https://github.com/storyyeller/stable_deref_trait0")
1675 (synopsis "Defines an unsafe marker trait, StableDeref")
1676 (description
1677 "This crate defines an unsafe marker trait, StableDeref, for container
1678 types which deref to a fixed address which is valid even when the containing
1679 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
1680 Additionally, it defines CloneStableDeref for types like Rc where clones deref
1681 to the same address.")
1682 (license (list license:asl2.0
1683 license:expat))))
1684
1685 (define-public rust-stdweb-internal-runtime
1686 (package
1687 (name "rust-stdweb-internal-runtime")
1688 (version "0.1.4")
1689 (source
1690 (origin
1691 (method url-fetch)
1692 (uri (crate-uri "stdweb-internal-runtime" version))
1693 (file-name (string-append name "-" version ".tar.gz"))
1694 (sha256
1695 (base32
1696 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
1697 (build-system cargo-build-system)
1698 (home-page "https://github.com/koute/stdweb")
1699 (synopsis "Internal runtime for the @code{stdweb} crate")
1700 (description "This crate provides internal runtime for the @code{stdweb}
1701 crate.")
1702 (license (list license:asl2.0
1703 license:expat))))
1704
1705 (define-public rust-stdweb-internal-test-macro
1706 (package
1707 (name "rust-stdweb-internal-test-macro")
1708 (version "0.1.0")
1709 (source
1710 (origin
1711 (method url-fetch)
1712 (uri (crate-uri "stdweb-internal-test-macro" version))
1713 (file-name (string-append name "-" version ".tar.gz"))
1714 (sha256
1715 (base32
1716 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
1717 (build-system cargo-build-system)
1718 (arguments
1719 `(#:cargo-inputs
1720 (("rust-proc-macro2" ,rust-proc-macro2)
1721 ("rust-quote" ,rust-quote))))
1722 (home-page "https://github.com/koute/stdweb")
1723 (synopsis "Internal crate of the `stdweb` crate")
1724 (description
1725 "Internal crate of the @code{stdweb} crate.")
1726 (license (list license:asl2.0
1727 license:expat))))
1728
1729 (define-public rust-streaming-stats
1730 (package
1731 (name "rust-streaming-stats")
1732 (version "0.2.2")
1733 (source
1734 (origin
1735 (method url-fetch)
1736 (uri (crate-uri "streaming-stats" version))
1737 (file-name (string-append name "-" version ".tar.gz"))
1738 (sha256
1739 (base32
1740 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
1741 (build-system cargo-build-system)
1742 (arguments
1743 `(#:cargo-inputs
1744 (("rust-num-traits" ,rust-num-traits))))
1745 (home-page "https://github.com/BurntSushi/rust-stats")
1746 (synopsis "Compute basic statistics on streams")
1747 (description
1748 "Experimental crate for computing basic statistics on streams.")
1749 (license (list license:unlicense
1750 license:expat))))
1751
1752 (define-public rust-strsim
1753 (package
1754 (name "rust-strsim")
1755 (version "0.9.2")
1756 (source
1757 (origin
1758 (method url-fetch)
1759 (uri (crate-uri "strsim" version))
1760 (file-name (string-append name "-" version ".tar.gz"))
1761 (sha256
1762 (base32
1763 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
1764 (build-system cargo-build-system)
1765 (home-page "https://github.com/dguo/strsim-rs")
1766 (synopsis "Rust implementations of string similarity metrics")
1767 (description "This crate includes implementations of string similarity
1768 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
1769 and Jaro-Winkler.")
1770 (license license:expat)))
1771
1772 (define-public rust-synstructure-test-traits
1773 (package
1774 (name "rust-synstructure-test-traits")
1775 (version "0.1.0")
1776 (source
1777 (origin
1778 (method url-fetch)
1779 (uri (crate-uri "synstructure_test_traits" version))
1780 (file-name (string-append name "-" version ".tar.gz"))
1781 (sha256
1782 (base32
1783 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
1784 (build-system cargo-build-system)
1785 (home-page "https://crates.io/crates/synstructure_test_traits")
1786 (synopsis "Helper test traits for synstructure doctests")
1787 (description
1788 "This package provides helper test traits for synstructure doctests.")
1789 (license license:expat)))
1790
1791 (define-public rust-termcolor
1792 (package
1793 (name "rust-termcolor")
1794 (version "1.0.5")
1795 (source
1796 (origin
1797 (method url-fetch)
1798 (uri (crate-uri "termcolor" version))
1799 (file-name (string-append name "-" version ".tar.gz"))
1800 (sha256
1801 (base32
1802 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
1803 (build-system cargo-build-system)
1804 (arguments
1805 `(#:cargo-inputs
1806 (("rust-wincolor" ,rust-wincolor))))
1807 (home-page "https://github.com/BurntSushi/termcolor")
1808 (synopsis "Library for writing colored text to a terminal")
1809 (description "This package provides a simple cross platform library for
1810 writing colored text to a terminal.")
1811 (license (list license:unlicense
1812 license:expat))))
1813
1814 (define-public rust-termios
1815 (package
1816 (name "rust-termios")
1817 (version "0.3.1")
1818 (source
1819 (origin
1820 (method url-fetch)
1821 (uri (crate-uri "termios" version))
1822 (file-name (string-append name "-" version ".tar.gz"))
1823 (sha256
1824 (base32
1825 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
1826 (build-system cargo-build-system)
1827 (arguments
1828 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
1829 (home-page "https://github.com/dcuddeback/termios-rs")
1830 (synopsis "Safe bindings for the termios library")
1831 (description
1832 "The termios crate provides safe bindings for the Rust programming language
1833 to the terminal I/O interface implemented by Unix operating systems. The safe
1834 bindings are a small wrapper around the raw C functions, which converts integer
1835 return values to @code{std::io::Result} to indicate success or failure.")
1836 (license license:expat)))
1837
1838 (define-public rust-thread-local
1839 (package
1840 (name "rust-thread-local")
1841 (version "0.3.6")
1842 (source
1843 (origin
1844 (method url-fetch)
1845 (uri (crate-uri "thread_local" version))
1846 (file-name (string-append name "-" version ".tar.gz"))
1847 (sha256
1848 (base32
1849 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
1850 (build-system cargo-build-system)
1851 (arguments
1852 `(#:cargo-inputs
1853 (("rust-lazy-static" ,rust-lazy-static))))
1854 (home-page "https://github.com/Amanieu/thread_local-rs")
1855 (synopsis "Per-object thread-local storage")
1856 (description "Per-object thread-local storage")
1857 (license (list license:asl2.0
1858 license:expat))))
1859
1860 (define-public rust-threadpool
1861 (package
1862 (name "rust-threadpool")
1863 (version "1.7.1")
1864 (source
1865 (origin
1866 (method url-fetch)
1867 (uri (crate-uri "threadpool" version))
1868 (file-name (string-append name "-" version ".tar.gz"))
1869 (sha256
1870 (base32
1871 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
1872 (build-system cargo-build-system)
1873 (arguments
1874 `(#:cargo-inputs
1875 (("rust-num-cpus" ,rust-num-cpus))))
1876 (home-page "https://github.com/rust-threadpool/rust-threadpool")
1877 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
1878 (description
1879 "This package provides a thread pool for running a number of jobs on a
1880 fixed set of worker threads.")
1881 (license (list license:asl2.0
1882 license:expat))))
1883
1884 (define-public rust-tokio-mock-task
1885 (package
1886 (name "rust-tokio-mock-task")
1887 (version "0.1.1")
1888 (source
1889 (origin
1890 (method url-fetch)
1891 (uri (crate-uri "tokio-mock-task" version))
1892 (file-name (string-append name "-" version ".tar.gz"))
1893 (sha256
1894 (base32
1895 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
1896 (build-system cargo-build-system)
1897 (arguments
1898 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
1899 (home-page "https://github.com/carllerche/tokio-mock-task")
1900 (synopsis "Mock a Tokio task")
1901 (description "Mock a Tokio task")
1902 (license license:expat)))
1903
1904 (define-public rust-tracing-core
1905 (package
1906 (name "rust-tracing-core")
1907 (version "0.1.2")
1908 (source
1909 (origin
1910 (method url-fetch)
1911 (uri (crate-uri "tracing-core" version))
1912 (file-name (string-append name "-" version ".tar.gz"))
1913 (sha256
1914 (base32
1915 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
1916 (build-system cargo-build-system)
1917 (arguments
1918 `(#:cargo-inputs
1919 (("rust-lazy-static" ,rust-lazy-static))))
1920 (home-page "https://tokio.rs")
1921 (synopsis "Core primitives for application-level tracing")
1922 (description
1923 "Core primitives for application-level tracing.")
1924 (license (list license:asl2.0
1925 license:expat))))
1926
1927 (define-public rust-traitobject
1928 (package
1929 (name "rust-traitobject")
1930 (version "0.1.0")
1931 (source
1932 (origin
1933 (method url-fetch)
1934 (uri (crate-uri "traitobject" version))
1935 (file-name (string-append name "-" version ".tar.gz"))
1936 (sha256
1937 (base32
1938 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
1939 (build-system cargo-build-system)
1940 (home-page "https://github.com/reem/rust-traitobject.git")
1941 (synopsis "Unsafe helpers for dealing with raw trait objects")
1942 (description "Unsafe helpers for dealing with raw trait objects.")
1943 (license (list license:asl2.0
1944 license:expat))))
1945
1946 (define-public rust-try-from
1947 (package
1948 (name "rust-try-from")
1949 (version "0.3.2")
1950 (source
1951 (origin
1952 (method url-fetch)
1953 (uri (crate-uri "try_from" version))
1954 (file-name (string-append name "-" version ".tar.gz"))
1955 (sha256
1956 (base32
1957 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
1958 (build-system cargo-build-system)
1959 (arguments
1960 `(#:cargo-inputs
1961 (("rust-cfg-if" ,rust-cfg-if))))
1962 (home-page "https://github.com/derekjw/try_from")
1963 (synopsis "TryFrom and TryInto traits for failable conversions")
1964 (description
1965 "TryFrom and TryInto traits for failable conversions that return a Result.")
1966 (license license:expat)))
1967
1968 (define-public rust-try-lock
1969 (package
1970 (name "rust-try-lock")
1971 (version "0.2.2")
1972 (source
1973 (origin
1974 (method url-fetch)
1975 (uri (crate-uri "try-lock" version))
1976 (file-name (string-append name "-" version ".tar.gz"))
1977 (sha256
1978 (base32
1979 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
1980 (build-system cargo-build-system)
1981 (home-page "https://github.com/seanmonstar/try-lock")
1982 (synopsis "Lightweight atomic lock")
1983 (description
1984 "This package provides a lightweight atomic lock.")
1985 (license license:expat)))
1986
1987 (define-public rust-typeable
1988 (package
1989 (name "rust-typeable")
1990 (version "0.1.2")
1991 (source
1992 (origin
1993 (method url-fetch)
1994 (uri (crate-uri "typeable" version))
1995 (file-name (string-append name "-" version ".tar.gz"))
1996 (sha256
1997 (base32
1998 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
1999 (build-system cargo-build-system)
2000 (home-page "https://github.com/reem/rust-typeable")
2001 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2002 (description "Exposes Typeable, for getting TypeIds at runtime.")
2003 (license license:expat)))
2004
2005 (define-public rust-typemap
2006 (package
2007 (name "rust-typemap")
2008 (version "0.3.3")
2009 (source
2010 (origin
2011 (method url-fetch)
2012 (uri (crate-uri "typemap" version))
2013 (file-name (string-append name "-" version ".tar.gz"))
2014 (sha256
2015 (base32
2016 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2017 (build-system cargo-build-system)
2018 (arguments
2019 `(#:cargo-inputs
2020 (("rust-unsafe-any" ,rust-unsafe-any))))
2021 (home-page "https://github.com/reem/rust-typemap")
2022 (synopsis "Typesafe store for many value types")
2023 (description
2024 "A typesafe store for many value types.")
2025 (license license:expat)))
2026
2027 (define-public rust-typenum
2028 (package
2029 (name "rust-typenum")
2030 (version "1.10.0")
2031 (source
2032 (origin
2033 (method url-fetch)
2034 (uri (crate-uri "typenum" version))
2035 (file-name (string-append name "-" version ".tar.gz"))
2036 (sha256
2037 (base32
2038 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2039 (build-system cargo-build-system)
2040 (home-page "https://github.com/paholg/typenum")
2041 (synopsis "Rust library for type-level numbers evaluated at compile time")
2042 (description "Typenum is a Rust library for type-level numbers evaluated at
2043 compile time. It currently supports bits, unsigned integers, and signed
2044 integers. It also provides a type-level array of type-level numbers, but its
2045 implementation is incomplete.")
2046 (license (list license:asl2.0
2047 license:expat))))
2048
2049 (define-public rust-ucd-trie
2050 (package
2051 (name "rust-ucd-trie")
2052 (version "0.1.2")
2053 (source
2054 (origin
2055 (method url-fetch)
2056 (uri (crate-uri "ucd-trie" version))
2057 (file-name (string-append name "-" version ".tar.gz"))
2058 (sha256
2059 (base32
2060 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2061 (build-system cargo-build-system)
2062 (arguments
2063 `(#:cargo-development-inputs
2064 (("rust-lazy-static" ,rust-lazy-static))))
2065 (home-page "https://github.com/BurntSushi/ucd-generate")
2066 (synopsis "Trie for storing Unicode codepoint sets and maps")
2067 (description
2068 "This package provides a trie for storing Unicode codepoint sets and maps.")
2069 (license (list license:asl2.0
2070 license:expat))))
2071
2072 (define-public rust-ucd-util
2073 (package
2074 (name "rust-ucd-util")
2075 (version "0.1.5")
2076 (source
2077 (origin
2078 (method url-fetch)
2079 (uri (crate-uri "ucd-util" version))
2080 (file-name (string-append name "-" version ".tar.gz"))
2081 (sha256
2082 (base32
2083 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2084 (build-system cargo-build-system)
2085 (home-page "https://github.com/BurntSushi/ucd-generate")
2086 (synopsis "library for working with the Unicode character database")
2087 (description "This package provides a small utility library for working
2088 with the Unicode character database.")
2089 (license (list license:asl2.0
2090 license:expat))))
2091
2092 (define-public rust-unicase
2093 (package
2094 (name "rust-unicase")
2095 (version "2.4.0")
2096 (source
2097 (origin
2098 (method url-fetch)
2099 (uri (crate-uri "unicase" version))
2100 (file-name (string-append name "-" version ".tar.gz"))
2101 (sha256
2102 (base32
2103 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2104 (build-system cargo-build-system)
2105 (arguments
2106 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2107 (home-page "https://github.com/seanmonstar/unicase")
2108 (synopsis "Case-insensitive wrapper around strings")
2109 (description
2110 "A case-insensitive wrapper around strings.")
2111 (license (list license:asl2.0
2112 license:expat))))
2113
2114 (define-public rust-unicode-width
2115 (package
2116 (name "rust-unicode-width")
2117 (version "0.1.5")
2118 (source
2119 (origin
2120 (method url-fetch)
2121 (uri (crate-uri "unicode-width" version))
2122 (file-name (string-append name "-" version ".tar.gz"))
2123 (sha256
2124 (base32
2125 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2126 (build-system cargo-build-system)
2127 (home-page "https://github.com/unicode-rs/unicode-width")
2128 (synopsis "Determine displayed width according to Unicode rules")
2129 (description "This crate allows you to determine displayed width of
2130 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2131 (license (list license:asl2.0
2132 license:expat))))
2133
2134 (define-public rust-unicode-xid
2135 (package
2136 (name "rust-unicode-xid")
2137 (version "0.1.0")
2138 (source
2139 (origin
2140 (method url-fetch)
2141 (uri (crate-uri "unicode-xid" version))
2142 (file-name
2143 (string-append name "-" version ".tar.gz"))
2144 (sha256
2145 (base32
2146 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))
2147 (build-system cargo-build-system)
2148 (home-page
2149 "https://github.com/unicode-rs/unicode-xid")
2150 (synopsis "Determine Unicode XID related properties")
2151 (description "Determine whether characters have the XID_Start
2152 or XID_Continue properties according to Unicode Standard Annex #31.")
2153 ;; Dual licensed.
2154 (license (list license:asl2.0 license:expat))))
2155
2156 (define-public rust-unindent
2157 (package
2158 (name "rust-unindent")
2159 (version "0.1.3")
2160 (source
2161 (origin
2162 (method url-fetch)
2163 (uri (crate-uri "unindent" version))
2164 (file-name (string-append name "-" version ".tar.gz"))
2165 (sha256
2166 (base32
2167 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2168 (build-system cargo-build-system)
2169 (home-page "https://github.com/dtolnay/indoc")
2170 (synopsis "Remove a column of leading whitespace from a string")
2171 (description "This crate allows you to remove a column of leading
2172 whitespace from a string.")
2173 (license (list license:asl2.0
2174 license:expat))))
2175
2176 (define-public rust-unsafe-any
2177 (package
2178 (name "rust-unsafe-any")
2179 (version "0.4.2")
2180 (source
2181 (origin
2182 (method url-fetch)
2183 (uri (crate-uri "unsafe-any" version))
2184 (file-name (string-append name "-" version ".tar.gz"))
2185 (sha256
2186 (base32
2187 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2188 (build-system cargo-build-system)
2189 (arguments
2190 `(#:cargo-inputs
2191 (("rust-traitobject" ,rust-traitobject))))
2192 (home-page "https://tokio.rs")
2193 (synopsis "Traits and implementations for unchecked downcasting")
2194 (description
2195 "Traits and implementations for unchecked downcasting.")
2196 (license license:expat)))
2197
2198 (define-public rust-untrusted
2199 (package
2200 (name "rust-untrusted")
2201 (version "0.7.0")
2202 (source
2203 (origin
2204 (method url-fetch)
2205 (uri (crate-uri "untrusted" version))
2206 (file-name (string-append name "-" version ".tar.gz"))
2207 (sha256
2208 (base32
2209 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2210 (build-system cargo-build-system)
2211 (home-page "https://github.com/briansmith/untrusted")
2212 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2213 (description
2214 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2215 untrusted inputs in Rust.")
2216 (license license:isc)))
2217
2218 (define-public rust-version-check
2219 (package
2220 (name "rust-version-check")
2221 (version "0.9.1")
2222 (source
2223 (origin
2224 (method url-fetch)
2225 (uri (crate-uri "version_check" version))
2226 (file-name (string-append name "-" version ".tar.gz"))
2227 (sha256
2228 (base32
2229 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2230 (build-system cargo-build-system)
2231 (home-page "https://github.com/SergioBenitez/version_check")
2232 (synopsis "Check that the installed rustc meets some version requirements")
2233 (description
2234 "This tiny crate checks that the running or installed rustc meets some
2235 version requirements. The version is queried by calling the Rust compiler with
2236 @code{--version}. The path to the compiler is determined first via the
2237 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2238 If that fails, no determination is made, and calls return None.")
2239 (license (list license:asl2.0
2240 license:expat))))
2241
2242 (define-public rust-version-check-0.1
2243 (package
2244 (inherit rust-version-check)
2245 (name "rust-version-check")
2246 (version "0.1.5")
2247 (source
2248 (origin
2249 (method url-fetch)
2250 (uri (crate-uri "version_check" version))
2251 (file-name (string-append name "-" version ".tar.gz"))
2252 (sha256
2253 (base32
2254 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
2255
2256 (define-public rust-void
2257 (package
2258 (name "rust-void")
2259 (version "1.0.2")
2260 (source
2261 (origin
2262 (method url-fetch)
2263 (uri (crate-uri "void" version))
2264 (file-name (string-append name "-" version ".tar.gz"))
2265 (sha256
2266 (base32
2267 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
2268 (build-system cargo-build-system)
2269 (home-page "https://github.com/reem/rust-void.git")
2270 (synopsis "Void type for use in statically impossible cases")
2271 (description
2272 "The uninhabited void type for use in statically impossible cases.")
2273 (license license:expat)))
2274
2275 (define-public rust-walkdir
2276 (package
2277 (name "rust-walkdir")
2278 (version "2.2.9")
2279 (source
2280 (origin
2281 (method url-fetch)
2282 (uri (crate-uri "walkdir" version))
2283 (file-name (string-append name "-" version ".tar.gz"))
2284 (sha256
2285 (base32
2286 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
2287 (build-system cargo-build-system)
2288 (arguments
2289 `(#:cargo-inputs
2290 (("rust-same-file" ,rust-same-file)
2291 ("rust-winapi" ,rust-winapi)
2292 ("rust-winapi-util" ,rust-winapi-util))
2293 #:cargo-development-inputs
2294 (("rust-doc-comment" ,rust-doc-comment))))
2295 (home-page "https://github.com/BurntSushi/walkdir")
2296 (synopsis "Recursively walk a directory")
2297 (description "Recursively walk a directory.")
2298 (license (list license:unlicense
2299 license:expat))))
2300
2301 (define-public rust-wasi
2302 (package
2303 (name "rust-wasi")
2304 (version "0.5.0")
2305 (source
2306 (origin
2307 (method url-fetch)
2308 (uri (crate-uri "wasi" version))
2309 (file-name
2310 (string-append name "-" version ".tar.gz"))
2311 (sha256
2312 (base32
2313 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
2314 (build-system cargo-build-system)
2315 (home-page "https://github.com/CraneStation/rust-wasi")
2316 (synopsis "Experimental WASI API bindings for Rust")
2317 (description "This package contains experimental WASI API bindings
2318 in Rust.")
2319 (license license:asl2.0)))
2320
2321 (define-public rust-wasm-bindgen-shared
2322 (package
2323 (name "rust-wasm-bindgen-shared")
2324 (version "0.2.48")
2325 (source
2326 (origin
2327 (method url-fetch)
2328 (uri (crate-uri "wasm-bindgen-shared" version))
2329 (file-name (string-append name "-" version ".tar.gz"))
2330 (sha256
2331 (base32
2332 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
2333 (build-system cargo-build-system)
2334 (home-page "https://rustwasm.github.io/wasm-bindgen/")
2335 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
2336 (description "This package provides shared support between
2337 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
2338 (license (list license:asl2.0
2339 license:expat))))
2340
2341 (define-public rust-wasm-bindgen-test-macro
2342 (package
2343 (name "rust-wasm-bindgen-test-macro")
2344 (version "0.2.48")
2345 (source
2346 (origin
2347 (method url-fetch)
2348 (uri (crate-uri "wasm-bindgen-test-macro" version))
2349 (file-name (string-append name "-" version ".tar.gz"))
2350 (sha256
2351 (base32
2352 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
2353 (build-system cargo-build-system)
2354 (arguments
2355 `(#:cargo-inputs
2356 (("rust-proc-macro2" ,rust-proc-macro2)
2357 ("rust-quote" ,rust-quote))))
2358 (home-page "https://github.com/rustwasm/wasm-bindgen")
2359 (synopsis "Internal testing macro for wasm-bindgen")
2360 (description
2361 "This library contains the internal testing macro for wasm-bindgen.")
2362 (license (list license:asl2.0
2363 license:expat))))
2364
2365 (define-public rust-widestring
2366 (package
2367 (name "rust-widestring")
2368 (version "0.4.0")
2369 (source
2370 (origin
2371 (method url-fetch)
2372 (uri (crate-uri "widestring" version))
2373 (file-name (string-append name "-" version ".tar.gz"))
2374 (sha256
2375 (base32
2376 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
2377 (build-system cargo-build-system)
2378 (arguments
2379 `(#:cargo-development-inputs
2380 (("rust-winapi" ,rust-winapi))))
2381 (home-page "https://github.com/starkat99/widestring-rs")
2382 (synopsis "Wide string Rust FFI library")
2383 (description
2384 "A wide string Rust FFI library for converting to and from wide strings,
2385 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
2386 UTF-32 types are provided, including support for malformed encoding.")
2387 (license (list license:asl2.0
2388 license:expat))))
2389
2390 (define-public rust-winapi
2391 (package
2392 (name "rust-winapi")
2393 (version "0.3.8")
2394 (source
2395 (origin
2396 (method url-fetch)
2397 (uri (crate-uri "winapi" version))
2398 (file-name (string-append name "-" version ".tar.gz"))
2399 (sha256
2400 (base32
2401 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
2402 (build-system cargo-build-system)
2403 (arguments
2404 `(#:cargo-inputs
2405 (("rust-winapi-i686-pc-windows-gnu"
2406 ,rust-winapi-i686-pc-windows-gnu)
2407 ("rust-winapi-x86-64-pc-windows-gnu"
2408 ,rust-winapi-x86-64-pc-windows-gnu))))
2409 (home-page "https://github.com/retep998/winapi-rs")
2410 (synopsis "Raw FFI bindings for all of Windows API.")
2411 (description
2412 "Raw FFI bindings for all of Windows API.")
2413 (license (list license:asl2.0
2414 license:expat))))
2415
2416 (define-public rust-winapi-0.2
2417 (package
2418 (inherit rust-winapi)
2419 (name "rust-winapi")
2420 (version "0.2.8")
2421 (source
2422 (origin
2423 (method url-fetch)
2424 (uri (crate-uri "winapi" version))
2425 (file-name (string-append name "-" version ".tar.gz"))
2426 (sha256
2427 (base32
2428 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
2429 ;; We do not want to package 48 -sys crates for a package we do not want.
2430 ;; They are all dev dependencies, so we skip building and testing.
2431 (arguments
2432 `(#:tests? #f
2433 #:phases
2434 (modify-phases %standard-phases
2435 (delete 'build))))))
2436
2437 (define-public rust-winapi-build
2438 (package
2439 (name "rust-winapi-build")
2440 (version "0.1.1")
2441 (source
2442 (origin
2443 (method url-fetch)
2444 (uri (crate-uri "winapi-build" version))
2445 (file-name (string-append name "-" version ".tar.gz"))
2446 (sha256
2447 (base32
2448 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
2449 (build-system cargo-build-system)
2450 (home-page "https://github.com/retep998/winapi-rs")
2451 (synopsis "Common code for build.rs in WinAPI -sys crates")
2452 (description
2453 "Common code for build.rs in WinAPI -sys crates.")
2454 (license license:expat)))
2455
2456 (define-public rust-winapi-i686-pc-windows-gnu
2457 (package
2458 (name "rust-winapi-i686-pc-windows-gnu")
2459 (version "0.4.0")
2460 (source
2461 (origin
2462 (method url-fetch)
2463 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
2464 (file-name (string-append name "-" version ".tar.gz"))
2465 (sha256
2466 (base32
2467 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
2468 (build-system cargo-build-system)
2469 (home-page "https://github.com/retep998/winapi-rs")
2470 (synopsis "Import libraries for the i686-pc-windows-gnu target")
2471 (description "This crate provides import libraries for the
2472 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
2473 @code{winapi} instead.")
2474 (license (list license:asl2.0
2475 license:expat))))
2476
2477 (define-public rust-winapi-util
2478 (package
2479 (name "rust-winapi-util")
2480 (version "0.1.2")
2481 (source
2482 (origin
2483 (method url-fetch)
2484 (uri (crate-uri "winapi-util" version))
2485 (file-name (string-append name "-" version ".tar.gz"))
2486 (sha256
2487 (base32
2488 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
2489 (build-system cargo-build-system)
2490 (arguments
2491 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
2492 (home-page "https://github.com/BurntSushi/winapi-util")
2493 (synopsis "Dumping ground for high level safe wrappers over winapi")
2494 (description
2495 "This package provides a dumping ground for high level safe wrappers over
2496 winapi.")
2497 (license (list license:unlicense
2498 license:expat))))
2499
2500 (define-public rust-winapi-x86-64-pc-windows-gnu
2501 (package
2502 (name "rust-winapi-x86-64-pc-windows-gnu")
2503 (version "0.4.0")
2504 (source
2505 (origin
2506 (method url-fetch)
2507 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
2508 (file-name (string-append name "-" version ".tar.gz"))
2509 (sha256
2510 (base32
2511 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
2512 (build-system cargo-build-system)
2513 (home-page "https://github.com/retep998/winapi-rs")
2514 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
2515 (description "This package provides import libraries for the
2516 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
2517 @code{winapi} instead.")
2518 (license (list license:asl2.0
2519 license:expat))))
2520
2521 (define-public rust-wincolor
2522 (package
2523 (name "rust-wincolor")
2524 (version "1.0.2")
2525 (source
2526 (origin
2527 (method url-fetch)
2528 (uri (crate-uri "wincolor" version))
2529 (file-name (string-append name "-" version ".tar.gz"))
2530 (sha256
2531 (base32
2532 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
2533 (build-system cargo-build-system)
2534 (arguments
2535 `(#:cargo-inputs
2536 (("rust-winapi" ,rust-winapi)
2537 ("rust-winapi-util" ,rust-winapi-util))))
2538 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
2539 (synopsis "Windows API for controlling text color in a Windows console")
2540 (description
2541 "This package provides a simple Windows specific API for controlling text
2542 color in a Windows console.")
2543 (license (list license:unlicense
2544 license:expat))))
2545
2546 (define-public rust-winutil
2547 (package
2548 (name "rust-winutil")
2549 (version "0.1.1")
2550 (source
2551 (origin
2552 (method url-fetch)
2553 (uri (crate-uri "winutil" version))
2554 (file-name (string-append name "-" version ".tar.gz"))
2555 (sha256
2556 (base32
2557 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
2558 (build-system cargo-build-system)
2559 (arguments
2560 `(#:cargo-inputs
2561 (("rust-winapi" ,rust-winapi))
2562 ;; This unmaintained crate cannot find winapi when built directly.
2563 #:tests? #f
2564 #:phases
2565 (modify-phases %standard-phases
2566 (delete 'build))))
2567 (home-page "https://bitbucket.org/DaveLancaster/winutil")
2568 (synopsis "Library wrapping a handful of useful winapi functions")
2569 (description
2570 "A simple library wrapping a handful of useful winapi functions.")
2571 (license license:expat)))
2572
2573 (define-public rust-ws2-32-sys
2574 (package
2575 (name "rust-ws2-32-sys")
2576 (version "0.2.1")
2577 (source
2578 (origin
2579 (method url-fetch)
2580 (uri (crate-uri "ws2_32-sys" version))
2581 (file-name (string-append name "-" version ".tar.gz"))
2582 (sha256
2583 (base32
2584 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
2585 (build-system cargo-build-system)
2586 (arguments
2587 `(#:cargo-inputs
2588 (("rust-winapi" ,rust-winapi-0.2)
2589 ("rust-winapi-build" ,rust-winapi-build))
2590 #:phases
2591 (modify-phases %standard-phases
2592 (add-after 'unpack 'fix-Cargo-toml
2593 (lambda _
2594 (substitute* "Cargo.toml"
2595 ((", path =.* }") "}\n"))
2596 #t)))))
2597 (home-page "https://github.com/retep998/winapi-rs")
2598 (synopsis "Function definitions for the Windows API library ws2_32")
2599 (description
2600 "Contains function definitions for the Windows API library ws2_32.")
2601 (license license:expat)))
2602
2603 (define-public rust-xdg
2604 (package
2605 (name "rust-xdg")
2606 (version "2.2.0")
2607 (source
2608 (origin
2609 (method url-fetch)
2610 (uri (crate-uri "xdg" version))
2611 (file-name (string-append name "-" version ".tar.gz"))
2612 (sha256
2613 (base32
2614 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
2615 (build-system cargo-build-system)
2616 (home-page "https://github.com/whitequark/rust-xdg")
2617 (synopsis "Store and retrieve files according to XDG specification")
2618 (description
2619 "This package provides a library for storing and retrieving files according
2620 to XDG Base Directory specification")
2621 (license (list license:asl2.0
2622 license:expat))))