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