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