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