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