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>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages crates-io)
22 #:use-module (guix build-system cargo)
23 #:use-module (guix download)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (guix packages)
26 #:use-module (gnu packages pkg-config))
29 ;;; Please: Try to add new module packages in alphabetic order.
32 (define-public rust-antidote
34 (name "rust-antidote")
39 (uri (crate-uri "antidote" version))
40 (file-name (string-append name "-" version ".tar.gz"))
43 "19g2sw2qa2ibnh4x7j1snk46593jgx6y7rnvva496ynq61af5z9l"))))
44 (build-system cargo-build-system)
45 (home-page "https://github.com/sfackler/rust-antidote")
46 (synopsis "Poison-free Mutex and RwLock types")
48 "These types expose identical APIs to the standard library @code{Mutex} and
49 @code{RwLock} except that they do not return @code{PoisonError}s.")
50 (license (list license:asl2.0
53 (define-public rust-atty
60 (uri (crate-uri "atty" version))
61 (file-name (string-append name "-" version ".tar.gz"))
64 "140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
65 (build-system cargo-build-system)
68 (("rust-libc" ,rust-libc)
69 ("rust-winapi" ,rust-winapi))
70 #:tests? #f)) ; tests fail in our sandbox
71 (home-page "https://github.com/softprops/atty")
72 (synopsis "A simple interface for querying atty")
74 "This package provides a simple interface for querying atty.")
75 (license license:expat)))
77 (define-public rust-autocfg
84 (uri (crate-uri "autocfg" version))
85 (file-name (string-append name "-" version ".tar.gz"))
88 "0asl6fnc35yk5l2rxwhp25v128jgm45dp754h9z8x51b6n90w4r2"))))
89 (build-system cargo-build-system)
90 (home-page "https://github.com/cuviper/autocfg")
91 (synopsis "Automatic cfg for Rust compiler features")
92 (description "Rust library for build scripts to automatically configure
93 code based on compiler support. Code snippets are dynamically tested to see
94 if the @code{rustc} will accept them, rather than hard-coding specific version
96 (license (list license:asl2.0
99 (define-public rust-bencher
101 (name "rust-bencher")
106 (uri (crate-uri "bencher" version))
107 (file-name (string-append name "-" version ".tar.gz"))
110 "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
111 (build-system cargo-build-system)
112 (home-page "https://github.com/bluss/bencher/")
113 (synopsis "Port of the libtest benchmark runner to Rust stable")
114 (description "This package provides a port of the libtest (unstable Rust)
115 benchmark runner to Rust stable releases. Supports running benchmarks and
116 filtering based on the name. Benchmark execution works exactly the same way
117 and no more (caveat: black_box is still missing!).")
118 (license (list license:asl2.0
121 (define-public rust-bitflags
123 (name "rust-bitflags")
128 (uri (crate-uri "bitflags" version))
129 (file-name (string-append name "-" version ".tar.gz"))
132 "1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
133 (build-system cargo-build-system)
134 (home-page "https://github.com/bitflags/bitflags")
135 (synopsis "Macro to generate structures which behave like bitflags")
136 (description "This package provides a macro to generate structures which
137 behave like a set of bitflags.")
138 (license (list license:asl2.0
141 (define-public rust-blas-sys
143 (name "rust-blas-sys")
148 (uri (crate-uri "blas-sys" version))
149 (file-name (string-append name "-" version ".tar.gz"))
152 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k"))))
153 (build-system cargo-build-system)
155 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
156 (home-page "https://github.com/blas-lapack-rs/blas-sys")
157 (synopsis "Bindings to BLAS (Fortran)")
159 "Ths package provides bindings to BLAS (Fortran).")
160 (license (list license:asl2.0
163 (define-public rust-cblas-sys
165 (name "rust-cblas-sys")
170 (uri (crate-uri "cblas-sys" version))
171 (file-name (string-append name "-" version ".tar.gz"))
174 "0rgsn3klhhh09d8qf3b87zl4rwk93l2g0qzh9hhb0lff5kcfrzmn"))))
175 (build-system cargo-build-system)
177 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
178 (home-page "https://github.com/blas-lapack-rs/cblas-sys")
179 (synopsis "Bindings to CBLAS (C)")
181 "The package provides bindings to CBLAS (C).")
182 (license (list license:asl2.0
185 (define-public rust-cfg-if
192 (uri (crate-uri "cfg-if" version))
193 (file-name (string-append name "-" version ".tar.gz"))
196 "0csygklgz3ybpr0670rkip49zh76m43ar3k7xgypkzbzrwycx1ml"))))
197 (build-system cargo-build-system)
198 (home-page "https://github.com/alexcrichton/cfg-if")
199 (synopsis "Define an item depending on parameters")
200 (description "This package provides a macro to ergonomically define an item
201 depending on a large number of #[cfg] parameters. Structured like an
202 @code{if-else} chain, the first matching branch is the item that gets emitted.")
203 (license (list license:asl2.0
206 (define-public rust-clicolors-control
208 (name "rust-clicolors-control")
213 (uri (crate-uri "clicolors-control" version))
214 (file-name (string-append name "-" version ".tar.gz"))
217 "1y80cgarxhrd1bz5yjm81r444v6flvy36aaxrrsac0yhfd6gvavk"))))
218 (build-system cargo-build-system)
221 (("rust-atty" ,rust-atty)
222 ("rust-lazy-static" ,rust-lazy-static)
223 ("rust-libc" ,rust-libc)
224 ("rust-winapi" ,rust-winapi))))
225 (home-page "https://github.com/mitsuhiko/clicolors-control")
226 (synopsis "Common utility library to control CLI colorization")
228 "This package provides a common utility library to control CLI
230 (license license:expat)))
232 (define-public rust-cloudabi
234 (name "rust-cloudabi")
239 (uri (crate-uri "cloudabi" version))
240 (file-name (string-append name "-" version ".tar.gz"))
243 "0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
244 (build-system cargo-build-system)
247 (("rust-bitflags" ,rust-bitflags))))
248 (home-page "https://nuxi.nl/cloudabi/")
249 (synopsis "Low level interface to CloudABI")
251 "Low level interface to CloudABI. Contains all syscalls and related types.")
252 (license license:bsd-2)))
254 (define-public rust-core-foundation-sys
256 (name "rust-core-foundation-sys")
261 (uri (crate-uri "core-foundation-sys" version))
262 (file-name (string-append name "-" version ".tar.gz"))
265 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
266 (build-system cargo-build-system)
267 (home-page "https://github.com/servo/core-foundation-rs")
268 (synopsis "Bindings to Core Foundation for OS X")
270 "Bindings to Core Foundation for OS X.")
271 (license (list license:asl2.0
274 (define-public rust-data-encoding
276 (name "rust-data-encoding")
281 (uri (crate-uri "data-encoding" version))
282 (file-name (string-append name "-" version ".tar.gz"))
285 "15xd6afhsjl08285piwczrafmckpp8i29padj8v12xhahshprx7l"))))
286 (build-system cargo-build-system)
287 (home-page "https://github.com/ia0/data-encoding")
288 (synopsis "Efficient and customizable data-encoding functions")
290 "This library provides encodings for many different common cases, including
291 hexadecimal, bas32, and base64.")
292 (license license:expat)))
294 (define-public rust-defmac
301 (uri (crate-uri "defmac" version))
302 (file-name (string-append name "-" version ".tar.gz"))
305 "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv"))))
306 (build-system cargo-build-system)
307 (home-page "https://github.com/bluss/defmac")
308 (synopsis "Macro to define lambda-like macros inline")
309 (description "A macro to define lambda-like macros inline.")
310 (license (list license:asl2.0
313 (define-public rust-defmac-0.1
315 (inherit rust-defmac)
321 (uri (crate-uri "defmac" version))
322 (file-name (string-append name "-" version ".tar.gz"))
325 "17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
327 (define-public rust-discard
329 (name "rust-discard")
334 (uri (crate-uri "discard" version))
335 (file-name (string-append name "-" version ".tar.gz"))
338 "1h67ni5bxvg95s91wgicily4ix7lcw7cq0a5gy9njrybaibhyb91"))))
339 (build-system cargo-build-system)
340 (home-page "https://github.com/Pauan/rust-discard")
341 (synopsis "Allow for intentionally leaking memory")
342 (description "There are situations where you need to intentionally leak some
343 memory but not other memory. This package provides a discard trait which allows
344 for intentionally leaking memory")
345 (license license:expat)))
347 (define-public rust-doc-comment
349 (name "rust-doc-comment")
354 (uri (crate-uri "doc-comment" version))
355 (file-name (string-append name "-" version ".tar.gz"))
358 "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
359 (build-system cargo-build-system)
360 (home-page "https://github.com/GuillaumeGomez/doc-comment")
361 (synopsis "Macro to generate doc comments")
362 (description "This package provides a way to generate doc comments
364 (license license:expat)))
366 (define-public rust-dtoa
373 (uri (crate-uri "dtoa" version))
374 (file-name (string-append name "-" version ".tar.gz"))
377 "0phbm7i0dpn44gzi07683zxaicjap5064w62pidci4fhhciv8mza"))))
378 (build-system cargo-build-system)
379 (home-page "https://github.com/dtolnay/dtoa")
380 (synopsis "Fast functions for printing floating-point primitives")
381 (description "This crate provides fast functions for printing
382 floating-point primitives to an @code{io::Write}.")
383 (license (list license:asl2.0
386 (define-public rust-fallible-iterator
388 (name "rust-fallible-iterator")
393 (uri (crate-uri "fallible-iterator" version))
394 (file-name (string-append name "-" version ".tar.gz"))
397 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4"))))
398 (build-system cargo-build-system)
399 (home-page "https://github.com/sfackler/rust-fallible-iterator")
400 (synopsis "Fallible iterator traits")
401 (description "If the @code{std} or @code{alloc} features are enabled, this
402 crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and
403 @code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally
404 provides implementations for @code{HashMap} and @code{HashSet}.")
405 (license (list license:asl2.0
408 (define-public rust-findshlibs
410 (name "rust-findshlibs")
415 (uri (crate-uri "findshlibs" version))
416 (file-name (string-append name "-" version ".tar.gz"))
419 "1n2vagn0q5yim32hxkwi1cjgp3yn1dm45p7z8nw6lapywihhs9mi"))))
420 (build-system cargo-build-system)
423 (("rust-lazy-static" ,rust-lazy-static)
424 ("rust-libc" ,rust-libc))))
425 (home-page "https://github.com/gimli-rs/findshlibs")
426 (synopsis "Find the set of shared libraries loaded in the current process")
428 "Find the set of shared libraries loaded in the current process with a
429 cross platform API.")
430 (license (list license:asl2.0
433 (define-public rust-fixedbitset
435 (name "rust-fixedbitset")
440 (uri (crate-uri "fixedbitset" version))
441 (file-name (string-append name "-" version ".tar.gz"))
444 "0czam11mi80dbyhf4rd4lz0ihcf7vkfchrdcrn45wbs0h40dxm46"))))
445 (build-system cargo-build-system)
446 (home-page "https://github.com/bluss/fixedbitset")
447 (synopsis "FixedBitSet is a simple bitset collection")
448 (description "FixedBitSet is a simple bitset collection.")
449 (license (list license:asl2.0
452 (define-public rust-fnv
459 (uri (crate-uri "fnv" version))
460 (file-name (string-append name "-" version ".tar.gz"))
463 "1ww56bi1r5b8id3ns9j3qxbi7w5h005rzhiryy0zi9h97raqbb9g"))))
464 (build-system cargo-build-system)
465 (home-page "https://github.com/servo/rust-fnv")
466 (synopsis "implementation of the Fowler-Noll-Vo hash function")
467 (description "The @code{fnv} hash function is a custom @code{Hasher}
468 implementation that is more efficient for smaller hash keys.")
469 (license (list license:asl2.0
472 (define-public rust-foreign-types-shared
474 (name "rust-foreign-types-shared")
479 (uri (crate-uri "foreign-types-shared" version))
480 (file-name (string-append name "-" version ".tar.gz"))
483 "0kanxlif1vp0ffh2r9l610jqbkmb3183yqykxq1z5w1vay2rn7y6"))))
484 (build-system cargo-build-system)
485 (home-page "https://github.com/sfackler/foreign-types")
486 (synopsis "An internal crate used by foreign-types")
488 "An internal crate used by foreign-types.")
489 (license (list license:asl2.0
492 (define-public rust-fs-extra
494 (name "rust-fs-extra")
499 (uri (crate-uri "fs_extra" version))
500 (file-name (string-append name "-" version ".tar.gz"))
503 "0x6675wdhsx277k1k1235jwcv38naf20d8kwrk948ds26hh4lajz"))))
504 (build-system cargo-build-system)
505 (home-page "https://github.com/webdesus/fs_extra")
506 (synopsis "Extra filesystem methods")
507 (description "Expanding opportunities standard library @code{std::fs} and
508 @code{std::io}. Recursively copy folders with recept information about
509 process and much more.")
510 (license license:expat)))
512 (define-public rust-fuchsia-cprng
514 (name "rust-fuchsia-cprng")
519 (uri (crate-uri "fuchsia-cprng" version))
520 (file-name (string-append name "-" version ".tar.gz"))
523 "1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
524 (build-system cargo-build-system)
526 `(#:tests? #f)) ; tests require zircon
527 (home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
528 (synopsis "Fuchsia cryptographically secure pseudorandom number generator")
529 (description "Rust crate for the Fuchsia cryptographically secure
530 pseudorandom number generator")
531 (license license:bsd-3)))
533 (define-public rust-fuchsia-zircon
535 (name "rust-fuchsia-zircon")
540 (uri (crate-uri "fuchsia-zircon" version))
541 (file-name (string-append name "-" version ".tar.gz"))
544 "10jxc5ks1x06gpd0xg51kcjrxr35nj6qhx2zlc5n7bmskv3675rf"))))
545 (build-system cargo-build-system)
548 (("rust-bitflags" ,rust-bitflags)
549 ("rust-fuchsia-zircon-sys" ,rust-fuchsia-zircon-sys))
550 #:tests? #f)) ; tests require zircon
551 (home-page "https://fuchsia.googlesource.com/garnet/")
552 (synopsis "Rust bindings for the Zircon kernel")
553 (description "Rust bindings for the Zircon kernel.")
554 (license license:bsd-3)))
556 (define-public rust-fuchsia-zircon-sys
558 (name "rust-fuchsia-zircon-sys")
563 (uri (crate-uri "fuchsia-zircon-sys" version))
564 (file-name (string-append name "-" version ".tar.gz"))
567 "19zp2085qsyq2bh1gvcxq1lb8w6v6jj9kbdkhpdjrl95fypakjix"))))
568 (build-system cargo-build-system)
570 `(#:tests? #f)) ; tests require zircon
571 (home-page "https://fuchsia.googlesource.com/garnet/")
572 (synopsis "Low-level Rust bindings for the Zircon kernel")
573 (description "Low-level Rust bindings for the Zircon kernel.")
574 (license license:bsd-3)))
576 (define-public rust-futures
578 (name "rust-futures")
583 (uri (crate-uri "futures" version))
584 (file-name (string-append name "-" version ".tar.gz"))
587 "0saq8ffjw1pwf1pzhw3kq1z7dfq6wpd8x93dnni6vbkc799kkp25"))))
588 (build-system cargo-build-system)
589 (home-page "https://github.com/rust-lang-nursery/futures-rs")
590 (synopsis "Implementation of zero-cost futures in Rust")
591 (description "An implementation of @code{futures} and @code{streams}
592 featuring zero allocations, composability, and iterator-like interfaces.")
593 (license (list license:asl2.0
596 (define-public rust-futures-cpupool
598 (name "rust-futures-cpupool")
603 (uri (crate-uri "futures-cpupool" version))
604 (file-name (string-append name "-" version ".tar.gz"))
607 "1r32456gpblzfvnkf60545v8acqk7gh5zhyhi1jn669k9gicv45b"))))
608 (build-system cargo-build-system)
611 (("rust-futures" ,rust-futures)
612 ("rust-num-cpus" ,rust-num-cpus))))
613 (home-page "https://github.com/alexcrichton/futures-rs")
614 (synopsis "Implementation of thread pools which hand out futures")
616 "An implementation of thread pools which hand out futures to the results of
617 the computation on the threads themselves.")
618 (license (list license:asl2.0
621 (define-public rust-futures-io-preview
623 (name "rust-futures-io-preview")
624 (version "0.3.0-alpha.17")
628 (uri (crate-uri "futures-io-preview" version))
629 (file-name (string-append name "-" version ".tar.gz"))
632 "0fhvwhdb8ywjjbfng0ra1r8yyc9yzpyxg9sv3spb3f7w0lk40bh8"))))
633 (build-system cargo-build-system)
634 (home-page "https://rust-lang-nursery.github.io/futures-rs/")
635 (synopsis "Async read and write traits for the futures library")
636 (description "This crate provides the @code{AsyncRead} and
637 @code{AsyncWrite} traits for the @code{futures-rs} library.")
638 (license (list license:asl2.0
641 (define-public rust-heapsize
643 (name "rust-heapsize")
648 (uri (crate-uri "heapsize" version))
649 (file-name (string-append name "-" version ".tar.gz"))
652 "0q94q9ppqjgrw71swiyia4hgby2cz6dldp7ij57nkvhd6zmfcy8n"))))
653 (build-system cargo-build-system)
655 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))
656 ;; Tests assume rust is built with jemalloc.
657 ;; https://github.com/servo/heapsize/issues/74
658 #:cargo-test-flags '("--features" "flexible-tests")))
659 (home-page "https://github.com/servo/heapsize")
660 (synopsis "Measure the total runtime size of an object on the heap")
662 "Infrastructure for measuring the total runtime size of an object on the
664 (license (list license:asl2.0
667 (define-public rust-hex
674 (uri (crate-uri "hex" version))
675 (file-name (string-append name "-" version ".tar.gz"))
678 "0xsdcjiik5j750j67zk42qdnmm4ahirk3gmkmcqgq7qls2jjcl40"))))
679 (build-system cargo-build-system)
680 (home-page "https://github.com/KokaKiwi/rust-hex")
681 (synopsis "Encode and decode data to/from hexadecimals")
682 (description "This crate allows for encoding and decoding data into/from
683 hexadecimal representation.")
684 (license (list license:asl2.0
687 (define-public rust-hostname
689 (name "rust-hostname")
694 (uri (crate-uri "hostname" version))
695 (file-name (string-append name "-" version ".tar.gz"))
698 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1"))))
699 (build-system cargo-build-system)
702 (("rust-libc" ,rust-libc)
703 ("rust-winutil" ,rust-winutil))))
704 (home-page "https://github.com/fengcen/hostname")
705 (synopsis "Get hostname for Rust")
707 "Get hostname for Rust.")
708 (license license:expat)))
710 (define-public rust-iovec
717 (uri (crate-uri "iovec" version))
718 (file-name (string-append name "-" version ".tar.gz"))
721 "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
722 (build-system cargo-build-system)
725 (("rust-libc" ,rust-libc)
726 ("rust-winapi" ,rust-winapi-0.2))))
727 (home-page "https://github.com/carllerche/iovec")
728 (synopsis "Portable buffer type for scatter/gather I/O operations")
730 "Portable buffer type for scatter/gather I/O operations.")
731 (license (list license:asl2.0
734 (define-public rust-itoa
741 (uri (crate-uri "itoa" version))
742 (file-name (string-append name "-" version ".tar.gz"))
745 "0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
746 (build-system cargo-build-system)
747 (home-page "https://github.com/dtolnay/itoa")
748 (synopsis "Fast functions for printing integer primitives")
749 (description "This crate provides fast functions for printing integer
750 primitives to an @code{io::Write}.")
751 (license (list license:asl2.0
754 (define-public rust-json
761 (uri (crate-uri "json" version))
762 (file-name (string-append name "-" version ".tar.gz"))
765 "1hj8c6xj5c2aqqszi8naaflmcdbya1i9byyjrq4iybxjb4q91mq1"))))
766 (build-system cargo-build-system)
767 (home-page "https://github.com/maciejhirsz/json-rust")
768 (synopsis "JSON implementation in Rust")
769 (description "This crate provides a JSON implementation in Rust, reducing
770 friction with idiomatic Rust structs to ease interopability.")
771 (license (list license:asl2.0
774 (define-public rust-kernel32-sys
776 (name "rust-kernel32-sys")
781 (uri (crate-uri "kernel32-sys" version))
782 (file-name (string-append name "-" version ".tar.gz"))
785 "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm"))))
786 (build-system cargo-build-system)
789 (("rust-winapi" ,rust-winapi-0.2)
790 ("rust-winapi-build" ,rust-winapi-build))
792 (modify-phases %standard-phases
793 (add-after 'unpack 'fix-Cargo-toml
795 (substitute* "Cargo.toml"
796 ((", path =.* }") "}\n"))
798 (home-page "https://github.com/retep998/winapi-rs")
799 (synopsis "Function definitions for the Windows API library kernel32")
800 (description "Contains function definitions for the Windows API library
802 (license license:expat)))
804 (define-public rust-lazy-static
806 (name "rust-lazy-static")
811 (uri (crate-uri "lazy_static" version))
812 (file-name (string-append name "-" version ".tar.gz"))
815 "052ac27w189hrf1j3hz7sga46rp84zl2hqnzyihxv78mgzr2jmxw"))))
816 (build-system cargo-build-system)
818 `(#:cargo-inputs (("rust-spin" ,rust-spin))))
819 (home-page "https://github.com/rust-lang-nursery/lazy-static.rs")
820 (synopsis "Macro for declaring lazily evaluated statics in Rust")
822 "This package provides a macro for declaring lazily evaluated statics in
823 Rust. Using this macro, it is possible to have @code{static}s that require code
824 to be executed at runtime in order to be initialized. This includes anything
825 requiring heap allocations, like vectors or hash maps, as well as anything that
826 requires non-const function calls to be computed.")
827 (license (list license:asl2.0
830 (define-public rust-libc
837 (uri (crate-uri "libc" version))
839 (string-append name "-" version ".tar.gz"))
842 "1fh69kpjg8hqff36kdczx7sax98gk4qs4ws1dwvjz0rgip0d5z1l"))))
843 (build-system cargo-build-system)
846 (("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core))))
847 (home-page "https://github.com/rust-lang/libc")
848 (synopsis "Raw FFI bindings to platform libraries like libc")
850 "libc provides all of the definitions necessary to easily
851 interoperate with C code (or \"C-like\" code) on each of the platforms
852 that Rust supports. This includes type definitions (e.g., c_int),
853 constants (e.g., EINVAL) as well as function headers (e.g., malloc).
855 This crate exports all underlying platform types, functions, and
856 constants under the crate root, so all items are accessible as
857 @samp{libc::foo}. The types and values of all the exported APIs match
858 the platform that libc is compiled for.")
859 (license (list license:expat
862 (define-public rust-maplit
869 (uri (crate-uri "maplit" version))
870 (file-name (string-append name "-" version ".tar.gz"))
873 "0hsczmvd6zkqgzqdjp5hfyg7f339n68w83n4pxvnsszrzssbdjq8"))))
874 (build-system cargo-build-system)
875 (home-page "https://github.com/bluss/maplit")
876 (synopsis "Collection of Map macros")
877 (description "This crate provides a collection of @code{literal} macros for
878 @code{HashMap}, @code{HashSet}, @code{BTreeMap}, and @code{BTreeSet.}")
879 (license (list license:asl2.0
882 (define-public rust-matches
884 (name "rust-matches")
889 (uri (crate-uri "matches" version))
890 (file-name (string-append name "-" version ".tar.gz"))
893 "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"))))
894 (build-system cargo-build-system)
895 (home-page "https://github.com/SimonSapin/rust-std-candidates")
896 (synopsis "Macro to evaluate whether an expression matches a pattern.")
897 (description "This package provides a macro to evaluate, as a boolean,
898 whether an expression matches a pattern.")
899 (license license:expat)))
901 (define-public rust-md5
908 (uri (crate-uri "md5" version))
909 (file-name (string-append name "-" version ".tar.gz"))
912 "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy"))))
913 (build-system cargo-build-system)
914 (home-page "https://github.com/stainless-steel/md5")
915 (synopsis "MD5 hash function in Rust")
916 (description "The package provides the MD5 hash function.")
917 (license (list license:asl2.0
920 (define-public rust-mime
927 (uri (crate-uri "mime" version))
928 (file-name (string-append name "-" version ".tar.gz"))
931 "09clbyvdkwflp8anwjhqdib0sw8191gphcchdp80nc8ayhhwl9ry"))))
932 (build-system cargo-build-system)
935 (("rust-unicase" ,rust-unicase))))
936 (home-page "https://github.com/hyperium/mime")
937 (synopsis "Strongly Typed Mimes")
939 "Support MIME (HTTP Media Types) as strong types in Rust.")
940 (license (list license:asl2.0
943 (define-public rust-modifier
945 (name "rust-modifier")
950 (uri (crate-uri "modifier" version))
951 (file-name (string-append name "-" version ".tar.gz"))
954 "0n3fmgli1nsskl0whrfzm1gk0rmwwl6pw1q4nb9sqqmn5h8wkxa1"))))
955 (build-system cargo-build-system)
956 (home-page "https://github.com/reem/rust-modifier")
958 "Chaining APIs for both self -> Self and &mut self methods.")
960 "Chaining APIs for both self -> Self and &mut self methods.")
961 (license license:expat)))
963 (define-public rust-net2
970 (uri (crate-uri "net2" version))
971 (file-name (string-append name "-" version ".tar.gz"))
974 "126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
975 (build-system cargo-build-system)
978 (("rust-cfg-if" ,rust-cfg-if)
979 ("rust-libc" ,rust-libc)
980 ("rust-winapi" ,rust-winapi))))
981 (home-page "https://github.com/rust-lang-nursery/net2-rs")
982 (synopsis "Extensions to the standard library's networking types")
984 "This library contains extensions to the standard library's networking
985 types as proposed in RFC 1158.")
986 (license (list license:asl2.0
989 (define-public rust-num-cpus
991 (name "rust-num-cpus")
996 (uri (crate-uri "num_cpus" version))
997 (file-name (string-append name "-" version ".tar.gz"))
1000 "0wrj3zvj6h3q26sqj9zxpd59frjb54n7jhjwf307clq31ic47vxw"))))
1001 (build-system cargo-build-system)
1004 (("rust-libc" ,rust-libc))
1005 #:cargo-development-inputs
1006 (("rust-doc-comment" ,rust-doc-comment))))
1007 (home-page "https://github.com/seanmonstar/num_cpus")
1008 (synopsis "Get the number of CPUs on a machine")
1010 "Get the number of CPUs on a machine.")
1011 (license (list license:asl2.0
1014 (define-public rust-num-integer
1016 (name "rust-num-integer")
1021 (uri (crate-uri "num-integer" version))
1023 (string-append name "-" version ".tar.gz"))
1026 "02dwjjpfbi16c71fq689s4sw3ih52cvfzr5z5gs6qpr5z0g58pmq"))))
1027 (build-system cargo-build-system)
1030 (("rust-autocfg" ,rust-autocfg)
1031 ("rust-num-traits" ,rust-num-traits))))
1032 (home-page "https://github.com/rust-num/num-integer")
1033 (synopsis "Integer traits and functions")
1034 (description "Integer traits and functions.")
1036 (license (list license:asl2.0
1039 (define-public rust-num-iter
1041 (name "rust-num-iter")
1046 (uri (crate-uri "num-iter" version))
1047 (file-name (string-append name "-" version ".tar.gz"))
1050 "0bhk2qbr3261r6zvfc58lz4spfqjhvdripxgz5mks5rd85r55gbn"))))
1051 (build-system cargo-build-system)
1054 (("rust-num-integer" ,rust-num-integer)
1055 ("rust-num-traits" ,rust-num-traits))
1056 #:cargo-development-inputs
1057 (("rust-autocfg" ,rust-autocfg))))
1058 (home-page "https://github.com/rust-num/num-iter")
1059 (synopsis "External iterators for generic mathematics")
1061 "This crate provides external iterators for generic mathematics.")
1062 (license (list license:asl2.0
1065 (define-public rust-num-traits
1067 (name "rust-num-traits")
1072 (uri (crate-uri "num-traits" version))
1074 (string-append name "-" version ".tar.gz"))
1077 "0clvrm34rrqc8p6gq5ps5fcgws3kgq5knh7nlqxf2ayarwks9abb"))))
1078 (build-system cargo-build-system)
1081 (("rust-autocfg" ,rust-autocfg))))
1082 (home-page "https://github.com/rust-num/num-traits")
1083 (synopsis "Numeric traits for generic mathematics")
1084 (description "Numeric traits for generic mathematics.")
1086 (license (list license:asl2.0
1089 (define-public rust-peeking-take-while
1091 (name "rust-peeking-take-while")
1096 (uri (crate-uri "peeking_take_while" version))
1097 (file-name (string-append name "-" version ".tar.gz"))
1100 "16bhqr6rdyrp12zv381cxaaqqd0pwysvm1q8h2ygihvypvfprc8r"))))
1101 (build-system cargo-build-system)
1102 (home-page "https://github.com/fitzgen/peeking_take_while")
1103 (synopsis "Provides the peeking_take_while iterator adaptor method")
1105 "Like @code{Iterator::take_while}, but calls the predicate on a peeked
1106 value. This allows you to use @code{Iterator::by_ref} and
1107 @code{Iterator::take_while} together, and still get the first value for which
1108 the @code{take_while} predicate returned false after dropping the @code{by_ref}.")
1109 (license (list license:asl2.0
1112 (define-public rust-percent-encoding
1114 (name "rust-percent-encoding")
1119 (uri (crate-uri "percent-encoding" version))
1120 (file-name (string-append name "-" version ".tar.gz"))
1123 "0m6rkp3iy11la04p6z3492rns6n693pvmx585dvfmzzlzak2hkxs"))))
1124 (build-system cargo-build-system)
1125 (home-page "https://github.com/servo/rust-url/")
1126 (synopsis "Percent encoding and decoding")
1127 (description "This crate provides percent encoding and decoding.")
1128 (license (list license:asl2.0
1131 (define-public rust-permutohedron
1133 (name "rust-permutohedron")
1138 (uri (crate-uri "permutohedron" version))
1139 (file-name (string-append name "-" version ".tar.gz"))
1142 "0b1pzh48j86v46wxngch6k1kx9cdw3jr3lwa86gd6jd4bmxzz1xn"))))
1143 (build-system cargo-build-system)
1144 (home-page "https://github.com/bluss/permutohedron")
1145 (synopsis "Generate permutations of sequences")
1147 "Generate permutations of sequences. Either lexicographical order
1148 permutations, or a minimal swaps permutation sequence implemented using Heap's
1150 (license (list license:asl2.0
1153 (define-public rust-pin-utils
1155 (name "rust-pin-utils")
1156 (version "0.1.0-alpha.4")
1160 (uri (crate-uri "pin-utils" version))
1161 (file-name (string-append name "-" version ".tar.gz"))
1164 "11xmyx00n4m37d546by2rxb8ryxs12v55cc172i3yak1rqccd52q"))))
1165 (build-system cargo-build-system)
1166 (home-page "https://github.com/rust-lang-nursery/pin-utils")
1167 (synopsis "Utilities for pinning")
1168 (description "This crate provides utilities for pinning values on the stack.")
1169 (license (list license:asl2.0
1172 (define-public rust-pkg-config
1174 (name "rust-pkg-config")
1179 (uri (crate-uri "pkg-config" version))
1180 (file-name (string-append name "-" version ".tar.gz"))
1183 "135ia995lqzr0gxpk85h0bjxf82kj6hbxdx924sh9jdln6r8wvk7"))))
1184 (build-system cargo-build-system)
1186 `(#:cargo-development-inputs
1187 (("rust-lazy-static" ,rust-lazy-static))))
1189 `(("pkg-config" ,pkg-config)))
1190 (home-page "https://github.com/alexcrichton/pkg-config-rs")
1191 (synopsis "Library to run the pkg-config system tool")
1193 "A library to run the pkg-config system tool at build time in order to be
1194 used in Cargo build scripts.")
1195 (license (list license:asl2.0
1198 (define-public rust-plain
1205 (uri (crate-uri "plain" version))
1206 (file-name (string-append name "-" version ".tar.gz"))
1209 "19n1xbxb4wa7w891268bzf6cbwq4qvdb86bik1z129qb0xnnnndl"))))
1210 (build-system cargo-build-system)
1211 (home-page "https://github.com/randomites/plain")
1212 (synopsis "Rust library that allows reinterpreting data safely")
1213 (description "This package provides a small Rust library that allows users
1214 to reinterpret data of certain types safely.")
1215 (license (list license:asl2.0
1218 (define-public rust-plugin
1220 (name "rust-plugin")
1225 (uri (crate-uri "plugin" version))
1226 (file-name (string-append name "-" version ".tar.gz"))
1229 "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
1230 (build-system cargo-build-system)
1233 (("rust-typemap" ,rust-typemap))
1234 #:cargo-development-inputs
1235 (("rust-void" ,rust-void))))
1236 (home-page "https://github.com/reem/rust-plugin")
1237 (synopsis "Lazily evaluated, order-independent plugins for extensible types")
1239 "Lazily evaluated, order-independent plugins for extensible types.")
1240 (license license:expat)))
1242 (define-public rust-pocket-resources
1244 (name "rust-pocket-resources")
1249 (uri (crate-uri "pocket-resources" version))
1250 (file-name (string-append name "-" version ".tar.gz"))
1253 "1n2i5vmi8fdbw89wm5nz1ws1z9f1qax911p6ksg4scmdg23z6df1"))))
1254 (build-system cargo-build-system)
1255 (home-page "https://github.com/tomaka/pocket-resources")
1256 (synopsis "Include resources in your applications")
1257 (description "This crate allows you to include resources in your
1259 (license license:expat)))
1261 (define-public rust-ppv-lite86
1263 (name "rust-ppv-lite86")
1268 (uri (crate-uri "ppv-lite86" version))
1269 (file-name (string-append name "-" version ".tar.gz"))
1272 "06snnv338w341nicfqba2jgln5dsla72ndkgrw7h1dfdb3vgkjz3"))))
1273 (build-system cargo-build-system)
1274 (home-page "https://github.com/cryptocorrosion/cryptocorrosion")
1275 (synopsis "Implementation of the crypto-simd API for x86")
1276 (description "This crate provides an implementation of the crypto-simd API
1278 (license (list license:asl2.0
1281 (define-public rust-proc-macro2
1283 (name "rust-proc-macro2")
1288 (uri (crate-uri "proc-macro2" version))
1290 (string-append name "-" version ".tar.gz"))
1293 "0nd71fl24sys066jrha6j7i34nfkjv44yzw8yww9742wmc8j0gfg"))))
1294 (build-system cargo-build-system)
1296 `(#:cargo-inputs (("rust-unicode-xid" ,rust-unicode-xid))
1297 #:cargo-development-inputs (("rust-quote" ,rust-quote))))
1298 (home-page "https://github.com/alexcrichton/proc-macro2")
1299 (synopsis "Stable implementation of the upcoming new `proc_macro` API")
1300 (description "This package provides a stable implementation of the upcoming new
1301 `proc_macro` API. Comes with an option, off by default, to also reimplement itself
1302 in terms of the upstream unstable API.")
1304 (license (list license:asl2.0 license:expat))))
1306 (define-public rust-quick-error
1308 (name "rust-quick-error")
1313 (uri (crate-uri "quick-error" version))
1314 (file-name (string-append name "-" version ".tar.gz"))
1317 "1w6kgwwv7p7zr0yyg5rb315lkk24bimywklwx7fsvsbwi10bjx4j"))))
1318 (build-system cargo-build-system)
1319 (home-page "http://github.com/tailhook/quick-error")
1320 (synopsis "Macro which makes error types pleasant to write")
1321 (description "This crate provides a macro which makes error types pleasant
1323 (license (list license:asl2.0
1326 (define-public rust-quote
1333 (uri (crate-uri "quote" version))
1335 (string-append name "-" version ".tar.gz"))
1338 "1nw0klza45hf127kfyrpxsxd5jw2l6h21qxalil3hkr7bnf7kx7s"))))
1339 (build-system cargo-build-system)
1341 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2))))
1342 (home-page "https://github.com/dtolnay/quote")
1343 (synopsis "Quasi-quoting macro quote!(...)")
1344 (description "Quasi-quoting macro quote!(...)")
1346 (license (list license:asl2.0 license:expat))))
1348 (define-public rust-rawpointer
1350 (name "rust-rawpointer")
1355 (uri (crate-uri "rawpointer" version))
1356 (file-name (string-append name "-" version ".tar.gz"))
1359 "06ghpm9y7gacks78s3maakha07kbnwrxif5q37r2l7z1sali3b7b"))))
1360 (build-system cargo-build-system)
1361 (home-page "https://github.com/bluss/rawpointer/")
1362 (synopsis "Extra methods for raw pointers")
1363 (description "Extra methods for raw pointers. For example
1364 @code{.post_inc()} and @code{.pre_dec()} (c.f. @code{ptr++} and @code{--ptr})
1365 and @code{ptrdistance}.")
1366 (license (list license:asl2.0
1369 (define-public rust-regex-syntax
1371 (name "rust-regex-syntax")
1376 (uri (crate-uri "regex-syntax" version))
1377 (file-name (string-append name "-" version ".tar.gz"))
1380 "0p47lf38yj2g2fnmvnraccqlxwk35zr76hlnqi8yva932nzqam6d"))))
1381 (build-system cargo-build-system)
1384 (("rust-ucd-util" ,rust-ucd-util))))
1385 (home-page "https://github.com/rust-lang/regex")
1386 (synopsis "Regular expression parser")
1388 "This package provides a regular expression parser.")
1389 (license (list license:asl2.0
1392 (define-public rust-remove-dir-all
1394 (name "rust-remove-dir-all")
1399 (uri (crate-uri "remove_dir_all" version))
1400 (file-name (string-append name "-" version ".tar.gz"))
1403 "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
1404 (build-system cargo-build-system)
1407 (("rust-winapi" ,rust-winapi))
1408 #:cargo-development-inputs
1409 (("rust-doc-comment" ,rust-doc-comment))
1411 (modify-phases %standard-phases
1412 (add-after 'unpack 'fix-source
1413 ;; The test phase expects there to be a README.md in the root directory.
1415 (invoke "touch" "README.md"))))))
1416 (home-page "https://github.com/XAMPPRocky/remove_dir_all.git")
1417 (synopsis "Implementation of remove_dir_all for Windows")
1419 "This package provides a safe, reliable implementation of
1420 @code{remove_dir_all} for Windows")
1421 (license (list license:asl2.0
1424 (define-public rust-resolv-conf
1426 (name "rust-resolv-conf")
1431 (uri (crate-uri "resolv-conf" version))
1432 (file-name (string-append name "-" version ".tar.gz"))
1435 "1jvdsmksdf6yiipm3aqahyv8n1cjd7wqc8sa0p0gzsax3fmb8qxj"))))
1436 (build-system cargo-build-system)
1439 (("rust-quick-error" ,rust-quick-error)
1440 ("rust-hostname" ,rust-hostname))
1441 #:cargo-test-flags '("--release" "--lib" "--examples"))) ; doc tests fail
1442 (home-page "https://github.com/tailhook/resolv-conf")
1443 (synopsis "/etc/resolv.conf parser")
1445 "An /etc/resolv.conf parser crate for Rust.")
1446 (license (list license:asl2.0
1449 (define-public rust-rustc-std-workspace-core
1451 (name "rust-rustc-std-workspace-core")
1456 (uri (crate-uri "rustc-std-workspace-core" version))
1457 (file-name (string-append name "-" version ".tar.gz"))
1460 "1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
1461 (build-system cargo-build-system)
1462 (home-page "https://crates.io/crates/rustc-std-workspace-core")
1463 (synopsis "Explicitly empty crate for rust-lang/rust integration")
1464 (description "This crate provides an explicitly empty crate for
1465 rust-lang/rust integration.")
1466 (license (list license:asl2.0
1469 (define-public rust-safemem
1471 (name "rust-safemem")
1476 (uri (crate-uri "safemem" version))
1477 (file-name (string-append name "-" version ".tar.gz"))
1480 "1l1ljkm4lpyryrv2ndaxi1f7z1f3v9bwy1rzl9f9mbhx04iq9c6j"))))
1481 (build-system cargo-build-system)
1482 (home-page "https://github.com/abonander/safemem")
1483 (synopsis "Safe wrappers for memory-accessing functions")
1485 "Safe wrappers for memory-accessing functions, like @code{std::ptr::copy()}.")
1486 (license (list license:asl2.0
1489 (define-public rust-same-file
1491 (name "rust-same-file")
1496 (uri (crate-uri "same-file" version))
1497 (file-name (string-append name "-" version ".tar.gz"))
1500 "08a4zy10pjindf2rah320s6shgswk13mqw7s61m8i1y1xpf8spjq"))))
1501 (build-system cargo-build-system)
1504 (("rust-winapi-util" ,rust-winapi-util))))
1505 (home-page "https://github.com/BurntSushi/same-file")
1506 (synopsis "Determine whether two file paths point to the same file")
1508 "This package provides a simple crate for determining whether two file
1509 paths point to the same file.")
1510 (license (list license:unlicense
1513 (define-public rust-schannel
1515 (name "rust-schannel")
1520 (uri (crate-uri "schannel" version))
1521 (file-name (string-append name "-" version ".tar.gz"))
1524 "0f9k4pm8yc3z0n1n8hazvnrvg52f0sfxjc91bhf3r76rb3rapxpj"))))
1525 (build-system cargo-build-system)
1528 (("rust-lazy-static" ,rust-lazy-static)
1529 ("rust-winapi" ,rust-winapi))))
1530 (home-page "https://github.com/steffengy/schannel-rs")
1531 (synopsis "Rust bindings to the Windows SChannel APIs")
1533 "Rust bindings to the Windows SChannel APIs providing TLS client and
1534 server functionality.")
1535 (license license:expat)))
1537 (define-public rust-scoped-tls
1539 (name "rust-scoped-tls")
1544 (uri (crate-uri "scoped-tls" version))
1545 (file-name (string-append name "-" version ".tar.gz"))
1548 "1hj8lifzvivdb1z02lfnzkshpvk85nkgzxsy2hc0zky9wf894spa"))))
1549 (build-system cargo-build-system)
1550 (home-page "https://github.com/alexcrichton/scoped-tls")
1551 (synopsis "Rust library providing the old standard library's scoped_thread_local")
1552 (description "This crate provides a library implementation of the standard
1553 library's old @code{scoped_thread_local!} macro for providing scoped access to
1554 @dfn{thread local storage} (TLS) so any type can be stored into TLS.")
1555 (license (list license:asl2.0
1558 (define-public rust-scoped-tls-0.1
1560 (inherit rust-scoped-tls)
1561 (name "rust-scoped-tls")
1566 (uri (crate-uri "scoped-tls" version))
1567 (file-name (string-append name "-" version ".tar.gz"))
1570 "0a2bn9d2mb07c6l16sadijy4p540g498zddfxyiq4rsqpwrglbrk"))))))
1572 (define-public rust-scopeguard
1574 (name "rust-scopeguard")
1579 (uri (crate-uri "scopeguard" version))
1580 (file-name (string-append name "-" version ".tar.gz"))
1583 "03aay84r1f6w87ckbpj6cc4rnsxkxcfs13n5ynxjia0qkgjiabml"))))
1584 (build-system cargo-build-system)
1585 (home-page "https://github.com/bluss/scopeguard")
1586 (synopsis "Scope guard which will run a closure even out of scope")
1587 (description "This package provides a RAII scope guard that will run a
1588 given closure when it goes out of scope, even if the code between panics
1589 (assuming unwinding panic). Defines the macros @code{defer!},
1590 @code{defer_on_unwind!}, @code{defer_on_success!} as shorthands for guards
1591 with one of the implemented strategies.")
1592 (license (list license:asl2.0
1595 (define-public rust-scopeguard-0.3
1597 (inherit rust-scopeguard)
1598 (name "rust-scopeguard")
1603 (uri (crate-uri "scopeguard" version))
1605 (string-append name "-" version ".tar.gz"))
1608 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl"))))))
1610 (define-public rust-security-framework-sys
1612 (name "rust-security-framework-sys")
1617 (uri (crate-uri "security-framework-sys" version))
1618 (file-name (string-append name "-" version ".tar.gz"))
1621 "0mlsakq9kmqyc0fg2hcbgm6rjk55mb0rhjw2wid3hqdzkjcghdln"))))
1622 (build-system cargo-build-system)
1625 (("rust-core-foundation-sys"
1626 ,rust-core-foundation-sys))))
1627 (home-page "https://lib.rs/crates/security-framework-sys")
1628 (synopsis "Apple `Security.framework` low-level FFI bindings")
1630 "Apple `Security.framework` low-level FFI bindings.")
1631 (license (list license:asl2.0
1634 (define-public rust-semver-parser
1636 (name "rust-semver-parser")
1641 (uri (crate-uri "semver-parser" version))
1642 (file-name (string-append name "-" version ".tar.gz"))
1645 "1ahqhvgpzhcsd28id7xnrjv4419i9yyalhm7d7zi430qx0hi2vml"))))
1646 (build-system cargo-build-system)
1647 (home-page "https://github.com/steveklabnik/semver-parser")
1648 (synopsis "Parsing of the semver spec")
1649 (description "This package provides for parsing of the semver spec.")
1650 (license (list license:asl2.0
1653 (define-public rust-shlex
1660 (uri (crate-uri "shlex" version))
1661 (file-name (string-append name "-" version ".tar.gz"))
1664 "1lmv6san7g8dv6jdfp14m7bdczq9ss7j7bgsfqyqjc3jnjfippvz"))))
1665 (build-system cargo-build-system)
1666 (home-page "https://github.com/comex/rust-shlex")
1667 (synopsis "Split a string into shell words, like Python's shlex")
1668 (description "This crate provides a method to split a string into shell
1669 words, like Python's shlex.")
1670 (license (list license:asl2.0
1673 (define-public rust-slab
1680 (uri (crate-uri "slab" version))
1681 (file-name (string-append name "-" version ".tar.gz"))
1684 "1y59xsa27jk84sxzswjk60xcjf8b4fm5960jwpznrrcmasyva4f1"))))
1685 (build-system cargo-build-system)
1686 (home-page "https://github.com/carllerche/slab")
1687 (synopsis "Pre-allocated storage for a uniform data type")
1688 (description "This create provides a pre-allocated storage for a uniform
1690 (license license:expat)))
1692 (define-public rust-spin
1699 (uri (crate-uri "spin" version))
1700 (file-name (string-append name "-" version ".tar.gz"))
1703 "0m9clchsj0rf13bggsgvbv9haiy0f6rhvnvkpvkk8720a5pkydj4"))))
1704 (build-system cargo-build-system)
1705 (home-page "https://github.com/mvdnes/spin-rs.git")
1706 (synopsis "Synchronization primitives based on spinning")
1707 (description "This crate provides synchronization primitives based on
1708 spinning. They may contain data, are usable without @code{std},and static
1709 initializers are available.")
1710 (license license:expat)))
1712 (define-public rust-stable-deref-trait
1714 (name "rust-stable-deref-trait")
1719 (uri (crate-uri "stable_deref_trait" version))
1720 (file-name (string-append name "-" version ".tar.gz"))
1723 "1j2lkgakksmz4vc5hfawcch2ipiskrhjs1sih0f3br7s7rys58fv"))))
1724 (build-system cargo-build-system)
1725 (home-page "https://github.com/storyyeller/stable_deref_trait0")
1726 (synopsis "Defines an unsafe marker trait, StableDeref")
1728 "This crate defines an unsafe marker trait, StableDeref, for container
1729 types which deref to a fixed address which is valid even when the containing
1730 type is moved. For example, Box, Vec, Rc, Arc and String implement this trait.
1731 Additionally, it defines CloneStableDeref for types like Rc where clones deref
1732 to the same address.")
1733 (license (list license:asl2.0
1736 (define-public rust-stdweb-internal-runtime
1738 (name "rust-stdweb-internal-runtime")
1743 (uri (crate-uri "stdweb-internal-runtime" version))
1744 (file-name (string-append name "-" version ".tar.gz"))
1747 "1nhpyra7glbwcpakhpj5a3d7h7kx1ynif473nzshmk226m91f8ym"))))
1748 (build-system cargo-build-system)
1749 (home-page "https://github.com/koute/stdweb")
1750 (synopsis "Internal runtime for the @code{stdweb} crate")
1751 (description "This crate provides internal runtime for the @code{stdweb}
1753 (license (list license:asl2.0
1756 (define-public rust-stdweb-internal-test-macro
1758 (name "rust-stdweb-internal-test-macro")
1763 (uri (crate-uri "stdweb-internal-test-macro" version))
1764 (file-name (string-append name "-" version ".tar.gz"))
1767 "12rrm7p77xnm3xacgn3rgniiyyjb4gq7902wpbljsvbx045z69l2"))))
1768 (build-system cargo-build-system)
1771 (("rust-proc-macro2" ,rust-proc-macro2)
1772 ("rust-quote" ,rust-quote))))
1773 (home-page "https://github.com/koute/stdweb")
1774 (synopsis "Internal crate of the `stdweb` crate")
1776 "Internal crate of the @code{stdweb} crate.")
1777 (license (list license:asl2.0
1780 (define-public rust-streaming-stats
1782 (name "rust-streaming-stats")
1787 (uri (crate-uri "streaming-stats" version))
1788 (file-name (string-append name "-" version ".tar.gz"))
1791 "0l7xz4g6709s80zqpvlhrg0qhgz64r94cwhmfsg8xhabgznbp2px"))))
1792 (build-system cargo-build-system)
1795 (("rust-num-traits" ,rust-num-traits))))
1796 (home-page "https://github.com/BurntSushi/rust-stats")
1797 (synopsis "Compute basic statistics on streams")
1799 "Experimental crate for computing basic statistics on streams.")
1800 (license (list license:unlicense
1803 (define-public rust-strsim
1805 (name "rust-strsim")
1810 (uri (crate-uri "strsim" version))
1811 (file-name (string-append name "-" version ".tar.gz"))
1814 "1xphwhf86yxxmcpvm4mikj8ls41f6nf7gqyjm98b74mfk81h6b03"))))
1815 (build-system cargo-build-system)
1816 (home-page "https://github.com/dguo/strsim-rs")
1817 (synopsis "Rust implementations of string similarity metrics")
1818 (description "This crate includes implementations of string similarity
1819 metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
1821 (license license:expat)))
1823 (define-public rust-synstructure-test-traits
1825 (name "rust-synstructure-test-traits")
1830 (uri (crate-uri "synstructure_test_traits" version))
1831 (file-name (string-append name "-" version ".tar.gz"))
1834 "1b3fs2b9kc1gy9dilaxqjbdl4z0mlrbbxjzkprdx953rif1c3q66"))))
1835 (build-system cargo-build-system)
1836 (home-page "https://crates.io/crates/synstructure_test_traits")
1837 (synopsis "Helper test traits for synstructure doctests")
1839 "This package provides helper test traits for synstructure doctests.")
1840 (license license:expat)))
1842 (define-public rust-termcolor
1844 (name "rust-termcolor")
1849 (uri (crate-uri "termcolor" version))
1850 (file-name (string-append name "-" version ".tar.gz"))
1853 "0vjfsn1a8zvqhnrbygrz1id6yckwv1dncw3w4zj65qdx0f00kmln"))))
1854 (build-system cargo-build-system)
1857 (("rust-wincolor" ,rust-wincolor))))
1858 (home-page "https://github.com/BurntSushi/termcolor")
1859 (synopsis "Library for writing colored text to a terminal")
1860 (description "This package provides a simple cross platform library for
1861 writing colored text to a terminal.")
1862 (license (list license:unlicense
1865 (define-public rust-termios
1867 (name "rust-termios")
1872 (uri (crate-uri "termios" version))
1873 (file-name (string-append name "-" version ".tar.gz"))
1876 "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj"))))
1877 (build-system cargo-build-system)
1879 `(#:cargo-inputs (("rust-libc" ,rust-libc))))
1880 (home-page "https://github.com/dcuddeback/termios-rs")
1881 (synopsis "Safe bindings for the termios library")
1883 "The termios crate provides safe bindings for the Rust programming language
1884 to the terminal I/O interface implemented by Unix operating systems. The safe
1885 bindings are a small wrapper around the raw C functions, which converts integer
1886 return values to @code{std::io::Result} to indicate success or failure.")
1887 (license license:expat)))
1889 (define-public rust-thread-local
1891 (name "rust-thread-local")
1896 (uri (crate-uri "thread_local" version))
1897 (file-name (string-append name "-" version ".tar.gz"))
1900 "06rzik99p8c5js8238yhc8rk6np543ylb1dy9nrw5v80j0r3xdf6"))))
1901 (build-system cargo-build-system)
1904 (("rust-lazy-static" ,rust-lazy-static))))
1905 (home-page "https://github.com/Amanieu/thread_local-rs")
1906 (synopsis "Per-object thread-local storage")
1907 (description "Per-object thread-local storage")
1908 (license (list license:asl2.0
1911 (define-public rust-threadpool
1913 (name "rust-threadpool")
1918 (uri (crate-uri "threadpool" version))
1919 (file-name (string-append name "-" version ".tar.gz"))
1922 "0rd89n1q7vy47w4c32cnynibffv9kj3jy3dwr0536n9lbw5ckw72"))))
1923 (build-system cargo-build-system)
1926 (("rust-num-cpus" ,rust-num-cpus))))
1927 (home-page "https://github.com/rust-threadpool/rust-threadpool")
1928 (synopsis "Thread pool for running jobs on a fixed set of worker threads")
1930 "This package provides a thread pool for running a number of jobs on a
1931 fixed set of worker threads.")
1932 (license (list license:asl2.0
1935 (define-public rust-tokio-mock-task
1937 (name "rust-tokio-mock-task")
1942 (uri (crate-uri "tokio-mock-task" version))
1943 (file-name (string-append name "-" version ".tar.gz"))
1946 "1y7q83qfk9ljjfvs82b453pmz9x1v3d6kr4x55j8mal01s6790dw"))))
1947 (build-system cargo-build-system)
1949 `(#:cargo-inputs (("rust-futures" ,rust-futures))))
1950 (home-page "https://github.com/carllerche/tokio-mock-task")
1951 (synopsis "Mock a Tokio task")
1952 (description "Mock a Tokio task")
1953 (license license:expat)))
1955 (define-public rust-tracing-core
1957 (name "rust-tracing-core")
1962 (uri (crate-uri "tracing-core" version))
1963 (file-name (string-append name "-" version ".tar.gz"))
1966 "01fa73wzw2m5ybi3kkd52dgrw97mgc3i6inmhwys46ab28giwnxi"))))
1967 (build-system cargo-build-system)
1970 (("rust-lazy-static" ,rust-lazy-static))))
1971 (home-page "https://tokio.rs")
1972 (synopsis "Core primitives for application-level tracing")
1974 "Core primitives for application-level tracing.")
1975 (license (list license:asl2.0
1978 (define-public rust-traitobject
1980 (name "rust-traitobject")
1985 (uri (crate-uri "traitobject" version))
1986 (file-name (string-append name "-" version ".tar.gz"))
1989 "0yb0n8822mr59j200fyr2fxgzzgqljyxflx9y8bdy3rlaqngilgg"))))
1990 (build-system cargo-build-system)
1991 (home-page "https://github.com/reem/rust-traitobject.git")
1992 (synopsis "Unsafe helpers for dealing with raw trait objects")
1993 (description "Unsafe helpers for dealing with raw trait objects.")
1994 (license (list license:asl2.0
1997 (define-public rust-try-from
1999 (name "rust-try-from")
2004 (uri (crate-uri "try_from" version))
2005 (file-name (string-append name "-" version ".tar.gz"))
2008 "12wdd4ja7047sd3rx70hv2056hyc8gcdllcx3a41g1rnw64kng98"))))
2009 (build-system cargo-build-system)
2012 (("rust-cfg-if" ,rust-cfg-if))))
2013 (home-page "https://github.com/derekjw/try_from")
2014 (synopsis "TryFrom and TryInto traits for failable conversions")
2016 "TryFrom and TryInto traits for failable conversions that return a Result.")
2017 (license license:expat)))
2019 (define-public rust-try-lock
2021 (name "rust-try-lock")
2026 (uri (crate-uri "try-lock" version))
2027 (file-name (string-append name "-" version ".tar.gz"))
2030 "10p36rx6pqi9d0zr876xa8vksx2m66ha45myakl50rn08dxyn176"))))
2031 (build-system cargo-build-system)
2032 (home-page "https://github.com/seanmonstar/try-lock")
2033 (synopsis "Lightweight atomic lock")
2035 "This package provides a lightweight atomic lock.")
2036 (license license:expat)))
2038 (define-public rust-typeable
2040 (name "rust-typeable")
2045 (uri (crate-uri "typeable" version))
2046 (file-name (string-append name "-" version ".tar.gz"))
2049 "11w8dywgnm32hb291izjvh4zjd037ccnkk77ahk63l913zwzc40l"))))
2050 (build-system cargo-build-system)
2051 (home-page "https://github.com/reem/rust-typeable")
2052 (synopsis "Exposes Typeable, for getting TypeIds at runtime")
2053 (description "Exposes Typeable, for getting TypeIds at runtime.")
2054 (license license:expat)))
2056 (define-public rust-typemap
2058 (name "rust-typemap")
2063 (uri (crate-uri "typemap" version))
2064 (file-name (string-append name "-" version ".tar.gz"))
2067 "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
2068 (build-system cargo-build-system)
2071 (("rust-unsafe-any" ,rust-unsafe-any))))
2072 (home-page "https://github.com/reem/rust-typemap")
2073 (synopsis "Typesafe store for many value types")
2075 "A typesafe store for many value types.")
2076 (license license:expat)))
2078 (define-public rust-typenum
2080 (name "rust-typenum")
2085 (uri (crate-uri "typenum" version))
2086 (file-name (string-append name "-" version ".tar.gz"))
2089 "0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
2090 (build-system cargo-build-system)
2091 (home-page "https://github.com/paholg/typenum")
2092 (synopsis "Rust library for type-level numbers evaluated at compile time")
2093 (description "Typenum is a Rust library for type-level numbers evaluated at
2094 compile time. It currently supports bits, unsigned integers, and signed
2095 integers. It also provides a type-level array of type-level numbers, but its
2096 implementation is incomplete.")
2097 (license (list license:asl2.0
2100 (define-public rust-ucd-trie
2102 (name "rust-ucd-trie")
2107 (uri (crate-uri "ucd-trie" version))
2108 (file-name (string-append name "-" version ".tar.gz"))
2111 "1hh6kyzh5xygwy96wfmsf8v8czlzhps2lgbcyhj1xzy1w1xys04g"))))
2112 (build-system cargo-build-system)
2114 `(#:cargo-development-inputs
2115 (("rust-lazy-static" ,rust-lazy-static))))
2116 (home-page "https://github.com/BurntSushi/ucd-generate")
2117 (synopsis "Trie for storing Unicode codepoint sets and maps")
2119 "This package provides a trie for storing Unicode codepoint sets and maps.")
2120 (license (list license:asl2.0
2123 (define-public rust-ucd-util
2125 (name "rust-ucd-util")
2130 (uri (crate-uri "ucd-util" version))
2131 (file-name (string-append name "-" version ".tar.gz"))
2134 "0x088q5z0m09a2jqcfgsnq955y8syn1mgn35cl78qinkxm4kp6zs"))))
2135 (build-system cargo-build-system)
2136 (home-page "https://github.com/BurntSushi/ucd-generate")
2137 (synopsis "library for working with the Unicode character database")
2138 (description "This package provides a small utility library for working
2139 with the Unicode character database.")
2140 (license (list license:asl2.0
2143 (define-public rust-unicase
2145 (name "rust-unicase")
2150 (uri (crate-uri "unicase" version))
2151 (file-name (string-append name "-" version ".tar.gz"))
2154 "1xmpmkakhhblq7dzab1kwyv925kv7fqjkjsxjspg6ix9n88makm8"))))
2155 (build-system cargo-build-system)
2157 `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.1))))
2158 (home-page "https://github.com/seanmonstar/unicase")
2159 (synopsis "Case-insensitive wrapper around strings")
2161 "A case-insensitive wrapper around strings.")
2162 (license (list license:asl2.0
2165 (define-public rust-unicode-width
2167 (name "rust-unicode-width")
2172 (uri (crate-uri "unicode-width" version))
2173 (file-name (string-append name "-" version ".tar.gz"))
2176 "09k5lipygardwy0660jhls08fsgknrazzivmn804gps53hiqc8w8"))))
2177 (build-system cargo-build-system)
2178 (home-page "https://github.com/unicode-rs/unicode-width")
2179 (synopsis "Determine displayed width according to Unicode rules")
2180 (description "This crate allows you to determine displayed width of
2181 @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.")
2182 (license (list license:asl2.0
2185 (define-public rust-unicode-xid
2187 (name "rust-unicode-xid")
2192 (uri (crate-uri "unicode-xid" version))
2194 (string-append name "-" version ".tar.gz"))
2197 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw"))))
2198 (build-system cargo-build-system)
2200 "https://github.com/unicode-rs/unicode-xid")
2201 (synopsis "Determine Unicode XID related properties")
2202 (description "Determine whether characters have the XID_Start
2203 or XID_Continue properties according to Unicode Standard Annex #31.")
2205 (license (list license:asl2.0 license:expat))))
2207 (define-public rust-unindent
2209 (name "rust-unindent")
2214 (uri (crate-uri "unindent" version))
2215 (file-name (string-append name "-" version ".tar.gz"))
2218 "1x21ilf78aqcq9xzb9b7i628wm10rhk0jp0chlv06rkc690l8jw3"))))
2219 (build-system cargo-build-system)
2220 (home-page "https://github.com/dtolnay/indoc")
2221 (synopsis "Remove a column of leading whitespace from a string")
2222 (description "This crate allows you to remove a column of leading
2223 whitespace from a string.")
2224 (license (list license:asl2.0
2227 (define-public rust-unsafe-any
2229 (name "rust-unsafe-any")
2234 (uri (crate-uri "unsafe-any" version))
2235 (file-name (string-append name "-" version ".tar.gz"))
2238 "0zwwphsqkw5qaiqmjwngnfpv9ym85qcsyj7adip9qplzjzbn00zk"))))
2239 (build-system cargo-build-system)
2242 (("rust-traitobject" ,rust-traitobject))))
2243 (home-page "https://tokio.rs")
2244 (synopsis "Traits and implementations for unchecked downcasting")
2246 "Traits and implementations for unchecked downcasting.")
2247 (license license:expat)))
2249 (define-public rust-untrusted
2251 (name "rust-untrusted")
2256 (uri (crate-uri "untrusted" version))
2257 (file-name (string-append name "-" version ".tar.gz"))
2260 "1kmfykcwif6ashkwg54gcnhxj03kpba2i9vc7z5rpr0xlgvrwdk0"))))
2261 (build-system cargo-build-system)
2262 (home-page "https://github.com/briansmith/untrusted")
2263 (synopsis "Zero-allocation parsing of untrusted inputs in Rust")
2265 "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of
2266 untrusted inputs in Rust.")
2267 (license license:isc)))
2269 (define-public rust-version-check
2271 (name "rust-version-check")
2276 (uri (crate-uri "version_check" version))
2277 (file-name (string-append name "-" version ".tar.gz"))
2280 "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7"))))
2281 (build-system cargo-build-system)
2282 (home-page "https://github.com/SergioBenitez/version_check")
2283 (synopsis "Check that the installed rustc meets some version requirements")
2285 "This tiny crate checks that the running or installed rustc meets some
2286 version requirements. The version is queried by calling the Rust compiler with
2287 @code{--version}. The path to the compiler is determined first via the
2288 @code{RUSTC} environment variable. If it is not set, then @code{rustc} is used.
2289 If that fails, no determination is made, and calls return None.")
2290 (license (list license:asl2.0
2293 (define-public rust-version-check-0.1
2295 (inherit rust-version-check)
2296 (name "rust-version-check")
2301 (uri (crate-uri "version_check" version))
2302 (file-name (string-append name "-" version ".tar.gz"))
2305 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
2307 (define-public rust-void
2314 (uri (crate-uri "void" version))
2315 (file-name (string-append name "-" version ".tar.gz"))
2318 "0zc8f0ksxvmhvgx4fdg0zyn6vdnbxd2xv9hfx4nhzg6kbs4f80ka"))))
2319 (build-system cargo-build-system)
2320 (home-page "https://github.com/reem/rust-void.git")
2321 (synopsis "Void type for use in statically impossible cases")
2323 "The uninhabited void type for use in statically impossible cases.")
2324 (license license:expat)))
2326 (define-public rust-walkdir
2328 (name "rust-walkdir")
2333 (uri (crate-uri "walkdir" version))
2334 (file-name (string-append name "-" version ".tar.gz"))
2337 "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
2338 (build-system cargo-build-system)
2341 (("rust-same-file" ,rust-same-file)
2342 ("rust-winapi" ,rust-winapi)
2343 ("rust-winapi-util" ,rust-winapi-util))
2344 #:cargo-development-inputs
2345 (("rust-doc-comment" ,rust-doc-comment))))
2346 (home-page "https://github.com/BurntSushi/walkdir")
2347 (synopsis "Recursively walk a directory")
2348 (description "Recursively walk a directory.")
2349 (license (list license:unlicense
2352 (define-public rust-wasi
2359 (uri (crate-uri "wasi" version))
2361 (string-append name "-" version ".tar.gz"))
2364 "1ir3pd4phdfml0cbziw9bqp7mnk0vfp9biy8bh25lln6raml4m7x"))))
2365 (build-system cargo-build-system)
2366 (home-page "https://github.com/CraneStation/rust-wasi")
2367 (synopsis "Experimental WASI API bindings for Rust")
2368 (description "This package contains experimental WASI API bindings
2370 (license license:asl2.0)))
2372 (define-public rust-wasm-bindgen-shared
2374 (name "rust-wasm-bindgen-shared")
2379 (uri (crate-uri "wasm-bindgen-shared" version))
2380 (file-name (string-append name "-" version ".tar.gz"))
2383 "08rnfhjyk0f6liv8n4rdsvhx7r02glkhcbj2lp9lcbkbfpad9hnr"))))
2384 (build-system cargo-build-system)
2385 (home-page "https://rustwasm.github.io/wasm-bindgen/")
2386 (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli")
2387 (description "This package provides shared support between
2388 @code{wasm-bindgen} and @code{wasm-bindgen} cli, an internal dependency.")
2389 (license (list license:asl2.0
2392 (define-public rust-wasm-bindgen-test-macro
2394 (name "rust-wasm-bindgen-test-macro")
2399 (uri (crate-uri "wasm-bindgen-test-macro" version))
2400 (file-name (string-append name "-" version ".tar.gz"))
2403 "0n28mr6vncf1k1qr2b5bvfxq4jvqkjdzq0z0ab6w2f5d6v8q3q3l"))))
2404 (build-system cargo-build-system)
2407 (("rust-proc-macro2" ,rust-proc-macro2)
2408 ("rust-quote" ,rust-quote))))
2409 (home-page "https://github.com/rustwasm/wasm-bindgen")
2410 (synopsis "Internal testing macro for wasm-bindgen")
2412 "This library contains the internal testing macro for wasm-bindgen.")
2413 (license (list license:asl2.0
2416 (define-public rust-widestring
2418 (name "rust-widestring")
2423 (uri (crate-uri "widestring" version))
2424 (file-name (string-append name "-" version ".tar.gz"))
2427 "1dhx6dndjsz1y7c9w06922412kdxyrrkqblvggm76mh8z17hxz7g"))))
2428 (build-system cargo-build-system)
2430 `(#:cargo-development-inputs
2431 (("rust-winapi" ,rust-winapi))))
2432 (home-page "https://github.com/starkat99/widestring-rs")
2433 (synopsis "Wide string Rust FFI library")
2435 "A wide string Rust FFI library for converting to and from wide strings,
2436 such as those often used in Windows API or other FFI libaries. Both UTF-16 and
2437 UTF-32 types are provided, including support for malformed encoding.")
2438 (license (list license:asl2.0
2441 (define-public rust-winapi
2443 (name "rust-winapi")
2448 (uri (crate-uri "winapi" version))
2449 (file-name (string-append name "-" version ".tar.gz"))
2452 "1ii9j9lzrhwri0902652awifzx9fpayimbp6hfhhc296xcg0k4w0"))))
2453 (build-system cargo-build-system)
2456 (("rust-winapi-i686-pc-windows-gnu"
2457 ,rust-winapi-i686-pc-windows-gnu)
2458 ("rust-winapi-x86-64-pc-windows-gnu"
2459 ,rust-winapi-x86-64-pc-windows-gnu))))
2460 (home-page "https://github.com/retep998/winapi-rs")
2461 (synopsis "Raw FFI bindings for all of Windows API.")
2463 "Raw FFI bindings for all of Windows API.")
2464 (license (list license:asl2.0
2467 (define-public rust-winapi-0.2
2469 (inherit rust-winapi)
2470 (name "rust-winapi")
2475 (uri (crate-uri "winapi" version))
2476 (file-name (string-append name "-" version ".tar.gz"))
2479 "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n"))))
2480 ;; We do not want to package 48 -sys crates for a package we do not want.
2481 ;; They are all dev dependencies, so we skip building and testing.
2485 (modify-phases %standard-phases
2486 (delete 'build))))))
2488 (define-public rust-winapi-build
2490 (name "rust-winapi-build")
2495 (uri (crate-uri "winapi-build" version))
2496 (file-name (string-append name "-" version ".tar.gz"))
2499 "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d"))))
2500 (build-system cargo-build-system)
2501 (home-page "https://github.com/retep998/winapi-rs")
2502 (synopsis "Common code for build.rs in WinAPI -sys crates")
2504 "Common code for build.rs in WinAPI -sys crates.")
2505 (license license:expat)))
2507 (define-public rust-winapi-i686-pc-windows-gnu
2509 (name "rust-winapi-i686-pc-windows-gnu")
2514 (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
2515 (file-name (string-append name "-" version ".tar.gz"))
2518 "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
2519 (build-system cargo-build-system)
2520 (home-page "https://github.com/retep998/winapi-rs")
2521 (synopsis "Import libraries for the i686-pc-windows-gnu target")
2522 (description "This crate provides import libraries for the
2523 i686-pc-windows-gnu target. Please don't use this crate directly, depend on
2524 @code{winapi} instead.")
2525 (license (list license:asl2.0
2528 (define-public rust-winapi-util
2530 (name "rust-winapi-util")
2535 (uri (crate-uri "winapi-util" version))
2536 (file-name (string-append name "-" version ".tar.gz"))
2539 "1j839dc6y8vszvrsb7yk0qvs0w6asnahxzbyans37vnsw6vbls3i"))))
2540 (build-system cargo-build-system)
2542 `(#:cargo-inputs (("rust-winapi" ,rust-winapi))))
2543 (home-page "https://github.com/BurntSushi/winapi-util")
2544 (synopsis "Dumping ground for high level safe wrappers over winapi")
2546 "This package provides a dumping ground for high level safe wrappers over
2548 (license (list license:unlicense
2551 (define-public rust-winapi-x86-64-pc-windows-gnu
2553 (name "rust-winapi-x86-64-pc-windows-gnu")
2558 (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
2559 (file-name (string-append name "-" version ".tar.gz"))
2562 "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
2563 (build-system cargo-build-system)
2564 (home-page "https://github.com/retep998/winapi-rs")
2565 (synopsis "Import libraries for the x86_64-pc-windows-gnu target")
2566 (description "This package provides import libraries for the
2567 x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
2568 @code{winapi} instead.")
2569 (license (list license:asl2.0
2572 (define-public rust-wincolor
2574 (name "rust-wincolor")
2579 (uri (crate-uri "wincolor" version))
2580 (file-name (string-append name "-" version ".tar.gz"))
2583 "1agaf3hcav113i86912ajnw6jxcy4rvkrgyf8gdj8kc031mh3xcn"))))
2584 (build-system cargo-build-system)
2587 (("rust-winapi" ,rust-winapi)
2588 ("rust-winapi-util" ,rust-winapi-util))))
2589 (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor")
2590 (synopsis "Windows API for controlling text color in a Windows console")
2592 "This package provides a simple Windows specific API for controlling text
2593 color in a Windows console.")
2594 (license (list license:unlicense
2597 (define-public rust-winutil
2599 (name "rust-winutil")
2604 (uri (crate-uri "winutil" version))
2605 (file-name (string-append name "-" version ".tar.gz"))
2608 "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx"))))
2609 (build-system cargo-build-system)
2612 (("rust-winapi" ,rust-winapi))
2613 ;; This unmaintained crate cannot find winapi when built directly.
2616 (modify-phases %standard-phases
2618 (home-page "https://bitbucket.org/DaveLancaster/winutil")
2619 (synopsis "Library wrapping a handful of useful winapi functions")
2621 "A simple library wrapping a handful of useful winapi functions.")
2622 (license license:expat)))
2624 (define-public rust-ws2-32-sys
2626 (name "rust-ws2-32-sys")
2631 (uri (crate-uri "ws2_32-sys" version))
2632 (file-name (string-append name "-" version ".tar.gz"))
2635 "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m"))))
2636 (build-system cargo-build-system)
2639 (("rust-winapi" ,rust-winapi-0.2)
2640 ("rust-winapi-build" ,rust-winapi-build))
2642 (modify-phases %standard-phases
2643 (add-after 'unpack 'fix-Cargo-toml
2645 (substitute* "Cargo.toml"
2646 ((", path =.* }") "}\n"))
2648 (home-page "https://github.com/retep998/winapi-rs")
2649 (synopsis "Function definitions for the Windows API library ws2_32")
2651 "Contains function definitions for the Windows API library ws2_32.")
2652 (license license:expat)))
2654 (define-public rust-xdg
2661 (uri (crate-uri "xdg" version))
2662 (file-name (string-append name "-" version ".tar.gz"))
2665 "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
2666 (build-system cargo-build-system)
2667 (home-page "https://github.com/whitequark/rust-xdg")
2668 (synopsis "Store and retrieve files according to XDG specification")
2670 "This package provides a library for storing and retrieving files according
2671 to XDG Base Directory specification")
2672 (license (list license:asl2.0