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