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