gnu: Add rust-miniz-oxide-0.4.
[jackhill/guix/guix.git] / gnu / packages / crates-graphics.scm
CommitLineData
9f86a6da
EF
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
3;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
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>
ea7728a4 11;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
cbd33c0d 12;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
9f86a6da
EF
13;;;
14;;; This file is part of GNU Guix.
15;;;
16;;; GNU Guix is free software; you can redistribute it and/or modify it
17;;; under the terms of the GNU General Public License as published by
18;;; the Free Software Foundation; either version 3 of the License, or (at
19;;; your option) any later version.
20;;;
21;;; GNU Guix is distributed in the hope that it will be useful, but
22;;; WITHOUT ANY WARRANTY; without even the implied warranty of
23;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24;;; GNU General Public License for more details.
25;;;
26;;; You should have received a copy of the GNU General Public License
27;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28
29(define-module (gnu packages crates-graphics)
30 #:use-module (guix build-system cargo)
31 #:use-module (guix download)
32 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix packages)
34 #:use-module (gnu packages)
35 #:use-module (gnu packages crates-io)
36 #:use-module (gnu packages freedesktop)
37 #:use-module (gnu packages llvm)
38 #:use-module (gnu packages pkg-config)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages video))
41
42;;;
43;;; Please: Try to add new module packages in alphabetic order.
44
23416785
NG
45(define-public rust-andrew-0.3
46 (package
47 (name "rust-andrew")
48 (version "0.3.1")
49 (source
50 (origin
51 (method url-fetch)
52 (uri (crate-uri "andrew" version))
53 (file-name (string-append name "-" version ".tar.gz"))
54 (sha256
55 (base32 "1kx79z6mh7wwp4pz683bdya54h7w7wpzjcwf834fwbv4vl4znjlc"))))
56 (build-system cargo-build-system)
57 (arguments
58 `(#:skip-build? #t
59 #:cargo-inputs
60 (("rust-bitflags" ,rust-bitflags-1)
61 ("rust-rusttype" ,rust-rusttype-0.9)
62 ("rust-walkdir" ,rust-walkdir-2)
63 ("rust-xdg" ,rust-xdg-2)
64 ("rust-xml-rs" ,rust-xml-rs-0.8))))
65 (home-page "https://github.com/trimental/andrew")
66 (synopsis "Provides convenient drawing of objects to buffers")
67 (description
68 "The @code{andrew} crate provides convenient drawing of objects such as
69shapes, lines and text to buffers.")
70 (license license:expat)))
71
9f86a6da
EF
72(define-public rust-andrew-0.2
73 (package
23416785 74 (inherit rust-andrew-0.3)
9f86a6da
EF
75 (name "rust-andrew")
76 (version "0.2.1")
77 (source
78 (origin
79 (method url-fetch)
80 (uri (crate-uri "andrew" version))
81 (file-name
82 (string-append name "-" version ".tar.gz"))
83 (sha256
84 (base32
85 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
9f86a6da
EF
86 (arguments
87 `(#:cargo-inputs
88 (("rust-bitflags" ,rust-bitflags-1)
89 ("rust-line-drawing" ,rust-line-drawing-0.7)
90 ("rust-rusttype" ,rust-rusttype-0.7)
91 ("rust-walkdir" ,rust-walkdir-2)
ea7728a4 92 ("rust-xdg" ,rust-xdg-2)
9f86a6da
EF
93 ("rust-xml-rs" ,rust-xml-rs-0.8))
94 #:cargo-development-inputs
95 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
96 (inputs
23416785 97 `(("wayland" ,wayland)))))
9f86a6da
EF
98
99(define-public rust-ansi-colours-1
100 (package
101 (name "rust-ansi-colours")
102 (version "1.0.1")
103 (source
104 (origin
105 (method url-fetch)
106 (uri (crate-uri "ansi_colours" version))
107 (file-name
108 (string-append name "-" version ".tar.gz"))
109 (sha256
110 (base32
111 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
112 (build-system cargo-build-system)
113 (arguments
114 `(#:cargo-inputs
115 (("rust-cc" ,rust-cc-1))
116 #:cargo-development-inputs
117 (("rust-delta-e" ,rust-delta-e-0.2)
118 ("rust-lab" ,rust-lab-0.4))))
119 (home-page "https://github.com/mina86/ansi_colours")
120 (synopsis "Palette converter between true-colour and ANSI terminal")
121 (description
122 "@code{ansi_colours} is a library which converts between 24-bit sRGB
123colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
124@code{rxvt-unicode} in 256-colour mode.
125The most common use case is when using 24-bit colours in a terminal emulator
126which only support 8-bit colour palette. This package allows true-colours to be
127approximated by values supported by the terminal.")
128 (license license:lgpl3+)))
129
130(define-public rust-ansi-term-0.12
131 (package
132 (name "rust-ansi-term")
133 (version "0.12.1")
134 (source
135 (origin
136 (method url-fetch)
137 (uri (crate-uri "ansi_term" version))
138 (file-name (string-append name "-" version ".crate"))
139 (sha256
140 (base32
141 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
142 (build-system cargo-build-system)
143 (arguments
144 `(#:cargo-inputs
145 (("rust-serde" ,rust-serde-1)
146 ("rust-winapi" ,rust-winapi-0.3))
147 #:cargo-development-inputs
148 (("rust-doc-comment" ,rust-doc-comment-0.3)
149 ("rust-regex" ,rust-regex-1)
150 ("rust-serde-json" ,rust-serde-json-1))))
151 (home-page "https://github.com/ogham/rust-ansi-term")
152 (synopsis "Library for ANSI terminal colours and styles")
153 (description
154 "This is a library for controlling colours and formatting, such as red bold
155text or blue underlined text, on ANSI terminals.")
156 (license license:expat)))
157
158(define-public rust-ansi-term-0.11
159 (package
160 (inherit rust-ansi-term-0.12)
161 (name "rust-ansi-term")
162 (version "0.11.0")
163 (source
164 (origin
165 (method url-fetch)
166 (uri (crate-uri "ansi_term" version))
167 (file-name (string-append name "-" version ".crate"))
168 (sha256
169 (base32
170 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
171 (arguments
172 `(#:skip-build? #t
173 #:cargo-inputs
174 (("rust-winapi" ,rust-winapi-0.3))))))
175
176(define-public rust-ansi-term-0.9
177 (package
178 (inherit rust-ansi-term-0.11)
179 (name "rust-ansi-term")
180 (version "0.9.0")
181 (source
182 (origin
183 (method url-fetch)
184 (uri (crate-uri "ansi_term" version))
185 (file-name
186 (string-append name "-" version ".tar.gz"))
187 (sha256
188 (base32
189 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
190 (arguments `())))
191
cbd33c0d
AC
192(define-public rust-aom-sys-0.2
193 (package
194 (name "rust-aom-sys")
195 (version "0.2.1")
196 (source
197 (origin
198 (method url-fetch)
199 (uri (crate-uri "aom-sys" version))
200 (file-name
201 (string-append name "-" version ".tar.gz"))
202 (sha256
203 (base32
204 "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
205 (build-system cargo-build-system)
206 (arguments
207 `(#:cargo-inputs
208 (("rust-bindgen" ,rust-bindgen-0.54)
574463dd 209 ("rust-metadeps" ,rust-metadeps-1))))
cbd33c0d
AC
210 (native-inputs
211 `(("pkg-config" ,pkg-config)))
212 (inputs
213 `(("libaom" ,libaom)
214 ("clang" ,clang)
215 ("llvm" ,llvm)))
216 (home-page "https://github.com/rust-av/aom-rs")
217 (synopsis "FFI bindings to aom")
218 (description "This package provides FFI bindings to aom.")
219 (license license:expat)))
220
9f86a6da
EF
221(define-public rust-aom-sys-0.1
222 (package
cbd33c0d 223 (inherit rust-aom-sys-0.2)
9f86a6da
EF
224 (name "rust-aom-sys")
225 (version "0.1.4")
226 (source
227 (origin
228 (method url-fetch)
229 (uri (crate-uri "aom-sys" version))
230 (file-name
231 (string-append name "-" version ".tar.gz"))
232 (sha256
233 (base32
234 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
235 (build-system cargo-build-system)
236 (arguments
237 `(#:cargo-inputs
238 (("rust-bindgen" ,rust-bindgen-0.53)
574463dd 239 ("rust-metadeps" ,rust-metadeps-1))))
9f86a6da
EF
240 (native-inputs
241 `(("pkg-config" ,pkg-config)))
242 (inputs
243 `(("libaom" ,libaom)
73dbcc4b 244 ("clang" ,clang)
cbd33c0d 245 ("llvm" ,llvm)))))
9f86a6da
EF
246
247(define-public rust-ascii-canvas-2
248 (package
249 (name "rust-ascii-canvas")
250 (version "2.0.0")
251 (source
252 (origin
253 (method url-fetch)
254 (uri (crate-uri "ascii-canvas" version))
255 (file-name (string-append name "-" version ".tar.gz"))
256 (sha256
257 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
258 (build-system cargo-build-system)
259 (arguments
260 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
261 #:cargo-inputs
262 (("rust-term" ,rust-term-0.5))))
263 (home-page "https://github.com/nikomatsakis/ascii-canvas")
264 (synopsis "Simple canvas for drawing lines and styled text and emitting to
265the terminal")
266 (description "@code{ASCII} canvas is a simple Rust library that allows you
267to draw lines and colored text and then write them to the terminal. It uses
268the term library to handle the ANSI nonsense and hence it works on Windows,
269Mac, and Unix.")
270 (license (list license:asl2.0 license:expat))))
271
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
344for 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
d7d8fe36 374(define-public rust-core-graphics-0.22
58b30a50
NG
375 (package
376 (name "rust-core-graphics")
d7d8fe36 377 (version "0.22.2")
58b30a50
NG
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
d7d8fe36 384 (base32 "11lx6xw8nc9fpd552g60qa0cxh0maah8j2m26vkq0aslkgv3b7r6"))))
58b30a50
NG
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
d7d8fe36
NG
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
dc7912ce
NG
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
9f86a6da
EF
441(define-public rust-core-graphics-0.17
442 (package
58b30a50 443 (inherit rust-core-graphics-0.21)
9f86a6da
EF
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"))))
9f86a6da
EF
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)
58b30a50 461 ("rust-libc" ,rust-libc-0.2))))))
9f86a6da 462
0b00d063
NG
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
486types.")
487 (license (list license:expat license:asl2.0))))
488
9f86a6da
EF
489(define-public rust-core-video-sys-0.1
490 (package
491 (name "rust-core-video-sys")
bc5f82f7 492 (version "0.1.4")
9f86a6da
EF
493 (source
494 (origin
495 (method url-fetch)
496 (uri (crate-uri "core-video-sys" version))
bc5f82f7 497 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 498 (sha256
bc5f82f7 499 (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l"))))
9f86a6da
EF
500 (build-system cargo-build-system)
501 (arguments
bc5f82f7 502 `(#:skip-build? #t
9f86a6da
EF
503 #:cargo-inputs
504 (("rust-cfg-if" ,rust-cfg-if-0.1)
bc5f82f7
NG
505 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
506 ("rust-core-graphics" ,rust-core-graphics-0.19)
9f86a6da 507 ("rust-libc" ,rust-libc-0.2)
bc5f82f7 508 ("rust-metal" ,rust-metal-0.18)
9f86a6da
EF
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")
bc5f82f7
NG
512 (description
513 "This package provides bindings to CoreVideo.framework for macOS
514and iOS.")
9f86a6da
EF
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)
574463dd 534 ("rust-metadeps" ,rust-metadeps-1))))
73dbcc4b
EF
535 (native-inputs
536 `(("pkg-config" ,pkg-config)))
9f86a6da
EF
537 (inputs
538 `(("dav1d" ,dav1d)
73dbcc4b 539 ("clang" ,clang)
9f86a6da
EF
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
7bc4eeb9
NG
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
593EUI-64, also known as MAC-48 media access control addresses.")
594 (license (list license:expat license:asl2.0))))
595
9f86a6da
EF
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
8bfb0f18 716 (("rust-color-quant" ,rust-color-quant-1)
9f86a6da
EF
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
1d127ccb
NG
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
9f86a6da
EF
893(define-public rust-glutin-0.22
894 (package
1d127ccb 895 (inherit rust-glutin-0.26)
9f86a6da
EF
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"))))
9f86a6da
EF
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)
1d127ccb 927 ("rust-winit" ,rust-winit-0.20))))))
9f86a6da
EF
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")
2c13905d 990 (version "0.1.1")
9f86a6da
EF
991 (source
992 (origin
993 (method url-fetch)
994 (uri (crate-uri "glutin_emscripten_sys" version))
2c13905d 995 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 996 (sha256
2c13905d 997 (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0"))))
9f86a6da 998 (build-system cargo-build-system)
2c13905d 999 (arguments `(#:skip-build? #t))
9f86a6da
EF
1000 (home-page "https://github.com/tomaka/glutin")
1001 (synopsis "Emscripten bindings for glutin")
2c13905d 1002 (description "This package provides Emscripten bindings for glutin.")
9f86a6da
EF
1003 (license license:asl2.0)))
1004
1005(define-public rust-glutin-gles2-sys-0.1
1006 (package
1007 (name "rust-glutin-gles2-sys")
501d1093 1008 (version "0.1.5")
9f86a6da
EF
1009 (source
1010 (origin
1011 (method url-fetch)
1012 (uri (crate-uri "glutin_gles2_sys" version))
501d1093 1013 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1014 (sha256
501d1093 1015 (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8"))))
9f86a6da
EF
1016 (build-system cargo-build-system)
1017 (arguments
501d1093
NG
1018 `(#:skip-build? #t
1019 #:cargo-inputs
1020 (("rust-gl-generator" ,rust-gl-generator-0.14)
1021 ("rust-objc" ,rust-objc-0.2))))
9f86a6da 1022 (home-page "https://github.com/tomaka/glutin")
501d1093
NG
1023 (synopsis "Gles2 bindings for glutin")
1024 (description "This package provides gles2 bindings for glutin.")
9f86a6da
EF
1025 (license license:asl2.0)))
1026
1027(define-public rust-glutin-glx-sys-0.1
1028 (package
1029 (name "rust-glutin-glx-sys")
48c2a30b 1030 (version "0.1.7")
9f86a6da
EF
1031 (source
1032 (origin
1033 (method url-fetch)
48c2a30b
NG
1034 (uri (crate-uri "glutin_glx_sys" version))
1035 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1036 (sha256
48c2a30b 1037 (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
9f86a6da
EF
1038 (build-system cargo-build-system)
1039 (arguments
48c2a30b
NG
1040 `(#:skip-build? #t
1041 #:cargo-inputs
1042 (("rust-gl-generator" ,rust-gl-generator-0.14)
1043 ("rust-x11-dl" ,rust-x11-dl-2))))
9f86a6da
EF
1044 (home-page "https://github.com/tomaka/glutin")
1045 (synopsis "Glx bindings for glutin")
48c2a30b 1046 (description "This package provides glx bindings for glutin.")
9f86a6da
EF
1047 (license license:asl2.0)))
1048
1049(define-public rust-glutin-wgl-sys-0.1
1050 (package
1051 (name "rust-glutin-wgl-sys")
721a6d6f 1052 (version "0.1.5")
9f86a6da
EF
1053 (source
1054 (origin
1055 (method url-fetch)
721a6d6f
NG
1056 (uri (crate-uri "glutin_wgl_sys" version))
1057 (file-name (string-append name "-" version ".tar.gz"))
9f86a6da 1058 (sha256
721a6d6f 1059 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
9f86a6da
EF
1060 (build-system cargo-build-system)
1061 (arguments
721a6d6f
NG
1062 `(#:skip-build? #t
1063 #:cargo-inputs
1064 (("rust-gl-generator" ,rust-gl-generator-0.14))))
9f86a6da
EF
1065 (home-page "https://github.com/tomaka/glutin")
1066 (synopsis "Wgl bindings for glutin")
721a6d6f 1067 (description "This package provides wgl bindings for glutin.")
9f86a6da
EF
1068 (license license:asl2.0)))
1069
499ad2c4
NG
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
1090similar formats like VCard.")
1091 (license license:asl2.0)))
1092
c450aa28
NG
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
1116main job of @command{which} is to search for executables on the current
1117PATH.")
1118 (license license:expat)))
1119
9f86a6da
EF
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)
a699f329 1138 ("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
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
14467020 1148 (("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da
EF
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
1157for 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
a699f329 1177 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
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
14467020 1187 (("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da
EF
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
a699f329 1208 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
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
a699f329 1239 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
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-jpeg-decoder-0.1
1255 (package
1256 (name "rust-jpeg-decoder")
1257 (version "0.1.18")
1258 (source
1259 (origin
1260 (method url-fetch)
1261 (uri (crate-uri "jpeg-decoder" version))
1262 (file-name
1263 (string-append name "-" version ".tar.gz"))
1264 (sha256
1265 (base32
1266 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1267 (build-system cargo-build-system)
1268 (arguments
1269 `(#:tests? #f ; Some test files missing.
1270 #:cargo-inputs
a699f329 1271 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
1272 ("rust-rayon" ,rust-rayon-1))
1273 #:cargo-development-inputs
1274 (("rust-criterion" ,rust-criterion-0.3)
1275 ("rust-png" ,rust-png-0.14)
1276 ("rust-walkdir" ,rust-walkdir-2))))
1277 (home-page "https://github.com/image-rs/jpeg-decoder")
1278 (synopsis "JPEG decoder")
1279 (description "JPEG decoder written in Rust.")
1280 (license (list license:expat license:asl2.0))))
1281
1282(define-public rust-line-drawing-0.7
1283 (package
1284 (name "rust-line-drawing")
1285 (version "0.7.0")
1286 (source
1287 (origin
1288 (method url-fetch)
1289 (uri (crate-uri "line_drawing" version))
1290 (file-name
1291 (string-append name "-" version ".tar.gz"))
1292 (sha256
1293 (base32
1294 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1295 (build-system cargo-build-system)
1296 (arguments
1297 ;; This version does not specify any versions on dependants.
1298 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1299 #:cargo-inputs
1300 (("rust-num-traits" ,rust-num-traits-0.2))
1301 #:cargo-development-inputs
1302 (("rust-bresenham" ,rust-bresenham-0.1)
1303 ("rust-image" ,rust-image-0.22) ; 0.17?
1304 ("rust-rand" ,rust-rand-0.6))))
1305 (home-page "https://github.com/expenses/line_drawing")
1306 (synopsis "Collection of line-drawing algorithms")
1307 (description
1308 "This package provides a collection of line-drawing algorithms for use in
1309graphics and video games.")
1310 (license license:expat)))
1311
1312(define-public rust-lyon-geom-0.14
1313 (package
1314 (name "rust-lyon-geom")
1315 (version "0.14.1")
1316 (source
1317 (origin
1318 (method url-fetch)
1319 (uri (crate-uri "lyon_geom" version))
1320 (file-name
1321 (string-append name "-" version ".tar.gz"))
1322 (sha256
1323 (base32
1324 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1325 (build-system cargo-build-system)
1326 (arguments
1327 `(#:skip-build? #t
1328 #:cargo-inputs
1329 (("rust-num-traits" ,rust-num-traits-0.2)
1330 ("rust-euclid" ,rust-euclid-0.20)
1331 ("rust-arrayvec" ,rust-arrayvec-0.4)
1332 ("rust-serde" ,rust-serde-1))))
1333 (home-page "https://github.com/nical/lyon")
1334 (synopsis "2D graphics rendering on the GPU using tessellation")
1335 (description
1336 "This package provides 2D graphics rendering on the GPU using tessellation.")
1337 (license (list license:expat license:asl2.0))))
1338
1339(define-public rust-lyon-path-0.14
1340 (package
1341 (name "rust-lyon-path")
1342 (version "0.14.0")
1343 (source
1344 (origin
1345 (method url-fetch)
1346 (uri (crate-uri "lyon_path" version))
1347 (file-name
1348 (string-append name "-" version ".tar.gz"))
1349 (sha256
1350 (base32
1351 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1352 (build-system cargo-build-system)
1353 (arguments
1354 `(#:skip-build? #t
1355 #:cargo-inputs
1356 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1357 ("rust-serde" ,rust-serde-1))))
1358 (home-page "https://github.com/nical/lyon")
1359 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1360 (description
1361 "Types and utilities to store, build and iterate over 2D paths.")
1362 (license (list license:expat license:asl2.0))))
1363
1364(define-public rust-osmesa-sys-0.1
1365 (package
1366 (name "rust-osmesa-sys")
1367 (version "0.1.2")
1368 (source
1369 (origin
1370 (method url-fetch)
1371 (uri (crate-uri "osmesa-sys" version))
1372 (file-name
1373 (string-append name "-" version ".tar.gz"))
1374 (sha256
1375 (base32
1376 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1377 (build-system cargo-build-system)
1378 (arguments
1379 `(#:cargo-inputs
1380 (("rust-shared-library" ,rust-shared-library-0.1))))
1381 (home-page "https://crates.io/crates/osmesa-sys")
1382 (synopsis "OSMesa library bindings for Rust")
1383 (description "This package provides OSMesa library bindings for Rust.")
1384 (license license:cc0)))
1385
1386(define-public rust-piston-0.49
1387 (package
1388 (name "rust-piston")
1389 (version "0.49.0")
1390 (source
1391 (origin
1392 (method url-fetch)
1393 (uri (crate-uri "piston" version))
1394 (file-name
1395 (string-append name "-" version ".tar.gz"))
1396 (sha256
1397 (base32
1398 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1399 (build-system cargo-build-system)
1400 (arguments
1401 `(#:skip-build? #t
1402 #:cargo-inputs
1403 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1404 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1405 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1406 (home-page "https://github.com/PistonDevelopers/piston")
1407 (synopsis "Piston game engine core libraries")
1408 (description
1409 "The Piston game engine core libraries.")
1410 (license license:expat)))
1411
7735bdb5 1412(define-public rust-piston-float-1
9f86a6da
EF
1413 (package
1414 (name "rust-piston-float")
1415 (version "1.0.0")
1416 (source
1417 (origin
1418 (method url-fetch)
1419 (uri (crate-uri "piston-float" version))
1420 (file-name
1421 (string-append name "-" version ".tar.gz"))
1422 (sha256
1423 (base32
1424 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1425 (build-system cargo-build-system)
1426 (arguments `(#:skip-build? #t))
1427 (home-page
1428 "https://github.com/pistondevelopers/float")
1429 (synopsis
1430 "Traits for generic floats in game development")
1431 (description
1432 "Traits for generic floats in game development")
1433 (license license:expat)))
1434
1435(define-public rust-piston-gfx-texture-0.40
1436 (package
1437 (name "rust-piston-gfx-texture")
1438 (version "0.40.0")
1439 (source
1440 (origin
1441 (method url-fetch)
1442 (uri (crate-uri "piston-gfx_texture" version))
1443 (file-name
1444 (string-append name "-" version ".tar.gz"))
1445 (sha256
1446 (base32
1447 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1448 (build-system cargo-build-system)
1449 (arguments
1450 `(#:skip-build? #t
1451 #:cargo-inputs
1452 (("rust-gfx" ,rust-gfx-0.18)
1453 ("rust-image" ,rust-image-0.22)
1454 ("rust-piston-texture" ,rust-piston-texture-0.8)
1455 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1456 (home-page "https://github.com/pistondevelopers/gfx_texture")
1457 (synopsis
1458 "Gfx texture representation that works nicely with Piston libraries")
1459 (description "This package provides a Gfx texture representation that works
1460nicely with Piston libraries.")
1461 (license license:expat)))
1462
1463(define-public rust-piston-graphics-api-version-0.2
1464 (package
1465 (name "rust-piston-graphics-api-version")
1466 (version "0.2.0")
1467 (source
1468 (origin
1469 (method url-fetch)
1470 (uri (crate-uri "piston-graphics_api_version" version))
1471 (file-name
1472 (string-append name "-" version ".tar.gz"))
1473 (sha256
1474 (base32
1475 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1476 (build-system cargo-build-system)
1477 (arguments `(#:skip-build? #t))
1478 (home-page
1479 "https://github.com/PistonDevelopers/graphics_api_version")
1480 (synopsis
1481 "A library for storing graphics API versions")
1482 (description
1483 "This package provides a library for storing graphics API versions")
1484 (license license:expat)))
1485
1486(define-public rust-piston-shaders-graphics2d-0.3
1487 (package
1488 (name "rust-piston-shaders-graphics2d")
1489 (version "0.3.1")
1490 (source
1491 (origin
1492 (method url-fetch)
1493 (uri (crate-uri "piston-shaders_graphics2d" version))
1494 (file-name
1495 (string-append name "-" version ".tar.gz"))
1496 (sha256
1497 (base32
1498 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1499 (build-system cargo-build-system)
1500 (arguments `(#:skip-build? #t))
1501 (home-page
1502 "https://github.com/PistonDevelopers/shaders")
1503 (synopsis "Shaders for 2D graphics in Rust")
1504 (description "Shaders for 2D graphics in Rust")
1505 (license license:expat)))
1506
1507(define-public rust-piston-texture-0.8
1508 (package
1509 (name "rust-piston-texture")
1510 (version "0.8.0")
1511 (source
1512 (origin
1513 (method url-fetch)
1514 (uri (crate-uri "piston-texture" version))
1515 (file-name
1516 (string-append name "-" version ".tar.gz"))
1517 (sha256
1518 (base32
1519 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1520 (build-system cargo-build-system)
1521 (arguments `(#:skip-build? #t))
1522 (home-page
1523 "https://github.com/pistondevelopers/texture")
1524 (synopsis "A generic library for textures")
1525 (description
1526 "This package provides a generic library for textures")
1527 (license license:expat)))
1528
5f1c6013 1529(define-public rust-piston-viewport-1
9f86a6da
EF
1530 (package
1531 (name "rust-piston-viewport")
1532 (version "1.0.0")
1533 (source
1534 (origin
1535 (method url-fetch)
1536 (uri (crate-uri "piston-viewport" version))
1537 (file-name
1538 (string-append name "-" version ".tar.gz"))
1539 (sha256
1540 (base32
1541 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1542 (build-system cargo-build-system)
1543 (arguments
1544 `(#:skip-build? #t
1545 #:cargo-inputs
7735bdb5 1546 (("rust-piston-float" ,rust-piston-float-1))))
9f86a6da
EF
1547 (home-page "https://github.com/PistonDevelopers/viewport")
1548 (synopsis "Library for storing viewport information")
1549 (description
1550 "This package provides a library for storing viewport information.")
1551 (license license:expat)))
1552
1553(define-public rust-piston-window-0.105
1554 (package
1555 (name "rust-piston-window")
1556 (version "0.105.0")
1557 (source
1558 (origin
1559 (method url-fetch)
1560 (uri (crate-uri "piston_window" version))
1561 (file-name
1562 (string-append name "-" version ".tar.gz"))
1563 (sha256
1564 (base32
1565 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1566 (build-system cargo-build-system)
1567 (arguments
1568 `(#:skip-build? #t
1569 #:cargo-inputs
1570 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1571 ("rust-gfx" ,rust-gfx-0.18)
1572 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1573 ("rust-piston" ,rust-piston-0.49)
1574 ("rust-shader-version" ,rust-shader-version-0.6)
1575 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1576 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1577 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1578 (home-page "https://github.com/pistondevelopers/piston_window")
1579 (synopsis "Official Piston window wrapper for the Piston game engine")
1580 (description
1581 "The official Piston window wrapper for the Piston game engine.")
1582 (license license:expat)))
1583
1584(define-public rust-piston2d-gfx-graphics-0.66
1585 (package
1586 (name "rust-piston2d-gfx-graphics")
1587 (version "0.66.0")
1588 (source
1589 (origin
1590 (method url-fetch)
1591 (uri (crate-uri "piston2d-gfx_graphics" version))
1592 (file-name
1593 (string-append name "-" version ".tar.gz"))
1594 (sha256
1595 (base32
1596 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1597 (build-system cargo-build-system)
1598 (arguments
1599 `(#:skip-build? #t
1600 #:cargo-inputs
1601 (("rust-gfx" ,rust-gfx-0.18)
1602 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1603 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1604 ("rust-shader-version" ,rust-shader-version-0.6)
1605 ("rust-draw-state" ,rust-draw-state-0.8))))
1606 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1607 (synopsis "Gfx 2D back-end for the Piston game engine")
1608 (description
1609 "This package provides a Gfx 2D back-end for the Piston game engine.")
1610 (license license:expat)))
1611
1612(define-public rust-piston2d-graphics-0.35
1613 (package
1614 (name "rust-piston2d-graphics")
1615 (version "0.35.0")
1616 (source
1617 (origin
1618 (method url-fetch)
1619 (uri (crate-uri "piston2d-graphics" version))
1620 (file-name
1621 (string-append name "-" version ".tar.gz"))
1622 (sha256
1623 (base32
1624 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1625 (build-system cargo-build-system)
1626 (arguments
1627 `(#:skip-build? #t
1628 #:cargo-inputs
1629 (("rust-interpolation" ,rust-interpolation-0.2)
1630 ("rust-rusttype" ,rust-rusttype-0.7)
1631 ("rust-piston-texture" ,rust-piston-texture-0.8)
5f1c6013 1632 ("rust-piston-viewport" ,rust-piston-viewport-1)
35e3782a 1633 ("rust-read-color" ,rust-read-color-1)
da33d474 1634 ("rust-vecmath" ,rust-vecmath-1)
9f86a6da
EF
1635 ("rust-fnv" ,rust-fnv-1))))
1636 (home-page "https://github.com/pistondevelopers/graphics")
1637 (synopsis "Library for 2D graphics that works with multiple back-ends")
1638 (description "This package provides a library for 2D graphics that works
1639with multiple back-ends.")
1640 (license license:expat)))
1641
1642(define-public rust-pistoncore-event-loop-0.49
1643 (package
1644 (name "rust-pistoncore-event-loop")
1645 (version "0.49.0")
1646 (source
1647 (origin
1648 (method url-fetch)
1649 (uri (crate-uri "pistoncore-event_loop" version))
1650 (file-name
1651 (string-append name "-" version ".tar.gz"))
1652 (sha256
1653 (base32
1654 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1655 (build-system cargo-build-system)
1656 (arguments
1657 `(#:skip-build? #t
1658 #:cargo-inputs
1659 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1660 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1661 (home-page "https://github.com/PistonDevelopers/piston")
1662 (synopsis "Piston event loop for games and interactive applications")
1663 (description "This package provides a Piston event loop for games and
1664interactive applications.")
1665 (license license:expat)))
1666
1667(define-public rust-pistoncore-glutin-window-0.63
1668 (package
1669 (name "rust-pistoncore-glutin-window")
1670 (version "0.63.0")
1671 (source
1672 (origin
1673 (method url-fetch)
1674 (uri (crate-uri "pistoncore-glutin_window" version))
1675 (file-name
1676 (string-append name "-" version ".tar.gz"))
1677 (sha256
1678 (base32
1679 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1680 (build-system cargo-build-system)
1681 (arguments
1682 `(#:skip-build? #t
1683 #:cargo-inputs
1684 (("rust-gl" ,rust-gl-0.11)
1685 ("rust-glutin" ,rust-glutin-0.21)
1686 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1687 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1688 ("rust-shader-version" ,rust-shader-version-0.6))))
1689 (home-page "https://github.com/pistondevelopers/glutin_window")
1690 (synopsis "Piston window back-end using the Glutin library")
1691 (description
1692 "This package provides a Piston window back-end using the Glutin library.")
1693 (license license:expat)))
1694
1695(define-public rust-pistoncore-input-0.28
1696 (package
1697 (name "rust-pistoncore-input")
1698 (version "0.28.0")
1699 (source
1700 (origin
1701 (method url-fetch)
1702 (uri (crate-uri "pistoncore-input" version))
1703 (file-name
1704 (string-append name "-" version ".tar.gz"))
1705 (sha256
1706 (base32
1707 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1708 (build-system cargo-build-system)
1709 (arguments
1710 `(#:skip-build? #t
1711 #:cargo-inputs
5f1c6013 1712 (("rust-piston-viewport" ,rust-piston-viewport-1)
9f86a6da
EF
1713 ("rust-serde" ,rust-serde-1)
1714 ("rust-serde-derive" ,rust-serde-derive-1)
1715 ("rust-bitflags" ,rust-bitflags-1))))
1716 (home-page "https://github.com/PistonDevelopers/piston")
1717 (synopsis "Structure for user input")
1718 (description
1719 "This package provides a structure for user input.")
1720 (license license:expat)))
1721
1722(define-public rust-pistoncore-window-0.44
1723 (package
1724 (name "rust-pistoncore-window")
1725 (version "0.44.0")
1726 (source
1727 (origin
1728 (method url-fetch)
1729 (uri (crate-uri "pistoncore-window" version))
1730 (file-name
1731 (string-append name "-" version ".tar.gz"))
1732 (sha256
1733 (base32
1734 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1735 (build-system cargo-build-system)
1736 (arguments
1737 `(#:skip-build? #t
1738 #:cargo-inputs
1739 (("rust-piston-graphics-api-version"
1740 ,rust-piston-graphics-api-version-0.2)
1741 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1742 (home-page "https://github.com/PistonDevelopers/piston")
1743 (synopsis "Library for window abstraction")
1744 (description
1745 "This package provides a library for window abstraction.")
1746 (license license:expat)))
1747
1748(define-public rust-png-0.16
1749 (package
1750 (name "rust-png")
191ad9d3 1751 (version "0.16.8")
9f86a6da 1752 (source
191ad9d3
NG
1753 (origin
1754 (method url-fetch)
1755 (uri (crate-uri "png" version))
1756 (file-name (string-append name "-" version ".tar.gz"))
1757 (sha256
1758 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
9f86a6da
EF
1759 (build-system cargo-build-system)
1760 (arguments
1761 `(#:skip-build? #t
1762 #:cargo-inputs
1763 (("rust-bitflags" ,rust-bitflags-1)
14467020 1764 ("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da 1765 ("rust-deflate" ,rust-deflate-0.8)
191ad9d3 1766 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
9f86a6da
EF
1767 (home-page "https://github.com/image-rs/image-png.git")
1768 (synopsis "PNG decoding and encoding library in pure Rust")
1769 (description
191ad9d3 1770 "This package is a PNG decoding and encoding library in pure Rust.")
9f86a6da
EF
1771 (license (list license:expat license:asl2.0))))
1772
1773(define-public rust-png-0.15
1774 (package
1775 (inherit rust-png-0.16)
1776 (name "rust-png")
1777 (version "0.15.3")
1778 (source
1779 (origin
1780 (method url-fetch)
1781 (uri (crate-uri "png" version))
1782 (file-name
1783 (string-append name "-" version ".tar.gz"))
1784 (sha256
1785 (base32
1786 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1787 (arguments
1788 `(#:skip-build? #t
1789 #:cargo-inputs
1790 (("rust-bitflags" ,rust-bitflags-1)
14467020 1791 ("rust-crc32fast" ,rust-crc32fast-1)
9f86a6da
EF
1792 ("rust-deflate" ,rust-deflate-0.7)
1793 ("rust-inflate" ,rust-inflate-0.4))
1794 #:cargo-development-inputs
1795 (("rust-getopts" ,rust-getopts-0.2)
1796 ;; TODO: glium has many cyclic dependencies with other packages
1797 ;;("rust-glium" ,rust-glium-0.24)
1798 ("rust-glob" ,rust-glob-0.3)
1799 ("rust-rand" ,rust-rand-0.7)
1800 ("rust-term" ,rust-term-0.6))))))
1801
1802(define-public rust-png-0.14
1803 (package
1804 (inherit rust-png-0.15)
1805 (name "rust-png")
1806 (version "0.14.1")
1807 (source
1808 (origin
1809 (method url-fetch)
1810 (uri (crate-uri "png" version))
1811 (file-name
1812 (string-append name "-" version ".tar.gz"))
1813 (sha256
1814 (base32
1815 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1816 (arguments
1817 `(#:skip-build? #t
1818 #:cargo-inputs
1819 (("rust-bitflags" ,rust-bitflags-1)
1820 ("rust-deflate" ,rust-deflate-0.7)
1821 ("rust-inflate" ,rust-inflate-0.4)
1822 ("rust-num-iter" ,rust-num-iter-0.1))
1823 #:cargo-development-inputs
1824 (("rust-getopts" ,rust-getopts-0.2)
1825 ;; TODO: glium has many cyclic dependencies with other packages
1826 ;; ("rust-glium" ,rust-glium-0.22)
1827 ("rust-glob" ,rust-glob-0.2)
1828 ("rust-rand" ,rust-rand-0.5)
1829 ("rust-term" ,rust-term-0.4))))))
1830
1831(define-public rust-png-0.12
1832 (package
1833 (inherit rust-png-0.14)
1834 (name "rust-png")
1835 (version "0.12.0")
1836 (source
1837 (origin
1838 (method url-fetch)
1839 (uri (crate-uri "png" version))
1840 (file-name
1841 (string-append name "-" version ".tar.gz"))
1842 (sha256
1843 (base32
1844 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1845 (arguments
1846 `(#:skip-build? #t
1847 #:cargo-inputs
1848 (("rust-bitflags" ,rust-bitflags-1)
1849 ("rust-deflate" ,rust-deflate-0.7)
1850 ("rust-inflate" ,rust-inflate-0.4)
1851 ("rust-num-iter" ,rust-num-iter-0.1))
1852 #:cargo-development-inputs
1853 (("rust-getopts" ,rust-getopts-0.2)
1854 ;; TODO: gluum has many cyclic dependencies with other packages
1855 ;; ("rust-glium" ,rust-glium-0.21)
1856 ("rust-glob" ,rust-glob-0.2)
1857 ("rust-term" ,rust-term-0.4))))))
1858
1859(define-public rust-raw-window-handle-0.3
1860 (package
1861 (name "rust-raw-window-handle")
1862 (version "0.3.3")
1863 (source
1864 (origin
1865 (method url-fetch)
1866 (uri (crate-uri "raw-window-handle" version))
1867 (file-name
1868 (string-append name "-" version ".tar.gz"))
1869 (sha256
1870 (base32
1871 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1872 (build-system cargo-build-system)
1873 (arguments
1874 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1875 (home-page "https://github.com/rust-windowing/raw-window-handle")
1876 (synopsis "Interoperability library for Rust Windowing applications")
1877 (description
1878 "Interoperability library for Rust Windowing applications.")
1879 (license license:expat)))
1880
1881(define-public rust-resize-0.3
1882 (package
1883 (name "rust-resize")
1884 (version "0.3.1")
1885 (source
1886 (origin
1887 (method url-fetch)
1888 (uri (crate-uri "resize" version))
1889 (file-name
1890 (string-append name "-" version ".tar.gz"))
1891 (sha256
1892 (base32
1893 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1894 (build-system cargo-build-system)
1895 (arguments
1896 `(#:cargo-development-inputs
1897 (("rust-png" ,rust-png-0.15))))
1898 (home-page "https://github.com/PistonDevelopers/resize")
1899 (synopsis "Simple image resampling library in pure Rust")
1900 (description
1901 "This package provides a simple image resampling library in pure Rust.")
1902 (license license:expat)))
1903
1904(define-public rust-rgb-0.8
1905 (package
1906 (name "rust-rgb")
1907 (version "0.8.20")
1908 (source
1909 (origin
1910 (method url-fetch)
1911 (uri (crate-uri "rgb" version))
1912 (file-name (string-append name "-" version ".crate"))
1913 (sha256
1914 (base32
1915 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1916 (build-system cargo-build-system)
1917 (arguments
1918 `(#:cargo-inputs
1919 (("rust-bytemuck" ,rust-bytemuck-1)
1920 ("rust-serde" ,rust-serde-1))
1921 #:cargo-development-inputs
1922 (("rust-serde-json" ,rust-serde-json-1))))
1923 (home-page "https://lib.rs/crates/rgb")
1924 (synopsis "Struct for sharing pixels between crates")
1925 (description
1926 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
1927between crates + convenience methods for color manipulation. It allows no-copy
1928high-level interoperability. It also adds common convenience methods and
1929implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
1930first-class Rust objects.")
1931 (license license:expat)))
1932
d958b8d9
NG
1933(define-public rust-smithay-client-toolkit-0.12
1934 (package
1935 (name "rust-smithay-client-toolkit")
1936 (version "0.12.2")
1937 (source
1938 (origin
1939 (method url-fetch)
1940 (uri (crate-uri "smithay-client-toolkit" version))
1941 (file-name (string-append name "-" version ".tar.gz"))
1942 (sha256
1943 (base32 "1rjdszpf8pns99gyy8f5axf01ckc33f30dddfazyfg45xfii6vii"))))
1944 (build-system cargo-build-system)
1945 (arguments
1946 `(#:skip-build? #t
1947 #:cargo-inputs
1948 (("rust-andrew" ,rust-andrew-0.3)
1949 ("rust-bitflags" ,rust-bitflags-1)
1950 ("rust-calloop" ,rust-calloop-0.6)
1951 ("rust-dlib" ,rust-dlib-0.4)
1952 ("rust-lazy-static" ,rust-lazy-static-1)
1953 ("rust-log" ,rust-log-0.4)
1954 ("rust-memmap2" ,rust-memmap2-0.1)
1955 ("rust-nix" ,rust-nix-0.18)
1956 ("rust-wayland-client" ,rust-wayland-client-0.28)
1957 ("rust-wayland-cursor" ,rust-wayland-cursor-0.28)
1958 ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
1959 (home-page "https://github.com/smithay/client-toolkit")
1960 (synopsis "Toolkit for making client Wayland applications")
1961 (description
1962 "This package provides a toolkit for making client Wayland applications.")
1963 (license license:expat)))
1964
9f86a6da
EF
1965(define-public rust-smithay-client-toolkit-0.6
1966 (package
d958b8d9 1967 (inherit rust-smithay-client-toolkit-0.12)
9f86a6da
EF
1968 (name "rust-smithay-client-toolkit")
1969 (version "0.6.4")
1970 (source
1971 (origin
1972 (method url-fetch)
1973 (uri (crate-uri "smithay-client-toolkit" version))
1974 (file-name
1975 (string-append name "-" version ".tar.gz"))
1976 (sha256
1977 (base32
1978 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
9f86a6da
EF
1979 (arguments
1980 `(#:cargo-inputs
1981 (("rust-andrew" ,rust-andrew-0.2)
1982 ("rust-bitflags" ,rust-bitflags-1)
1983 ("rust-dlib" ,rust-dlib-0.4)
1984 ("rust-lazy-static" ,rust-lazy-static-1)
1985 ("rust-memmap" ,rust-memmap-0.7)
1986 ("rust-nix" ,rust-nix-0.14)
1987 ("rust-wayland-client" ,rust-wayland-client-0.23)
1988 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
1989 #:cargo-development-inputs
a699f329 1990 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da 1991 ("rust-image" ,rust-image-0.21)
d958b8d9 1992 ("rust-wayland-client" ,rust-wayland-client-0.23))))))
9f86a6da
EF
1993
1994(define-public rust-smithay-client-toolkit-0.4
1995 (package
1996 (inherit rust-smithay-client-toolkit-0.6)
1997 (name "rust-smithay-client-toolkit")
1998 (version "0.4.6")
1999 (source
2000 (origin
2001 (method url-fetch)
2002 (uri (crate-uri "smithay-client-toolkit" version))
2003 (file-name
2004 (string-append name "-" version ".tar.gz"))
2005 (sha256
2006 (base32
2007 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
2008 (arguments
2009 `(#:cargo-inputs
2010 (("rust-andrew" ,rust-andrew-0.2)
2011 ("rust-bitflags" ,rust-bitflags-1)
2012 ("rust-dlib" ,rust-dlib-0.4)
2013 ("rust-lazy-static" ,rust-lazy-static-1)
2014 ("rust-memmap" ,rust-memmap-0.7)
2015 ("rust-nix" ,rust-nix-0.14)
2016 ("rust-wayland-client" ,rust-wayland-client-0.21)
2017 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2018 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
2019 #:cargo-development-inputs
a699f329 2020 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2021 ("rust-image" ,rust-image-0.20)
2022 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
2023
48792fef
NG
2024(define-public rust-smithay-clipboard-0.6
2025 (package
2026 (name "rust-smithay-clipboard")
2027 (version "0.6.2")
2028 (source
2029 (origin
2030 (method url-fetch)
2031 (uri (crate-uri "smithay-clipboard" version))
2032 (file-name (string-append name "-" version ".tar.gz"))
2033 (sha256
2034 (base32 "14dwisd56cbr80zf719l3fh0n8pm1fjmvry9lsbhdbccf8cv525b"))))
2035 (build-system cargo-build-system)
2036 (arguments
2037 `(#:skip-build? #t
2038 #:cargo-inputs
2039 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2040 ("rust-wayland-client" ,rust-wayland-client-0.28))))
2041 (home-page "https://github.com/smithay/smithay-clipboard")
2042 (synopsis "Access to the Wayland clipboard for client applications")
2043 (description
2044 "This package provides access to the Wayland clipboard for client
2045applications.")
2046 (license license:expat)))
2047
9f86a6da
EF
2048(define-public rust-smithay-clipboard-0.3
2049 (package
48792fef 2050 (inherit rust-smithay-clipboard-0.6)
9f86a6da
EF
2051 (name "rust-smithay-clipboard")
2052 (version "0.3.6")
2053 (source
2054 (origin
2055 (method url-fetch)
2056 (uri (crate-uri "smithay-clipboard" version))
2057 (file-name
2058 (string-append name "-" version ".tar.gz"))
2059 (sha256
2060 (base32
2061 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
9f86a6da
EF
2062 (arguments
2063 `(#:cargo-inputs
2064 (("rust-nix" ,rust-nix-0.14)
2065 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
2066 #:cargo-development-inputs
2067 (("rust-andrew" ,rust-andrew-0.2))))
2068 (inputs
48792fef 2069 `(("wayland" ,wayland)))))
9f86a6da
EF
2070
2071(define-public rust-tiff-0.5
2072 (package
2073 (name "rust-tiff")
2074 (version "0.5.0")
2075 (source
2076 (origin
2077 (method url-fetch)
2078 (uri (crate-uri "tiff" version))
2079 (file-name
2080 (string-append name "-" version ".tar.gz"))
2081 (sha256
2082 (base32
2083 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
2084 (build-system cargo-build-system)
2085 (arguments
2086 `(#:tests? #f ; not all test files included
2087 #:cargo-inputs
a699f329 2088 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2089 ("rust-lzw" ,rust-lzw-0.10)
2090 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
2091 (home-page "https://github.com/image-rs/image-tiff")
2092 (synopsis
2093 "TIFF decoding and encoding library in pure Rust")
2094 (description
2095 "TIFF decoding and encoding library in pure Rust.")
2096 (license license:expat)))
2097
2098(define-public rust-tiff-0.3
2099 (package
2100 (inherit rust-tiff-0.5)
2101 (name "rust-tiff")
2102 (version "0.3.1")
2103 (source
2104 (origin
2105 (method url-fetch)
2106 (uri (crate-uri "tiff" version))
2107 (file-name
2108 (string-append name "-" version ".tar.gz"))
2109 (sha256
2110 (base32
2111 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
2112 (arguments
2113 `(#:tests? #f ; Tests images not included with release.
2114 #:cargo-inputs
a699f329 2115 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2116 ("rust-lzw" ,rust-lzw-0.10)
2117 ("rust-num-derive" ,rust-num-derive-0.2)
2118 ("rust-num-traits" ,rust-num-traits-0.2))
2119 #:cargo-development-inputs
2120 (("rust-tempfile" ,rust-tempfile-3))))))
2121
2122(define-public rust-tiff-0.2
2123 (package
2124 (inherit rust-tiff-0.3)
2125 (name "rust-tiff")
2126 (version "0.2.2")
2127 (source
2128 (origin
2129 (method url-fetch)
2130 (uri (crate-uri "tiff" version))
2131 (file-name
2132 (string-append name "-" version ".tar.gz"))
2133 (sha256
2134 (base32
2135 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
2136 (arguments
2137 `(#:cargo-inputs
a699f329 2138 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2139 ("rust-lzw" ,rust-lzw-0.10)
2140 ("rust-num-derive" ,rust-num-derive-0.2)
2141 ("rust-num-traits" ,rust-num-traits-0.2))))))
2142
b3de00f5
NG
2143(define-public rust-wayland-client-0.28
2144 (package
2145 (name "rust-wayland-client")
2146 (version "0.28.3")
2147 (source
2148 (origin
2149 (method url-fetch)
2150 (uri (crate-uri "wayland-client" version))
2151 (file-name (string-append name "-" version ".tar.gz"))
2152 (sha256
2153 (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx"))))
2154 (build-system cargo-build-system)
2155 (arguments
2156 `(#:skip-build? #t
2157 #:cargo-inputs
2158 (("rust-bitflags" ,rust-bitflags-1)
2159 ("rust-downcast-rs" ,rust-downcast-rs-1)
2160 ("rust-libc" ,rust-libc-0.2)
2161 ("rust-nix" ,rust-nix-0.18)
2162 ("rust-scoped-tls" ,rust-scoped-tls-1)
2163 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2164 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2165 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2166 (home-page "https://github.com/smithay/wayland-rs")
2167 (synopsis
2168 "Rust bindings to the standard C implementation of the wayland protocol")
2169 (description
2170 "This package provides Rust bindings to the standard C implementation of
2171the wayland protocol, client side.")
2172 (license license:expat)))
2173
9f86a6da
EF
2174(define-public rust-wayland-client-0.23
2175 (package
b3de00f5 2176 (inherit rust-wayland-client-0.28)
9f86a6da
EF
2177 (name "rust-wayland-client")
2178 (version "0.23.6")
2179 (source
2180 (origin
2181 (method url-fetch)
2182 (uri (crate-uri "wayland-client" version))
2183 (file-name
2184 (string-append name "-" version ".tar.gz"))
2185 (sha256
2186 (base32
2187 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
9f86a6da
EF
2188 (arguments
2189 `(#:cargo-inputs
2190 (("rust-bitflags" ,rust-bitflags-1)
2191 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2192 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2193 ("rust-libc" ,rust-libc-0.2)
2194 ("rust-mio" ,rust-mio-0.6)
2195 ("rust-nix" ,rust-nix-0.14)
2196 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2197 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2198 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
2199 #:cargo-development-inputs
a699f329 2200 (("rust-byteorder" ,rust-byteorder-1)
b3de00f5 2201 ("rust-tempfile" ,rust-tempfile-3))))))
9f86a6da
EF
2202
2203(define-public rust-wayland-client-0.21
2204 (package
2205 (inherit rust-wayland-client-0.23)
2206 (name "rust-wayland-client")
2207 (version "0.21.13")
2208 (source
2209 (origin
2210 (method url-fetch)
2211 (uri (crate-uri "wayland-client" version))
2212 (file-name
2213 (string-append name "-" version ".tar.gz"))
2214 (sha256
2215 (base32
2216 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
2217 (arguments
2218 `(#:cargo-inputs
2219 (("rust-bitflags" ,rust-bitflags-1)
2220 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2221 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2222 ("rust-libc" ,rust-libc-0.2)
2223 ("rust-mio" ,rust-mio-0.6)
2224 ("rust-nix" ,rust-nix-0.14)
2225 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2226 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2227 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
2228 #:cargo-development-inputs
a699f329 2229 (("rust-byteorder" ,rust-byteorder-1)
9f86a6da
EF
2230 ("rust-tempfile" ,rust-tempfile-3))))))
2231
06c16eed
NG
2232(define-public rust-wayland-commons-0.28
2233 (package
2234 (name "rust-wayland-commons")
2235 (version "0.28.3")
2236 (source
2237 (origin
2238 (method url-fetch)
2239 (uri (crate-uri "wayland-commons" version))
2240 (file-name (string-append name "-" version ".tar.gz"))
2241 (sha256
2242 (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128"))))
2243 (build-system cargo-build-system)
2244 (arguments
2245 `(#:skip-build? #t
2246 #:cargo-inputs
2247 (("rust-nix" ,rust-nix-0.18)
2248 ("rust-once-cell" ,rust-once-cell-1)
2249 ("rust-smallvec" ,rust-smallvec-1)
2250 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2251 (home-page "https://github.com/smithay/wayland-rs")
2252 (synopsis "Types and structures used by wayland-client and wayland-server")
2253 (description
2254 "This package provides common types and structures used by wayland-client
2255and wayland-server.")
2256 (license license:expat)))
2257
9f86a6da
EF
2258(define-public rust-wayland-commons-0.23
2259 (package
06c16eed 2260 (inherit rust-wayland-commons-0.28)
9f86a6da
EF
2261 (name "rust-wayland-commons")
2262 (version "0.23.6")
2263 (source
2264 (origin
2265 (method url-fetch)
2266 (uri (crate-uri "wayland-commons" version))
2267 (file-name
2268 (string-append name "-" version ".tar.gz"))
2269 (sha256
2270 (base32
2271 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
9f86a6da
EF
2272 (arguments
2273 `(#:cargo-inputs
2274 (("rust-nix" ,rust-nix-0.14)
06c16eed 2275 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))))
9f86a6da
EF
2276
2277(define-public rust-wayland-commons-0.21
2278 (package
2279 (inherit rust-wayland-commons-0.23)
2280 (name "rust-wayland-commons")
2281 (version "0.21.13")
2282 (source
2283 (origin
2284 (method url-fetch)
2285 (uri (crate-uri "wayland-commons" version))
2286 (file-name
2287 (string-append name "-" version ".tar.gz"))
2288 (sha256
2289 (base32
2290 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2291 (arguments
2292 `(#:cargo-inputs
2293 (("rust-nix" ,rust-nix-0.14)
2294 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2295
224358df
NG
2296(define-public rust-wayland-cursor-0.28
2297 (package
2298 (name "rust-wayland-cursor")
2299 (version "0.28.3")
2300 (source
2301 (origin
2302 (method url-fetch)
2303 (uri (crate-uri "wayland-cursor" version))
2304 (file-name (string-append name "-" version ".tar.gz"))
2305 (sha256
2306 (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn"))))
2307 (build-system cargo-build-system)
2308 (arguments
2309 `(#:skip-build? #t
2310 #:cargo-inputs
2311 (("rust-nix" ,rust-nix-0.18)
2312 ("rust-wayland-client" ,rust-wayland-client-0.28)
2313 ("rust-xcursor" ,rust-xcursor-0.3))))
2314 (home-page "https://github.com/smithay/wayland-rs")
2315 (synopsis "Bindings to libwayland-cursor")
2316 (description
2317 "This crate provides helpers to load the system provided cursor images
2318and load them into WlBuffers as well as obtain the necessary metadata to
2319properly display animated cursors.")
2320 (license license:expat)))
2321
8ae5fb13
NG
2322(define-public rust-wayland-egl-0.28
2323 (package
2324 (name "rust-wayland-egl")
2325 (version "0.28.3")
2326 (source
2327 (origin
2328 (method url-fetch)
2329 (uri (crate-uri "wayland-egl" version))
2330 (file-name (string-append name "-" version ".tar.gz"))
2331 (sha256
2332 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2333 (build-system cargo-build-system)
2334 (arguments
2335 `(#:skip-build? #t
2336 #:cargo-inputs
2337 (("rust-wayland-client" ,rust-wayland-client-0.28)
2338 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2339 (home-page "https://github.com/smithay/wayland-rs")
2340 (synopsis "Bindings to libwayland-egl")
2341 (description
2342 "This crate provides bindings for OpenGL/Vulkan support for
2343Wayland client apps. It allows to create an EGLSurface from any
2344WlSurface, which can then play the role of the base surface for
2345initializing an OpenGL or Vulkan context.")
2346 (license license:expat)))
2347
fa8fb91d
NG
2348(define-public rust-wayland-protocols-0.28
2349 (package
2350 (name "rust-wayland-protocols")
2351 (version "0.28.3")
2352 (source
2353 (origin
2354 (method url-fetch)
2355 (uri (crate-uri "wayland-protocols" version))
2356 (file-name (string-append name "-" version ".tar.gz"))
2357 (sha256
2358 (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii"))))
2359 (build-system cargo-build-system)
2360 (arguments
2361 `(#:skip-build? #t
2362 #:cargo-inputs
2363 (("rust-bitflags" ,rust-bitflags-1)
2364 ("rust-wayland-client" ,rust-wayland-client-0.28)
2365 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2366 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2367 ("rust-wayland-server" ,rust-wayland-server-0.28))))
2368 (home-page "https://github.com/smithay/wayland-rs")
2369 (synopsis "Generated API for the officials Wayland protocol extensions")
2370 (description
2371 "This package provides a generated API for the officials Wayland protocol
2372extensions.")
2373 (license license:expat)))
2374
9f86a6da
EF
2375(define-public rust-wayland-protocols-0.23
2376 (package
fa8fb91d 2377 (inherit rust-wayland-protocols-0.28)
9f86a6da
EF
2378 (name "rust-wayland-protocols")
2379 (version "0.23.6")
2380 (source
2381 (origin
2382 (method url-fetch)
2383 (uri (crate-uri "wayland-protocols" version))
2384 (file-name
2385 (string-append name "-" version ".tar.gz"))
2386 (sha256
2387 (base32
2388 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
9f86a6da
EF
2389 (arguments
2390 `(#:cargo-inputs
2391 (("rust-bitflags" ,rust-bitflags-1)
2392 ("rust-wayland-client" ,rust-wayland-client-0.23)
2393 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2394 ("rust-wayland-server" ,rust-wayland-server-0.23)
fa8fb91d 2395 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))))
9f86a6da
EF
2396
2397(define-public rust-wayland-protocols-0.21
2398 (package
2399 (inherit rust-wayland-protocols-0.23)
2400 (name "rust-wayland-protocols")
2401 (version "0.21.13")
2402 (source
2403 (origin
2404 (method url-fetch)
2405 (uri (crate-uri "wayland-protocols" version))
2406 (file-name
2407 (string-append name "-" version ".tar.gz"))
2408 (sha256
2409 (base32
2410 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2411 (arguments
2412 `(#:cargo-inputs
2413 (("rust-bitflags" ,rust-bitflags-1)
2414 ("rust-wayland-client" ,rust-wayland-client-0.21)
2415 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2416 ("rust-wayland-server" ,rust-wayland-server-0.21)
2417 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2418 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2419
ce42526f
NG
2420(define-public rust-wayland-scanner-0.28
2421 (package
2422 (name "rust-wayland-scanner")
2423 (version "0.28.3")
2424 (source
2425 (origin
2426 (method url-fetch)
2427 (uri (crate-uri "wayland-scanner" version))
2428 (file-name (string-append name "-" version ".tar.gz"))
2429 (sha256
2430 (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
2431 (build-system cargo-build-system)
2432 (arguments
2433 `(#:skip-build? #t
2434 #:cargo-inputs
2435 (("rust-proc-macro2" ,rust-proc-macro2-1)
2436 ("rust-quote" ,rust-quote-1)
2437 ("rust-xml-rs" ,rust-xml-rs-0.8))))
2438 (home-page "https://github.com/smithay/wayland-rs")
2439 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2440 (description
2441 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2442It is intended for use with wayland-sys. You should only need this crate if
2443you are working on custom Wayland protocol extensions. Look at the
2444wayland-client crate for usable bindings.")
2445 (license license:expat)))
2446
9f86a6da
EF
2447(define-public rust-wayland-scanner-0.23
2448 (package
ce42526f 2449 (inherit rust-wayland-scanner-0.28)
9f86a6da
EF
2450 (name "rust-wayland-scanner")
2451 (version "0.23.6")
2452 (source
2453 (origin
2454 (method url-fetch)
2455 (uri (crate-uri "wayland-scanner" version))
2456 (file-name
2457 (string-append name "-" version ".tar.gz"))
2458 (sha256
2459 (base32
2460 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
9f86a6da
EF
2461 (arguments
2462 `(#:cargo-inputs
2463 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2464 ("rust-quote" ,rust-quote-0.6)
ce42526f 2465 ("rust-xml-rs" ,rust-xml-rs-0.8))))))
9f86a6da
EF
2466
2467(define-public rust-wayland-scanner-0.21
2468 (package
2469 (inherit rust-wayland-scanner-0.23)
2470 (name "rust-wayland-scanner")
2471 (version "0.21.13")
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 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2481
5a6c7b82
NG
2482(define-public rust-wayland-server-0.28
2483 (package
2484 (name "rust-wayland-server")
2485 (version "0.28.3")
2486 (source
2487 (origin
2488 (method url-fetch)
2489 (uri (crate-uri "wayland-server" version))
2490 (file-name (string-append name "-" version ".tar.gz"))
2491 (sha256
2492 (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93"))))
2493 (build-system cargo-build-system)
2494 (arguments
2495 `(#:skip-build? #t
2496 #:cargo-inputs
2497 (("rust-bitflags" ,rust-bitflags-1)
2498 ("rust-downcast-rs" ,rust-downcast-rs-1)
2499 ("rust-lazy-static" ,rust-lazy-static-1)
2500 ("rust-libc" ,rust-libc-0.2)
2501 ("rust-nix" ,rust-nix-0.18)
2502 ("rust-parking-lot" ,rust-parking-lot-0.11)
2503 ("rust-scoped-tls" ,rust-scoped-tls-1)
2504 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2505 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2506 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2507 (home-page "https://github.com/smithay/wayland-rs")
2508 (synopsis
2509 "Bindings to the standard C implementation of the wayland protocol")
2510 (description
2511 "This package provides Rust bindings to the standard C implementation of
2512the wayland protocol, server side.")
2513 (license license:expat)))
2514
9f86a6da
EF
2515(define-public rust-wayland-server-0.23
2516 (package
5a6c7b82 2517 (inherit rust-wayland-server-0.28)
9f86a6da
EF
2518 (name "rust-wayland-server")
2519 (version "0.23.6")
2520 (source
2521 (origin
2522 (method url-fetch)
2523 (uri (crate-uri "wayland-server" version))
2524 (file-name
2525 (string-append name "-" version ".tar.gz"))
2526 (sha256
2527 (base32
2528 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
9f86a6da
EF
2529 (arguments
2530 `(#:cargo-inputs
2531 (("rust-bitflags" ,rust-bitflags-1)
2532 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2533 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2534 ("rust-libc" ,rust-libc-0.2)
2535 ("rust-mio" ,rust-mio-0.6)
2536 ("rust-nix" ,rust-nix-0.14)
2537 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2538 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
5a6c7b82 2539 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))))
9f86a6da
EF
2540
2541(define-public rust-wayland-server-0.21
2542 (package
2543 (inherit rust-wayland-server-0.23)
2544 (name "rust-wayland-server")
2545 (version "0.21.13")
2546 (source
2547 (origin
2548 (method url-fetch)
2549 (uri (crate-uri "wayland-server" version))
2550 (file-name
2551 (string-append name "-" version ".tar.gz"))
2552 (sha256
2553 (base32
2554 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2555 (arguments
2556 `(#:cargo-inputs
2557 (("rust-bitflags" ,rust-bitflags-1)
2558 ("rust-calloop" ,rust-calloop-0.4)
abad76c6 2559 ("rust-downcast-rs" ,rust-downcast-rs-1)
9f86a6da
EF
2560 ("rust-libc" ,rust-libc-0.2)
2561 ("rust-mio" ,rust-mio-0.6)
2562 ("rust-nix" ,rust-nix-0.14)
2563 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2564 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2565 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2566
318c2db0
NG
2567(define-public rust-wayland-sys-0.28
2568 (package
2569 (name "rust-wayland-sys")
2570 (version "0.28.3")
2571 (source
2572 (origin
2573 (method url-fetch)
2574 (uri (crate-uri "wayland-sys" version))
2575 (file-name (string-append name "-" version ".tar.gz"))
2576 (sha256
2577 (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
2578 (build-system cargo-build-system)
2579 (arguments
2580 `(#:skip-build? #t
2581 #:cargo-inputs
2582 (("rust-dlib" ,rust-dlib-0.4)
2583 ("rust-lazy-static" ,rust-lazy-static-1)
2584 ("rust-libc" ,rust-libc-0.2)
2585 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2586 (home-page "https://github.com/smithay/wayland-rs")
2587 (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
2588 (description
2589 "This package provides FFI bindings to the various
2590@file{libwayland-*.so} libraries. You should only need this crate if
2591you are working on custom Wayland protocol extensions. Look at the
2592crate @code{rust-wayland-client} for usable bindings.")
2593 (license license:expat)))
2594
9f86a6da
EF
2595(define-public rust-wayland-sys-0.23
2596 (package
318c2db0 2597 (inherit rust-wayland-sys-0.28)
9f86a6da
EF
2598 (name "rust-wayland-sys")
2599 (version "0.23.6")
2600 (source
2601 (origin
2602 (method url-fetch)
2603 (uri (crate-uri "wayland-sys" version))
2604 (file-name
2605 (string-append name "-" version ".tar.gz"))
2606 (sha256
2607 (base32
2608 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
9f86a6da
EF
2609 (arguments
2610 `(#:cargo-inputs
2611 (("rust-dlib" ,rust-dlib-0.4)
2612 ("rust-lazy-static" ,rust-lazy-static-1)
318c2db0 2613 ("rust-libc" ,rust-libc-0.2))))))
9f86a6da
EF
2614
2615(define-public rust-wayland-sys-0.21
2616 (package
2617 (inherit rust-wayland-sys-0.23)
2618 (name "rust-wayland-sys")
2619 (version "0.21.13")
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 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2629
9cef662c
NG
2630(define-public rust-winit-0.24
2631 (package
2632 (name "rust-winit")
2633 (version "0.24.0")
2634 (source
2635 (origin
2636 (method url-fetch)
2637 (uri (crate-uri "winit" version))
2638 (file-name (string-append name "-" version ".tar.gz"))
2639 (sha256
2640 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2641 (build-system cargo-build-system)
2642 (arguments
2643 `(#:skip-build? #t
2644 #:cargo-inputs
2645 (("rust-bitflags" ,rust-bitflags-1)
2646 ("rust-cocoa" ,rust-cocoa-0.24)
2647 ("rust-core-foundation" ,rust-core-foundation-0.9)
2648 ("rust-core-graphics" ,rust-core-graphics-0.22)
2649 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2650 ("rust-dispatch" ,rust-dispatch-0.2)
2651 ("rust-instant" ,rust-instant-0.1)
2652 ("rust-lazy-static" ,rust-lazy-static-1)
2653 ("rust-libc" ,rust-libc-0.2)
2654 ("rust-log" ,rust-log-0.4)
2655 ("rust-mio" ,rust-mio-0.6)
2656 ("rust-mio-extras" ,rust-mio-extras-2)
2657 ("rust-ndk" ,rust-ndk-0.2)
2658 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2659 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2660 ("rust-objc" ,rust-objc-0.2)
2661 ("rust-parking-lot" ,rust-parking-lot-0.11)
2662 ("rust-percent-encoding" ,rust-percent-encoding-2)
2663 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2664 ("rust-serde" ,rust-serde-1)
2665 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2666 ("rust-stdweb" ,rust-stdweb-0.4)
2667 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2668 ("rust-wayland-client" ,rust-wayland-client-0.28)
2669 ("rust-web-sys" ,rust-web-sys-0.3)
2670 ("rust-winapi" ,rust-winapi-0.3)
2671 ("rust-x11-dl" ,rust-x11-dl-2))))
2672 (home-page "https://github.com/rust-windowing/winit")
2673 (synopsis "Window creation library")
2674 (description
2675 "Winit is a window creation and management library. It can create
2676windows and lets you handle events (for example: the window being
2677resized, a key being pressed, a mouse movement, etc.) produced by
2678window.
2679
2680Winit is designed to be a low-level brick in a hierarchy of libraries.
2681Consequently, in order to show something on the window you need to use
2682the platform-specific getters provided by winit, or another library.")
2683 (license license:asl2.0)))
2684
9f86a6da
EF
2685(define-public rust-winit-0.20
2686 (package
9cef662c 2687 (inherit rust-winit-0.24)
9f86a6da
EF
2688 (name "rust-winit")
2689 (version "0.20.0-alpha6")
2690 (source
2691 (origin
2692 (method url-fetch)
2693 (uri (crate-uri "winit" version))
2694 (file-name
2695 (string-append name "-" version ".tar.gz"))
2696 (sha256
2697 (base32
2698 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2699 (patches
2700 (list
2701 (origin
2702 (method url-fetch)
2703 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2704 (file-name (string-append name "-fix-bindings.patch"))
2705 (sha256
2706 (base32
2707 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
9f86a6da
EF
2708 (arguments
2709 `(#:cargo-inputs
2710 (("rust-android-glue" ,rust-android-glue-0.2)
2711 ("rust-bitflags" ,rust-bitflags-1)
2712 ("rust-calloop" ,rust-calloop-0.4)
2713 ("rust-cocoa" ,rust-cocoa-0.19)
2714 ("rust-core-foundation" ,rust-core-foundation-0.6)
2715 ("rust-core-graphics" ,rust-core-graphics-0.17)
2716 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2717 ("rust-dispatch" ,rust-dispatch-0.1)
2718 ("rust-instant" ,rust-instant-0.1)
2719 ("rust-lazy-static" ,rust-lazy-static-1)
2720 ("rust-libc" ,rust-libc-0.2)
2721 ("rust-log" ,rust-log-0.4)
2722 ("rust-objc" ,rust-objc-0.2)
2723 ("rust-parking-lot" ,rust-parking-lot-0.10)
2cc9d2a7 2724 ("rust-percent-encoding" ,rust-percent-encoding-2)
9f86a6da
EF
2725 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2726 ("rust-serde" ,rust-serde-1)
2727 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2728 ("rust-stdweb" ,rust-stdweb-0.4)
2729 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2730 ("rust-wayland-client" ,rust-wayland-client-0.23)
2731 ("rust-web-sys" ,rust-web-sys-0.3)
2732 ("rust-winapi" ,rust-winapi-0.3)
2733 ("rust-x11-dl" ,rust-x11-dl-2))
2734 #:cargo-development-inputs
2735 (("rust-console-log" ,rust-console-log-0.1)
2736 ("rust-env-logger" ,rust-env-logger-0.5)
9cef662c 2737 ("rust-image" ,rust-image-0.21))))))
9f86a6da
EF
2738
2739(define-public rust-winit-0.19
2740 (package
2741 (inherit rust-winit-0.20)
2742 (name "rust-winit")
2743 (version "0.19.5")
2744 (source
2745 (origin
2746 (method url-fetch)
2747 (uri (crate-uri "winit" version))
2748 (file-name
2749 (string-append name "-" version ".tar.gz"))
2750 (sha256
2751 (base32
2752 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2753 (arguments
2754 `(#:cargo-inputs
2755 (("rust-android-glue" ,rust-android-glue-0.2)
2756 ("rust-backtrace" ,rust-backtrace-0.3)
2757 ("rust-bitflags" ,rust-bitflags-1)
2758 ("rust-cocoa" ,rust-cocoa-0.18)
2759 ("rust-core-foundation" ,rust-core-foundation-0.6)
2760 ("rust-core-graphics" ,rust-core-graphics-0.17)
2761 ("rust-image" ,rust-image-0.21)
2762 ("rust-lazy-static" ,rust-lazy-static-1)
2763 ("rust-libc" ,rust-libc-0.2)
2764 ("rust-log" ,rust-log-0.4)
2765 ("rust-objc" ,rust-objc-0.2)
2766 ("rust-parking-lot" ,rust-parking-lot-0.9)
2cc9d2a7 2767 ("rust-percent-encoding" ,rust-percent-encoding-2)
9f86a6da
EF
2768 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2769 ("rust-serde" ,rust-serde-1)
2770 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2771 ("rust-wayland-client" ,rust-wayland-client-0.21)
2772 ("rust-winapi" ,rust-winapi-0.3)
2773 ("rust-x11-dl" ,rust-x11-dl-2))))))
2774
2775(define-public rust-x11-2
2776 (package
2777 (name "rust-x11")
9d012ddf 2778 (version "2.18.2")
9f86a6da
EF
2779 (source
2780 (origin
2781 (method url-fetch)
2782 (uri (crate-uri "x11" version))
2783 (file-name
2784 (string-append name "-" version ".tar.gz"))
2785 (sha256
9d012ddf 2786 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
9f86a6da
EF
2787 (build-system cargo-build-system)
2788 (arguments
2789 `(#:cargo-inputs
2790 (("rust-libc" ,rust-libc-0.2)
2791 ("rust-pkg-config" ,rust-pkg-config-0.3))))
9d012ddf 2792 (home-page "https://github.com/erlepereira/x11-rs")
9f86a6da 2793 (synopsis "X11 library bindings for Rust")
9d012ddf
NG
2794 (description "This crate provides X11 library bindings for Rust.")
2795 (license license:expat)))
9f86a6da 2796
330377cb
NG
2797(define-public rust-x11-clipboard-0.5
2798 (package
2799 (name "rust-x11-clipboard")
2800 (version "0.5.1")
2801 (source
2802 (origin
2803 (method url-fetch)
2804 (uri (crate-uri "x11-clipboard" version))
2805 (file-name (string-append name "-" version ".tar.gz"))
2806 (sha256
2807 (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5"))))
2808 (build-system cargo-build-system)
2809 (arguments
2810 `(#:skip-build? #t
2811 #:cargo-inputs
2812 (("rust-xcb" ,rust-xcb-0.9))))
2813 (home-page "https://github.com/quininer/x11-clipboard")
2814 (synopsis "x11 clipboard support for Rust")
2815 (description "This package provides x11 clipboard support for Rust.")
2816 (license license:expat)))
2817
9f86a6da
EF
2818(define-public rust-x11-clipboard-0.4
2819 (package
330377cb 2820 (inherit rust-x11-clipboard-0.5)
9f86a6da
EF
2821 (name "rust-x11-clipboard")
2822 (version "0.4.0")
2823 (source
2824 (origin
2825 (method url-fetch)
2826 (uri (crate-uri "x11-clipboard" version))
2827 (file-name
2828 (string-append name "-" version ".tar.gz"))
2829 (sha256
2830 (base32
2831 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
9f86a6da
EF
2832 (arguments
2833 `(#:tests? #f ; Tests require display server.
2834 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
2835 (native-inputs
330377cb 2836 `(("python" ,python)))))
9f86a6da
EF
2837
2838(define-public rust-x11-dl-2
2839 (package
2840 (name "rust-x11-dl")
2841 (version "2.18.5")
2842 (source
2843 (origin
2844 (method url-fetch)
2845 (uri (crate-uri "x11-dl" version))
2846 (file-name
2847 (string-append name "-" version ".tar.gz"))
2848 (sha256
2849 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2850 (build-system cargo-build-system)
2851 (arguments
2852 `(#:cargo-inputs
2853 (("rust-lazy-static" ,rust-lazy-static-1)
2854 ("rust-libc" ,rust-libc-0.2)
b0fb2963 2855 ("rust-maybe-uninit" ,rust-maybe-uninit-2)
9f86a6da
EF
2856 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2857 (home-page "https://github.com/erlepereira/x11-rs.git")
2858 (synopsis "X11 library bindings for Rust")
2859 (description "This package provides X11 library bindings for Rust.")
2860 (license license:cc0)))
2861
2862(define-public rust-y4m-0.5
2863 (package
2864 (name "rust-y4m")
2865 (version "0.5.3")
2866 (source
2867 (origin
2868 (method url-fetch)
2869 (uri (crate-uri "y4m" version))
2870 (file-name
2871 (string-append name "-" version ".tar.gz"))
2872 (sha256
2873 (base32
2874 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2875 (build-system cargo-build-system)
2876 (arguments
2877 `(#:cargo-development-inputs
2878 (("rust-resize" ,rust-resize-0.3))))
2879 (home-page "https://github.com/image-rs/y4m")
2880 (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2881 (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2882 (license license:expat)))