gnu: Add rust-miniz-oxide.
[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-modifier
1307 (package
1308 (name "rust-modifier")
1309 (version "0.1.0")
1310 (source
1311 (origin
1312 (method url-fetch)
1313 (uri (crate-uri "modifier" version))
1314 (file-name (string-append name "-" version ".tar.gz"))
1315 (sha256
1316 (base32
1317 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
1318 (build-system cargo-build-system)
1319 (home-page "https://github.com/reem/rust-modifier")
1320 (synopsis
1321 "Chaining APIs for both self -> Self and &mut self methods.")
1322 (description
1323 "Chaining APIs for both self -> Self and &mut self methods.")
1324 (license license:expat)))
1325
1326 (define-public rust-net2
1327 (package
1328 (name "rust-net2")
1329 (version "0.2.33")
1330 (source
1331 (origin
1332 (method url-fetch)
1333 (uri (crate-uri "net2" version))
1334 (file-name (string-append name "-" version ".tar.gz"))
1335 (sha256
1336 (base32
1337 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
1338 (build-system cargo-build-system)
1339 (arguments
1340 `(#:cargo-inputs
1341 (("rust-cfg-if" ,rust-cfg-if)
1342 ("rust-libc" ,rust-libc)
1343 ("rust-winapi" ,rust-winapi))))
1344 (home-page "https://github.com/rust-lang-nursery/net2-rs")
1345 (synopsis "Extensions to the standard library's networking types")
1346 (description
1347 "This library contains extensions to the standard library's networking
1348 types as proposed in RFC 1158.")
1349 (license (list license:asl2.0
1350 license:expat))))
1351
1352 (define-public rust-nodrop
1353 (package
1354 (name "rust-nodrop")
1355 (version "0.1.13")
1356 (source
1357 (origin
1358 (method url-fetch)
1359 (uri (crate-uri "nodrop" version))
1360 (file-name (string-append name "-" version ".tar.gz"))
1361 (sha256
1362 (base32
1363 "0if9ifn6rvar5jirx4b3qh4sl5kjkmcifycvzhxa9j3crkfng5ig"))))
1364 (build-system cargo-build-system)
1365 (arguments
1366 `(#:cargo-inputs
1367 (("rust-nodrop-union" ,rust-nodrop-union))))
1368 (home-page "https://github.com/bluss/arrayvec")
1369 (synopsis "Wrapper type to inhibit drop (destructor)")
1370 (description "This package provides a wrapper type to inhibit drop
1371 (destructor). Use @code{std::mem::ManuallyDrop} instead!")
1372 (license (list license:asl2.0
1373 license:expat))))
1374
1375 ;; This package requires features which are unavailable
1376 ;; on the stable releases of Rust.
1377 (define-public rust-nodrop-union
1378 (package
1379 (name "rust-nodrop-union")
1380 (version "0.1.10")
1381 (source
1382 (origin
1383 (method url-fetch)
1384 (uri (crate-uri "nodrop-union" version))
1385 (file-name (string-append name "-" version ".tar.gz"))
1386 (sha256
1387 (base32
1388 "0jsnkdn9l8jlmb9h4wssi76sxnyxwnyi00p6y1p2gdq7c1gdw2b7"))))
1389 (build-system cargo-build-system)
1390 (home-page "https://github.com/bluss/arrayvec")
1391 (synopsis "Wrapper type to inhibit drop (destructor)")
1392 (description "This package provides a wrapper type to inhibit drop
1393 (destructor). Implementation crate for nodrop, the untagged unions
1394 implementation (which is unstable / requires nightly).")
1395 (properties '((hidden? . #t)))
1396 (license (list license:asl2.0
1397 license:expat))))
1398
1399 (define-public rust-num-cpus
1400 (package
1401 (name "rust-num-cpus")
1402 (version "1.10.1")
1403 (source
1404 (origin
1405 (method url-fetch)
1406 (uri (crate-uri "num_cpus" version))
1407 (file-name (string-append name "-" version ".tar.gz"))
1408 (sha256
1409 (base32
1410 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1411 (build-system cargo-build-system)
1412 (arguments
1413 `(#:cargo-inputs
1414 (("rust-libc" ,rust-libc))
1415 #:cargo-development-inputs
1416 (("rust-doc-comment" ,rust-doc-comment))))
1417 (home-page "https://github.com/seanmonstar/num_cpus")
1418 (synopsis "Get the number of CPUs on a machine")
1419 (description
1420 "Get the number of CPUs on a machine.")
1421 (license (list license:asl2.0
1422 license:expat))))
1423
1424 (define-public rust-num-integer
1425 (package
1426 (name "rust-num-integer")
1427 (version "0.1.41")
1428 (source
1429 (origin
1430 (method url-fetch)
1431 (uri (crate-uri "num-integer" version))
1432 (file-name
1433 (string-append name "-" version ".tar.gz"))
1434 (sha256
1435 (base32
1436 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1437 (build-system cargo-build-system)
1438 (arguments
1439 `(#:cargo-inputs
1440 (("rust-autocfg" ,rust-autocfg)
1441 ("rust-num-traits" ,rust-num-traits))))
1442 (home-page "https://github.com/rust-num/num-integer")
1443 (synopsis "Integer traits and functions")
1444 (description "Integer traits and functions.")
1445 ;; Dual licensed.
1446 (license (list license:asl2.0
1447 license:expat))))
1448
1449 (define-public rust-num-iter
1450 (package
1451 (name "rust-num-iter")
1452 (version "0.1.39")
1453 (source
1454 (origin
1455 (method url-fetch)
1456 (uri (crate-uri "num-iter" version))
1457 (file-name (string-append name "-" version ".tar.gz"))
1458 (sha256
1459 (base32
1460 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1461 (build-system cargo-build-system)
1462 (arguments
1463 `(#:cargo-inputs
1464 (("rust-num-integer" ,rust-num-integer)
1465 ("rust-num-traits" ,rust-num-traits))
1466 #:cargo-development-inputs
1467 (("rust-autocfg" ,rust-autocfg))))
1468 (home-page "https://github.com/rust-num/num-iter")
1469 (synopsis "External iterators for generic mathematics")
1470 (description
1471 "This crate provides external iterators for generic mathematics.")
1472 (license (list license:asl2.0
1473 license:expat))))
1474
1475 (define-public rust-num-traits
1476 (package
1477 (name "rust-num-traits")
1478 (version "0.2.8")
1479 (source
1480 (origin
1481 (method url-fetch)
1482 (uri (crate-uri "num-traits" version))
1483 (file-name
1484 (string-append name "-" version ".tar.gz"))
1485 (sha256
1486 (base32
1487 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1488 (build-system cargo-build-system)
1489 (arguments
1490 `(#:cargo-inputs
1491 (("rust-autocfg" ,rust-autocfg))))
1492 (home-page "https://github.com/rust-num/num-traits")
1493 (synopsis "Numeric traits for generic mathematics")
1494 (description "Numeric traits for generic mathematics.")
1495 ;; Dual licensed.
1496 (license (list license:asl2.0
1497 license:expat))))
1498
1499 (define-public rust-owning-ref
1500 (package
1501 (name "rust-owning-ref")
1502 (version "0.4.0")
1503 (source
1504 (origin
1505 (method url-fetch)
1506 (uri (crate-uri "owning_ref" version))
1507 (file-name (string-append name "-" version ".tar.gz"))
1508 (sha256
1509 (base32
1510 "04zgwy77lin8qz398s6g44467pd6kjhbrlqifkia5rkr47mbi929"))))
1511 (build-system cargo-build-system)
1512 (arguments
1513 `(#:cargo-inputs
1514 (("rust-stable-deref-trait" ,rust-stable-deref-trait))))
1515 (home-page "https://github.com/Kimundi/owning-ref-rs")
1516 (synopsis "Create references that carry their owner with them")
1517 (description
1518 "This package provides a library for creating references that carry their
1519 owner with them. This can sometimes be useful because Rust borrowing rules
1520 normally prevent moving a type that has been borrowed from.")
1521 (license license:expat)))
1522
1523 (define-public rust-peeking-take-while
1524 (package
1525 (name "rust-peeking-take-while")
1526 (version "0.1.2")
1527 (source
1528 (origin
1529 (method url-fetch)
1530 (uri (crate-uri "peeking_take_while" version))
1531 (file-name (string-append name "-" version ".tar.gz"))
1532 (sha256
1533 (base32
1534 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1535 (build-system cargo-build-system)
1536 (home-page "https://github.com/fitzgen/peeking_take_while")
1537 (synopsis "Provides the peeking_take_while iterator adaptor method")
1538 (description
1539 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1540 value. This allows you to use @code{Iterator::by_ref} and
1541 @code{Iterator::take_while} together, and still get the first value for which
1542 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1543 (license (list license:asl2.0
1544 license:expat))))
1545
1546 (define-public rust-percent-encoding
1547 (package
1548 (name "rust-percent-encoding")
1549 (version "2.0.0")
1550 (source
1551 (origin
1552 (method url-fetch)
1553 (uri (crate-uri "percent-encoding" version))
1554 (file-name (string-append name "-" version ".tar.gz"))
1555 (sha256
1556 (base32
1557 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1558 (build-system cargo-build-system)
1559 (home-page "https://github.com/servo/rust-url/")
1560 (synopsis "Percent encoding and decoding")
1561 (description "This crate provides percent encoding and decoding.")
1562 (license (list license:asl2.0
1563 license:expat))))
1564
1565 (define-public rust-permutohedron
1566 (package
1567 (name "rust-permutohedron")
1568 (version "0.2.4")
1569 (source
1570 (origin
1571 (method url-fetch)
1572 (uri (crate-uri "permutohedron" version))
1573 (file-name (string-append name "-" version ".tar.gz"))
1574 (sha256
1575 (base32
1576 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1577 (build-system cargo-build-system)
1578 (home-page "https://github.com/bluss/permutohedron")
1579 (synopsis "Generate permutations of sequences")
1580 (description
1581 "Generate permutations of sequences. Either lexicographical order
1582 permutations, or a minimal swaps permutation sequence implemented using Heap's
1583 algorithm.")
1584 (license (list license:asl2.0
1585 license:expat))))
1586
1587 (define-public rust-pin-utils
1588 (package
1589 (name "rust-pin-utils")
1590 (version "0.1.0-alpha.4")
1591 (source
1592 (origin
1593 (method url-fetch)
1594 (uri (crate-uri "pin-utils" version))
1595 (file-name (string-append name "-" version ".tar.gz"))
1596 (sha256
1597 (base32
1598 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1599 (build-system cargo-build-system)
1600 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1601 (synopsis "Utilities for pinning")
1602 (description "This crate provides utilities for pinning values on the stack.")
1603 (license (list license:asl2.0
1604 license:expat))))
1605
1606 (define-public rust-pkg-config
1607 (package
1608 (name "rust-pkg-config")
1609 (version "0.3.14")
1610 (source
1611 (origin
1612 (method url-fetch)
1613 (uri (crate-uri "pkg-config" version))
1614 (file-name (string-append name "-" version ".tar.gz"))
1615 (sha256
1616 (base32
1617 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1618 (build-system cargo-build-system)
1619 (arguments
1620 `(#:cargo-development-inputs
1621 (("rust-lazy-static" ,rust-lazy-static))))
1622 (inputs
1623 `(("pkg-config" ,pkg-config)))
1624 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1625 (synopsis "Library to run the pkg-config system tool")
1626 (description
1627 "A library to run the pkg-config system tool at build time in order to be
1628 used in Cargo build scripts.")
1629 (license (list license:asl2.0
1630 license:expat))))
1631
1632 (define-public rust-plain
1633 (package
1634 (name "rust-plain")
1635 (version "0.2.3")
1636 (source
1637 (origin
1638 (method url-fetch)
1639 (uri (crate-uri "plain" version))
1640 (file-name (string-append name "-" version ".tar.gz"))
1641 (sha256
1642 (base32
1643 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1644 (build-system cargo-build-system)
1645 (home-page "https://github.com/randomites/plain")
1646 (synopsis "Rust library that allows reinterpreting data safely")
1647 (description "This package provides a small Rust library that allows users
1648 to reinterpret data of certain types safely.")
1649 (license (list license:asl2.0
1650 license:expat))))
1651
1652 (define-public rust-plugin
1653 (package
1654 (name "rust-plugin")
1655 (version "0.2.6")
1656 (source
1657 (origin
1658 (method url-fetch)
1659 (uri (crate-uri "plugin" version))
1660 (file-name (string-append name "-" version ".tar.gz"))
1661 (sha256
1662 (base32
1663 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1664 (build-system cargo-build-system)
1665 (arguments
1666 `(#:cargo-inputs
1667 (("rust-typemap" ,rust-typemap))
1668 #:cargo-development-inputs
1669 (("rust-void" ,rust-void))))
1670 (home-page "https://github.com/reem/rust-plugin")
1671 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1672 (description
1673 "Lazily evaluated, order-independent plugins for extensible types.")
1674 (license license:expat)))
1675
1676 (define-public rust-pocket-resources
1677 (package
1678 (name "rust-pocket-resources")
1679 (version "0.3.2")
1680 (source
1681 (origin
1682 (method url-fetch)
1683 (uri (crate-uri "pocket-resources" version))
1684 (file-name (string-append name "-" version ".tar.gz"))
1685 (sha256
1686 (base32
1687 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1688 (build-system cargo-build-system)
1689 (home-page "https://github.com/tomaka/pocket-resources")
1690 (synopsis "Include resources in your applications")
1691 (description "This crate allows you to include resources in your
1692 applications.")
1693 (license license:expat)))
1694
1695 (define-public rust-ppv-lite86
1696 (package
1697 (name "rust-ppv-lite86")
1698 (version "0.2.5")
1699 (source
1700 (origin
1701 (method url-fetch)
1702 (uri (crate-uri "ppv-lite86" version))
1703 (file-name (string-append name "-" version ".tar.gz"))
1704 (sha256
1705 (base32
1706 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1707 (build-system cargo-build-system)
1708 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1709 (synopsis "Implementation of the crypto-simd API for x86")
1710 (description "This crate provides an implementation of the crypto-simd API
1711 for x86.")
1712 (license (list license:asl2.0
1713 license:expat))))
1714
1715 (define-public rust-proc-macro2
1716 (package
1717 (name "rust-proc-macro2")
1718 (version "0.4.30")
1719 (source
1720 (origin
1721 (method url-fetch)
1722 (uri (crate-uri "proc-macro2" version))
1723 (file-name
1724 (string-append name "-" version ".tar.gz"))
1725 (sha256
1726 (base32
1727 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1728 (build-system cargo-build-system)
1729 (arguments
1730 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid-0.1))
1731 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1732 (home-page "https://github.com/alexcrichton/proc-macro2")
1733 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1734 (description "This package provides a stable implementation of the upcoming new
1735 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1736 in terms of the upstream unstable API.")
1737 ;; Dual licensed.
1738 (license (list license:asl2.0 license:expat))))
1739
1740 (define-public rust-quick-error
1741 (package
1742 (name "rust-quick-error")
1743 (version "1.2.2")
1744 (source
1745 (origin
1746 (method url-fetch)
1747 (uri (crate-uri "quick-error" version))
1748 (file-name (string-append name "-" version ".tar.gz"))
1749 (sha256
1750 (base32
1751 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1752 (build-system cargo-build-system)
1753 (home-page "http://github.com/tailhook/quick-error")
1754 (synopsis "Macro which makes error types pleasant to write")
1755 (description "This crate provides a macro which makes error types pleasant
1756 to write.")
1757 (license (list license:asl2.0
1758 license:expat))))
1759
1760 (define-public rust-quote
1761 (package
1762 (name "rust-quote")
1763 (version "0.6.12")
1764 (source
1765 (origin
1766 (method url-fetch)
1767 (uri (crate-uri "quote" version))
1768 (file-name
1769 (string-append name "-" version ".tar.gz"))
1770 (sha256
1771 (base32
1772 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1773 (build-system cargo-build-system)
1774 (arguments
1775 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1776 (home-page "https://github.com/dtolnay/quote")
1777 (synopsis "Quasi-quoting macro quote!(...)")
1778 (description "Quasi-quoting macro quote!(...)")
1779 ;; Dual licensed.
1780 (license (list license:asl2.0 license:expat))))
1781
1782 (define-public rust-rand
1783 (package
1784 (name "rust-rand")
1785 (version "0.4.3")
1786 (source
1787 (origin
1788 (method url-fetch)
1789 (uri (crate-uri "rand" version))
1790 (file-name (string-append name "-" version ".tar.gz"))
1791 (sha256
1792 (base32
1793 "1gfgnqfj2pyh27dcb720jpawskllwnbvxh816ddyykv269xz8ml3"))))
1794 (build-system cargo-build-system)
1795 (arguments
1796 `(#:cargo-inputs
1797 (("rust-fuchsia-zircon" ,rust-fuchsia-zircon)
1798 ("rust-libc" ,rust-libc)
1799 ("rust-winapi" ,rust-winapi))))
1800 (home-page "https://crates.io/crates/rand")
1801 (synopsis "Random number generators and other randomness functionality")
1802 (description
1803 "Rand provides utilities to generate random numbers, to convert them to
1804 useful types and distributions, and some randomness-related algorithms.")
1805 (license (list license:asl2.0
1806 license:expat))))
1807
1808 (define-public rust-rand-0.3
1809 (package
1810 (inherit rust-rand)
1811 (name "rust-rand")
1812 (version "0.3.23")
1813 (source
1814 (origin
1815 (method url-fetch)
1816 (uri (crate-uri "rand" version))
1817 (file-name (string-append name "-" version ".tar.gz"))
1818 (sha256
1819 (base32
1820 "0v679h38pjjqj5h4md7v2slsvj6686qgcn7p9fbw3h43iwnk1b34"))))
1821 (arguments
1822 `(#:cargo-inputs
1823 (("rust-libc" ,rust-libc)
1824 ("rust-rand" ,rust-rand))))))
1825
1826 (define-public rust-rawpointer
1827 (package
1828 (name "rust-rawpointer")
1829 (version "0.1.0")
1830 (source
1831 (origin
1832 (method url-fetch)
1833 (uri (crate-uri "rawpointer" version))
1834 (file-name (string-append name "-" version ".tar.gz"))
1835 (sha256
1836 (base32
1837 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1838 (build-system cargo-build-system)
1839 (home-page "https://github.com/bluss/rawpointer/")
1840 (synopsis "Extra methods for raw pointers")
1841 (description "Extra methods for raw pointers. For example
1842 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1843 and @code{ptrdistance}.")
1844 (license (list license:asl2.0
1845 license:expat))))
1846
1847 ;; This package requires features which are unavailable
1848 ;; on the stable releases of Rust.
1849 (define-public rust-redox-syscall ; guix upstreamable
1850 (package
1851 (name "rust-redox-syscall")
1852 (version "0.1.56")
1853 (source
1854 (origin
1855 (method url-fetch)
1856 (uri (crate-uri "redox_syscall" version))
1857 (file-name (string-append name "-" version ".tar.gz"))
1858 (sha256
1859 (base32
1860 "110y7dyfm2vci4x5vk7gr0q551dvp31npl99fnsx2fb17wzwcf94"))))
1861 (build-system cargo-build-system)
1862 (home-page "https://gitlab.redox-os.org/redox-os/syscall")
1863 (synopsis "Rust library to access raw Redox system calls")
1864 (description "This package provides a Rust library to access raw Redox
1865 system calls.")
1866 (properties '((hidden? . #t)))
1867 (license license:expat)))
1868
1869 (define-public rust-regex-syntax
1870 (package
1871 (name "rust-regex-syntax")
1872 (version "0.6.10")
1873 (source
1874 (origin
1875 (method url-fetch)
1876 (uri (crate-uri "regex-syntax" version))
1877 (file-name (string-append name "-" version ".tar.gz"))
1878 (sha256
1879 (base32
1880 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1881 (build-system cargo-build-system)
1882 (arguments
1883 `(#:cargo-inputs
1884 (("rust-ucd-util" ,rust-ucd-util))))
1885 (home-page "https://github.com/rust-lang/regex")
1886 (synopsis "Regular expression parser")
1887 (description
1888 "This package provides a regular expression parser.")
1889 (license (list license:asl2.0
1890 license:expat))))
1891
1892 (define-public rust-remove-dir-all
1893 (package
1894 (name "rust-remove-dir-all")
1895 (version "0.5.2")
1896 (source
1897 (origin
1898 (method url-fetch)
1899 (uri (crate-uri "remove_dir_all" version))
1900 (file-name (string-append name "-" version ".tar.gz"))
1901 (sha256
1902 (base32
1903 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1904 (build-system cargo-build-system)
1905 (arguments
1906 `(#:cargo-inputs
1907 (("rust-winapi" ,rust-winapi))
1908 #:cargo-development-inputs
1909 (("rust-doc-comment" ,rust-doc-comment))
1910 #:phases
1911 (modify-phases %standard-phases
1912 (add-after 'unpack 'fix-source
1913 ;; The test phase expects there to be a README.md in the root directory.
1914 (lambda _
1915 (invoke "touch" "README.md"))))))
1916 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1917 (synopsis "Implementation of remove_dir_all for Windows")
1918 (description
1919 "This package provides a safe, reliable implementation of
1920 @code{remove_dir_all} for Windows")
1921 (license (list license:asl2.0
1922 license:expat))))
1923
1924 (define-public rust-resolv-conf
1925 (package
1926 (name "rust-resolv-conf")
1927 (version "0.6.2")
1928 (source
1929 (origin
1930 (method url-fetch)
1931 (uri (crate-uri "resolv-conf" version))
1932 (file-name (string-append name "-" version ".tar.gz"))
1933 (sha256
1934 (base32
1935 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1936 (build-system cargo-build-system)
1937 (arguments
1938 `(#:cargo-inputs
1939 (("rust-quick-error" ,rust-quick-error)
1940 ("rust-hostname" ,rust-hostname))
1941 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1942 (home-page "https://github.com/tailhook/resolv-conf")
1943 (synopsis "/etc/resolv.conf parser")
1944 (description
1945 "An /etc/resolv.conf parser crate for Rust.")
1946 (license (list license:asl2.0
1947 license:expat))))
1948
1949 (define-public rust-rustc-serialize
1950 (package
1951 (name "rust-rustc-serialize")
1952 (version "0.3.24")
1953 (source
1954 (origin
1955 (method url-fetch)
1956 (uri (crate-uri "rustc-serialize" version))
1957 (file-name (string-append name "-" version ".tar.gz"))
1958 (sha256
1959 (base32
1960 "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
1961 (build-system cargo-build-system)
1962 (arguments
1963 `(#:cargo-development-inputs
1964 (("rust-rand" ,rust-rand-0.3))))
1965 (home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
1966 (synopsis "Generic serialization/deserialization support")
1967 (description
1968 "This package provides generic serialization/deserialization support
1969 corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
1970 compiler. Also includes support for hex, base64, and json encoding and
1971 decoding.")
1972 (license (list license:asl2.0
1973 license:expat))))
1974
1975 (define-public rust-rustc-std-workspace-core
1976 (package
1977 (name "rust-rustc-std-workspace-core")
1978 (version "1.0.0")
1979 (source
1980 (origin
1981 (method url-fetch)
1982 (uri (crate-uri "rustc-std-workspace-core" version))
1983 (file-name (string-append name "-" version ".tar.gz"))
1984 (sha256
1985 (base32
1986 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
1987 (build-system cargo-build-system)
1988 (home-page "https://crates.io/crates/rustc-std-workspace-core")
1989 (synopsis "Explicitly empty crate for rust-lang/rust integration")
1990 (description "This crate provides an explicitly empty crate for
1991 rust-lang/rust integration.")
1992 (license (list license:asl2.0
1993 license:expat))))
1994
1995 (define-public rust-safemem
1996 (package
1997 (name "rust-safemem")
1998 (version "0.3.2")
1999 (source
2000 (origin
2001 (method url-fetch)
2002 (uri (crate-uri "safemem" version))
2003 (file-name (string-append name "-" version ".tar.gz"))
2004 (sha256
2005 (base32
2006 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
2007 (build-system cargo-build-system)
2008 (home-page "https://github.com/abonander/safemem")
2009 (synopsis "Safe wrappers for memory-accessing functions")
2010 (description
2011 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
2012 (license (list license:asl2.0
2013 license:expat))))
2014
2015 (define-public rust-same-file
2016 (package
2017 (name "rust-same-file")
2018 (version "1.0.5")
2019 (source
2020 (origin
2021 (method url-fetch)
2022 (uri (crate-uri "same-file" version))
2023 (file-name (string-append name "-" version ".tar.gz"))
2024 (sha256
2025 (base32
2026 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
2027 (build-system cargo-build-system)
2028 (arguments
2029 `(#:cargo-inputs
2030 (("rust-winapi-util" ,rust-winapi-util))))
2031 (home-page "https://github.com/BurntSushi/same-file")
2032 (synopsis "Determine whether two file paths point to the same file")
2033 (description
2034 "This package provides a simple crate for determining whether two file
2035 paths point to the same file.")
2036 (license (list license:unlicense
2037 license:expat))))
2038
2039 (define-public rust-schannel
2040 (package
2041 (name "rust-schannel")
2042 (version "0.1.15")
2043 (source
2044 (origin
2045 (method url-fetch)
2046 (uri (crate-uri "schannel" version))
2047 (file-name (string-append name "-" version ".tar.gz"))
2048 (sha256
2049 (base32
2050 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
2051 (build-system cargo-build-system)
2052 (arguments
2053 `(#:cargo-inputs
2054 (("rust-lazy-static" ,rust-lazy-static)
2055 ("rust-winapi" ,rust-winapi))))
2056 (home-page "https://github.com/steffengy/schannel-rs")
2057 (synopsis "Rust bindings to the Windows SChannel APIs")
2058 (description
2059 "Rust bindings to the Windows SChannel APIs providing TLS client and
2060 server functionality.")
2061 (license license:expat)))
2062
2063 (define-public rust-scoped-threadpool
2064 (package
2065 (name "rust-scoped-threadpool")
2066 (version "0.1.9")
2067 (source
2068 (origin
2069 (method url-fetch)
2070 (uri (crate-uri "scoped_threadpool" version))
2071 (file-name (string-append name "-" version ".tar.gz"))
2072 (sha256
2073 (base32
2074 "1a26d3lk40s9mrf4imhbik7caahmw2jryhhb6vqv6fplbbgzal8x"))))
2075 (build-system cargo-build-system)
2076 (arguments
2077 `(#:cargo-development-inputs
2078 (("rust-lazy-static" ,rust-lazy-static))))
2079 (home-page "https://github.com/Kimundi/scoped-threadpool-rs")
2080 (synopsis "library for scoped and cached threadpools")
2081 (description
2082 "This crate provides a stable, safe and scoped threadpool. It can be used
2083 to execute a number of short-lived jobs in parallel without the need to respawn
2084 the underlying threads. Jobs are runnable by borrowing the pool for a given
2085 scope, during which an arbitrary number of them can be executed. These jobs can
2086 access data of any lifetime outside of the pools scope, which allows working on
2087 non-'static references in parallel.")
2088 (license (list license:asl2.0
2089 license:expat))))
2090
2091 (define-public rust-scoped-tls
2092 (package
2093 (name "rust-scoped-tls")
2094 (version "1.0.0")
2095 (source
2096 (origin
2097 (method url-fetch)
2098 (uri (crate-uri "scoped-tls" version))
2099 (file-name (string-append name "-" version ".tar.gz"))
2100 (sha256
2101 (base32
2102 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
2103 (build-system cargo-build-system)
2104 (home-page "https://github.com/alexcrichton/scoped-tls")
2105 (synopsis "Rust library providing the old standard library's scoped_thread_local")
2106 (description "This crate provides a library implementation of the standard
2107 library's old @code{scoped_thread_local!} macro for providing scoped access to
2108 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
2109 (license (list license:asl2.0
2110 license:expat))))
2111
2112 (define-public rust-scoped-tls-0.1
2113 (package
2114 (inherit rust-scoped-tls)
2115 (name "rust-scoped-tls")
2116 (version "0.1.2")
2117 (source
2118 (origin
2119 (method url-fetch)
2120 (uri (crate-uri "scoped-tls" version))
2121 (file-name (string-append name "-" version ".tar.gz"))
2122 (sha256
2123 (base32
2124 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
2125
2126 (define-public rust-scopeguard
2127 (package
2128 (name "rust-scopeguard")
2129 (version "1.0.0")
2130 (source
2131 (origin
2132 (method url-fetch)
2133 (uri (crate-uri "scopeguard" version))
2134 (file-name (string-append name "-" version ".tar.gz"))
2135 (sha256
2136 (base32
2137 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
2138 (build-system cargo-build-system)
2139 (home-page "https://github.com/bluss/scopeguard")
2140 (synopsis "Scope guard which will run a closure even out of scope")
2141 (description "This package provides a RAII scope guard that will run a
2142 given closure when it goes out of scope, even if the code between panics
2143 (assuming unwinding panic). Defines the macros @code{defer!},
2144 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
2145 with one of the implemented strategies.")
2146 (license (list license:asl2.0
2147 license:expat))))
2148
2149 (define-public rust-scopeguard-0.3
2150 (package
2151 (inherit rust-scopeguard)
2152 (name "rust-scopeguard")
2153 (version "0.3.3")
2154 (source
2155 (origin
2156 (method url-fetch)
2157 (uri (crate-uri "scopeguard" version))
2158 (file-name
2159 (string-append name "-" version ".tar.gz"))
2160 (sha256
2161 (base32
2162 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
2163
2164 (define-public rust-security-framework-sys
2165 (package
2166 (name "rust-security-framework-sys")
2167 (version "0.3.1")
2168 (source
2169 (origin
2170 (method url-fetch)
2171 (uri (crate-uri "security-framework-sys" version))
2172 (file-name (string-append name "-" version ".tar.gz"))
2173 (sha256
2174 (base32
2175 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
2176 (build-system cargo-build-system)
2177 (arguments
2178 `(#:cargo-inputs
2179 (("rust-core-foundation-sys"
2180 ,rust-core-foundation-sys))))
2181 (home-page "https://lib.rs/crates/security-framework-sys")
2182 (synopsis "Apple `Security.framework` low-level FFI bindings")
2183 (description
2184 "Apple `Security.framework` low-level FFI bindings.")
2185 (license (list license:asl2.0
2186 license:expat))))
2187
2188 (define-public rust-semver-parser
2189 (package
2190 (name "rust-semver-parser")
2191 (version "0.9.0")
2192 (source
2193 (origin
2194 (method url-fetch)
2195 (uri (crate-uri "semver-parser" version))
2196 (file-name (string-append name "-" version ".tar.gz"))
2197 (sha256
2198 (base32
2199 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
2200 (build-system cargo-build-system)
2201 (home-page "https://github.com/steveklabnik/semver-parser")
2202 (synopsis "Parsing of the semver spec")
2203 (description "This package provides for parsing of the semver spec.")
2204 (license (list license:asl2.0
2205 license:expat))))
2206
2207 (define-public rust-shlex
2208 (package
2209 (name "rust-shlex")
2210 (version "0.1.1")
2211 (source
2212 (origin
2213 (method url-fetch)
2214 (uri (crate-uri "shlex" version))
2215 (file-name (string-append name "-" version ".tar.gz"))
2216 (sha256
2217 (base32
2218 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
2219 (build-system cargo-build-system)
2220 (home-page "https://github.com/comex/rust-shlex")
2221 (synopsis "Split a string into shell words, like Python's shlex")
2222 (description "This crate provides a method to split a string into shell
2223 words, like Python's shlex.")
2224 (license (list license:asl2.0
2225 license:expat))))
2226
2227 (define-public rust-slab
2228 (package
2229 (name "rust-slab")
2230 (version "0.4.2")
2231 (source
2232 (origin
2233 (method url-fetch)
2234 (uri (crate-uri "slab" version))
2235 (file-name (string-append name "-" version ".tar.gz"))
2236 (sha256
2237 (base32
2238 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
2239 (build-system cargo-build-system)
2240 (home-page "https://github.com/carllerche/slab")
2241 (synopsis "Pre-allocated storage for a uniform data type")
2242 (description "This create provides a pre-allocated storage for a uniform
2243 data type.")
2244 (license license:expat)))
2245
2246 (define-public rust-spin
2247 (package
2248 (name "rust-spin")
2249 (version "0.5.0")
2250 (source
2251 (origin
2252 (method url-fetch)
2253 (uri (crate-uri "spin" version))
2254 (file-name (string-append name "-" version ".tar.gz"))
2255 (sha256
2256 (base32
2257 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
2258 (build-system cargo-build-system)
2259 (home-page "https://github.com/mvdnes/spin-rs.git")
2260 (synopsis "Synchronization primitives based on spinning")
2261 (description "This crate provides synchronization primitives based on
2262 spinning. They may contain data, are usable without @code{std},and static
2263 initializers are available.")
2264 (license license:expat)))
2265
2266 (define-public rust-stable-deref-trait
2267 (package
2268 (name "rust-stable-deref-trait")
2269 (version "1.1.1")
2270 (source
2271 (origin
2272 (method url-fetch)
2273 (uri (crate-uri "stable_deref_trait" version))
2274 (file-name (string-append name "-" version ".tar.gz"))
2275 (sha256
2276 (base32
2277 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
2278 (build-system cargo-build-system)
2279 (home-page "https://github.com/storyyeller/stable_deref_trait0")
2280 (synopsis "Defines an unsafe marker trait, StableDeref")
2281 (description
2282 "This crate defines an unsafe marker trait, StableDeref, for container
2283 types which deref to a fixed address which is valid even when the containing
2284 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
2285 Additionally, it defines CloneStableDeref for types like Rc where clones deref
2286 to the same address.")
2287 (license (list license:asl2.0
2288 license:expat))))
2289
2290 (define-public rust-stacker
2291 (package
2292 (name "rust-stacker")
2293 (version "0.1.5")
2294 (source
2295 (origin
2296 (method url-fetch)
2297 (uri (crate-uri "stacker" version))
2298 (file-name (string-append name "-" version ".tar.gz"))
2299 (sha256
2300 (base32
2301 "0js0axz5nla1mkr2dm2vrv9rj964ng1lrv4l43sqlnfgawplhygv"))))
2302 (build-system cargo-build-system)
2303 (arguments
2304 `(#:cargo-inputs
2305 (("rust-cfg-if" ,rust-cfg-if)
2306 ("rust-libc" ,rust-libc)
2307 ("rust-winapi" ,rust-winapi)
2308 ("rust-cc" ,rust-cc))))
2309 (home-page "https://github.com/rust-lang/stacker")
2310 (synopsis "Manual segmented stacks for Rust")
2311 (description
2312 "This package provides a stack growth library useful when implementing
2313 deeply recursive algorithms that may accidentally blow the stack.")
2314 (license (list license:asl2.0
2315 license:expat))))
2316
2317 (define-public rust-stdweb-internal-runtime
2318 (package
2319 (name "rust-stdweb-internal-runtime")
2320 (version "0.1.4")
2321 (source
2322 (origin
2323 (method url-fetch)
2324 (uri (crate-uri "stdweb-internal-runtime" version))
2325 (file-name (string-append name "-" version ".tar.gz"))
2326 (sha256
2327 (base32
2328 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
2329 (build-system cargo-build-system)
2330 (home-page "https://github.com/koute/stdweb")
2331 (synopsis "Internal runtime for the @code{stdweb} crate")
2332 (description "This crate provides internal runtime for the @code{stdweb}
2333 crate.")
2334 (license (list license:asl2.0
2335 license:expat))))
2336
2337 (define-public rust-stdweb-internal-test-macro
2338 (package
2339 (name "rust-stdweb-internal-test-macro")
2340 (version "0.1.0")
2341 (source
2342 (origin
2343 (method url-fetch)
2344 (uri (crate-uri "stdweb-internal-test-macro" version))
2345 (file-name (string-append name "-" version ".tar.gz"))
2346 (sha256
2347 (base32
2348 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
2349 (build-system cargo-build-system)
2350 (arguments
2351 `(#:cargo-inputs
2352 (("rust-proc-macro2" ,rust-proc-macro2)
2353 ("rust-quote" ,rust-quote))))
2354 (home-page "https://github.com/koute/stdweb")
2355 (synopsis "Internal crate of the `stdweb` crate")
2356 (description
2357 "Internal crate of the @code{stdweb} crate.")
2358 (license (list license:asl2.0
2359 license:expat))))
2360
2361 (define-public rust-streaming-stats
2362 (package
2363 (name "rust-streaming-stats")
2364 (version "0.2.2")
2365 (source
2366 (origin
2367 (method url-fetch)
2368 (uri (crate-uri "streaming-stats" version))
2369 (file-name (string-append name "-" version ".tar.gz"))
2370 (sha256
2371 (base32
2372 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
2373 (build-system cargo-build-system)
2374 (arguments
2375 `(#:cargo-inputs
2376 (("rust-num-traits" ,rust-num-traits))))
2377 (home-page "https://github.com/BurntSushi/rust-stats")
2378 (synopsis "Compute basic statistics on streams")
2379 (description
2380 "Experimental crate for computing basic statistics on streams.")
2381 (license (list license:unlicense
2382 license:expat))))
2383
2384 (define-public rust-strsim
2385 (package
2386 (name "rust-strsim")
2387 (version "0.9.2")
2388 (source
2389 (origin
2390 (method url-fetch)
2391 (uri (crate-uri "strsim" version))
2392 (file-name (string-append name "-" version ".tar.gz"))
2393 (sha256
2394 (base32
2395 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
2396 (build-system cargo-build-system)
2397 (home-page "https://github.com/dguo/strsim-rs")
2398 (synopsis "Rust implementations of string similarity metrics")
2399 (description "This crate includes implementations of string similarity
2400 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
2401 and Jaro-Winkler.")
2402 (license license:expat)))
2403
2404 (define-public rust-synstructure-test-traits
2405 (package
2406 (name "rust-synstructure-test-traits")
2407 (version "0.1.0")
2408 (source
2409 (origin
2410 (method url-fetch)
2411 (uri (crate-uri "synstructure_test_traits" version))
2412 (file-name (string-append name "-" version ".tar.gz"))
2413 (sha256
2414 (base32
2415 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
2416 (build-system cargo-build-system)
2417 (home-page "https://crates.io/crates/synstructure_test_traits")
2418 (synopsis "Helper test traits for synstructure doctests")
2419 (description
2420 "This package provides helper test traits for synstructure doctests.")
2421 (license license:expat)))
2422
2423 (define-public rust-tempdir
2424 (package
2425 (name "rust-tempdir")
2426 (version "0.3.7")
2427 (source
2428 (origin
2429 (method url-fetch)
2430 (uri (crate-uri "tempdir" version))
2431 (file-name (string-append name "-" version ".tar.gz"))
2432 (sha256
2433 (base32
2434 "1n5n86zxpgd85y0mswrp5cfdisizq2rv3la906g6ipyc03xvbwhm"))))
2435 (build-system cargo-build-system)
2436 (arguments
2437 `(#:cargo-inputs
2438 (("rust-rand" ,rust-rand)
2439 ("rust-remove-dir-all" ,rust-remove-dir-all))))
2440 (home-page
2441 "https://github.com/rust-lang/tempdir")
2442 (synopsis "Temporary directory management for Rust")
2443 (description
2444 "This package provides a library for managing a temporary directory and
2445 deleting all contents when it's dropped.")
2446 (license (list license:asl2.0
2447 license:expat))))
2448
2449 (define-public rust-termcolor
2450 (package
2451 (name "rust-termcolor")
2452 (version "1.0.5")
2453 (source
2454 (origin
2455 (method url-fetch)
2456 (uri (crate-uri "termcolor" version))
2457 (file-name (string-append name "-" version ".tar.gz"))
2458 (sha256
2459 (base32
2460 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
2461 (build-system cargo-build-system)
2462 (arguments
2463 `(#:cargo-inputs
2464 (("rust-wincolor" ,rust-wincolor))))
2465 (home-page "https://github.com/BurntSushi/termcolor")
2466 (synopsis "Library for writing colored text to a terminal")
2467 (description "This package provides a simple cross platform library for
2468 writing colored text to a terminal.")
2469 (license (list license:unlicense
2470 license:expat))))
2471
2472 (define-public rust-termios
2473 (package
2474 (name "rust-termios")
2475 (version "0.3.1")
2476 (source
2477 (origin
2478 (method url-fetch)
2479 (uri (crate-uri "termios" version))
2480 (file-name (string-append name "-" version ".tar.gz"))
2481 (sha256
2482 (base32
2483 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
2484 (build-system cargo-build-system)
2485 (arguments
2486 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
2487 (home-page "https://github.com/dcuddeback/termios-rs")
2488 (synopsis "Safe bindings for the termios library")
2489 (description
2490 "The termios crate provides safe bindings for the Rust programming language
2491 to the terminal I/O interface implemented by Unix operating systems. The safe
2492 bindings are a small wrapper around the raw C functions, which converts integer
2493 return values to @code{std::io::Result} to indicate success or failure.")
2494 (license license:expat)))
2495
2496 (define-public rust-thread-id
2497 (package
2498 (name "rust-thread-id")
2499 (version "3.3.0")
2500 (source
2501 (origin
2502 (method url-fetch)
2503 (uri (crate-uri "thread-id" version))
2504 (file-name (string-append name "-" version ".tar.gz"))
2505 (sha256
2506 (base32
2507 "1h90v19fjz3x9b25ywh68z5yf2zsmm6h5zb4rl302ckbsp4z9yy7"))))
2508 (build-system cargo-build-system)
2509 (arguments
2510 `(#:cargo-inputs
2511 (("rust-libc" ,rust-libc)
2512 ("rust-redox-syscall" ,rust-redox-syscall)
2513 ("rust-winapi" ,rust-winapi))))
2514 (home-page "https://github.com/ruuda/thread-id")
2515 (synopsis "Get a unique ID for the current thread in Rust")
2516 (description
2517 "For diagnostics and debugging it can often be useful to get an ID that is
2518 different for every thread.")
2519 (license (list license:asl2.0
2520 license:expat))))
2521
2522 (define-public rust-thread-local
2523 (package
2524 (name "rust-thread-local")
2525 (version "0.3.6")
2526 (source
2527 (origin
2528 (method url-fetch)
2529 (uri (crate-uri "thread_local" version))
2530 (file-name (string-append name "-" version ".tar.gz"))
2531 (sha256
2532 (base32
2533 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
2534 (build-system cargo-build-system)
2535 (arguments
2536 `(#:cargo-inputs
2537 (("rust-lazy-static" ,rust-lazy-static))))
2538 (home-page "https://github.com/Amanieu/thread_local-rs")
2539 (synopsis "Per-object thread-local storage")
2540 (description "Per-object thread-local storage")
2541 (license (list license:asl2.0
2542 license:expat))))
2543
2544 (define-public rust-threadpool
2545 (package
2546 (name "rust-threadpool")
2547 (version "1.7.1")
2548 (source
2549 (origin
2550 (method url-fetch)
2551 (uri (crate-uri "threadpool" version))
2552 (file-name (string-append name "-" version ".tar.gz"))
2553 (sha256
2554 (base32
2555 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
2556 (build-system cargo-build-system)
2557 (arguments
2558 `(#:cargo-inputs
2559 (("rust-num-cpus" ,rust-num-cpus))))
2560 (home-page "https://github.com/rust-threadpool/rust-threadpool")
2561 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
2562 (description
2563 "This package provides a thread pool for running a number of jobs on a
2564 fixed set of worker threads.")
2565 (license (list license:asl2.0
2566 license:expat))))
2567
2568 (define-public rust-tokio-mock-task
2569 (package
2570 (name "rust-tokio-mock-task")
2571 (version "0.1.1")
2572 (source
2573 (origin
2574 (method url-fetch)
2575 (uri (crate-uri "tokio-mock-task" version))
2576 (file-name (string-append name "-" version ".tar.gz"))
2577 (sha256
2578 (base32
2579 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
2580 (build-system cargo-build-system)
2581 (arguments
2582 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
2583 (home-page "https://github.com/carllerche/tokio-mock-task")
2584 (synopsis "Mock a Tokio task")
2585 (description "Mock a Tokio task")
2586 (license license:expat)))
2587
2588 (define-public rust-tracing-core
2589 (package
2590 (name "rust-tracing-core")
2591 (version "0.1.2")
2592 (source
2593 (origin
2594 (method url-fetch)
2595 (uri (crate-uri "tracing-core" version))
2596 (file-name (string-append name "-" version ".tar.gz"))
2597 (sha256
2598 (base32
2599 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
2600 (build-system cargo-build-system)
2601 (arguments
2602 `(#:cargo-inputs
2603 (("rust-lazy-static" ,rust-lazy-static))))
2604 (home-page "https://tokio.rs")
2605 (synopsis "Core primitives for application-level tracing")
2606 (description
2607 "Core primitives for application-level tracing.")
2608 (license (list license:asl2.0
2609 license:expat))))
2610
2611 (define-public rust-traitobject
2612 (package
2613 (name "rust-traitobject")
2614 (version "0.1.0")
2615 (source
2616 (origin
2617 (method url-fetch)
2618 (uri (crate-uri "traitobject" version))
2619 (file-name (string-append name "-" version ".tar.gz"))
2620 (sha256
2621 (base32
2622 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
2623 (build-system cargo-build-system)
2624 (home-page "https://github.com/reem/rust-traitobject.git")
2625 (synopsis "Unsafe helpers for dealing with raw trait objects")
2626 (description "Unsafe helpers for dealing with raw trait objects.")
2627 (license (list license:asl2.0
2628 license:expat))))
2629
2630 (define-public rust-try-from
2631 (package
2632 (name "rust-try-from")
2633 (version "0.3.2")
2634 (source
2635 (origin
2636 (method url-fetch)
2637 (uri (crate-uri "try_from" version))
2638 (file-name (string-append name "-" version ".tar.gz"))
2639 (sha256
2640 (base32
2641 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
2642 (build-system cargo-build-system)
2643 (arguments
2644 `(#:cargo-inputs
2645 (("rust-cfg-if" ,rust-cfg-if))))
2646 (home-page "https://github.com/derekjw/try_from")
2647 (synopsis "TryFrom and TryInto traits for failable conversions")
2648 (description
2649 "TryFrom and TryInto traits for failable conversions that return a Result.")
2650 (license license:expat)))
2651
2652 (define-public rust-try-lock
2653 (package
2654 (name "rust-try-lock")
2655 (version "0.2.2")
2656 (source
2657 (origin
2658 (method url-fetch)
2659 (uri (crate-uri "try-lock" version))
2660 (file-name (string-append name "-" version ".tar.gz"))
2661 (sha256
2662 (base32
2663 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
2664 (build-system cargo-build-system)
2665 (home-page "https://github.com/seanmonstar/try-lock")
2666 (synopsis "Lightweight atomic lock")
2667 (description
2668 "This package provides a lightweight atomic lock.")
2669 (license license:expat)))
2670
2671 (define-public rust-typeable
2672 (package
2673 (name "rust-typeable")
2674 (version "0.1.2")
2675 (source
2676 (origin
2677 (method url-fetch)
2678 (uri (crate-uri "typeable" version))
2679 (file-name (string-append name "-" version ".tar.gz"))
2680 (sha256
2681 (base32
2682 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
2683 (build-system cargo-build-system)
2684 (home-page "https://github.com/reem/rust-typeable")
2685 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2686 (description "Exposes Typeable, for getting TypeIds at runtime.")
2687 (license license:expat)))
2688
2689 (define-public rust-typemap
2690 (package
2691 (name "rust-typemap")
2692 (version "0.3.3")
2693 (source
2694 (origin
2695 (method url-fetch)
2696 (uri (crate-uri "typemap" version))
2697 (file-name (string-append name "-" version ".tar.gz"))
2698 (sha256
2699 (base32
2700 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2701 (build-system cargo-build-system)
2702 (arguments
2703 `(#:cargo-inputs
2704 (("rust-unsafe-any" ,rust-unsafe-any))))
2705 (home-page "https://github.com/reem/rust-typemap")
2706 (synopsis "Typesafe store for many value types")
2707 (description
2708 "A typesafe store for many value types.")
2709 (license license:expat)))
2710
2711 (define-public rust-typenum
2712 (package
2713 (name "rust-typenum")
2714 (version "1.10.0")
2715 (source
2716 (origin
2717 (method url-fetch)
2718 (uri (crate-uri "typenum" version))
2719 (file-name (string-append name "-" version ".tar.gz"))
2720 (sha256
2721 (base32
2722 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2723 (build-system cargo-build-system)
2724 (home-page "https://github.com/paholg/typenum")
2725 (synopsis "Rust library for type-level numbers evaluated at compile time")
2726 (description "Typenum is a Rust library for type-level numbers evaluated at
2727 compile time. It currently supports bits, unsigned integers, and signed
2728 integers. It also provides a type-level array of type-level numbers, but its
2729 implementation is incomplete.")
2730 (license (list license:asl2.0
2731 license:expat))))
2732
2733 (define-public rust-ucd-trie
2734 (package
2735 (name "rust-ucd-trie")
2736 (version "0.1.2")
2737 (source
2738 (origin
2739 (method url-fetch)
2740 (uri (crate-uri "ucd-trie" version))
2741 (file-name (string-append name "-" version ".tar.gz"))
2742 (sha256
2743 (base32
2744 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2745 (build-system cargo-build-system)
2746 (arguments
2747 `(#:cargo-development-inputs
2748 (("rust-lazy-static" ,rust-lazy-static))))
2749 (home-page "https://github.com/BurntSushi/ucd-generate")
2750 (synopsis "Trie for storing Unicode codepoint sets and maps")
2751 (description
2752 "This package provides a trie for storing Unicode codepoint sets and maps.")
2753 (license (list license:asl2.0
2754 license:expat))))
2755
2756 (define-public rust-ucd-util
2757 (package
2758 (name "rust-ucd-util")
2759 (version "0.1.5")
2760 (source
2761 (origin
2762 (method url-fetch)
2763 (uri (crate-uri "ucd-util" version))
2764 (file-name (string-append name "-" version ".tar.gz"))
2765 (sha256
2766 (base32
2767 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2768 (build-system cargo-build-system)
2769 (home-page "https://github.com/BurntSushi/ucd-generate")
2770 (synopsis "library for working with the Unicode character database")
2771 (description "This package provides a small utility library for working
2772 with the Unicode character database.")
2773 (license (list license:asl2.0
2774 license:expat))))
2775
2776 (define-public rust-unicase
2777 (package
2778 (name "rust-unicase")
2779 (version "2.4.0")
2780 (source
2781 (origin
2782 (method url-fetch)
2783 (uri (crate-uri "unicase" version))
2784 (file-name (string-append name "-" version ".tar.gz"))
2785 (sha256
2786 (base32
2787 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2788 (build-system cargo-build-system)
2789 (arguments
2790 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2791 (home-page "https://github.com/seanmonstar/unicase")
2792 (synopsis "Case-insensitive wrapper around strings")
2793 (description
2794 "A case-insensitive wrapper around strings.")
2795 (license (list license:asl2.0
2796 license:expat))))
2797
2798 (define-public rust-unicode-width
2799 (package
2800 (name "rust-unicode-width")
2801 (version "0.1.5")
2802 (source
2803 (origin
2804 (method url-fetch)
2805 (uri (crate-uri "unicode-width" version))
2806 (file-name (string-append name "-" version ".tar.gz"))
2807 (sha256
2808 (base32
2809 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2810 (build-system cargo-build-system)
2811 (home-page "https://github.com/unicode-rs/unicode-width")
2812 (synopsis "Determine displayed width according to Unicode rules")
2813 (description "This crate allows you to determine displayed width of
2814 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2815 (license (list license:asl2.0
2816 license:expat))))
2817
2818 (define-public rust-unicode-xid
2819 (package
2820 (name "rust-unicode-xid")
2821 (version "0.2.0")
2822 (source
2823 (origin
2824 (method url-fetch)
2825 (uri (crate-uri "unicode-xid" version))
2826 (file-name
2827 (string-append name "-" version ".tar.gz"))
2828 (sha256
2829 (base32
2830 "0z09fn515xm7zyr0mmdyxa9mx2f7azcpv74pqmg611iralwpcvl2"))))
2831 (build-system cargo-build-system)
2832 (home-page
2833 "https://github.com/unicode-rs/unicode-xid")
2834 (synopsis "Determine Unicode XID related properties")
2835 (description "Determine whether characters have the XID_Start
2836 or XID_Continue properties according to Unicode Standard Annex #31.")
2837 ;; Dual licensed.
2838 (license (list license:asl2.0 license:expat))))
2839
2840 (define-public rust-unicode-xid-0.1
2841 (package
2842 (inherit rust-unicode-xid)
2843 (name "rust-unicode-xid")
2844 (version "0.1.0")
2845 (source
2846 (origin
2847 (method url-fetch)
2848 (uri (crate-uri "unicode-xid" version))
2849 (file-name (string-append name "-" version ".tar.gz"))
2850 (sha256
2851 (base32
2852 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))))
2853
2854 (define-public rust-unindent
2855 (package
2856 (name "rust-unindent")
2857 (version "0.1.3")
2858 (source
2859 (origin
2860 (method url-fetch)
2861 (uri (crate-uri "unindent" version))
2862 (file-name (string-append name "-" version ".tar.gz"))
2863 (sha256
2864 (base32
2865 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2866 (build-system cargo-build-system)
2867 (home-page "https://github.com/dtolnay/indoc")
2868 (synopsis "Remove a column of leading whitespace from a string")
2869 (description "This crate allows you to remove a column of leading
2870 whitespace from a string.")
2871 (license (list license:asl2.0
2872 license:expat))))
2873
2874 (define-public rust-unsafe-any
2875 (package
2876 (name "rust-unsafe-any")
2877 (version "0.4.2")
2878 (source
2879 (origin
2880 (method url-fetch)
2881 (uri (crate-uri "unsafe-any" version))
2882 (file-name (string-append name "-" version ".tar.gz"))
2883 (sha256
2884 (base32
2885 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2886 (build-system cargo-build-system)
2887 (arguments
2888 `(#:cargo-inputs
2889 (("rust-traitobject" ,rust-traitobject))))
2890 (home-page "https://tokio.rs")
2891 (synopsis "Traits and implementations for unchecked downcasting")
2892 (description
2893 "Traits and implementations for unchecked downcasting.")
2894 (license license:expat)))
2895
2896 (define-public rust-untrusted
2897 (package
2898 (name "rust-untrusted")
2899 (version "0.7.0")
2900 (source
2901 (origin
2902 (method url-fetch)
2903 (uri (crate-uri "untrusted" version))
2904 (file-name (string-append name "-" version ".tar.gz"))
2905 (sha256
2906 (base32
2907 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2908 (build-system cargo-build-system)
2909 (home-page "https://github.com/briansmith/untrusted")
2910 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2911 (description
2912 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2913 untrusted inputs in Rust.")
2914 (license license:isc)))
2915
2916 (define-public rust-vcpkg
2917 (package
2918 (name "rust-vcpkg")
2919 (version "0.2.7")
2920 (source
2921 (origin
2922 (method url-fetch)
2923 (uri (crate-uri "vcpkg" version))
2924 (file-name (string-append name "-" version ".tar.gz"))
2925 (sha256
2926 (base32
2927 "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
2928 (build-system cargo-build-system)
2929 (arguments
2930 `(#:cargo-development-inputs
2931 (("rust-lazy-static" ,rust-lazy-static)
2932 ("rust-tempdir" ,rust-tempdir))
2933 #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
2934 (home-page "https://github.com/mcgoo/vcpkg-rs")
2935 (synopsis "Find native dependencies in a vcpkg tree at build time")
2936 (description
2937 "This package provides a library to find native dependencies in a
2938 @code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
2939 (license (list license:asl2.0
2940 license:expat))))
2941
2942 (define-public rust-version-check
2943 (package
2944 (name "rust-version-check")
2945 (version "0.9.1")
2946 (source
2947 (origin
2948 (method url-fetch)
2949 (uri (crate-uri "version_check" version))
2950 (file-name (string-append name "-" version ".tar.gz"))
2951 (sha256
2952 (base32
2953 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2954 (build-system cargo-build-system)
2955 (home-page "https://github.com/SergioBenitez/version_check")
2956 (synopsis "Check that the installed rustc meets some version requirements")
2957 (description
2958 "This tiny crate checks that the running or installed rustc meets some
2959 version requirements. The version is queried by calling the Rust compiler with
2960 @code{--version}. The path to the compiler is determined first via the
2961 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2962 If that fails, no determination is made, and calls return None.")
2963 (license (list license:asl2.0
2964 license:expat))))
2965
2966 (define-public rust-version-check-0.1
2967 (package
2968 (inherit rust-version-check)
2969 (name "rust-version-check")
2970 (version "0.1.5")
2971 (source
2972 (origin
2973 (method url-fetch)
2974 (uri (crate-uri "version_check" version))
2975 (file-name (string-append name "-" version ".tar.gz"))
2976 (sha256
2977 (base32
2978 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
2979
2980 (define-public rust-void
2981 (package
2982 (name "rust-void")
2983 (version "1.0.2")
2984 (source
2985 (origin
2986 (method url-fetch)
2987 (uri (crate-uri "void" version))
2988 (file-name (string-append name "-" version ".tar.gz"))
2989 (sha256
2990 (base32
2991 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
2992 (build-system cargo-build-system)
2993 (home-page "https://github.com/reem/rust-void.git")
2994 (synopsis "Void type for use in statically impossible cases")
2995 (description
2996 "The uninhabited void type for use in statically impossible cases.")
2997 (license license:expat)))
2998
2999 (define-public rust-walkdir
3000 (package
3001 (name "rust-walkdir")
3002 (version "2.2.9")
3003 (source
3004 (origin
3005 (method url-fetch)
3006 (uri (crate-uri "walkdir" version))
3007 (file-name (string-append name "-" version ".tar.gz"))
3008 (sha256
3009 (base32
3010 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
3011 (build-system cargo-build-system)
3012 (arguments
3013 `(#:cargo-inputs
3014 (("rust-same-file" ,rust-same-file)
3015 ("rust-winapi" ,rust-winapi)
3016 ("rust-winapi-util" ,rust-winapi-util))
3017 #:cargo-development-inputs
3018 (("rust-doc-comment" ,rust-doc-comment))))
3019 (home-page "https://github.com/BurntSushi/walkdir")
3020 (synopsis "Recursively walk a directory")
3021 (description "Recursively walk a directory.")
3022 (license (list license:unlicense
3023 license:expat))))
3024
3025 (define-public rust-wasi
3026 (package
3027 (name "rust-wasi")
3028 (version "0.5.0")
3029 (source
3030 (origin
3031 (method url-fetch)
3032 (uri (crate-uri "wasi" version))
3033 (file-name
3034 (string-append name "-" version ".tar.gz"))
3035 (sha256
3036 (base32
3037 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
3038 (build-system cargo-build-system)
3039 (home-page "https://github.com/CraneStation/rust-wasi")
3040 (synopsis "Experimental WASI API bindings for Rust")
3041 (description "This package contains experimental WASI API bindings
3042 in Rust.")
3043 (license license:asl2.0)))
3044
3045 (define-public rust-wasm-bindgen-shared
3046 (package
3047 (name "rust-wasm-bindgen-shared")
3048 (version "0.2.48")
3049 (source
3050 (origin
3051 (method url-fetch)
3052 (uri (crate-uri "wasm-bindgen-shared" version))
3053 (file-name (string-append name "-" version ".tar.gz"))
3054 (sha256
3055 (base32
3056 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
3057 (build-system cargo-build-system)
3058 (home-page "https://rustwasm.github.io/wasm-bindgen/")
3059 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
3060 (description "This package provides shared support between
3061 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
3062 (license (list license:asl2.0
3063 license:expat))))
3064
3065 (define-public rust-wasm-bindgen-test-macro
3066 (package
3067 (name "rust-wasm-bindgen-test-macro")
3068 (version "0.2.48")
3069 (source
3070 (origin
3071 (method url-fetch)
3072 (uri (crate-uri "wasm-bindgen-test-macro" version))
3073 (file-name (string-append name "-" version ".tar.gz"))
3074 (sha256
3075 (base32
3076 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
3077 (build-system cargo-build-system)
3078 (arguments
3079 `(#:cargo-inputs
3080 (("rust-proc-macro2" ,rust-proc-macro2)
3081 ("rust-quote" ,rust-quote))))
3082 (home-page "https://github.com/rustwasm/wasm-bindgen")
3083 (synopsis "Internal testing macro for wasm-bindgen")
3084 (description
3085 "This library contains the internal testing macro for wasm-bindgen.")
3086 (license (list license:asl2.0
3087 license:expat))))
3088
3089 (define-public rust-widestring
3090 (package
3091 (name "rust-widestring")
3092 (version "0.4.0")
3093 (source
3094 (origin
3095 (method url-fetch)
3096 (uri (crate-uri "widestring" version))
3097 (file-name (string-append name "-" version ".tar.gz"))
3098 (sha256
3099 (base32
3100 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
3101 (build-system cargo-build-system)
3102 (arguments
3103 `(#:cargo-development-inputs
3104 (("rust-winapi" ,rust-winapi))))
3105 (home-page "https://github.com/starkat99/widestring-rs")
3106 (synopsis "Wide string Rust FFI library")
3107 (description
3108 "A wide string Rust FFI library for converting to and from wide strings,
3109 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
3110 UTF-32 types are provided, including support for malformed encoding.")
3111 (license (list license:asl2.0
3112 license:expat))))
3113
3114 (define-public rust-winapi
3115 (package
3116 (name "rust-winapi")
3117 (version "0.3.8")
3118 (source
3119 (origin
3120 (method url-fetch)
3121 (uri (crate-uri "winapi" version))
3122 (file-name (string-append name "-" version ".tar.gz"))
3123 (sha256
3124 (base32
3125 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
3126 (build-system cargo-build-system)
3127 (arguments
3128 `(#:cargo-inputs
3129 (("rust-winapi-i686-pc-windows-gnu"
3130 ,rust-winapi-i686-pc-windows-gnu)
3131 ("rust-winapi-x86-64-pc-windows-gnu"
3132 ,rust-winapi-x86-64-pc-windows-gnu))))
3133 (home-page "https://github.com/retep998/winapi-rs")
3134 (synopsis "Raw FFI bindings for all of Windows API.")
3135 (description
3136 "Raw FFI bindings for all of Windows API.")
3137 (license (list license:asl2.0
3138 license:expat))))
3139
3140 (define-public rust-winapi-0.2
3141 (package
3142 (inherit rust-winapi)
3143 (name "rust-winapi")
3144 (version "0.2.8")
3145 (source
3146 (origin
3147 (method url-fetch)
3148 (uri (crate-uri "winapi" version))
3149 (file-name (string-append name "-" version ".tar.gz"))
3150 (sha256
3151 (base32
3152 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
3153 ;; We do not want to package 48 -sys crates for a package we do not want.
3154 ;; They are all dev dependencies, so we skip building and testing.
3155 (arguments
3156 `(#:tests? #f
3157 #:phases
3158 (modify-phases %standard-phases
3159 (delete 'build))))))
3160
3161 (define-public rust-winapi-build
3162 (package
3163 (name "rust-winapi-build")
3164 (version "0.1.1")
3165 (source
3166 (origin
3167 (method url-fetch)
3168 (uri (crate-uri "winapi-build" version))
3169 (file-name (string-append name "-" version ".tar.gz"))
3170 (sha256
3171 (base32
3172 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
3173 (build-system cargo-build-system)
3174 (home-page "https://github.com/retep998/winapi-rs")
3175 (synopsis "Common code for build.rs in WinAPI -sys crates")
3176 (description
3177 "Common code for build.rs in WinAPI -sys crates.")
3178 (license license:expat)))
3179
3180 (define-public rust-winapi-i686-pc-windows-gnu
3181 (package
3182 (name "rust-winapi-i686-pc-windows-gnu")
3183 (version "0.4.0")
3184 (source
3185 (origin
3186 (method url-fetch)
3187 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
3188 (file-name (string-append name "-" version ".tar.gz"))
3189 (sha256
3190 (base32
3191 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
3192 (build-system cargo-build-system)
3193 (home-page "https://github.com/retep998/winapi-rs")
3194 (synopsis "Import libraries for the i686-pc-windows-gnu target")
3195 (description "This crate provides import libraries for the
3196 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
3197 @code{winapi} instead.")
3198 (license (list license:asl2.0
3199 license:expat))))
3200
3201 (define-public rust-winapi-util
3202 (package
3203 (name "rust-winapi-util")
3204 (version "0.1.2")
3205 (source
3206 (origin
3207 (method url-fetch)
3208 (uri (crate-uri "winapi-util" version))
3209 (file-name (string-append name "-" version ".tar.gz"))
3210 (sha256
3211 (base32
3212 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
3213 (build-system cargo-build-system)
3214 (arguments
3215 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
3216 (home-page "https://github.com/BurntSushi/winapi-util")
3217 (synopsis "Dumping ground for high level safe wrappers over winapi")
3218 (description
3219 "This package provides a dumping ground for high level safe wrappers over
3220 winapi.")
3221 (license (list license:unlicense
3222 license:expat))))
3223
3224 (define-public rust-winapi-x86-64-pc-windows-gnu
3225 (package
3226 (name "rust-winapi-x86-64-pc-windows-gnu")
3227 (version "0.4.0")
3228 (source
3229 (origin
3230 (method url-fetch)
3231 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
3232 (file-name (string-append name "-" version ".tar.gz"))
3233 (sha256
3234 (base32
3235 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
3236 (build-system cargo-build-system)
3237 (home-page "https://github.com/retep998/winapi-rs")
3238 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
3239 (description "This package provides import libraries for the
3240 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
3241 @code{winapi} instead.")
3242 (license (list license:asl2.0
3243 license:expat))))
3244
3245 (define-public rust-wincolor
3246 (package
3247 (name "rust-wincolor")
3248 (version "1.0.2")
3249 (source
3250 (origin
3251 (method url-fetch)
3252 (uri (crate-uri "wincolor" version))
3253 (file-name (string-append name "-" version ".tar.gz"))
3254 (sha256
3255 (base32
3256 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
3257 (build-system cargo-build-system)
3258 (arguments
3259 `(#:cargo-inputs
3260 (("rust-winapi" ,rust-winapi)
3261 ("rust-winapi-util" ,rust-winapi-util))))
3262 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
3263 (synopsis "Windows API for controlling text color in a Windows console")
3264 (description
3265 "This package provides a simple Windows specific API for controlling text
3266 color in a Windows console.")
3267 (license (list license:unlicense
3268 license:expat))))
3269
3270 (define-public rust-winutil
3271 (package
3272 (name "rust-winutil")
3273 (version "0.1.1")
3274 (source
3275 (origin
3276 (method url-fetch)
3277 (uri (crate-uri "winutil" version))
3278 (file-name (string-append name "-" version ".tar.gz"))
3279 (sha256
3280 (base32
3281 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
3282 (build-system cargo-build-system)
3283 (arguments
3284 `(#:cargo-inputs
3285 (("rust-winapi" ,rust-winapi))
3286 ;; This unmaintained crate cannot find winapi when built directly.
3287 #:tests? #f
3288 #:phases
3289 (modify-phases %standard-phases
3290 (delete 'build))))
3291 (home-page "https://bitbucket.org/DaveLancaster/winutil")
3292 (synopsis "Library wrapping a handful of useful winapi functions")
3293 (description
3294 "A simple library wrapping a handful of useful winapi functions.")
3295 (license license:expat)))
3296
3297 (define-public rust-ws2-32-sys
3298 (package
3299 (name "rust-ws2-32-sys")
3300 (version "0.2.1")
3301 (source
3302 (origin
3303 (method url-fetch)
3304 (uri (crate-uri "ws2_32-sys" version))
3305 (file-name (string-append name "-" version ".tar.gz"))
3306 (sha256
3307 (base32
3308 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
3309 (build-system cargo-build-system)
3310 (arguments
3311 `(#:cargo-inputs
3312 (("rust-winapi" ,rust-winapi-0.2)
3313 ("rust-winapi-build" ,rust-winapi-build))
3314 #:phases
3315 (modify-phases %standard-phases
3316 (add-after 'unpack 'fix-Cargo-toml
3317 (lambda _
3318 (substitute* "Cargo.toml"
3319 ((", path =.* }") "}\n"))
3320 #t)))))
3321 (home-page "https://github.com/retep998/winapi-rs")
3322 (synopsis "Function definitions for the Windows API library ws2_32")
3323 (description
3324 "Contains function definitions for the Windows API library ws2_32.")
3325 (license license:expat)))
3326
3327 (define-public rust-xdg
3328 (package
3329 (name "rust-xdg")
3330 (version "2.2.0")
3331 (source
3332 (origin
3333 (method url-fetch)
3334 (uri (crate-uri "xdg" version))
3335 (file-name (string-append name "-" version ".tar.gz"))
3336 (sha256
3337 (base32
3338 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
3339 (build-system cargo-build-system)
3340 (home-page "https://github.com/whitequark/rust-xdg")
3341 (synopsis "Store and retrieve files according to XDG specification")
3342 (description
3343 "This package provides a library for storing and retrieving files according
3344 to XDG Base Directory specification")
3345 (license (list license:asl2.0
3346 license:expat))))