gnu: emacs-svg-icon: Fix grammar.
[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
190e94b2 910 `(#:cargo-inputs
1d127ccb
NG
911 (("rust-android-glue" ,rust-android-glue-0.2)
912 ("rust-cgl" ,rust-cgl-0.3)
913 ("rust-cocoa" ,rust-cocoa-0.23)
914 ("rust-core-foundation" ,rust-core-foundation-0.9)
915 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
916 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
917 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
918 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
919 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
920 ("rust-lazy-static" ,rust-lazy-static-1)
921 ("rust-libloading" ,rust-libloading-0.6)
922 ("rust-log" ,rust-log-0.4)
923 ("rust-objc" ,rust-objc-0.2)
924 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
925 ("rust-parking-lot" ,rust-parking-lot-0.11)
1d127ccb
NG
926 ("rust-wayland-egl" ,rust-wayland-egl-0.28)
927 ("rust-winapi" ,rust-winapi-0.3)
928 ("rust-winit" ,rust-winit-0.24))))
190e94b2
EF
929 (inputs
930 `(("rust-wayland-client" ,rust-wayland-client-0.28)
931 ("rust-wayland-egl" ,rust-wayland-egl-0.28)))
1d127ccb
NG
932 (home-page "https://github.com/tomaka/glutin")
933 (synopsis "Cross-platform OpenGL context provider")
934 (description "This package provides an OpenGL context provider.")
935 (license license:asl2.0)))
936
9f86a6da
EF
937(define-public rust-glutin-0.22
938 (package
1d127ccb 939 (inherit rust-glutin-0.26)
9f86a6da
EF
940 (name "rust-glutin")
941 (version "0.22.0-alpha5")
942 (source
943 (origin
944 (method url-fetch)
945 (uri (crate-uri "glutin" version))
946 (file-name
947 (string-append name "-" version ".tar.gz"))
948 (sha256
949 (base32
950 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
9f86a6da
EF
951 (arguments
952 `(#:cargo-inputs
953 (("rust-android-glue" ,rust-android-glue-0.2)
954 ("rust-cgl" ,rust-cgl-0.3)
955 ("rust-cocoa" ,rust-cocoa-0.19)
956 ("rust-core-foundation" ,rust-core-foundation-0.6)
957 ("rust-core-graphics" ,rust-core-graphics-0.17)
958 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
959 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
960 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
961 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
962 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
963 ("rust-lazy-static" ,rust-lazy-static-1)
964 ("rust-libloading" ,rust-libloading-0.5)
965 ("rust-log" ,rust-log-0.4)
966 ("rust-objc" ,rust-objc-0.2)
967 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
968 ("rust-parking-lot" ,rust-parking-lot-0.9)
969 ("rust-wayland-client" ,rust-wayland-client-0.23)
970 ("rust-winapi" ,rust-winapi-0.3)
1d127ccb 971 ("rust-winit" ,rust-winit-0.20))))))
9f86a6da
EF
972
973(define-public rust-glutin-0.21
974 (package
975 (inherit rust-glutin-0.22)
976 (name "rust-glutin")
977 (version "0.21.2")
978 (source
979 (origin
980 (method url-fetch)
981 (uri (crate-uri "glutin" version))
982 (file-name
983 (string-append name "-" version ".tar.gz"))
984 (sha256
985 (base32
986 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
987 (arguments
988 `(#:cargo-inputs
989 (("rust-android-glue" ,rust-android-glue-0.2)
990 ("rust-cgl" ,rust-cgl-0.2)
991 ("rust-cocoa" ,rust-cocoa-0.18)
992 ("rust-core-foundation" ,rust-core-foundation-0.6)
993 ("rust-core-graphics" ,rust-core-graphics-0.17)
994 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
995 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
996 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
997 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
998 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
999 ("rust-lazy-static" ,rust-lazy-static-1)
1000 ("rust-libloading" ,rust-libloading-0.5)
1001 ("rust-objc" ,rust-objc-0.2)
1002 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
1003 ("rust-parking-lot" ,rust-parking-lot-0.9)
1004 ("rust-wayland-client" ,rust-wayland-client-0.21)
1005 ("rust-winapi" ,rust-winapi-0.3)
1006 ("rust-winit" ,rust-winit-0.19))))))
1007
1008(define-public rust-glutin-egl-sys-0.1
1009 (package
1010 (name "rust-glutin-egl-sys")
1011 (version "0.1.4")
1012 (source
1013 (origin
1014 (method url-fetch)
1015 (uri (crate-uri "glutin-egl-sys" version))
1016 (file-name
1017 (string-append name "-" version ".tar.gz"))
1018 (sha256
1019 (base32
1020 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
1021 (build-system cargo-build-system)
1022 (arguments
1023 `(#:cargo-inputs
1024 (("rust-winapi" ,rust-winapi-0.3)
1025 ("rust-gl-generator" ,rust-gl-generator-0.13))))
1026 (home-page "https://github.com/rust-windowing/glutin")
1027 (synopsis "Egl bindings for glutin")
1028 (description "The egl bindings for glutin.")
1029 (license license:asl2.0)))
1030
1031(define-public rust-glutin-emscripten-sys-0.1
1032 (package
1033 (name "rust-glutin-emscripten-sys")
2c13905d 1034 (version "0.1.1")
9f86a6da
EF
1035 (source
1036 (origin
1037 (method url-fetch)
1038 (uri (crate-uri "glutin_emscripten_sys" version))
2c13905d 1039 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1040 (sha256
2c13905d 1041 (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0"))))
9f86a6da 1042 (build-system cargo-build-system)
2c13905d 1043 (arguments `(#:skip-build? #t))
9f86a6da
EF
1044 (home-page "https://github.com/tomaka/glutin")
1045 (synopsis "Emscripten bindings for glutin")
2c13905d 1046 (description "This package provides Emscripten bindings for glutin.")
9f86a6da
EF
1047 (license license:asl2.0)))
1048
1049(define-public rust-glutin-gles2-sys-0.1
1050 (package
1051 (name "rust-glutin-gles2-sys")
501d1093 1052 (version "0.1.5")
9f86a6da
EF
1053 (source
1054 (origin
1055 (method url-fetch)
1056 (uri (crate-uri "glutin_gles2_sys" version))
501d1093 1057 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1058 (sha256
501d1093 1059 (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8"))))
9f86a6da
EF
1060 (build-system cargo-build-system)
1061 (arguments
501d1093
NG
1062 `(#:skip-build? #t
1063 #:cargo-inputs
1064 (("rust-gl-generator" ,rust-gl-generator-0.14)
1065 ("rust-objc" ,rust-objc-0.2))))
9f86a6da 1066 (home-page "https://github.com/tomaka/glutin")
501d1093
NG
1067 (synopsis "Gles2 bindings for glutin")
1068 (description "This package provides gles2 bindings for glutin.")
9f86a6da
EF
1069 (license license:asl2.0)))
1070
1071(define-public rust-glutin-glx-sys-0.1
1072 (package
1073 (name "rust-glutin-glx-sys")
48c2a30b 1074 (version "0.1.7")
9f86a6da
EF
1075 (source
1076 (origin
1077 (method url-fetch)
48c2a30b
NG
1078 (uri (crate-uri "glutin_glx_sys" version))
1079 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1080 (sha256
48c2a30b 1081 (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
9f86a6da
EF
1082 (build-system cargo-build-system)
1083 (arguments
48c2a30b
NG
1084 `(#:skip-build? #t
1085 #:cargo-inputs
1086 (("rust-gl-generator" ,rust-gl-generator-0.14)
1087 ("rust-x11-dl" ,rust-x11-dl-2))))
9f86a6da
EF
1088 (home-page "https://github.com/tomaka/glutin")
1089 (synopsis "Glx bindings for glutin")
48c2a30b 1090 (description "This package provides glx bindings for glutin.")
9f86a6da
EF
1091 (license license:asl2.0)))
1092
1093(define-public rust-glutin-wgl-sys-0.1
1094 (package
1095 (name "rust-glutin-wgl-sys")
721a6d6f 1096 (version "0.1.5")
9f86a6da
EF
1097 (source
1098 (origin
1099 (method url-fetch)
721a6d6f
NG
1100 (uri (crate-uri "glutin_wgl_sys" version))
1101 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1102 (sha256
721a6d6f 1103 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
9f86a6da
EF
1104 (build-system cargo-build-system)
1105 (arguments
721a6d6f
NG
1106 `(#:skip-build? #t
1107 #:cargo-inputs
1108 (("rust-gl-generator" ,rust-gl-generator-0.14))))
9f86a6da
EF
1109 (home-page "https://github.com/tomaka/glutin")
1110 (synopsis "Wgl bindings for glutin")
721a6d6f 1111 (description "This package provides wgl bindings for glutin.")
9f86a6da
EF
1112 (license license:asl2.0)))
1113
499ad2c4
NG
1114(define-public rust-ical-0.7
1115 (package
1116 (name "rust-ical")
1117 (version "0.7.0")
1118 (source
1119 (origin
1120 (method url-fetch)
1121 (uri (crate-uri "ical" version))
1122 (file-name (string-append name "-" version ".tar.gz"))
1123 (sha256
1124 (base32 "1kvk1pgas67rnp0n4424lxxs8y3n1h0fw3ap8jbfcxqdmlap57sa"))))
1125 (build-system cargo-build-system)
1126 (arguments
1127 `(#:skip-build? #t
1128 #:cargo-inputs
1129 (("rust-thiserror" ,rust-thiserror-1))))
1130 (home-page "https://github.com/Peltoche/ical-rs")
1131 (synopsis "Ical/Vcard parser for Rust")
1132 (description
1133 "This library parse the ICalendar format defined in RFC5545, as well as
1134similar formats like VCard.")
1135 (license license:asl2.0)))
1136
c450aa28
NG
1137(define-public rust-ichwh-0.3
1138 (package
1139 (name "rust-ichwh")
1140 (version "0.3.4")
1141 (source
1142 (origin
1143 (method url-fetch)
1144 (uri (crate-uri "ichwh" version))
1145 (file-name (string-append name "-" version ".tar.gz"))
1146 (sha256
1147 (base32 "0m6628yw3l812hjknmh5b5gcvhn6as9gzjz60h54zjxyy4w5ss7a"))))
1148 (build-system cargo-build-system)
1149 (arguments
1150 `(#:skip-build? #t
1151 #:cargo-inputs
1152 (("rust-async-std" ,rust-async-std-1)
1153 ("rust-cfg-if" ,rust-cfg-if-0.1)
1154 ("rust-futures" ,rust-futures-0.3)
1155 ("rust-thiserror" ,rust-thiserror-1))))
1156 (home-page "https://gitlab.com/avandesa/ichwh-rs")
1157 (synopsis "Asynchronous implementation of @command{which}")
1158 (description
1159 "@code{ichwh} aims to be a fully-asynchronous clone of GNU which. The
1160main job of @command{which} is to search for executables on the current
1161PATH.")
1162 (license license:expat)))
1163
9f86a6da
EF
1164(define-public rust-image-0.23
1165 (package
1166 (name "rust-image")
a90ff8eb 1167 (version "0.23.12")
9f86a6da 1168 (source
a90ff8eb
NG
1169 (origin
1170 (method url-fetch)
1171 (uri (crate-uri "image" version))
1172 (file-name (string-append name "-" version ".tar.gz"))
1173 (sha256
1174 (base32 "1dg9z5sbc389spp7pm23n2b1k0gdd8hjdb8hhsp3k3npx9vl1q3w"))))
9f86a6da
EF
1175 (build-system cargo-build-system)
1176 (arguments
a90ff8eb 1177 `(#:skip-build? #t
9f86a6da
EF
1178 #:cargo-inputs
1179 (("rust-bytemuck" ,rust-bytemuck-1)
a699f329 1180 ("rust-byteorder" ,rust-byteorder-1)
a90ff8eb
NG
1181 ("rust-color-quant" ,rust-color-quant-1)
1182 ("rust-gif" ,rust-gif-0.11)
9f86a6da
EF
1183 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1184 ("rust-num-iter" ,rust-num-iter-0.1)
1185 ("rust-num-rational" ,rust-num-rational-0.3)
1186 ("rust-num-traits" ,rust-num-traits-0.2)
1187 ("rust-png" ,rust-png-0.16)
a90ff8eb
NG
1188 ("rust-ravif" ,rust-ravif-0.6)
1189 ("rust-rgb" ,rust-rgb-0.8)
9f86a6da 1190 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
a90ff8eb 1191 ("rust-tiff" ,rust-tiff-0.6))))
9f86a6da
EF
1192 (home-page "https://github.com/image-rs/image")
1193 (synopsis "Imaging library written in Rust")
1194 (description
a90ff8eb
NG
1195 "This package is an imaging library written in Rust. It provides basic
1196filters and decoders for the most common image formats.")
9f86a6da
EF
1197 (license license:expat)))
1198
1199(define-public rust-image-0.22
1200 (package
1201 (inherit rust-image-0.23)
1202 (name "rust-image")
1203 (version "0.22.5")
1204 (source
1205 (origin
1206 (method url-fetch)
1207 (uri (crate-uri "image" version))
1208 (file-name
1209 (string-append name "-" version ".tar.gz"))
1210 (sha256
1211 (base32
1212 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
1213 (arguments
1214 `(#:tests? #f ; Some test images are missing from the release.
1215 #:cargo-inputs
a699f329 1216 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
1217 ("rust-gif" ,rust-gif-0.10)
1218 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1219 ("rust-num-iter" ,rust-num-iter-0.1)
1220 ("rust-num-rational" ,rust-num-rational-0.2)
1221 ("rust-num-traits" ,rust-num-traits-0.2)
1222 ("rust-png" ,rust-png-0.15)
1223 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1224 ("rust-tiff" ,rust-tiff-0.3))
1225 #:cargo-development-inputs
14467020 1226 (("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da
EF
1227 ("rust-glob" ,rust-glob-0.3)
1228 ("rust-num-complex" ,rust-num-complex-0.2)
1229 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
1230
1231(define-public rust-image-0.21
1232 (package
1233 (inherit rust-image-0.22)
1234 (name "rust-image")
1235 (version "0.21.3")
1236 (source
1237 (origin
1238 (method url-fetch)
1239 (uri (crate-uri "image" version))
1240 (file-name
1241 (string-append name "-" version ".tar.gz"))
1242 (sha256
1243 (base32
1244 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
1245 (arguments
1246 `(#:cargo-inputs
a699f329 1247 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
1248 ("rust-gif" ,rust-gif-0.10)
1249 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1250 ("rust-lzw" ,rust-lzw-0.10)
1251 ("rust-num-iter" ,rust-num-iter-0.1)
1252 ("rust-num-rational" ,rust-num-rational-0.2)
1253 ("rust-num-traits" ,rust-num-traits-0.2)
1254 ("rust-png" ,rust-png-0.14)
1255 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1256 ("rust-tiff" ,rust-tiff-0.2))
1257 #:cargo-development-inputs
1258 (("rust-glob" ,rust-glob-0.3)
1259 ("rust-num-complex" ,rust-num-complex-0.2)
1260 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1261
1262(define-public rust-image-0.20
1263 (package
1264 (inherit rust-image-0.21)
1265 (name "rust-image")
1266 (version "0.20.1")
1267 (source
1268 (origin
1269 (method url-fetch)
1270 (uri (crate-uri "image" version))
1271 (file-name
1272 (string-append name "-" version ".tar.gz"))
1273 (sha256
1274 (base32
1275 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1276 (arguments
1277 `(#:cargo-inputs
a699f329 1278 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
1279 ("rust-gif" ,rust-gif-0.10)
1280 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1281 ("rust-lzw" ,rust-lzw-0.10)
1282 ("rust-num-iter" ,rust-num-iter-0.1)
1283 ("rust-num-rational" ,rust-num-rational-0.2)
1284 ("rust-num-traits" ,rust-num-traits-0.2)
1285 ("rust-png" ,rust-png-0.12)
1286 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1287 ("rust-tiff" ,rust-tiff-0.2))
1288 #:cargo-development-inputs
1289 (("rust-glob" ,rust-glob-0.2)
1290 ("rust-num-complex" ,rust-num-complex-0.2)
1291 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1292
86825f7f
NG
1293(define-public rust-imgref-1
1294 (package
1295 (name "rust-imgref")
1296 (version "1.7.1")
1297 (source
1298 (origin
1299 (method url-fetch)
1300 (uri (crate-uri "imgref" version))
1301 (file-name (string-append name "-" version ".tar.gz"))
1302 (sha256
1303 (base32 "19dd5xss3nd40avv8az2kzicpxx71c2akiqznr616hki30w9vj07"))))
1304 (build-system cargo-build-system)
1305 (arguments `(#:skip-build? #t))
1306 (home-page "https://github.com/kornelski/imgref")
1307 (synopsis "2D slice of a @code{Vec}")
1308 (description
1309 "This package provides a trivial struct for interchange of 2d-dimensional
1310pixel buffers with width, height and stride.")
1311 (license license:cc0)))
1312
9f86a6da
EF
1313(define-public rust-jpeg-decoder-0.1
1314 (package
1315 (name "rust-jpeg-decoder")
1316 (version "0.1.18")
1317 (source
1318 (origin
1319 (method url-fetch)
1320 (uri (crate-uri "jpeg-decoder" version))
1321 (file-name
1322 (string-append name "-" version ".tar.gz"))
1323 (sha256
1324 (base32
1325 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1326 (build-system cargo-build-system)
1327 (arguments
1328 `(#:tests? #f ; Some test files missing.
1329 #:cargo-inputs
a699f329 1330 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
1331 ("rust-rayon" ,rust-rayon-1))
1332 #:cargo-development-inputs
1333 (("rust-criterion" ,rust-criterion-0.3)
1334 ("rust-png" ,rust-png-0.14)
1335 ("rust-walkdir" ,rust-walkdir-2))))
1336 (home-page "https://github.com/image-rs/jpeg-decoder")
1337 (synopsis "JPEG decoder")
1338 (description "JPEG decoder written in Rust.")
1339 (license (list license:expat license:asl2.0))))
1340
1341(define-public rust-line-drawing-0.7
1342 (package
1343 (name "rust-line-drawing")
1344 (version "0.7.0")
1345 (source
1346 (origin
1347 (method url-fetch)
1348 (uri (crate-uri "line_drawing" version))
1349 (file-name
1350 (string-append name "-" version ".tar.gz"))
1351 (sha256
1352 (base32
1353 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1354 (build-system cargo-build-system)
1355 (arguments
1356 ;; This version does not specify any versions on dependants.
1357 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1358 #:cargo-inputs
1359 (("rust-num-traits" ,rust-num-traits-0.2))
1360 #:cargo-development-inputs
1361 (("rust-bresenham" ,rust-bresenham-0.1)
1362 ("rust-image" ,rust-image-0.22) ; 0.17?
1363 ("rust-rand" ,rust-rand-0.6))))
1364 (home-page "https://github.com/expenses/line_drawing")
1365 (synopsis "Collection of line-drawing algorithms")
1366 (description
1367 "This package provides a collection of line-drawing algorithms for use in
1368graphics and video games.")
1369 (license license:expat)))
1370
1371(define-public rust-lyon-geom-0.14
1372 (package
1373 (name "rust-lyon-geom")
1374 (version "0.14.1")
1375 (source
1376 (origin
1377 (method url-fetch)
1378 (uri (crate-uri "lyon_geom" version))
1379 (file-name
1380 (string-append name "-" version ".tar.gz"))
1381 (sha256
1382 (base32
1383 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1384 (build-system cargo-build-system)
1385 (arguments
1386 `(#:skip-build? #t
1387 #:cargo-inputs
1388 (("rust-num-traits" ,rust-num-traits-0.2)
1389 ("rust-euclid" ,rust-euclid-0.20)
1390 ("rust-arrayvec" ,rust-arrayvec-0.4)
1391 ("rust-serde" ,rust-serde-1))))
1392 (home-page "https://github.com/nical/lyon")
1393 (synopsis "2D graphics rendering on the GPU using tessellation")
1394 (description
1395 "This package provides 2D graphics rendering on the GPU using tessellation.")
1396 (license (list license:expat license:asl2.0))))
1397
1398(define-public rust-lyon-path-0.14
1399 (package
1400 (name "rust-lyon-path")
1401 (version "0.14.0")
1402 (source
1403 (origin
1404 (method url-fetch)
1405 (uri (crate-uri "lyon_path" version))
1406 (file-name
1407 (string-append name "-" version ".tar.gz"))
1408 (sha256
1409 (base32
1410 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1411 (build-system cargo-build-system)
1412 (arguments
1413 `(#:skip-build? #t
1414 #:cargo-inputs
1415 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1416 ("rust-serde" ,rust-serde-1))))
1417 (home-page "https://github.com/nical/lyon")
1418 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1419 (description
1420 "Types and utilities to store, build and iterate over 2D paths.")
1421 (license (list license:expat license:asl2.0))))
1422
1423(define-public rust-osmesa-sys-0.1
1424 (package
1425 (name "rust-osmesa-sys")
1426 (version "0.1.2")
1427 (source
1428 (origin
1429 (method url-fetch)
1430 (uri (crate-uri "osmesa-sys" version))
1431 (file-name
1432 (string-append name "-" version ".tar.gz"))
1433 (sha256
1434 (base32
1435 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1436 (build-system cargo-build-system)
1437 (arguments
1438 `(#:cargo-inputs
1439 (("rust-shared-library" ,rust-shared-library-0.1))))
1440 (home-page "https://crates.io/crates/osmesa-sys")
1441 (synopsis "OSMesa library bindings for Rust")
1442 (description "This package provides OSMesa library bindings for Rust.")
1443 (license license:cc0)))
1444
1445(define-public rust-piston-0.49
1446 (package
1447 (name "rust-piston")
1448 (version "0.49.0")
1449 (source
1450 (origin
1451 (method url-fetch)
1452 (uri (crate-uri "piston" version))
1453 (file-name
1454 (string-append name "-" version ".tar.gz"))
1455 (sha256
1456 (base32
1457 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1458 (build-system cargo-build-system)
1459 (arguments
1460 `(#:skip-build? #t
1461 #:cargo-inputs
1462 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1463 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1464 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1465 (home-page "https://github.com/PistonDevelopers/piston")
1466 (synopsis "Piston game engine core libraries")
1467 (description
1468 "The Piston game engine core libraries.")
1469 (license license:expat)))
1470
7735bdb5 1471(define-public rust-piston-float-1
9f86a6da
EF
1472 (package
1473 (name "rust-piston-float")
1474 (version "1.0.0")
1475 (source
1476 (origin
1477 (method url-fetch)
1478 (uri (crate-uri "piston-float" version))
1479 (file-name
1480 (string-append name "-" version ".tar.gz"))
1481 (sha256
1482 (base32
1483 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1484 (build-system cargo-build-system)
1485 (arguments `(#:skip-build? #t))
1486 (home-page
1487 "https://github.com/pistondevelopers/float")
1488 (synopsis
1489 "Traits for generic floats in game development")
1490 (description
1491 "Traits for generic floats in game development")
1492 (license license:expat)))
1493
1494(define-public rust-piston-gfx-texture-0.40
1495 (package
1496 (name "rust-piston-gfx-texture")
1497 (version "0.40.0")
1498 (source
1499 (origin
1500 (method url-fetch)
1501 (uri (crate-uri "piston-gfx_texture" version))
1502 (file-name
1503 (string-append name "-" version ".tar.gz"))
1504 (sha256
1505 (base32
1506 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1507 (build-system cargo-build-system)
1508 (arguments
1509 `(#:skip-build? #t
1510 #:cargo-inputs
1511 (("rust-gfx" ,rust-gfx-0.18)
1512 ("rust-image" ,rust-image-0.22)
1513 ("rust-piston-texture" ,rust-piston-texture-0.8)
1514 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1515 (home-page "https://github.com/pistondevelopers/gfx_texture")
1516 (synopsis
1517 "Gfx texture representation that works nicely with Piston libraries")
1518 (description "This package provides a Gfx texture representation that works
1519nicely with Piston libraries.")
1520 (license license:expat)))
1521
1522(define-public rust-piston-graphics-api-version-0.2
1523 (package
1524 (name "rust-piston-graphics-api-version")
1525 (version "0.2.0")
1526 (source
1527 (origin
1528 (method url-fetch)
1529 (uri (crate-uri "piston-graphics_api_version" version))
1530 (file-name
1531 (string-append name "-" version ".tar.gz"))
1532 (sha256
1533 (base32
1534 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1535 (build-system cargo-build-system)
1536 (arguments `(#:skip-build? #t))
1537 (home-page
1538 "https://github.com/PistonDevelopers/graphics_api_version")
1539 (synopsis
1540 "A library for storing graphics API versions")
1541 (description
1542 "This package provides a library for storing graphics API versions")
1543 (license license:expat)))
1544
1545(define-public rust-piston-shaders-graphics2d-0.3
1546 (package
1547 (name "rust-piston-shaders-graphics2d")
1548 (version "0.3.1")
1549 (source
1550 (origin
1551 (method url-fetch)
1552 (uri (crate-uri "piston-shaders_graphics2d" version))
1553 (file-name
1554 (string-append name "-" version ".tar.gz"))
1555 (sha256
1556 (base32
1557 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1558 (build-system cargo-build-system)
1559 (arguments `(#:skip-build? #t))
1560 (home-page
1561 "https://github.com/PistonDevelopers/shaders")
1562 (synopsis "Shaders for 2D graphics in Rust")
1563 (description "Shaders for 2D graphics in Rust")
1564 (license license:expat)))
1565
1566(define-public rust-piston-texture-0.8
1567 (package
1568 (name "rust-piston-texture")
1569 (version "0.8.0")
1570 (source
1571 (origin
1572 (method url-fetch)
1573 (uri (crate-uri "piston-texture" version))
1574 (file-name
1575 (string-append name "-" version ".tar.gz"))
1576 (sha256
1577 (base32
1578 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1579 (build-system cargo-build-system)
1580 (arguments `(#:skip-build? #t))
1581 (home-page
1582 "https://github.com/pistondevelopers/texture")
1583 (synopsis "A generic library for textures")
1584 (description
1585 "This package provides a generic library for textures")
1586 (license license:expat)))
1587
5f1c6013 1588(define-public rust-piston-viewport-1
9f86a6da
EF
1589 (package
1590 (name "rust-piston-viewport")
1591 (version "1.0.0")
1592 (source
1593 (origin
1594 (method url-fetch)
1595 (uri (crate-uri "piston-viewport" version))
1596 (file-name
1597 (string-append name "-" version ".tar.gz"))
1598 (sha256
1599 (base32
1600 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1601 (build-system cargo-build-system)
1602 (arguments
1603 `(#:skip-build? #t
1604 #:cargo-inputs
7735bdb5 1605 (("rust-piston-float" ,rust-piston-float-1))))
9f86a6da
EF
1606 (home-page "https://github.com/PistonDevelopers/viewport")
1607 (synopsis "Library for storing viewport information")
1608 (description
1609 "This package provides a library for storing viewport information.")
1610 (license license:expat)))
1611
1612(define-public rust-piston-window-0.105
1613 (package
1614 (name "rust-piston-window")
1615 (version "0.105.0")
1616 (source
1617 (origin
1618 (method url-fetch)
1619 (uri (crate-uri "piston_window" version))
1620 (file-name
1621 (string-append name "-" version ".tar.gz"))
1622 (sha256
1623 (base32
1624 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1625 (build-system cargo-build-system)
1626 (arguments
1627 `(#:skip-build? #t
1628 #:cargo-inputs
1629 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1630 ("rust-gfx" ,rust-gfx-0.18)
1631 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1632 ("rust-piston" ,rust-piston-0.49)
1633 ("rust-shader-version" ,rust-shader-version-0.6)
1634 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1635 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1636 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1637 (home-page "https://github.com/pistondevelopers/piston_window")
1638 (synopsis "Official Piston window wrapper for the Piston game engine")
1639 (description
1640 "The official Piston window wrapper for the Piston game engine.")
1641 (license license:expat)))
1642
1643(define-public rust-piston2d-gfx-graphics-0.66
1644 (package
1645 (name "rust-piston2d-gfx-graphics")
1646 (version "0.66.0")
1647 (source
1648 (origin
1649 (method url-fetch)
1650 (uri (crate-uri "piston2d-gfx_graphics" version))
1651 (file-name
1652 (string-append name "-" version ".tar.gz"))
1653 (sha256
1654 (base32
1655 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1656 (build-system cargo-build-system)
1657 (arguments
1658 `(#:skip-build? #t
1659 #:cargo-inputs
1660 (("rust-gfx" ,rust-gfx-0.18)
1661 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1662 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1663 ("rust-shader-version" ,rust-shader-version-0.6)
1664 ("rust-draw-state" ,rust-draw-state-0.8))))
1665 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1666 (synopsis "Gfx 2D back-end for the Piston game engine")
1667 (description
1668 "This package provides a Gfx 2D back-end for the Piston game engine.")
1669 (license license:expat)))
1670
1671(define-public rust-piston2d-graphics-0.35
1672 (package
1673 (name "rust-piston2d-graphics")
1674 (version "0.35.0")
1675 (source
1676 (origin
1677 (method url-fetch)
1678 (uri (crate-uri "piston2d-graphics" version))
1679 (file-name
1680 (string-append name "-" version ".tar.gz"))
1681 (sha256
1682 (base32
1683 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1684 (build-system cargo-build-system)
1685 (arguments
1686 `(#:skip-build? #t
1687 #:cargo-inputs
1688 (("rust-interpolation" ,rust-interpolation-0.2)
1689 ("rust-rusttype" ,rust-rusttype-0.7)
1690 ("rust-piston-texture" ,rust-piston-texture-0.8)
5f1c6013 1691 ("rust-piston-viewport" ,rust-piston-viewport-1)
35e3782a 1692 ("rust-read-color" ,rust-read-color-1)
da33d474 1693 ("rust-vecmath" ,rust-vecmath-1)
9f86a6da
EF
1694 ("rust-fnv" ,rust-fnv-1))))
1695 (home-page "https://github.com/pistondevelopers/graphics")
1696 (synopsis "Library for 2D graphics that works with multiple back-ends")
1697 (description "This package provides a library for 2D graphics that works
1698with multiple back-ends.")
1699 (license license:expat)))
1700
1701(define-public rust-pistoncore-event-loop-0.49
1702 (package
1703 (name "rust-pistoncore-event-loop")
1704 (version "0.49.0")
1705 (source
1706 (origin
1707 (method url-fetch)
1708 (uri (crate-uri "pistoncore-event_loop" version))
1709 (file-name
1710 (string-append name "-" version ".tar.gz"))
1711 (sha256
1712 (base32
1713 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1714 (build-system cargo-build-system)
1715 (arguments
1716 `(#:skip-build? #t
1717 #:cargo-inputs
1718 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1719 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1720 (home-page "https://github.com/PistonDevelopers/piston")
1721 (synopsis "Piston event loop for games and interactive applications")
1722 (description "This package provides a Piston event loop for games and
1723interactive applications.")
1724 (license license:expat)))
1725
1726(define-public rust-pistoncore-glutin-window-0.63
1727 (package
1728 (name "rust-pistoncore-glutin-window")
1729 (version "0.63.0")
1730 (source
1731 (origin
1732 (method url-fetch)
1733 (uri (crate-uri "pistoncore-glutin_window" version))
1734 (file-name
1735 (string-append name "-" version ".tar.gz"))
1736 (sha256
1737 (base32
1738 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1739 (build-system cargo-build-system)
1740 (arguments
1741 `(#:skip-build? #t
1742 #:cargo-inputs
1743 (("rust-gl" ,rust-gl-0.11)
1744 ("rust-glutin" ,rust-glutin-0.21)
1745 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1746 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1747 ("rust-shader-version" ,rust-shader-version-0.6))))
1748 (home-page "https://github.com/pistondevelopers/glutin_window")
1749 (synopsis "Piston window back-end using the Glutin library")
1750 (description
1751 "This package provides a Piston window back-end using the Glutin library.")
1752 (license license:expat)))
1753
1754(define-public rust-pistoncore-input-0.28
1755 (package
1756 (name "rust-pistoncore-input")
1757 (version "0.28.0")
1758 (source
1759 (origin
1760 (method url-fetch)
1761 (uri (crate-uri "pistoncore-input" version))
1762 (file-name
1763 (string-append name "-" version ".tar.gz"))
1764 (sha256
1765 (base32
1766 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1767 (build-system cargo-build-system)
1768 (arguments
1769 `(#:skip-build? #t
1770 #:cargo-inputs
5f1c6013 1771 (("rust-piston-viewport" ,rust-piston-viewport-1)
9f86a6da
EF
1772 ("rust-serde" ,rust-serde-1)
1773 ("rust-serde-derive" ,rust-serde-derive-1)
1774 ("rust-bitflags" ,rust-bitflags-1))))
1775 (home-page "https://github.com/PistonDevelopers/piston")
1776 (synopsis "Structure for user input")
1777 (description
1778 "This package provides a structure for user input.")
1779 (license license:expat)))
1780
1781(define-public rust-pistoncore-window-0.44
1782 (package
1783 (name "rust-pistoncore-window")
1784 (version "0.44.0")
1785 (source
1786 (origin
1787 (method url-fetch)
1788 (uri (crate-uri "pistoncore-window" version))
1789 (file-name
1790 (string-append name "-" version ".tar.gz"))
1791 (sha256
1792 (base32
1793 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1794 (build-system cargo-build-system)
1795 (arguments
1796 `(#:skip-build? #t
1797 #:cargo-inputs
1798 (("rust-piston-graphics-api-version"
1799 ,rust-piston-graphics-api-version-0.2)
1800 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1801 (home-page "https://github.com/PistonDevelopers/piston")
1802 (synopsis "Library for window abstraction")
1803 (description
1804 "This package provides a library for window abstraction.")
1805 (license license:expat)))
1806
1807(define-public rust-png-0.16
1808 (package
1809 (name "rust-png")
191ad9d3 1810 (version "0.16.8")
9f86a6da 1811 (source
191ad9d3
NG
1812 (origin
1813 (method url-fetch)
1814 (uri (crate-uri "png" version))
1815 (file-name (string-append name "-" version ".tar.gz"))
1816 (sha256
1817 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
9f86a6da
EF
1818 (build-system cargo-build-system)
1819 (arguments
1820 `(#:skip-build? #t
1821 #:cargo-inputs
1822 (("rust-bitflags" ,rust-bitflags-1)
14467020 1823 ("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da 1824 ("rust-deflate" ,rust-deflate-0.8)
191ad9d3 1825 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
9f86a6da
EF
1826 (home-page "https://github.com/image-rs/image-png.git")
1827 (synopsis "PNG decoding and encoding library in pure Rust")
1828 (description
191ad9d3 1829 "This package is a PNG decoding and encoding library in pure Rust.")
9f86a6da
EF
1830 (license (list license:expat license:asl2.0))))
1831
1832(define-public rust-png-0.15
1833 (package
1834 (inherit rust-png-0.16)
1835 (name "rust-png")
1836 (version "0.15.3")
1837 (source
1838 (origin
1839 (method url-fetch)
1840 (uri (crate-uri "png" version))
1841 (file-name
1842 (string-append name "-" version ".tar.gz"))
1843 (sha256
1844 (base32
1845 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1846 (arguments
1847 `(#:skip-build? #t
1848 #:cargo-inputs
1849 (("rust-bitflags" ,rust-bitflags-1)
14467020 1850 ("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da
EF
1851 ("rust-deflate" ,rust-deflate-0.7)
1852 ("rust-inflate" ,rust-inflate-0.4))
1853 #:cargo-development-inputs
1854 (("rust-getopts" ,rust-getopts-0.2)
1855 ;; TODO: glium has many cyclic dependencies with other packages
1856 ;;("rust-glium" ,rust-glium-0.24)
1857 ("rust-glob" ,rust-glob-0.3)
1858 ("rust-rand" ,rust-rand-0.7)
1859 ("rust-term" ,rust-term-0.6))))))
1860
1861(define-public rust-png-0.14
1862 (package
1863 (inherit rust-png-0.15)
1864 (name "rust-png")
1865 (version "0.14.1")
1866 (source
1867 (origin
1868 (method url-fetch)
1869 (uri (crate-uri "png" version))
1870 (file-name
1871 (string-append name "-" version ".tar.gz"))
1872 (sha256
1873 (base32
1874 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1875 (arguments
1876 `(#:skip-build? #t
1877 #:cargo-inputs
1878 (("rust-bitflags" ,rust-bitflags-1)
1879 ("rust-deflate" ,rust-deflate-0.7)
1880 ("rust-inflate" ,rust-inflate-0.4)
1881 ("rust-num-iter" ,rust-num-iter-0.1))
1882 #:cargo-development-inputs
1883 (("rust-getopts" ,rust-getopts-0.2)
1884 ;; TODO: glium has many cyclic dependencies with other packages
1885 ;; ("rust-glium" ,rust-glium-0.22)
1886 ("rust-glob" ,rust-glob-0.2)
1887 ("rust-rand" ,rust-rand-0.5)
1888 ("rust-term" ,rust-term-0.4))))))
1889
1890(define-public rust-png-0.12
1891 (package
1892 (inherit rust-png-0.14)
1893 (name "rust-png")
1894 (version "0.12.0")
1895 (source
1896 (origin
1897 (method url-fetch)
1898 (uri (crate-uri "png" version))
1899 (file-name
1900 (string-append name "-" version ".tar.gz"))
1901 (sha256
1902 (base32
1903 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1904 (arguments
1905 `(#:skip-build? #t
1906 #:cargo-inputs
1907 (("rust-bitflags" ,rust-bitflags-1)
1908 ("rust-deflate" ,rust-deflate-0.7)
1909 ("rust-inflate" ,rust-inflate-0.4)
1910 ("rust-num-iter" ,rust-num-iter-0.1))
1911 #:cargo-development-inputs
1912 (("rust-getopts" ,rust-getopts-0.2)
1913 ;; TODO: gluum has many cyclic dependencies with other packages
1914 ;; ("rust-glium" ,rust-glium-0.21)
1915 ("rust-glob" ,rust-glob-0.2)
1916 ("rust-term" ,rust-term-0.4))))))
1917
a90ff8eb
NG
1918(define-public rust-rav1e-0.4
1919 (package
1920 (name "rust-rav1e")
1921 (version "0.4.0")
1922 (source
1923 (origin
1924 (method url-fetch)
1925 (uri (crate-uri "rav1e" version))
1926 (file-name (string-append name "-" version ".tar.gz"))
1927 (sha256
1928 (base32 "02cpgzycfgnflnv8sck6ajasa7abfgdzn6b4jv01sf6r21yfipbq"))))
1929 (build-system cargo-build-system)
1930 (arguments
1931 `(#:skip-build? #t
1932 #:cargo-inputs
1933 (("rust-aom-sys" ,rust-aom-sys-0.2)
1934 ("rust-arbitrary" ,rust-arbitrary-0.4)
1935 ("rust-arg-enum-proc-macro" ,rust-arg-enum-proc-macro-0.3)
1936 ("rust-arrayvec" ,rust-arrayvec-0.5)
29a6c361 1937 ("rust-assert-cmd" ,rust-assert-cmd-1)
a90ff8eb
NG
1938 ("rust-av-metrics" ,rust-av-metrics-0.6)
1939 ("rust-backtrace" ,rust-backtrace-0.3)
1940 ("rust-bitstream-io" ,rust-bitstream-io-1)
1941 ("rust-byteorder" ,rust-byteorder-1)
1942 ("rust-cc" ,rust-cc-1)
1943 ("rust-cfg-if" ,rust-cfg-if-1)
1944 ("rust-clap" ,rust-clap-2)
1945 ("rust-console" ,rust-console-0.14)
29a6c361 1946 ("rust-criterion" ,rust-criterion-0.3)
a90ff8eb
NG
1947 ("rust-crossbeam" ,rust-crossbeam-0.8)
1948 ("rust-dav1d-sys" ,rust-dav1d-sys-0.3)
1949 ("rust-fern" ,rust-fern-0.6)
1950 ("rust-image" ,rust-image-0.23)
1951 ("rust-interpolate-name" ,rust-interpolate-name-0.2)
1952 ("rust-itertools" ,rust-itertools-0.10)
1953 ("rust-ivf" ,rust-ivf-0.1)
1954 ("rust-libc" ,rust-libc-0.2)
1955 ("rust-libfuzzer-sys" ,rust-libfuzzer-sys-0.3)
1956 ("rust-log" ,rust-log-0.4)
1957 ("rust-nasm-rs" ,rust-nasm-rs-0.2)
1958 ("rust-noop-proc-macro" ,rust-noop-proc-macro-0.3)
1959 ("rust-num-derive" ,rust-num-derive-0.3)
1960 ("rust-num-traits" ,rust-num-traits-0.2)
1961 ("rust-paste" ,rust-paste-1)
29a6c361 1962 ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
a90ff8eb
NG
1963 ("rust-rand" ,rust-rand-0.8)
1964 ("rust-rand-chacha" ,rust-rand-chacha-0.3)
1965 ("rust-rayon" ,rust-rayon-1)
1966 ("rust-regex" ,rust-regex-1)
1967 ("rust-rust-hawktracer" ,rust-rust-hawktracer-0.7)
1968 ("rust-rustc-version" ,rust-rustc-version-0.3)
1969 ("rust-scan-fmt" ,rust-scan-fmt-0.2)
1970 ("rust-serde" ,rust-serde-1)
1971 ("rust-signal-hook" ,rust-signal-hook-0.3)
1972 ("rust-simd-helpers" ,rust-simd-helpers-0.1)
1973 ("rust-thiserror" ,rust-thiserror-1)
1974 ("rust-toml" ,rust-toml-0.5)
1975 ("rust-v-frame" ,rust-v-frame-0.2)
1976 ("rust-vergen" ,rust-vergen-3)
1977 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
1978 ("rust-y4m" ,rust-y4m-0.7))))
1979 (home-page "https://github.com/xiph/rav1e")
1980 (synopsis "Fast and safe AV1 encoder")
1981 (description
1982 "@code{rav1e} is an AV1 video encoder. It is designed to eventually
1983cover all use cases, though in its current form it is most suitable for cases
1984where libaom (the reference encoder) is too slow.")
1985 (license license:bsd-2)))
1986
1987(define-public rust-ravif-0.6
1988 (package
1989 (name "rust-ravif")
1990 (version "0.6.4")
1991 (source
1992 (origin
1993 (method url-fetch)
1994 (uri (crate-uri "ravif" version))
1995 (file-name (string-append name "-" version ".tar.gz"))
1996 (sha256
1997 (base32 "1gyc7w1fz3qdk95cdpkj185dm6lskxfp329xm69waxc565fcz9rx"))))
1998 (build-system cargo-build-system)
1999 (arguments
2000 `(#:skip-build? #t
2001 #:cargo-inputs
2002 (("rust-avif-serialize" ,rust-avif-serialize-0.6)
2003 ("rust-imgref" ,rust-imgref-1)
2004 ("rust-loop9" ,rust-loop9-0.1)
2005 ("rust-num-cpus" ,rust-num-cpus-1)
2006 ("rust-rav1e" ,rust-rav1e-0.4)
2007 ("rust-rayon" ,rust-rayon-1)
2008 ("rust-rgb" ,rust-rgb-0.8))))
2009 (home-page "https://lib.rs/ravif")
2010 (synopsis "Library for encoding images in AVIF format")
2011 (description
2012 "This package is a rav1e-based pure Rust library for encoding images in
2013AVIF format.")
2014 (license license:bsd-3)))
2015
9f86a6da
EF
2016(define-public rust-raw-window-handle-0.3
2017 (package
2018 (name "rust-raw-window-handle")
2019 (version "0.3.3")
2020 (source
2021 (origin
2022 (method url-fetch)
2023 (uri (crate-uri "raw-window-handle" version))
2024 (file-name
2025 (string-append name "-" version ".tar.gz"))
2026 (sha256
2027 (base32
2028 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
2029 (build-system cargo-build-system)
2030 (arguments
2031 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
2032 (home-page "https://github.com/rust-windowing/raw-window-handle")
2033 (synopsis "Interoperability library for Rust Windowing applications")
2034 (description
2035 "Interoperability library for Rust Windowing applications.")
2036 (license license:expat)))
2037
2038(define-public rust-resize-0.3
2039 (package
2040 (name "rust-resize")
2041 (version "0.3.1")
2042 (source
2043 (origin
2044 (method url-fetch)
2045 (uri (crate-uri "resize" version))
2046 (file-name
2047 (string-append name "-" version ".tar.gz"))
2048 (sha256
2049 (base32
2050 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
2051 (build-system cargo-build-system)
2052 (arguments
2053 `(#:cargo-development-inputs
2054 (("rust-png" ,rust-png-0.15))))
2055 (home-page "https://github.com/PistonDevelopers/resize")
2056 (synopsis "Simple image resampling library in pure Rust")
2057 (description
2058 "This package provides a simple image resampling library in pure Rust.")
2059 (license license:expat)))
2060
2061(define-public rust-rgb-0.8
2062 (package
2063 (name "rust-rgb")
aaa19438 2064 (version "0.8.25")
9f86a6da
EF
2065 (source
2066 (origin
2067 (method url-fetch)
2068 (uri (crate-uri "rgb" version))
2069 (file-name (string-append name "-" version ".crate"))
2070 (sha256
2071 (base32
aaa19438 2072 "1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8"))))
9f86a6da
EF
2073 (build-system cargo-build-system)
2074 (arguments
2075 `(#:cargo-inputs
2076 (("rust-bytemuck" ,rust-bytemuck-1)
2077 ("rust-serde" ,rust-serde-1))
2078 #:cargo-development-inputs
2079 (("rust-serde-json" ,rust-serde-json-1))))
2080 (home-page "https://lib.rs/crates/rgb")
2081 (synopsis "Struct for sharing pixels between crates")
2082 (description
2083 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
2084between crates + convenience methods for color manipulation. It allows no-copy
2085high-level interoperability. It also adds common convenience methods and
2086implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
2087first-class Rust objects.")
2088 (license license:expat)))
2089
d958b8d9
NG
2090(define-public rust-smithay-client-toolkit-0.12
2091 (package
2092 (name "rust-smithay-client-toolkit")
2093 (version "0.12.2")
2094 (source
2095 (origin
2096 (method url-fetch)
2097 (uri (crate-uri "smithay-client-toolkit" version))
2098 (file-name (string-append name "-" version ".tar.gz"))
2099 (sha256
2100 (base32 "1rjdszpf8pns99gyy8f5axf01ckc33f30dddfazyfg45xfii6vii"))))
2101 (build-system cargo-build-system)
2102 (arguments
2103 `(#:skip-build? #t
2104 #:cargo-inputs
2105 (("rust-andrew" ,rust-andrew-0.3)
2106 ("rust-bitflags" ,rust-bitflags-1)
2107 ("rust-calloop" ,rust-calloop-0.6)
2108 ("rust-dlib" ,rust-dlib-0.4)
2109 ("rust-lazy-static" ,rust-lazy-static-1)
2110 ("rust-log" ,rust-log-0.4)
2111 ("rust-memmap2" ,rust-memmap2-0.1)
2112 ("rust-nix" ,rust-nix-0.18)
2113 ("rust-wayland-client" ,rust-wayland-client-0.28)
2114 ("rust-wayland-cursor" ,rust-wayland-cursor-0.28)
2115 ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
2116 (home-page "https://github.com/smithay/client-toolkit")
2117 (synopsis "Toolkit for making client Wayland applications")
2118 (description
2119 "This package provides a toolkit for making client Wayland applications.")
2120 (license license:expat)))
2121
9f86a6da
EF
2122(define-public rust-smithay-client-toolkit-0.6
2123 (package
d958b8d9 2124 (inherit rust-smithay-client-toolkit-0.12)
9f86a6da
EF
2125 (name "rust-smithay-client-toolkit")
2126 (version "0.6.4")
2127 (source
2128 (origin
2129 (method url-fetch)
2130 (uri (crate-uri "smithay-client-toolkit" version))
2131 (file-name
2132 (string-append name "-" version ".tar.gz"))
2133 (sha256
2134 (base32
2135 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
9f86a6da
EF
2136 (arguments
2137 `(#:cargo-inputs
2138 (("rust-andrew" ,rust-andrew-0.2)
2139 ("rust-bitflags" ,rust-bitflags-1)
2140 ("rust-dlib" ,rust-dlib-0.4)
2141 ("rust-lazy-static" ,rust-lazy-static-1)
2142 ("rust-memmap" ,rust-memmap-0.7)
2143 ("rust-nix" ,rust-nix-0.14)
2144 ("rust-wayland-client" ,rust-wayland-client-0.23)
2145 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
2146 #:cargo-development-inputs
a699f329 2147 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da 2148 ("rust-image" ,rust-image-0.21)
d958b8d9 2149 ("rust-wayland-client" ,rust-wayland-client-0.23))))))
9f86a6da
EF
2150
2151(define-public rust-smithay-client-toolkit-0.4
2152 (package
2153 (inherit rust-smithay-client-toolkit-0.6)
2154 (name "rust-smithay-client-toolkit")
2155 (version "0.4.6")
2156 (source
2157 (origin
2158 (method url-fetch)
2159 (uri (crate-uri "smithay-client-toolkit" version))
2160 (file-name
2161 (string-append name "-" version ".tar.gz"))
2162 (sha256
2163 (base32
2164 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
2165 (arguments
2166 `(#:cargo-inputs
2167 (("rust-andrew" ,rust-andrew-0.2)
2168 ("rust-bitflags" ,rust-bitflags-1)
2169 ("rust-dlib" ,rust-dlib-0.4)
2170 ("rust-lazy-static" ,rust-lazy-static-1)
2171 ("rust-memmap" ,rust-memmap-0.7)
2172 ("rust-nix" ,rust-nix-0.14)
2173 ("rust-wayland-client" ,rust-wayland-client-0.21)
2174 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2175 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
2176 #:cargo-development-inputs
a699f329 2177 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2178 ("rust-image" ,rust-image-0.20)
2179 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
2180
48792fef
NG
2181(define-public rust-smithay-clipboard-0.6
2182 (package
2183 (name "rust-smithay-clipboard")
2184 (version "0.6.2")
2185 (source
2186 (origin
2187 (method url-fetch)
2188 (uri (crate-uri "smithay-clipboard" version))
2189 (file-name (string-append name "-" version ".tar.gz"))
2190 (sha256
2191 (base32 "14dwisd56cbr80zf719l3fh0n8pm1fjmvry9lsbhdbccf8cv525b"))))
2192 (build-system cargo-build-system)
2193 (arguments
2194 `(#:skip-build? #t
2195 #:cargo-inputs
2196 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2197 ("rust-wayland-client" ,rust-wayland-client-0.28))))
2198 (home-page "https://github.com/smithay/smithay-clipboard")
2199 (synopsis "Access to the Wayland clipboard for client applications")
2200 (description
2201 "This package provides access to the Wayland clipboard for client
2202applications.")
2203 (license license:expat)))
2204
9f86a6da
EF
2205(define-public rust-smithay-clipboard-0.3
2206 (package
48792fef 2207 (inherit rust-smithay-clipboard-0.6)
9f86a6da
EF
2208 (name "rust-smithay-clipboard")
2209 (version "0.3.6")
2210 (source
2211 (origin
2212 (method url-fetch)
2213 (uri (crate-uri "smithay-clipboard" version))
2214 (file-name
2215 (string-append name "-" version ".tar.gz"))
2216 (sha256
2217 (base32
2218 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
9f86a6da
EF
2219 (arguments
2220 `(#:cargo-inputs
2221 (("rust-nix" ,rust-nix-0.14)
2222 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
2223 #:cargo-development-inputs
2224 (("rust-andrew" ,rust-andrew-0.2))))
2225 (inputs
48792fef 2226 `(("wayland" ,wayland)))))
9f86a6da 2227
e2ab17d6
NG
2228(define-public rust-tiff-0.6
2229 (package
2230 (name "rust-tiff")
2231 (version "0.6.1")
2232 (source
2233 (origin
2234 (method url-fetch)
2235 (uri (crate-uri "tiff" version))
2236 (file-name (string-append name "-" version ".tar.gz"))
2237 (sha256
2238 (base32 "0ds48vs919ccxa3fv1www7788pzkvpg434ilqkq7sjb5dmqg8lws"))))
2239 (build-system cargo-build-system)
2240 (arguments
2241 `(#:skip-build? #t
2242 #:cargo-inputs
2243 (("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
2244 ("rust-miniz-oxide" ,rust-miniz-oxide-0.4)
2245 ("rust-weezl" ,rust-weezl-0.1))))
2246 (home-page "https://github.com/image-rs/image-tiff")
2247 (synopsis "TIFF decoding and encoding library in pure Rust")
2248 (description
2249 "This package provides TIFF decoding and encoding library in pure Rust.")
2250 (license license:expat)))
2251
9f86a6da
EF
2252(define-public rust-tiff-0.5
2253 (package
e2ab17d6 2254 (inherit rust-tiff-0.6)
9f86a6da
EF
2255 (name "rust-tiff")
2256 (version "0.5.0")
2257 (source
2258 (origin
2259 (method url-fetch)
2260 (uri (crate-uri "tiff" version))
2261 (file-name
2262 (string-append name "-" version ".tar.gz"))
2263 (sha256
2264 (base32
2265 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
9f86a6da
EF
2266 (arguments
2267 `(#:tests? #f ; not all test files included
2268 #:cargo-inputs
a699f329 2269 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da 2270 ("rust-lzw" ,rust-lzw-0.10)
e2ab17d6 2271 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
9f86a6da
EF
2272
2273(define-public rust-tiff-0.3
2274 (package
2275 (inherit rust-tiff-0.5)
2276 (name "rust-tiff")
2277 (version "0.3.1")
2278 (source
2279 (origin
2280 (method url-fetch)
2281 (uri (crate-uri "tiff" version))
2282 (file-name
2283 (string-append name "-" version ".tar.gz"))
2284 (sha256
2285 (base32
2286 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
2287 (arguments
2288 `(#:tests? #f ; Tests images not included with release.
2289 #:cargo-inputs
a699f329 2290 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2291 ("rust-lzw" ,rust-lzw-0.10)
2292 ("rust-num-derive" ,rust-num-derive-0.2)
2293 ("rust-num-traits" ,rust-num-traits-0.2))
2294 #:cargo-development-inputs
2295 (("rust-tempfile" ,rust-tempfile-3))))))
2296
2297(define-public rust-tiff-0.2
2298 (package
2299 (inherit rust-tiff-0.3)
2300 (name "rust-tiff")
2301 (version "0.2.2")
2302 (source
2303 (origin
2304 (method url-fetch)
2305 (uri (crate-uri "tiff" version))
2306 (file-name
2307 (string-append name "-" version ".tar.gz"))
2308 (sha256
2309 (base32
2310 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
2311 (arguments
2312 `(#:cargo-inputs
a699f329 2313 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2314 ("rust-lzw" ,rust-lzw-0.10)
2315 ("rust-num-derive" ,rust-num-derive-0.2)
2316 ("rust-num-traits" ,rust-num-traits-0.2))))))
2317
b3de00f5
NG
2318(define-public rust-wayland-client-0.28
2319 (package
2320 (name "rust-wayland-client")
2321 (version "0.28.3")
2322 (source
2323 (origin
2324 (method url-fetch)
2325 (uri (crate-uri "wayland-client" version))
2326 (file-name (string-append name "-" version ".tar.gz"))
2327 (sha256
2328 (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx"))))
2329 (build-system cargo-build-system)
2330 (arguments
770e326f 2331 `(#:cargo-inputs
b3de00f5
NG
2332 (("rust-bitflags" ,rust-bitflags-1)
2333 ("rust-downcast-rs" ,rust-downcast-rs-1)
2334 ("rust-libc" ,rust-libc-0.2)
2335 ("rust-nix" ,rust-nix-0.18)
770e326f
EF
2336 ("rust-scoped-tls" ,rust-scoped-tls-1))
2337 #:cargo-development-inputs
2338 (("rust-tempfile" ,rust-tempfile-3))))
2339 (inputs
2340 `(("rust-bitflags" ,rust-bitflags-1)
2341 ("rust-downcast-rs" ,rust-downcast-rs-1)
2342 ("rust-libc" ,rust-libc-0.2)
2343 ("rust-nix" ,rust-nix-0.18)
2344 ("rust-scoped-tls" ,rust-scoped-tls-1)
2345 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2346 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2347 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
b3de00f5
NG
2348 (home-page "https://github.com/smithay/wayland-rs")
2349 (synopsis
2350 "Rust bindings to the standard C implementation of the wayland protocol")
2351 (description
2352 "This package provides Rust bindings to the standard C implementation of
2353the wayland protocol, client side.")
2354 (license license:expat)))
2355
9f86a6da
EF
2356(define-public rust-wayland-client-0.23
2357 (package
b3de00f5 2358 (inherit rust-wayland-client-0.28)
9f86a6da
EF
2359 (name "rust-wayland-client")
2360 (version "0.23.6")
2361 (source
2362 (origin
2363 (method url-fetch)
2364 (uri (crate-uri "wayland-client" version))
2365 (file-name
2366 (string-append name "-" version ".tar.gz"))
2367 (sha256
2368 (base32
2369 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
9f86a6da 2370 (arguments
770e326f
EF
2371 `(#:skip-build? #t
2372 #:cargo-inputs
9f86a6da
EF
2373 (("rust-bitflags" ,rust-bitflags-1)
2374 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2375 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2376 ("rust-libc" ,rust-libc-0.2)
2377 ("rust-mio" ,rust-mio-0.6)
2378 ("rust-nix" ,rust-nix-0.14)
2379 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2380 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2381 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
2382 #:cargo-development-inputs
a699f329 2383 (("rust-byteorder" ,rust-byteorder-1)
770e326f
EF
2384 ("rust-tempfile" ,rust-tempfile-3))))
2385 (inputs `())))
9f86a6da
EF
2386
2387(define-public rust-wayland-client-0.21
2388 (package
2389 (inherit rust-wayland-client-0.23)
2390 (name "rust-wayland-client")
2391 (version "0.21.13")
2392 (source
2393 (origin
2394 (method url-fetch)
2395 (uri (crate-uri "wayland-client" version))
2396 (file-name
2397 (string-append name "-" version ".tar.gz"))
2398 (sha256
2399 (base32
2400 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
2401 (arguments
2402 `(#:cargo-inputs
2403 (("rust-bitflags" ,rust-bitflags-1)
2404 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2405 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2406 ("rust-libc" ,rust-libc-0.2)
2407 ("rust-mio" ,rust-mio-0.6)
2408 ("rust-nix" ,rust-nix-0.14)
2409 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2410 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2411 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
2412 #:cargo-development-inputs
a699f329 2413 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2414 ("rust-tempfile" ,rust-tempfile-3))))))
2415
06c16eed
NG
2416(define-public rust-wayland-commons-0.28
2417 (package
2418 (name "rust-wayland-commons")
2419 (version "0.28.3")
2420 (source
2421 (origin
2422 (method url-fetch)
2423 (uri (crate-uri "wayland-commons" version))
2424 (file-name (string-append name "-" version ".tar.gz"))
2425 (sha256
2426 (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128"))))
2427 (build-system cargo-build-system)
2428 (arguments
f35ab79e 2429 `(#:cargo-inputs
06c16eed
NG
2430 (("rust-nix" ,rust-nix-0.18)
2431 ("rust-once-cell" ,rust-once-cell-1)
f35ab79e
EF
2432 ("rust-smallvec" ,rust-smallvec-1))))
2433 (inputs
2434 `(("rust-nix" ,rust-nix-0.18)
2435 ("rust-once-cell" ,rust-once-cell-1)
2436 ("rust-smallvec" ,rust-smallvec-1)
2437 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
06c16eed
NG
2438 (home-page "https://github.com/smithay/wayland-rs")
2439 (synopsis "Types and structures used by wayland-client and wayland-server")
2440 (description
2441 "This package provides common types and structures used by wayland-client
2442and wayland-server.")
2443 (license license:expat)))
2444
9f86a6da
EF
2445(define-public rust-wayland-commons-0.23
2446 (package
06c16eed 2447 (inherit rust-wayland-commons-0.28)
9f86a6da
EF
2448 (name "rust-wayland-commons")
2449 (version "0.23.6")
2450 (source
2451 (origin
2452 (method url-fetch)
2453 (uri (crate-uri "wayland-commons" version))
2454 (file-name
2455 (string-append name "-" version ".tar.gz"))
2456 (sha256
2457 (base32
2458 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
9f86a6da 2459 (arguments
f35ab79e
EF
2460 `(#:skip-build? #t
2461 #:cargo-inputs
9f86a6da 2462 (("rust-nix" ,rust-nix-0.14)
f35ab79e
EF
2463 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
2464 (inputs `())))
9f86a6da
EF
2465
2466(define-public rust-wayland-commons-0.21
2467 (package
2468 (inherit rust-wayland-commons-0.23)
2469 (name "rust-wayland-commons")
2470 (version "0.21.13")
2471 (source
2472 (origin
2473 (method url-fetch)
2474 (uri (crate-uri "wayland-commons" version))
2475 (file-name
2476 (string-append name "-" version ".tar.gz"))
2477 (sha256
2478 (base32
2479 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2480 (arguments
2481 `(#:cargo-inputs
2482 (("rust-nix" ,rust-nix-0.14)
2483 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2484
224358df
NG
2485(define-public rust-wayland-cursor-0.28
2486 (package
2487 (name "rust-wayland-cursor")
2488 (version "0.28.3")
2489 (source
2490 (origin
2491 (method url-fetch)
2492 (uri (crate-uri "wayland-cursor" version))
2493 (file-name (string-append name "-" version ".tar.gz"))
2494 (sha256
2495 (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn"))))
2496 (build-system cargo-build-system)
2497 (arguments
3b6ec859 2498 `(#:cargo-inputs
224358df 2499 (("rust-nix" ,rust-nix-0.18)
224358df 2500 ("rust-xcursor" ,rust-xcursor-0.3))))
3b6ec859
EF
2501 (inputs
2502 `(("rust-nix" ,rust-nix-0.18)
2503 ("rust-wayland-client" ,rust-wayland-client-0.28)
2504 ("rust-xcursor" ,rust-xcursor-0.3)))
224358df
NG
2505 (home-page "https://github.com/smithay/wayland-rs")
2506 (synopsis "Bindings to libwayland-cursor")
2507 (description
2508 "This crate provides helpers to load the system provided cursor images
2509and load them into WlBuffers as well as obtain the necessary metadata to
2510properly display animated cursors.")
2511 (license license:expat)))
2512
8ae5fb13
NG
2513(define-public rust-wayland-egl-0.28
2514 (package
2515 (name "rust-wayland-egl")
2516 (version "0.28.3")
2517 (source
2518 (origin
2519 (method url-fetch)
2520 (uri (crate-uri "wayland-egl" version))
2521 (file-name (string-append name "-" version ".tar.gz"))
2522 (sha256
2523 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2524 (build-system cargo-build-system)
bb06a747
EF
2525 (inputs
2526 `(("rust-wayland-client" ,rust-wayland-client-0.28)
2527 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
2528 ;; For the PKG_CONFIG_PATH environment variable.
2529 (native-inputs
2530 `(("pkg-config" ,pkg-config)))
8ae5fb13
NG
2531 (home-page "https://github.com/smithay/wayland-rs")
2532 (synopsis "Bindings to libwayland-egl")
2533 (description
2534 "This crate provides bindings for OpenGL/Vulkan support for
b7e1d036 2535Wayland client apps. It creates an EGLSurface from any
8ae5fb13
NG
2536WlSurface, which can then play the role of the base surface for
2537initializing an OpenGL or Vulkan context.")
2538 (license license:expat)))
2539
fa8fb91d
NG
2540(define-public rust-wayland-protocols-0.28
2541 (package
2542 (name "rust-wayland-protocols")
2543 (version "0.28.3")
2544 (source
2545 (origin
2546 (method url-fetch)
2547 (uri (crate-uri "wayland-protocols" version))
2548 (file-name (string-append name "-" version ".tar.gz"))
2549 (sha256
2550 (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii"))))
2551 (build-system cargo-build-system)
2552 (arguments
facf27e0
EF
2553 `(#:cargo-inputs
2554 (("rust-bitflags" ,rust-bitflags-1))))
2555 (inputs
2556 `(("rust-bitflags" ,rust-bitflags-1)
2557 ("rust-wayland-client" ,rust-wayland-client-0.28)
2558 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2559 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2560 ("rust-wayland-server" ,rust-wayland-server-0.28)))
fa8fb91d
NG
2561 (home-page "https://github.com/smithay/wayland-rs")
2562 (synopsis "Generated API for the officials Wayland protocol extensions")
2563 (description
2564 "This package provides a generated API for the officials Wayland protocol
2565extensions.")
2566 (license license:expat)))
2567
9f86a6da
EF
2568(define-public rust-wayland-protocols-0.23
2569 (package
fa8fb91d 2570 (inherit rust-wayland-protocols-0.28)
9f86a6da
EF
2571 (name "rust-wayland-protocols")
2572 (version "0.23.6")
2573 (source
2574 (origin
2575 (method url-fetch)
2576 (uri (crate-uri "wayland-protocols" version))
2577 (file-name
2578 (string-append name "-" version ".tar.gz"))
2579 (sha256
2580 (base32
2581 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
9f86a6da 2582 (arguments
facf27e0
EF
2583 `(#:skip-build? #t
2584 #:cargo-inputs
9f86a6da
EF
2585 (("rust-bitflags" ,rust-bitflags-1)
2586 ("rust-wayland-client" ,rust-wayland-client-0.23)
2587 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2588 ("rust-wayland-server" ,rust-wayland-server-0.23)
facf27e0
EF
2589 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2590 (inputs `())))
9f86a6da
EF
2591
2592(define-public rust-wayland-protocols-0.21
2593 (package
2594 (inherit rust-wayland-protocols-0.23)
2595 (name "rust-wayland-protocols")
2596 (version "0.21.13")
2597 (source
2598 (origin
2599 (method url-fetch)
2600 (uri (crate-uri "wayland-protocols" version))
2601 (file-name
2602 (string-append name "-" version ".tar.gz"))
2603 (sha256
2604 (base32
2605 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2606 (arguments
2607 `(#:cargo-inputs
2608 (("rust-bitflags" ,rust-bitflags-1)
2609 ("rust-wayland-client" ,rust-wayland-client-0.21)
2610 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2611 ("rust-wayland-server" ,rust-wayland-server-0.21)
2612 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2613 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2614
ce42526f
NG
2615(define-public rust-wayland-scanner-0.28
2616 (package
2617 (name "rust-wayland-scanner")
2618 (version "0.28.3")
2619 (source
2620 (origin
2621 (method url-fetch)
2622 (uri (crate-uri "wayland-scanner" version))
2623 (file-name (string-append name "-" version ".tar.gz"))
2624 (sha256
2625 (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
2626 (build-system cargo-build-system)
fb6f9261
EF
2627 (inputs
2628 `(("rust-proc-macro2" ,rust-proc-macro2-1)
2629 ("rust-quote" ,rust-quote-1)
2630 ("rust-xml-rs" ,rust-xml-rs-0.8)))
ce42526f
NG
2631 (home-page "https://github.com/smithay/wayland-rs")
2632 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2633 (description
2634 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2635It is intended for use with wayland-sys. You should only need this crate if
2636you are working on custom Wayland protocol extensions. Look at the
2637wayland-client crate for usable bindings.")
2638 (license license:expat)))
2639
9f86a6da
EF
2640(define-public rust-wayland-scanner-0.23
2641 (package
ce42526f 2642 (inherit rust-wayland-scanner-0.28)
9f86a6da
EF
2643 (name "rust-wayland-scanner")
2644 (version "0.23.6")
2645 (source
2646 (origin
2647 (method url-fetch)
2648 (uri (crate-uri "wayland-scanner" version))
2649 (file-name
2650 (string-append name "-" version ".tar.gz"))
2651 (sha256
2652 (base32
2653 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
9f86a6da 2654 (arguments
fb6f9261
EF
2655 `(#:skip-build? #t
2656 #:cargo-inputs
9f86a6da
EF
2657 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2658 ("rust-quote" ,rust-quote-0.6)
ce42526f 2659 ("rust-xml-rs" ,rust-xml-rs-0.8))))))
9f86a6da
EF
2660
2661(define-public rust-wayland-scanner-0.21
2662 (package
2663 (inherit rust-wayland-scanner-0.23)
2664 (name "rust-wayland-scanner")
2665 (version "0.21.13")
2666 (source
2667 (origin
2668 (method url-fetch)
2669 (uri (crate-uri "wayland-scanner" version))
2670 (file-name
2671 (string-append name "-" version ".tar.gz"))
2672 (sha256
2673 (base32
2674 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2675
5a6c7b82
NG
2676(define-public rust-wayland-server-0.28
2677 (package
2678 (name "rust-wayland-server")
2679 (version "0.28.3")
2680 (source
2681 (origin
2682 (method url-fetch)
2683 (uri (crate-uri "wayland-server" version))
2684 (file-name (string-append name "-" version ".tar.gz"))
2685 (sha256
2686 (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93"))))
2687 (build-system cargo-build-system)
2688 (arguments
6f655caf 2689 `(#:cargo-inputs
5a6c7b82
NG
2690 (("rust-bitflags" ,rust-bitflags-1)
2691 ("rust-downcast-rs" ,rust-downcast-rs-1)
2692 ("rust-lazy-static" ,rust-lazy-static-1)
2693 ("rust-libc" ,rust-libc-0.2)
2694 ("rust-nix" ,rust-nix-0.18)
2695 ("rust-parking-lot" ,rust-parking-lot-0.11)
6f655caf
EF
2696 ("rust-scoped-tls" ,rust-scoped-tls-1))))
2697 (inputs
2698 `(("rust-bitflags" ,rust-bitflags-1)
2699 ("rust-downcast-rs" ,rust-downcast-rs-1)
2700 ("rust-lazy-static" ,rust-lazy-static-1)
2701 ("rust-libc" ,rust-libc-0.2)
2702 ("rust-nix" ,rust-nix-0.18)
2703 ("rust-parking-lot" ,rust-parking-lot-0.11)
2704 ("rust-scoped-tls" ,rust-scoped-tls-1)
2705 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2706 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2707 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
5a6c7b82
NG
2708 (home-page "https://github.com/smithay/wayland-rs")
2709 (synopsis
2710 "Bindings to the standard C implementation of the wayland protocol")
2711 (description
2712 "This package provides Rust bindings to the standard C implementation of
2713the wayland protocol, server side.")
2714 (license license:expat)))
2715
9f86a6da
EF
2716(define-public rust-wayland-server-0.23
2717 (package
5a6c7b82 2718 (inherit rust-wayland-server-0.28)
9f86a6da
EF
2719 (name "rust-wayland-server")
2720 (version "0.23.6")
2721 (source
2722 (origin
2723 (method url-fetch)
2724 (uri (crate-uri "wayland-server" version))
2725 (file-name
2726 (string-append name "-" version ".tar.gz"))
2727 (sha256
2728 (base32
2729 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
9f86a6da 2730 (arguments
6f655caf
EF
2731 `(#:skip-build? #t
2732 #:cargo-inputs
9f86a6da
EF
2733 (("rust-bitflags" ,rust-bitflags-1)
2734 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2735 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2736 ("rust-libc" ,rust-libc-0.2)
2737 ("rust-mio" ,rust-mio-0.6)
2738 ("rust-nix" ,rust-nix-0.14)
2739 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2740 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
6f655caf
EF
2741 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2742 (inputs `())))
9f86a6da
EF
2743
2744(define-public rust-wayland-server-0.21
2745 (package
2746 (inherit rust-wayland-server-0.23)
2747 (name "rust-wayland-server")
2748 (version "0.21.13")
2749 (source
2750 (origin
2751 (method url-fetch)
2752 (uri (crate-uri "wayland-server" version))
2753 (file-name
2754 (string-append name "-" version ".tar.gz"))
2755 (sha256
2756 (base32
2757 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2758 (arguments
2759 `(#:cargo-inputs
2760 (("rust-bitflags" ,rust-bitflags-1)
2761 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2762 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2763 ("rust-libc" ,rust-libc-0.2)
2764 ("rust-mio" ,rust-mio-0.6)
2765 ("rust-nix" ,rust-nix-0.14)
2766 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2767 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2768 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2769
318c2db0
NG
2770(define-public rust-wayland-sys-0.28
2771 (package
2772 (name "rust-wayland-sys")
2773 (version "0.28.3")
2774 (source
2775 (origin
2776 (method url-fetch)
2777 (uri (crate-uri "wayland-sys" version))
2778 (file-name (string-append name "-" version ".tar.gz"))
2779 (sha256
2780 (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
2781 (build-system cargo-build-system)
2782 (arguments
4363b542 2783 `(#:cargo-inputs
318c2db0
NG
2784 (("rust-dlib" ,rust-dlib-0.4)
2785 ("rust-lazy-static" ,rust-lazy-static-1)
2786 ("rust-libc" ,rust-libc-0.2)
4363b542
EF
2787 ("rust-pkg-config" ,rust-pkg-config-0.3))
2788 #:phases
2789 (modify-phases %standard-phases
2790 (add-after 'unpack 'patch-libraries
2791 (lambda* (#:key inputs #:allow-other-keys)
2792 (let ((libwayland (assoc-ref inputs "wayland")))
2793 (substitute* (find-files "src" "\\.rs$")
2794 (("libwayland.*\\.so" shared-lib)
2795 (string-append libwayland "/lib/" shared-lib)))
2796 #t))))))
2797 (inputs
2798 `(("rust-dlib" ,rust-dlib-0.4)
2799 ("rust-lazy-static" ,rust-lazy-static-1)
2800 ("rust-libc" ,rust-libc-0.2)
2801 ("rust-pkg-config" ,rust-pkg-config-0.3)))
2802 (propagated-inputs
2803 `(("wayland" ,wayland)))
318c2db0
NG
2804 (home-page "https://github.com/smithay/wayland-rs")
2805 (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
2806 (description
2807 "This package provides FFI bindings to the various
2808@file{libwayland-*.so} libraries. You should only need this crate if
2809you are working on custom Wayland protocol extensions. Look at the
2810crate @code{rust-wayland-client} for usable bindings.")
2811 (license license:expat)))
2812
9f86a6da
EF
2813(define-public rust-wayland-sys-0.23
2814 (package
318c2db0 2815 (inherit rust-wayland-sys-0.28)
9f86a6da
EF
2816 (name "rust-wayland-sys")
2817 (version "0.23.6")
2818 (source
2819 (origin
2820 (method url-fetch)
2821 (uri (crate-uri "wayland-sys" version))
2822 (file-name
2823 (string-append name "-" version ".tar.gz"))
2824 (sha256
2825 (base32
2826 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
9f86a6da 2827 (arguments
4363b542
EF
2828 `(#:skip-build? #t
2829 #:cargo-inputs
9f86a6da
EF
2830 (("rust-dlib" ,rust-dlib-0.4)
2831 ("rust-lazy-static" ,rust-lazy-static-1)
4363b542
EF
2832 ("rust-libc" ,rust-libc-0.2))))
2833 (inputs `())
2834 (propagated-inputs `())))
9f86a6da
EF
2835
2836(define-public rust-wayland-sys-0.21
2837 (package
2838 (inherit rust-wayland-sys-0.23)
2839 (name "rust-wayland-sys")
2840 (version "0.21.13")
2841 (source
2842 (origin
2843 (method url-fetch)
2844 (uri (crate-uri "wayland-sys" version))
2845 (file-name
2846 (string-append name "-" version ".tar.gz"))
2847 (sha256
2848 (base32
2849 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2850
9cef662c
NG
2851(define-public rust-winit-0.24
2852 (package
2853 (name "rust-winit")
2854 (version "0.24.0")
2855 (source
2856 (origin
2857 (method url-fetch)
2858 (uri (crate-uri "winit" version))
2859 (file-name (string-append name "-" version ".tar.gz"))
2860 (sha256
2861 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2862 (build-system cargo-build-system)
2863 (arguments
2864 `(#:skip-build? #t
2865 #:cargo-inputs
2866 (("rust-bitflags" ,rust-bitflags-1)
2867 ("rust-cocoa" ,rust-cocoa-0.24)
2868 ("rust-core-foundation" ,rust-core-foundation-0.9)
2869 ("rust-core-graphics" ,rust-core-graphics-0.22)
2870 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2871 ("rust-dispatch" ,rust-dispatch-0.2)
2872 ("rust-instant" ,rust-instant-0.1)
2873 ("rust-lazy-static" ,rust-lazy-static-1)
2874 ("rust-libc" ,rust-libc-0.2)
2875 ("rust-log" ,rust-log-0.4)
2876 ("rust-mio" ,rust-mio-0.6)
2877 ("rust-mio-extras" ,rust-mio-extras-2)
2878 ("rust-ndk" ,rust-ndk-0.2)
2879 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2880 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2881 ("rust-objc" ,rust-objc-0.2)
2882 ("rust-parking-lot" ,rust-parking-lot-0.11)
2883 ("rust-percent-encoding" ,rust-percent-encoding-2)
2884 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2885 ("rust-serde" ,rust-serde-1)
2886 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2887 ("rust-stdweb" ,rust-stdweb-0.4)
2888 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
9cef662c
NG
2889 ("rust-web-sys" ,rust-web-sys-0.3)
2890 ("rust-winapi" ,rust-winapi-0.3)
2891 ("rust-x11-dl" ,rust-x11-dl-2))))
87d74786
EF
2892 (inputs
2893 `(("rust-wayland-client" ,rust-wayland-client-0.28)))
9cef662c
NG
2894 (home-page "https://github.com/rust-windowing/winit")
2895 (synopsis "Window creation library")
2896 (description
2897 "Winit is a window creation and management library. It can create
2898windows and lets you handle events (for example: the window being
2899resized, a key being pressed, a mouse movement, etc.) produced by
2900window.
2901
2902Winit is designed to be a low-level brick in a hierarchy of libraries.
2903Consequently, in order to show something on the window you need to use
2904the platform-specific getters provided by winit, or another library.")
2905 (license license:asl2.0)))
2906
9f86a6da
EF
2907(define-public rust-winit-0.20
2908 (package
9cef662c 2909 (inherit rust-winit-0.24)
9f86a6da
EF
2910 (name "rust-winit")
2911 (version "0.20.0-alpha6")
2912 (source
2913 (origin
2914 (method url-fetch)
2915 (uri (crate-uri "winit" version))
2916 (file-name
2917 (string-append name "-" version ".tar.gz"))
2918 (sha256
2919 (base32
2920 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2921 (patches
2922 (list
2923 (origin
2924 (method url-fetch)
2925 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2926 (file-name (string-append name "-fix-bindings.patch"))
2927 (sha256
2928 (base32
2929 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
9f86a6da
EF
2930 (arguments
2931 `(#:cargo-inputs
2932 (("rust-android-glue" ,rust-android-glue-0.2)
2933 ("rust-bitflags" ,rust-bitflags-1)
2934 ("rust-calloop" ,rust-calloop-0.4)
2935 ("rust-cocoa" ,rust-cocoa-0.19)
2936 ("rust-core-foundation" ,rust-core-foundation-0.6)
2937 ("rust-core-graphics" ,rust-core-graphics-0.17)
2938 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2939 ("rust-dispatch" ,rust-dispatch-0.1)
2940 ("rust-instant" ,rust-instant-0.1)
2941 ("rust-lazy-static" ,rust-lazy-static-1)
2942 ("rust-libc" ,rust-libc-0.2)
2943 ("rust-log" ,rust-log-0.4)
2944 ("rust-objc" ,rust-objc-0.2)
2945 ("rust-parking-lot" ,rust-parking-lot-0.10)
2cc9d2a7 2946 ("rust-percent-encoding" ,rust-percent-encoding-2)
9f86a6da
EF
2947 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2948 ("rust-serde" ,rust-serde-1)
2949 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2950 ("rust-stdweb" ,rust-stdweb-0.4)
2951 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2952 ("rust-wayland-client" ,rust-wayland-client-0.23)
2953 ("rust-web-sys" ,rust-web-sys-0.3)
2954 ("rust-winapi" ,rust-winapi-0.3)
2955 ("rust-x11-dl" ,rust-x11-dl-2))
2956 #:cargo-development-inputs
2957 (("rust-console-log" ,rust-console-log-0.1)
2958 ("rust-env-logger" ,rust-env-logger-0.5)
9cef662c 2959 ("rust-image" ,rust-image-0.21))))))
9f86a6da
EF
2960
2961(define-public rust-winit-0.19
2962 (package
2963 (inherit rust-winit-0.20)
2964 (name "rust-winit")
2965 (version "0.19.5")
2966 (source
2967 (origin
2968 (method url-fetch)
2969 (uri (crate-uri "winit" version))
2970 (file-name
2971 (string-append name "-" version ".tar.gz"))
2972 (sha256
2973 (base32
2974 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2975 (arguments
2976 `(#:cargo-inputs
2977 (("rust-android-glue" ,rust-android-glue-0.2)
2978 ("rust-backtrace" ,rust-backtrace-0.3)
2979 ("rust-bitflags" ,rust-bitflags-1)
2980 ("rust-cocoa" ,rust-cocoa-0.18)
2981 ("rust-core-foundation" ,rust-core-foundation-0.6)
2982 ("rust-core-graphics" ,rust-core-graphics-0.17)
2983 ("rust-image" ,rust-image-0.21)
2984 ("rust-lazy-static" ,rust-lazy-static-1)
2985 ("rust-libc" ,rust-libc-0.2)
2986 ("rust-log" ,rust-log-0.4)
2987 ("rust-objc" ,rust-objc-0.2)
2988 ("rust-parking-lot" ,rust-parking-lot-0.9)
2cc9d2a7 2989 ("rust-percent-encoding" ,rust-percent-encoding-2)
9f86a6da
EF
2990 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2991 ("rust-serde" ,rust-serde-1)
2992 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2993 ("rust-wayland-client" ,rust-wayland-client-0.21)
2994 ("rust-winapi" ,rust-winapi-0.3)
2995 ("rust-x11-dl" ,rust-x11-dl-2))))))
2996
2997(define-public rust-x11-2
2998 (package
2999 (name "rust-x11")
9d012ddf 3000 (version "2.18.2")
9f86a6da
EF
3001 (source
3002 (origin
3003 (method url-fetch)
3004 (uri (crate-uri "x11" version))
3005 (file-name
3006 (string-append name "-" version ".tar.gz"))
3007 (sha256
9d012ddf 3008 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
9f86a6da
EF
3009 (build-system cargo-build-system)
3010 (arguments
3011 `(#:cargo-inputs
3012 (("rust-libc" ,rust-libc-0.2)
3013 ("rust-pkg-config" ,rust-pkg-config-0.3))))
9d012ddf 3014 (home-page "https://github.com/erlepereira/x11-rs")
9f86a6da 3015 (synopsis "X11 library bindings for Rust")
9d012ddf
NG
3016 (description "This crate provides X11 library bindings for Rust.")
3017 (license license:expat)))
9f86a6da 3018
330377cb
NG
3019(define-public rust-x11-clipboard-0.5
3020 (package
3021 (name "rust-x11-clipboard")
3022 (version "0.5.1")
3023 (source
3024 (origin
3025 (method url-fetch)
3026 (uri (crate-uri "x11-clipboard" version))
3027 (file-name (string-append name "-" version ".tar.gz"))
3028 (sha256
3029 (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5"))))
3030 (build-system cargo-build-system)
3031 (arguments
3032 `(#:skip-build? #t
3033 #:cargo-inputs
3034 (("rust-xcb" ,rust-xcb-0.9))))
3035 (home-page "https://github.com/quininer/x11-clipboard")
3036 (synopsis "x11 clipboard support for Rust")
3037 (description "This package provides x11 clipboard support for Rust.")
3038 (license license:expat)))
3039
9f86a6da
EF
3040(define-public rust-x11-clipboard-0.4
3041 (package
330377cb 3042 (inherit rust-x11-clipboard-0.5)
9f86a6da
EF
3043 (name "rust-x11-clipboard")
3044 (version "0.4.0")
3045 (source
3046 (origin
3047 (method url-fetch)
3048 (uri (crate-uri "x11-clipboard" version))
3049 (file-name
3050 (string-append name "-" version ".tar.gz"))
3051 (sha256
3052 (base32
3053 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
9f86a6da
EF
3054 (arguments
3055 `(#:tests? #f ; Tests require display server.
3056 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
3057 (native-inputs
330377cb 3058 `(("python" ,python)))))
9f86a6da
EF
3059
3060(define-public rust-x11-dl-2
3061 (package
3062 (name "rust-x11-dl")
3063 (version "2.18.5")
3064 (source
3065 (origin
3066 (method url-fetch)
3067 (uri (crate-uri "x11-dl" version))
3068 (file-name
3069 (string-append name "-" version ".tar.gz"))
3070 (sha256
3071 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
3072 (build-system cargo-build-system)
3073 (arguments
3074 `(#:cargo-inputs
3075 (("rust-lazy-static" ,rust-lazy-static-1)
3076 ("rust-libc" ,rust-libc-0.2)
b0fb2963 3077 ("rust-maybe-uninit" ,rust-maybe-uninit-2)
9f86a6da
EF
3078 ("rust-pkg-config" ,rust-pkg-config-0.3))))
3079 (home-page "https://github.com/erlepereira/x11-rs.git")
3080 (synopsis "X11 library bindings for Rust")
3081 (description "This package provides X11 library bindings for Rust.")
3082 (license license:cc0)))
3083
8782381b
NG
3084(define-public rust-y4m-0.7
3085 (package
3086 (name "rust-y4m")
3087 (version "0.7.0")
3088 (source
3089 (origin
3090 (method url-fetch)
3091 (uri (crate-uri "y4m" version))
3092 (file-name (string-append name "-" version ".tar.gz"))
3093 (sha256
3094 (base32 "1bhdgb7hgx7j92nm6ij5n8wisp50j8ff66ks14jzwdw2mwhrjam7"))))
3095 (build-system cargo-build-system)
3096 (arguments `(#:skip-build? #t))
3097 (home-page "https://github.com/image-rs/y4m")
3098 (synopsis "YUV4MPEG2 (@file{.y4m}) encoder and decoder")
3099 (description
3100 "This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.")
3101 (license license:expat)))
3102
9f86a6da
EF
3103(define-public rust-y4m-0.5
3104 (package
8782381b 3105 (inherit rust-y4m-0.7)
9f86a6da
EF
3106 (name "rust-y4m")
3107 (version "0.5.3")
3108 (source
3109 (origin
3110 (method url-fetch)
3111 (uri (crate-uri "y4m" version))
3112 (file-name
3113 (string-append name "-" version ".tar.gz"))
3114 (sha256
3115 (base32
3116 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
9f86a6da
EF
3117 (arguments
3118 `(#:cargo-development-inputs
8782381b 3119 (("rust-resize" ,rust-resize-0.3))))))