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