gnu: Add rust-miniz-sys.
[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 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
6 ;;;
7 ;;; This file is part of GNU Guix.
8 ;;;
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
13 ;;;
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
18 ;;;
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21
22 (define-module (gnu packages crates-io)
23 #:use-module (guix build-system cargo)
24 #:use-module (guix download)
25 #:use-module ((guix licenses) #:prefix license:)
26 #:use-module (guix packages)
27 #:use-module (gnu packages pkg-config))
28
29 ;;;
30 ;;; Please: Try to add new module packages in alphabetic order.
31 ;;;
32
33 (define-public rust-adler32
34 (package
35 (name "rust-adler32")
36 (version "1.0.3")
37 (source
38 (origin
39 (method url-fetch)
40 (uri (crate-uri "adler32" version))
41 (file-name
42 (string-append name "-" version ".tar.gz"))
43 (sha256
44 (base32
45 "0p7fxlnks9l7p7rwfqi7aqgnk2bps5zc0rjiw00mdw19nnbjjlky"))))
46 (build-system cargo-build-system)
47 (arguments
48 `(#:cargo-development-inputs (("rust-rand" ,rust-rand))))
49 (home-page "https://github.com/remram44/adler32-rs")
50 (synopsis "Implementation of the Adler32 rolling hash algorithm")
51 (description
52 "This library is an implementation of the Adler32 rolling hash algorithm in
53 the Rust programming language.")
54 (license (list license:bsd-3
55 license:zlib))))
56
57 (define-public rust-antidote
58 (package
59 (name "rust-antidote")
60 (version "1.0.0")
61 (source
62 (origin
63 (method url-fetch)
64 (uri (crate-uri "antidote" version))
65 (file-name (string-append name "-" version ".tar.gz"))
66 (sha256
67 (base32
68 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
69 (build-system cargo-build-system)
70 (home-page "https://github.com/sfackler/rust-antidote")
71 (synopsis "Poison-free Mutex and RwLock types")
72 (description
73 "These types expose identical APIs to the standard library @code{Mutex} and
74 @code{RwLock} except that they do not return @code{PoisonError}s.")
75 (license (list license:asl2.0
76 license:expat))))
77
78 (define-public rust-atty
79 (package
80 (name "rust-atty")
81 (version "0.2.13")
82 (source
83 (origin
84 (method url-fetch)
85 (uri (crate-uri "atty" version))
86 (file-name (string-append name "-" version ".tar.gz"))
87 (sha256
88 (base32
89 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
90 (build-system cargo-build-system)
91 (arguments
92 `(#:cargo-inputs
93 (("rust-libc" ,rust-libc)
94 ("rust-winapi" ,rust-winapi))
95 #:tests? #f)) ; tests fail in our sandbox
96 (home-page "https://github.com/softprops/atty")
97 (synopsis "A simple interface for querying atty")
98 (description
99 "This package provides a simple interface for querying atty.")
100 (license license:expat)))
101
102 (define-public rust-autocfg
103 (package
104 (name "rust-autocfg")
105 (version "0.1.5")
106 (source
107 (origin
108 (method url-fetch)
109 (uri (crate-uri "autocfg" version))
110 (file-name (string-append name "-" version ".tar.gz"))
111 (sha256
112 (base32
113 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
114 (build-system cargo-build-system)
115 (home-page "https://github.com/cuviper/autocfg")
116 (synopsis "Automatic cfg for Rust compiler features")
117 (description "Rust library for build scripts to automatically configure
118 code based on compiler support. Code snippets are dynamically tested to see
119 if the @code{rustc} will accept them, rather than hard-coding specific version
120 support.")
121 (license (list license:asl2.0
122 license:expat))))
123
124 (define-public rust-base-x
125 (package
126 (name "rust-base-x")
127 (version "0.2.5")
128 (source
129 (origin
130 (method url-fetch)
131 (uri (crate-uri "base-x" version))
132 (file-name (string-append name "-" version ".tar.gz"))
133 (sha256
134 (base32
135 "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n"))))
136 (build-system cargo-build-system)
137 (arguments
138 `(#:cargo-development-inputs
139 (("rust-bencher" ,rust-bencher)
140 ("rust-json" ,rust-json)
141 ("rust-rand" ,rust-rand-0.3))))
142 (home-page "https://github.com/OrKoN/base-x-rs")
143 (synopsis "Encode/decode any base")
144 (description "This library provides for encoding and decoding any base.")
145 (license license:expat)))
146
147 (define-public rust-bencher
148 (package
149 (name "rust-bencher")
150 (version "0.1.5")
151 (source
152 (origin
153 (method url-fetch)
154 (uri (crate-uri "bencher" version))
155 (file-name (string-append name "-" version ".tar.gz"))
156 (sha256
157 (base32
158 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
159 (build-system cargo-build-system)
160 (home-page "https://github.com/bluss/bencher/")
161 (synopsis "Port of the libtest benchmark runner to Rust stable")
162 (description "This package provides a port of the libtest (unstable Rust)
163 benchmark runner to Rust stable releases. Supports running benchmarks and
164 filtering based on the name. Benchmark execution works exactly the same way
165 and no more (caveat: black_box is still missing!).")
166 (license (list license:asl2.0
167 license:expat))))
168
169 (define-public rust-bitflags
170 (package
171 (name "rust-bitflags")
172 (version "1.1.0")
173 (source
174 (origin
175 (method url-fetch)
176 (uri (crate-uri "bitflags" version))
177 (file-name (string-append name "-" version ".tar.gz"))
178 (sha256
179 (base32
180 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
181 (build-system cargo-build-system)
182 (home-page "https://github.com/bitflags/bitflags")
183 (synopsis "Macro to generate structures which behave like bitflags")
184 (description "This package provides a macro to generate structures which
185 behave like a set of bitflags.")
186 (license (list license:asl2.0
187 license:expat))))
188
189 (define-public rust-blas-sys
190 (package
191 (name "rust-blas-sys")
192 (version "0.7.1")
193 (source
194 (origin
195 (method url-fetch)
196 (uri (crate-uri "blas-sys" version))
197 (file-name (string-append name "-" version ".tar.gz"))
198 (sha256
199 (base32
200 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
201 (build-system cargo-build-system)
202 (arguments
203 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
204 (home-page "https://github.com/blas-lapack-rs/blas-sys")
205 (synopsis "Bindings to BLAS (Fortran)")
206 (description
207 "Ths package provides bindings to BLAS (Fortran).")
208 (license (list license:asl2.0
209 license:expat))))
210
211 (define-public rust-cblas-sys
212 (package
213 (name "rust-cblas-sys")
214 (version "0.1.4")
215 (source
216 (origin
217 (method url-fetch)
218 (uri (crate-uri "cblas-sys" version))
219 (file-name (string-append name "-" version ".tar.gz"))
220 (sha256
221 (base32
222 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
223 (build-system cargo-build-system)
224 (arguments
225 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
226 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
227 (synopsis "Bindings to CBLAS (C)")
228 (description
229 "The package provides bindings to CBLAS (C).")
230 (license (list license:asl2.0
231 license:expat))))
232
233 (define-public rust-cc
234 (package
235 (name "rust-cc")
236 (version "1.0.41")
237 (source
238 (origin
239 (method url-fetch)
240 (uri (crate-uri "cc" version))
241 (file-name (string-append name "-" version ".tar.gz"))
242 (sha256
243 (base32
244 "1zxzd559dbbf1iwdzmkj7czapzccs17kqqmsj9ayijpdix5rrbld"))))
245 (build-system cargo-build-system)
246 (arguments
247 `(;#:cargo-inputs
248 ;(("rust-rayon" ,rust-rayon))
249 #:cargo-development-inputs
250 (("rust-tempdir" ,rust-tempdir))
251 #:phases
252 (modify-phases %standard-phases
253 (add-after 'unpack 'remove-optional-deps
254 (lambda _
255 (substitute* "Cargo.toml.orig"
256 ((".*optional.*") "\n")
257 ((".*features.*") "")
258 ((".*parallel.*") ""))
259 (delete-file "Cargo.toml")
260 (copy-file "Cargo.toml.orig" "Cargo.toml")
261 #t)))
262 #:tests? #f)) ; Tests require cc-test from git repo.
263 (home-page "https://github.com/alexcrichton/cc-rs")
264 (synopsis "Invoke the native C compiler")
265 (description
266 "This package provides a build-time dependency for Cargo build scripts to
267 assist in invoking the native C compiler to compile native C code into a static
268 archive to be linked into Rustcode.")
269 (license (list license:asl2.0
270 license:expat))))
271
272 (define-public rust-cfg-if
273 (package
274 (name "rust-cfg-if")
275 (version "0.1.9")
276 (source
277 (origin
278 (method url-fetch)
279 (uri (crate-uri "cfg-if" version))
280 (file-name (string-append name "-" version ".tar.gz"))
281 (sha256
282 (base32
283 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
284 (build-system cargo-build-system)
285 (home-page "https://github.com/alexcrichton/cfg-if")
286 (synopsis "Define an item depending on parameters")
287 (description "This package provides a macro to ergonomically define an item
288 depending on a large number of #[cfg] parameters. Structured like an
289 @code{if-else} chain, the first matching branch is the item that gets emitted.")
290 (license (list license:asl2.0
291 license:expat))))
292
293 (define-public rust-clicolors-control
294 (package
295 (name "rust-clicolors-control")
296 (version "1.0.0")
297 (source
298 (origin
299 (method url-fetch)
300 (uri (crate-uri "clicolors-control" version))
301 (file-name (string-append name "-" version ".tar.gz"))
302 (sha256
303 (base32
304 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
305 (build-system cargo-build-system)
306 (arguments
307 `(#:cargo-inputs
308 (("rust-atty" ,rust-atty)
309 ("rust-lazy-static" ,rust-lazy-static)
310 ("rust-libc" ,rust-libc)
311 ("rust-winapi" ,rust-winapi))))
312 (home-page "https://github.com/mitsuhiko/clicolors-control")
313 (synopsis "Common utility library to control CLI colorization")
314 (description
315 "This package provides a common utility library to control CLI
316 colorization.")
317 (license license:expat)))
318
319 (define-public rust-cloudabi
320 (package
321 (name "rust-cloudabi")
322 (version "0.0.3")
323 (source
324 (origin
325 (method url-fetch)
326 (uri (crate-uri "cloudabi" version))
327 (file-name (string-append name "-" version ".tar.gz"))
328 (sha256
329 (base32
330 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
331 (build-system cargo-build-system)
332 (arguments
333 `(#:cargo-inputs
334 (("rust-bitflags" ,rust-bitflags))))
335 (home-page "https://nuxi.nl/cloudabi/")
336 (synopsis "Low level interface to CloudABI")
337 (description
338 "Low level interface to CloudABI. Contains all syscalls and related types.")
339 (license license:bsd-2)))
340
341 (define-public rust-cmake
342 (package
343 (name "rust-cmake")
344 (version "0.1.42")
345 (source
346 (origin
347 (method url-fetch)
348 (uri (crate-uri "cmake" version))
349 (file-name (string-append name "-" version ".tar.gz"))
350 (sha256
351 (base32
352 "0qkwibkvx5xjazvv9v8gvdlpky2jhjxvcz014nrixgzqfyv2byw1"))))
353 (build-system cargo-build-system)
354 (arguments
355 `(#:cargo-inputs (("rust-cc" ,rust-cc))))
356 (home-page "https://github.com/alexcrichton/cmake-rs")
357 (synopsis "Rust build dependency for running cmake")
358 (description
359 "This package provides a build dependency for running @code{cmake} to build
360 a native library. The CMake executable is assumed to be @code{cmake} unless the
361 CMAKE environmental variable is set.")
362 (license (list license:asl2.0
363 license:expat))))
364
365 ;; This package requires features which are unavailable
366 ;; on the stable releases of Rust.
367 (define-public rust-compiler-builtins
368 (package
369 (name "rust-compiler-builtins")
370 (version "0.1.19")
371 (source
372 (origin
373 (method url-fetch)
374 (uri (crate-uri "compiler_builtins" version))
375 (file-name (string-append name "-" version ".tar.gz"))
376 (sha256
377 (base32
378 "1fpabpmg8paj4r5a37vmidh1jx1b7a6ilxm4s3xsxczx27ybjcjf"))))
379 (build-system cargo-build-system)
380 (arguments
381 `(#:cargo-inputs
382 (("rust-cc" ,rust-cc)
383 ("rust-rustc-std-workspace-core"
384 ,rust-rustc-std-workspace-core))))
385 (home-page "https://github.com/rust-lang-nursery/compiler-builtins")
386 (synopsis "Compiler intrinsics used by the Rust compiler")
387 (description
388 "This package provides compiler intrinsics used by the Rust compiler. This
389 package is primarily useful when building the @code{core} crate yourself and you
390 need compiler-rt intrinsics.")
391 (properties `((hidden? . #t)))
392 (license (list license:asl2.0
393 license:expat))))
394
395 (define-public rust-constant-time-eq
396 (package
397 (name "rust-constant-time-eq")
398 (version "0.1.4")
399 (source
400 (origin
401 (method url-fetch)
402 (uri (crate-uri "constant_time_eq" version))
403 (file-name (string-append name "-" version ".tar.gz"))
404 (sha256
405 (base32
406 "083icpr9xb72rrdxw3p4068dcspn6ai22jy7rhl2a8grfz448nlr"))))
407 (build-system cargo-build-system)
408 (home-page "https://crates.io/crates/constant_time_eq")
409 (synopsis
410 "Compares two equal-sized byte strings in constant time")
411 (description
412 "This package compares two equal-sized byte strings in constant time.
413 It is inspired by the Linux kernel's @code{crypto_memneq}.")
414 (license license:cc0)))
415
416 (define-public rust-core-foundation-sys
417 (package
418 (name "rust-core-foundation-sys")
419 (version "0.6.2")
420 (source
421 (origin
422 (method url-fetch)
423 (uri (crate-uri "core-foundation-sys" version))
424 (file-name (string-append name "-" version ".tar.gz"))
425 (sha256
426 (base32
427 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
428 (build-system cargo-build-system)
429 (home-page "https://github.com/servo/core-foundation-rs")
430 (synopsis "Bindings to Core Foundation for OS X")
431 (description
432 "Bindings to Core Foundation for OS X.")
433 (license (list license:asl2.0
434 license:expat))))
435
436 (define-public rust-data-encoding
437 (package
438 (name "rust-data-encoding")
439 (version "2.1.2")
440 (source
441 (origin
442 (method url-fetch)
443 (uri (crate-uri "data-encoding" version))
444 (file-name (string-append name "-" version ".tar.gz"))
445 (sha256
446 (base32
447 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
448 (build-system cargo-build-system)
449 (home-page "https://github.com/ia0/data-encoding")
450 (synopsis "Efficient and customizable data-encoding functions")
451 (description
452 "This library provides encodings for many different common cases, including
453 hexadecimal, bas32, and base64.")
454 (license license:expat)))
455
456 (define-public rust-defmac
457 (package
458 (name "rust-defmac")
459 (version "0.2.0")
460 (source
461 (origin
462 (method url-fetch)
463 (uri (crate-uri "defmac" version))
464 (file-name (string-append name "-" version ".tar.gz"))
465 (sha256
466 (base32
467 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
468 (build-system cargo-build-system)
469 (home-page "https://github.com/bluss/defmac")
470 (synopsis "Macro to define lambda-like macros inline")
471 (description "A macro to define lambda-like macros inline.")
472 (license (list license:asl2.0
473 license:expat))))
474
475 (define-public rust-defmac-0.1
476 (package
477 (inherit rust-defmac)
478 (name "rust-defmac")
479 (version "0.1.3")
480 (source
481 (origin
482 (method url-fetch)
483 (uri (crate-uri "defmac" version))
484 (file-name (string-append name "-" version ".tar.gz"))
485 (sha256
486 (base32
487 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
488
489 (define-public rust-discard
490 (package
491 (name "rust-discard")
492 (version "1.0.4")
493 (source
494 (origin
495 (method url-fetch)
496 (uri (crate-uri "discard" version))
497 (file-name (string-append name "-" version ".tar.gz"))
498 (sha256
499 (base32
500 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
501 (build-system cargo-build-system)
502 (home-page "https://github.com/Pauan/rust-discard")
503 (synopsis "Allow for intentionally leaking memory")
504 (description "There are situations where you need to intentionally leak some
505 memory but not other memory. This package provides a discard trait which allows
506 for intentionally leaking memory")
507 (license license:expat)))
508
509 (define-public rust-doc-comment
510 (package
511 (name "rust-doc-comment")
512 (version "0.3.1")
513 (source
514 (origin
515 (method url-fetch)
516 (uri (crate-uri "doc-comment" version))
517 (file-name (string-append name "-" version ".tar.gz"))
518 (sha256
519 (base32
520 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
521 (build-system cargo-build-system)
522 (home-page "https://github.com/GuillaumeGomez/doc-comment")
523 (synopsis "Macro to generate doc comments")
524 (description "This package provides a way to generate doc comments
525 from macros.")
526 (license license:expat)))
527
528 (define-public rust-dtoa
529 (package
530 (name "rust-dtoa")
531 (version "0.4.4")
532 (source
533 (origin
534 (method url-fetch)
535 (uri (crate-uri "dtoa" version))
536 (file-name (string-append name "-" version ".tar.gz"))
537 (sha256
538 (base32
539 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
540 (build-system cargo-build-system)
541 (home-page "https://github.com/dtolnay/dtoa")
542 (synopsis "Fast functions for printing floating-point primitives")
543 (description "This crate provides fast functions for printing
544 floating-point primitives to an @code{io::Write}.")
545 (license (list license:asl2.0
546 license:expat))))
547
548 (define-public rust-fallible-iterator
549 (package
550 (name "rust-fallible-iterator")
551 (version "0.2.0")
552 (source
553 (origin
554 (method url-fetch)
555 (uri (crate-uri "fallible-iterator" version))
556 (file-name (string-append name "-" version ".tar.gz"))
557 (sha256
558 (base32
559 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
560 (build-system cargo-build-system)
561 (home-page "https://github.com/sfackler/rust-fallible-iterator")
562 (synopsis "Fallible iterator traits")
563 (description "If the @code{std} or @code{alloc} features are enabled, this
564 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
565 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
566 provides implementations for @code{HashMap} and @code{HashSet}.")
567 (license (list license:asl2.0
568 license:expat))))
569
570 (define-public rust-findshlibs
571 (package
572 (name "rust-findshlibs")
573 (version "0.5.0")
574 (source
575 (origin
576 (method url-fetch)
577 (uri (crate-uri "findshlibs" version))
578 (file-name (string-append name "-" version ".tar.gz"))
579 (sha256
580 (base32
581 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
582 (build-system cargo-build-system)
583 (arguments
584 `(#:cargo-inputs
585 (("rust-lazy-static" ,rust-lazy-static)
586 ("rust-libc" ,rust-libc))))
587 (home-page "https://github.com/gimli-rs/findshlibs")
588 (synopsis "Find the set of shared libraries loaded in the current process")
589 (description
590 "Find the set of shared libraries loaded in the current process with a
591 cross platform API.")
592 (license (list license:asl2.0
593 license:expat))))
594
595 (define-public rust-fixedbitset
596 (package
597 (name "rust-fixedbitset")
598 (version "0.1.9")
599 (source
600 (origin
601 (method url-fetch)
602 (uri (crate-uri "fixedbitset" version))
603 (file-name (string-append name "-" version ".tar.gz"))
604 (sha256
605 (base32
606 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
607 (build-system cargo-build-system)
608 (home-page "https://github.com/bluss/fixedbitset")
609 (synopsis "FixedBitSet is a simple bitset collection")
610 (description "FixedBitSet is a simple bitset collection.")
611 (license (list license:asl2.0
612 license:expat))))
613
614 (define-public rust-fnv
615 (package
616 (name "rust-fnv")
617 (version "1.0.6")
618 (source
619 (origin
620 (method url-fetch)
621 (uri (crate-uri "fnv" version))
622 (file-name (string-append name "-" version ".tar.gz"))
623 (sha256
624 (base32
625 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
626 (build-system cargo-build-system)
627 (home-page "https://github.com/servo/rust-fnv")
628 (synopsis "implementation of the Fowler-Noll-Vo hash function")
629 (description "The @code{fnv} hash function is a custom @code{Hasher}
630 implementation that is more efficient for smaller hash keys.")
631 (license (list license:asl2.0
632 license:expat))))
633
634 (define-public rust-foreign-types-shared
635 (package
636 (name "rust-foreign-types-shared")
637 (version "0.2.0")
638 (source
639 (origin
640 (method url-fetch)
641 (uri (crate-uri "foreign-types-shared" version))
642 (file-name (string-append name "-" version ".tar.gz"))
643 (sha256
644 (base32
645 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
646 (build-system cargo-build-system)
647 (home-page "https://github.com/sfackler/foreign-types")
648 (synopsis "An internal crate used by foreign-types")
649 (description
650 "An internal crate used by foreign-types.")
651 (license (list license:asl2.0
652 license:expat))))
653
654 (define-public rust-fs-extra
655 (package
656 (name "rust-fs-extra")
657 (version "1.1.0")
658 (source
659 (origin
660 (method url-fetch)
661 (uri (crate-uri "fs_extra" version))
662 (file-name (string-append name "-" version ".tar.gz"))
663 (sha256
664 (base32
665 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
666 (build-system cargo-build-system)
667 (home-page "https://github.com/webdesus/fs_extra")
668 (synopsis "Extra filesystem methods")
669 (description "Expanding opportunities standard library @code{std::fs} and
670 @code{std::io}. Recursively copy folders with recept information about
671 process and much more.")
672 (license license:expat)))
673
674 (define-public rust-fuchsia-cprng
675 (package
676 (name "rust-fuchsia-cprng")
677 (version "0.1.1")
678 (source
679 (origin
680 (method url-fetch)
681 (uri (crate-uri "fuchsia-cprng" version))
682 (file-name (string-append name "-" version ".tar.gz"))
683 (sha256
684 (base32
685 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
686 (build-system cargo-build-system)
687 (arguments
688 `(#:tests? #f)) ; tests require zircon
689 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
690 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
691 (description "Rust crate for the Fuchsia cryptographically secure
692 pseudorandom number generator")
693 (license license:bsd-3)))
694
695 (define-public rust-fuchsia-zircon
696 (package
697 (name "rust-fuchsia-zircon")
698 (version "0.3.3")
699 (source
700 (origin
701 (method url-fetch)
702 (uri (crate-uri "fuchsia-zircon" version))
703 (file-name (string-append name "-" version ".tar.gz"))
704 (sha256
705 (base32
706 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
707 (build-system cargo-build-system)
708 (arguments
709 `(#:cargo-inputs
710 (("rust-bitflags" ,rust-bitflags)
711 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
712 #:tests? #f)) ; tests require zircon
713 (home-page "https://fuchsia.googlesource.com/garnet/")
714 (synopsis "Rust bindings for the Zircon kernel")
715 (description "Rust bindings for the Zircon kernel.")
716 (license license:bsd-3)))
717
718 (define-public rust-fuchsia-zircon-sys
719 (package
720 (name "rust-fuchsia-zircon-sys")
721 (version "0.3.3")
722 (source
723 (origin
724 (method url-fetch)
725 (uri (crate-uri "fuchsia-zircon-sys" version))
726 (file-name (string-append name "-" version ".tar.gz"))
727 (sha256
728 (base32
729 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
730 (build-system cargo-build-system)
731 (arguments
732 `(#:tests? #f)) ; tests require zircon
733 (home-page "https://fuchsia.googlesource.com/garnet/")
734 (synopsis "Low-level Rust bindings for the Zircon kernel")
735 (description "Low-level Rust bindings for the Zircon kernel.")
736 (license license:bsd-3)))
737
738 (define-public rust-futures
739 (package
740 (name "rust-futures")
741 (version "0.1.28")
742 (source
743 (origin
744 (method url-fetch)
745 (uri (crate-uri "futures" version))
746 (file-name (string-append name "-" version ".tar.gz"))
747 (sha256
748 (base32
749 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
750 (build-system cargo-build-system)
751 (home-page "https://github.com/rust-lang-nursery/futures-rs")
752 (synopsis "Implementation of zero-cost futures in Rust")
753 (description "An implementation of @code{futures} and @code{streams}
754 featuring zero allocations, composability, and iterator-like interfaces.")
755 (license (list license:asl2.0
756 license:expat))))
757
758 (define-public rust-futures-cpupool
759 (package
760 (name "rust-futures-cpupool")
761 (version "0.1.8")
762 (source
763 (origin
764 (method url-fetch)
765 (uri (crate-uri "futures-cpupool" version))
766 (file-name (string-append name "-" version ".tar.gz"))
767 (sha256
768 (base32
769 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
770 (build-system cargo-build-system)
771 (arguments
772 `(#:cargo-inputs
773 (("rust-futures" ,rust-futures)
774 ("rust-num-cpus" ,rust-num-cpus))))
775 (home-page "https://github.com/alexcrichton/futures-rs")
776 (synopsis "Implementation of thread pools which hand out futures")
777 (description
778 "An implementation of thread pools which hand out futures to the results of
779 the computation on the threads themselves.")
780 (license (list license:asl2.0
781 license:expat))))
782
783 (define-public rust-futures-io-preview
784 (package
785 (name "rust-futures-io-preview")
786 (version "0.3.0-alpha.17")
787 (source
788 (origin
789 (method url-fetch)
790 (uri (crate-uri "futures-io-preview" version))
791 (file-name (string-append name "-" version ".tar.gz"))
792 (sha256
793 (base32
794 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
795 (build-system cargo-build-system)
796 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
797 (synopsis "Async read and write traits for the futures library")
798 (description "This crate provides the @code{AsyncRead} and
799 @code{AsyncWrite} traits for the @code{futures-rs} library.")
800 (license (list license:asl2.0
801 license:expat))))
802
803 (define-public rust-heapsize
804 (package
805 (name "rust-heapsize")
806 (version "0.4.2")
807 (source
808 (origin
809 (method url-fetch)
810 (uri (crate-uri "heapsize" version))
811 (file-name (string-append name "-" version ".tar.gz"))
812 (sha256
813 (base32
814 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
815 (build-system cargo-build-system)
816 (arguments
817 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
818 ;; Tests assume rust is built with jemalloc.
819 ;; https://github.com/servo/heapsize/issues/74
820 #:cargo-test-flags '("--features" "flexible-tests")))
821 (home-page "https://github.com/servo/heapsize")
822 (synopsis "Measure the total runtime size of an object on the heap")
823 (description
824 "Infrastructure for measuring the total runtime size of an object on the
825 heap.")
826 (license (list license:asl2.0
827 license:expat))))
828
829 (define-public rust-heapsize-0.3
830 (package
831 (inherit rust-heapsize)
832 (name "rust-heapsize")
833 (version "0.3.9")
834 (source
835 (origin
836 (method url-fetch)
837 (uri (crate-uri "heapsize" version))
838 (file-name (string-append name "-" version ".tar.gz"))
839 (sha256
840 (base32
841 "0dmwc37vgsdjzk10443dj4f23439i9gch28jcwzmry3chrwx8v2m"))))
842 (arguments
843 `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys))
844 #:tests? #f)))) ;; No flexible-tests feature flags on this release.
845
846 ;; This package makes use of removed features
847 (define-public rust-heapsize-plugin
848 (package
849 (name "rust-heapsize-plugin")
850 (version "0.1.6")
851 (source
852 (origin
853 (method url-fetch)
854 (uri (crate-uri "heapsize_plugin" version))
855 (file-name (string-append name "-" version ".tar.gz"))
856 (sha256
857 (base32
858 "1i72isf699q9jl167g2kg4xd6h3cd05rc79zaph58aqjy0g0m9y9"))))
859 (build-system cargo-build-system)
860 (arguments
861 `(#:cargo-development-inputs (("rust-heapsize" ,rust-heapsize-0.3))
862 #:phases
863 (modify-phases %standard-phases
864 (add-after 'unpack 'fix-Cargo-toml
865 (lambda _
866 (substitute* "Cargo.toml"
867 (("path = \"..\", ") ""))
868 #t)))))
869 (home-page "https://github.com/servo/heapsize")
870 (synopsis "Measure runtime size of an object on the heap")
871 (description
872 "This package automatically generates infrastructure for measuring the
873 total runtime size of an object on the heap")
874 (properties `((hidden? . #t)))
875 (license license:mpl2.0)))
876
877 (define-public rust-hex
878 (package
879 (name "rust-hex")
880 (version "0.3.2")
881 (source
882 (origin
883 (method url-fetch)
884 (uri (crate-uri "hex" version))
885 (file-name (string-append name "-" version ".tar.gz"))
886 (sha256
887 (base32
888 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
889 (build-system cargo-build-system)
890 (home-page "https://github.com/KokaKiwi/rust-hex")
891 (synopsis "Encode and decode data to/from hexadecimals")
892 (description "This crate allows for encoding and decoding data into/from
893 hexadecimal representation.")
894 (license (list license:asl2.0
895 license:expat))))
896
897 (define-public rust-hostname
898 (package
899 (name "rust-hostname")
900 (version "0.1.5")
901 (source
902 (origin
903 (method url-fetch)
904 (uri (crate-uri "hostname" version))
905 (file-name (string-append name "-" version ".tar.gz"))
906 (sha256
907 (base32
908 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
909 (build-system cargo-build-system)
910 (arguments
911 `(#:cargo-inputs
912 (("rust-libc" ,rust-libc)
913 ("rust-winutil" ,rust-winutil))))
914 (home-page "https://github.com/fengcen/hostname")
915 (synopsis "Get hostname for Rust")
916 (description
917 "Get hostname for Rust.")
918 (license license:expat)))
919
920 (define-public rust-iovec
921 (package
922 (name "rust-iovec")
923 (version "0.1.2")
924 (source
925 (origin
926 (method url-fetch)
927 (uri (crate-uri "iovec" version))
928 (file-name (string-append name "-" version ".tar.gz"))
929 (sha256
930 (base32
931 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
932 (build-system cargo-build-system)
933 (arguments
934 `(#:cargo-inputs
935 (("rust-libc" ,rust-libc)
936 ("rust-winapi" ,rust-winapi-0.2))))
937 (home-page "https://github.com/carllerche/iovec")
938 (synopsis "Portable buffer type for scatter/gather I/O operations")
939 (description
940 "Portable buffer type for scatter/gather I/O operations.")
941 (license (list license:asl2.0
942 license:expat))))
943
944 (define-public rust-itoa
945 (package
946 (name "rust-itoa")
947 (version "0.4.4")
948 (source
949 (origin
950 (method url-fetch)
951 (uri (crate-uri "itoa" version))
952 (file-name (string-append name "-" version ".tar.gz"))
953 (sha256
954 (base32
955 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
956 (build-system cargo-build-system)
957 (home-page "https://github.com/dtolnay/itoa")
958 (synopsis "Fast functions for printing integer primitives")
959 (description "This crate provides fast functions for printing integer
960 primitives to an @code{io::Write}.")
961 (license (list license:asl2.0
962 license:expat))))
963
964 (define-public rust-json
965 (package
966 (name "rust-json")
967 (version "0.11.14")
968 (source
969 (origin
970 (method url-fetch)
971 (uri (crate-uri "json" version))
972 (file-name (string-append name "-" version ".tar.gz"))
973 (sha256
974 (base32
975 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
976 (build-system cargo-build-system)
977 (home-page "https://github.com/maciejhirsz/json-rust")
978 (synopsis "JSON implementation in Rust")
979 (description "This crate provides a JSON implementation in Rust, reducing
980 friction with idiomatic Rust structs to ease interopability.")
981 (license (list license:asl2.0
982 license:expat))))
983
984 (define-public rust-kernel32-sys
985 (package
986 (name "rust-kernel32-sys")
987 (version "0.2.2")
988 (source
989 (origin
990 (method url-fetch)
991 (uri (crate-uri "kernel32-sys" version))
992 (file-name (string-append name "-" version ".tar.gz"))
993 (sha256
994 (base32
995 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
996 (build-system cargo-build-system)
997 (arguments
998 `(#:cargo-inputs
999 (("rust-winapi" ,rust-winapi-0.2)
1000 ("rust-winapi-build" ,rust-winapi-build))
1001 #:phases
1002 (modify-phases %standard-phases
1003 (add-after 'unpack 'fix-Cargo-toml
1004 (lambda _
1005 (substitute* "Cargo.toml"
1006 ((", path =.* }") "}\n"))
1007 #t)))))
1008 (home-page "https://github.com/retep998/winapi-rs")
1009 (synopsis "Function definitions for the Windows API library kernel32")
1010 (description "Contains function definitions for the Windows API library
1011 kernel32.")
1012 (license license:expat)))
1013
1014 (define-public rust-language-tags
1015 (package
1016 (name "rust-language-tags")
1017 (version "0.2.2")
1018 (source
1019 (origin
1020 (method url-fetch)
1021 (uri (crate-uri "language-tags" version))
1022 (file-name (string-append name "-" version ".tar.gz"))
1023 (sha256
1024 (base32
1025 "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9"))))
1026 (build-system cargo-build-system)
1027 (arguments
1028 `(#:cargo-inputs
1029 (("rust-heapsize" ,rust-heapsize-0.3))
1030 #:cargo-development-inputs
1031 (("rust-heapsize-plugin" ,rust-heapsize-plugin))))
1032 (home-page "https://github.com/pyfisch/rust-language-tags")
1033 (synopsis "Language tags for Rust")
1034 (description
1035 "Language tags can be used identify human languages, scripts e.g. Latin
1036 script, countries and other regions. They are commonly used in HTML and HTTP
1037 @code{Content-Language} and @code{Accept-Language} header fields. This package
1038 currently supports parsing (fully conformant parser), formatting and comparing
1039 language tags.")
1040 (license license:expat)))
1041
1042 (define-public rust-lazy-static
1043 (package
1044 (name "rust-lazy-static")
1045 (version "1.3.0")
1046 (source
1047 (origin
1048 (method url-fetch)
1049 (uri (crate-uri "lazy_static" version))
1050 (file-name (string-append name "-" version ".tar.gz"))
1051 (sha256
1052 (base32
1053 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
1054 (build-system cargo-build-system)
1055 (arguments
1056 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
1057 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
1058 (synopsis "Macro for declaring lazily evaluated statics in Rust")
1059 (description
1060 "This package provides a macro for declaring lazily evaluated statics in
1061 Rust. Using this macro, it is possible to have @code{static}s that require code
1062 to be executed at runtime in order to be initialized. This includes anything
1063 requiring heap allocations, like vectors or hash maps, as well as anything that
1064 requires non-const function calls to be computed.")
1065 (license (list license:asl2.0
1066 license:expat))))
1067
1068 (define-public rust-libc
1069 (package
1070 (name "rust-libc")
1071 (version "0.2.62")
1072 (source
1073 (origin
1074 (method url-fetch)
1075 (uri (crate-uri "libc" version))
1076 (file-name
1077 (string-append name "-" version ".tar.gz"))
1078 (sha256
1079 (base32
1080 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
1081 (build-system cargo-build-system)
1082 (arguments
1083 `(#:cargo-inputs
1084 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
1085 (home-page "https://github.com/rust-lang/libc")
1086 (synopsis "Raw FFI bindings to platform libraries like libc")
1087 (description
1088 "libc provides all of the definitions necessary to easily
1089 interoperate with C code (or \"C-like\" code) on each of the platforms
1090 that Rust supports. This includes type definitions (e.g., c_int),
1091 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
1092
1093 This crate exports all underlying platform types, functions, and
1094 constants under the crate root, so all items are accessible as
1095 @samp{libc::foo}. The types and values of all the exported APIs match
1096 the platform that libc is compiled for.")
1097 (license (list license:expat
1098 license:asl2.0))))
1099
1100 (define-public rust-libloading
1101 (package
1102 (name "rust-libloading")
1103 (version "0.5.2")
1104 (source
1105 (origin
1106 (method url-fetch)
1107 (uri (crate-uri "libloading" version))
1108 (file-name (string-append name "-" version ".tar.gz"))
1109 (sha256
1110 (base32
1111 "0lyply8rcqc8agajzxs7bq6ivba9dnn1i68kgb9z2flnfjh13cgj"))))
1112 (build-system cargo-build-system)
1113 (arguments
1114 `(#:cargo-inputs
1115 (("rust-cc" ,rust-cc)
1116 ("rust-winapi" ,rust-winapi))))
1117 (home-page "https://github.com/nagisa/rust_libloading/")
1118 (synopsis "Rust library for loading dynamic libraries")
1119 (description
1120 "A memory-safer wrapper around system dynamic library loading primitives.
1121 The most important safety guarantee by this library is prevention of
1122 dangling-Symbols that may occur after a Library is unloaded. Using this library
1123 allows loading dynamic libraries (also known as shared libraries) as well as use
1124 functions and static variables these libraries contain.")
1125 (license license:isc)))
1126
1127 (define-public rust-log
1128 (package
1129 (name "rust-log")
1130 (version "0.3.8")
1131 (source
1132 (origin
1133 (method url-fetch)
1134 (uri (crate-uri "log" version))
1135 (file-name (string-append name "-" version ".tar.gz"))
1136 (sha256
1137 (base32
1138 "0nsn28syc49vvjhxcfc8261rd1frhjc0r4bn9v3mqvps3ra7f3w8"))))
1139 (build-system cargo-build-system)
1140 (home-page "https://github.com/rust-lang-nursery/log")
1141 (synopsis "Lightweight logging")
1142 (description
1143 "This package provides a lightweight logging facade for Rust")
1144 (license (list license:asl2.0
1145 license:expat))))
1146
1147 (define-public rust-maplit
1148 (package
1149 (name "rust-maplit")
1150 (version "1.0.1")
1151 (source
1152 (origin
1153 (method url-fetch)
1154 (uri (crate-uri "maplit" version))
1155 (file-name (string-append name "-" version ".tar.gz"))
1156 (sha256
1157 (base32
1158 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
1159 (build-system cargo-build-system)
1160 (home-page "https://github.com/bluss/maplit")
1161 (synopsis "Collection of Map macros")
1162 (description "This crate provides a collection of @code{literal} macros for
1163 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
1164 (license (list license:asl2.0
1165 license:expat))))
1166
1167 (define-public rust-matches
1168 (package
1169 (name "rust-matches")
1170 (version "0.1.8")
1171 (source
1172 (origin
1173 (method url-fetch)
1174 (uri (crate-uri "matches" version))
1175 (file-name (string-append name "-" version ".tar.gz"))
1176 (sha256
1177 (base32
1178 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
1179 (build-system cargo-build-system)
1180 (home-page "https://github.com/SimonSapin/rust-std-candidates")
1181 (synopsis "Macro to evaluate whether an expression matches a pattern.")
1182 (description "This package provides a macro to evaluate, as a boolean,
1183 whether an expression matches a pattern.")
1184 (license license:expat)))
1185
1186 (define-public rust-md5
1187 (package
1188 (name "rust-md5")
1189 (version "0.6.1")
1190 (source
1191 (origin
1192 (method url-fetch)
1193 (uri (crate-uri "md5" version))
1194 (file-name (string-append name "-" version ".tar.gz"))
1195 (sha256
1196 (base32
1197 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
1198 (build-system cargo-build-system)
1199 (home-page "https://github.com/stainless-steel/md5")
1200 (synopsis "MD5 hash function in Rust")
1201 (description "The package provides the MD5 hash function.")
1202 (license (list license:asl2.0
1203 license:expat))))
1204
1205 (define-public rust-memmap
1206 (package
1207 (name "rust-memmap")
1208 (version "0.7.0")
1209 (source
1210 (origin
1211 (method url-fetch)
1212 (uri (crate-uri "memmap" version))
1213 (file-name (string-append name "-" version ".tar.gz"))
1214 (sha256
1215 (base32
1216 "0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5"))))
1217 (build-system cargo-build-system)
1218 (arguments
1219 `(#:cargo-inputs
1220 (("rust-libc" ,rust-libc)
1221 ("rust-winapi" ,rust-winapi))
1222 #:cargo-development-inputs
1223 (("rust-tempdir" ,rust-tempdir))))
1224 (home-page "https://github.com/danburkert/memmap-rs")
1225 (synopsis "Rust library for cross-platform memory mapped IO")
1226 (description
1227 "This package provides a cross-platform Rust API for memory-mapped
1228 file IO.")
1229 (license (list license:asl2.0
1230 license:expat))))
1231
1232 (define-public rust-memmap-0.6
1233 (package
1234 (inherit rust-memmap)
1235 (name "rust-memmap")
1236 (version "0.6.2")
1237 (source
1238 (origin
1239 (method url-fetch)
1240 (uri (crate-uri "memmap" version))
1241 (file-name (string-append name "-" version ".tar.gz"))
1242 (sha256
1243 (base32
1244 "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2"))))
1245 (arguments
1246 `(#:cargo-inputs
1247 (("rust-libc" ,rust-libc)
1248 ("rust-winapi" ,rust-winapi))
1249 #:cargo-development-inputs
1250 (("rust-tempdir" ,rust-tempdir))))))
1251
1252 (define-public rust-mime
1253 (package
1254 (name "rust-mime")
1255 (version "0.3.13")
1256 (source
1257 (origin
1258 (method url-fetch)
1259 (uri (crate-uri "mime" version))
1260 (file-name (string-append name "-" version ".tar.gz"))
1261 (sha256
1262 (base32
1263 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
1264 (build-system cargo-build-system)
1265 (arguments
1266 `(#:cargo-inputs
1267 (("rust-unicase" ,rust-unicase))))
1268 (home-page "https://github.com/hyperium/mime")
1269 (synopsis "Strongly Typed Mimes")
1270 (description
1271 "Support MIME (HTTP Media Types) as strong types in Rust.")
1272 (license (list license:asl2.0
1273 license:expat))))
1274
1275 (define-public rust-miniz-oxide
1276 (package
1277 (name "rust-miniz-oxide")
1278 (version "0.3.2")
1279 (source
1280 (origin
1281 (method url-fetch)
1282 (uri (crate-uri "miniz_oxide" version))
1283 (file-name (string-append name "-" version ".tar.gz"))
1284 (sha256
1285 (base32
1286 "041s41l5w7z8pkp93pdzn8rngxr93q4wxp034pr0cvc7bgway23i"))))
1287 (build-system cargo-build-system)
1288 (arguments
1289 `(#:cargo-inputs
1290 (("rust-adler32" ,rust-adler32))
1291 #:phases
1292 (modify-phases %standard-phases
1293 (add-after 'unpack 'fix-tests
1294 (lambda _
1295 (substitute* "tests/test.rs"
1296 (("../miniz/miniz.c") "Cargo.toml"))
1297 #t)))))
1298 (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
1299 (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
1300 (description
1301 "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using
1302 @code{flate2} with the @code{rust_backend} feature provides an easy to use
1303 streaming API for miniz_oxide.")
1304 (license license:expat)))
1305
1306 (define-public rust-miniz-sys
1307 (package
1308 (name "rust-miniz-sys")
1309 (version "0.1.12")
1310 (source
1311 (origin
1312 (method url-fetch)
1313 (uri (crate-uri "miniz-sys" version))
1314 (file-name (string-append name "-" version ".tar.gz"))
1315 (sha256
1316 (base32
1317 "00l2r4anm8g35x0js2zfdnwfbrih9m43vphdpb77c5ga3kjkm7hy"))))
1318 (build-system cargo-build-system)
1319 (arguments
1320 `(#:cargo-inputs
1321 (("rust-cc" ,rust-cc)
1322 ("rust-libc" ,rust-libc))))
1323 (home-page "https://github.com/alexcrichton/flate2-rs")
1324 (synopsis "Bindings to the miniz.c library")
1325 (description
1326 "This package provides bindings to the @code{miniz.c} library.")
1327 (license (list license:asl2.0
1328 license:expat))))
1329
1330 (define-public rust-modifier
1331 (package
1332 (name "rust-modifier")
1333 (version "0.1.0")
1334 (source
1335 (origin
1336 (method url-fetch)
1337 (uri (crate-uri "modifier" version))
1338 (file-name (string-append name "-" version ".tar.gz"))
1339 (sha256
1340 (base32
1341 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1342 (build-system cargo-build-system)
1343 (home-page "https://github.com/reem/rust-modifier")
1344 (synopsis
1345 "Chaining APIs for both self -> Self and &mut self methods.")
1346 (description
1347 "Chaining APIs for both self -> Self and &mut self methods.")
1348 (license license:expat)))
1349
1350 (define-public rust-net2
1351 (package
1352 (name "rust-net2")
1353 (version "0.2.33")
1354 (source
1355 (origin
1356 (method url-fetch)
1357 (uri (crate-uri "net2" version))
1358 (file-name (string-append name "-" version ".tar.gz"))
1359 (sha256
1360 (base32
1361 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1362 (build-system cargo-build-system)
1363 (arguments
1364 `(#:cargo-inputs
1365 (("rust-cfg-if" ,rust-cfg-if)
1366 ("rust-libc" ,rust-libc)
1367 ("rust-winapi" ,rust-winapi))))
1368 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1369 (synopsis "Extensions to the standard library's networking types")
1370 (description
1371 "This library contains extensions to the standard library's networking
1372 types as proposed in RFC 1158.")
1373 (license (list license:asl2.0
1374 license:expat))))
1375
1376 (define-public rust-nodrop
1377 (package
1378 (name "rust-nodrop")
1379 (version "0.1.13")
1380 (source
1381 (origin
1382 (method url-fetch)
1383 (uri (crate-uri "nodrop" version))
1384 (file-name (string-append name "-" version ".tar.gz"))
1385 (sha256
1386 (base32
1387 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
1388 (build-system cargo-build-system)
1389 (arguments
1390 `(#:cargo-inputs
1391 (("rust-nodrop-union" ,rust-nodrop-union))))
1392 (home-page "https://github.com/bluss/arrayvec")
1393 (synopsis "Wrapper type to inhibit drop (destructor)")
1394 (description "This package provides a wrapper type to inhibit drop
1395 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
1396 (license (list license:asl2.0
1397 license:expat))))
1398
1399 ;; This package requires features which are unavailable
1400 ;; on the stable releases of Rust.
1401 (define-public rust-nodrop-union
1402 (package
1403 (name "rust-nodrop-union")
1404 (version "0.1.10")
1405 (source
1406 (origin
1407 (method url-fetch)
1408 (uri (crate-uri "nodrop-union" version))
1409 (file-name (string-append name "-" version ".tar.gz"))
1410 (sha256
1411 (base32
1412 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
1413 (build-system cargo-build-system)
1414 (home-page "https://github.com/bluss/arrayvec")
1415 (synopsis "Wrapper type to inhibit drop (destructor)")
1416 (description "This package provides a wrapper type to inhibit drop
1417 (destructor). Implementation crate for nodrop, the untagged unions
1418 implementation (which is unstable / requires nightly).")
1419 (properties '((hidden? . #t)))
1420 (license (list license:asl2.0
1421 license:expat))))
1422
1423 (define-public rust-num-cpus
1424 (package
1425 (name "rust-num-cpus")
1426 (version "1.10.1")
1427 (source
1428 (origin
1429 (method url-fetch)
1430 (uri (crate-uri "num_cpus" version))
1431 (file-name (string-append name "-" version ".tar.gz"))
1432 (sha256
1433 (base32
1434 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1435 (build-system cargo-build-system)
1436 (arguments
1437 `(#:cargo-inputs
1438 (("rust-libc" ,rust-libc))
1439 #:cargo-development-inputs
1440 (("rust-doc-comment" ,rust-doc-comment))))
1441 (home-page "https://github.com/seanmonstar/num_cpus")
1442 (synopsis "Get the number of CPUs on a machine")
1443 (description
1444 "Get the number of CPUs on a machine.")
1445 (license (list license:asl2.0
1446 license:expat))))
1447
1448 (define-public rust-num-integer
1449 (package
1450 (name "rust-num-integer")
1451 (version "0.1.41")
1452 (source
1453 (origin
1454 (method url-fetch)
1455 (uri (crate-uri "num-integer" version))
1456 (file-name
1457 (string-append name "-" version ".tar.gz"))
1458 (sha256
1459 (base32
1460 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1461 (build-system cargo-build-system)
1462 (arguments
1463 `(#:cargo-inputs
1464 (("rust-autocfg" ,rust-autocfg)
1465 ("rust-num-traits" ,rust-num-traits))))
1466 (home-page "https://github.com/rust-num/num-integer")
1467 (synopsis "Integer traits and functions")
1468 (description "Integer traits and functions.")
1469 ;; Dual licensed.
1470 (license (list license:asl2.0
1471 license:expat))))
1472
1473 (define-public rust-num-iter
1474 (package
1475 (name "rust-num-iter")
1476 (version "0.1.39")
1477 (source
1478 (origin
1479 (method url-fetch)
1480 (uri (crate-uri "num-iter" version))
1481 (file-name (string-append name "-" version ".tar.gz"))
1482 (sha256
1483 (base32
1484 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1485 (build-system cargo-build-system)
1486 (arguments
1487 `(#:cargo-inputs
1488 (("rust-num-integer" ,rust-num-integer)
1489 ("rust-num-traits" ,rust-num-traits))
1490 #:cargo-development-inputs
1491 (("rust-autocfg" ,rust-autocfg))))
1492 (home-page "https://github.com/rust-num/num-iter")
1493 (synopsis "External iterators for generic mathematics")
1494 (description
1495 "This crate provides external iterators for generic mathematics.")
1496 (license (list license:asl2.0
1497 license:expat))))
1498
1499 (define-public rust-num-traits
1500 (package
1501 (name "rust-num-traits")
1502 (version "0.2.8")
1503 (source
1504 (origin
1505 (method url-fetch)
1506 (uri (crate-uri "num-traits" version))
1507 (file-name
1508 (string-append name "-" version ".tar.gz"))
1509 (sha256
1510 (base32
1511 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1512 (build-system cargo-build-system)
1513 (arguments
1514 `(#:cargo-inputs
1515 (("rust-autocfg" ,rust-autocfg))))
1516 (home-page "https://github.com/rust-num/num-traits")
1517 (synopsis "Numeric traits for generic mathematics")
1518 (description "Numeric traits for generic mathematics.")
1519 ;; Dual licensed.
1520 (license (list license:asl2.0
1521 license:expat))))
1522
1523 (define-public rust-owning-ref
1524 (package
1525 (name "rust-owning-ref")
1526 (version "0.4.0")
1527 (source
1528 (origin
1529 (method url-fetch)
1530 (uri (crate-uri "owning_ref" version))
1531 (file-name (string-append name "-" version ".tar.gz"))
1532 (sha256
1533 (base32
1534 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
1535 (build-system cargo-build-system)
1536 (arguments
1537 `(#:cargo-inputs
1538 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
1539 (home-page "https://github.com/Kimundi/owning-ref-rs")
1540 (synopsis "Create references that carry their owner with them")
1541 (description
1542 "This package provides a library for creating references that carry their
1543 owner with them. This can sometimes be useful because Rust borrowing rules
1544 normally prevent moving a type that has been borrowed from.")
1545 (license license:expat)))
1546
1547 (define-public rust-peeking-take-while
1548 (package
1549 (name "rust-peeking-take-while")
1550 (version "0.1.2")
1551 (source
1552 (origin
1553 (method url-fetch)
1554 (uri (crate-uri "peeking_take_while" version))
1555 (file-name (string-append name "-" version ".tar.gz"))
1556 (sha256
1557 (base32
1558 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1559 (build-system cargo-build-system)
1560 (home-page "https://github.com/fitzgen/peeking_take_while")
1561 (synopsis "Provides the peeking_take_while iterator adaptor method")
1562 (description
1563 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1564 value. This allows you to use @code{Iterator::by_ref} and
1565 @code{Iterator::take_while} together, and still get the first value for which
1566 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1567 (license (list license:asl2.0
1568 license:expat))))
1569
1570 (define-public rust-percent-encoding
1571 (package
1572 (name "rust-percent-encoding")
1573 (version "2.0.0")
1574 (source
1575 (origin
1576 (method url-fetch)
1577 (uri (crate-uri "percent-encoding" version))
1578 (file-name (string-append name "-" version ".tar.gz"))
1579 (sha256
1580 (base32
1581 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1582 (build-system cargo-build-system)
1583 (home-page "https://github.com/servo/rust-url/")
1584 (synopsis "Percent encoding and decoding")
1585 (description "This crate provides percent encoding and decoding.")
1586 (license (list license:asl2.0
1587 license:expat))))
1588
1589 (define-public rust-permutohedron
1590 (package
1591 (name "rust-permutohedron")
1592 (version "0.2.4")
1593 (source
1594 (origin
1595 (method url-fetch)
1596 (uri (crate-uri "permutohedron" version))
1597 (file-name (string-append name "-" version ".tar.gz"))
1598 (sha256
1599 (base32
1600 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1601 (build-system cargo-build-system)
1602 (home-page "https://github.com/bluss/permutohedron")
1603 (synopsis "Generate permutations of sequences")
1604 (description
1605 "Generate permutations of sequences. Either lexicographical order
1606 permutations, or a minimal swaps permutation sequence implemented using Heap's
1607 algorithm.")
1608 (license (list license:asl2.0
1609 license:expat))))
1610
1611 (define-public rust-pin-utils
1612 (package
1613 (name "rust-pin-utils")
1614 (version "0.1.0-alpha.4")
1615 (source
1616 (origin
1617 (method url-fetch)
1618 (uri (crate-uri "pin-utils" version))
1619 (file-name (string-append name "-" version ".tar.gz"))
1620 (sha256
1621 (base32
1622 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1623 (build-system cargo-build-system)
1624 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1625 (synopsis "Utilities for pinning")
1626 (description "This crate provides utilities for pinning values on the stack.")
1627 (license (list license:asl2.0
1628 license:expat))))
1629
1630 (define-public rust-pkg-config
1631 (package
1632 (name "rust-pkg-config")
1633 (version "0.3.14")
1634 (source
1635 (origin
1636 (method url-fetch)
1637 (uri (crate-uri "pkg-config" version))
1638 (file-name (string-append name "-" version ".tar.gz"))
1639 (sha256
1640 (base32
1641 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1642 (build-system cargo-build-system)
1643 (arguments
1644 `(#:cargo-development-inputs
1645 (("rust-lazy-static" ,rust-lazy-static))))
1646 (inputs
1647 `(("pkg-config" ,pkg-config)))
1648 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1649 (synopsis "Library to run the pkg-config system tool")
1650 (description
1651 "A library to run the pkg-config system tool at build time in order to be
1652 used in Cargo build scripts.")
1653 (license (list license:asl2.0
1654 license:expat))))
1655
1656 (define-public rust-plain
1657 (package
1658 (name "rust-plain")
1659 (version "0.2.3")
1660 (source
1661 (origin
1662 (method url-fetch)
1663 (uri (crate-uri "plain" version))
1664 (file-name (string-append name "-" version ".tar.gz"))
1665 (sha256
1666 (base32
1667 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1668 (build-system cargo-build-system)
1669 (home-page "https://github.com/randomites/plain")
1670 (synopsis "Rust library that allows reinterpreting data safely")
1671 (description "This package provides a small Rust library that allows users
1672 to reinterpret data of certain types safely.")
1673 (license (list license:asl2.0
1674 license:expat))))
1675
1676 (define-public rust-plugin
1677 (package
1678 (name "rust-plugin")
1679 (version "0.2.6")
1680 (source
1681 (origin
1682 (method url-fetch)
1683 (uri (crate-uri "plugin" version))
1684 (file-name (string-append name "-" version ".tar.gz"))
1685 (sha256
1686 (base32
1687 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1688 (build-system cargo-build-system)
1689 (arguments
1690 `(#:cargo-inputs
1691 (("rust-typemap" ,rust-typemap))
1692 #:cargo-development-inputs
1693 (("rust-void" ,rust-void))))
1694 (home-page "https://github.com/reem/rust-plugin")
1695 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1696 (description
1697 "Lazily evaluated, order-independent plugins for extensible types.")
1698 (license license:expat)))
1699
1700 (define-public rust-pocket-resources
1701 (package
1702 (name "rust-pocket-resources")
1703 (version "0.3.2")
1704 (source
1705 (origin
1706 (method url-fetch)
1707 (uri (crate-uri "pocket-resources" version))
1708 (file-name (string-append name "-" version ".tar.gz"))
1709 (sha256
1710 (base32
1711 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1712 (build-system cargo-build-system)
1713 (home-page "https://github.com/tomaka/pocket-resources")
1714 (synopsis "Include resources in your applications")
1715 (description "This crate allows you to include resources in your
1716 applications.")
1717 (license license:expat)))
1718
1719 (define-public rust-ppv-lite86
1720 (package
1721 (name "rust-ppv-lite86")
1722 (version "0.2.5")
1723 (source
1724 (origin
1725 (method url-fetch)
1726 (uri (crate-uri "ppv-lite86" version))
1727 (file-name (string-append name "-" version ".tar.gz"))
1728 (sha256
1729 (base32
1730 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1731 (build-system cargo-build-system)
1732 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1733 (synopsis "Implementation of the crypto-simd API for x86")
1734 (description "This crate provides an implementation of the crypto-simd API
1735 for x86.")
1736 (license (list license:asl2.0
1737 license:expat))))
1738
1739 (define-public rust-proc-macro2
1740 (package
1741 (name "rust-proc-macro2")
1742 (version "0.4.30")
1743 (source
1744 (origin
1745 (method url-fetch)
1746 (uri (crate-uri "proc-macro2" version))
1747 (file-name
1748 (string-append name "-" version ".tar.gz"))
1749 (sha256
1750 (base32
1751 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1752 (build-system cargo-build-system)
1753 (arguments
1754 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
1755 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1756 (home-page "https://github.com/alexcrichton/proc-macro2")
1757 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1758 (description "This package provides a stable implementation of the upcoming new
1759 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1760 in terms of the upstream unstable API.")
1761 ;; Dual licensed.
1762 (license (list license:asl2.0 license:expat))))
1763
1764 (define-public rust-quick-error
1765 (package
1766 (name "rust-quick-error")
1767 (version "1.2.2")
1768 (source
1769 (origin
1770 (method url-fetch)
1771 (uri (crate-uri "quick-error" version))
1772 (file-name (string-append name "-" version ".tar.gz"))
1773 (sha256
1774 (base32
1775 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1776 (build-system cargo-build-system)
1777 (home-page "http://github.com/tailhook/quick-error")
1778 (synopsis "Macro which makes error types pleasant to write")
1779 (description "This crate provides a macro which makes error types pleasant
1780 to write.")
1781 (license (list license:asl2.0
1782 license:expat))))
1783
1784 (define-public rust-quote
1785 (package
1786 (name "rust-quote")
1787 (version "0.6.12")
1788 (source
1789 (origin
1790 (method url-fetch)
1791 (uri (crate-uri "quote" version))
1792 (file-name
1793 (string-append name "-" version ".tar.gz"))
1794 (sha256
1795 (base32
1796 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1797 (build-system cargo-build-system)
1798 (arguments
1799 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1800 (home-page "https://github.com/dtolnay/quote")
1801 (synopsis "Quasi-quoting macro quote!(...)")
1802 (description "Quasi-quoting macro quote!(...)")
1803 ;; Dual licensed.
1804 (license (list license:asl2.0 license:expat))))
1805
1806 (define-public rust-rand
1807 (package
1808 (name "rust-rand")
1809 (version "0.4.3")
1810 (source
1811 (origin
1812 (method url-fetch)
1813 (uri (crate-uri "rand" version))
1814 (file-name (string-append name "-" version ".tar.gz"))
1815 (sha256
1816 (base32
1817 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
1818 (build-system cargo-build-system)
1819 (arguments
1820 `(#:cargo-inputs
1821 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
1822 ("rust-libc" ,rust-libc)
1823 ("rust-winapi" ,rust-winapi))))
1824 (home-page "https://crates.io/crates/rand")
1825 (synopsis "Random number generators and other randomness functionality")
1826 (description
1827 "Rand provides utilities to generate random numbers, to convert them to
1828 useful types and distributions, and some randomness-related algorithms.")
1829 (license (list license:asl2.0
1830 license:expat))))
1831
1832 (define-public rust-rand-0.3
1833 (package
1834 (inherit rust-rand)
1835 (name "rust-rand")
1836 (version "0.3.23")
1837 (source
1838 (origin
1839 (method url-fetch)
1840 (uri (crate-uri "rand" version))
1841 (file-name (string-append name "-" version ".tar.gz"))
1842 (sha256
1843 (base32
1844 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
1845 (arguments
1846 `(#:cargo-inputs
1847 (("rust-libc" ,rust-libc)
1848 ("rust-rand" ,rust-rand))))))
1849
1850 (define-public rust-rawpointer
1851 (package
1852 (name "rust-rawpointer")
1853 (version "0.1.0")
1854 (source
1855 (origin
1856 (method url-fetch)
1857 (uri (crate-uri "rawpointer" version))
1858 (file-name (string-append name "-" version ".tar.gz"))
1859 (sha256
1860 (base32
1861 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1862 (build-system cargo-build-system)
1863 (home-page "https://github.com/bluss/rawpointer/")
1864 (synopsis "Extra methods for raw pointers")
1865 (description "Extra methods for raw pointers. For example
1866 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1867 and @code{ptrdistance}.")
1868 (license (list license:asl2.0
1869 license:expat))))
1870
1871 ;; This package requires features which are unavailable
1872 ;; on the stable releases of Rust.
1873 (define-public rust-redox-syscall ; guix upstreamable
1874 (package
1875 (name "rust-redox-syscall")
1876 (version "0.1.56")
1877 (source
1878 (origin
1879 (method url-fetch)
1880 (uri (crate-uri "redox_syscall" version))
1881 (file-name (string-append name "-" version ".tar.gz"))
1882 (sha256
1883 (base32
1884 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
1885 (build-system cargo-build-system)
1886 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
1887 (synopsis "Rust library to access raw Redox system calls")
1888 (description "This package provides a Rust library to access raw Redox
1889 system calls.")
1890 (properties '((hidden? . #t)))
1891 (license license:expat)))
1892
1893 (define-public rust-regex-syntax
1894 (package
1895 (name "rust-regex-syntax")
1896 (version "0.6.10")
1897 (source
1898 (origin
1899 (method url-fetch)
1900 (uri (crate-uri "regex-syntax" version))
1901 (file-name (string-append name "-" version ".tar.gz"))
1902 (sha256
1903 (base32
1904 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1905 (build-system cargo-build-system)
1906 (arguments
1907 `(#:cargo-inputs
1908 (("rust-ucd-util" ,rust-ucd-util))))
1909 (home-page "https://github.com/rust-lang/regex")
1910 (synopsis "Regular expression parser")
1911 (description
1912 "This package provides a regular expression parser.")
1913 (license (list license:asl2.0
1914 license:expat))))
1915
1916 (define-public rust-remove-dir-all
1917 (package
1918 (name "rust-remove-dir-all")
1919 (version "0.5.2")
1920 (source
1921 (origin
1922 (method url-fetch)
1923 (uri (crate-uri "remove_dir_all" version))
1924 (file-name (string-append name "-" version ".tar.gz"))
1925 (sha256
1926 (base32
1927 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1928 (build-system cargo-build-system)
1929 (arguments
1930 `(#:cargo-inputs
1931 (("rust-winapi" ,rust-winapi))
1932 #:cargo-development-inputs
1933 (("rust-doc-comment" ,rust-doc-comment))
1934 #:phases
1935 (modify-phases %standard-phases
1936 (add-after 'unpack 'fix-source
1937 ;; The test phase expects there to be a README.md in the root directory.
1938 (lambda _
1939 (invoke "touch" "README.md"))))))
1940 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1941 (synopsis "Implementation of remove_dir_all for Windows")
1942 (description
1943 "This package provides a safe, reliable implementation of
1944 @code{remove_dir_all} for Windows")
1945 (license (list license:asl2.0
1946 license:expat))))
1947
1948 (define-public rust-resolv-conf
1949 (package
1950 (name "rust-resolv-conf")
1951 (version "0.6.2")
1952 (source
1953 (origin
1954 (method url-fetch)
1955 (uri (crate-uri "resolv-conf" version))
1956 (file-name (string-append name "-" version ".tar.gz"))
1957 (sha256
1958 (base32
1959 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1960 (build-system cargo-build-system)
1961 (arguments
1962 `(#:cargo-inputs
1963 (("rust-quick-error" ,rust-quick-error)
1964 ("rust-hostname" ,rust-hostname))
1965 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1966 (home-page "https://github.com/tailhook/resolv-conf")
1967 (synopsis "/etc/resolv.conf parser")
1968 (description
1969 "An /etc/resolv.conf parser crate for Rust.")
1970 (license (list license:asl2.0
1971 license:expat))))
1972
1973 (define-public rust-rustc-serialize
1974 (package
1975 (name "rust-rustc-serialize")
1976 (version "0.3.24")
1977 (source
1978 (origin
1979 (method url-fetch)
1980 (uri (crate-uri "rustc-serialize" version))
1981 (file-name (string-append name "-" version ".tar.gz"))
1982 (sha256
1983 (base32
1984 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
1985 (build-system cargo-build-system)
1986 (arguments
1987 `(#:cargo-development-inputs
1988 (("rust-rand" ,rust-rand-0.3))))
1989 (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
1990 (synopsis "Generic serialization/deserialization support")
1991 (description
1992 "This package provides generic serialization/deserialization support
1993 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
1994 compiler. Also includes support for hex, base64, and json encoding and
1995 decoding.")
1996 (license (list license:asl2.0
1997 license:expat))))
1998
1999 (define-public rust-rustc-std-workspace-core
2000 (package
2001 (name "rust-rustc-std-workspace-core")
2002 (version "1.0.0")
2003 (source
2004 (origin
2005 (method url-fetch)
2006 (uri (crate-uri "rustc-std-workspace-core" version))
2007 (file-name (string-append name "-" version ".tar.gz"))
2008 (sha256
2009 (base32
2010 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
2011 (build-system cargo-build-system)
2012 (home-page "https://crates.io/crates/rustc-std-workspace-core")
2013 (synopsis "Explicitly empty crate for rust-lang/rust integration")
2014 (description "This crate provides an explicitly empty crate for
2015 rust-lang/rust integration.")
2016 (license (list license:asl2.0
2017 license:expat))))
2018
2019 (define-public rust-safemem
2020 (package
2021 (name "rust-safemem")
2022 (version "0.3.2")
2023 (source
2024 (origin
2025 (method url-fetch)
2026 (uri (crate-uri "safemem" version))
2027 (file-name (string-append name "-" version ".tar.gz"))
2028 (sha256
2029 (base32
2030 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
2031 (build-system cargo-build-system)
2032 (home-page "https://github.com/abonander/safemem")
2033 (synopsis "Safe wrappers for memory-accessing functions")
2034 (description
2035 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
2036 (license (list license:asl2.0
2037 license:expat))))
2038
2039 (define-public rust-same-file
2040 (package
2041 (name "rust-same-file")
2042 (version "1.0.5")
2043 (source
2044 (origin
2045 (method url-fetch)
2046 (uri (crate-uri "same-file" version))
2047 (file-name (string-append name "-" version ".tar.gz"))
2048 (sha256
2049 (base32
2050 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
2051 (build-system cargo-build-system)
2052 (arguments
2053 `(#:cargo-inputs
2054 (("rust-winapi-util" ,rust-winapi-util))))
2055 (home-page "https://github.com/BurntSushi/same-file")
2056 (synopsis "Determine whether two file paths point to the same file")
2057 (description
2058 "This package provides a simple crate for determining whether two file
2059 paths point to the same file.")
2060 (license (list license:unlicense
2061 license:expat))))
2062
2063 (define-public rust-schannel
2064 (package
2065 (name "rust-schannel")
2066 (version "0.1.15")
2067 (source
2068 (origin
2069 (method url-fetch)
2070 (uri (crate-uri "schannel" version))
2071 (file-name (string-append name "-" version ".tar.gz"))
2072 (sha256
2073 (base32
2074 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
2075 (build-system cargo-build-system)
2076 (arguments
2077 `(#:cargo-inputs
2078 (("rust-lazy-static" ,rust-lazy-static)
2079 ("rust-winapi" ,rust-winapi))))
2080 (home-page "https://github.com/steffengy/schannel-rs")
2081 (synopsis "Rust bindings to the Windows SChannel APIs")
2082 (description
2083 "Rust bindings to the Windows SChannel APIs providing TLS client and
2084 server functionality.")
2085 (license license:expat)))
2086
2087 (define-public rust-scoped-threadpool
2088 (package
2089 (name "rust-scoped-threadpool")
2090 (version "0.1.9")
2091 (source
2092 (origin
2093 (method url-fetch)
2094 (uri (crate-uri "scoped_threadpool" version))
2095 (file-name (string-append name "-" version ".tar.gz"))
2096 (sha256
2097 (base32
2098 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
2099 (build-system cargo-build-system)
2100 (arguments
2101 `(#:cargo-development-inputs
2102 (("rust-lazy-static" ,rust-lazy-static))))
2103 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
2104 (synopsis "library for scoped and cached threadpools")
2105 (description
2106 "This crate provides a stable, safe and scoped threadpool. It can be used
2107 to execute a number of short-lived jobs in parallel without the need to respawn
2108 the underlying threads. Jobs are runnable by borrowing the pool for a given
2109 scope, during which an arbitrary number of them can be executed. These jobs can
2110 access data of any lifetime outside of the pools scope, which allows working on
2111 non-'static references in parallel.")
2112 (license (list license:asl2.0
2113 license:expat))))
2114
2115 (define-public rust-scoped-tls
2116 (package
2117 (name "rust-scoped-tls")
2118 (version "1.0.0")
2119 (source
2120 (origin
2121 (method url-fetch)
2122 (uri (crate-uri "scoped-tls" version))
2123 (file-name (string-append name "-" version ".tar.gz"))
2124 (sha256
2125 (base32
2126 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
2127 (build-system cargo-build-system)
2128 (home-page "https://github.com/alexcrichton/scoped-tls")
2129 (synopsis "Rust library providing the old standard library's scoped_thread_local")
2130 (description "This crate provides a library implementation of the standard
2131 library's old @code{scoped_thread_local!} macro for providing scoped access to
2132 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
2133 (license (list license:asl2.0
2134 license:expat))))
2135
2136 (define-public rust-scoped-tls-0.1
2137 (package
2138 (inherit rust-scoped-tls)
2139 (name "rust-scoped-tls")
2140 (version "0.1.2")
2141 (source
2142 (origin
2143 (method url-fetch)
2144 (uri (crate-uri "scoped-tls" version))
2145 (file-name (string-append name "-" version ".tar.gz"))
2146 (sha256
2147 (base32
2148 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
2149
2150 (define-public rust-scopeguard
2151 (package
2152 (name "rust-scopeguard")
2153 (version "1.0.0")
2154 (source
2155 (origin
2156 (method url-fetch)
2157 (uri (crate-uri "scopeguard" version))
2158 (file-name (string-append name "-" version ".tar.gz"))
2159 (sha256
2160 (base32
2161 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
2162 (build-system cargo-build-system)
2163 (home-page "https://github.com/bluss/scopeguard")
2164 (synopsis "Scope guard which will run a closure even out of scope")
2165 (description "This package provides a RAII scope guard that will run a
2166 given closure when it goes out of scope, even if the code between panics
2167 (assuming unwinding panic). Defines the macros @code{defer!},
2168 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
2169 with one of the implemented strategies.")
2170 (license (list license:asl2.0
2171 license:expat))))
2172
2173 (define-public rust-scopeguard-0.3
2174 (package
2175 (inherit rust-scopeguard)
2176 (name "rust-scopeguard")
2177 (version "0.3.3")
2178 (source
2179 (origin
2180 (method url-fetch)
2181 (uri (crate-uri "scopeguard" version))
2182 (file-name
2183 (string-append name "-" version ".tar.gz"))
2184 (sha256
2185 (base32
2186 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
2187
2188 (define-public rust-security-framework-sys
2189 (package
2190 (name "rust-security-framework-sys")
2191 (version "0.3.1")
2192 (source
2193 (origin
2194 (method url-fetch)
2195 (uri (crate-uri "security-framework-sys" version))
2196 (file-name (string-append name "-" version ".tar.gz"))
2197 (sha256
2198 (base32
2199 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
2200 (build-system cargo-build-system)
2201 (arguments
2202 `(#:cargo-inputs
2203 (("rust-core-foundation-sys"
2204 ,rust-core-foundation-sys))))
2205 (home-page "https://lib.rs/crates/security-framework-sys")
2206 (synopsis "Apple `Security.framework` low-level FFI bindings")
2207 (description
2208 "Apple `Security.framework` low-level FFI bindings.")
2209 (license (list license:asl2.0
2210 license:expat))))
2211
2212 (define-public rust-semver-parser
2213 (package
2214 (name "rust-semver-parser")
2215 (version "0.9.0")
2216 (source
2217 (origin
2218 (method url-fetch)
2219 (uri (crate-uri "semver-parser" version))
2220 (file-name (string-append name "-" version ".tar.gz"))
2221 (sha256
2222 (base32
2223 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
2224 (build-system cargo-build-system)
2225 (home-page "https://github.com/steveklabnik/semver-parser")
2226 (synopsis "Parsing of the semver spec")
2227 (description "This package provides for parsing of the semver spec.")
2228 (license (list license:asl2.0
2229 license:expat))))
2230
2231 (define-public rust-shlex
2232 (package
2233 (name "rust-shlex")
2234 (version "0.1.1")
2235 (source
2236 (origin
2237 (method url-fetch)
2238 (uri (crate-uri "shlex" version))
2239 (file-name (string-append name "-" version ".tar.gz"))
2240 (sha256
2241 (base32
2242 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
2243 (build-system cargo-build-system)
2244 (home-page "https://github.com/comex/rust-shlex")
2245 (synopsis "Split a string into shell words, like Python's shlex")
2246 (description "This crate provides a method to split a string into shell
2247 words, like Python's shlex.")
2248 (license (list license:asl2.0
2249 license:expat))))
2250
2251 (define-public rust-slab
2252 (package
2253 (name "rust-slab")
2254 (version "0.4.2")
2255 (source
2256 (origin
2257 (method url-fetch)
2258 (uri (crate-uri "slab" version))
2259 (file-name (string-append name "-" version ".tar.gz"))
2260 (sha256
2261 (base32
2262 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
2263 (build-system cargo-build-system)
2264 (home-page "https://github.com/carllerche/slab")
2265 (synopsis "Pre-allocated storage for a uniform data type")
2266 (description "This create provides a pre-allocated storage for a uniform
2267 data type.")
2268 (license license:expat)))
2269
2270 (define-public rust-spin
2271 (package
2272 (name "rust-spin")
2273 (version "0.5.0")
2274 (source
2275 (origin
2276 (method url-fetch)
2277 (uri (crate-uri "spin" version))
2278 (file-name (string-append name "-" version ".tar.gz"))
2279 (sha256
2280 (base32
2281 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
2282 (build-system cargo-build-system)
2283 (home-page "https://github.com/mvdnes/spin-rs.git")
2284 (synopsis "Synchronization primitives based on spinning")
2285 (description "This crate provides synchronization primitives based on
2286 spinning. They may contain data, are usable without @code{std},and static
2287 initializers are available.")
2288 (license license:expat)))
2289
2290 (define-public rust-stable-deref-trait
2291 (package
2292 (name "rust-stable-deref-trait")
2293 (version "1.1.1")
2294 (source
2295 (origin
2296 (method url-fetch)
2297 (uri (crate-uri "stable_deref_trait" version))
2298 (file-name (string-append name "-" version ".tar.gz"))
2299 (sha256
2300 (base32
2301 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
2302 (build-system cargo-build-system)
2303 (home-page "https://github.com/storyyeller/stable_deref_trait0")
2304 (synopsis "Defines an unsafe marker trait, StableDeref")
2305 (description
2306 "This crate defines an unsafe marker trait, StableDeref, for container
2307 types which deref to a fixed address which is valid even when the containing
2308 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
2309 Additionally, it defines CloneStableDeref for types like Rc where clones deref
2310 to the same address.")
2311 (license (list license:asl2.0
2312 license:expat))))
2313
2314 (define-public rust-stacker
2315 (package
2316 (name "rust-stacker")
2317 (version "0.1.5")
2318 (source
2319 (origin
2320 (method url-fetch)
2321 (uri (crate-uri "stacker" version))
2322 (file-name (string-append name "-" version ".tar.gz"))
2323 (sha256
2324 (base32
2325 "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv"))))
2326 (build-system cargo-build-system)
2327 (arguments
2328 `(#:cargo-inputs
2329 (("rust-cfg-if" ,rust-cfg-if)
2330 ("rust-libc" ,rust-libc)
2331 ("rust-winapi" ,rust-winapi)
2332 ("rust-cc" ,rust-cc))))
2333 (home-page "https://github.com/rust-lang/stacker")
2334 (synopsis "Manual segmented stacks for Rust")
2335 (description
2336 "This package provides a stack growth library useful when implementing
2337 deeply recursive algorithms that may accidentally blow the stack.")
2338 (license (list license:asl2.0
2339 license:expat))))
2340
2341 (define-public rust-stdweb-internal-runtime
2342 (package
2343 (name "rust-stdweb-internal-runtime")
2344 (version "0.1.4")
2345 (source
2346 (origin
2347 (method url-fetch)
2348 (uri (crate-uri "stdweb-internal-runtime" version))
2349 (file-name (string-append name "-" version ".tar.gz"))
2350 (sha256
2351 (base32
2352 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
2353 (build-system cargo-build-system)
2354 (home-page "https://github.com/koute/stdweb")
2355 (synopsis "Internal runtime for the @code{stdweb} crate")
2356 (description "This crate provides internal runtime for the @code{stdweb}
2357 crate.")
2358 (license (list license:asl2.0
2359 license:expat))))
2360
2361 (define-public rust-stdweb-internal-test-macro
2362 (package
2363 (name "rust-stdweb-internal-test-macro")
2364 (version "0.1.0")
2365 (source
2366 (origin
2367 (method url-fetch)
2368 (uri (crate-uri "stdweb-internal-test-macro" version))
2369 (file-name (string-append name "-" version ".tar.gz"))
2370 (sha256
2371 (base32
2372 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
2373 (build-system cargo-build-system)
2374 (arguments
2375 `(#:cargo-inputs
2376 (("rust-proc-macro2" ,rust-proc-macro2)
2377 ("rust-quote" ,rust-quote))))
2378 (home-page "https://github.com/koute/stdweb")
2379 (synopsis "Internal crate of the `stdweb` crate")
2380 (description
2381 "Internal crate of the @code{stdweb} crate.")
2382 (license (list license:asl2.0
2383 license:expat))))
2384
2385 (define-public rust-streaming-stats
2386 (package
2387 (name "rust-streaming-stats")
2388 (version "0.2.2")
2389 (source
2390 (origin
2391 (method url-fetch)
2392 (uri (crate-uri "streaming-stats" version))
2393 (file-name (string-append name "-" version ".tar.gz"))
2394 (sha256
2395 (base32
2396 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
2397 (build-system cargo-build-system)
2398 (arguments
2399 `(#:cargo-inputs
2400 (("rust-num-traits" ,rust-num-traits))))
2401 (home-page "https://github.com/BurntSushi/rust-stats")
2402 (synopsis "Compute basic statistics on streams")
2403 (description
2404 "Experimental crate for computing basic statistics on streams.")
2405 (license (list license:unlicense
2406 license:expat))))
2407
2408 (define-public rust-strsim
2409 (package
2410 (name "rust-strsim")
2411 (version "0.9.2")
2412 (source
2413 (origin
2414 (method url-fetch)
2415 (uri (crate-uri "strsim" version))
2416 (file-name (string-append name "-" version ".tar.gz"))
2417 (sha256
2418 (base32
2419 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
2420 (build-system cargo-build-system)
2421 (home-page "https://github.com/dguo/strsim-rs")
2422 (synopsis "Rust implementations of string similarity metrics")
2423 (description "This crate includes implementations of string similarity
2424 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
2425 and Jaro-Winkler.")
2426 (license license:expat)))
2427
2428 (define-public rust-synstructure-test-traits
2429 (package
2430 (name "rust-synstructure-test-traits")
2431 (version "0.1.0")
2432 (source
2433 (origin
2434 (method url-fetch)
2435 (uri (crate-uri "synstructure_test_traits" version))
2436 (file-name (string-append name "-" version ".tar.gz"))
2437 (sha256
2438 (base32
2439 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
2440 (build-system cargo-build-system)
2441 (home-page "https://crates.io/crates/synstructure_test_traits")
2442 (synopsis "Helper test traits for synstructure doctests")
2443 (description
2444 "This package provides helper test traits for synstructure doctests.")
2445 (license license:expat)))
2446
2447 (define-public rust-tempdir
2448 (package
2449 (name "rust-tempdir")
2450 (version "0.3.7")
2451 (source
2452 (origin
2453 (method url-fetch)
2454 (uri (crate-uri "tempdir" version))
2455 (file-name (string-append name "-" version ".tar.gz"))
2456 (sha256
2457 (base32
2458 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
2459 (build-system cargo-build-system)
2460 (arguments
2461 `(#:cargo-inputs
2462 (("rust-rand" ,rust-rand)
2463 ("rust-remove-dir-all" ,rust-remove-dir-all))))
2464 (home-page
2465 "https://github.com/rust-lang/tempdir")
2466 (synopsis "Temporary directory management for Rust")
2467 (description
2468 "This package provides a library for managing a temporary directory and
2469 deleting all contents when it's dropped.")
2470 (license (list license:asl2.0
2471 license:expat))))
2472
2473 (define-public rust-termcolor
2474 (package
2475 (name "rust-termcolor")
2476 (version "1.0.5")
2477 (source
2478 (origin
2479 (method url-fetch)
2480 (uri (crate-uri "termcolor" version))
2481 (file-name (string-append name "-" version ".tar.gz"))
2482 (sha256
2483 (base32
2484 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
2485 (build-system cargo-build-system)
2486 (arguments
2487 `(#:cargo-inputs
2488 (("rust-wincolor" ,rust-wincolor))))
2489 (home-page "https://github.com/BurntSushi/termcolor")
2490 (synopsis "Library for writing colored text to a terminal")
2491 (description "This package provides a simple cross platform library for
2492 writing colored text to a terminal.")
2493 (license (list license:unlicense
2494 license:expat))))
2495
2496 (define-public rust-termios
2497 (package
2498 (name "rust-termios")
2499 (version "0.3.1")
2500 (source
2501 (origin
2502 (method url-fetch)
2503 (uri (crate-uri "termios" version))
2504 (file-name (string-append name "-" version ".tar.gz"))
2505 (sha256
2506 (base32
2507 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
2508 (build-system cargo-build-system)
2509 (arguments
2510 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
2511 (home-page "https://github.com/dcuddeback/termios-rs")
2512 (synopsis "Safe bindings for the termios library")
2513 (description
2514 "The termios crate provides safe bindings for the Rust programming language
2515 to the terminal I/O interface implemented by Unix operating systems. The safe
2516 bindings are a small wrapper around the raw C functions, which converts integer
2517 return values to @code{std::io::Result} to indicate success or failure.")
2518 (license license:expat)))
2519
2520 (define-public rust-thread-id
2521 (package
2522 (name "rust-thread-id")
2523 (version "3.3.0")
2524 (source
2525 (origin
2526 (method url-fetch)
2527 (uri (crate-uri "thread-id" version))
2528 (file-name (string-append name "-" version ".tar.gz"))
2529 (sha256
2530 (base32
2531 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
2532 (build-system cargo-build-system)
2533 (arguments
2534 `(#:cargo-inputs
2535 (("rust-libc" ,rust-libc)
2536 ("rust-redox-syscall" ,rust-redox-syscall)
2537 ("rust-winapi" ,rust-winapi))))
2538 (home-page "https://github.com/ruuda/thread-id")
2539 (synopsis "Get a unique ID for the current thread in Rust")
2540 (description
2541 "For diagnostics and debugging it can often be useful to get an ID that is
2542 different for every thread.")
2543 (license (list license:asl2.0
2544 license:expat))))
2545
2546 (define-public rust-thread-local
2547 (package
2548 (name "rust-thread-local")
2549 (version "0.3.6")
2550 (source
2551 (origin
2552 (method url-fetch)
2553 (uri (crate-uri "thread_local" version))
2554 (file-name (string-append name "-" version ".tar.gz"))
2555 (sha256
2556 (base32
2557 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
2558 (build-system cargo-build-system)
2559 (arguments
2560 `(#:cargo-inputs
2561 (("rust-lazy-static" ,rust-lazy-static))))
2562 (home-page "https://github.com/Amanieu/thread_local-rs")
2563 (synopsis "Per-object thread-local storage")
2564 (description "Per-object thread-local storage")
2565 (license (list license:asl2.0
2566 license:expat))))
2567
2568 (define-public rust-threadpool
2569 (package
2570 (name "rust-threadpool")
2571 (version "1.7.1")
2572 (source
2573 (origin
2574 (method url-fetch)
2575 (uri (crate-uri "threadpool" version))
2576 (file-name (string-append name "-" version ".tar.gz"))
2577 (sha256
2578 (base32
2579 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
2580 (build-system cargo-build-system)
2581 (arguments
2582 `(#:cargo-inputs
2583 (("rust-num-cpus" ,rust-num-cpus))))
2584 (home-page "https://github.com/rust-threadpool/rust-threadpool")
2585 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
2586 (description
2587 "This package provides a thread pool for running a number of jobs on a
2588 fixed set of worker threads.")
2589 (license (list license:asl2.0
2590 license:expat))))
2591
2592 (define-public rust-tokio-mock-task
2593 (package
2594 (name "rust-tokio-mock-task")
2595 (version "0.1.1")
2596 (source
2597 (origin
2598 (method url-fetch)
2599 (uri (crate-uri "tokio-mock-task" version))
2600 (file-name (string-append name "-" version ".tar.gz"))
2601 (sha256
2602 (base32
2603 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
2604 (build-system cargo-build-system)
2605 (arguments
2606 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
2607 (home-page "https://github.com/carllerche/tokio-mock-task")
2608 (synopsis "Mock a Tokio task")
2609 (description "Mock a Tokio task")
2610 (license license:expat)))
2611
2612 (define-public rust-tracing-core
2613 (package
2614 (name "rust-tracing-core")
2615 (version "0.1.2")
2616 (source
2617 (origin
2618 (method url-fetch)
2619 (uri (crate-uri "tracing-core" version))
2620 (file-name (string-append name "-" version ".tar.gz"))
2621 (sha256
2622 (base32
2623 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
2624 (build-system cargo-build-system)
2625 (arguments
2626 `(#:cargo-inputs
2627 (("rust-lazy-static" ,rust-lazy-static))))
2628 (home-page "https://tokio.rs")
2629 (synopsis "Core primitives for application-level tracing")
2630 (description
2631 "Core primitives for application-level tracing.")
2632 (license (list license:asl2.0
2633 license:expat))))
2634
2635 (define-public rust-traitobject
2636 (package
2637 (name "rust-traitobject")
2638 (version "0.1.0")
2639 (source
2640 (origin
2641 (method url-fetch)
2642 (uri (crate-uri "traitobject" version))
2643 (file-name (string-append name "-" version ".tar.gz"))
2644 (sha256
2645 (base32
2646 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
2647 (build-system cargo-build-system)
2648 (home-page "https://github.com/reem/rust-traitobject.git")
2649 (synopsis "Unsafe helpers for dealing with raw trait objects")
2650 (description "Unsafe helpers for dealing with raw trait objects.")
2651 (license (list license:asl2.0
2652 license:expat))))
2653
2654 (define-public rust-try-from
2655 (package
2656 (name "rust-try-from")
2657 (version "0.3.2")
2658 (source
2659 (origin
2660 (method url-fetch)
2661 (uri (crate-uri "try_from" version))
2662 (file-name (string-append name "-" version ".tar.gz"))
2663 (sha256
2664 (base32
2665 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
2666 (build-system cargo-build-system)
2667 (arguments
2668 `(#:cargo-inputs
2669 (("rust-cfg-if" ,rust-cfg-if))))
2670 (home-page "https://github.com/derekjw/try_from")
2671 (synopsis "TryFrom and TryInto traits for failable conversions")
2672 (description
2673 "TryFrom and TryInto traits for failable conversions that return a Result.")
2674 (license license:expat)))
2675
2676 (define-public rust-try-lock
2677 (package
2678 (name "rust-try-lock")
2679 (version "0.2.2")
2680 (source
2681 (origin
2682 (method url-fetch)
2683 (uri (crate-uri "try-lock" version))
2684 (file-name (string-append name "-" version ".tar.gz"))
2685 (sha256
2686 (base32
2687 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
2688 (build-system cargo-build-system)
2689 (home-page "https://github.com/seanmonstar/try-lock")
2690 (synopsis "Lightweight atomic lock")
2691 (description
2692 "This package provides a lightweight atomic lock.")
2693 (license license:expat)))
2694
2695 (define-public rust-typeable
2696 (package
2697 (name "rust-typeable")
2698 (version "0.1.2")
2699 (source
2700 (origin
2701 (method url-fetch)
2702 (uri (crate-uri "typeable" version))
2703 (file-name (string-append name "-" version ".tar.gz"))
2704 (sha256
2705 (base32
2706 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
2707 (build-system cargo-build-system)
2708 (home-page "https://github.com/reem/rust-typeable")
2709 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2710 (description "Exposes Typeable, for getting TypeIds at runtime.")
2711 (license license:expat)))
2712
2713 (define-public rust-typemap
2714 (package
2715 (name "rust-typemap")
2716 (version "0.3.3")
2717 (source
2718 (origin
2719 (method url-fetch)
2720 (uri (crate-uri "typemap" version))
2721 (file-name (string-append name "-" version ".tar.gz"))
2722 (sha256
2723 (base32
2724 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2725 (build-system cargo-build-system)
2726 (arguments
2727 `(#:cargo-inputs
2728 (("rust-unsafe-any" ,rust-unsafe-any))))
2729 (home-page "https://github.com/reem/rust-typemap")
2730 (synopsis "Typesafe store for many value types")
2731 (description
2732 "A typesafe store for many value types.")
2733 (license license:expat)))
2734
2735 (define-public rust-typenum
2736 (package
2737 (name "rust-typenum")
2738 (version "1.10.0")
2739 (source
2740 (origin
2741 (method url-fetch)
2742 (uri (crate-uri "typenum" version))
2743 (file-name (string-append name "-" version ".tar.gz"))
2744 (sha256
2745 (base32
2746 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2747 (build-system cargo-build-system)
2748 (home-page "https://github.com/paholg/typenum")
2749 (synopsis "Rust library for type-level numbers evaluated at compile time")
2750 (description "Typenum is a Rust library for type-level numbers evaluated at
2751 compile time. It currently supports bits, unsigned integers, and signed
2752 integers. It also provides a type-level array of type-level numbers, but its
2753 implementation is incomplete.")
2754 (license (list license:asl2.0
2755 license:expat))))
2756
2757 (define-public rust-ucd-trie
2758 (package
2759 (name "rust-ucd-trie")
2760 (version "0.1.2")
2761 (source
2762 (origin
2763 (method url-fetch)
2764 (uri (crate-uri "ucd-trie" version))
2765 (file-name (string-append name "-" version ".tar.gz"))
2766 (sha256
2767 (base32
2768 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2769 (build-system cargo-build-system)
2770 (arguments
2771 `(#:cargo-development-inputs
2772 (("rust-lazy-static" ,rust-lazy-static))))
2773 (home-page "https://github.com/BurntSushi/ucd-generate")
2774 (synopsis "Trie for storing Unicode codepoint sets and maps")
2775 (description
2776 "This package provides a trie for storing Unicode codepoint sets and maps.")
2777 (license (list license:asl2.0
2778 license:expat))))
2779
2780 (define-public rust-ucd-util
2781 (package
2782 (name "rust-ucd-util")
2783 (version "0.1.5")
2784 (source
2785 (origin
2786 (method url-fetch)
2787 (uri (crate-uri "ucd-util" version))
2788 (file-name (string-append name "-" version ".tar.gz"))
2789 (sha256
2790 (base32
2791 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2792 (build-system cargo-build-system)
2793 (home-page "https://github.com/BurntSushi/ucd-generate")
2794 (synopsis "library for working with the Unicode character database")
2795 (description "This package provides a small utility library for working
2796 with the Unicode character database.")
2797 (license (list license:asl2.0
2798 license:expat))))
2799
2800 (define-public rust-unicase
2801 (package
2802 (name "rust-unicase")
2803 (version "2.4.0")
2804 (source
2805 (origin
2806 (method url-fetch)
2807 (uri (crate-uri "unicase" version))
2808 (file-name (string-append name "-" version ".tar.gz"))
2809 (sha256
2810 (base32
2811 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2812 (build-system cargo-build-system)
2813 (arguments
2814 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2815 (home-page "https://github.com/seanmonstar/unicase")
2816 (synopsis "Case-insensitive wrapper around strings")
2817 (description
2818 "A case-insensitive wrapper around strings.")
2819 (license (list license:asl2.0
2820 license:expat))))
2821
2822 (define-public rust-unicode-width
2823 (package
2824 (name "rust-unicode-width")
2825 (version "0.1.5")
2826 (source
2827 (origin
2828 (method url-fetch)
2829 (uri (crate-uri "unicode-width" version))
2830 (file-name (string-append name "-" version ".tar.gz"))
2831 (sha256
2832 (base32
2833 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2834 (build-system cargo-build-system)
2835 (home-page "https://github.com/unicode-rs/unicode-width")
2836 (synopsis "Determine displayed width according to Unicode rules")
2837 (description "This crate allows you to determine displayed width of
2838 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2839 (license (list license:asl2.0
2840 license:expat))))
2841
2842 (define-public rust-unicode-xid
2843 (package
2844 (name "rust-unicode-xid")
2845 (version "0.2.0")
2846 (source
2847 (origin
2848 (method url-fetch)
2849 (uri (crate-uri "unicode-xid" version))
2850 (file-name
2851 (string-append name "-" version ".tar.gz"))
2852 (sha256
2853 (base32
2854 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
2855 (build-system cargo-build-system)
2856 (home-page
2857 "https://github.com/unicode-rs/unicode-xid")
2858 (synopsis "Determine Unicode XID related properties")
2859 (description "Determine whether characters have the XID_Start
2860 or XID_Continue properties according to Unicode Standard Annex #31.")
2861 ;; Dual licensed.
2862 (license (list license:asl2.0 license:expat))))
2863
2864 (define-public rust-unicode-xid-0.1
2865 (package
2866 (inherit rust-unicode-xid)
2867 (name "rust-unicode-xid")
2868 (version "0.1.0")
2869 (source
2870 (origin
2871 (method url-fetch)
2872 (uri (crate-uri "unicode-xid" version))
2873 (file-name (string-append name "-" version ".tar.gz"))
2874 (sha256
2875 (base32
2876 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
2877
2878 (define-public rust-unindent
2879 (package
2880 (name "rust-unindent")
2881 (version "0.1.3")
2882 (source
2883 (origin
2884 (method url-fetch)
2885 (uri (crate-uri "unindent" version))
2886 (file-name (string-append name "-" version ".tar.gz"))
2887 (sha256
2888 (base32
2889 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2890 (build-system cargo-build-system)
2891 (home-page "https://github.com/dtolnay/indoc")
2892 (synopsis "Remove a column of leading whitespace from a string")
2893 (description "This crate allows you to remove a column of leading
2894 whitespace from a string.")
2895 (license (list license:asl2.0
2896 license:expat))))
2897
2898 (define-public rust-unsafe-any
2899 (package
2900 (name "rust-unsafe-any")
2901 (version "0.4.2")
2902 (source
2903 (origin
2904 (method url-fetch)
2905 (uri (crate-uri "unsafe-any" version))
2906 (file-name (string-append name "-" version ".tar.gz"))
2907 (sha256
2908 (base32
2909 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2910 (build-system cargo-build-system)
2911 (arguments
2912 `(#:cargo-inputs
2913 (("rust-traitobject" ,rust-traitobject))))
2914 (home-page "https://tokio.rs")
2915 (synopsis "Traits and implementations for unchecked downcasting")
2916 (description
2917 "Traits and implementations for unchecked downcasting.")
2918 (license license:expat)))
2919
2920 (define-public rust-untrusted
2921 (package
2922 (name "rust-untrusted")
2923 (version "0.7.0")
2924 (source
2925 (origin
2926 (method url-fetch)
2927 (uri (crate-uri "untrusted" version))
2928 (file-name (string-append name "-" version ".tar.gz"))
2929 (sha256
2930 (base32
2931 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2932 (build-system cargo-build-system)
2933 (home-page "https://github.com/briansmith/untrusted")
2934 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2935 (description
2936 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2937 untrusted inputs in Rust.")
2938 (license license:isc)))
2939
2940 (define-public rust-vcpkg
2941 (package
2942 (name "rust-vcpkg")
2943 (version "0.2.7")
2944 (source
2945 (origin
2946 (method url-fetch)
2947 (uri (crate-uri "vcpkg" version))
2948 (file-name (string-append name "-" version ".tar.gz"))
2949 (sha256
2950 (base32
2951 "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
2952 (build-system cargo-build-system)
2953 (arguments
2954 `(#:cargo-development-inputs
2955 (("rust-lazy-static" ,rust-lazy-static)
2956 ("rust-tempdir" ,rust-tempdir))
2957 #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
2958 (home-page "https://github.com/mcgoo/vcpkg-rs")
2959 (synopsis "Find native dependencies in a vcpkg tree at build time")
2960 (description
2961 "This package provides a library to find native dependencies in a
2962 @code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
2963 (license (list license:asl2.0
2964 license:expat))))
2965
2966 (define-public rust-version-check
2967 (package
2968 (name "rust-version-check")
2969 (version "0.9.1")
2970 (source
2971 (origin
2972 (method url-fetch)
2973 (uri (crate-uri "version_check" version))
2974 (file-name (string-append name "-" version ".tar.gz"))
2975 (sha256
2976 (base32
2977 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2978 (build-system cargo-build-system)
2979 (home-page "https://github.com/SergioBenitez/version_check")
2980 (synopsis "Check that the installed rustc meets some version requirements")
2981 (description
2982 "This tiny crate checks that the running or installed rustc meets some
2983 version requirements. The version is queried by calling the Rust compiler with
2984 @code{--version}. The path to the compiler is determined first via the
2985 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2986 If that fails, no determination is made, and calls return None.")
2987 (license (list license:asl2.0
2988 license:expat))))
2989
2990 (define-public rust-version-check-0.1
2991 (package
2992 (inherit rust-version-check)
2993 (name "rust-version-check")
2994 (version "0.1.5")
2995 (source
2996 (origin
2997 (method url-fetch)
2998 (uri (crate-uri "version_check" version))
2999 (file-name (string-append name "-" version ".tar.gz"))
3000 (sha256
3001 (base32
3002 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
3003
3004 (define-public rust-void
3005 (package
3006 (name "rust-void")
3007 (version "1.0.2")
3008 (source
3009 (origin
3010 (method url-fetch)
3011 (uri (crate-uri "void" version))
3012 (file-name (string-append name "-" version ".tar.gz"))
3013 (sha256
3014 (base32
3015 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
3016 (build-system cargo-build-system)
3017 (home-page "https://github.com/reem/rust-void.git")
3018 (synopsis "Void type for use in statically impossible cases")
3019 (description
3020 "The uninhabited void type for use in statically impossible cases.")
3021 (license license:expat)))
3022
3023 (define-public rust-walkdir
3024 (package
3025 (name "rust-walkdir")
3026 (version "2.2.9")
3027 (source
3028 (origin
3029 (method url-fetch)
3030 (uri (crate-uri "walkdir" version))
3031 (file-name (string-append name "-" version ".tar.gz"))
3032 (sha256
3033 (base32
3034 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
3035 (build-system cargo-build-system)
3036 (arguments
3037 `(#:cargo-inputs
3038 (("rust-same-file" ,rust-same-file)
3039 ("rust-winapi" ,rust-winapi)
3040 ("rust-winapi-util" ,rust-winapi-util))
3041 #:cargo-development-inputs
3042 (("rust-doc-comment" ,rust-doc-comment))))
3043 (home-page "https://github.com/BurntSushi/walkdir")
3044 (synopsis "Recursively walk a directory")
3045 (description "Recursively walk a directory.")
3046 (license (list license:unlicense
3047 license:expat))))
3048
3049 (define-public rust-wasi
3050 (package
3051 (name "rust-wasi")
3052 (version "0.5.0")
3053 (source
3054 (origin
3055 (method url-fetch)
3056 (uri (crate-uri "wasi" version))
3057 (file-name
3058 (string-append name "-" version ".tar.gz"))
3059 (sha256
3060 (base32
3061 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
3062 (build-system cargo-build-system)
3063 (home-page "https://github.com/CraneStation/rust-wasi")
3064 (synopsis "Experimental WASI API bindings for Rust")
3065 (description "This package contains experimental WASI API bindings
3066 in Rust.")
3067 (license license:asl2.0)))
3068
3069 (define-public rust-wasm-bindgen-shared
3070 (package
3071 (name "rust-wasm-bindgen-shared")
3072 (version "0.2.48")
3073 (source
3074 (origin
3075 (method url-fetch)
3076 (uri (crate-uri "wasm-bindgen-shared" version))
3077 (file-name (string-append name "-" version ".tar.gz"))
3078 (sha256
3079 (base32
3080 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
3081 (build-system cargo-build-system)
3082 (home-page "https://rustwasm.github.io/wasm-bindgen/")
3083 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
3084 (description "This package provides shared support between
3085 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
3086 (license (list license:asl2.0
3087 license:expat))))
3088
3089 (define-public rust-wasm-bindgen-test-macro
3090 (package
3091 (name "rust-wasm-bindgen-test-macro")
3092 (version "0.2.48")
3093 (source
3094 (origin
3095 (method url-fetch)
3096 (uri (crate-uri "wasm-bindgen-test-macro" version))
3097 (file-name (string-append name "-" version ".tar.gz"))
3098 (sha256
3099 (base32
3100 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
3101 (build-system cargo-build-system)
3102 (arguments
3103 `(#:cargo-inputs
3104 (("rust-proc-macro2" ,rust-proc-macro2)
3105 ("rust-quote" ,rust-quote))))
3106 (home-page "https://github.com/rustwasm/wasm-bindgen")
3107 (synopsis "Internal testing macro for wasm-bindgen")
3108 (description
3109 "This library contains the internal testing macro for wasm-bindgen.")
3110 (license (list license:asl2.0
3111 license:expat))))
3112
3113 (define-public rust-widestring
3114 (package
3115 (name "rust-widestring")
3116 (version "0.4.0")
3117 (source
3118 (origin
3119 (method url-fetch)
3120 (uri (crate-uri "widestring" version))
3121 (file-name (string-append name "-" version ".tar.gz"))
3122 (sha256
3123 (base32
3124 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
3125 (build-system cargo-build-system)
3126 (arguments
3127 `(#:cargo-development-inputs
3128 (("rust-winapi" ,rust-winapi))))
3129 (home-page "https://github.com/starkat99/widestring-rs")
3130 (synopsis "Wide string Rust FFI library")
3131 (description
3132 "A wide string Rust FFI library for converting to and from wide strings,
3133 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
3134 UTF-32 types are provided, including support for malformed encoding.")
3135 (license (list license:asl2.0
3136 license:expat))))
3137
3138 (define-public rust-winapi
3139 (package
3140 (name "rust-winapi")
3141 (version "0.3.8")
3142 (source
3143 (origin
3144 (method url-fetch)
3145 (uri (crate-uri "winapi" version))
3146 (file-name (string-append name "-" version ".tar.gz"))
3147 (sha256
3148 (base32
3149 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
3150 (build-system cargo-build-system)
3151 (arguments
3152 `(#:cargo-inputs
3153 (("rust-winapi-i686-pc-windows-gnu"
3154 ,rust-winapi-i686-pc-windows-gnu)
3155 ("rust-winapi-x86-64-pc-windows-gnu"
3156 ,rust-winapi-x86-64-pc-windows-gnu))))
3157 (home-page "https://github.com/retep998/winapi-rs")
3158 (synopsis "Raw FFI bindings for all of Windows API.")
3159 (description
3160 "Raw FFI bindings for all of Windows API.")
3161 (license (list license:asl2.0
3162 license:expat))))
3163
3164 (define-public rust-winapi-0.2
3165 (package
3166 (inherit rust-winapi)
3167 (name "rust-winapi")
3168 (version "0.2.8")
3169 (source
3170 (origin
3171 (method url-fetch)
3172 (uri (crate-uri "winapi" version))
3173 (file-name (string-append name "-" version ".tar.gz"))
3174 (sha256
3175 (base32
3176 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
3177 ;; We do not want to package 48 -sys crates for a package we do not want.
3178 ;; They are all dev dependencies, so we skip building and testing.
3179 (arguments
3180 `(#:tests? #f
3181 #:phases
3182 (modify-phases %standard-phases
3183 (delete 'build))))))
3184
3185 (define-public rust-winapi-build
3186 (package
3187 (name "rust-winapi-build")
3188 (version "0.1.1")
3189 (source
3190 (origin
3191 (method url-fetch)
3192 (uri (crate-uri "winapi-build" version))
3193 (file-name (string-append name "-" version ".tar.gz"))
3194 (sha256
3195 (base32
3196 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
3197 (build-system cargo-build-system)
3198 (home-page "https://github.com/retep998/winapi-rs")
3199 (synopsis "Common code for build.rs in WinAPI -sys crates")
3200 (description
3201 "Common code for build.rs in WinAPI -sys crates.")
3202 (license license:expat)))
3203
3204 (define-public rust-winapi-i686-pc-windows-gnu
3205 (package
3206 (name "rust-winapi-i686-pc-windows-gnu")
3207 (version "0.4.0")
3208 (source
3209 (origin
3210 (method url-fetch)
3211 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
3212 (file-name (string-append name "-" version ".tar.gz"))
3213 (sha256
3214 (base32
3215 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
3216 (build-system cargo-build-system)
3217 (home-page "https://github.com/retep998/winapi-rs")
3218 (synopsis "Import libraries for the i686-pc-windows-gnu target")
3219 (description "This crate provides import libraries for the
3220 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
3221 @code{winapi} instead.")
3222 (license (list license:asl2.0
3223 license:expat))))
3224
3225 (define-public rust-winapi-util
3226 (package
3227 (name "rust-winapi-util")
3228 (version "0.1.2")
3229 (source
3230 (origin
3231 (method url-fetch)
3232 (uri (crate-uri "winapi-util" version))
3233 (file-name (string-append name "-" version ".tar.gz"))
3234 (sha256
3235 (base32
3236 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
3237 (build-system cargo-build-system)
3238 (arguments
3239 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
3240 (home-page "https://github.com/BurntSushi/winapi-util")
3241 (synopsis "Dumping ground for high level safe wrappers over winapi")
3242 (description
3243 "This package provides a dumping ground for high level safe wrappers over
3244 winapi.")
3245 (license (list license:unlicense
3246 license:expat))))
3247
3248 (define-public rust-winapi-x86-64-pc-windows-gnu
3249 (package
3250 (name "rust-winapi-x86-64-pc-windows-gnu")
3251 (version "0.4.0")
3252 (source
3253 (origin
3254 (method url-fetch)
3255 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
3256 (file-name (string-append name "-" version ".tar.gz"))
3257 (sha256
3258 (base32
3259 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
3260 (build-system cargo-build-system)
3261 (home-page "https://github.com/retep998/winapi-rs")
3262 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
3263 (description "This package provides import libraries for the
3264 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
3265 @code{winapi} instead.")
3266 (license (list license:asl2.0
3267 license:expat))))
3268
3269 (define-public rust-wincolor
3270 (package
3271 (name "rust-wincolor")
3272 (version "1.0.2")
3273 (source
3274 (origin
3275 (method url-fetch)
3276 (uri (crate-uri "wincolor" version))
3277 (file-name (string-append name "-" version ".tar.gz"))
3278 (sha256
3279 (base32
3280 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
3281 (build-system cargo-build-system)
3282 (arguments
3283 `(#:cargo-inputs
3284 (("rust-winapi" ,rust-winapi)
3285 ("rust-winapi-util" ,rust-winapi-util))))
3286 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
3287 (synopsis "Windows API for controlling text color in a Windows console")
3288 (description
3289 "This package provides a simple Windows specific API for controlling text
3290 color in a Windows console.")
3291 (license (list license:unlicense
3292 license:expat))))
3293
3294 (define-public rust-winutil
3295 (package
3296 (name "rust-winutil")
3297 (version "0.1.1")
3298 (source
3299 (origin
3300 (method url-fetch)
3301 (uri (crate-uri "winutil" version))
3302 (file-name (string-append name "-" version ".tar.gz"))
3303 (sha256
3304 (base32
3305 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
3306 (build-system cargo-build-system)
3307 (arguments
3308 `(#:cargo-inputs
3309 (("rust-winapi" ,rust-winapi))
3310 ;; This unmaintained crate cannot find winapi when built directly.
3311 #:tests? #f
3312 #:phases
3313 (modify-phases %standard-phases
3314 (delete 'build))))
3315 (home-page "https://bitbucket.org/DaveLancaster/winutil")
3316 (synopsis "Library wrapping a handful of useful winapi functions")
3317 (description
3318 "A simple library wrapping a handful of useful winapi functions.")
3319 (license license:expat)))
3320
3321 (define-public rust-ws2-32-sys
3322 (package
3323 (name "rust-ws2-32-sys")
3324 (version "0.2.1")
3325 (source
3326 (origin
3327 (method url-fetch)
3328 (uri (crate-uri "ws2_32-sys" version))
3329 (file-name (string-append name "-" version ".tar.gz"))
3330 (sha256
3331 (base32
3332 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
3333 (build-system cargo-build-system)
3334 (arguments
3335 `(#:cargo-inputs
3336 (("rust-winapi" ,rust-winapi-0.2)
3337 ("rust-winapi-build" ,rust-winapi-build))
3338 #:phases
3339 (modify-phases %standard-phases
3340 (add-after 'unpack 'fix-Cargo-toml
3341 (lambda _
3342 (substitute* "Cargo.toml"
3343 ((", path =.* }") "}\n"))
3344 #t)))))
3345 (home-page "https://github.com/retep998/winapi-rs")
3346 (synopsis "Function definitions for the Windows API library ws2_32")
3347 (description
3348 "Contains function definitions for the Windows API library ws2_32.")
3349 (license license:expat)))
3350
3351 (define-public rust-xdg
3352 (package
3353 (name "rust-xdg")
3354 (version "2.2.0")
3355 (source
3356 (origin
3357 (method url-fetch)
3358 (uri (crate-uri "xdg" version))
3359 (file-name (string-append name "-" version ".tar.gz"))
3360 (sha256
3361 (base32
3362 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
3363 (build-system cargo-build-system)
3364 (home-page "https://github.com/whitequark/rust-xdg")
3365 (synopsis "Store and retrieve files according to XDG specification")
3366 (description
3367 "This package provides a library for storing and retrieving files according
3368 to XDG Base Directory specification")
3369 (license (list license:asl2.0
3370 license:expat))))