1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
|
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages rust-cbindgen)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cargo))
(define rust-ansi-term-0.11
(package
(name "rust-ansi-term")
(version "0.11.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ansi_term" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
(build-system cargo-build-system)
(home-page "https://github.com/ogham/rust-ansi-term")
(synopsis "Library for ANSI terminal colours and styles")
(description
"This is a library for controlling colours and formatting, such as red bold
text or blue underlined text, on ANSI terminals.")
(properties '((hidden? . #t)))
(license license:expat)))
(define rust-atty-0.2
(package
(name "rust-atty")
(version "0.2.13")
(source
(origin
(method url-fetch)
(uri (crate-uri "atty" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"140sswp1bwqwc4zk80bxkbnfb3g936hgrb77g9g0k1zcld3wc0qq"))))
(build-system cargo-build-system)
(home-page "https://github.com/softprops/atty")
(synopsis "A simple interface for querying atty")
(description
"This package provides a simple interface for querying atty.")
(properties '((hidden? . #t)))
(license license:expat)))
(define rust-autocfg-0.1
(package
(name "rust-autocfg")
(version "0.1.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "autocfg" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x"))))
(build-system cargo-build-system)
(home-page "https://github.com/cuviper/autocfg")
(synopsis "Automatic cfg for Rust compiler features")
(description "Rust library for build scripts to automatically configure
code based on compiler support. Code snippets are dynamically tested to see
if the @code{rustc} will accept them, rather than hard-coding specific version
support.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-bitflags-1.1
(package
(name "rust-bitflags")
(version "1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "bitflags" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1zc1qb1hwsnl2d8rhzicsv9kqd5b2hwbrscrcfw5as4sfr35659x"))))
(build-system cargo-build-system)
(home-page "https://github.com/bitflags/bitflags")
(synopsis "Macro to generate structures which behave like bitflags")
(description "This package provides a macro to generate structures which
behave like a set of bitflags.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-cfg-if-0.1
(package
(name "rust-cfg-if")
(version "0.1.10")
(source
(origin
(method url-fetch)
(uri (crate-uri "cfg-if" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"08h80ihs74jcyp24cd75wwabygbbdgl05k6p5dmq8akbr78vv1a7"))))
(build-system cargo-build-system)
(home-page "https://github.com/alexcrichton/cfg-if")
(synopsis "Define an item depending on parameters")
(description "This package provides a macro to ergonomically define an item
depending on a large number of #[cfg] parameters. Structured like an
@code{if-else} chain, the first matching branch is the item that gets emitted.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-clap-2
(package
(name "rust-clap")
(version "2.33.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "clap" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1nf6ld3bims1n5vfzhkvcb55pdzh04bbhzf8nil5vvw05nxzarsh"))))
(build-system cargo-build-system)
(home-page "https://clap.rs/")
(synopsis "Command Line Argument Parser")
(description
"This package provides a simple to use, efficient, and full-featured
Command Line Argument Parser.")
(properties '((hidden? . #t)))
(license license:expat)))
(define rust-cloudabi-0.0
(package
(name "rust-cloudabi")
(version "0.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "cloudabi" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"0kxcg83jlihy0phnd2g8c2c303px3l2p3pkjz357ll6llnd5pz6x"))))
(build-system cargo-build-system)
(home-page "https://nuxi.nl/cloudabi/")
(synopsis "Low level interface to CloudABI")
(description
"Low level interface to CloudABI. Contains all syscalls and related types.")
(properties '((hidden? . #t)))
(license license:bsd-2)))
(define rust-fuchsia-cprng-0.1
(package
(name "rust-fuchsia-cprng")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "fuchsia-cprng" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1fnkqrbz7ixxzsb04bsz9p0zzazanma8znfdqjvh39n14vapfvx0"))))
(build-system cargo-build-system)
(home-page "https://fuchsia.googlesource.com/fuchsia/+/master/garnet/public/rust/fuchsia-cprng")
(synopsis "Fuchsia cryptographically secure pseudorandom number generator")
(description "Thix package provides a rust crate for the Fuchsia
cryptographically secure pseudorandom number generator.")
(properties '((hidden? . #t)))
(license license:bsd-3)))
(define rust-itoa-0.4
(package
(name "rust-itoa")
(version "0.4.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "itoa" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"0zvg2d9qv3avhf3d8ggglh6fdyw8kkwqg3r4622ly5yhxnvnc4jh"))))
(build-system cargo-build-system)
(home-page "https://github.com/dtolnay/itoa")
(synopsis "Fast functions for printing integer primitives")
(description "This crate provides fast functions for printing integer
primitives to an @code{io::Write}.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-libc-0.2
(package
(name "rust-libc")
(version "0.2.65")
(source
(origin
(method url-fetch)
(uri (crate-uri "libc" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1s14bjxnz6haw0gr1h3j4sr7s2s407hpgm8dxhwnl7yzgxia0c8s"))))
(build-system cargo-build-system)
(home-page "https://github.com/rust-lang/libc")
(synopsis "Raw FFI bindings to platform libraries like libc")
(description
"libc provides all of the definitions necessary to easily
interoperate with C code (or \"C-like\" code) on each of the platforms
that Rust supports. This includes type definitions (e.g., c_int),
constants (e.g., EINVAL) as well as function headers (e.g., malloc).
This crate exports all underlying platform types, functions, and
constants under the crate root, so all items are accessible as
@samp{libc::foo}. The types and values of all the exported APIs match
the platform that libc is compiled for.")
(properties '((hidden? . #t)))
(license (list license:expat
license:asl2.0))))
(define rust-log-0.4
(package
(name "rust-log")
(version "0.4.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "log" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1xz18ixccl5c6np4linv3ypc7hpmmgpc5zzd2ymp2ssfx0mhbdhl"))))
(build-system cargo-build-system)
(home-page "https://github.com/rust-lang/log")
(synopsis "Lightweight logging facade for Rust")
(description
"This package provides a lightweight logging facade for Rust.")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
(define rust-numtoa-0.1
(package
(name "rust-numtoa")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "numtoa" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1vs9rhggqbql1p26x8nkha1j06wawwgb2jp5fs88b5gi7prvvy5q"))))
(build-system cargo-build-system)
(home-page "https://gitlab.com/mmstick/numtoa")
(synopsis "Convert numbers into stack-allocated byte arrays")
(description
"This package can convert numbers into stack-allocated byte arrays.")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
(define rust-proc-macro2-1.0
(package
(name "rust-proc-macro2")
(version "1.0.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "proc-macro2" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"09rgb5ab0jgw39kyad0lgqs4nb9yaf7mwcrgxqnsxbn4il54g7lw"))))
(build-system cargo-build-system)
(home-page "https://github.com/alexcrichton/proc-macro2")
(synopsis "Stable implementation of the upcoming new `proc_macro` API")
(description "This package provides a stable implementation of the upcoming new
`proc_macro` API. Comes with an option, off by default, to also reimplement itself
in terms of the upstream unstable API.")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
(define rust-quote-1.0
(package
(name "rust-quote")
(version "1.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "quote" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1zkc46ryacf2jdkc6krsy2z615xbk1x8kp1830rcxz3irj5qqfh5"))))
(build-system cargo-build-system)
(home-page "https://github.com/dtolnay/quote")
(synopsis "Quasi-quoting macro quote!(...)")
(description "Quasi-quoting macro quote!(...)")
(properties '((hidden? . #t)))
(license (list license:expat license:asl2.0))))
(define rust-rand-0.6
(package
(name "rust-rand")
(version "0.6.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1jl4449jcl4wgmzld6ffwqj5gwxrp8zvx8w573g1z368qg6xlwbd"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand")
(synopsis "Random number generators and other randomness functionality")
(description
"This package contains random number generators and other randomness
functionality.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-chacha-0.1
(package
(name "rust-rand-chacha")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_chacha" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1vxwyzs4fy1ffjc8l00fsyygpiss135irjf7nyxgq2v0lqf3lvam"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_chacha")
(synopsis "ChaCha random number generator")
(description "ChaCha random number generator")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-core-0.4
(package
(name "rust-rand-core")
(version "0.4.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_core" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1p09ynysrq1vcdlmcqnapq4qakl2yd1ng3kxh3qscpx09k2a6cww"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_core")
(synopsis
"Core random number generator traits and tools for implementation.")
(description
"Core random number generator traits and tools for implementation.")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-core-0.3
(package
(inherit rust-rand-core-0.4)
(name "rust-rand-core")
(version "0.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_core" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"0jzdgszfa4bliigiy4hi66k7fs3gfwi2qxn8vik84ph77fwdwvvs"))))
;; This version is a 0.3 API wrapper around the 0.4 version.
(arguments
`(#:cargo-inputs (("rand-core" ,rust-rand-core-0.4))))))
(define rust-rand-hc-0.1
(package
(name "rust-rand-hc")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_hc" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"1i0vl8q5ddvvy0x8hf1zxny393miyzxkwqnw31ifg6p0gdy6fh3v"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_hc")
(synopsis "HC128 random number generator")
(description "HC128 random number generator")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-isaac-0.1
(package
(name "rust-rand-isaac")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_isaac" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"027flpjr4znx2csxk7gxb7vrf9c7y5mydmvg5az2afgisp4rgnfy"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_isaac")
(synopsis "ISAAC random number generator")
(description "ISAAC random number generator")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-jitter-0.1
(package
(name "rust-rand-jitter")
(version "0.1.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_jitter" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"16z387y46bfz3csc42zxbjq89vcr1axqacncvv8qhyy93p4xarhi"))))
(build-system cargo-build-system)
(home-page "https://github.com/rust-random/rand")
(synopsis
"Random number generator based on timing jitter")
(description
"Random number generator based on timing jitter")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-os-0.1
(package
(name "rust-rand-os")
(version "0.1.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_os" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_os")
(synopsis "OS backed Random Number Generator")
(description "OS backed Random Number Generator")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
(define rust-rand-pcg-0.1
(package
(name "rust-rand-pcg")
(version "0.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "rand_pcg" version))
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
"0i0bdla18a8x4jn1w0fxsbs3jg7ajllz6azmch1zw33r06dv1ydb"))))
(build-system cargo-build-system)
(home-page "https://crates.io/crates/rand_pcg")
(synopsis
"Selected PCG random number generators")
(description
"Selected PCG random number generators")
(properties '((hidden? . #t)))
(license (list license:asl2.0
license:expat))))
|