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