gnu: rust-glutin-gles2-sys-0.1: Update to 0.1.5.
[jackhill/guix/guix.git] / gnu / packages / crates-graphics.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
3 ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
4 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
5 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
6 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
7 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
8 ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
9 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
10 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
12 ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
13 ;;;
14 ;;; This file is part of GNU Guix.
15 ;;;
16 ;;; GNU Guix is free software; you can redistribute it and/or modify it
17 ;;; under the terms of the GNU General Public License as published by
18 ;;; the Free Software Foundation; either version 3 of the License, or (at
19 ;;; your option) any later version.
20 ;;;
21 ;;; GNU Guix is distributed in the hope that it will be useful, but
22 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
23 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 ;;; GNU General Public License for more details.
25 ;;;
26 ;;; You should have received a copy of the GNU General Public License
27 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28
29 (define-module (gnu packages crates-graphics)
30 #:use-module (guix build-system cargo)
31 #:use-module (guix download)
32 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix packages)
34 #:use-module (gnu packages)
35 #:use-module (gnu packages crates-io)
36 #:use-module (gnu packages freedesktop)
37 #:use-module (gnu packages llvm)
38 #:use-module (gnu packages pkg-config)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages video))
41
42 ;;;
43 ;;; Please: Try to add new module packages in alphabetic order.
44
45 (define-public rust-andrew-0.2
46 (package
47 (name "rust-andrew")
48 (version "0.2.1")
49 (source
50 (origin
51 (method url-fetch)
52 (uri (crate-uri "andrew" version))
53 (file-name
54 (string-append name "-" version ".tar.gz"))
55 (sha256
56 (base32
57 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
58 (build-system cargo-build-system)
59 (arguments
60 `(#:cargo-inputs
61 (("rust-bitflags" ,rust-bitflags-1)
62 ("rust-line-drawing" ,rust-line-drawing-0.7)
63 ("rust-rusttype" ,rust-rusttype-0.7)
64 ("rust-walkdir" ,rust-walkdir-2)
65 ("rust-xdg" ,rust-xdg-2)
66 ("rust-xml-rs" ,rust-xml-rs-0.8))
67 #:cargo-development-inputs
68 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
69 (inputs
70 `(("wayland" ,wayland)))
71 (home-page "https://github.com/trimental/andrew")
72 (synopsis "Provides convenient drawing of objects to buffers")
73 (description
74 "The @code{andrew} crate provides convenient drawing of objects such as
75 shapes, lines and text to buffers.")
76 (license license:expat)))
77
78 (define-public rust-ansi-colours-1
79 (package
80 (name "rust-ansi-colours")
81 (version "1.0.1")
82 (source
83 (origin
84 (method url-fetch)
85 (uri (crate-uri "ansi_colours" version))
86 (file-name
87 (string-append name "-" version ".tar.gz"))
88 (sha256
89 (base32
90 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
91 (build-system cargo-build-system)
92 (arguments
93 `(#:cargo-inputs
94 (("rust-cc" ,rust-cc-1))
95 #:cargo-development-inputs
96 (("rust-delta-e" ,rust-delta-e-0.2)
97 ("rust-lab" ,rust-lab-0.4))))
98 (home-page "https://github.com/mina86/ansi_colours")
99 (synopsis "Palette converter between true-colour and ANSI terminal")
100 (description
101 "@code{ansi_colours} is a library which converts between 24-bit sRGB
102 colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
103 @code{rxvt-unicode} in 256-colour mode.
104 The most common use case is when using 24-bit colours in a terminal emulator
105 which only support 8-bit colour palette. This package allows true-colours to be
106 approximated by values supported by the terminal.")
107 (license license:lgpl3+)))
108
109 (define-public rust-ansi-term-0.12
110 (package
111 (name "rust-ansi-term")
112 (version "0.12.1")
113 (source
114 (origin
115 (method url-fetch)
116 (uri (crate-uri "ansi_term" version))
117 (file-name (string-append name "-" version ".crate"))
118 (sha256
119 (base32
120 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
121 (build-system cargo-build-system)
122 (arguments
123 `(#:cargo-inputs
124 (("rust-serde" ,rust-serde-1)
125 ("rust-winapi" ,rust-winapi-0.3))
126 #:cargo-development-inputs
127 (("rust-doc-comment" ,rust-doc-comment-0.3)
128 ("rust-regex" ,rust-regex-1)
129 ("rust-serde-json" ,rust-serde-json-1))))
130 (home-page "https://github.com/ogham/rust-ansi-term")
131 (synopsis "Library for ANSI terminal colours and styles")
132 (description
133 "This is a library for controlling colours and formatting, such as red bold
134 text or blue underlined text, on ANSI terminals.")
135 (license license:expat)))
136
137 (define-public rust-ansi-term-0.11
138 (package
139 (inherit rust-ansi-term-0.12)
140 (name "rust-ansi-term")
141 (version "0.11.0")
142 (source
143 (origin
144 (method url-fetch)
145 (uri (crate-uri "ansi_term" version))
146 (file-name (string-append name "-" version ".crate"))
147 (sha256
148 (base32
149 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
150 (arguments
151 `(#:skip-build? #t
152 #:cargo-inputs
153 (("rust-winapi" ,rust-winapi-0.3))))))
154
155 (define-public rust-ansi-term-0.9
156 (package
157 (inherit rust-ansi-term-0.11)
158 (name "rust-ansi-term")
159 (version "0.9.0")
160 (source
161 (origin
162 (method url-fetch)
163 (uri (crate-uri "ansi_term" version))
164 (file-name
165 (string-append name "-" version ".tar.gz"))
166 (sha256
167 (base32
168 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
169 (arguments `())))
170
171 (define-public rust-aom-sys-0.2
172 (package
173 (name "rust-aom-sys")
174 (version "0.2.1")
175 (source
176 (origin
177 (method url-fetch)
178 (uri (crate-uri "aom-sys" version))
179 (file-name
180 (string-append name "-" version ".tar.gz"))
181 (sha256
182 (base32
183 "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
184 (build-system cargo-build-system)
185 (arguments
186 `(#:cargo-inputs
187 (("rust-bindgen" ,rust-bindgen-0.54)
188 ("rust-metadeps" ,rust-metadeps-1.1))))
189 (native-inputs
190 `(("pkg-config" ,pkg-config)))
191 (inputs
192 `(("libaom" ,libaom)
193 ("clang" ,clang)
194 ("llvm" ,llvm)))
195 (home-page "https://github.com/rust-av/aom-rs")
196 (synopsis "FFI bindings to aom")
197 (description "This package provides FFI bindings to aom.")
198 (license license:expat)))
199
200 (define-public rust-aom-sys-0.1
201 (package
202 (inherit rust-aom-sys-0.2)
203 (name "rust-aom-sys")
204 (version "0.1.4")
205 (source
206 (origin
207 (method url-fetch)
208 (uri (crate-uri "aom-sys" version))
209 (file-name
210 (string-append name "-" version ".tar.gz"))
211 (sha256
212 (base32
213 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
214 (build-system cargo-build-system)
215 (arguments
216 `(#:cargo-inputs
217 (("rust-bindgen" ,rust-bindgen-0.53)
218 ("rust-metadeps" ,rust-metadeps-1.1))))
219 (native-inputs
220 `(("pkg-config" ,pkg-config)))
221 (inputs
222 `(("libaom" ,libaom)
223 ("clang" ,clang)
224 ("llvm" ,llvm)))))
225
226 (define-public rust-ascii-canvas-2
227 (package
228 (name "rust-ascii-canvas")
229 (version "2.0.0")
230 (source
231 (origin
232 (method url-fetch)
233 (uri (crate-uri "ascii-canvas" version))
234 (file-name (string-append name "-" version ".tar.gz"))
235 (sha256
236 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
237 (build-system cargo-build-system)
238 (arguments
239 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
240 #:cargo-inputs
241 (("rust-term" ,rust-term-0.5))))
242 (home-page "https://github.com/nikomatsakis/ascii-canvas")
243 (synopsis "Simple canvas for drawing lines and styled text and emitting to
244 the terminal")
245 (description "@code{ASCII} canvas is a simple Rust library that allows you
246 to draw lines and colored text and then write them to the terminal. It uses
247 the term library to handle the ANSI nonsense and hence it works on Windows,
248 Mac, and Unix.")
249 (license (list license:asl2.0 license:expat))))
250
251 (define-public rust-cgl-0.3
252 (package
253 (name "rust-cgl")
254 (version "0.3.2")
255 (source
256 (origin
257 (method url-fetch)
258 (uri (crate-uri "cgl" version))
259 (file-name
260 (string-append name "-" version ".tar.gz"))
261 (sha256
262 (base32
263 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
264 (build-system cargo-build-system)
265 (arguments
266 `(#:skip-build? #t ; only available on macOS
267 #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
268 (home-page "https://github.com/servo/cgl-rs")
269 (synopsis "Rust bindings for CGL on Mac")
270 (description "Rust bindings for CGL on Mac.")
271 (license (list license:expat license:asl2.0))))
272
273 (define-public rust-cgl-0.2
274 (package
275 (inherit rust-cgl-0.3)
276 (name "rust-cgl")
277 (version "0.2.3")
278 (source
279 (origin
280 (method url-fetch)
281 (uri (crate-uri "cgl" version))
282 (file-name
283 (string-append name "-" version ".tar.gz"))
284 (sha256
285 (base32
286 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
287 (arguments
288 `(#:skip-build? #t ; only available on macOS
289 #:cargo-inputs
290 (("rust-gleam" ,rust-gleam-0.6)
291 ("rust-libc" ,rust-libc-0.2))))))
292
293 (define-public rust-cgmath-0.17
294 (package
295 (name "rust-cgmath")
296 (version "0.17.0")
297 (source
298 (origin
299 (method url-fetch)
300 (uri (crate-uri "cgmath" version))
301 (file-name
302 (string-append name "-" version ".tar.gz"))
303 (sha256
304 (base32
305 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
306 (build-system cargo-build-system)
307 (arguments
308 `(#:skip-build? #t ; Crate won't build without glium.
309 #:cargo-inputs
310 (("rust-approx" ,rust-approx-0.3)
311 ("rust-mint" ,rust-mint-0.5)
312 ("rust-num-traits" ,rust-num-traits-0.2)
313 ("rust-rand" ,rust-rand-0.6)
314 ("rust-serde" ,rust-serde-1)
315 ("rust-simd" ,rust-simd-0.2))
316 #:cargo-development-inputs
317 (;("rust-glium" ,rust-glium-0.23)
318 ("rust-serde-json" ,rust-serde-json-1))))
319 (home-page "https://github.com/brendanzab/cgmath")
320 (synopsis "Linear algebra and mathematics library")
321 (description
322 "This package provides a linear algebra and mathematics library
323 for computer graphics.")
324 (license license:asl2.0)))
325
326 (define-public rust-cgmath-0.16
327 (package
328 (inherit rust-cgmath-0.17)
329 (name "rust-cgmath")
330 (version "0.16.1")
331 (source
332 (origin
333 (method url-fetch)
334 (uri (crate-uri "cgmath" version))
335 (file-name
336 (string-append name "-" version ".tar.gz"))
337 (sha256
338 (base32
339 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
340 (arguments
341 `(#:skip-build? #t ; Crate won't build without glium.
342 #:cargo-inputs
343 (("rust-approx" ,rust-approx-0.1)
344 ("rust-mint" ,rust-mint-0.5)
345 ("rust-num-traits" ,rust-num-traits-0.1)
346 ("rust-rand" ,rust-rand-0.4)
347 ("rust-serde" ,rust-serde-1)
348 ("rust-simd" ,rust-simd-0.2))
349 #:cargo-development-inputs
350 (;("rust-glium" ,rust-glium-0.19)
351 ("rust-serde-json" ,rust-serde-json-1))))))
352
353 (define-public rust-core-graphics-0.21
354 (package
355 (name "rust-core-graphics")
356 (version "0.21.1")
357 (source
358 (origin
359 (method url-fetch)
360 (uri (crate-uri "core-graphics" version))
361 (file-name (string-append name "-" version ".tar.gz"))
362 (sha256
363 (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
364 (build-system cargo-build-system)
365 (arguments
366 `(#:skip-build? #t
367 #:cargo-inputs
368 (("rust-bitflags" ,rust-bitflags-1)
369 ("rust-core-foundation" ,rust-core-foundation-0.9)
370 ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
371 ("rust-foreign-types" ,rust-foreign-types-0.3)
372 ("rust-libc" ,rust-libc-0.2))))
373 (home-page "https://github.com/servo/core-graphics-rs")
374 (synopsis "Bindings to Core Graphics for macOS")
375 (description
376 "This package provides bindings to Core Graphics for macOS.")
377 (license (list license:expat license:asl2.0))))
378
379 (define-public rust-core-graphics-0.19
380 (package
381 (inherit rust-core-graphics-0.21)
382 (name "rust-core-graphics")
383 (version "0.19.2")
384 (source
385 (origin
386 (method url-fetch)
387 (uri (crate-uri "core-graphics" version))
388 (file-name (string-append name "-" version ".tar.gz"))
389 (sha256
390 (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k"))))
391 (arguments
392 `(#:skip-build? #t
393 #:cargo-inputs
394 (("rust-bitflags" ,rust-bitflags-1)
395 ("rust-core-foundation" ,rust-core-foundation-0.7)
396 ("rust-foreign-types" ,rust-foreign-types-0.3)
397 ("rust-libc" ,rust-libc-0.2))))))
398
399 (define-public rust-core-graphics-0.17
400 (package
401 (inherit rust-core-graphics-0.21)
402 (name "rust-core-graphics")
403 (version "0.17.3")
404 (source
405 (origin
406 (method url-fetch)
407 (uri (crate-uri "core-graphics" version))
408 (file-name
409 (string-append name "-" version ".tar.gz"))
410 (sha256
411 (base32
412 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
413 (arguments
414 `(#:skip-build? #t ; only for macOS
415 #:cargo-inputs
416 (("rust-bitflags" ,rust-bitflags-1)
417 ("rust-core-foundation" ,rust-core-foundation-0.6)
418 ("rust-foreign-types" ,rust-foreign-types-0.3)
419 ("rust-libc" ,rust-libc-0.2))))))
420
421 (define-public rust-core-video-sys-0.1
422 (package
423 (name "rust-core-video-sys")
424 (version "0.1.4")
425 (source
426 (origin
427 (method url-fetch)
428 (uri (crate-uri "core-video-sys" version))
429 (file-name (string-append name "-" version ".tar.gz"))
430 (sha256
431 (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l"))))
432 (build-system cargo-build-system)
433 (arguments
434 `(#:skip-build? #t
435 #:cargo-inputs
436 (("rust-cfg-if" ,rust-cfg-if-0.1)
437 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
438 ("rust-core-graphics" ,rust-core-graphics-0.19)
439 ("rust-libc" ,rust-libc-0.2)
440 ("rust-metal" ,rust-metal-0.18)
441 ("rust-objc" ,rust-objc-0.2))))
442 (home-page "https://github.com/luozijun/rust-core-video-sys")
443 (synopsis "Bindings to CoreVideo.framework for macOS and iOS")
444 (description
445 "This package provides bindings to CoreVideo.framework for macOS
446 and iOS.")
447 (license license:expat)))
448
449 (define-public rust-dav1d-sys-0.3
450 (package
451 (name "rust-dav1d-sys")
452 (version "0.3.2")
453 (source
454 (origin
455 (method url-fetch)
456 (uri (crate-uri "dav1d-sys" version))
457 (file-name
458 (string-append name "-" version ".tar.gz"))
459 (sha256
460 (base32
461 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
462 (build-system cargo-build-system)
463 (arguments
464 `(#:cargo-inputs
465 (("rust-bindgen" ,rust-bindgen-0.54)
466 ("rust-metadeps" ,rust-metadeps-1.1))))
467 (native-inputs
468 `(("pkg-config" ,pkg-config)))
469 (inputs
470 `(("dav1d" ,dav1d)
471 ("clang" ,clang)
472 ("llvm" ,llvm)))
473 (home-page "https://github.com/rust-av/dav1d-rs")
474 (synopsis "FFI bindings to dav1d")
475 (description "This package provides FFI bindings to dav1d.")
476 (license license:expat)))
477
478 (define-public rust-euclid-0.20
479 (package
480 (name "rust-euclid")
481 (version "0.20.10")
482 (source
483 (origin
484 (method url-fetch)
485 (uri (crate-uri "euclid" version))
486 (file-name
487 (string-append name "-" version ".tar.gz"))
488 (sha256
489 (base32
490 "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
491 (build-system cargo-build-system)
492 (arguments
493 `(#:cargo-inputs
494 (("rust-mint" ,rust-mint-0.5)
495 ("rust-num-traits" ,rust-num-traits-0.2)
496 ("rust-serde" ,rust-serde-1))
497 #:cargo-development-inputs
498 (("rust-serde-test" ,rust-serde-test-1))))
499 (home-page "https://github.com/servo/euclid")
500 (synopsis "Geometry primitives")
501 (description "Geometry primitives written in Rust.")
502 (license (list license:expat license:asl2.0))))
503
504 (define-public rust-gfx-0.18
505 (package
506 (name "rust-gfx")
507 (version "0.18.2")
508 (source
509 (origin
510 (method url-fetch)
511 (uri (crate-uri "gfx" version))
512 (file-name
513 (string-append name "-" version ".tar.gz"))
514 (sha256
515 (base32
516 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
517 (build-system cargo-build-system)
518 (arguments
519 `(#:skip-build? #t
520 #:cargo-inputs
521 (("rust-log" ,rust-log-0.4)
522 ("rust-mint" ,rust-mint-0.5)
523 ("rust-draw-state" ,rust-draw-state-0.8)
524 ("rust-gfx-core" ,rust-gfx-core-0.9))))
525 (home-page "https://github.com/gfx-rs/gfx")
526 (synopsis "High-performance, bindless graphics API")
527 (description
528 "This package provides a high-performance, bindless graphics API.")
529 (license license:asl2.0)))
530
531 (define-public rust-gfx-core-0.9
532 (package
533 (name "rust-gfx-core")
534 (version "0.9.2")
535 (source
536 (origin
537 (method url-fetch)
538 (uri (crate-uri "gfx_core" version))
539 (file-name
540 (string-append name "-" version ".tar.gz"))
541 (sha256
542 (base32
543 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
544 (build-system cargo-build-system)
545 (arguments
546 `(#:skip-build? #t
547 #:cargo-inputs
548 (("rust-log" ,rust-log-0.4)
549 ("rust-mint" ,rust-mint-0.5)
550 ("rust-draw-state" ,rust-draw-state-0.8)
551 ("rust-serde" ,rust-serde-1)
552 ("rust-bitflags" ,rust-bitflags-1))))
553 (home-page "https://github.com/gfx-rs/gfx")
554 (synopsis "Core library of Gfx-rs")
555 (description "This package is a core library of Gfx-rs.")
556 (license license:asl2.0)))
557
558 (define-public rust-gfx-device-gl-0.16
559 (package
560 (name "rust-gfx-device-gl")
561 (version "0.16.2")
562 (source
563 (origin
564 (method url-fetch)
565 (uri (crate-uri "gfx_device_gl" version))
566 (file-name
567 (string-append name "-" version ".tar.gz"))
568 (sha256
569 (base32
570 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
571 (build-system cargo-build-system)
572 (arguments
573 `(#:skip-build? #t
574 #:cargo-inputs
575 (("rust-log" ,rust-log-0.4)
576 ("rust-gfx-gl" ,rust-gfx-gl-0.6)
577 ("rust-gfx-core" ,rust-gfx-core-0.9))))
578 (home-page "https://github.com/gfx-rs/gfx")
579 (synopsis "OpenGL backend for gfx-rs")
580 (description "This package provides the openGL backend for gfx-rs.")
581 (license license:asl2.0)))
582
583 (define-public rust-gfx-gl-0.6
584 (package
585 (name "rust-gfx-gl")
586 (version "0.6.1")
587 (source
588 (origin
589 (method url-fetch)
590 (uri (crate-uri "gfx_gl" version))
591 (file-name
592 (string-append name "-" version ".tar.gz"))
593 (sha256
594 (base32
595 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
596 (build-system cargo-build-system)
597 (arguments
598 `(#:skip-build? #t
599 #:cargo-inputs
600 (("rust-gl-generator" ,rust-gl-generator-0.14))))
601 (home-page "https://github.com/gfx-rs/gfx_gl")
602 (synopsis "OpenGL bindings for gfx, based on gl-rs")
603 (description
604 "This package provides OpenGL bindings for gfx, based on gl-rs.")
605 (license license:asl2.0)))
606
607 (define-public rust-gif-0.10
608 (package
609 (name "rust-gif")
610 (version "0.10.3")
611 (source
612 (origin
613 (method url-fetch)
614 (uri (crate-uri "gif" version))
615 (file-name
616 (string-append name "-" version ".tar.gz"))
617 (sha256
618 (base32
619 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
620 (build-system cargo-build-system)
621 (arguments
622 `(#:tests? #f ; tests not included in release
623 #:cargo-inputs
624 (("rust-color-quant" ,rust-color-quant-1.0)
625 ("rust-libc" ,rust-libc-0.2)
626 ("rust-lzw" ,rust-lzw-0.10))
627 #:cargo-development-inputs
628 (("rust-glob" ,rust-glob-0.3))))
629 (home-page "https://github.com/image-rs/image-gif")
630 (synopsis "GIF decoder and encoder")
631 (description "This package provides a GIF decoder and encoder in Rust.")
632 (license (list license:expat license:asl2.0))))
633
634 (define-public rust-gl-0.11
635 (package
636 (name "rust-gl")
637 (version "0.11.0")
638 (source
639 (origin
640 (method url-fetch)
641 (uri (crate-uri "gl" version))
642 (file-name
643 (string-append name "-" version ".tar.gz"))
644 (sha256
645 (base32
646 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
647 (build-system cargo-build-system)
648 (arguments
649 `(#:skip-build? #t
650 #:cargo-inputs
651 (("rust-gl-generator" ,rust-gl-generator-0.10))))
652 (home-page "https://github.com/brendanzab/gl-rs/")
653 (synopsis "OpenGL bindings for rust")
654 (description "This package provides OpenGL bindings for rust.")
655 (license license:asl2.0)))
656
657 (define-public rust-gl-generator-0.14
658 (package
659 (name "rust-gl-generator")
660 (version "0.14.0")
661 (source
662 (origin
663 (method url-fetch)
664 (uri (crate-uri "gl-generator" version))
665 (file-name
666 (string-append name "-" version ".tar.gz"))
667 (sha256
668 (base32
669 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
670 (build-system cargo-build-system)
671 (arguments
672 `(#:cargo-inputs
673 (("rust-khronos-api" ,rust-khronos-api-3)
674 ("rust-log" ,rust-log-0.4)
675 ("rust-xml-rs" ,rust-xml-rs-0.8))))
676 (home-page "https://github.com/brendanzab/gl-rs/")
677 (synopsis "Code generators for bindings to the Khronos OpenGL APIs")
678 (description
679 "Code generators for creating bindings to the Khronos OpenGL APIs.")
680 (license license:asl2.0)))
681
682 (define-public rust-gl-generator-0.13
683 (package
684 (inherit rust-gl-generator-0.14)
685 (name "rust-gl-generator")
686 (version "0.13.1")
687 (source
688 (origin
689 (method url-fetch)
690 (uri (crate-uri "gl-generator" version))
691 (file-name
692 (string-append name "-" version ".tar.gz"))
693 (sha256
694 (base32
695 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
696
697 (define-public rust-gl-generator-0.11
698 (package
699 (inherit rust-gl-generator-0.13)
700 (name "rust-gl-generator")
701 (version "0.11.0")
702 (source
703 (origin
704 (method url-fetch)
705 (uri (crate-uri "gl-generator" version))
706 (file-name
707 (string-append name "-" version ".tar.gz"))
708 (sha256
709 (base32
710 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
711
712 (define-public rust-gl-generator-0.10
713 (package
714 (name "rust-gl-generator")
715 (version "0.10.0")
716 (source
717 (origin
718 (method url-fetch)
719 (uri (crate-uri "gl_generator" version))
720 (file-name
721 (string-append name "-" version ".tar.gz"))
722 (sha256
723 (base32
724 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
725 (build-system cargo-build-system)
726 (arguments
727 `(#:skip-build? #t
728 #:cargo-inputs
729 (("rust-log" ,rust-log-0.4)
730 ("rust-xml-rs" ,rust-xml-rs-0.8)
731 ("rust-khronos-api" ,rust-khronos-api-3))))
732 (home-page "https://github.com/brendanzab/gl-rs/")
733 (synopsis
734 "Code generators for creating bindings to the Khronos OpenGL APIs")
735 (description
736 "Code generators for creating bindings to the Khronos OpenGL APIs.")
737 (license license:asl2.0)))
738
739 (define-public rust-gleam-0.6
740 (package
741 (name "rust-gleam")
742 (version "0.6.19")
743 (source
744 (origin
745 (method url-fetch)
746 (uri (crate-uri "gleam" version))
747 (file-name
748 (string-append name "-" version ".tar.gz"))
749 (sha256
750 (base32
751 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
752 (build-system cargo-build-system)
753 (arguments
754 `(#:cargo-inputs
755 (("rust-gl-generator" ,rust-gl-generator-0.13))))
756 (home-page "https://github.com/servo/gleam")
757 (synopsis "Generated OpenGL bindings and wrapper for Servo")
758 (description
759 "Generated OpenGL bindings and wrapper for Servo.")
760 (license (list license:asl2.0 license:expat))))
761
762 (define-public rust-glutin-0.22
763 (package
764 (name "rust-glutin")
765 (version "0.22.0-alpha5")
766 (source
767 (origin
768 (method url-fetch)
769 (uri (crate-uri "glutin" version))
770 (file-name
771 (string-append name "-" version ".tar.gz"))
772 (sha256
773 (base32
774 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
775 (build-system cargo-build-system)
776 (arguments
777 `(#:cargo-inputs
778 (("rust-android-glue" ,rust-android-glue-0.2)
779 ("rust-cgl" ,rust-cgl-0.3)
780 ("rust-cocoa" ,rust-cocoa-0.19)
781 ("rust-core-foundation" ,rust-core-foundation-0.6)
782 ("rust-core-graphics" ,rust-core-graphics-0.17)
783 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
784 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
785 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
786 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
787 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
788 ("rust-lazy-static" ,rust-lazy-static-1)
789 ("rust-libloading" ,rust-libloading-0.5)
790 ("rust-log" ,rust-log-0.4)
791 ("rust-objc" ,rust-objc-0.2)
792 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
793 ("rust-parking-lot" ,rust-parking-lot-0.9)
794 ("rust-wayland-client" ,rust-wayland-client-0.23)
795 ("rust-winapi" ,rust-winapi-0.3)
796 ("rust-winit" ,rust-winit-0.20))))
797 (home-page "https://github.com/tomaka/glutin")
798 (synopsis
799 "Cross-platform OpenGL context provider")
800 (description
801 "Cross-platform OpenGL context provider.")
802 (license license:asl2.0)))
803
804 (define-public rust-glutin-0.21
805 (package
806 (inherit rust-glutin-0.22)
807 (name "rust-glutin")
808 (version "0.21.2")
809 (source
810 (origin
811 (method url-fetch)
812 (uri (crate-uri "glutin" version))
813 (file-name
814 (string-append name "-" version ".tar.gz"))
815 (sha256
816 (base32
817 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
818 (arguments
819 `(#:cargo-inputs
820 (("rust-android-glue" ,rust-android-glue-0.2)
821 ("rust-cgl" ,rust-cgl-0.2)
822 ("rust-cocoa" ,rust-cocoa-0.18)
823 ("rust-core-foundation" ,rust-core-foundation-0.6)
824 ("rust-core-graphics" ,rust-core-graphics-0.17)
825 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
826 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
827 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
828 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
829 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
830 ("rust-lazy-static" ,rust-lazy-static-1)
831 ("rust-libloading" ,rust-libloading-0.5)
832 ("rust-objc" ,rust-objc-0.2)
833 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
834 ("rust-parking-lot" ,rust-parking-lot-0.9)
835 ("rust-wayland-client" ,rust-wayland-client-0.21)
836 ("rust-winapi" ,rust-winapi-0.3)
837 ("rust-winit" ,rust-winit-0.19))))))
838
839 (define-public rust-glutin-egl-sys-0.1
840 (package
841 (name "rust-glutin-egl-sys")
842 (version "0.1.4")
843 (source
844 (origin
845 (method url-fetch)
846 (uri (crate-uri "glutin-egl-sys" version))
847 (file-name
848 (string-append name "-" version ".tar.gz"))
849 (sha256
850 (base32
851 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
852 (build-system cargo-build-system)
853 (arguments
854 `(#:cargo-inputs
855 (("rust-winapi" ,rust-winapi-0.3)
856 ("rust-gl-generator" ,rust-gl-generator-0.13))))
857 (home-page "https://github.com/rust-windowing/glutin")
858 (synopsis "Egl bindings for glutin")
859 (description "The egl bindings for glutin.")
860 (license license:asl2.0)))
861
862 (define-public rust-glutin-emscripten-sys-0.1
863 (package
864 (name "rust-glutin-emscripten-sys")
865 (version "0.1.0")
866 (source
867 (origin
868 (method url-fetch)
869 (uri (crate-uri "glutin_emscripten_sys" version))
870 (file-name
871 (string-append name "-" version ".tar.gz"))
872 (sha256
873 (base32
874 "1ix0jmm8p5if4qarzdfl5mz9rbq4hhgqarakb3bzwvyz13dkynr4"))))
875 (build-system cargo-build-system)
876 (home-page "https://github.com/tomaka/glutin")
877 (synopsis "Emscripten bindings for glutin")
878 (description "The emscripten bindings for glutin.")
879 (license license:asl2.0)))
880
881 (define-public rust-glutin-gles2-sys-0.1
882 (package
883 (name "rust-glutin-gles2-sys")
884 (version "0.1.5")
885 (source
886 (origin
887 (method url-fetch)
888 (uri (crate-uri "glutin_gles2_sys" version))
889 (file-name (string-append name "-" version ".tar.gz"))
890 (sha256
891 (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8"))))
892 (build-system cargo-build-system)
893 (arguments
894 `(#:skip-build? #t
895 #:cargo-inputs
896 (("rust-gl-generator" ,rust-gl-generator-0.14)
897 ("rust-objc" ,rust-objc-0.2))))
898 (home-page "https://github.com/tomaka/glutin")
899 (synopsis "Gles2 bindings for glutin")
900 (description "This package provides gles2 bindings for glutin.")
901 (license license:asl2.0)))
902
903 (define-public rust-glutin-glx-sys-0.1
904 (package
905 (name "rust-glutin-glx-sys")
906 (version "0.1.7")
907 (source
908 (origin
909 (method url-fetch)
910 (uri (crate-uri "glutin_glx_sys" version))
911 (file-name (string-append name "-" version ".tar.gz"))
912 (sha256
913 (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
914 (build-system cargo-build-system)
915 (arguments
916 `(#:skip-build? #t
917 #:cargo-inputs
918 (("rust-gl-generator" ,rust-gl-generator-0.14)
919 ("rust-x11-dl" ,rust-x11-dl-2))))
920 (home-page "https://github.com/tomaka/glutin")
921 (synopsis "Glx bindings for glutin")
922 (description "This package provides glx bindings for glutin.")
923 (license license:asl2.0)))
924
925 (define-public rust-glutin-wgl-sys-0.1
926 (package
927 (name "rust-glutin-wgl-sys")
928 (version "0.1.5")
929 (source
930 (origin
931 (method url-fetch)
932 (uri (crate-uri "glutin_wgl_sys" version))
933 (file-name (string-append name "-" version ".tar.gz"))
934 (sha256
935 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
936 (build-system cargo-build-system)
937 (arguments
938 `(#:skip-build? #t
939 #:cargo-inputs
940 (("rust-gl-generator" ,rust-gl-generator-0.14))))
941 (home-page "https://github.com/tomaka/glutin")
942 (synopsis "Wgl bindings for glutin")
943 (description "This package provides wgl bindings for glutin.")
944 (license license:asl2.0)))
945
946 (define-public rust-image-0.23
947 (package
948 (name "rust-image")
949 (version "0.23.6")
950 (source
951 (origin
952 (method url-fetch)
953 (uri (crate-uri "image" version))
954 (file-name
955 (string-append name "-" version ".tar.gz"))
956 (sha256
957 (base32
958 "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m"))))
959 (build-system cargo-build-system)
960 (arguments
961 `(#:tests? #f ; Some test images are missing from the release.
962 #:cargo-inputs
963 (("rust-bytemuck" ,rust-bytemuck-1)
964 ("rust-byteorder" ,rust-byteorder-1)
965 ("rust-gif" ,rust-gif-0.10)
966 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
967 ("rust-num-iter" ,rust-num-iter-0.1)
968 ("rust-num-rational" ,rust-num-rational-0.3)
969 ("rust-num-traits" ,rust-num-traits-0.2)
970 ("rust-png" ,rust-png-0.16)
971 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
972 ("rust-tiff" ,rust-tiff-0.5))
973 #:cargo-development-inputs
974 (("rust-crc32fast" ,rust-crc32fast-1)
975 ("rust-criterion" ,rust-criterion-0.3)
976 ("rust-glob" ,rust-glob-0.3)
977 ("rust-num-complex" ,rust-num-complex-0.3)
978 ("rust-quickcheck" ,rust-quickcheck-0.9))))
979 (home-page "https://github.com/image-rs/image")
980 (synopsis "Imaging library written in Rust")
981 (description
982 "Imaging library written in Rust. Provides basic filters and decoders
983 for the most common image formats.")
984 (license license:expat)))
985
986 (define-public rust-image-0.22
987 (package
988 (inherit rust-image-0.23)
989 (name "rust-image")
990 (version "0.22.5")
991 (source
992 (origin
993 (method url-fetch)
994 (uri (crate-uri "image" version))
995 (file-name
996 (string-append name "-" version ".tar.gz"))
997 (sha256
998 (base32
999 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
1000 (arguments
1001 `(#:tests? #f ; Some test images are missing from the release.
1002 #:cargo-inputs
1003 (("rust-byteorder" ,rust-byteorder-1)
1004 ("rust-gif" ,rust-gif-0.10)
1005 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1006 ("rust-num-iter" ,rust-num-iter-0.1)
1007 ("rust-num-rational" ,rust-num-rational-0.2)
1008 ("rust-num-traits" ,rust-num-traits-0.2)
1009 ("rust-png" ,rust-png-0.15)
1010 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1011 ("rust-tiff" ,rust-tiff-0.3))
1012 #:cargo-development-inputs
1013 (("rust-crc32fast" ,rust-crc32fast-1)
1014 ("rust-glob" ,rust-glob-0.3)
1015 ("rust-num-complex" ,rust-num-complex-0.2)
1016 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
1017
1018 (define-public rust-image-0.21
1019 (package
1020 (inherit rust-image-0.22)
1021 (name "rust-image")
1022 (version "0.21.3")
1023 (source
1024 (origin
1025 (method url-fetch)
1026 (uri (crate-uri "image" version))
1027 (file-name
1028 (string-append name "-" version ".tar.gz"))
1029 (sha256
1030 (base32
1031 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
1032 (arguments
1033 `(#:cargo-inputs
1034 (("rust-byteorder" ,rust-byteorder-1)
1035 ("rust-gif" ,rust-gif-0.10)
1036 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1037 ("rust-lzw" ,rust-lzw-0.10)
1038 ("rust-num-iter" ,rust-num-iter-0.1)
1039 ("rust-num-rational" ,rust-num-rational-0.2)
1040 ("rust-num-traits" ,rust-num-traits-0.2)
1041 ("rust-png" ,rust-png-0.14)
1042 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1043 ("rust-tiff" ,rust-tiff-0.2))
1044 #:cargo-development-inputs
1045 (("rust-glob" ,rust-glob-0.3)
1046 ("rust-num-complex" ,rust-num-complex-0.2)
1047 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1048
1049 (define-public rust-image-0.20
1050 (package
1051 (inherit rust-image-0.21)
1052 (name "rust-image")
1053 (version "0.20.1")
1054 (source
1055 (origin
1056 (method url-fetch)
1057 (uri (crate-uri "image" version))
1058 (file-name
1059 (string-append name "-" version ".tar.gz"))
1060 (sha256
1061 (base32
1062 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1063 (arguments
1064 `(#:cargo-inputs
1065 (("rust-byteorder" ,rust-byteorder-1)
1066 ("rust-gif" ,rust-gif-0.10)
1067 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1068 ("rust-lzw" ,rust-lzw-0.10)
1069 ("rust-num-iter" ,rust-num-iter-0.1)
1070 ("rust-num-rational" ,rust-num-rational-0.2)
1071 ("rust-num-traits" ,rust-num-traits-0.2)
1072 ("rust-png" ,rust-png-0.12)
1073 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1074 ("rust-tiff" ,rust-tiff-0.2))
1075 #:cargo-development-inputs
1076 (("rust-glob" ,rust-glob-0.2)
1077 ("rust-num-complex" ,rust-num-complex-0.2)
1078 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1079
1080 (define-public rust-jpeg-decoder-0.1
1081 (package
1082 (name "rust-jpeg-decoder")
1083 (version "0.1.18")
1084 (source
1085 (origin
1086 (method url-fetch)
1087 (uri (crate-uri "jpeg-decoder" version))
1088 (file-name
1089 (string-append name "-" version ".tar.gz"))
1090 (sha256
1091 (base32
1092 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1093 (build-system cargo-build-system)
1094 (arguments
1095 `(#:tests? #f ; Some test files missing.
1096 #:cargo-inputs
1097 (("rust-byteorder" ,rust-byteorder-1)
1098 ("rust-rayon" ,rust-rayon-1))
1099 #:cargo-development-inputs
1100 (("rust-criterion" ,rust-criterion-0.3)
1101 ("rust-png" ,rust-png-0.14)
1102 ("rust-walkdir" ,rust-walkdir-2))))
1103 (home-page "https://github.com/image-rs/jpeg-decoder")
1104 (synopsis "JPEG decoder")
1105 (description "JPEG decoder written in Rust.")
1106 (license (list license:expat license:asl2.0))))
1107
1108 (define-public rust-line-drawing-0.7
1109 (package
1110 (name "rust-line-drawing")
1111 (version "0.7.0")
1112 (source
1113 (origin
1114 (method url-fetch)
1115 (uri (crate-uri "line_drawing" version))
1116 (file-name
1117 (string-append name "-" version ".tar.gz"))
1118 (sha256
1119 (base32
1120 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1121 (build-system cargo-build-system)
1122 (arguments
1123 ;; This version does not specify any versions on dependants.
1124 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1125 #:cargo-inputs
1126 (("rust-num-traits" ,rust-num-traits-0.2))
1127 #:cargo-development-inputs
1128 (("rust-bresenham" ,rust-bresenham-0.1)
1129 ("rust-image" ,rust-image-0.22) ; 0.17?
1130 ("rust-rand" ,rust-rand-0.6))))
1131 (home-page "https://github.com/expenses/line_drawing")
1132 (synopsis "Collection of line-drawing algorithms")
1133 (description
1134 "This package provides a collection of line-drawing algorithms for use in
1135 graphics and video games.")
1136 (license license:expat)))
1137
1138 (define-public rust-lyon-geom-0.14
1139 (package
1140 (name "rust-lyon-geom")
1141 (version "0.14.1")
1142 (source
1143 (origin
1144 (method url-fetch)
1145 (uri (crate-uri "lyon_geom" version))
1146 (file-name
1147 (string-append name "-" version ".tar.gz"))
1148 (sha256
1149 (base32
1150 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1151 (build-system cargo-build-system)
1152 (arguments
1153 `(#:skip-build? #t
1154 #:cargo-inputs
1155 (("rust-num-traits" ,rust-num-traits-0.2)
1156 ("rust-euclid" ,rust-euclid-0.20)
1157 ("rust-arrayvec" ,rust-arrayvec-0.4)
1158 ("rust-serde" ,rust-serde-1))))
1159 (home-page "https://github.com/nical/lyon")
1160 (synopsis "2D graphics rendering on the GPU using tessellation")
1161 (description
1162 "This package provides 2D graphics rendering on the GPU using tessellation.")
1163 (license (list license:expat license:asl2.0))))
1164
1165 (define-public rust-lyon-path-0.14
1166 (package
1167 (name "rust-lyon-path")
1168 (version "0.14.0")
1169 (source
1170 (origin
1171 (method url-fetch)
1172 (uri (crate-uri "lyon_path" version))
1173 (file-name
1174 (string-append name "-" version ".tar.gz"))
1175 (sha256
1176 (base32
1177 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1178 (build-system cargo-build-system)
1179 (arguments
1180 `(#:skip-build? #t
1181 #:cargo-inputs
1182 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1183 ("rust-serde" ,rust-serde-1))))
1184 (home-page "https://github.com/nical/lyon")
1185 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1186 (description
1187 "Types and utilities to store, build and iterate over 2D paths.")
1188 (license (list license:expat license:asl2.0))))
1189
1190 (define-public rust-osmesa-sys-0.1
1191 (package
1192 (name "rust-osmesa-sys")
1193 (version "0.1.2")
1194 (source
1195 (origin
1196 (method url-fetch)
1197 (uri (crate-uri "osmesa-sys" version))
1198 (file-name
1199 (string-append name "-" version ".tar.gz"))
1200 (sha256
1201 (base32
1202 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1203 (build-system cargo-build-system)
1204 (arguments
1205 `(#:cargo-inputs
1206 (("rust-shared-library" ,rust-shared-library-0.1))))
1207 (home-page "https://crates.io/crates/osmesa-sys")
1208 (synopsis "OSMesa library bindings for Rust")
1209 (description "This package provides OSMesa library bindings for Rust.")
1210 (license license:cc0)))
1211
1212 (define-public rust-piston-0.49
1213 (package
1214 (name "rust-piston")
1215 (version "0.49.0")
1216 (source
1217 (origin
1218 (method url-fetch)
1219 (uri (crate-uri "piston" version))
1220 (file-name
1221 (string-append name "-" version ".tar.gz"))
1222 (sha256
1223 (base32
1224 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1225 (build-system cargo-build-system)
1226 (arguments
1227 `(#:skip-build? #t
1228 #:cargo-inputs
1229 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1230 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1231 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1232 (home-page "https://github.com/PistonDevelopers/piston")
1233 (synopsis "Piston game engine core libraries")
1234 (description
1235 "The Piston game engine core libraries.")
1236 (license license:expat)))
1237
1238 (define-public rust-piston-float-1.0
1239 (package
1240 (name "rust-piston-float")
1241 (version "1.0.0")
1242 (source
1243 (origin
1244 (method url-fetch)
1245 (uri (crate-uri "piston-float" version))
1246 (file-name
1247 (string-append name "-" version ".tar.gz"))
1248 (sha256
1249 (base32
1250 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1251 (build-system cargo-build-system)
1252 (arguments `(#:skip-build? #t))
1253 (home-page
1254 "https://github.com/pistondevelopers/float")
1255 (synopsis
1256 "Traits for generic floats in game development")
1257 (description
1258 "Traits for generic floats in game development")
1259 (license license:expat)))
1260
1261 (define-public rust-piston-gfx-texture-0.40
1262 (package
1263 (name "rust-piston-gfx-texture")
1264 (version "0.40.0")
1265 (source
1266 (origin
1267 (method url-fetch)
1268 (uri (crate-uri "piston-gfx_texture" version))
1269 (file-name
1270 (string-append name "-" version ".tar.gz"))
1271 (sha256
1272 (base32
1273 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1274 (build-system cargo-build-system)
1275 (arguments
1276 `(#:skip-build? #t
1277 #:cargo-inputs
1278 (("rust-gfx" ,rust-gfx-0.18)
1279 ("rust-image" ,rust-image-0.22)
1280 ("rust-piston-texture" ,rust-piston-texture-0.8)
1281 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1282 (home-page "https://github.com/pistondevelopers/gfx_texture")
1283 (synopsis
1284 "Gfx texture representation that works nicely with Piston libraries")
1285 (description "This package provides a Gfx texture representation that works
1286 nicely with Piston libraries.")
1287 (license license:expat)))
1288
1289 (define-public rust-piston-graphics-api-version-0.2
1290 (package
1291 (name "rust-piston-graphics-api-version")
1292 (version "0.2.0")
1293 (source
1294 (origin
1295 (method url-fetch)
1296 (uri (crate-uri "piston-graphics_api_version" version))
1297 (file-name
1298 (string-append name "-" version ".tar.gz"))
1299 (sha256
1300 (base32
1301 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1302 (build-system cargo-build-system)
1303 (arguments `(#:skip-build? #t))
1304 (home-page
1305 "https://github.com/PistonDevelopers/graphics_api_version")
1306 (synopsis
1307 "A library for storing graphics API versions")
1308 (description
1309 "This package provides a library for storing graphics API versions")
1310 (license license:expat)))
1311
1312 (define-public rust-piston-shaders-graphics2d-0.3
1313 (package
1314 (name "rust-piston-shaders-graphics2d")
1315 (version "0.3.1")
1316 (source
1317 (origin
1318 (method url-fetch)
1319 (uri (crate-uri "piston-shaders_graphics2d" version))
1320 (file-name
1321 (string-append name "-" version ".tar.gz"))
1322 (sha256
1323 (base32
1324 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1325 (build-system cargo-build-system)
1326 (arguments `(#:skip-build? #t))
1327 (home-page
1328 "https://github.com/PistonDevelopers/shaders")
1329 (synopsis "Shaders for 2D graphics in Rust")
1330 (description "Shaders for 2D graphics in Rust")
1331 (license license:expat)))
1332
1333 (define-public rust-piston-texture-0.8
1334 (package
1335 (name "rust-piston-texture")
1336 (version "0.8.0")
1337 (source
1338 (origin
1339 (method url-fetch)
1340 (uri (crate-uri "piston-texture" version))
1341 (file-name
1342 (string-append name "-" version ".tar.gz"))
1343 (sha256
1344 (base32
1345 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1346 (build-system cargo-build-system)
1347 (arguments `(#:skip-build? #t))
1348 (home-page
1349 "https://github.com/pistondevelopers/texture")
1350 (synopsis "A generic library for textures")
1351 (description
1352 "This package provides a generic library for textures")
1353 (license license:expat)))
1354
1355 (define-public rust-piston-viewport-1.0
1356 (package
1357 (name "rust-piston-viewport")
1358 (version "1.0.0")
1359 (source
1360 (origin
1361 (method url-fetch)
1362 (uri (crate-uri "piston-viewport" version))
1363 (file-name
1364 (string-append name "-" version ".tar.gz"))
1365 (sha256
1366 (base32
1367 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1368 (build-system cargo-build-system)
1369 (arguments
1370 `(#:skip-build? #t
1371 #:cargo-inputs
1372 (("rust-piston-float" ,rust-piston-float-1.0))))
1373 (home-page "https://github.com/PistonDevelopers/viewport")
1374 (synopsis "Library for storing viewport information")
1375 (description
1376 "This package provides a library for storing viewport information.")
1377 (license license:expat)))
1378
1379 (define-public rust-piston-window-0.105
1380 (package
1381 (name "rust-piston-window")
1382 (version "0.105.0")
1383 (source
1384 (origin
1385 (method url-fetch)
1386 (uri (crate-uri "piston_window" version))
1387 (file-name
1388 (string-append name "-" version ".tar.gz"))
1389 (sha256
1390 (base32
1391 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1392 (build-system cargo-build-system)
1393 (arguments
1394 `(#:skip-build? #t
1395 #:cargo-inputs
1396 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1397 ("rust-gfx" ,rust-gfx-0.18)
1398 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1399 ("rust-piston" ,rust-piston-0.49)
1400 ("rust-shader-version" ,rust-shader-version-0.6)
1401 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1402 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1403 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1404 (home-page "https://github.com/pistondevelopers/piston_window")
1405 (synopsis "Official Piston window wrapper for the Piston game engine")
1406 (description
1407 "The official Piston window wrapper for the Piston game engine.")
1408 (license license:expat)))
1409
1410 (define-public rust-piston2d-gfx-graphics-0.66
1411 (package
1412 (name "rust-piston2d-gfx-graphics")
1413 (version "0.66.0")
1414 (source
1415 (origin
1416 (method url-fetch)
1417 (uri (crate-uri "piston2d-gfx_graphics" version))
1418 (file-name
1419 (string-append name "-" version ".tar.gz"))
1420 (sha256
1421 (base32
1422 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1423 (build-system cargo-build-system)
1424 (arguments
1425 `(#:skip-build? #t
1426 #:cargo-inputs
1427 (("rust-gfx" ,rust-gfx-0.18)
1428 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1429 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1430 ("rust-shader-version" ,rust-shader-version-0.6)
1431 ("rust-draw-state" ,rust-draw-state-0.8))))
1432 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1433 (synopsis "Gfx 2D back-end for the Piston game engine")
1434 (description
1435 "This package provides a Gfx 2D back-end for the Piston game engine.")
1436 (license license:expat)))
1437
1438 (define-public rust-piston2d-graphics-0.35
1439 (package
1440 (name "rust-piston2d-graphics")
1441 (version "0.35.0")
1442 (source
1443 (origin
1444 (method url-fetch)
1445 (uri (crate-uri "piston2d-graphics" version))
1446 (file-name
1447 (string-append name "-" version ".tar.gz"))
1448 (sha256
1449 (base32
1450 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1451 (build-system cargo-build-system)
1452 (arguments
1453 `(#:skip-build? #t
1454 #:cargo-inputs
1455 (("rust-interpolation" ,rust-interpolation-0.2)
1456 ("rust-rusttype" ,rust-rusttype-0.7)
1457 ("rust-piston-texture" ,rust-piston-texture-0.8)
1458 ("rust-piston-viewport" ,rust-piston-viewport-1.0)
1459 ("rust-read-color" ,rust-read-color-1.0)
1460 ("rust-vecmath" ,rust-vecmath-1.0)
1461 ("rust-fnv" ,rust-fnv-1))))
1462 (home-page "https://github.com/pistondevelopers/graphics")
1463 (synopsis "Library for 2D graphics that works with multiple back-ends")
1464 (description "This package provides a library for 2D graphics that works
1465 with multiple back-ends.")
1466 (license license:expat)))
1467
1468 (define-public rust-pistoncore-event-loop-0.49
1469 (package
1470 (name "rust-pistoncore-event-loop")
1471 (version "0.49.0")
1472 (source
1473 (origin
1474 (method url-fetch)
1475 (uri (crate-uri "pistoncore-event_loop" version))
1476 (file-name
1477 (string-append name "-" version ".tar.gz"))
1478 (sha256
1479 (base32
1480 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1481 (build-system cargo-build-system)
1482 (arguments
1483 `(#:skip-build? #t
1484 #:cargo-inputs
1485 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1486 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1487 (home-page "https://github.com/PistonDevelopers/piston")
1488 (synopsis "Piston event loop for games and interactive applications")
1489 (description "This package provides a Piston event loop for games and
1490 interactive applications.")
1491 (license license:expat)))
1492
1493 (define-public rust-pistoncore-glutin-window-0.63
1494 (package
1495 (name "rust-pistoncore-glutin-window")
1496 (version "0.63.0")
1497 (source
1498 (origin
1499 (method url-fetch)
1500 (uri (crate-uri "pistoncore-glutin_window" version))
1501 (file-name
1502 (string-append name "-" version ".tar.gz"))
1503 (sha256
1504 (base32
1505 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1506 (build-system cargo-build-system)
1507 (arguments
1508 `(#:skip-build? #t
1509 #:cargo-inputs
1510 (("rust-gl" ,rust-gl-0.11)
1511 ("rust-glutin" ,rust-glutin-0.21)
1512 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1513 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1514 ("rust-shader-version" ,rust-shader-version-0.6))))
1515 (home-page "https://github.com/pistondevelopers/glutin_window")
1516 (synopsis "Piston window back-end using the Glutin library")
1517 (description
1518 "This package provides a Piston window back-end using the Glutin library.")
1519 (license license:expat)))
1520
1521 (define-public rust-pistoncore-input-0.28
1522 (package
1523 (name "rust-pistoncore-input")
1524 (version "0.28.0")
1525 (source
1526 (origin
1527 (method url-fetch)
1528 (uri (crate-uri "pistoncore-input" version))
1529 (file-name
1530 (string-append name "-" version ".tar.gz"))
1531 (sha256
1532 (base32
1533 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1534 (build-system cargo-build-system)
1535 (arguments
1536 `(#:skip-build? #t
1537 #:cargo-inputs
1538 (("rust-piston-viewport" ,rust-piston-viewport-1.0)
1539 ("rust-serde" ,rust-serde-1)
1540 ("rust-serde-derive" ,rust-serde-derive-1)
1541 ("rust-bitflags" ,rust-bitflags-1))))
1542 (home-page "https://github.com/PistonDevelopers/piston")
1543 (synopsis "Structure for user input")
1544 (description
1545 "This package provides a structure for user input.")
1546 (license license:expat)))
1547
1548 (define-public rust-pistoncore-window-0.44
1549 (package
1550 (name "rust-pistoncore-window")
1551 (version "0.44.0")
1552 (source
1553 (origin
1554 (method url-fetch)
1555 (uri (crate-uri "pistoncore-window" version))
1556 (file-name
1557 (string-append name "-" version ".tar.gz"))
1558 (sha256
1559 (base32
1560 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1561 (build-system cargo-build-system)
1562 (arguments
1563 `(#:skip-build? #t
1564 #:cargo-inputs
1565 (("rust-piston-graphics-api-version"
1566 ,rust-piston-graphics-api-version-0.2)
1567 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1568 (home-page "https://github.com/PistonDevelopers/piston")
1569 (synopsis "Library for window abstraction")
1570 (description
1571 "This package provides a library for window abstraction.")
1572 (license license:expat)))
1573
1574 (define-public rust-png-0.16
1575 (package
1576 (name "rust-png")
1577 (version "0.16.8")
1578 (source
1579 (origin
1580 (method url-fetch)
1581 (uri (crate-uri "png" version))
1582 (file-name (string-append name "-" version ".tar.gz"))
1583 (sha256
1584 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
1585 (build-system cargo-build-system)
1586 (arguments
1587 `(#:skip-build? #t
1588 #:cargo-inputs
1589 (("rust-bitflags" ,rust-bitflags-1)
1590 ("rust-crc32fast" ,rust-crc32fast-1)
1591 ("rust-deflate" ,rust-deflate-0.8)
1592 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1593 (home-page "https://github.com/image-rs/image-png.git")
1594 (synopsis "PNG decoding and encoding library in pure Rust")
1595 (description
1596 "This package is a PNG decoding and encoding library in pure Rust.")
1597 (license (list license:expat license:asl2.0))))
1598
1599 (define-public rust-png-0.15
1600 (package
1601 (inherit rust-png-0.16)
1602 (name "rust-png")
1603 (version "0.15.3")
1604 (source
1605 (origin
1606 (method url-fetch)
1607 (uri (crate-uri "png" version))
1608 (file-name
1609 (string-append name "-" version ".tar.gz"))
1610 (sha256
1611 (base32
1612 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1613 (arguments
1614 `(#:skip-build? #t
1615 #:cargo-inputs
1616 (("rust-bitflags" ,rust-bitflags-1)
1617 ("rust-crc32fast" ,rust-crc32fast-1)
1618 ("rust-deflate" ,rust-deflate-0.7)
1619 ("rust-inflate" ,rust-inflate-0.4))
1620 #:cargo-development-inputs
1621 (("rust-getopts" ,rust-getopts-0.2)
1622 ;; TODO: glium has many cyclic dependencies with other packages
1623 ;;("rust-glium" ,rust-glium-0.24)
1624 ("rust-glob" ,rust-glob-0.3)
1625 ("rust-rand" ,rust-rand-0.7)
1626 ("rust-term" ,rust-term-0.6))))))
1627
1628 (define-public rust-png-0.14
1629 (package
1630 (inherit rust-png-0.15)
1631 (name "rust-png")
1632 (version "0.14.1")
1633 (source
1634 (origin
1635 (method url-fetch)
1636 (uri (crate-uri "png" version))
1637 (file-name
1638 (string-append name "-" version ".tar.gz"))
1639 (sha256
1640 (base32
1641 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1642 (arguments
1643 `(#:skip-build? #t
1644 #:cargo-inputs
1645 (("rust-bitflags" ,rust-bitflags-1)
1646 ("rust-deflate" ,rust-deflate-0.7)
1647 ("rust-inflate" ,rust-inflate-0.4)
1648 ("rust-num-iter" ,rust-num-iter-0.1))
1649 #:cargo-development-inputs
1650 (("rust-getopts" ,rust-getopts-0.2)
1651 ;; TODO: glium has many cyclic dependencies with other packages
1652 ;; ("rust-glium" ,rust-glium-0.22)
1653 ("rust-glob" ,rust-glob-0.2)
1654 ("rust-rand" ,rust-rand-0.5)
1655 ("rust-term" ,rust-term-0.4))))))
1656
1657 (define-public rust-png-0.12
1658 (package
1659 (inherit rust-png-0.14)
1660 (name "rust-png")
1661 (version "0.12.0")
1662 (source
1663 (origin
1664 (method url-fetch)
1665 (uri (crate-uri "png" version))
1666 (file-name
1667 (string-append name "-" version ".tar.gz"))
1668 (sha256
1669 (base32
1670 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1671 (arguments
1672 `(#:skip-build? #t
1673 #:cargo-inputs
1674 (("rust-bitflags" ,rust-bitflags-1)
1675 ("rust-deflate" ,rust-deflate-0.7)
1676 ("rust-inflate" ,rust-inflate-0.4)
1677 ("rust-num-iter" ,rust-num-iter-0.1))
1678 #:cargo-development-inputs
1679 (("rust-getopts" ,rust-getopts-0.2)
1680 ;; TODO: gluum has many cyclic dependencies with other packages
1681 ;; ("rust-glium" ,rust-glium-0.21)
1682 ("rust-glob" ,rust-glob-0.2)
1683 ("rust-term" ,rust-term-0.4))))))
1684
1685 (define-public rust-raw-window-handle-0.3
1686 (package
1687 (name "rust-raw-window-handle")
1688 (version "0.3.3")
1689 (source
1690 (origin
1691 (method url-fetch)
1692 (uri (crate-uri "raw-window-handle" version))
1693 (file-name
1694 (string-append name "-" version ".tar.gz"))
1695 (sha256
1696 (base32
1697 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1698 (build-system cargo-build-system)
1699 (arguments
1700 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1701 (home-page "https://github.com/rust-windowing/raw-window-handle")
1702 (synopsis "Interoperability library for Rust Windowing applications")
1703 (description
1704 "Interoperability library for Rust Windowing applications.")
1705 (license license:expat)))
1706
1707 (define-public rust-resize-0.3
1708 (package
1709 (name "rust-resize")
1710 (version "0.3.1")
1711 (source
1712 (origin
1713 (method url-fetch)
1714 (uri (crate-uri "resize" version))
1715 (file-name
1716 (string-append name "-" version ".tar.gz"))
1717 (sha256
1718 (base32
1719 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1720 (build-system cargo-build-system)
1721 (arguments
1722 `(#:cargo-development-inputs
1723 (("rust-png" ,rust-png-0.15))))
1724 (home-page "https://github.com/PistonDevelopers/resize")
1725 (synopsis "Simple image resampling library in pure Rust")
1726 (description
1727 "This package provides a simple image resampling library in pure Rust.")
1728 (license license:expat)))
1729
1730 (define-public rust-rgb-0.8
1731 (package
1732 (name "rust-rgb")
1733 (version "0.8.20")
1734 (source
1735 (origin
1736 (method url-fetch)
1737 (uri (crate-uri "rgb" version))
1738 (file-name (string-append name "-" version ".crate"))
1739 (sha256
1740 (base32
1741 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1742 (build-system cargo-build-system)
1743 (arguments
1744 `(#:cargo-inputs
1745 (("rust-bytemuck" ,rust-bytemuck-1)
1746 ("rust-serde" ,rust-serde-1))
1747 #:cargo-development-inputs
1748 (("rust-serde-json" ,rust-serde-json-1))))
1749 (home-page "https://lib.rs/crates/rgb")
1750 (synopsis "Struct for sharing pixels between crates")
1751 (description
1752 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
1753 between crates + convenience methods for color manipulation. It allows no-copy
1754 high-level interoperability. It also adds common convenience methods and
1755 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
1756 first-class Rust objects.")
1757 (license license:expat)))
1758
1759 (define-public rust-smithay-client-toolkit-0.6
1760 (package
1761 (name "rust-smithay-client-toolkit")
1762 (version "0.6.4")
1763 (source
1764 (origin
1765 (method url-fetch)
1766 (uri (crate-uri "smithay-client-toolkit" version))
1767 (file-name
1768 (string-append name "-" version ".tar.gz"))
1769 (sha256
1770 (base32
1771 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
1772 (build-system cargo-build-system)
1773 (arguments
1774 `(#:cargo-inputs
1775 (("rust-andrew" ,rust-andrew-0.2)
1776 ("rust-bitflags" ,rust-bitflags-1)
1777 ("rust-dlib" ,rust-dlib-0.4)
1778 ("rust-lazy-static" ,rust-lazy-static-1)
1779 ("rust-memmap" ,rust-memmap-0.7)
1780 ("rust-nix" ,rust-nix-0.14)
1781 ("rust-wayland-client" ,rust-wayland-client-0.23)
1782 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
1783 #:cargo-development-inputs
1784 (("rust-byteorder" ,rust-byteorder-1)
1785 ("rust-image" ,rust-image-0.21)
1786 ("rust-wayland-client" ,rust-wayland-client-0.23))))
1787 (home-page "https://github.com/smithay/client-toolkit")
1788 (synopsis "Toolkit for making client wayland applications")
1789 (description
1790 "Toolkit for making client wayland applications.")
1791 (license license:expat)))
1792
1793 (define-public rust-smithay-client-toolkit-0.4
1794 (package
1795 (inherit rust-smithay-client-toolkit-0.6)
1796 (name "rust-smithay-client-toolkit")
1797 (version "0.4.6")
1798 (source
1799 (origin
1800 (method url-fetch)
1801 (uri (crate-uri "smithay-client-toolkit" version))
1802 (file-name
1803 (string-append name "-" version ".tar.gz"))
1804 (sha256
1805 (base32
1806 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
1807 (arguments
1808 `(#:cargo-inputs
1809 (("rust-andrew" ,rust-andrew-0.2)
1810 ("rust-bitflags" ,rust-bitflags-1)
1811 ("rust-dlib" ,rust-dlib-0.4)
1812 ("rust-lazy-static" ,rust-lazy-static-1)
1813 ("rust-memmap" ,rust-memmap-0.7)
1814 ("rust-nix" ,rust-nix-0.14)
1815 ("rust-wayland-client" ,rust-wayland-client-0.21)
1816 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1817 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
1818 #:cargo-development-inputs
1819 (("rust-byteorder" ,rust-byteorder-1)
1820 ("rust-image" ,rust-image-0.20)
1821 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
1822
1823 (define-public rust-smithay-clipboard-0.3
1824 (package
1825 (name "rust-smithay-clipboard")
1826 (version "0.3.6")
1827 (source
1828 (origin
1829 (method url-fetch)
1830 (uri (crate-uri "smithay-clipboard" version))
1831 (file-name
1832 (string-append name "-" version ".tar.gz"))
1833 (sha256
1834 (base32
1835 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
1836 (build-system cargo-build-system)
1837 (arguments
1838 `(#:cargo-inputs
1839 (("rust-nix" ,rust-nix-0.14)
1840 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
1841 #:cargo-development-inputs
1842 (("rust-andrew" ,rust-andrew-0.2))))
1843 (inputs
1844 `(("wayland" ,wayland)))
1845 (home-page "https://github.com/smithay/smithay-clipboard")
1846 (synopsis
1847 "Provides access to the wayland clipboard for client applications")
1848 (description
1849 "This package provides access to the wayland clipboard for client applications.")
1850 (license license:expat)))
1851
1852 (define-public rust-tiff-0.5
1853 (package
1854 (name "rust-tiff")
1855 (version "0.5.0")
1856 (source
1857 (origin
1858 (method url-fetch)
1859 (uri (crate-uri "tiff" version))
1860 (file-name
1861 (string-append name "-" version ".tar.gz"))
1862 (sha256
1863 (base32
1864 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
1865 (build-system cargo-build-system)
1866 (arguments
1867 `(#:tests? #f ; not all test files included
1868 #:cargo-inputs
1869 (("rust-byteorder" ,rust-byteorder-1)
1870 ("rust-lzw" ,rust-lzw-0.10)
1871 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1872 (home-page "https://github.com/image-rs/image-tiff")
1873 (synopsis
1874 "TIFF decoding and encoding library in pure Rust")
1875 (description
1876 "TIFF decoding and encoding library in pure Rust.")
1877 (license license:expat)))
1878
1879 (define-public rust-tiff-0.3
1880 (package
1881 (inherit rust-tiff-0.5)
1882 (name "rust-tiff")
1883 (version "0.3.1")
1884 (source
1885 (origin
1886 (method url-fetch)
1887 (uri (crate-uri "tiff" version))
1888 (file-name
1889 (string-append name "-" version ".tar.gz"))
1890 (sha256
1891 (base32
1892 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
1893 (arguments
1894 `(#:tests? #f ; Tests images not included with release.
1895 #:cargo-inputs
1896 (("rust-byteorder" ,rust-byteorder-1)
1897 ("rust-lzw" ,rust-lzw-0.10)
1898 ("rust-num-derive" ,rust-num-derive-0.2)
1899 ("rust-num-traits" ,rust-num-traits-0.2))
1900 #:cargo-development-inputs
1901 (("rust-tempfile" ,rust-tempfile-3))))))
1902
1903 (define-public rust-tiff-0.2
1904 (package
1905 (inherit rust-tiff-0.3)
1906 (name "rust-tiff")
1907 (version "0.2.2")
1908 (source
1909 (origin
1910 (method url-fetch)
1911 (uri (crate-uri "tiff" version))
1912 (file-name
1913 (string-append name "-" version ".tar.gz"))
1914 (sha256
1915 (base32
1916 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
1917 (arguments
1918 `(#:cargo-inputs
1919 (("rust-byteorder" ,rust-byteorder-1)
1920 ("rust-lzw" ,rust-lzw-0.10)
1921 ("rust-num-derive" ,rust-num-derive-0.2)
1922 ("rust-num-traits" ,rust-num-traits-0.2))))))
1923
1924 (define-public rust-wayland-client-0.23
1925 (package
1926 (name "rust-wayland-client")
1927 (version "0.23.6")
1928 (source
1929 (origin
1930 (method url-fetch)
1931 (uri (crate-uri "wayland-client" version))
1932 (file-name
1933 (string-append name "-" version ".tar.gz"))
1934 (sha256
1935 (base32
1936 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
1937 (build-system cargo-build-system)
1938 (arguments
1939 `(#:cargo-inputs
1940 (("rust-bitflags" ,rust-bitflags-1)
1941 ("rust-calloop" ,rust-calloop-0.4)
1942 ("rust-downcast-rs" ,rust-downcast-rs-1)
1943 ("rust-libc" ,rust-libc-0.2)
1944 ("rust-mio" ,rust-mio-0.6)
1945 ("rust-nix" ,rust-nix-0.14)
1946 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
1947 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
1948 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
1949 #:cargo-development-inputs
1950 (("rust-byteorder" ,rust-byteorder-1)
1951 ("rust-tempfile" ,rust-tempfile-3))))
1952 (home-page "https://github.com/smithay/wayland-rs")
1953 (synopsis
1954 "Rust bindings to the standard C implementation of the wayland protocol")
1955 (description
1956 "This package provides Rust bindings to the standard C implementation of
1957 the wayland protocol, client side.")
1958 (license license:expat)))
1959
1960 (define-public rust-wayland-client-0.21
1961 (package
1962 (inherit rust-wayland-client-0.23)
1963 (name "rust-wayland-client")
1964 (version "0.21.13")
1965 (source
1966 (origin
1967 (method url-fetch)
1968 (uri (crate-uri "wayland-client" version))
1969 (file-name
1970 (string-append name "-" version ".tar.gz"))
1971 (sha256
1972 (base32
1973 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
1974 (arguments
1975 `(#:cargo-inputs
1976 (("rust-bitflags" ,rust-bitflags-1)
1977 ("rust-calloop" ,rust-calloop-0.4)
1978 ("rust-downcast-rs" ,rust-downcast-rs-1)
1979 ("rust-libc" ,rust-libc-0.2)
1980 ("rust-mio" ,rust-mio-0.6)
1981 ("rust-nix" ,rust-nix-0.14)
1982 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1983 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
1984 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
1985 #:cargo-development-inputs
1986 (("rust-byteorder" ,rust-byteorder-1)
1987 ("rust-tempfile" ,rust-tempfile-3))))))
1988
1989 (define-public rust-wayland-commons-0.23
1990 (package
1991 (name "rust-wayland-commons")
1992 (version "0.23.6")
1993 (source
1994 (origin
1995 (method url-fetch)
1996 (uri (crate-uri "wayland-commons" version))
1997 (file-name
1998 (string-append name "-" version ".tar.gz"))
1999 (sha256
2000 (base32
2001 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
2002 (build-system cargo-build-system)
2003 (arguments
2004 `(#:cargo-inputs
2005 (("rust-nix" ,rust-nix-0.14)
2006 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
2007 (home-page "https://github.com/smithay/wayland-rs")
2008 (synopsis
2009 "Common types and structures used by wayland-client and wayland-server")
2010 (description
2011 "Common types and structures used by wayland-client and wayland-server.")
2012 (license license:expat)))
2013
2014 (define-public rust-wayland-commons-0.21
2015 (package
2016 (inherit rust-wayland-commons-0.23)
2017 (name "rust-wayland-commons")
2018 (version "0.21.13")
2019 (source
2020 (origin
2021 (method url-fetch)
2022 (uri (crate-uri "wayland-commons" version))
2023 (file-name
2024 (string-append name "-" version ".tar.gz"))
2025 (sha256
2026 (base32
2027 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2028 (arguments
2029 `(#:cargo-inputs
2030 (("rust-nix" ,rust-nix-0.14)
2031 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2032
2033 (define-public rust-wayland-egl-0.28
2034 (package
2035 (name "rust-wayland-egl")
2036 (version "0.28.3")
2037 (source
2038 (origin
2039 (method url-fetch)
2040 (uri (crate-uri "wayland-egl" version))
2041 (file-name (string-append name "-" version ".tar.gz"))
2042 (sha256
2043 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2044 (build-system cargo-build-system)
2045 (arguments
2046 `(#:skip-build? #t
2047 #:cargo-inputs
2048 (("rust-wayland-client" ,rust-wayland-client-0.28)
2049 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2050 (home-page "https://github.com/smithay/wayland-rs")
2051 (synopsis "Bindings to libwayland-egl")
2052 (description
2053 "This crate provides bindings for OpenGL/Vulkan support for
2054 Wayland client apps. It allows to create an EGLSurface from any
2055 WlSurface, which can then play the role of the base surface for
2056 initializing an OpenGL or Vulkan context.")
2057 (license license:expat)))
2058
2059 (define-public rust-wayland-protocols-0.23
2060 (package
2061 (name "rust-wayland-protocols")
2062 (version "0.23.6")
2063 (source
2064 (origin
2065 (method url-fetch)
2066 (uri (crate-uri "wayland-protocols" version))
2067 (file-name
2068 (string-append name "-" version ".tar.gz"))
2069 (sha256
2070 (base32
2071 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2072 (build-system cargo-build-system)
2073 (arguments
2074 `(#:cargo-inputs
2075 (("rust-bitflags" ,rust-bitflags-1)
2076 ("rust-wayland-client" ,rust-wayland-client-0.23)
2077 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2078 ("rust-wayland-server" ,rust-wayland-server-0.23)
2079 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2080 (home-page "https://github.com/smithay/wayland-rs")
2081 (synopsis
2082 "Generated API for the officials wayland protocol extensions")
2083 (description
2084 "Generated API for the officials wayland protocol extensions.")
2085 (license license:expat)))
2086
2087 (define-public rust-wayland-protocols-0.21
2088 (package
2089 (inherit rust-wayland-protocols-0.23)
2090 (name "rust-wayland-protocols")
2091 (version "0.21.13")
2092 (source
2093 (origin
2094 (method url-fetch)
2095 (uri (crate-uri "wayland-protocols" version))
2096 (file-name
2097 (string-append name "-" version ".tar.gz"))
2098 (sha256
2099 (base32
2100 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2101 (arguments
2102 `(#:cargo-inputs
2103 (("rust-bitflags" ,rust-bitflags-1)
2104 ("rust-wayland-client" ,rust-wayland-client-0.21)
2105 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2106 ("rust-wayland-server" ,rust-wayland-server-0.21)
2107 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2108 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2109
2110 (define-public rust-wayland-scanner-0.23
2111 (package
2112 (name "rust-wayland-scanner")
2113 (version "0.23.6")
2114 (source
2115 (origin
2116 (method url-fetch)
2117 (uri (crate-uri "wayland-scanner" version))
2118 (file-name
2119 (string-append name "-" version ".tar.gz"))
2120 (sha256
2121 (base32
2122 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2123 (build-system cargo-build-system)
2124 (arguments
2125 `(#:cargo-inputs
2126 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2127 ("rust-quote" ,rust-quote-0.6)
2128 ("rust-xml-rs" ,rust-xml-rs-0.8))))
2129 (home-page "https://github.com/smithay/wayland-rs")
2130 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2131 (description
2132 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2133 It is intended for use with wayland-sys. You should only need this crate if
2134 you are working on custom Wayland protocol extensions.
2135 Look at the wayland-client crate for usable bindings.")
2136 (license license:expat)))
2137
2138 (define-public rust-wayland-scanner-0.21
2139 (package
2140 (inherit rust-wayland-scanner-0.23)
2141 (name "rust-wayland-scanner")
2142 (version "0.21.13")
2143 (source
2144 (origin
2145 (method url-fetch)
2146 (uri (crate-uri "wayland-scanner" version))
2147 (file-name
2148 (string-append name "-" version ".tar.gz"))
2149 (sha256
2150 (base32
2151 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2152
2153 (define-public rust-wayland-server-0.23
2154 (package
2155 (name "rust-wayland-server")
2156 (version "0.23.6")
2157 (source
2158 (origin
2159 (method url-fetch)
2160 (uri (crate-uri "wayland-server" version))
2161 (file-name
2162 (string-append name "-" version ".tar.gz"))
2163 (sha256
2164 (base32
2165 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2166 (build-system cargo-build-system)
2167 (arguments
2168 `(#:cargo-inputs
2169 (("rust-bitflags" ,rust-bitflags-1)
2170 ("rust-calloop" ,rust-calloop-0.4)
2171 ("rust-downcast-rs" ,rust-downcast-rs-1)
2172 ("rust-libc" ,rust-libc-0.2)
2173 ("rust-mio" ,rust-mio-0.6)
2174 ("rust-nix" ,rust-nix-0.14)
2175 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2176 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2177 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2178 (home-page "https://github.com/smithay/wayland-rs")
2179 (synopsis
2180 "Bindings to the standard C implementation of the wayland protocol")
2181 (description
2182 "This package provides Rust bindings to the standard C implementation of
2183 the wayland protocol, server side.")
2184 (license license:expat)))
2185
2186 (define-public rust-wayland-server-0.21
2187 (package
2188 (inherit rust-wayland-server-0.23)
2189 (name "rust-wayland-server")
2190 (version "0.21.13")
2191 (source
2192 (origin
2193 (method url-fetch)
2194 (uri (crate-uri "wayland-server" version))
2195 (file-name
2196 (string-append name "-" version ".tar.gz"))
2197 (sha256
2198 (base32
2199 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2200 (arguments
2201 `(#:cargo-inputs
2202 (("rust-bitflags" ,rust-bitflags-1)
2203 ("rust-calloop" ,rust-calloop-0.4)
2204 ("rust-downcast-rs" ,rust-downcast-rs-1)
2205 ("rust-libc" ,rust-libc-0.2)
2206 ("rust-mio" ,rust-mio-0.6)
2207 ("rust-nix" ,rust-nix-0.14)
2208 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2209 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2210 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2211
2212 (define-public rust-wayland-sys-0.23
2213 (package
2214 (name "rust-wayland-sys")
2215 (version "0.23.6")
2216 (source
2217 (origin
2218 (method url-fetch)
2219 (uri (crate-uri "wayland-sys" version))
2220 (file-name
2221 (string-append name "-" version ".tar.gz"))
2222 (sha256
2223 (base32
2224 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2225 (build-system cargo-build-system)
2226 (arguments
2227 `(#:cargo-inputs
2228 (("rust-dlib" ,rust-dlib-0.4)
2229 ("rust-lazy-static" ,rust-lazy-static-1)
2230 ("rust-libc" ,rust-libc-0.2))))
2231 (home-page "https://github.com/smithay/wayland-rs")
2232 (synopsis "FFI bindings to the various libwayland-*.so libraries")
2233 (description
2234 "FFI bindings to the various libwayland-*.so libraries.
2235 You should only need this crate if you are working on custom wayland
2236 protocol extensions. Look at the crate wayland-client for usable bindings.")
2237 (license license:expat)))
2238
2239 (define-public rust-wayland-sys-0.21
2240 (package
2241 (inherit rust-wayland-sys-0.23)
2242 (name "rust-wayland-sys")
2243 (version "0.21.13")
2244 (source
2245 (origin
2246 (method url-fetch)
2247 (uri (crate-uri "wayland-sys" version))
2248 (file-name
2249 (string-append name "-" version ".tar.gz"))
2250 (sha256
2251 (base32
2252 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2253
2254 (define-public rust-winit-0.24
2255 (package
2256 (name "rust-winit")
2257 (version "0.24.0")
2258 (source
2259 (origin
2260 (method url-fetch)
2261 (uri (crate-uri "winit" version))
2262 (file-name (string-append name "-" version ".tar.gz"))
2263 (sha256
2264 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2265 (build-system cargo-build-system)
2266 (arguments
2267 `(#:skip-build? #t
2268 #:cargo-inputs
2269 (("rust-bitflags" ,rust-bitflags-1)
2270 ("rust-cocoa" ,rust-cocoa-0.24)
2271 ("rust-core-foundation" ,rust-core-foundation-0.9)
2272 ("rust-core-graphics" ,rust-core-graphics-0.22)
2273 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2274 ("rust-dispatch" ,rust-dispatch-0.2)
2275 ("rust-instant" ,rust-instant-0.1)
2276 ("rust-lazy-static" ,rust-lazy-static-1)
2277 ("rust-libc" ,rust-libc-0.2)
2278 ("rust-log" ,rust-log-0.4)
2279 ("rust-mio" ,rust-mio-0.6)
2280 ("rust-mio-extras" ,rust-mio-extras-2)
2281 ("rust-ndk" ,rust-ndk-0.2)
2282 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2283 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2284 ("rust-objc" ,rust-objc-0.2)
2285 ("rust-parking-lot" ,rust-parking-lot-0.11)
2286 ("rust-percent-encoding" ,rust-percent-encoding-2)
2287 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2288 ("rust-serde" ,rust-serde-1)
2289 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2290 ("rust-stdweb" ,rust-stdweb-0.4)
2291 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2292 ("rust-wayland-client" ,rust-wayland-client-0.28)
2293 ("rust-web-sys" ,rust-web-sys-0.3)
2294 ("rust-winapi" ,rust-winapi-0.3)
2295 ("rust-x11-dl" ,rust-x11-dl-2))))
2296 (home-page "https://github.com/rust-windowing/winit")
2297 (synopsis "Window creation library")
2298 (description
2299 "Winit is a window creation and management library. It can create
2300 windows and lets you handle events (for example: the window being
2301 resized, a key being pressed, a mouse movement, etc.) produced by
2302 window.
2303
2304 Winit is designed to be a low-level brick in a hierarchy of libraries.
2305 Consequently, in order to show something on the window you need to use
2306 the platform-specific getters provided by winit, or another library.")
2307 (license license:asl2.0)))
2308
2309 (define-public rust-winit-0.20
2310 (package
2311 (inherit rust-winit-0.24)
2312 (name "rust-winit")
2313 (version "0.20.0-alpha6")
2314 (source
2315 (origin
2316 (method url-fetch)
2317 (uri (crate-uri "winit" version))
2318 (file-name
2319 (string-append name "-" version ".tar.gz"))
2320 (sha256
2321 (base32
2322 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2323 (patches
2324 (list
2325 (origin
2326 (method url-fetch)
2327 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2328 (file-name (string-append name "-fix-bindings.patch"))
2329 (sha256
2330 (base32
2331 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2332 (arguments
2333 `(#:cargo-inputs
2334 (("rust-android-glue" ,rust-android-glue-0.2)
2335 ("rust-bitflags" ,rust-bitflags-1)
2336 ("rust-calloop" ,rust-calloop-0.4)
2337 ("rust-cocoa" ,rust-cocoa-0.19)
2338 ("rust-core-foundation" ,rust-core-foundation-0.6)
2339 ("rust-core-graphics" ,rust-core-graphics-0.17)
2340 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2341 ("rust-dispatch" ,rust-dispatch-0.1)
2342 ("rust-instant" ,rust-instant-0.1)
2343 ("rust-lazy-static" ,rust-lazy-static-1)
2344 ("rust-libc" ,rust-libc-0.2)
2345 ("rust-log" ,rust-log-0.4)
2346 ("rust-objc" ,rust-objc-0.2)
2347 ("rust-parking-lot" ,rust-parking-lot-0.10)
2348 ("rust-percent-encoding" ,rust-percent-encoding-2)
2349 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2350 ("rust-serde" ,rust-serde-1)
2351 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2352 ("rust-stdweb" ,rust-stdweb-0.4)
2353 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2354 ("rust-wayland-client" ,rust-wayland-client-0.23)
2355 ("rust-web-sys" ,rust-web-sys-0.3)
2356 ("rust-winapi" ,rust-winapi-0.3)
2357 ("rust-x11-dl" ,rust-x11-dl-2))
2358 #:cargo-development-inputs
2359 (("rust-console-log" ,rust-console-log-0.1)
2360 ("rust-env-logger" ,rust-env-logger-0.5)
2361 ("rust-image" ,rust-image-0.21))))))
2362
2363 (define-public rust-winit-0.19
2364 (package
2365 (inherit rust-winit-0.20)
2366 (name "rust-winit")
2367 (version "0.19.5")
2368 (source
2369 (origin
2370 (method url-fetch)
2371 (uri (crate-uri "winit" version))
2372 (file-name
2373 (string-append name "-" version ".tar.gz"))
2374 (sha256
2375 (base32
2376 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2377 (arguments
2378 `(#:cargo-inputs
2379 (("rust-android-glue" ,rust-android-glue-0.2)
2380 ("rust-backtrace" ,rust-backtrace-0.3)
2381 ("rust-bitflags" ,rust-bitflags-1)
2382 ("rust-cocoa" ,rust-cocoa-0.18)
2383 ("rust-core-foundation" ,rust-core-foundation-0.6)
2384 ("rust-core-graphics" ,rust-core-graphics-0.17)
2385 ("rust-image" ,rust-image-0.21)
2386 ("rust-lazy-static" ,rust-lazy-static-1)
2387 ("rust-libc" ,rust-libc-0.2)
2388 ("rust-log" ,rust-log-0.4)
2389 ("rust-objc" ,rust-objc-0.2)
2390 ("rust-parking-lot" ,rust-parking-lot-0.9)
2391 ("rust-percent-encoding" ,rust-percent-encoding-2)
2392 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2393 ("rust-serde" ,rust-serde-1)
2394 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2395 ("rust-wayland-client" ,rust-wayland-client-0.21)
2396 ("rust-winapi" ,rust-winapi-0.3)
2397 ("rust-x11-dl" ,rust-x11-dl-2))))))
2398
2399 (define-public rust-x11-2
2400 (package
2401 (name "rust-x11")
2402 (version "2.18.2")
2403 (source
2404 (origin
2405 (method url-fetch)
2406 (uri (crate-uri "x11" version))
2407 (file-name
2408 (string-append name "-" version ".tar.gz"))
2409 (sha256
2410 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
2411 (build-system cargo-build-system)
2412 (arguments
2413 `(#:cargo-inputs
2414 (("rust-libc" ,rust-libc-0.2)
2415 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2416 (home-page "https://github.com/erlepereira/x11-rs")
2417 (synopsis "X11 library bindings for Rust")
2418 (description "This crate provides X11 library bindings for Rust.")
2419 (license license:expat)))
2420
2421 (define-public rust-x11-clipboard-0.4
2422 (package
2423 (name "rust-x11-clipboard")
2424 (version "0.4.0")
2425 (source
2426 (origin
2427 (method url-fetch)
2428 (uri (crate-uri "x11-clipboard" version))
2429 (file-name
2430 (string-append name "-" version ".tar.gz"))
2431 (sha256
2432 (base32
2433 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
2434 (build-system cargo-build-system)
2435 (arguments
2436 `(#:tests? #f ; Tests require display server.
2437 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
2438 (native-inputs
2439 `(("python" ,python)))
2440 (home-page "https://github.com/quininer/x11-clipboard")
2441 (synopsis "x11 clipboard support for Rust")
2442 (description "This package provides x11 clipboard support for Rust.")
2443 (license license:expat)))
2444
2445 (define-public rust-x11-dl-2
2446 (package
2447 (name "rust-x11-dl")
2448 (version "2.18.5")
2449 (source
2450 (origin
2451 (method url-fetch)
2452 (uri (crate-uri "x11-dl" version))
2453 (file-name
2454 (string-append name "-" version ".tar.gz"))
2455 (sha256
2456 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2457 (build-system cargo-build-system)
2458 (arguments
2459 `(#:cargo-inputs
2460 (("rust-lazy-static" ,rust-lazy-static-1)
2461 ("rust-libc" ,rust-libc-0.2)
2462 ("rust-maybe-uninit" ,rust-maybe-uninit-2.0)
2463 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2464 (home-page "https://github.com/erlepereira/x11-rs.git")
2465 (synopsis "X11 library bindings for Rust")
2466 (description "This package provides X11 library bindings for Rust.")
2467 (license license:cc0)))
2468
2469 (define-public rust-y4m-0.5
2470 (package
2471 (name "rust-y4m")
2472 (version "0.5.3")
2473 (source
2474 (origin
2475 (method url-fetch)
2476 (uri (crate-uri "y4m" version))
2477 (file-name
2478 (string-append name "-" version ".tar.gz"))
2479 (sha256
2480 (base32
2481 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2482 (build-system cargo-build-system)
2483 (arguments
2484 `(#:cargo-development-inputs
2485 (("rust-resize" ,rust-resize-0.3))))
2486 (home-page "https://github.com/image-rs/y4m")
2487 (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2488 (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2489 (license license:expat)))