gnu: rust-glutin-wgl-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.3")
885 (source
886 (origin
887 (method url-fetch)
888 (uri (crate-uri "glutin_gles2_sys" version))
889 (file-name
890 (string-append name "-" version ".tar.gz"))
891 (sha256
892 (base32
893 "1pswvl5zyqmqwzjr674yzslj0al2xbqsp2ai9ggb9qbshlq6r6c9"))))
894 (build-system cargo-build-system)
895 (arguments
896 `(#:cargo-inputs
897 (("rust-objc" ,rust-objc-0.2)
898 ("rust-gl-generator" ,rust-gl-generator-0.11))))
899 (home-page "https://github.com/tomaka/glutin")
900 (synopsis "The gles2 bindings for glutin")
901 (description "The gles2 bindings for glutin.")
902 (license license:asl2.0)))
903
904 (define-public rust-glutin-glx-sys-0.1
905 (package
906 (name "rust-glutin-glx-sys")
907 (version "0.1.5")
908 (source
909 (origin
910 (method url-fetch)
911 (uri (crate-uri "glutin-glx-sys" version))
912 (file-name
913 (string-append name "-" version ".tar.gz"))
914 (sha256
915 (base32
916 "0mxs3mil68xqqb49466n5rpwpcllj6fwqjgrcrzzmz26bv5ab40j"))))
917 (build-system cargo-build-system)
918 (arguments
919 `(#:cargo-inputs
920 (("rust-x11-dl" ,rust-x11-dl-2)
921 ("rust-gl-generator" ,rust-gl-generator-0.11))))
922 (home-page "https://github.com/tomaka/glutin")
923 (synopsis "Glx bindings for glutin")
924 (description "The glx bindings for glutin.")
925 (license license:asl2.0)))
926
927 (define-public rust-glutin-wgl-sys-0.1
928 (package
929 (name "rust-glutin-wgl-sys")
930 (version "0.1.5")
931 (source
932 (origin
933 (method url-fetch)
934 (uri (crate-uri "glutin_wgl_sys" version))
935 (file-name (string-append name "-" version ".tar.gz"))
936 (sha256
937 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
938 (build-system cargo-build-system)
939 (arguments
940 `(#:skip-build? #t
941 #:cargo-inputs
942 (("rust-gl-generator" ,rust-gl-generator-0.14))))
943 (home-page "https://github.com/tomaka/glutin")
944 (synopsis "Wgl bindings for glutin")
945 (description "This package provides wgl bindings for glutin.")
946 (license license:asl2.0)))
947
948 (define-public rust-image-0.23
949 (package
950 (name "rust-image")
951 (version "0.23.6")
952 (source
953 (origin
954 (method url-fetch)
955 (uri (crate-uri "image" version))
956 (file-name
957 (string-append name "-" version ".tar.gz"))
958 (sha256
959 (base32
960 "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m"))))
961 (build-system cargo-build-system)
962 (arguments
963 `(#:tests? #f ; Some test images are missing from the release.
964 #:cargo-inputs
965 (("rust-bytemuck" ,rust-bytemuck-1)
966 ("rust-byteorder" ,rust-byteorder-1)
967 ("rust-gif" ,rust-gif-0.10)
968 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
969 ("rust-num-iter" ,rust-num-iter-0.1)
970 ("rust-num-rational" ,rust-num-rational-0.3)
971 ("rust-num-traits" ,rust-num-traits-0.2)
972 ("rust-png" ,rust-png-0.16)
973 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
974 ("rust-tiff" ,rust-tiff-0.5))
975 #:cargo-development-inputs
976 (("rust-crc32fast" ,rust-crc32fast-1)
977 ("rust-criterion" ,rust-criterion-0.3)
978 ("rust-glob" ,rust-glob-0.3)
979 ("rust-num-complex" ,rust-num-complex-0.3)
980 ("rust-quickcheck" ,rust-quickcheck-0.9))))
981 (home-page "https://github.com/image-rs/image")
982 (synopsis "Imaging library written in Rust")
983 (description
984 "Imaging library written in Rust. Provides basic filters and decoders
985 for the most common image formats.")
986 (license license:expat)))
987
988 (define-public rust-image-0.22
989 (package
990 (inherit rust-image-0.23)
991 (name "rust-image")
992 (version "0.22.5")
993 (source
994 (origin
995 (method url-fetch)
996 (uri (crate-uri "image" version))
997 (file-name
998 (string-append name "-" version ".tar.gz"))
999 (sha256
1000 (base32
1001 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
1002 (arguments
1003 `(#:tests? #f ; Some test images are missing from the release.
1004 #:cargo-inputs
1005 (("rust-byteorder" ,rust-byteorder-1)
1006 ("rust-gif" ,rust-gif-0.10)
1007 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1008 ("rust-num-iter" ,rust-num-iter-0.1)
1009 ("rust-num-rational" ,rust-num-rational-0.2)
1010 ("rust-num-traits" ,rust-num-traits-0.2)
1011 ("rust-png" ,rust-png-0.15)
1012 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1013 ("rust-tiff" ,rust-tiff-0.3))
1014 #:cargo-development-inputs
1015 (("rust-crc32fast" ,rust-crc32fast-1)
1016 ("rust-glob" ,rust-glob-0.3)
1017 ("rust-num-complex" ,rust-num-complex-0.2)
1018 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
1019
1020 (define-public rust-image-0.21
1021 (package
1022 (inherit rust-image-0.22)
1023 (name "rust-image")
1024 (version "0.21.3")
1025 (source
1026 (origin
1027 (method url-fetch)
1028 (uri (crate-uri "image" version))
1029 (file-name
1030 (string-append name "-" version ".tar.gz"))
1031 (sha256
1032 (base32
1033 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
1034 (arguments
1035 `(#:cargo-inputs
1036 (("rust-byteorder" ,rust-byteorder-1)
1037 ("rust-gif" ,rust-gif-0.10)
1038 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1039 ("rust-lzw" ,rust-lzw-0.10)
1040 ("rust-num-iter" ,rust-num-iter-0.1)
1041 ("rust-num-rational" ,rust-num-rational-0.2)
1042 ("rust-num-traits" ,rust-num-traits-0.2)
1043 ("rust-png" ,rust-png-0.14)
1044 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1045 ("rust-tiff" ,rust-tiff-0.2))
1046 #:cargo-development-inputs
1047 (("rust-glob" ,rust-glob-0.3)
1048 ("rust-num-complex" ,rust-num-complex-0.2)
1049 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1050
1051 (define-public rust-image-0.20
1052 (package
1053 (inherit rust-image-0.21)
1054 (name "rust-image")
1055 (version "0.20.1")
1056 (source
1057 (origin
1058 (method url-fetch)
1059 (uri (crate-uri "image" version))
1060 (file-name
1061 (string-append name "-" version ".tar.gz"))
1062 (sha256
1063 (base32
1064 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1065 (arguments
1066 `(#:cargo-inputs
1067 (("rust-byteorder" ,rust-byteorder-1)
1068 ("rust-gif" ,rust-gif-0.10)
1069 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1070 ("rust-lzw" ,rust-lzw-0.10)
1071 ("rust-num-iter" ,rust-num-iter-0.1)
1072 ("rust-num-rational" ,rust-num-rational-0.2)
1073 ("rust-num-traits" ,rust-num-traits-0.2)
1074 ("rust-png" ,rust-png-0.12)
1075 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1076 ("rust-tiff" ,rust-tiff-0.2))
1077 #:cargo-development-inputs
1078 (("rust-glob" ,rust-glob-0.2)
1079 ("rust-num-complex" ,rust-num-complex-0.2)
1080 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1081
1082 (define-public rust-jpeg-decoder-0.1
1083 (package
1084 (name "rust-jpeg-decoder")
1085 (version "0.1.18")
1086 (source
1087 (origin
1088 (method url-fetch)
1089 (uri (crate-uri "jpeg-decoder" version))
1090 (file-name
1091 (string-append name "-" version ".tar.gz"))
1092 (sha256
1093 (base32
1094 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1095 (build-system cargo-build-system)
1096 (arguments
1097 `(#:tests? #f ; Some test files missing.
1098 #:cargo-inputs
1099 (("rust-byteorder" ,rust-byteorder-1)
1100 ("rust-rayon" ,rust-rayon-1))
1101 #:cargo-development-inputs
1102 (("rust-criterion" ,rust-criterion-0.3)
1103 ("rust-png" ,rust-png-0.14)
1104 ("rust-walkdir" ,rust-walkdir-2))))
1105 (home-page "https://github.com/image-rs/jpeg-decoder")
1106 (synopsis "JPEG decoder")
1107 (description "JPEG decoder written in Rust.")
1108 (license (list license:expat license:asl2.0))))
1109
1110 (define-public rust-line-drawing-0.7
1111 (package
1112 (name "rust-line-drawing")
1113 (version "0.7.0")
1114 (source
1115 (origin
1116 (method url-fetch)
1117 (uri (crate-uri "line_drawing" version))
1118 (file-name
1119 (string-append name "-" version ".tar.gz"))
1120 (sha256
1121 (base32
1122 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1123 (build-system cargo-build-system)
1124 (arguments
1125 ;; This version does not specify any versions on dependants.
1126 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1127 #:cargo-inputs
1128 (("rust-num-traits" ,rust-num-traits-0.2))
1129 #:cargo-development-inputs
1130 (("rust-bresenham" ,rust-bresenham-0.1)
1131 ("rust-image" ,rust-image-0.22) ; 0.17?
1132 ("rust-rand" ,rust-rand-0.6))))
1133 (home-page "https://github.com/expenses/line_drawing")
1134 (synopsis "Collection of line-drawing algorithms")
1135 (description
1136 "This package provides a collection of line-drawing algorithms for use in
1137 graphics and video games.")
1138 (license license:expat)))
1139
1140 (define-public rust-lyon-geom-0.14
1141 (package
1142 (name "rust-lyon-geom")
1143 (version "0.14.1")
1144 (source
1145 (origin
1146 (method url-fetch)
1147 (uri (crate-uri "lyon_geom" version))
1148 (file-name
1149 (string-append name "-" version ".tar.gz"))
1150 (sha256
1151 (base32
1152 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1153 (build-system cargo-build-system)
1154 (arguments
1155 `(#:skip-build? #t
1156 #:cargo-inputs
1157 (("rust-num-traits" ,rust-num-traits-0.2)
1158 ("rust-euclid" ,rust-euclid-0.20)
1159 ("rust-arrayvec" ,rust-arrayvec-0.4)
1160 ("rust-serde" ,rust-serde-1))))
1161 (home-page "https://github.com/nical/lyon")
1162 (synopsis "2D graphics rendering on the GPU using tessellation")
1163 (description
1164 "This package provides 2D graphics rendering on the GPU using tessellation.")
1165 (license (list license:expat license:asl2.0))))
1166
1167 (define-public rust-lyon-path-0.14
1168 (package
1169 (name "rust-lyon-path")
1170 (version "0.14.0")
1171 (source
1172 (origin
1173 (method url-fetch)
1174 (uri (crate-uri "lyon_path" version))
1175 (file-name
1176 (string-append name "-" version ".tar.gz"))
1177 (sha256
1178 (base32
1179 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1180 (build-system cargo-build-system)
1181 (arguments
1182 `(#:skip-build? #t
1183 #:cargo-inputs
1184 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1185 ("rust-serde" ,rust-serde-1))))
1186 (home-page "https://github.com/nical/lyon")
1187 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1188 (description
1189 "Types and utilities to store, build and iterate over 2D paths.")
1190 (license (list license:expat license:asl2.0))))
1191
1192 (define-public rust-osmesa-sys-0.1
1193 (package
1194 (name "rust-osmesa-sys")
1195 (version "0.1.2")
1196 (source
1197 (origin
1198 (method url-fetch)
1199 (uri (crate-uri "osmesa-sys" version))
1200 (file-name
1201 (string-append name "-" version ".tar.gz"))
1202 (sha256
1203 (base32
1204 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1205 (build-system cargo-build-system)
1206 (arguments
1207 `(#:cargo-inputs
1208 (("rust-shared-library" ,rust-shared-library-0.1))))
1209 (home-page "https://crates.io/crates/osmesa-sys")
1210 (synopsis "OSMesa library bindings for Rust")
1211 (description "This package provides OSMesa library bindings for Rust.")
1212 (license license:cc0)))
1213
1214 (define-public rust-piston-0.49
1215 (package
1216 (name "rust-piston")
1217 (version "0.49.0")
1218 (source
1219 (origin
1220 (method url-fetch)
1221 (uri (crate-uri "piston" version))
1222 (file-name
1223 (string-append name "-" version ".tar.gz"))
1224 (sha256
1225 (base32
1226 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1227 (build-system cargo-build-system)
1228 (arguments
1229 `(#:skip-build? #t
1230 #:cargo-inputs
1231 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1232 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1233 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1234 (home-page "https://github.com/PistonDevelopers/piston")
1235 (synopsis "Piston game engine core libraries")
1236 (description
1237 "The Piston game engine core libraries.")
1238 (license license:expat)))
1239
1240 (define-public rust-piston-float-1.0
1241 (package
1242 (name "rust-piston-float")
1243 (version "1.0.0")
1244 (source
1245 (origin
1246 (method url-fetch)
1247 (uri (crate-uri "piston-float" version))
1248 (file-name
1249 (string-append name "-" version ".tar.gz"))
1250 (sha256
1251 (base32
1252 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1253 (build-system cargo-build-system)
1254 (arguments `(#:skip-build? #t))
1255 (home-page
1256 "https://github.com/pistondevelopers/float")
1257 (synopsis
1258 "Traits for generic floats in game development")
1259 (description
1260 "Traits for generic floats in game development")
1261 (license license:expat)))
1262
1263 (define-public rust-piston-gfx-texture-0.40
1264 (package
1265 (name "rust-piston-gfx-texture")
1266 (version "0.40.0")
1267 (source
1268 (origin
1269 (method url-fetch)
1270 (uri (crate-uri "piston-gfx_texture" version))
1271 (file-name
1272 (string-append name "-" version ".tar.gz"))
1273 (sha256
1274 (base32
1275 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1276 (build-system cargo-build-system)
1277 (arguments
1278 `(#:skip-build? #t
1279 #:cargo-inputs
1280 (("rust-gfx" ,rust-gfx-0.18)
1281 ("rust-image" ,rust-image-0.22)
1282 ("rust-piston-texture" ,rust-piston-texture-0.8)
1283 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1284 (home-page "https://github.com/pistondevelopers/gfx_texture")
1285 (synopsis
1286 "Gfx texture representation that works nicely with Piston libraries")
1287 (description "This package provides a Gfx texture representation that works
1288 nicely with Piston libraries.")
1289 (license license:expat)))
1290
1291 (define-public rust-piston-graphics-api-version-0.2
1292 (package
1293 (name "rust-piston-graphics-api-version")
1294 (version "0.2.0")
1295 (source
1296 (origin
1297 (method url-fetch)
1298 (uri (crate-uri "piston-graphics_api_version" version))
1299 (file-name
1300 (string-append name "-" version ".tar.gz"))
1301 (sha256
1302 (base32
1303 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1304 (build-system cargo-build-system)
1305 (arguments `(#:skip-build? #t))
1306 (home-page
1307 "https://github.com/PistonDevelopers/graphics_api_version")
1308 (synopsis
1309 "A library for storing graphics API versions")
1310 (description
1311 "This package provides a library for storing graphics API versions")
1312 (license license:expat)))
1313
1314 (define-public rust-piston-shaders-graphics2d-0.3
1315 (package
1316 (name "rust-piston-shaders-graphics2d")
1317 (version "0.3.1")
1318 (source
1319 (origin
1320 (method url-fetch)
1321 (uri (crate-uri "piston-shaders_graphics2d" version))
1322 (file-name
1323 (string-append name "-" version ".tar.gz"))
1324 (sha256
1325 (base32
1326 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1327 (build-system cargo-build-system)
1328 (arguments `(#:skip-build? #t))
1329 (home-page
1330 "https://github.com/PistonDevelopers/shaders")
1331 (synopsis "Shaders for 2D graphics in Rust")
1332 (description "Shaders for 2D graphics in Rust")
1333 (license license:expat)))
1334
1335 (define-public rust-piston-texture-0.8
1336 (package
1337 (name "rust-piston-texture")
1338 (version "0.8.0")
1339 (source
1340 (origin
1341 (method url-fetch)
1342 (uri (crate-uri "piston-texture" version))
1343 (file-name
1344 (string-append name "-" version ".tar.gz"))
1345 (sha256
1346 (base32
1347 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1348 (build-system cargo-build-system)
1349 (arguments `(#:skip-build? #t))
1350 (home-page
1351 "https://github.com/pistondevelopers/texture")
1352 (synopsis "A generic library for textures")
1353 (description
1354 "This package provides a generic library for textures")
1355 (license license:expat)))
1356
1357 (define-public rust-piston-viewport-1.0
1358 (package
1359 (name "rust-piston-viewport")
1360 (version "1.0.0")
1361 (source
1362 (origin
1363 (method url-fetch)
1364 (uri (crate-uri "piston-viewport" version))
1365 (file-name
1366 (string-append name "-" version ".tar.gz"))
1367 (sha256
1368 (base32
1369 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1370 (build-system cargo-build-system)
1371 (arguments
1372 `(#:skip-build? #t
1373 #:cargo-inputs
1374 (("rust-piston-float" ,rust-piston-float-1.0))))
1375 (home-page "https://github.com/PistonDevelopers/viewport")
1376 (synopsis "Library for storing viewport information")
1377 (description
1378 "This package provides a library for storing viewport information.")
1379 (license license:expat)))
1380
1381 (define-public rust-piston-window-0.105
1382 (package
1383 (name "rust-piston-window")
1384 (version "0.105.0")
1385 (source
1386 (origin
1387 (method url-fetch)
1388 (uri (crate-uri "piston_window" version))
1389 (file-name
1390 (string-append name "-" version ".tar.gz"))
1391 (sha256
1392 (base32
1393 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1394 (build-system cargo-build-system)
1395 (arguments
1396 `(#:skip-build? #t
1397 #:cargo-inputs
1398 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1399 ("rust-gfx" ,rust-gfx-0.18)
1400 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1401 ("rust-piston" ,rust-piston-0.49)
1402 ("rust-shader-version" ,rust-shader-version-0.6)
1403 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1404 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1405 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1406 (home-page "https://github.com/pistondevelopers/piston_window")
1407 (synopsis "Official Piston window wrapper for the Piston game engine")
1408 (description
1409 "The official Piston window wrapper for the Piston game engine.")
1410 (license license:expat)))
1411
1412 (define-public rust-piston2d-gfx-graphics-0.66
1413 (package
1414 (name "rust-piston2d-gfx-graphics")
1415 (version "0.66.0")
1416 (source
1417 (origin
1418 (method url-fetch)
1419 (uri (crate-uri "piston2d-gfx_graphics" version))
1420 (file-name
1421 (string-append name "-" version ".tar.gz"))
1422 (sha256
1423 (base32
1424 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1425 (build-system cargo-build-system)
1426 (arguments
1427 `(#:skip-build? #t
1428 #:cargo-inputs
1429 (("rust-gfx" ,rust-gfx-0.18)
1430 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1431 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1432 ("rust-shader-version" ,rust-shader-version-0.6)
1433 ("rust-draw-state" ,rust-draw-state-0.8))))
1434 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1435 (synopsis "Gfx 2D back-end for the Piston game engine")
1436 (description
1437 "This package provides a Gfx 2D back-end for the Piston game engine.")
1438 (license license:expat)))
1439
1440 (define-public rust-piston2d-graphics-0.35
1441 (package
1442 (name "rust-piston2d-graphics")
1443 (version "0.35.0")
1444 (source
1445 (origin
1446 (method url-fetch)
1447 (uri (crate-uri "piston2d-graphics" version))
1448 (file-name
1449 (string-append name "-" version ".tar.gz"))
1450 (sha256
1451 (base32
1452 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1453 (build-system cargo-build-system)
1454 (arguments
1455 `(#:skip-build? #t
1456 #:cargo-inputs
1457 (("rust-interpolation" ,rust-interpolation-0.2)
1458 ("rust-rusttype" ,rust-rusttype-0.7)
1459 ("rust-piston-texture" ,rust-piston-texture-0.8)
1460 ("rust-piston-viewport" ,rust-piston-viewport-1.0)
1461 ("rust-read-color" ,rust-read-color-1.0)
1462 ("rust-vecmath" ,rust-vecmath-1.0)
1463 ("rust-fnv" ,rust-fnv-1))))
1464 (home-page "https://github.com/pistondevelopers/graphics")
1465 (synopsis "Library for 2D graphics that works with multiple back-ends")
1466 (description "This package provides a library for 2D graphics that works
1467 with multiple back-ends.")
1468 (license license:expat)))
1469
1470 (define-public rust-pistoncore-event-loop-0.49
1471 (package
1472 (name "rust-pistoncore-event-loop")
1473 (version "0.49.0")
1474 (source
1475 (origin
1476 (method url-fetch)
1477 (uri (crate-uri "pistoncore-event_loop" version))
1478 (file-name
1479 (string-append name "-" version ".tar.gz"))
1480 (sha256
1481 (base32
1482 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1483 (build-system cargo-build-system)
1484 (arguments
1485 `(#:skip-build? #t
1486 #:cargo-inputs
1487 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1488 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1489 (home-page "https://github.com/PistonDevelopers/piston")
1490 (synopsis "Piston event loop for games and interactive applications")
1491 (description "This package provides a Piston event loop for games and
1492 interactive applications.")
1493 (license license:expat)))
1494
1495 (define-public rust-pistoncore-glutin-window-0.63
1496 (package
1497 (name "rust-pistoncore-glutin-window")
1498 (version "0.63.0")
1499 (source
1500 (origin
1501 (method url-fetch)
1502 (uri (crate-uri "pistoncore-glutin_window" version))
1503 (file-name
1504 (string-append name "-" version ".tar.gz"))
1505 (sha256
1506 (base32
1507 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1508 (build-system cargo-build-system)
1509 (arguments
1510 `(#:skip-build? #t
1511 #:cargo-inputs
1512 (("rust-gl" ,rust-gl-0.11)
1513 ("rust-glutin" ,rust-glutin-0.21)
1514 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1515 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1516 ("rust-shader-version" ,rust-shader-version-0.6))))
1517 (home-page "https://github.com/pistondevelopers/glutin_window")
1518 (synopsis "Piston window back-end using the Glutin library")
1519 (description
1520 "This package provides a Piston window back-end using the Glutin library.")
1521 (license license:expat)))
1522
1523 (define-public rust-pistoncore-input-0.28
1524 (package
1525 (name "rust-pistoncore-input")
1526 (version "0.28.0")
1527 (source
1528 (origin
1529 (method url-fetch)
1530 (uri (crate-uri "pistoncore-input" version))
1531 (file-name
1532 (string-append name "-" version ".tar.gz"))
1533 (sha256
1534 (base32
1535 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1536 (build-system cargo-build-system)
1537 (arguments
1538 `(#:skip-build? #t
1539 #:cargo-inputs
1540 (("rust-piston-viewport" ,rust-piston-viewport-1.0)
1541 ("rust-serde" ,rust-serde-1)
1542 ("rust-serde-derive" ,rust-serde-derive-1)
1543 ("rust-bitflags" ,rust-bitflags-1))))
1544 (home-page "https://github.com/PistonDevelopers/piston")
1545 (synopsis "Structure for user input")
1546 (description
1547 "This package provides a structure for user input.")
1548 (license license:expat)))
1549
1550 (define-public rust-pistoncore-window-0.44
1551 (package
1552 (name "rust-pistoncore-window")
1553 (version "0.44.0")
1554 (source
1555 (origin
1556 (method url-fetch)
1557 (uri (crate-uri "pistoncore-window" version))
1558 (file-name
1559 (string-append name "-" version ".tar.gz"))
1560 (sha256
1561 (base32
1562 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1563 (build-system cargo-build-system)
1564 (arguments
1565 `(#:skip-build? #t
1566 #:cargo-inputs
1567 (("rust-piston-graphics-api-version"
1568 ,rust-piston-graphics-api-version-0.2)
1569 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1570 (home-page "https://github.com/PistonDevelopers/piston")
1571 (synopsis "Library for window abstraction")
1572 (description
1573 "This package provides a library for window abstraction.")
1574 (license license:expat)))
1575
1576 (define-public rust-png-0.16
1577 (package
1578 (name "rust-png")
1579 (version "0.16.8")
1580 (source
1581 (origin
1582 (method url-fetch)
1583 (uri (crate-uri "png" version))
1584 (file-name (string-append name "-" version ".tar.gz"))
1585 (sha256
1586 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
1587 (build-system cargo-build-system)
1588 (arguments
1589 `(#:skip-build? #t
1590 #:cargo-inputs
1591 (("rust-bitflags" ,rust-bitflags-1)
1592 ("rust-crc32fast" ,rust-crc32fast-1)
1593 ("rust-deflate" ,rust-deflate-0.8)
1594 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1595 (home-page "https://github.com/image-rs/image-png.git")
1596 (synopsis "PNG decoding and encoding library in pure Rust")
1597 (description
1598 "This package is a PNG decoding and encoding library in pure Rust.")
1599 (license (list license:expat license:asl2.0))))
1600
1601 (define-public rust-png-0.15
1602 (package
1603 (inherit rust-png-0.16)
1604 (name "rust-png")
1605 (version "0.15.3")
1606 (source
1607 (origin
1608 (method url-fetch)
1609 (uri (crate-uri "png" version))
1610 (file-name
1611 (string-append name "-" version ".tar.gz"))
1612 (sha256
1613 (base32
1614 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1615 (arguments
1616 `(#:skip-build? #t
1617 #:cargo-inputs
1618 (("rust-bitflags" ,rust-bitflags-1)
1619 ("rust-crc32fast" ,rust-crc32fast-1)
1620 ("rust-deflate" ,rust-deflate-0.7)
1621 ("rust-inflate" ,rust-inflate-0.4))
1622 #:cargo-development-inputs
1623 (("rust-getopts" ,rust-getopts-0.2)
1624 ;; TODO: glium has many cyclic dependencies with other packages
1625 ;;("rust-glium" ,rust-glium-0.24)
1626 ("rust-glob" ,rust-glob-0.3)
1627 ("rust-rand" ,rust-rand-0.7)
1628 ("rust-term" ,rust-term-0.6))))))
1629
1630 (define-public rust-png-0.14
1631 (package
1632 (inherit rust-png-0.15)
1633 (name "rust-png")
1634 (version "0.14.1")
1635 (source
1636 (origin
1637 (method url-fetch)
1638 (uri (crate-uri "png" version))
1639 (file-name
1640 (string-append name "-" version ".tar.gz"))
1641 (sha256
1642 (base32
1643 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1644 (arguments
1645 `(#:skip-build? #t
1646 #:cargo-inputs
1647 (("rust-bitflags" ,rust-bitflags-1)
1648 ("rust-deflate" ,rust-deflate-0.7)
1649 ("rust-inflate" ,rust-inflate-0.4)
1650 ("rust-num-iter" ,rust-num-iter-0.1))
1651 #:cargo-development-inputs
1652 (("rust-getopts" ,rust-getopts-0.2)
1653 ;; TODO: glium has many cyclic dependencies with other packages
1654 ;; ("rust-glium" ,rust-glium-0.22)
1655 ("rust-glob" ,rust-glob-0.2)
1656 ("rust-rand" ,rust-rand-0.5)
1657 ("rust-term" ,rust-term-0.4))))))
1658
1659 (define-public rust-png-0.12
1660 (package
1661 (inherit rust-png-0.14)
1662 (name "rust-png")
1663 (version "0.12.0")
1664 (source
1665 (origin
1666 (method url-fetch)
1667 (uri (crate-uri "png" version))
1668 (file-name
1669 (string-append name "-" version ".tar.gz"))
1670 (sha256
1671 (base32
1672 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1673 (arguments
1674 `(#:skip-build? #t
1675 #:cargo-inputs
1676 (("rust-bitflags" ,rust-bitflags-1)
1677 ("rust-deflate" ,rust-deflate-0.7)
1678 ("rust-inflate" ,rust-inflate-0.4)
1679 ("rust-num-iter" ,rust-num-iter-0.1))
1680 #:cargo-development-inputs
1681 (("rust-getopts" ,rust-getopts-0.2)
1682 ;; TODO: gluum has many cyclic dependencies with other packages
1683 ;; ("rust-glium" ,rust-glium-0.21)
1684 ("rust-glob" ,rust-glob-0.2)
1685 ("rust-term" ,rust-term-0.4))))))
1686
1687 (define-public rust-raw-window-handle-0.3
1688 (package
1689 (name "rust-raw-window-handle")
1690 (version "0.3.3")
1691 (source
1692 (origin
1693 (method url-fetch)
1694 (uri (crate-uri "raw-window-handle" version))
1695 (file-name
1696 (string-append name "-" version ".tar.gz"))
1697 (sha256
1698 (base32
1699 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1700 (build-system cargo-build-system)
1701 (arguments
1702 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1703 (home-page "https://github.com/rust-windowing/raw-window-handle")
1704 (synopsis "Interoperability library for Rust Windowing applications")
1705 (description
1706 "Interoperability library for Rust Windowing applications.")
1707 (license license:expat)))
1708
1709 (define-public rust-resize-0.3
1710 (package
1711 (name "rust-resize")
1712 (version "0.3.1")
1713 (source
1714 (origin
1715 (method url-fetch)
1716 (uri (crate-uri "resize" version))
1717 (file-name
1718 (string-append name "-" version ".tar.gz"))
1719 (sha256
1720 (base32
1721 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1722 (build-system cargo-build-system)
1723 (arguments
1724 `(#:cargo-development-inputs
1725 (("rust-png" ,rust-png-0.15))))
1726 (home-page "https://github.com/PistonDevelopers/resize")
1727 (synopsis "Simple image resampling library in pure Rust")
1728 (description
1729 "This package provides a simple image resampling library in pure Rust.")
1730 (license license:expat)))
1731
1732 (define-public rust-rgb-0.8
1733 (package
1734 (name "rust-rgb")
1735 (version "0.8.20")
1736 (source
1737 (origin
1738 (method url-fetch)
1739 (uri (crate-uri "rgb" version))
1740 (file-name (string-append name "-" version ".crate"))
1741 (sha256
1742 (base32
1743 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1744 (build-system cargo-build-system)
1745 (arguments
1746 `(#:cargo-inputs
1747 (("rust-bytemuck" ,rust-bytemuck-1)
1748 ("rust-serde" ,rust-serde-1))
1749 #:cargo-development-inputs
1750 (("rust-serde-json" ,rust-serde-json-1))))
1751 (home-page "https://lib.rs/crates/rgb")
1752 (synopsis "Struct for sharing pixels between crates")
1753 (description
1754 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
1755 between crates + convenience methods for color manipulation. It allows no-copy
1756 high-level interoperability. It also adds common convenience methods and
1757 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
1758 first-class Rust objects.")
1759 (license license:expat)))
1760
1761 (define-public rust-smithay-client-toolkit-0.6
1762 (package
1763 (name "rust-smithay-client-toolkit")
1764 (version "0.6.4")
1765 (source
1766 (origin
1767 (method url-fetch)
1768 (uri (crate-uri "smithay-client-toolkit" version))
1769 (file-name
1770 (string-append name "-" version ".tar.gz"))
1771 (sha256
1772 (base32
1773 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
1774 (build-system cargo-build-system)
1775 (arguments
1776 `(#:cargo-inputs
1777 (("rust-andrew" ,rust-andrew-0.2)
1778 ("rust-bitflags" ,rust-bitflags-1)
1779 ("rust-dlib" ,rust-dlib-0.4)
1780 ("rust-lazy-static" ,rust-lazy-static-1)
1781 ("rust-memmap" ,rust-memmap-0.7)
1782 ("rust-nix" ,rust-nix-0.14)
1783 ("rust-wayland-client" ,rust-wayland-client-0.23)
1784 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
1785 #:cargo-development-inputs
1786 (("rust-byteorder" ,rust-byteorder-1)
1787 ("rust-image" ,rust-image-0.21)
1788 ("rust-wayland-client" ,rust-wayland-client-0.23))))
1789 (home-page "https://github.com/smithay/client-toolkit")
1790 (synopsis "Toolkit for making client wayland applications")
1791 (description
1792 "Toolkit for making client wayland applications.")
1793 (license license:expat)))
1794
1795 (define-public rust-smithay-client-toolkit-0.4
1796 (package
1797 (inherit rust-smithay-client-toolkit-0.6)
1798 (name "rust-smithay-client-toolkit")
1799 (version "0.4.6")
1800 (source
1801 (origin
1802 (method url-fetch)
1803 (uri (crate-uri "smithay-client-toolkit" version))
1804 (file-name
1805 (string-append name "-" version ".tar.gz"))
1806 (sha256
1807 (base32
1808 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
1809 (arguments
1810 `(#:cargo-inputs
1811 (("rust-andrew" ,rust-andrew-0.2)
1812 ("rust-bitflags" ,rust-bitflags-1)
1813 ("rust-dlib" ,rust-dlib-0.4)
1814 ("rust-lazy-static" ,rust-lazy-static-1)
1815 ("rust-memmap" ,rust-memmap-0.7)
1816 ("rust-nix" ,rust-nix-0.14)
1817 ("rust-wayland-client" ,rust-wayland-client-0.21)
1818 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1819 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
1820 #:cargo-development-inputs
1821 (("rust-byteorder" ,rust-byteorder-1)
1822 ("rust-image" ,rust-image-0.20)
1823 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
1824
1825 (define-public rust-smithay-clipboard-0.3
1826 (package
1827 (name "rust-smithay-clipboard")
1828 (version "0.3.6")
1829 (source
1830 (origin
1831 (method url-fetch)
1832 (uri (crate-uri "smithay-clipboard" version))
1833 (file-name
1834 (string-append name "-" version ".tar.gz"))
1835 (sha256
1836 (base32
1837 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
1838 (build-system cargo-build-system)
1839 (arguments
1840 `(#:cargo-inputs
1841 (("rust-nix" ,rust-nix-0.14)
1842 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
1843 #:cargo-development-inputs
1844 (("rust-andrew" ,rust-andrew-0.2))))
1845 (inputs
1846 `(("wayland" ,wayland)))
1847 (home-page "https://github.com/smithay/smithay-clipboard")
1848 (synopsis
1849 "Provides access to the wayland clipboard for client applications")
1850 (description
1851 "This package provides access to the wayland clipboard for client applications.")
1852 (license license:expat)))
1853
1854 (define-public rust-tiff-0.5
1855 (package
1856 (name "rust-tiff")
1857 (version "0.5.0")
1858 (source
1859 (origin
1860 (method url-fetch)
1861 (uri (crate-uri "tiff" version))
1862 (file-name
1863 (string-append name "-" version ".tar.gz"))
1864 (sha256
1865 (base32
1866 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
1867 (build-system cargo-build-system)
1868 (arguments
1869 `(#:tests? #f ; not all test files included
1870 #:cargo-inputs
1871 (("rust-byteorder" ,rust-byteorder-1)
1872 ("rust-lzw" ,rust-lzw-0.10)
1873 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1874 (home-page "https://github.com/image-rs/image-tiff")
1875 (synopsis
1876 "TIFF decoding and encoding library in pure Rust")
1877 (description
1878 "TIFF decoding and encoding library in pure Rust.")
1879 (license license:expat)))
1880
1881 (define-public rust-tiff-0.3
1882 (package
1883 (inherit rust-tiff-0.5)
1884 (name "rust-tiff")
1885 (version "0.3.1")
1886 (source
1887 (origin
1888 (method url-fetch)
1889 (uri (crate-uri "tiff" version))
1890 (file-name
1891 (string-append name "-" version ".tar.gz"))
1892 (sha256
1893 (base32
1894 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
1895 (arguments
1896 `(#:tests? #f ; Tests images not included with release.
1897 #:cargo-inputs
1898 (("rust-byteorder" ,rust-byteorder-1)
1899 ("rust-lzw" ,rust-lzw-0.10)
1900 ("rust-num-derive" ,rust-num-derive-0.2)
1901 ("rust-num-traits" ,rust-num-traits-0.2))
1902 #:cargo-development-inputs
1903 (("rust-tempfile" ,rust-tempfile-3))))))
1904
1905 (define-public rust-tiff-0.2
1906 (package
1907 (inherit rust-tiff-0.3)
1908 (name "rust-tiff")
1909 (version "0.2.2")
1910 (source
1911 (origin
1912 (method url-fetch)
1913 (uri (crate-uri "tiff" version))
1914 (file-name
1915 (string-append name "-" version ".tar.gz"))
1916 (sha256
1917 (base32
1918 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
1919 (arguments
1920 `(#:cargo-inputs
1921 (("rust-byteorder" ,rust-byteorder-1)
1922 ("rust-lzw" ,rust-lzw-0.10)
1923 ("rust-num-derive" ,rust-num-derive-0.2)
1924 ("rust-num-traits" ,rust-num-traits-0.2))))))
1925
1926 (define-public rust-wayland-client-0.23
1927 (package
1928 (name "rust-wayland-client")
1929 (version "0.23.6")
1930 (source
1931 (origin
1932 (method url-fetch)
1933 (uri (crate-uri "wayland-client" version))
1934 (file-name
1935 (string-append name "-" version ".tar.gz"))
1936 (sha256
1937 (base32
1938 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
1939 (build-system cargo-build-system)
1940 (arguments
1941 `(#:cargo-inputs
1942 (("rust-bitflags" ,rust-bitflags-1)
1943 ("rust-calloop" ,rust-calloop-0.4)
1944 ("rust-downcast-rs" ,rust-downcast-rs-1)
1945 ("rust-libc" ,rust-libc-0.2)
1946 ("rust-mio" ,rust-mio-0.6)
1947 ("rust-nix" ,rust-nix-0.14)
1948 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
1949 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
1950 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
1951 #:cargo-development-inputs
1952 (("rust-byteorder" ,rust-byteorder-1)
1953 ("rust-tempfile" ,rust-tempfile-3))))
1954 (home-page "https://github.com/smithay/wayland-rs")
1955 (synopsis
1956 "Rust bindings to the standard C implementation of the wayland protocol")
1957 (description
1958 "This package provides Rust bindings to the standard C implementation of
1959 the wayland protocol, client side.")
1960 (license license:expat)))
1961
1962 (define-public rust-wayland-client-0.21
1963 (package
1964 (inherit rust-wayland-client-0.23)
1965 (name "rust-wayland-client")
1966 (version "0.21.13")
1967 (source
1968 (origin
1969 (method url-fetch)
1970 (uri (crate-uri "wayland-client" version))
1971 (file-name
1972 (string-append name "-" version ".tar.gz"))
1973 (sha256
1974 (base32
1975 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
1976 (arguments
1977 `(#:cargo-inputs
1978 (("rust-bitflags" ,rust-bitflags-1)
1979 ("rust-calloop" ,rust-calloop-0.4)
1980 ("rust-downcast-rs" ,rust-downcast-rs-1)
1981 ("rust-libc" ,rust-libc-0.2)
1982 ("rust-mio" ,rust-mio-0.6)
1983 ("rust-nix" ,rust-nix-0.14)
1984 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1985 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
1986 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
1987 #:cargo-development-inputs
1988 (("rust-byteorder" ,rust-byteorder-1)
1989 ("rust-tempfile" ,rust-tempfile-3))))))
1990
1991 (define-public rust-wayland-commons-0.23
1992 (package
1993 (name "rust-wayland-commons")
1994 (version "0.23.6")
1995 (source
1996 (origin
1997 (method url-fetch)
1998 (uri (crate-uri "wayland-commons" version))
1999 (file-name
2000 (string-append name "-" version ".tar.gz"))
2001 (sha256
2002 (base32
2003 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
2004 (build-system cargo-build-system)
2005 (arguments
2006 `(#:cargo-inputs
2007 (("rust-nix" ,rust-nix-0.14)
2008 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
2009 (home-page "https://github.com/smithay/wayland-rs")
2010 (synopsis
2011 "Common types and structures used by wayland-client and wayland-server")
2012 (description
2013 "Common types and structures used by wayland-client and wayland-server.")
2014 (license license:expat)))
2015
2016 (define-public rust-wayland-commons-0.21
2017 (package
2018 (inherit rust-wayland-commons-0.23)
2019 (name "rust-wayland-commons")
2020 (version "0.21.13")
2021 (source
2022 (origin
2023 (method url-fetch)
2024 (uri (crate-uri "wayland-commons" version))
2025 (file-name
2026 (string-append name "-" version ".tar.gz"))
2027 (sha256
2028 (base32
2029 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2030 (arguments
2031 `(#:cargo-inputs
2032 (("rust-nix" ,rust-nix-0.14)
2033 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2034
2035 (define-public rust-wayland-egl-0.28
2036 (package
2037 (name "rust-wayland-egl")
2038 (version "0.28.3")
2039 (source
2040 (origin
2041 (method url-fetch)
2042 (uri (crate-uri "wayland-egl" version))
2043 (file-name (string-append name "-" version ".tar.gz"))
2044 (sha256
2045 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2046 (build-system cargo-build-system)
2047 (arguments
2048 `(#:skip-build? #t
2049 #:cargo-inputs
2050 (("rust-wayland-client" ,rust-wayland-client-0.28)
2051 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2052 (home-page "https://github.com/smithay/wayland-rs")
2053 (synopsis "Bindings to libwayland-egl")
2054 (description
2055 "This crate provides bindings for OpenGL/Vulkan support for
2056 Wayland client apps. It allows to create an EGLSurface from any
2057 WlSurface, which can then play the role of the base surface for
2058 initializing an OpenGL or Vulkan context.")
2059 (license license:expat)))
2060
2061 (define-public rust-wayland-protocols-0.23
2062 (package
2063 (name "rust-wayland-protocols")
2064 (version "0.23.6")
2065 (source
2066 (origin
2067 (method url-fetch)
2068 (uri (crate-uri "wayland-protocols" version))
2069 (file-name
2070 (string-append name "-" version ".tar.gz"))
2071 (sha256
2072 (base32
2073 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2074 (build-system cargo-build-system)
2075 (arguments
2076 `(#:cargo-inputs
2077 (("rust-bitflags" ,rust-bitflags-1)
2078 ("rust-wayland-client" ,rust-wayland-client-0.23)
2079 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2080 ("rust-wayland-server" ,rust-wayland-server-0.23)
2081 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2082 (home-page "https://github.com/smithay/wayland-rs")
2083 (synopsis
2084 "Generated API for the officials wayland protocol extensions")
2085 (description
2086 "Generated API for the officials wayland protocol extensions.")
2087 (license license:expat)))
2088
2089 (define-public rust-wayland-protocols-0.21
2090 (package
2091 (inherit rust-wayland-protocols-0.23)
2092 (name "rust-wayland-protocols")
2093 (version "0.21.13")
2094 (source
2095 (origin
2096 (method url-fetch)
2097 (uri (crate-uri "wayland-protocols" version))
2098 (file-name
2099 (string-append name "-" version ".tar.gz"))
2100 (sha256
2101 (base32
2102 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2103 (arguments
2104 `(#:cargo-inputs
2105 (("rust-bitflags" ,rust-bitflags-1)
2106 ("rust-wayland-client" ,rust-wayland-client-0.21)
2107 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2108 ("rust-wayland-server" ,rust-wayland-server-0.21)
2109 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2110 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2111
2112 (define-public rust-wayland-scanner-0.23
2113 (package
2114 (name "rust-wayland-scanner")
2115 (version "0.23.6")
2116 (source
2117 (origin
2118 (method url-fetch)
2119 (uri (crate-uri "wayland-scanner" version))
2120 (file-name
2121 (string-append name "-" version ".tar.gz"))
2122 (sha256
2123 (base32
2124 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2125 (build-system cargo-build-system)
2126 (arguments
2127 `(#:cargo-inputs
2128 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2129 ("rust-quote" ,rust-quote-0.6)
2130 ("rust-xml-rs" ,rust-xml-rs-0.8))))
2131 (home-page "https://github.com/smithay/wayland-rs")
2132 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2133 (description
2134 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2135 It is intended for use with wayland-sys. You should only need this crate if
2136 you are working on custom Wayland protocol extensions.
2137 Look at the wayland-client crate for usable bindings.")
2138 (license license:expat)))
2139
2140 (define-public rust-wayland-scanner-0.21
2141 (package
2142 (inherit rust-wayland-scanner-0.23)
2143 (name "rust-wayland-scanner")
2144 (version "0.21.13")
2145 (source
2146 (origin
2147 (method url-fetch)
2148 (uri (crate-uri "wayland-scanner" version))
2149 (file-name
2150 (string-append name "-" version ".tar.gz"))
2151 (sha256
2152 (base32
2153 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2154
2155 (define-public rust-wayland-server-0.23
2156 (package
2157 (name "rust-wayland-server")
2158 (version "0.23.6")
2159 (source
2160 (origin
2161 (method url-fetch)
2162 (uri (crate-uri "wayland-server" version))
2163 (file-name
2164 (string-append name "-" version ".tar.gz"))
2165 (sha256
2166 (base32
2167 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2168 (build-system cargo-build-system)
2169 (arguments
2170 `(#:cargo-inputs
2171 (("rust-bitflags" ,rust-bitflags-1)
2172 ("rust-calloop" ,rust-calloop-0.4)
2173 ("rust-downcast-rs" ,rust-downcast-rs-1)
2174 ("rust-libc" ,rust-libc-0.2)
2175 ("rust-mio" ,rust-mio-0.6)
2176 ("rust-nix" ,rust-nix-0.14)
2177 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2178 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2179 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2180 (home-page "https://github.com/smithay/wayland-rs")
2181 (synopsis
2182 "Bindings to the standard C implementation of the wayland protocol")
2183 (description
2184 "This package provides Rust bindings to the standard C implementation of
2185 the wayland protocol, server side.")
2186 (license license:expat)))
2187
2188 (define-public rust-wayland-server-0.21
2189 (package
2190 (inherit rust-wayland-server-0.23)
2191 (name "rust-wayland-server")
2192 (version "0.21.13")
2193 (source
2194 (origin
2195 (method url-fetch)
2196 (uri (crate-uri "wayland-server" version))
2197 (file-name
2198 (string-append name "-" version ".tar.gz"))
2199 (sha256
2200 (base32
2201 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2202 (arguments
2203 `(#:cargo-inputs
2204 (("rust-bitflags" ,rust-bitflags-1)
2205 ("rust-calloop" ,rust-calloop-0.4)
2206 ("rust-downcast-rs" ,rust-downcast-rs-1)
2207 ("rust-libc" ,rust-libc-0.2)
2208 ("rust-mio" ,rust-mio-0.6)
2209 ("rust-nix" ,rust-nix-0.14)
2210 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2211 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2212 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2213
2214 (define-public rust-wayland-sys-0.23
2215 (package
2216 (name "rust-wayland-sys")
2217 (version "0.23.6")
2218 (source
2219 (origin
2220 (method url-fetch)
2221 (uri (crate-uri "wayland-sys" version))
2222 (file-name
2223 (string-append name "-" version ".tar.gz"))
2224 (sha256
2225 (base32
2226 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2227 (build-system cargo-build-system)
2228 (arguments
2229 `(#:cargo-inputs
2230 (("rust-dlib" ,rust-dlib-0.4)
2231 ("rust-lazy-static" ,rust-lazy-static-1)
2232 ("rust-libc" ,rust-libc-0.2))))
2233 (home-page "https://github.com/smithay/wayland-rs")
2234 (synopsis "FFI bindings to the various libwayland-*.so libraries")
2235 (description
2236 "FFI bindings to the various libwayland-*.so libraries.
2237 You should only need this crate if you are working on custom wayland
2238 protocol extensions. Look at the crate wayland-client for usable bindings.")
2239 (license license:expat)))
2240
2241 (define-public rust-wayland-sys-0.21
2242 (package
2243 (inherit rust-wayland-sys-0.23)
2244 (name "rust-wayland-sys")
2245 (version "0.21.13")
2246 (source
2247 (origin
2248 (method url-fetch)
2249 (uri (crate-uri "wayland-sys" version))
2250 (file-name
2251 (string-append name "-" version ".tar.gz"))
2252 (sha256
2253 (base32
2254 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2255
2256 (define-public rust-winit-0.24
2257 (package
2258 (name "rust-winit")
2259 (version "0.24.0")
2260 (source
2261 (origin
2262 (method url-fetch)
2263 (uri (crate-uri "winit" version))
2264 (file-name (string-append name "-" version ".tar.gz"))
2265 (sha256
2266 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2267 (build-system cargo-build-system)
2268 (arguments
2269 `(#:skip-build? #t
2270 #:cargo-inputs
2271 (("rust-bitflags" ,rust-bitflags-1)
2272 ("rust-cocoa" ,rust-cocoa-0.24)
2273 ("rust-core-foundation" ,rust-core-foundation-0.9)
2274 ("rust-core-graphics" ,rust-core-graphics-0.22)
2275 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2276 ("rust-dispatch" ,rust-dispatch-0.2)
2277 ("rust-instant" ,rust-instant-0.1)
2278 ("rust-lazy-static" ,rust-lazy-static-1)
2279 ("rust-libc" ,rust-libc-0.2)
2280 ("rust-log" ,rust-log-0.4)
2281 ("rust-mio" ,rust-mio-0.6)
2282 ("rust-mio-extras" ,rust-mio-extras-2)
2283 ("rust-ndk" ,rust-ndk-0.2)
2284 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2285 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2286 ("rust-objc" ,rust-objc-0.2)
2287 ("rust-parking-lot" ,rust-parking-lot-0.11)
2288 ("rust-percent-encoding" ,rust-percent-encoding-2)
2289 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2290 ("rust-serde" ,rust-serde-1)
2291 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2292 ("rust-stdweb" ,rust-stdweb-0.4)
2293 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2294 ("rust-wayland-client" ,rust-wayland-client-0.28)
2295 ("rust-web-sys" ,rust-web-sys-0.3)
2296 ("rust-winapi" ,rust-winapi-0.3)
2297 ("rust-x11-dl" ,rust-x11-dl-2))))
2298 (home-page "https://github.com/rust-windowing/winit")
2299 (synopsis "Window creation library")
2300 (description
2301 "Winit is a window creation and management library. It can create
2302 windows and lets you handle events (for example: the window being
2303 resized, a key being pressed, a mouse movement, etc.) produced by
2304 window.
2305
2306 Winit is designed to be a low-level brick in a hierarchy of libraries.
2307 Consequently, in order to show something on the window you need to use
2308 the platform-specific getters provided by winit, or another library.")
2309 (license license:asl2.0)))
2310
2311 (define-public rust-winit-0.20
2312 (package
2313 (inherit rust-winit-0.24)
2314 (name "rust-winit")
2315 (version "0.20.0-alpha6")
2316 (source
2317 (origin
2318 (method url-fetch)
2319 (uri (crate-uri "winit" version))
2320 (file-name
2321 (string-append name "-" version ".tar.gz"))
2322 (sha256
2323 (base32
2324 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2325 (patches
2326 (list
2327 (origin
2328 (method url-fetch)
2329 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2330 (file-name (string-append name "-fix-bindings.patch"))
2331 (sha256
2332 (base32
2333 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2334 (arguments
2335 `(#:cargo-inputs
2336 (("rust-android-glue" ,rust-android-glue-0.2)
2337 ("rust-bitflags" ,rust-bitflags-1)
2338 ("rust-calloop" ,rust-calloop-0.4)
2339 ("rust-cocoa" ,rust-cocoa-0.19)
2340 ("rust-core-foundation" ,rust-core-foundation-0.6)
2341 ("rust-core-graphics" ,rust-core-graphics-0.17)
2342 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2343 ("rust-dispatch" ,rust-dispatch-0.1)
2344 ("rust-instant" ,rust-instant-0.1)
2345 ("rust-lazy-static" ,rust-lazy-static-1)
2346 ("rust-libc" ,rust-libc-0.2)
2347 ("rust-log" ,rust-log-0.4)
2348 ("rust-objc" ,rust-objc-0.2)
2349 ("rust-parking-lot" ,rust-parking-lot-0.10)
2350 ("rust-percent-encoding" ,rust-percent-encoding-2)
2351 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2352 ("rust-serde" ,rust-serde-1)
2353 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2354 ("rust-stdweb" ,rust-stdweb-0.4)
2355 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2356 ("rust-wayland-client" ,rust-wayland-client-0.23)
2357 ("rust-web-sys" ,rust-web-sys-0.3)
2358 ("rust-winapi" ,rust-winapi-0.3)
2359 ("rust-x11-dl" ,rust-x11-dl-2))
2360 #:cargo-development-inputs
2361 (("rust-console-log" ,rust-console-log-0.1)
2362 ("rust-env-logger" ,rust-env-logger-0.5)
2363 ("rust-image" ,rust-image-0.21))))))
2364
2365 (define-public rust-winit-0.19
2366 (package
2367 (inherit rust-winit-0.20)
2368 (name "rust-winit")
2369 (version "0.19.5")
2370 (source
2371 (origin
2372 (method url-fetch)
2373 (uri (crate-uri "winit" version))
2374 (file-name
2375 (string-append name "-" version ".tar.gz"))
2376 (sha256
2377 (base32
2378 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2379 (arguments
2380 `(#:cargo-inputs
2381 (("rust-android-glue" ,rust-android-glue-0.2)
2382 ("rust-backtrace" ,rust-backtrace-0.3)
2383 ("rust-bitflags" ,rust-bitflags-1)
2384 ("rust-cocoa" ,rust-cocoa-0.18)
2385 ("rust-core-foundation" ,rust-core-foundation-0.6)
2386 ("rust-core-graphics" ,rust-core-graphics-0.17)
2387 ("rust-image" ,rust-image-0.21)
2388 ("rust-lazy-static" ,rust-lazy-static-1)
2389 ("rust-libc" ,rust-libc-0.2)
2390 ("rust-log" ,rust-log-0.4)
2391 ("rust-objc" ,rust-objc-0.2)
2392 ("rust-parking-lot" ,rust-parking-lot-0.9)
2393 ("rust-percent-encoding" ,rust-percent-encoding-2)
2394 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2395 ("rust-serde" ,rust-serde-1)
2396 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2397 ("rust-wayland-client" ,rust-wayland-client-0.21)
2398 ("rust-winapi" ,rust-winapi-0.3)
2399 ("rust-x11-dl" ,rust-x11-dl-2))))))
2400
2401 (define-public rust-x11-2
2402 (package
2403 (name "rust-x11")
2404 (version "2.18.2")
2405 (source
2406 (origin
2407 (method url-fetch)
2408 (uri (crate-uri "x11" version))
2409 (file-name
2410 (string-append name "-" version ".tar.gz"))
2411 (sha256
2412 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
2413 (build-system cargo-build-system)
2414 (arguments
2415 `(#:cargo-inputs
2416 (("rust-libc" ,rust-libc-0.2)
2417 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2418 (home-page "https://github.com/erlepereira/x11-rs")
2419 (synopsis "X11 library bindings for Rust")
2420 (description "This crate provides X11 library bindings for Rust.")
2421 (license license:expat)))
2422
2423 (define-public rust-x11-clipboard-0.4
2424 (package
2425 (name "rust-x11-clipboard")
2426 (version "0.4.0")
2427 (source
2428 (origin
2429 (method url-fetch)
2430 (uri (crate-uri "x11-clipboard" version))
2431 (file-name
2432 (string-append name "-" version ".tar.gz"))
2433 (sha256
2434 (base32
2435 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
2436 (build-system cargo-build-system)
2437 (arguments
2438 `(#:tests? #f ; Tests require display server.
2439 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
2440 (native-inputs
2441 `(("python" ,python)))
2442 (home-page "https://github.com/quininer/x11-clipboard")
2443 (synopsis "x11 clipboard support for Rust")
2444 (description "This package provides x11 clipboard support for Rust.")
2445 (license license:expat)))
2446
2447 (define-public rust-x11-dl-2
2448 (package
2449 (name "rust-x11-dl")
2450 (version "2.18.5")
2451 (source
2452 (origin
2453 (method url-fetch)
2454 (uri (crate-uri "x11-dl" version))
2455 (file-name
2456 (string-append name "-" version ".tar.gz"))
2457 (sha256
2458 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2459 (build-system cargo-build-system)
2460 (arguments
2461 `(#:cargo-inputs
2462 (("rust-lazy-static" ,rust-lazy-static-1)
2463 ("rust-libc" ,rust-libc-0.2)
2464 ("rust-maybe-uninit" ,rust-maybe-uninit-2.0)
2465 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2466 (home-page "https://github.com/erlepereira/x11-rs.git")
2467 (synopsis "X11 library bindings for Rust")
2468 (description "This package provides X11 library bindings for Rust.")
2469 (license license:cc0)))
2470
2471 (define-public rust-y4m-0.5
2472 (package
2473 (name "rust-y4m")
2474 (version "0.5.3")
2475 (source
2476 (origin
2477 (method url-fetch)
2478 (uri (crate-uri "y4m" version))
2479 (file-name
2480 (string-append name "-" version ".tar.gz"))
2481 (sha256
2482 (base32
2483 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2484 (build-system cargo-build-system)
2485 (arguments
2486 `(#:cargo-development-inputs
2487 (("rust-resize" ,rust-resize-0.3))))
2488 (home-page "https://github.com/image-rs/y4m")
2489 (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2490 (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2491 (license license:expat)))