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