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