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