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