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