Merge branch 'ungrafting' into staging
[jackhill/guix/guix.git] / gnu / packages / crates-graphics.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
3 ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
4 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
5 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
6 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
7 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
8 ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
9 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
10 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
12 ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
13 ;;;
14 ;;; This file is part of GNU Guix.
15 ;;;
16 ;;; GNU Guix is free software; you can redistribute it and/or modify it
17 ;;; under the terms of the GNU General Public License as published by
18 ;;; the Free Software Foundation; either version 3 of the License, or (at
19 ;;; your option) any later version.
20 ;;;
21 ;;; GNU Guix is distributed in the hope that it will be useful, but
22 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
23 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 ;;; GNU General Public License for more details.
25 ;;;
26 ;;; You should have received a copy of the GNU General Public License
27 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28
29 (define-module (gnu packages crates-graphics)
30 #:use-module (guix build-system cargo)
31 #:use-module (guix download)
32 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix packages)
34 #:use-module (gnu packages)
35 #:use-module (gnu packages crates-io)
36 #:use-module (gnu packages freedesktop)
37 #:use-module (gnu packages llvm)
38 #:use-module (gnu packages pkg-config)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages video))
41
42 ;;;
43 ;;; Please: Try to add new module packages in alphabetic order.
44
45 (define-public rust-andrew-0.2
46 (package
47 (name "rust-andrew")
48 (version "0.2.1")
49 (source
50 (origin
51 (method url-fetch)
52 (uri (crate-uri "andrew" version))
53 (file-name
54 (string-append name "-" version ".tar.gz"))
55 (sha256
56 (base32
57 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
58 (build-system cargo-build-system)
59 (arguments
60 `(#:cargo-inputs
61 (("rust-bitflags" ,rust-bitflags-1)
62 ("rust-line-drawing" ,rust-line-drawing-0.7)
63 ("rust-rusttype" ,rust-rusttype-0.7)
64 ("rust-walkdir" ,rust-walkdir-2)
65 ("rust-xdg" ,rust-xdg-2.2)
66 ("rust-xml-rs" ,rust-xml-rs-0.8))
67 #:cargo-development-inputs
68 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
69 (inputs
70 `(("wayland" ,wayland)))
71 (home-page "https://github.com/trimental/andrew")
72 (synopsis "Provides convenient drawing of objects to buffers")
73 (description
74 "The @code{andrew} crate provides convenient drawing of objects such as
75 shapes, lines and text to buffers.")
76 (license license:expat)))
77
78 (define-public rust-ansi-colours-1
79 (package
80 (name "rust-ansi-colours")
81 (version "1.0.1")
82 (source
83 (origin
84 (method url-fetch)
85 (uri (crate-uri "ansi_colours" version))
86 (file-name
87 (string-append name "-" version ".tar.gz"))
88 (sha256
89 (base32
90 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
91 (build-system cargo-build-system)
92 (arguments
93 `(#:cargo-inputs
94 (("rust-cc" ,rust-cc-1))
95 #:cargo-development-inputs
96 (("rust-delta-e" ,rust-delta-e-0.2)
97 ("rust-lab" ,rust-lab-0.4))))
98 (home-page "https://github.com/mina86/ansi_colours")
99 (synopsis "Palette converter between true-colour and ANSI terminal")
100 (description
101 "@code{ansi_colours} is a library which converts between 24-bit sRGB
102 colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
103 @code{rxvt-unicode} in 256-colour mode.
104 The most common use case is when using 24-bit colours in a terminal emulator
105 which only support 8-bit colour palette. This package allows true-colours to be
106 approximated by values supported by the terminal.")
107 (license license:lgpl3+)))
108
109 (define-public rust-ansi-term-0.12
110 (package
111 (name "rust-ansi-term")
112 (version "0.12.1")
113 (source
114 (origin
115 (method url-fetch)
116 (uri (crate-uri "ansi_term" version))
117 (file-name (string-append name "-" version ".crate"))
118 (sha256
119 (base32
120 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
121 (build-system cargo-build-system)
122 (arguments
123 `(#:cargo-inputs
124 (("rust-serde" ,rust-serde-1)
125 ("rust-winapi" ,rust-winapi-0.3))
126 #:cargo-development-inputs
127 (("rust-doc-comment" ,rust-doc-comment-0.3)
128 ("rust-regex" ,rust-regex-1)
129 ("rust-serde-json" ,rust-serde-json-1))))
130 (home-page "https://github.com/ogham/rust-ansi-term")
131 (synopsis "Library for ANSI terminal colours and styles")
132 (description
133 "This is a library for controlling colours and formatting, such as red bold
134 text or blue underlined text, on ANSI terminals.")
135 (license license:expat)))
136
137 (define-public rust-ansi-term-0.11
138 (package
139 (inherit rust-ansi-term-0.12)
140 (name "rust-ansi-term")
141 (version "0.11.0")
142 (source
143 (origin
144 (method url-fetch)
145 (uri (crate-uri "ansi_term" version))
146 (file-name (string-append name "-" version ".crate"))
147 (sha256
148 (base32
149 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
150 (arguments
151 `(#:skip-build? #t
152 #:cargo-inputs
153 (("rust-winapi" ,rust-winapi-0.3))))))
154
155 (define-public rust-ansi-term-0.9
156 (package
157 (inherit rust-ansi-term-0.11)
158 (name "rust-ansi-term")
159 (version "0.9.0")
160 (source
161 (origin
162 (method url-fetch)
163 (uri (crate-uri "ansi_term" version))
164 (file-name
165 (string-append name "-" version ".tar.gz"))
166 (sha256
167 (base32
168 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
169 (arguments `())))
170
171 (define-public rust-aom-sys-0.2
172 (package
173 (name "rust-aom-sys")
174 (version "0.2.1")
175 (source
176 (origin
177 (method url-fetch)
178 (uri (crate-uri "aom-sys" version))
179 (file-name
180 (string-append name "-" version ".tar.gz"))
181 (sha256
182 (base32
183 "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
184 (build-system cargo-build-system)
185 (arguments
186 `(#:cargo-inputs
187 (("rust-bindgen" ,rust-bindgen-0.54)
188 ("rust-metadeps" ,rust-metadeps-1.1))))
189 (native-inputs
190 `(("pkg-config" ,pkg-config)))
191 (inputs
192 `(("libaom" ,libaom)
193 ("clang" ,clang)
194 ("llvm" ,llvm)))
195 (home-page "https://github.com/rust-av/aom-rs")
196 (synopsis "FFI bindings to aom")
197 (description "This package provides FFI bindings to aom.")
198 (license license:expat)))
199
200 (define-public rust-aom-sys-0.1
201 (package
202 (inherit rust-aom-sys-0.2)
203 (name "rust-aom-sys")
204 (version "0.1.4")
205 (source
206 (origin
207 (method url-fetch)
208 (uri (crate-uri "aom-sys" version))
209 (file-name
210 (string-append name "-" version ".tar.gz"))
211 (sha256
212 (base32
213 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
214 (build-system cargo-build-system)
215 (arguments
216 `(#:cargo-inputs
217 (("rust-bindgen" ,rust-bindgen-0.53)
218 ("rust-metadeps" ,rust-metadeps-1.1))))
219 (native-inputs
220 `(("pkg-config" ,pkg-config)))
221 (inputs
222 `(("libaom" ,libaom)
223 ("clang" ,clang)
224 ("llvm" ,llvm)))))
225
226 (define-public rust-ascii-canvas-2
227 (package
228 (name "rust-ascii-canvas")
229 (version "2.0.0")
230 (source
231 (origin
232 (method url-fetch)
233 (uri (crate-uri "ascii-canvas" version))
234 (file-name (string-append name "-" version ".tar.gz"))
235 (sha256
236 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
237 (build-system cargo-build-system)
238 (arguments
239 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
240 #:cargo-inputs
241 (("rust-term" ,rust-term-0.5))))
242 (home-page "https://github.com/nikomatsakis/ascii-canvas")
243 (synopsis "Simple canvas for drawing lines and styled text and emitting to
244 the terminal")
245 (description "@code{ASCII} canvas is a simple Rust library that allows you
246 to draw lines and colored text and then write them to the terminal. It uses
247 the term library to handle the ANSI nonsense and hence it works on Windows,
248 Mac, and Unix.")
249 (license (list license:asl2.0 license:expat))))
250
251 (define-public rust-cgl-0.3
252 (package
253 (name "rust-cgl")
254 (version "0.3.2")
255 (source
256 (origin
257 (method url-fetch)
258 (uri (crate-uri "cgl" version))
259 (file-name
260 (string-append name "-" version ".tar.gz"))
261 (sha256
262 (base32
263 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
264 (build-system cargo-build-system)
265 (arguments
266 `(#:skip-build? #t ; only available on macOS
267 #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
268 (home-page "https://github.com/servo/cgl-rs")
269 (synopsis "Rust bindings for CGL on Mac")
270 (description "Rust bindings for CGL on Mac.")
271 (license (list license:expat license:asl2.0))))
272
273 (define-public rust-cgl-0.2
274 (package
275 (inherit rust-cgl-0.3)
276 (name "rust-cgl")
277 (version "0.2.3")
278 (source
279 (origin
280 (method url-fetch)
281 (uri (crate-uri "cgl" version))
282 (file-name
283 (string-append name "-" version ".tar.gz"))
284 (sha256
285 (base32
286 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
287 (arguments
288 `(#:skip-build? #t ; only available on macOS
289 #:cargo-inputs
290 (("rust-gleam" ,rust-gleam-0.6)
291 ("rust-libc" ,rust-libc-0.2))))))
292
293 (define-public rust-cgmath-0.17
294 (package
295 (name "rust-cgmath")
296 (version "0.17.0")
297 (source
298 (origin
299 (method url-fetch)
300 (uri (crate-uri "cgmath" version))
301 (file-name
302 (string-append name "-" version ".tar.gz"))
303 (sha256
304 (base32
305 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
306 (build-system cargo-build-system)
307 (arguments
308 `(#:skip-build? #t ; Crate won't build without glium.
309 #:cargo-inputs
310 (("rust-approx" ,rust-approx-0.3)
311 ("rust-mint" ,rust-mint-0.5)
312 ("rust-num-traits" ,rust-num-traits-0.2)
313 ("rust-rand" ,rust-rand-0.6)
314 ("rust-serde" ,rust-serde-1)
315 ("rust-simd" ,rust-simd-0.2))
316 #:cargo-development-inputs
317 (;("rust-glium" ,rust-glium-0.23)
318 ("rust-serde-json" ,rust-serde-json-1))))
319 (home-page "https://github.com/brendanzab/cgmath")
320 (synopsis "Linear algebra and mathematics library")
321 (description
322 "This package provides a linear algebra and mathematics library
323 for computer graphics.")
324 (license license:asl2.0)))
325
326 (define-public rust-cgmath-0.16
327 (package
328 (inherit rust-cgmath-0.17)
329 (name "rust-cgmath")
330 (version "0.16.1")
331 (source
332 (origin
333 (method url-fetch)
334 (uri (crate-uri "cgmath" version))
335 (file-name
336 (string-append name "-" version ".tar.gz"))
337 (sha256
338 (base32
339 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
340 (arguments
341 `(#:skip-build? #t ; Crate won't build without glium.
342 #:cargo-inputs
343 (("rust-approx" ,rust-approx-0.1)
344 ("rust-mint" ,rust-mint-0.5)
345 ("rust-num-traits" ,rust-num-traits-0.1)
346 ("rust-rand" ,rust-rand-0.4)
347 ("rust-serde" ,rust-serde-1)
348 ("rust-simd" ,rust-simd-0.2))
349 #:cargo-development-inputs
350 (;("rust-glium" ,rust-glium-0.19)
351 ("rust-serde-json" ,rust-serde-json-1))))))
352
353 (define-public rust-core-graphics-0.17
354 (package
355 (name "rust-core-graphics")
356 (version "0.17.3")
357 (source
358 (origin
359 (method url-fetch)
360 (uri (crate-uri "core-graphics" version))
361 (file-name
362 (string-append name "-" version ".tar.gz"))
363 (sha256
364 (base32
365 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
366 (build-system cargo-build-system)
367 (arguments
368 `(#:skip-build? #t ; only for macOS
369 #:cargo-inputs
370 (("rust-bitflags" ,rust-bitflags-1)
371 ("rust-core-foundation" ,rust-core-foundation-0.6)
372 ("rust-foreign-types" ,rust-foreign-types-0.3)
373 ("rust-libc" ,rust-libc-0.2))))
374 (home-page "https://github.com/servo/core-graphics-rs")
375 (synopsis "Bindings to Core Graphics for macOS")
376 (description
377 "Bindings to Core Graphics for macOS.")
378 (license (list license:expat license:asl2.0))))
379
380 (define-public rust-core-video-sys-0.1
381 (package
382 (name "rust-core-video-sys")
383 (version "0.1.3")
384 (source
385 (origin
386 (method url-fetch)
387 (uri (crate-uri "core-video-sys" version))
388 (file-name
389 (string-append name "-" version ".tar.gz"))
390 (sha256
391 (base32
392 "1l59cg88482hkl95ssb30ac9x65hpbdsmxz9s5r6y222jlhnbh4d"))))
393 (build-system cargo-build-system)
394 (arguments
395 `(#:skip-build? #t ; only for macOS
396 #:cargo-inputs
397 (("rust-cfg-if" ,rust-cfg-if-0.1)
398 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
399 ("rust-core-graphics" ,rust-core-graphics-0.17)
400 ("rust-libc" ,rust-libc-0.2)
401 ("rust-metal" ,rust-metal-0.14)
402 ("rust-objc" ,rust-objc-0.2))))
403 (home-page "https://github.com/luozijun/rust-core-video-sys")
404 (synopsis "Bindings to CoreVideo.framework for macOS and iOS")
405 (description "Bindings to CoreVideo.framework for macOS and iOS.")
406 (license license:expat)))
407
408 (define-public rust-dav1d-sys-0.3
409 (package
410 (name "rust-dav1d-sys")
411 (version "0.3.2")
412 (source
413 (origin
414 (method url-fetch)
415 (uri (crate-uri "dav1d-sys" version))
416 (file-name
417 (string-append name "-" version ".tar.gz"))
418 (sha256
419 (base32
420 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
421 (build-system cargo-build-system)
422 (arguments
423 `(#:cargo-inputs
424 (("rust-bindgen" ,rust-bindgen-0.54)
425 ("rust-metadeps" ,rust-metadeps-1.1))))
426 (native-inputs
427 `(("pkg-config" ,pkg-config)))
428 (inputs
429 `(("dav1d" ,dav1d)
430 ("clang" ,clang)
431 ("llvm" ,llvm)))
432 (home-page "https://github.com/rust-av/dav1d-rs")
433 (synopsis "FFI bindings to dav1d")
434 (description "This package provides FFI bindings to dav1d.")
435 (license license:expat)))
436
437 (define-public rust-euclid-0.20
438 (package
439 (name "rust-euclid")
440 (version "0.20.10")
441 (source
442 (origin
443 (method url-fetch)
444 (uri (crate-uri "euclid" version))
445 (file-name
446 (string-append name "-" version ".tar.gz"))
447 (sha256
448 (base32
449 "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
450 (build-system cargo-build-system)
451 (arguments
452 `(#:cargo-inputs
453 (("rust-mint" ,rust-mint-0.5)
454 ("rust-num-traits" ,rust-num-traits-0.2)
455 ("rust-serde" ,rust-serde-1))
456 #:cargo-development-inputs
457 (("rust-serde-test" ,rust-serde-test-1))))
458 (home-page "https://github.com/servo/euclid")
459 (synopsis "Geometry primitives")
460 (description "Geometry primitives written in Rust.")
461 (license (list license:expat license:asl2.0))))
462
463 (define-public rust-gfx-0.18
464 (package
465 (name "rust-gfx")
466 (version "0.18.2")
467 (source
468 (origin
469 (method url-fetch)
470 (uri (crate-uri "gfx" version))
471 (file-name
472 (string-append name "-" version ".tar.gz"))
473 (sha256
474 (base32
475 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
476 (build-system cargo-build-system)
477 (arguments
478 `(#:skip-build? #t
479 #:cargo-inputs
480 (("rust-log" ,rust-log-0.4)
481 ("rust-mint" ,rust-mint-0.5)
482 ("rust-draw-state" ,rust-draw-state-0.8)
483 ("rust-gfx-core" ,rust-gfx-core-0.9))))
484 (home-page "https://github.com/gfx-rs/gfx")
485 (synopsis "High-performance, bindless graphics API")
486 (description
487 "This package provides a high-performance, bindless graphics API.")
488 (license license:asl2.0)))
489
490 (define-public rust-gfx-core-0.9
491 (package
492 (name "rust-gfx-core")
493 (version "0.9.2")
494 (source
495 (origin
496 (method url-fetch)
497 (uri (crate-uri "gfx_core" version))
498 (file-name
499 (string-append name "-" version ".tar.gz"))
500 (sha256
501 (base32
502 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
503 (build-system cargo-build-system)
504 (arguments
505 `(#:skip-build? #t
506 #:cargo-inputs
507 (("rust-log" ,rust-log-0.4)
508 ("rust-mint" ,rust-mint-0.5)
509 ("rust-draw-state" ,rust-draw-state-0.8)
510 ("rust-serde" ,rust-serde-1)
511 ("rust-bitflags" ,rust-bitflags-1))))
512 (home-page "https://github.com/gfx-rs/gfx")
513 (synopsis "Core library of Gfx-rs")
514 (description "This package is a core library of Gfx-rs.")
515 (license license:asl2.0)))
516
517 (define-public rust-gfx-device-gl-0.16
518 (package
519 (name "rust-gfx-device-gl")
520 (version "0.16.2")
521 (source
522 (origin
523 (method url-fetch)
524 (uri (crate-uri "gfx_device_gl" version))
525 (file-name
526 (string-append name "-" version ".tar.gz"))
527 (sha256
528 (base32
529 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
530 (build-system cargo-build-system)
531 (arguments
532 `(#:skip-build? #t
533 #:cargo-inputs
534 (("rust-log" ,rust-log-0.4)
535 ("rust-gfx-gl" ,rust-gfx-gl-0.6)
536 ("rust-gfx-core" ,rust-gfx-core-0.9))))
537 (home-page "https://github.com/gfx-rs/gfx")
538 (synopsis "OpenGL backend for gfx-rs")
539 (description "This package provides the openGL backend for gfx-rs.")
540 (license license:asl2.0)))
541
542 (define-public rust-gfx-gl-0.6
543 (package
544 (name "rust-gfx-gl")
545 (version "0.6.1")
546 (source
547 (origin
548 (method url-fetch)
549 (uri (crate-uri "gfx_gl" version))
550 (file-name
551 (string-append name "-" version ".tar.gz"))
552 (sha256
553 (base32
554 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
555 (build-system cargo-build-system)
556 (arguments
557 `(#:skip-build? #t
558 #:cargo-inputs
559 (("rust-gl-generator" ,rust-gl-generator-0.14))))
560 (home-page "https://github.com/gfx-rs/gfx_gl")
561 (synopsis "OpenGL bindings for gfx, based on gl-rs")
562 (description
563 "This package provides OpenGL bindings for gfx, based on gl-rs.")
564 (license license:asl2.0)))
565
566 (define-public rust-gif-0.10
567 (package
568 (name "rust-gif")
569 (version "0.10.3")
570 (source
571 (origin
572 (method url-fetch)
573 (uri (crate-uri "gif" version))
574 (file-name
575 (string-append name "-" version ".tar.gz"))
576 (sha256
577 (base32
578 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
579 (build-system cargo-build-system)
580 (arguments
581 `(#:tests? #f ; tests not included in release
582 #:cargo-inputs
583 (("rust-color-quant" ,rust-color-quant-1.0)
584 ("rust-libc" ,rust-libc-0.2)
585 ("rust-lzw" ,rust-lzw-0.10))
586 #:cargo-development-inputs
587 (("rust-glob" ,rust-glob-0.3))))
588 (home-page "https://github.com/image-rs/image-gif")
589 (synopsis "GIF decoder and encoder")
590 (description "This package provides a GIF decoder and encoder in Rust.")
591 (license (list license:expat license:asl2.0))))
592
593 (define-public rust-gl-0.11
594 (package
595 (name "rust-gl")
596 (version "0.11.0")
597 (source
598 (origin
599 (method url-fetch)
600 (uri (crate-uri "gl" version))
601 (file-name
602 (string-append name "-" version ".tar.gz"))
603 (sha256
604 (base32
605 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
606 (build-system cargo-build-system)
607 (arguments
608 `(#:skip-build? #t
609 #:cargo-inputs
610 (("rust-gl-generator" ,rust-gl-generator-0.10))))
611 (home-page "https://github.com/brendanzab/gl-rs/")
612 (synopsis "OpenGL bindings for rust")
613 (description "This package provides OpenGL bindings for rust.")
614 (license license:asl2.0)))
615
616 (define-public rust-gl-generator-0.14
617 (package
618 (name "rust-gl-generator")
619 (version "0.14.0")
620 (source
621 (origin
622 (method url-fetch)
623 (uri (crate-uri "gl-generator" version))
624 (file-name
625 (string-append name "-" version ".tar.gz"))
626 (sha256
627 (base32
628 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
629 (build-system cargo-build-system)
630 (arguments
631 `(#:cargo-inputs
632 (("rust-khronos-api" ,rust-khronos-api-3)
633 ("rust-log" ,rust-log-0.4)
634 ("rust-xml-rs" ,rust-xml-rs-0.8))))
635 (home-page "https://github.com/brendanzab/gl-rs/")
636 (synopsis "Code generators for bindings to the Khronos OpenGL APIs")
637 (description
638 "Code generators for creating bindings to the Khronos OpenGL APIs.")
639 (license license:asl2.0)))
640
641 (define-public rust-gl-generator-0.13
642 (package
643 (inherit rust-gl-generator-0.14)
644 (name "rust-gl-generator")
645 (version "0.13.1")
646 (source
647 (origin
648 (method url-fetch)
649 (uri (crate-uri "gl-generator" version))
650 (file-name
651 (string-append name "-" version ".tar.gz"))
652 (sha256
653 (base32
654 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
655
656 (define-public rust-gl-generator-0.11
657 (package
658 (inherit rust-gl-generator-0.13)
659 (name "rust-gl-generator")
660 (version "0.11.0")
661 (source
662 (origin
663 (method url-fetch)
664 (uri (crate-uri "gl-generator" version))
665 (file-name
666 (string-append name "-" version ".tar.gz"))
667 (sha256
668 (base32
669 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
670
671 (define-public rust-gl-generator-0.10
672 (package
673 (name "rust-gl-generator")
674 (version "0.10.0")
675 (source
676 (origin
677 (method url-fetch)
678 (uri (crate-uri "gl_generator" version))
679 (file-name
680 (string-append name "-" version ".tar.gz"))
681 (sha256
682 (base32
683 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
684 (build-system cargo-build-system)
685 (arguments
686 `(#:skip-build? #t
687 #:cargo-inputs
688 (("rust-log" ,rust-log-0.4)
689 ("rust-xml-rs" ,rust-xml-rs-0.8)
690 ("rust-khronos-api" ,rust-khronos-api-3))))
691 (home-page "https://github.com/brendanzab/gl-rs/")
692 (synopsis
693 "Code generators for creating bindings to the Khronos OpenGL APIs")
694 (description
695 "Code generators for creating bindings to the Khronos OpenGL APIs.")
696 (license license:asl2.0)))
697
698 (define-public rust-gleam-0.6
699 (package
700 (name "rust-gleam")
701 (version "0.6.19")
702 (source
703 (origin
704 (method url-fetch)
705 (uri (crate-uri "gleam" version))
706 (file-name
707 (string-append name "-" version ".tar.gz"))
708 (sha256
709 (base32
710 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
711 (build-system cargo-build-system)
712 (arguments
713 `(#:cargo-inputs
714 (("rust-gl-generator" ,rust-gl-generator-0.13))))
715 (home-page "https://github.com/servo/gleam")
716 (synopsis "Generated OpenGL bindings and wrapper for Servo")
717 (description
718 "Generated OpenGL bindings and wrapper for Servo.")
719 (license (list license:asl2.0 license:expat))))
720
721 (define-public rust-glutin-0.22
722 (package
723 (name "rust-glutin")
724 (version "0.22.0-alpha5")
725 (source
726 (origin
727 (method url-fetch)
728 (uri (crate-uri "glutin" version))
729 (file-name
730 (string-append name "-" version ".tar.gz"))
731 (sha256
732 (base32
733 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
734 (build-system cargo-build-system)
735 (arguments
736 `(#:cargo-inputs
737 (("rust-android-glue" ,rust-android-glue-0.2)
738 ("rust-cgl" ,rust-cgl-0.3)
739 ("rust-cocoa" ,rust-cocoa-0.19)
740 ("rust-core-foundation" ,rust-core-foundation-0.6)
741 ("rust-core-graphics" ,rust-core-graphics-0.17)
742 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
743 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
744 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
745 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
746 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
747 ("rust-lazy-static" ,rust-lazy-static-1)
748 ("rust-libloading" ,rust-libloading-0.5)
749 ("rust-log" ,rust-log-0.4)
750 ("rust-objc" ,rust-objc-0.2)
751 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
752 ("rust-parking-lot" ,rust-parking-lot-0.9)
753 ("rust-wayland-client" ,rust-wayland-client-0.23)
754 ("rust-winapi" ,rust-winapi-0.3)
755 ("rust-winit" ,rust-winit-0.20))))
756 (home-page "https://github.com/tomaka/glutin")
757 (synopsis
758 "Cross-platform OpenGL context provider")
759 (description
760 "Cross-platform OpenGL context provider.")
761 (license license:asl2.0)))
762
763 (define-public rust-glutin-0.21
764 (package
765 (inherit rust-glutin-0.22)
766 (name "rust-glutin")
767 (version "0.21.2")
768 (source
769 (origin
770 (method url-fetch)
771 (uri (crate-uri "glutin" version))
772 (file-name
773 (string-append name "-" version ".tar.gz"))
774 (sha256
775 (base32
776 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
777 (arguments
778 `(#:cargo-inputs
779 (("rust-android-glue" ,rust-android-glue-0.2)
780 ("rust-cgl" ,rust-cgl-0.2)
781 ("rust-cocoa" ,rust-cocoa-0.18)
782 ("rust-core-foundation" ,rust-core-foundation-0.6)
783 ("rust-core-graphics" ,rust-core-graphics-0.17)
784 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
785 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
786 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
787 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
788 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
789 ("rust-lazy-static" ,rust-lazy-static-1)
790 ("rust-libloading" ,rust-libloading-0.5)
791 ("rust-objc" ,rust-objc-0.2)
792 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
793 ("rust-parking-lot" ,rust-parking-lot-0.9)
794 ("rust-wayland-client" ,rust-wayland-client-0.21)
795 ("rust-winapi" ,rust-winapi-0.3)
796 ("rust-winit" ,rust-winit-0.19))))))
797
798 (define-public rust-glutin-egl-sys-0.1
799 (package
800 (name "rust-glutin-egl-sys")
801 (version "0.1.4")
802 (source
803 (origin
804 (method url-fetch)
805 (uri (crate-uri "glutin-egl-sys" version))
806 (file-name
807 (string-append name "-" version ".tar.gz"))
808 (sha256
809 (base32
810 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
811 (build-system cargo-build-system)
812 (arguments
813 `(#:cargo-inputs
814 (("rust-winapi" ,rust-winapi-0.3)
815 ("rust-gl-generator" ,rust-gl-generator-0.13))))
816 (home-page "https://github.com/rust-windowing/glutin")
817 (synopsis "Egl bindings for glutin")
818 (description "The egl bindings for glutin.")
819 (license license:asl2.0)))
820
821 (define-public rust-glutin-emscripten-sys-0.1
822 (package
823 (name "rust-glutin-emscripten-sys")
824 (version "0.1.0")
825 (source
826 (origin
827 (method url-fetch)
828 (uri (crate-uri "glutin_emscripten_sys" version))
829 (file-name
830 (string-append name "-" version ".tar.gz"))
831 (sha256
832 (base32
833 "1ix0jmm8p5if4qarzdfl5mz9rbq4hhgqarakb3bzwvyz13dkynr4"))))
834 (build-system cargo-build-system)
835 (home-page "https://github.com/tomaka/glutin")
836 (synopsis "Emscripten bindings for glutin")
837 (description "The emscripten bindings for glutin.")
838 (license license:asl2.0)))
839
840 (define-public rust-glutin-gles2-sys-0.1
841 (package
842 (name "rust-glutin-gles2-sys")
843 (version "0.1.3")
844 (source
845 (origin
846 (method url-fetch)
847 (uri (crate-uri "glutin_gles2_sys" version))
848 (file-name
849 (string-append name "-" version ".tar.gz"))
850 (sha256
851 (base32
852 "1pswvl5zyqmqwzjr674yzslj0al2xbqsp2ai9ggb9qbshlq6r6c9"))))
853 (build-system cargo-build-system)
854 (arguments
855 `(#:cargo-inputs
856 (("rust-objc" ,rust-objc-0.2)
857 ("rust-gl-generator" ,rust-gl-generator-0.11))))
858 (home-page "https://github.com/tomaka/glutin")
859 (synopsis "The gles2 bindings for glutin")
860 (description "The gles2 bindings for glutin.")
861 (license license:asl2.0)))
862
863 (define-public rust-glutin-glx-sys-0.1
864 (package
865 (name "rust-glutin-glx-sys")
866 (version "0.1.5")
867 (source
868 (origin
869 (method url-fetch)
870 (uri (crate-uri "glutin-glx-sys" version))
871 (file-name
872 (string-append name "-" version ".tar.gz"))
873 (sha256
874 (base32
875 "0mxs3mil68xqqb49466n5rpwpcllj6fwqjgrcrzzmz26bv5ab40j"))))
876 (build-system cargo-build-system)
877 (arguments
878 `(#:cargo-inputs
879 (("rust-x11-dl" ,rust-x11-dl-2)
880 ("rust-gl-generator" ,rust-gl-generator-0.11))))
881 (home-page "https://github.com/tomaka/glutin")
882 (synopsis "Glx bindings for glutin")
883 (description "The glx bindings for glutin.")
884 (license license:asl2.0)))
885
886 (define-public rust-glutin-wgl-sys-0.1
887 (package
888 (name "rust-glutin-wgl-sys")
889 (version "0.1.3")
890 (source
891 (origin
892 (method url-fetch)
893 (uri (crate-uri "glutin-wgl-sys" version))
894 (file-name
895 (string-append name "-" version ".tar.gz"))
896 (sha256
897 (base32
898 "08chlfzpj59q36qm212i4k879gvjzha7i90q90fds8pw3v4vn0gq"))))
899 (build-system cargo-build-system)
900 (arguments
901 `(#:cargo-inputs
902 (("rust-gl-generator" ,rust-gl-generator-0.11))))
903 (home-page "https://github.com/tomaka/glutin")
904 (synopsis "Wgl bindings for glutin")
905 (description "The wgl bindings for glutin.")
906 (license license:asl2.0)))
907
908 (define-public rust-image-0.23
909 (package
910 (name "rust-image")
911 (version "0.23.6")
912 (source
913 (origin
914 (method url-fetch)
915 (uri (crate-uri "image" version))
916 (file-name
917 (string-append name "-" version ".tar.gz"))
918 (sha256
919 (base32
920 "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m"))))
921 (build-system cargo-build-system)
922 (arguments
923 `(#:tests? #f ; Some test images are missing from the release.
924 #:cargo-inputs
925 (("rust-bytemuck" ,rust-bytemuck-1)
926 ("rust-byteorder" ,rust-byteorder-1)
927 ("rust-gif" ,rust-gif-0.10)
928 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
929 ("rust-num-iter" ,rust-num-iter-0.1)
930 ("rust-num-rational" ,rust-num-rational-0.3)
931 ("rust-num-traits" ,rust-num-traits-0.2)
932 ("rust-png" ,rust-png-0.16)
933 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
934 ("rust-tiff" ,rust-tiff-0.5))
935 #:cargo-development-inputs
936 (("rust-crc32fast" ,rust-crc32fast-1)
937 ("rust-criterion" ,rust-criterion-0.3)
938 ("rust-glob" ,rust-glob-0.3)
939 ("rust-num-complex" ,rust-num-complex-0.3)
940 ("rust-quickcheck" ,rust-quickcheck-0.9))))
941 (home-page "https://github.com/image-rs/image")
942 (synopsis "Imaging library written in Rust")
943 (description
944 "Imaging library written in Rust. Provides basic filters and decoders
945 for the most common image formats.")
946 (license license:expat)))
947
948 (define-public rust-image-0.22
949 (package
950 (inherit rust-image-0.23)
951 (name "rust-image")
952 (version "0.22.5")
953 (source
954 (origin
955 (method url-fetch)
956 (uri (crate-uri "image" version))
957 (file-name
958 (string-append name "-" version ".tar.gz"))
959 (sha256
960 (base32
961 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
962 (arguments
963 `(#:tests? #f ; Some test images are missing from the release.
964 #:cargo-inputs
965 (("rust-byteorder" ,rust-byteorder-1)
966 ("rust-gif" ,rust-gif-0.10)
967 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
968 ("rust-num-iter" ,rust-num-iter-0.1)
969 ("rust-num-rational" ,rust-num-rational-0.2)
970 ("rust-num-traits" ,rust-num-traits-0.2)
971 ("rust-png" ,rust-png-0.15)
972 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
973 ("rust-tiff" ,rust-tiff-0.3))
974 #:cargo-development-inputs
975 (("rust-crc32fast" ,rust-crc32fast-1)
976 ("rust-glob" ,rust-glob-0.3)
977 ("rust-num-complex" ,rust-num-complex-0.2)
978 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
979
980 (define-public rust-image-0.21
981 (package
982 (inherit rust-image-0.22)
983 (name "rust-image")
984 (version "0.21.3")
985 (source
986 (origin
987 (method url-fetch)
988 (uri (crate-uri "image" version))
989 (file-name
990 (string-append name "-" version ".tar.gz"))
991 (sha256
992 (base32
993 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
994 (arguments
995 `(#:cargo-inputs
996 (("rust-byteorder" ,rust-byteorder-1)
997 ("rust-gif" ,rust-gif-0.10)
998 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
999 ("rust-lzw" ,rust-lzw-0.10)
1000 ("rust-num-iter" ,rust-num-iter-0.1)
1001 ("rust-num-rational" ,rust-num-rational-0.2)
1002 ("rust-num-traits" ,rust-num-traits-0.2)
1003 ("rust-png" ,rust-png-0.14)
1004 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1005 ("rust-tiff" ,rust-tiff-0.2))
1006 #:cargo-development-inputs
1007 (("rust-glob" ,rust-glob-0.3)
1008 ("rust-num-complex" ,rust-num-complex-0.2)
1009 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1010
1011 (define-public rust-image-0.20
1012 (package
1013 (inherit rust-image-0.21)
1014 (name "rust-image")
1015 (version "0.20.1")
1016 (source
1017 (origin
1018 (method url-fetch)
1019 (uri (crate-uri "image" version))
1020 (file-name
1021 (string-append name "-" version ".tar.gz"))
1022 (sha256
1023 (base32
1024 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1025 (arguments
1026 `(#:cargo-inputs
1027 (("rust-byteorder" ,rust-byteorder-1)
1028 ("rust-gif" ,rust-gif-0.10)
1029 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1030 ("rust-lzw" ,rust-lzw-0.10)
1031 ("rust-num-iter" ,rust-num-iter-0.1)
1032 ("rust-num-rational" ,rust-num-rational-0.2)
1033 ("rust-num-traits" ,rust-num-traits-0.2)
1034 ("rust-png" ,rust-png-0.12)
1035 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1036 ("rust-tiff" ,rust-tiff-0.2))
1037 #:cargo-development-inputs
1038 (("rust-glob" ,rust-glob-0.2)
1039 ("rust-num-complex" ,rust-num-complex-0.2)
1040 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1041
1042 (define-public rust-jpeg-decoder-0.1
1043 (package
1044 (name "rust-jpeg-decoder")
1045 (version "0.1.18")
1046 (source
1047 (origin
1048 (method url-fetch)
1049 (uri (crate-uri "jpeg-decoder" version))
1050 (file-name
1051 (string-append name "-" version ".tar.gz"))
1052 (sha256
1053 (base32
1054 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1055 (build-system cargo-build-system)
1056 (arguments
1057 `(#:tests? #f ; Some test files missing.
1058 #:cargo-inputs
1059 (("rust-byteorder" ,rust-byteorder-1)
1060 ("rust-rayon" ,rust-rayon-1))
1061 #:cargo-development-inputs
1062 (("rust-criterion" ,rust-criterion-0.3)
1063 ("rust-png" ,rust-png-0.14)
1064 ("rust-walkdir" ,rust-walkdir-2))))
1065 (home-page "https://github.com/image-rs/jpeg-decoder")
1066 (synopsis "JPEG decoder")
1067 (description "JPEG decoder written in Rust.")
1068 (license (list license:expat license:asl2.0))))
1069
1070 (define-public rust-line-drawing-0.7
1071 (package
1072 (name "rust-line-drawing")
1073 (version "0.7.0")
1074 (source
1075 (origin
1076 (method url-fetch)
1077 (uri (crate-uri "line_drawing" version))
1078 (file-name
1079 (string-append name "-" version ".tar.gz"))
1080 (sha256
1081 (base32
1082 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1083 (build-system cargo-build-system)
1084 (arguments
1085 ;; This version does not specify any versions on dependants.
1086 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1087 #:cargo-inputs
1088 (("rust-num-traits" ,rust-num-traits-0.2))
1089 #:cargo-development-inputs
1090 (("rust-bresenham" ,rust-bresenham-0.1)
1091 ("rust-image" ,rust-image-0.22) ; 0.17?
1092 ("rust-rand" ,rust-rand-0.6))))
1093 (home-page "https://github.com/expenses/line_drawing")
1094 (synopsis "Collection of line-drawing algorithms")
1095 (description
1096 "This package provides a collection of line-drawing algorithms for use in
1097 graphics and video games.")
1098 (license license:expat)))
1099
1100 (define-public rust-lyon-geom-0.14
1101 (package
1102 (name "rust-lyon-geom")
1103 (version "0.14.1")
1104 (source
1105 (origin
1106 (method url-fetch)
1107 (uri (crate-uri "lyon_geom" version))
1108 (file-name
1109 (string-append name "-" version ".tar.gz"))
1110 (sha256
1111 (base32
1112 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1113 (build-system cargo-build-system)
1114 (arguments
1115 `(#:skip-build? #t
1116 #:cargo-inputs
1117 (("rust-num-traits" ,rust-num-traits-0.2)
1118 ("rust-euclid" ,rust-euclid-0.20)
1119 ("rust-arrayvec" ,rust-arrayvec-0.4)
1120 ("rust-serde" ,rust-serde-1))))
1121 (home-page "https://github.com/nical/lyon")
1122 (synopsis "2D graphics rendering on the GPU using tessellation")
1123 (description
1124 "This package provides 2D graphics rendering on the GPU using tessellation.")
1125 (license (list license:expat license:asl2.0))))
1126
1127 (define-public rust-lyon-path-0.14
1128 (package
1129 (name "rust-lyon-path")
1130 (version "0.14.0")
1131 (source
1132 (origin
1133 (method url-fetch)
1134 (uri (crate-uri "lyon_path" version))
1135 (file-name
1136 (string-append name "-" version ".tar.gz"))
1137 (sha256
1138 (base32
1139 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1140 (build-system cargo-build-system)
1141 (arguments
1142 `(#:skip-build? #t
1143 #:cargo-inputs
1144 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1145 ("rust-serde" ,rust-serde-1))))
1146 (home-page "https://github.com/nical/lyon")
1147 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1148 (description
1149 "Types and utilities to store, build and iterate over 2D paths.")
1150 (license (list license:expat license:asl2.0))))
1151
1152 (define-public rust-osmesa-sys-0.1
1153 (package
1154 (name "rust-osmesa-sys")
1155 (version "0.1.2")
1156 (source
1157 (origin
1158 (method url-fetch)
1159 (uri (crate-uri "osmesa-sys" version))
1160 (file-name
1161 (string-append name "-" version ".tar.gz"))
1162 (sha256
1163 (base32
1164 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1165 (build-system cargo-build-system)
1166 (arguments
1167 `(#:cargo-inputs
1168 (("rust-shared-library" ,rust-shared-library-0.1))))
1169 (home-page "https://crates.io/crates/osmesa-sys")
1170 (synopsis "OSMesa library bindings for Rust")
1171 (description "This package provides OSMesa library bindings for Rust.")
1172 (license license:cc0)))
1173
1174 (define-public rust-piston-0.49
1175 (package
1176 (name "rust-piston")
1177 (version "0.49.0")
1178 (source
1179 (origin
1180 (method url-fetch)
1181 (uri (crate-uri "piston" version))
1182 (file-name
1183 (string-append name "-" version ".tar.gz"))
1184 (sha256
1185 (base32
1186 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1187 (build-system cargo-build-system)
1188 (arguments
1189 `(#:skip-build? #t
1190 #:cargo-inputs
1191 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1192 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1193 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1194 (home-page "https://github.com/PistonDevelopers/piston")
1195 (synopsis "Piston game engine core libraries")
1196 (description
1197 "The Piston game engine core libraries.")
1198 (license license:expat)))
1199
1200 (define-public rust-piston-float-1.0
1201 (package
1202 (name "rust-piston-float")
1203 (version "1.0.0")
1204 (source
1205 (origin
1206 (method url-fetch)
1207 (uri (crate-uri "piston-float" version))
1208 (file-name
1209 (string-append name "-" version ".tar.gz"))
1210 (sha256
1211 (base32
1212 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1213 (build-system cargo-build-system)
1214 (arguments `(#:skip-build? #t))
1215 (home-page
1216 "https://github.com/pistondevelopers/float")
1217 (synopsis
1218 "Traits for generic floats in game development")
1219 (description
1220 "Traits for generic floats in game development")
1221 (license license:expat)))
1222
1223 (define-public rust-piston-gfx-texture-0.40
1224 (package
1225 (name "rust-piston-gfx-texture")
1226 (version "0.40.0")
1227 (source
1228 (origin
1229 (method url-fetch)
1230 (uri (crate-uri "piston-gfx_texture" version))
1231 (file-name
1232 (string-append name "-" version ".tar.gz"))
1233 (sha256
1234 (base32
1235 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1236 (build-system cargo-build-system)
1237 (arguments
1238 `(#:skip-build? #t
1239 #:cargo-inputs
1240 (("rust-gfx" ,rust-gfx-0.18)
1241 ("rust-image" ,rust-image-0.22)
1242 ("rust-piston-texture" ,rust-piston-texture-0.8)
1243 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1244 (home-page "https://github.com/pistondevelopers/gfx_texture")
1245 (synopsis
1246 "Gfx texture representation that works nicely with Piston libraries")
1247 (description "This package provides a Gfx texture representation that works
1248 nicely with Piston libraries.")
1249 (license license:expat)))
1250
1251 (define-public rust-piston-graphics-api-version-0.2
1252 (package
1253 (name "rust-piston-graphics-api-version")
1254 (version "0.2.0")
1255 (source
1256 (origin
1257 (method url-fetch)
1258 (uri (crate-uri "piston-graphics_api_version" version))
1259 (file-name
1260 (string-append name "-" version ".tar.gz"))
1261 (sha256
1262 (base32
1263 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1264 (build-system cargo-build-system)
1265 (arguments `(#:skip-build? #t))
1266 (home-page
1267 "https://github.com/PistonDevelopers/graphics_api_version")
1268 (synopsis
1269 "A library for storing graphics API versions")
1270 (description
1271 "This package provides a library for storing graphics API versions")
1272 (license license:expat)))
1273
1274 (define-public rust-piston-shaders-graphics2d-0.3
1275 (package
1276 (name "rust-piston-shaders-graphics2d")
1277 (version "0.3.1")
1278 (source
1279 (origin
1280 (method url-fetch)
1281 (uri (crate-uri "piston-shaders_graphics2d" version))
1282 (file-name
1283 (string-append name "-" version ".tar.gz"))
1284 (sha256
1285 (base32
1286 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1287 (build-system cargo-build-system)
1288 (arguments `(#:skip-build? #t))
1289 (home-page
1290 "https://github.com/PistonDevelopers/shaders")
1291 (synopsis "Shaders for 2D graphics in Rust")
1292 (description "Shaders for 2D graphics in Rust")
1293 (license license:expat)))
1294
1295 (define-public rust-piston-texture-0.8
1296 (package
1297 (name "rust-piston-texture")
1298 (version "0.8.0")
1299 (source
1300 (origin
1301 (method url-fetch)
1302 (uri (crate-uri "piston-texture" version))
1303 (file-name
1304 (string-append name "-" version ".tar.gz"))
1305 (sha256
1306 (base32
1307 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1308 (build-system cargo-build-system)
1309 (arguments `(#:skip-build? #t))
1310 (home-page
1311 "https://github.com/pistondevelopers/texture")
1312 (synopsis "A generic library for textures")
1313 (description
1314 "This package provides a generic library for textures")
1315 (license license:expat)))
1316
1317 (define-public rust-piston-viewport-1.0
1318 (package
1319 (name "rust-piston-viewport")
1320 (version "1.0.0")
1321 (source
1322 (origin
1323 (method url-fetch)
1324 (uri (crate-uri "piston-viewport" version))
1325 (file-name
1326 (string-append name "-" version ".tar.gz"))
1327 (sha256
1328 (base32
1329 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1330 (build-system cargo-build-system)
1331 (arguments
1332 `(#:skip-build? #t
1333 #:cargo-inputs
1334 (("rust-piston-float" ,rust-piston-float-1.0))))
1335 (home-page "https://github.com/PistonDevelopers/viewport")
1336 (synopsis "Library for storing viewport information")
1337 (description
1338 "This package provides a library for storing viewport information.")
1339 (license license:expat)))
1340
1341 (define-public rust-piston-window-0.105
1342 (package
1343 (name "rust-piston-window")
1344 (version "0.105.0")
1345 (source
1346 (origin
1347 (method url-fetch)
1348 (uri (crate-uri "piston_window" version))
1349 (file-name
1350 (string-append name "-" version ".tar.gz"))
1351 (sha256
1352 (base32
1353 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1354 (build-system cargo-build-system)
1355 (arguments
1356 `(#:skip-build? #t
1357 #:cargo-inputs
1358 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1359 ("rust-gfx" ,rust-gfx-0.18)
1360 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1361 ("rust-piston" ,rust-piston-0.49)
1362 ("rust-shader-version" ,rust-shader-version-0.6)
1363 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1364 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1365 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1366 (home-page "https://github.com/pistondevelopers/piston_window")
1367 (synopsis "Official Piston window wrapper for the Piston game engine")
1368 (description
1369 "The official Piston window wrapper for the Piston game engine.")
1370 (license license:expat)))
1371
1372 (define-public rust-piston2d-gfx-graphics-0.66
1373 (package
1374 (name "rust-piston2d-gfx-graphics")
1375 (version "0.66.0")
1376 (source
1377 (origin
1378 (method url-fetch)
1379 (uri (crate-uri "piston2d-gfx_graphics" version))
1380 (file-name
1381 (string-append name "-" version ".tar.gz"))
1382 (sha256
1383 (base32
1384 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1385 (build-system cargo-build-system)
1386 (arguments
1387 `(#:skip-build? #t
1388 #:cargo-inputs
1389 (("rust-gfx" ,rust-gfx-0.18)
1390 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1391 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1392 ("rust-shader-version" ,rust-shader-version-0.6)
1393 ("rust-draw-state" ,rust-draw-state-0.8))))
1394 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1395 (synopsis "Gfx 2D back-end for the Piston game engine")
1396 (description
1397 "This package provides a Gfx 2D back-end for the Piston game engine.")
1398 (license license:expat)))
1399
1400 (define-public rust-piston2d-graphics-0.35
1401 (package
1402 (name "rust-piston2d-graphics")
1403 (version "0.35.0")
1404 (source
1405 (origin
1406 (method url-fetch)
1407 (uri (crate-uri "piston2d-graphics" version))
1408 (file-name
1409 (string-append name "-" version ".tar.gz"))
1410 (sha256
1411 (base32
1412 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1413 (build-system cargo-build-system)
1414 (arguments
1415 `(#:skip-build? #t
1416 #:cargo-inputs
1417 (("rust-interpolation" ,rust-interpolation-0.2)
1418 ("rust-rusttype" ,rust-rusttype-0.7)
1419 ("rust-piston-texture" ,rust-piston-texture-0.8)
1420 ("rust-piston-viewport" ,rust-piston-viewport-1.0)
1421 ("rust-read-color" ,rust-read-color-1.0)
1422 ("rust-vecmath" ,rust-vecmath-1.0)
1423 ("rust-fnv" ,rust-fnv-1))))
1424 (home-page "https://github.com/pistondevelopers/graphics")
1425 (synopsis "Library for 2D graphics that works with multiple back-ends")
1426 (description "This package provides a library for 2D graphics that works
1427 with multiple back-ends.")
1428 (license license:expat)))
1429
1430 (define-public rust-pistoncore-event-loop-0.49
1431 (package
1432 (name "rust-pistoncore-event-loop")
1433 (version "0.49.0")
1434 (source
1435 (origin
1436 (method url-fetch)
1437 (uri (crate-uri "pistoncore-event_loop" version))
1438 (file-name
1439 (string-append name "-" version ".tar.gz"))
1440 (sha256
1441 (base32
1442 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1443 (build-system cargo-build-system)
1444 (arguments
1445 `(#:skip-build? #t
1446 #:cargo-inputs
1447 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1448 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1449 (home-page "https://github.com/PistonDevelopers/piston")
1450 (synopsis "Piston event loop for games and interactive applications")
1451 (description "This package provides a Piston event loop for games and
1452 interactive applications.")
1453 (license license:expat)))
1454
1455 (define-public rust-pistoncore-glutin-window-0.63
1456 (package
1457 (name "rust-pistoncore-glutin-window")
1458 (version "0.63.0")
1459 (source
1460 (origin
1461 (method url-fetch)
1462 (uri (crate-uri "pistoncore-glutin_window" version))
1463 (file-name
1464 (string-append name "-" version ".tar.gz"))
1465 (sha256
1466 (base32
1467 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1468 (build-system cargo-build-system)
1469 (arguments
1470 `(#:skip-build? #t
1471 #:cargo-inputs
1472 (("rust-gl" ,rust-gl-0.11)
1473 ("rust-glutin" ,rust-glutin-0.21)
1474 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1475 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1476 ("rust-shader-version" ,rust-shader-version-0.6))))
1477 (home-page "https://github.com/pistondevelopers/glutin_window")
1478 (synopsis "Piston window back-end using the Glutin library")
1479 (description
1480 "This package provides a Piston window back-end using the Glutin library.")
1481 (license license:expat)))
1482
1483 (define-public rust-pistoncore-input-0.28
1484 (package
1485 (name "rust-pistoncore-input")
1486 (version "0.28.0")
1487 (source
1488 (origin
1489 (method url-fetch)
1490 (uri (crate-uri "pistoncore-input" version))
1491 (file-name
1492 (string-append name "-" version ".tar.gz"))
1493 (sha256
1494 (base32
1495 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1496 (build-system cargo-build-system)
1497 (arguments
1498 `(#:skip-build? #t
1499 #:cargo-inputs
1500 (("rust-piston-viewport" ,rust-piston-viewport-1.0)
1501 ("rust-serde" ,rust-serde-1)
1502 ("rust-serde-derive" ,rust-serde-derive-1)
1503 ("rust-bitflags" ,rust-bitflags-1))))
1504 (home-page "https://github.com/PistonDevelopers/piston")
1505 (synopsis "Structure for user input")
1506 (description
1507 "This package provides a structure for user input.")
1508 (license license:expat)))
1509
1510 (define-public rust-pistoncore-window-0.44
1511 (package
1512 (name "rust-pistoncore-window")
1513 (version "0.44.0")
1514 (source
1515 (origin
1516 (method url-fetch)
1517 (uri (crate-uri "pistoncore-window" version))
1518 (file-name
1519 (string-append name "-" version ".tar.gz"))
1520 (sha256
1521 (base32
1522 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1523 (build-system cargo-build-system)
1524 (arguments
1525 `(#:skip-build? #t
1526 #:cargo-inputs
1527 (("rust-piston-graphics-api-version"
1528 ,rust-piston-graphics-api-version-0.2)
1529 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1530 (home-page "https://github.com/PistonDevelopers/piston")
1531 (synopsis "Library for window abstraction")
1532 (description
1533 "This package provides a library for window abstraction.")
1534 (license license:expat)))
1535
1536 (define-public rust-png-0.16
1537 (package
1538 (name "rust-png")
1539 (version "0.16.6")
1540 (source
1541 (origin
1542 (method url-fetch)
1543 (uri (crate-uri "png" version))
1544 (file-name
1545 (string-append name "-" version ".tar.gz"))
1546 (sha256
1547 (base32
1548 "1393s3v3kg4bxnn86d7yn2vyz8xj6g64ighdfkc3vzpsg5sbyl61"))))
1549 (build-system cargo-build-system)
1550 (arguments
1551 `(#:skip-build? #t
1552 #:cargo-inputs
1553 (("rust-bitflags" ,rust-bitflags-1)
1554 ("rust-crc32fast" ,rust-crc32fast-1)
1555 ("rust-deflate" ,rust-deflate-0.8)
1556 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))
1557 #:cargo-development-inputs
1558 (("rust-criterion" ,rust-criterion-0.3)
1559 ("rust-getopts" ,rust-getopts-0.2)
1560 ;; TODO: glium has many cyclic dependencies with other packages
1561 ;; ("rust-glium" ,rust-glium-0.24)
1562 ("rust-glob" ,rust-glob-0.3)
1563 ("rust-rand" ,rust-rand-0.7)
1564 ("rust-term" ,rust-term-0.6))))
1565 (home-page "https://github.com/image-rs/image-png.git")
1566 (synopsis "PNG decoding and encoding library in pure Rust")
1567 (description
1568 "PNG decoding and encoding library in pure Rust.")
1569 (license (list license:expat license:asl2.0))))
1570
1571 (define-public rust-png-0.15
1572 (package
1573 (inherit rust-png-0.16)
1574 (name "rust-png")
1575 (version "0.15.3")
1576 (source
1577 (origin
1578 (method url-fetch)
1579 (uri (crate-uri "png" version))
1580 (file-name
1581 (string-append name "-" version ".tar.gz"))
1582 (sha256
1583 (base32
1584 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1585 (arguments
1586 `(#:skip-build? #t
1587 #:cargo-inputs
1588 (("rust-bitflags" ,rust-bitflags-1)
1589 ("rust-crc32fast" ,rust-crc32fast-1)
1590 ("rust-deflate" ,rust-deflate-0.7)
1591 ("rust-inflate" ,rust-inflate-0.4))
1592 #:cargo-development-inputs
1593 (("rust-getopts" ,rust-getopts-0.2)
1594 ;; TODO: glium has many cyclic dependencies with other packages
1595 ;;("rust-glium" ,rust-glium-0.24)
1596 ("rust-glob" ,rust-glob-0.3)
1597 ("rust-rand" ,rust-rand-0.7)
1598 ("rust-term" ,rust-term-0.6))))))
1599
1600 (define-public rust-png-0.14
1601 (package
1602 (inherit rust-png-0.15)
1603 (name "rust-png")
1604 (version "0.14.1")
1605 (source
1606 (origin
1607 (method url-fetch)
1608 (uri (crate-uri "png" version))
1609 (file-name
1610 (string-append name "-" version ".tar.gz"))
1611 (sha256
1612 (base32
1613 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1614 (arguments
1615 `(#:skip-build? #t
1616 #:cargo-inputs
1617 (("rust-bitflags" ,rust-bitflags-1)
1618 ("rust-deflate" ,rust-deflate-0.7)
1619 ("rust-inflate" ,rust-inflate-0.4)
1620 ("rust-num-iter" ,rust-num-iter-0.1))
1621 #:cargo-development-inputs
1622 (("rust-getopts" ,rust-getopts-0.2)
1623 ;; TODO: glium has many cyclic dependencies with other packages
1624 ;; ("rust-glium" ,rust-glium-0.22)
1625 ("rust-glob" ,rust-glob-0.2)
1626 ("rust-rand" ,rust-rand-0.5)
1627 ("rust-term" ,rust-term-0.4))))))
1628
1629 (define-public rust-png-0.12
1630 (package
1631 (inherit rust-png-0.14)
1632 (name "rust-png")
1633 (version "0.12.0")
1634 (source
1635 (origin
1636 (method url-fetch)
1637 (uri (crate-uri "png" version))
1638 (file-name
1639 (string-append name "-" version ".tar.gz"))
1640 (sha256
1641 (base32
1642 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1643 (arguments
1644 `(#:skip-build? #t
1645 #:cargo-inputs
1646 (("rust-bitflags" ,rust-bitflags-1)
1647 ("rust-deflate" ,rust-deflate-0.7)
1648 ("rust-inflate" ,rust-inflate-0.4)
1649 ("rust-num-iter" ,rust-num-iter-0.1))
1650 #:cargo-development-inputs
1651 (("rust-getopts" ,rust-getopts-0.2)
1652 ;; TODO: gluum has many cyclic dependencies with other packages
1653 ;; ("rust-glium" ,rust-glium-0.21)
1654 ("rust-glob" ,rust-glob-0.2)
1655 ("rust-term" ,rust-term-0.4))))))
1656
1657 (define-public rust-raw-window-handle-0.3
1658 (package
1659 (name "rust-raw-window-handle")
1660 (version "0.3.3")
1661 (source
1662 (origin
1663 (method url-fetch)
1664 (uri (crate-uri "raw-window-handle" version))
1665 (file-name
1666 (string-append name "-" version ".tar.gz"))
1667 (sha256
1668 (base32
1669 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1670 (build-system cargo-build-system)
1671 (arguments
1672 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1673 (home-page "https://github.com/rust-windowing/raw-window-handle")
1674 (synopsis "Interoperability library for Rust Windowing applications")
1675 (description
1676 "Interoperability library for Rust Windowing applications.")
1677 (license license:expat)))
1678
1679 (define-public rust-resize-0.3
1680 (package
1681 (name "rust-resize")
1682 (version "0.3.1")
1683 (source
1684 (origin
1685 (method url-fetch)
1686 (uri (crate-uri "resize" version))
1687 (file-name
1688 (string-append name "-" version ".tar.gz"))
1689 (sha256
1690 (base32
1691 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1692 (build-system cargo-build-system)
1693 (arguments
1694 `(#:cargo-development-inputs
1695 (("rust-png" ,rust-png-0.15))))
1696 (home-page "https://github.com/PistonDevelopers/resize")
1697 (synopsis "Simple image resampling library in pure Rust")
1698 (description
1699 "This package provides a simple image resampling library in pure Rust.")
1700 (license license:expat)))
1701
1702 (define-public rust-rgb-0.8
1703 (package
1704 (name "rust-rgb")
1705 (version "0.8.20")
1706 (source
1707 (origin
1708 (method url-fetch)
1709 (uri (crate-uri "rgb" version))
1710 (file-name (string-append name "-" version ".crate"))
1711 (sha256
1712 (base32
1713 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1714 (build-system cargo-build-system)
1715 (arguments
1716 `(#:cargo-inputs
1717 (("rust-bytemuck" ,rust-bytemuck-1)
1718 ("rust-serde" ,rust-serde-1))
1719 #:cargo-development-inputs
1720 (("rust-serde-json" ,rust-serde-json-1))))
1721 (home-page "https://lib.rs/crates/rgb")
1722 (synopsis "Struct for sharing pixels between crates")
1723 (description
1724 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
1725 between crates + convenience methods for color manipulation. It allows no-copy
1726 high-level interoperability. It also adds common convenience methods and
1727 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
1728 first-class Rust objects.")
1729 (license license:expat)))
1730
1731 (define-public rust-smithay-client-toolkit-0.6
1732 (package
1733 (name "rust-smithay-client-toolkit")
1734 (version "0.6.4")
1735 (source
1736 (origin
1737 (method url-fetch)
1738 (uri (crate-uri "smithay-client-toolkit" version))
1739 (file-name
1740 (string-append name "-" version ".tar.gz"))
1741 (sha256
1742 (base32
1743 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
1744 (build-system cargo-build-system)
1745 (arguments
1746 `(#:cargo-inputs
1747 (("rust-andrew" ,rust-andrew-0.2)
1748 ("rust-bitflags" ,rust-bitflags-1)
1749 ("rust-dlib" ,rust-dlib-0.4)
1750 ("rust-lazy-static" ,rust-lazy-static-1)
1751 ("rust-memmap" ,rust-memmap-0.7)
1752 ("rust-nix" ,rust-nix-0.14)
1753 ("rust-wayland-client" ,rust-wayland-client-0.23)
1754 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
1755 #:cargo-development-inputs
1756 (("rust-byteorder" ,rust-byteorder-1)
1757 ("rust-image" ,rust-image-0.21)
1758 ("rust-wayland-client" ,rust-wayland-client-0.23))))
1759 (home-page "https://github.com/smithay/client-toolkit")
1760 (synopsis "Toolkit for making client wayland applications")
1761 (description
1762 "Toolkit for making client wayland applications.")
1763 (license license:expat)))
1764
1765 (define-public rust-smithay-client-toolkit-0.4
1766 (package
1767 (inherit rust-smithay-client-toolkit-0.6)
1768 (name "rust-smithay-client-toolkit")
1769 (version "0.4.6")
1770 (source
1771 (origin
1772 (method url-fetch)
1773 (uri (crate-uri "smithay-client-toolkit" version))
1774 (file-name
1775 (string-append name "-" version ".tar.gz"))
1776 (sha256
1777 (base32
1778 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
1779 (arguments
1780 `(#:cargo-inputs
1781 (("rust-andrew" ,rust-andrew-0.2)
1782 ("rust-bitflags" ,rust-bitflags-1)
1783 ("rust-dlib" ,rust-dlib-0.4)
1784 ("rust-lazy-static" ,rust-lazy-static-1)
1785 ("rust-memmap" ,rust-memmap-0.7)
1786 ("rust-nix" ,rust-nix-0.14)
1787 ("rust-wayland-client" ,rust-wayland-client-0.21)
1788 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1789 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
1790 #:cargo-development-inputs
1791 (("rust-byteorder" ,rust-byteorder-1)
1792 ("rust-image" ,rust-image-0.20)
1793 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
1794
1795 (define-public rust-smithay-clipboard-0.3
1796 (package
1797 (name "rust-smithay-clipboard")
1798 (version "0.3.6")
1799 (source
1800 (origin
1801 (method url-fetch)
1802 (uri (crate-uri "smithay-clipboard" version))
1803 (file-name
1804 (string-append name "-" version ".tar.gz"))
1805 (sha256
1806 (base32
1807 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
1808 (build-system cargo-build-system)
1809 (arguments
1810 `(#:cargo-inputs
1811 (("rust-nix" ,rust-nix-0.14)
1812 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
1813 #:cargo-development-inputs
1814 (("rust-andrew" ,rust-andrew-0.2))))
1815 (inputs
1816 `(("wayland" ,wayland)))
1817 (home-page "https://github.com/smithay/smithay-clipboard")
1818 (synopsis
1819 "Provides access to the wayland clipboard for client applications")
1820 (description
1821 "This package provides access to the wayland clipboard for client applications.")
1822 (license license:expat)))
1823
1824 (define-public rust-tiff-0.5
1825 (package
1826 (name "rust-tiff")
1827 (version "0.5.0")
1828 (source
1829 (origin
1830 (method url-fetch)
1831 (uri (crate-uri "tiff" version))
1832 (file-name
1833 (string-append name "-" version ".tar.gz"))
1834 (sha256
1835 (base32
1836 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
1837 (build-system cargo-build-system)
1838 (arguments
1839 `(#:tests? #f ; not all test files included
1840 #:cargo-inputs
1841 (("rust-byteorder" ,rust-byteorder-1)
1842 ("rust-lzw" ,rust-lzw-0.10)
1843 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1844 (home-page "https://github.com/image-rs/image-tiff")
1845 (synopsis
1846 "TIFF decoding and encoding library in pure Rust")
1847 (description
1848 "TIFF decoding and encoding library in pure Rust.")
1849 (license license:expat)))
1850
1851 (define-public rust-tiff-0.3
1852 (package
1853 (inherit rust-tiff-0.5)
1854 (name "rust-tiff")
1855 (version "0.3.1")
1856 (source
1857 (origin
1858 (method url-fetch)
1859 (uri (crate-uri "tiff" version))
1860 (file-name
1861 (string-append name "-" version ".tar.gz"))
1862 (sha256
1863 (base32
1864 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
1865 (arguments
1866 `(#:tests? #f ; Tests images not included with release.
1867 #:cargo-inputs
1868 (("rust-byteorder" ,rust-byteorder-1)
1869 ("rust-lzw" ,rust-lzw-0.10)
1870 ("rust-num-derive" ,rust-num-derive-0.2)
1871 ("rust-num-traits" ,rust-num-traits-0.2))
1872 #:cargo-development-inputs
1873 (("rust-tempfile" ,rust-tempfile-3))))))
1874
1875 (define-public rust-tiff-0.2
1876 (package
1877 (inherit rust-tiff-0.3)
1878 (name "rust-tiff")
1879 (version "0.2.2")
1880 (source
1881 (origin
1882 (method url-fetch)
1883 (uri (crate-uri "tiff" version))
1884 (file-name
1885 (string-append name "-" version ".tar.gz"))
1886 (sha256
1887 (base32
1888 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
1889 (arguments
1890 `(#:cargo-inputs
1891 (("rust-byteorder" ,rust-byteorder-1)
1892 ("rust-lzw" ,rust-lzw-0.10)
1893 ("rust-num-derive" ,rust-num-derive-0.2)
1894 ("rust-num-traits" ,rust-num-traits-0.2))))))
1895
1896 (define-public rust-wayland-client-0.23
1897 (package
1898 (name "rust-wayland-client")
1899 (version "0.23.6")
1900 (source
1901 (origin
1902 (method url-fetch)
1903 (uri (crate-uri "wayland-client" version))
1904 (file-name
1905 (string-append name "-" version ".tar.gz"))
1906 (sha256
1907 (base32
1908 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
1909 (build-system cargo-build-system)
1910 (arguments
1911 `(#:cargo-inputs
1912 (("rust-bitflags" ,rust-bitflags-1)
1913 ("rust-calloop" ,rust-calloop-0.4)
1914 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
1915 ("rust-libc" ,rust-libc-0.2)
1916 ("rust-mio" ,rust-mio-0.6)
1917 ("rust-nix" ,rust-nix-0.14)
1918 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
1919 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
1920 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
1921 #:cargo-development-inputs
1922 (("rust-byteorder" ,rust-byteorder-1)
1923 ("rust-tempfile" ,rust-tempfile-3))))
1924 (home-page "https://github.com/smithay/wayland-rs")
1925 (synopsis
1926 "Rust bindings to the standard C implementation of the wayland protocol")
1927 (description
1928 "This package provides Rust bindings to the standard C implementation of
1929 the wayland protocol, client side.")
1930 (license license:expat)))
1931
1932 (define-public rust-wayland-client-0.21
1933 (package
1934 (inherit rust-wayland-client-0.23)
1935 (name "rust-wayland-client")
1936 (version "0.21.13")
1937 (source
1938 (origin
1939 (method url-fetch)
1940 (uri (crate-uri "wayland-client" version))
1941 (file-name
1942 (string-append name "-" version ".tar.gz"))
1943 (sha256
1944 (base32
1945 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
1946 (arguments
1947 `(#:cargo-inputs
1948 (("rust-bitflags" ,rust-bitflags-1)
1949 ("rust-calloop" ,rust-calloop-0.4)
1950 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
1951 ("rust-libc" ,rust-libc-0.2)
1952 ("rust-mio" ,rust-mio-0.6)
1953 ("rust-nix" ,rust-nix-0.14)
1954 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1955 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
1956 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
1957 #:cargo-development-inputs
1958 (("rust-byteorder" ,rust-byteorder-1)
1959 ("rust-tempfile" ,rust-tempfile-3))))))
1960
1961 (define-public rust-wayland-commons-0.23
1962 (package
1963 (name "rust-wayland-commons")
1964 (version "0.23.6")
1965 (source
1966 (origin
1967 (method url-fetch)
1968 (uri (crate-uri "wayland-commons" version))
1969 (file-name
1970 (string-append name "-" version ".tar.gz"))
1971 (sha256
1972 (base32
1973 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
1974 (build-system cargo-build-system)
1975 (arguments
1976 `(#:cargo-inputs
1977 (("rust-nix" ,rust-nix-0.14)
1978 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
1979 (home-page "https://github.com/smithay/wayland-rs")
1980 (synopsis
1981 "Common types and structures used by wayland-client and wayland-server")
1982 (description
1983 "Common types and structures used by wayland-client and wayland-server.")
1984 (license license:expat)))
1985
1986 (define-public rust-wayland-commons-0.21
1987 (package
1988 (inherit rust-wayland-commons-0.23)
1989 (name "rust-wayland-commons")
1990 (version "0.21.13")
1991 (source
1992 (origin
1993 (method url-fetch)
1994 (uri (crate-uri "wayland-commons" version))
1995 (file-name
1996 (string-append name "-" version ".tar.gz"))
1997 (sha256
1998 (base32
1999 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2000 (arguments
2001 `(#:cargo-inputs
2002 (("rust-nix" ,rust-nix-0.14)
2003 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2004
2005 (define-public rust-wayland-protocols-0.23
2006 (package
2007 (name "rust-wayland-protocols")
2008 (version "0.23.6")
2009 (source
2010 (origin
2011 (method url-fetch)
2012 (uri (crate-uri "wayland-protocols" version))
2013 (file-name
2014 (string-append name "-" version ".tar.gz"))
2015 (sha256
2016 (base32
2017 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2018 (build-system cargo-build-system)
2019 (arguments
2020 `(#:cargo-inputs
2021 (("rust-bitflags" ,rust-bitflags-1)
2022 ("rust-wayland-client" ,rust-wayland-client-0.23)
2023 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2024 ("rust-wayland-server" ,rust-wayland-server-0.23)
2025 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2026 (home-page "https://github.com/smithay/wayland-rs")
2027 (synopsis
2028 "Generated API for the officials wayland protocol extensions")
2029 (description
2030 "Generated API for the officials wayland protocol extensions.")
2031 (license license:expat)))
2032
2033 (define-public rust-wayland-protocols-0.21
2034 (package
2035 (inherit rust-wayland-protocols-0.23)
2036 (name "rust-wayland-protocols")
2037 (version "0.21.13")
2038 (source
2039 (origin
2040 (method url-fetch)
2041 (uri (crate-uri "wayland-protocols" version))
2042 (file-name
2043 (string-append name "-" version ".tar.gz"))
2044 (sha256
2045 (base32
2046 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2047 (arguments
2048 `(#:cargo-inputs
2049 (("rust-bitflags" ,rust-bitflags-1)
2050 ("rust-wayland-client" ,rust-wayland-client-0.21)
2051 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2052 ("rust-wayland-server" ,rust-wayland-server-0.21)
2053 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2054 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2055
2056 (define-public rust-wayland-scanner-0.23
2057 (package
2058 (name "rust-wayland-scanner")
2059 (version "0.23.6")
2060 (source
2061 (origin
2062 (method url-fetch)
2063 (uri (crate-uri "wayland-scanner" version))
2064 (file-name
2065 (string-append name "-" version ".tar.gz"))
2066 (sha256
2067 (base32
2068 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2069 (build-system cargo-build-system)
2070 (arguments
2071 `(#:cargo-inputs
2072 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2073 ("rust-quote" ,rust-quote-0.6)
2074 ("rust-xml-rs" ,rust-xml-rs-0.8))))
2075 (home-page "https://github.com/smithay/wayland-rs")
2076 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2077 (description
2078 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2079 It is intended for use with wayland-sys. You should only need this crate if
2080 you are working on custom Wayland protocol extensions.
2081 Look at the wayland-client crate for usable bindings.")
2082 (license license:expat)))
2083
2084 (define-public rust-wayland-scanner-0.21
2085 (package
2086 (inherit rust-wayland-scanner-0.23)
2087 (name "rust-wayland-scanner")
2088 (version "0.21.13")
2089 (source
2090 (origin
2091 (method url-fetch)
2092 (uri (crate-uri "wayland-scanner" version))
2093 (file-name
2094 (string-append name "-" version ".tar.gz"))
2095 (sha256
2096 (base32
2097 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2098
2099 (define-public rust-wayland-server-0.23
2100 (package
2101 (name "rust-wayland-server")
2102 (version "0.23.6")
2103 (source
2104 (origin
2105 (method url-fetch)
2106 (uri (crate-uri "wayland-server" version))
2107 (file-name
2108 (string-append name "-" version ".tar.gz"))
2109 (sha256
2110 (base32
2111 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2112 (build-system cargo-build-system)
2113 (arguments
2114 `(#:cargo-inputs
2115 (("rust-bitflags" ,rust-bitflags-1)
2116 ("rust-calloop" ,rust-calloop-0.4)
2117 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2118 ("rust-libc" ,rust-libc-0.2)
2119 ("rust-mio" ,rust-mio-0.6)
2120 ("rust-nix" ,rust-nix-0.14)
2121 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2122 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2123 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2124 (home-page "https://github.com/smithay/wayland-rs")
2125 (synopsis
2126 "Bindings to the standard C implementation of the wayland protocol")
2127 (description
2128 "This package provides Rust bindings to the standard C implementation of
2129 the wayland protocol, server side.")
2130 (license license:expat)))
2131
2132 (define-public rust-wayland-server-0.21
2133 (package
2134 (inherit rust-wayland-server-0.23)
2135 (name "rust-wayland-server")
2136 (version "0.21.13")
2137 (source
2138 (origin
2139 (method url-fetch)
2140 (uri (crate-uri "wayland-server" version))
2141 (file-name
2142 (string-append name "-" version ".tar.gz"))
2143 (sha256
2144 (base32
2145 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2146 (arguments
2147 `(#:cargo-inputs
2148 (("rust-bitflags" ,rust-bitflags-1)
2149 ("rust-calloop" ,rust-calloop-0.4)
2150 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2151 ("rust-libc" ,rust-libc-0.2)
2152 ("rust-mio" ,rust-mio-0.6)
2153 ("rust-nix" ,rust-nix-0.14)
2154 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2155 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2156 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2157
2158 (define-public rust-wayland-sys-0.23
2159 (package
2160 (name "rust-wayland-sys")
2161 (version "0.23.6")
2162 (source
2163 (origin
2164 (method url-fetch)
2165 (uri (crate-uri "wayland-sys" version))
2166 (file-name
2167 (string-append name "-" version ".tar.gz"))
2168 (sha256
2169 (base32
2170 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2171 (build-system cargo-build-system)
2172 (arguments
2173 `(#:cargo-inputs
2174 (("rust-dlib" ,rust-dlib-0.4)
2175 ("rust-lazy-static" ,rust-lazy-static-1)
2176 ("rust-libc" ,rust-libc-0.2))))
2177 (home-page "https://github.com/smithay/wayland-rs")
2178 (synopsis "FFI bindings to the various libwayland-*.so libraries")
2179 (description
2180 "FFI bindings to the various libwayland-*.so libraries.
2181 You should only need this crate if you are working on custom wayland
2182 protocol extensions. Look at the crate wayland-client for usable bindings.")
2183 (license license:expat)))
2184
2185 (define-public rust-wayland-sys-0.21
2186 (package
2187 (inherit rust-wayland-sys-0.23)
2188 (name "rust-wayland-sys")
2189 (version "0.21.13")
2190 (source
2191 (origin
2192 (method url-fetch)
2193 (uri (crate-uri "wayland-sys" version))
2194 (file-name
2195 (string-append name "-" version ".tar.gz"))
2196 (sha256
2197 (base32
2198 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2199
2200 (define-public rust-winit-0.20
2201 (package
2202 (name "rust-winit")
2203 (version "0.20.0-alpha6")
2204 (source
2205 (origin
2206 (method url-fetch)
2207 (uri (crate-uri "winit" version))
2208 (file-name
2209 (string-append name "-" version ".tar.gz"))
2210 (sha256
2211 (base32
2212 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2213 (patches
2214 (list
2215 (origin
2216 (method url-fetch)
2217 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2218 (file-name (string-append name "-fix-bindings.patch"))
2219 (sha256
2220 (base32
2221 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2222 (build-system cargo-build-system)
2223 (arguments
2224 `(#:cargo-inputs
2225 (("rust-android-glue" ,rust-android-glue-0.2)
2226 ("rust-bitflags" ,rust-bitflags-1)
2227 ("rust-calloop" ,rust-calloop-0.4)
2228 ("rust-cocoa" ,rust-cocoa-0.19)
2229 ("rust-core-foundation" ,rust-core-foundation-0.6)
2230 ("rust-core-graphics" ,rust-core-graphics-0.17)
2231 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2232 ("rust-dispatch" ,rust-dispatch-0.1)
2233 ("rust-instant" ,rust-instant-0.1)
2234 ("rust-lazy-static" ,rust-lazy-static-1)
2235 ("rust-libc" ,rust-libc-0.2)
2236 ("rust-log" ,rust-log-0.4)
2237 ("rust-objc" ,rust-objc-0.2)
2238 ("rust-parking-lot" ,rust-parking-lot-0.10)
2239 ("rust-percent-encoding" ,rust-percent-encoding-2)
2240 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2241 ("rust-serde" ,rust-serde-1)
2242 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2243 ("rust-stdweb" ,rust-stdweb-0.4)
2244 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2245 ("rust-wayland-client" ,rust-wayland-client-0.23)
2246 ("rust-web-sys" ,rust-web-sys-0.3)
2247 ("rust-winapi" ,rust-winapi-0.3)
2248 ("rust-x11-dl" ,rust-x11-dl-2))
2249 #:cargo-development-inputs
2250 (("rust-console-log" ,rust-console-log-0.1)
2251 ("rust-env-logger" ,rust-env-logger-0.5)
2252 ("rust-image" ,rust-image-0.21))))
2253 (home-page "https://github.com/rust-windowing/winit")
2254 (synopsis
2255 "Cross-platform window creation library")
2256 (description
2257 "Cross-platform window creation library.")
2258 (license license:asl2.0)))
2259
2260 (define-public rust-winit-0.19
2261 (package
2262 (inherit rust-winit-0.20)
2263 (name "rust-winit")
2264 (version "0.19.5")
2265 (source
2266 (origin
2267 (method url-fetch)
2268 (uri (crate-uri "winit" version))
2269 (file-name
2270 (string-append name "-" version ".tar.gz"))
2271 (sha256
2272 (base32
2273 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2274 (arguments
2275 `(#:cargo-inputs
2276 (("rust-android-glue" ,rust-android-glue-0.2)
2277 ("rust-backtrace" ,rust-backtrace-0.3)
2278 ("rust-bitflags" ,rust-bitflags-1)
2279 ("rust-cocoa" ,rust-cocoa-0.18)
2280 ("rust-core-foundation" ,rust-core-foundation-0.6)
2281 ("rust-core-graphics" ,rust-core-graphics-0.17)
2282 ("rust-image" ,rust-image-0.21)
2283 ("rust-lazy-static" ,rust-lazy-static-1)
2284 ("rust-libc" ,rust-libc-0.2)
2285 ("rust-log" ,rust-log-0.4)
2286 ("rust-objc" ,rust-objc-0.2)
2287 ("rust-parking-lot" ,rust-parking-lot-0.9)
2288 ("rust-percent-encoding" ,rust-percent-encoding-2)
2289 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2290 ("rust-serde" ,rust-serde-1)
2291 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2292 ("rust-wayland-client" ,rust-wayland-client-0.21)
2293 ("rust-winapi" ,rust-winapi-0.3)
2294 ("rust-x11-dl" ,rust-x11-dl-2))))))
2295
2296 (define-public rust-x11-2
2297 (package
2298 (name "rust-x11")
2299 (version "2.18.2")
2300 (source
2301 (origin
2302 (method url-fetch)
2303 (uri (crate-uri "x11" version))
2304 (file-name
2305 (string-append name "-" version ".tar.gz"))
2306 (sha256
2307 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
2308 (build-system cargo-build-system)
2309 (arguments
2310 `(#:cargo-inputs
2311 (("rust-libc" ,rust-libc-0.2)
2312 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2313 (home-page "https://github.com/erlepereira/x11-rs")
2314 (synopsis "X11 library bindings for Rust")
2315 (description "This crate provides X11 library bindings for Rust.")
2316 (license license:expat)))
2317
2318 (define-public rust-x11-clipboard-0.4
2319 (package
2320 (name "rust-x11-clipboard")
2321 (version "0.4.0")
2322 (source
2323 (origin
2324 (method url-fetch)
2325 (uri (crate-uri "x11-clipboard" version))
2326 (file-name
2327 (string-append name "-" version ".tar.gz"))
2328 (sha256
2329 (base32
2330 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
2331 (build-system cargo-build-system)
2332 (arguments
2333 `(#:tests? #f ; Tests require display server.
2334 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
2335 (native-inputs
2336 `(("python" ,python)))
2337 (home-page "https://github.com/quininer/x11-clipboard")
2338 (synopsis "x11 clipboard support for Rust")
2339 (description "This package provides x11 clipboard support for Rust.")
2340 (license license:expat)))
2341
2342 (define-public rust-x11-dl-2
2343 (package
2344 (name "rust-x11-dl")
2345 (version "2.18.5")
2346 (source
2347 (origin
2348 (method url-fetch)
2349 (uri (crate-uri "x11-dl" version))
2350 (file-name
2351 (string-append name "-" version ".tar.gz"))
2352 (sha256
2353 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2354 (build-system cargo-build-system)
2355 (arguments
2356 `(#:cargo-inputs
2357 (("rust-lazy-static" ,rust-lazy-static-1)
2358 ("rust-libc" ,rust-libc-0.2)
2359 ("rust-maybe-uninit" ,rust-maybe-uninit-2.0)
2360 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2361 (home-page "https://github.com/erlepereira/x11-rs.git")
2362 (synopsis "X11 library bindings for Rust")
2363 (description "This package provides X11 library bindings for Rust.")
2364 (license license:cc0)))
2365
2366 (define-public rust-y4m-0.5
2367 (package
2368 (name "rust-y4m")
2369 (version "0.5.3")
2370 (source
2371 (origin
2372 (method url-fetch)
2373 (uri (crate-uri "y4m" version))
2374 (file-name
2375 (string-append name "-" version ".tar.gz"))
2376 (sha256
2377 (base32
2378 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2379 (build-system cargo-build-system)
2380 (arguments
2381 `(#:cargo-development-inputs
2382 (("rust-resize" ,rust-resize-0.3))))
2383 (home-page "https://github.com/image-rs/y4m")
2384 (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2385 (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2386 (license license:expat)))