1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
3 ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
4 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
5 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
6 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
7 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
8 ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
9 ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
10 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
11 ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
12 ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
14 ;;; This file is part of GNU Guix.
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.
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.
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/>.
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))
43 ;;; Please: Try to add new module packages in alphabetic order.
45 (define-public rust-andrew-0.2
52 (uri (crate-uri "andrew" version))
54 (string-append name "-" version ".tar.gz"))
57 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
58 (build-system cargo-build-system)
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)
66 ("rust-xml-rs" ,rust-xml-rs-0.8))
67 #:cargo-development-inputs
68 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
70 `(("wayland" ,wayland)))
71 (home-page "https://github.com/trimental/andrew")
72 (synopsis "Provides convenient drawing of objects to buffers")
74 "The @code{andrew} crate provides convenient drawing of objects such as
75 shapes, lines and text to buffers.")
76 (license license:expat)))
78 (define-public rust-ansi-colours-1
80 (name "rust-ansi-colours")
85 (uri (crate-uri "ansi_colours" version))
87 (string-append name "-" version ".tar.gz"))
90 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
91 (build-system cargo-build-system)
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")
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+)))
109 (define-public rust-ansi-term-0.12
111 (name "rust-ansi-term")
116 (uri (crate-uri "ansi_term" version))
117 (file-name (string-append name "-" version ".crate"))
120 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
121 (build-system cargo-build-system)
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")
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)))
137 (define-public rust-ansi-term-0.11
139 (inherit rust-ansi-term-0.12)
140 (name "rust-ansi-term")
145 (uri (crate-uri "ansi_term" version))
146 (file-name (string-append name "-" version ".crate"))
149 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
153 (("rust-winapi" ,rust-winapi-0.3))))))
155 (define-public rust-ansi-term-0.9
157 (inherit rust-ansi-term-0.11)
158 (name "rust-ansi-term")
163 (uri (crate-uri "ansi_term" version))
165 (string-append name "-" version ".tar.gz"))
168 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
171 (define-public rust-aom-sys-0.2
173 (name "rust-aom-sys")
178 (uri (crate-uri "aom-sys" version))
180 (string-append name "-" version ".tar.gz"))
183 "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
184 (build-system cargo-build-system)
187 (("rust-bindgen" ,rust-bindgen-0.54)
188 ("rust-metadeps" ,rust-metadeps-1.1))))
190 `(("pkg-config" ,pkg-config)))
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)))
200 (define-public rust-aom-sys-0.1
202 (inherit rust-aom-sys-0.2)
203 (name "rust-aom-sys")
208 (uri (crate-uri "aom-sys" version))
210 (string-append name "-" version ".tar.gz"))
213 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
214 (build-system cargo-build-system)
217 (("rust-bindgen" ,rust-bindgen-0.53)
218 ("rust-metadeps" ,rust-metadeps-1.1))))
220 `(("pkg-config" ,pkg-config)))
226 (define-public rust-ascii-canvas-2
228 (name "rust-ascii-canvas")
233 (uri (crate-uri "ascii-canvas" version))
234 (file-name (string-append name "-" version ".tar.gz"))
236 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
237 (build-system cargo-build-system)
239 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
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
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,
249 (license (list license:asl2.0 license:expat))))
251 (define-public rust-cgl-0.3
258 (uri (crate-uri "cgl" version))
260 (string-append name "-" version ".tar.gz"))
263 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
264 (build-system cargo-build-system)
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))))
273 (define-public rust-cgl-0.2
275 (inherit rust-cgl-0.3)
281 (uri (crate-uri "cgl" version))
283 (string-append name "-" version ".tar.gz"))
286 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
288 `(#:skip-build? #t ; only available on macOS
290 (("rust-gleam" ,rust-gleam-0.6)
291 ("rust-libc" ,rust-libc-0.2))))))
293 (define-public rust-cgmath-0.17
300 (uri (crate-uri "cgmath" version))
302 (string-append name "-" version ".tar.gz"))
305 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
306 (build-system cargo-build-system)
308 `(#:skip-build? #t ; Crate won't build without glium.
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")
322 "This package provides a linear algebra and mathematics library
323 for computer graphics.")
324 (license license:asl2.0)))
326 (define-public rust-cgmath-0.16
328 (inherit rust-cgmath-0.17)
334 (uri (crate-uri "cgmath" version))
336 (string-append name "-" version ".tar.gz"))
339 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
341 `(#:skip-build? #t ; Crate won't build without glium.
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))))))
353 (define-public rust-core-graphics-0.17
355 (name "rust-core-graphics")
360 (uri (crate-uri "core-graphics" version))
362 (string-append name "-" version ".tar.gz"))
365 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
366 (build-system cargo-build-system)
368 `(#:skip-build? #t ; only for macOS
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")
377 "Bindings to Core Graphics for macOS.")
378 (license (list license:expat license:asl2.0))))
380 (define-public rust-core-video-sys-0.1
382 (name "rust-core-video-sys")
387 (uri (crate-uri "core-video-sys" version))
389 (string-append name "-" version ".tar.gz"))
392 "1l59cg88482hkl95ssb30ac9x65hpbdsmxz9s5r6y222jlhnbh4d"))))
393 (build-system cargo-build-system)
395 `(#:skip-build? #t ; only for macOS
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)))
408 (define-public rust-dav1d-sys-0.3
410 (name "rust-dav1d-sys")
415 (uri (crate-uri "dav1d-sys" version))
417 (string-append name "-" version ".tar.gz"))
420 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
421 (build-system cargo-build-system)
424 (("rust-bindgen" ,rust-bindgen-0.54)
425 ("rust-metadeps" ,rust-metadeps-1.1))))
427 `(("pkg-config" ,pkg-config)))
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)))
437 (define-public rust-euclid-0.20
444 (uri (crate-uri "euclid" version))
446 (string-append name "-" version ".tar.gz"))
449 "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
450 (build-system cargo-build-system)
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))))
463 (define-public rust-gfx-0.18
470 (uri (crate-uri "gfx" version))
472 (string-append name "-" version ".tar.gz"))
475 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
476 (build-system cargo-build-system)
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")
487 "This package provides a high-performance, bindless graphics API.")
488 (license license:asl2.0)))
490 (define-public rust-gfx-core-0.9
492 (name "rust-gfx-core")
497 (uri (crate-uri "gfx_core" version))
499 (string-append name "-" version ".tar.gz"))
502 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
503 (build-system cargo-build-system)
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)))
517 (define-public rust-gfx-device-gl-0.16
519 (name "rust-gfx-device-gl")
524 (uri (crate-uri "gfx_device_gl" version))
526 (string-append name "-" version ".tar.gz"))
529 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
530 (build-system cargo-build-system)
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)))
542 (define-public rust-gfx-gl-0.6
549 (uri (crate-uri "gfx_gl" version))
551 (string-append name "-" version ".tar.gz"))
554 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
555 (build-system cargo-build-system)
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")
563 "This package provides OpenGL bindings for gfx, based on gl-rs.")
564 (license license:asl2.0)))
566 (define-public rust-gif-0.10
573 (uri (crate-uri "gif" version))
575 (string-append name "-" version ".tar.gz"))
578 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
579 (build-system cargo-build-system)
581 `(#:tests? #f ; tests not included in release
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))))
593 (define-public rust-gl-0.11
600 (uri (crate-uri "gl" version))
602 (string-append name "-" version ".tar.gz"))
605 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
606 (build-system cargo-build-system)
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)))
616 (define-public rust-gl-generator-0.14
618 (name "rust-gl-generator")
623 (uri (crate-uri "gl-generator" version))
625 (string-append name "-" version ".tar.gz"))
628 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
629 (build-system cargo-build-system)
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")
638 "Code generators for creating bindings to the Khronos OpenGL APIs.")
639 (license license:asl2.0)))
641 (define-public rust-gl-generator-0.13
643 (inherit rust-gl-generator-0.14)
644 (name "rust-gl-generator")
649 (uri (crate-uri "gl-generator" version))
651 (string-append name "-" version ".tar.gz"))
654 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
656 (define-public rust-gl-generator-0.11
658 (inherit rust-gl-generator-0.13)
659 (name "rust-gl-generator")
664 (uri (crate-uri "gl-generator" version))
666 (string-append name "-" version ".tar.gz"))
669 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
671 (define-public rust-gl-generator-0.10
673 (name "rust-gl-generator")
678 (uri (crate-uri "gl_generator" version))
680 (string-append name "-" version ".tar.gz"))
683 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
684 (build-system cargo-build-system)
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/")
693 "Code generators for creating bindings to the Khronos OpenGL APIs")
695 "Code generators for creating bindings to the Khronos OpenGL APIs.")
696 (license license:asl2.0)))
698 (define-public rust-gleam-0.6
705 (uri (crate-uri "gleam" version))
707 (string-append name "-" version ".tar.gz"))
710 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
711 (build-system cargo-build-system)
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")
718 "Generated OpenGL bindings and wrapper for Servo.")
719 (license (list license:asl2.0 license:expat))))
721 (define-public rust-glutin-0.22
724 (version "0.22.0-alpha5")
728 (uri (crate-uri "glutin" version))
730 (string-append name "-" version ".tar.gz"))
733 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
734 (build-system cargo-build-system)
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")
758 "Cross-platform OpenGL context provider")
760 "Cross-platform OpenGL context provider.")
761 (license license:asl2.0)))
763 (define-public rust-glutin-0.21
765 (inherit rust-glutin-0.22)
771 (uri (crate-uri "glutin" version))
773 (string-append name "-" version ".tar.gz"))
776 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
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))))))
798 (define-public rust-glutin-egl-sys-0.1
800 (name "rust-glutin-egl-sys")
805 (uri (crate-uri "glutin-egl-sys" version))
807 (string-append name "-" version ".tar.gz"))
810 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
811 (build-system cargo-build-system)
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)))
821 (define-public rust-glutin-emscripten-sys-0.1
823 (name "rust-glutin-emscripten-sys")
828 (uri (crate-uri "glutin_emscripten_sys" version))
830 (string-append name "-" version ".tar.gz"))
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)))
840 (define-public rust-glutin-gles2-sys-0.1
842 (name "rust-glutin-gles2-sys")
847 (uri (crate-uri "glutin_gles2_sys" version))
849 (string-append name "-" version ".tar.gz"))
852 "1pswvl5zyqmqwzjr674yzslj0al2xbqsp2ai9ggb9qbshlq6r6c9"))))
853 (build-system cargo-build-system)
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)))
863 (define-public rust-glutin-glx-sys-0.1
865 (name "rust-glutin-glx-sys")
870 (uri (crate-uri "glutin-glx-sys" version))
872 (string-append name "-" version ".tar.gz"))
875 "0mxs3mil68xqqb49466n5rpwpcllj6fwqjgrcrzzmz26bv5ab40j"))))
876 (build-system cargo-build-system)
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)))
886 (define-public rust-glutin-wgl-sys-0.1
888 (name "rust-glutin-wgl-sys")
893 (uri (crate-uri "glutin-wgl-sys" version))
895 (string-append name "-" version ".tar.gz"))
898 "08chlfzpj59q36qm212i4k879gvjzha7i90q90fds8pw3v4vn0gq"))))
899 (build-system cargo-build-system)
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)))
908 (define-public rust-image-0.23
915 (uri (crate-uri "image" version))
917 (string-append name "-" version ".tar.gz"))
920 "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m"))))
921 (build-system cargo-build-system)
923 `(#:tests? #f ; Some test images are missing from the release.
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")
944 "Imaging library written in Rust. Provides basic filters and decoders
945 for the most common image formats.")
946 (license license:expat)))
948 (define-public rust-image-0.22
950 (inherit rust-image-0.23)
956 (uri (crate-uri "image" version))
958 (string-append name "-" version ".tar.gz"))
961 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
963 `(#:tests? #f ; Some test images are missing from the release.
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))))))
980 (define-public rust-image-0.21
982 (inherit rust-image-0.22)
988 (uri (crate-uri "image" version))
990 (string-append name "-" version ".tar.gz"))
993 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
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))))))
1011 (define-public rust-image-0.20
1013 (inherit rust-image-0.21)
1019 (uri (crate-uri "image" version))
1021 (string-append name "-" version ".tar.gz"))
1024 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
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))))))
1042 (define-public rust-jpeg-decoder-0.1
1044 (name "rust-jpeg-decoder")
1049 (uri (crate-uri "jpeg-decoder" version))
1051 (string-append name "-" version ".tar.gz"))
1054 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1055 (build-system cargo-build-system)
1057 `(#:tests? #f ; Some test files missing.
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))))
1070 (define-public rust-line-drawing-0.7
1072 (name "rust-line-drawing")
1077 (uri (crate-uri "line_drawing" version))
1079 (string-append name "-" version ".tar.gz"))
1082 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1083 (build-system cargo-build-system)
1085 ;; This version does not specify any versions on dependants.
1086 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
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")
1096 "This package provides a collection of line-drawing algorithms for use in
1097 graphics and video games.")
1098 (license license:expat)))
1100 (define-public rust-lyon-geom-0.14
1102 (name "rust-lyon-geom")
1107 (uri (crate-uri "lyon_geom" version))
1109 (string-append name "-" version ".tar.gz"))
1112 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1113 (build-system cargo-build-system)
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")
1124 "This package provides 2D graphics rendering on the GPU using tessellation.")
1125 (license (list license:expat license:asl2.0))))
1127 (define-public rust-lyon-path-0.14
1129 (name "rust-lyon-path")
1134 (uri (crate-uri "lyon_path" version))
1136 (string-append name "-" version ".tar.gz"))
1139 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1140 (build-system cargo-build-system)
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")
1149 "Types and utilities to store, build and iterate over 2D paths.")
1150 (license (list license:expat license:asl2.0))))
1152 (define-public rust-osmesa-sys-0.1
1154 (name "rust-osmesa-sys")
1159 (uri (crate-uri "osmesa-sys" version))
1161 (string-append name "-" version ".tar.gz"))
1164 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1165 (build-system cargo-build-system)
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)))
1174 (define-public rust-piston-0.49
1176 (name "rust-piston")
1181 (uri (crate-uri "piston" version))
1183 (string-append name "-" version ".tar.gz"))
1186 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1187 (build-system cargo-build-system)
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")
1197 "The Piston game engine core libraries.")
1198 (license license:expat)))
1200 (define-public rust-piston-float-1.0
1202 (name "rust-piston-float")
1207 (uri (crate-uri "piston-float" version))
1209 (string-append name "-" version ".tar.gz"))
1212 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1213 (build-system cargo-build-system)
1214 (arguments `(#:skip-build? #t))
1216 "https://github.com/pistondevelopers/float")
1218 "Traits for generic floats in game development")
1220 "Traits for generic floats in game development")
1221 (license license:expat)))
1223 (define-public rust-piston-gfx-texture-0.40
1225 (name "rust-piston-gfx-texture")
1230 (uri (crate-uri "piston-gfx_texture" version))
1232 (string-append name "-" version ".tar.gz"))
1235 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1236 (build-system cargo-build-system)
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")
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)))
1251 (define-public rust-piston-graphics-api-version-0.2
1253 (name "rust-piston-graphics-api-version")
1258 (uri (crate-uri "piston-graphics_api_version" version))
1260 (string-append name "-" version ".tar.gz"))
1263 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1264 (build-system cargo-build-system)
1265 (arguments `(#:skip-build? #t))
1267 "https://github.com/PistonDevelopers/graphics_api_version")
1269 "A library for storing graphics API versions")
1271 "This package provides a library for storing graphics API versions")
1272 (license license:expat)))
1274 (define-public rust-piston-shaders-graphics2d-0.3
1276 (name "rust-piston-shaders-graphics2d")
1281 (uri (crate-uri "piston-shaders_graphics2d" version))
1283 (string-append name "-" version ".tar.gz"))
1286 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1287 (build-system cargo-build-system)
1288 (arguments `(#:skip-build? #t))
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)))
1295 (define-public rust-piston-texture-0.8
1297 (name "rust-piston-texture")
1302 (uri (crate-uri "piston-texture" version))
1304 (string-append name "-" version ".tar.gz"))
1307 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1308 (build-system cargo-build-system)
1309 (arguments `(#:skip-build? #t))
1311 "https://github.com/pistondevelopers/texture")
1312 (synopsis "A generic library for textures")
1314 "This package provides a generic library for textures")
1315 (license license:expat)))
1317 (define-public rust-piston-viewport-1.0
1319 (name "rust-piston-viewport")
1324 (uri (crate-uri "piston-viewport" version))
1326 (string-append name "-" version ".tar.gz"))
1329 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1330 (build-system cargo-build-system)
1334 (("rust-piston-float" ,rust-piston-float-1.0))))
1335 (home-page "https://github.com/PistonDevelopers/viewport")
1336 (synopsis "Library for storing viewport information")
1338 "This package provides a library for storing viewport information.")
1339 (license license:expat)))
1341 (define-public rust-piston-window-0.105
1343 (name "rust-piston-window")
1348 (uri (crate-uri "piston_window" version))
1350 (string-append name "-" version ".tar.gz"))
1353 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1354 (build-system cargo-build-system)
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")
1369 "The official Piston window wrapper for the Piston game engine.")
1370 (license license:expat)))
1372 (define-public rust-piston2d-gfx-graphics-0.66
1374 (name "rust-piston2d-gfx-graphics")
1379 (uri (crate-uri "piston2d-gfx_graphics" version))
1381 (string-append name "-" version ".tar.gz"))
1384 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1385 (build-system cargo-build-system)
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")
1397 "This package provides a Gfx 2D back-end for the Piston game engine.")
1398 (license license:expat)))
1400 (define-public rust-piston2d-graphics-0.35
1402 (name "rust-piston2d-graphics")
1407 (uri (crate-uri "piston2d-graphics" version))
1409 (string-append name "-" version ".tar.gz"))
1412 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1413 (build-system cargo-build-system)
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)))
1430 (define-public rust-pistoncore-event-loop-0.49
1432 (name "rust-pistoncore-event-loop")
1437 (uri (crate-uri "pistoncore-event_loop" version))
1439 (string-append name "-" version ".tar.gz"))
1442 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1443 (build-system cargo-build-system)
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)))
1455 (define-public rust-pistoncore-glutin-window-0.63
1457 (name "rust-pistoncore-glutin-window")
1462 (uri (crate-uri "pistoncore-glutin_window" version))
1464 (string-append name "-" version ".tar.gz"))
1467 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1468 (build-system cargo-build-system)
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")
1480 "This package provides a Piston window back-end using the Glutin library.")
1481 (license license:expat)))
1483 (define-public rust-pistoncore-input-0.28
1485 (name "rust-pistoncore-input")
1490 (uri (crate-uri "pistoncore-input" version))
1492 (string-append name "-" version ".tar.gz"))
1495 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1496 (build-system cargo-build-system)
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")
1507 "This package provides a structure for user input.")
1508 (license license:expat)))
1510 (define-public rust-pistoncore-window-0.44
1512 (name "rust-pistoncore-window")
1517 (uri (crate-uri "pistoncore-window" version))
1519 (string-append name "-" version ".tar.gz"))
1522 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1523 (build-system cargo-build-system)
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")
1533 "This package provides a library for window abstraction.")
1534 (license license:expat)))
1536 (define-public rust-png-0.16
1543 (uri (crate-uri "png" version))
1545 (string-append name "-" version ".tar.gz"))
1548 "1393s3v3kg4bxnn86d7yn2vyz8xj6g64ighdfkc3vzpsg5sbyl61"))))
1549 (build-system cargo-build-system)
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")
1568 "PNG decoding and encoding library in pure Rust.")
1569 (license (list license:expat license:asl2.0))))
1571 (define-public rust-png-0.15
1573 (inherit rust-png-0.16)
1579 (uri (crate-uri "png" version))
1581 (string-append name "-" version ".tar.gz"))
1584 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
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))))))
1600 (define-public rust-png-0.14
1602 (inherit rust-png-0.15)
1608 (uri (crate-uri "png" version))
1610 (string-append name "-" version ".tar.gz"))
1613 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
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))))))
1629 (define-public rust-png-0.12
1631 (inherit rust-png-0.14)
1637 (uri (crate-uri "png" version))
1639 (string-append name "-" version ".tar.gz"))
1642 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
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))))))
1657 (define-public rust-raw-window-handle-0.3
1659 (name "rust-raw-window-handle")
1664 (uri (crate-uri "raw-window-handle" version))
1666 (string-append name "-" version ".tar.gz"))
1669 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1670 (build-system cargo-build-system)
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")
1676 "Interoperability library for Rust Windowing applications.")
1677 (license license:expat)))
1679 (define-public rust-resize-0.3
1681 (name "rust-resize")
1686 (uri (crate-uri "resize" version))
1688 (string-append name "-" version ".tar.gz"))
1691 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1692 (build-system cargo-build-system)
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")
1699 "This package provides a simple image resampling library in pure Rust.")
1700 (license license:expat)))
1702 (define-public rust-rgb-0.8
1709 (uri (crate-uri "rgb" version))
1710 (file-name (string-append name "-" version ".crate"))
1713 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1714 (build-system cargo-build-system)
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")
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)))
1731 (define-public rust-smithay-client-toolkit-0.6
1733 (name "rust-smithay-client-toolkit")
1738 (uri (crate-uri "smithay-client-toolkit" version))
1740 (string-append name "-" version ".tar.gz"))
1743 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
1744 (build-system cargo-build-system)
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")
1762 "Toolkit for making client wayland applications.")
1763 (license license:expat)))
1765 (define-public rust-smithay-client-toolkit-0.4
1767 (inherit rust-smithay-client-toolkit-0.6)
1768 (name "rust-smithay-client-toolkit")
1773 (uri (crate-uri "smithay-client-toolkit" version))
1775 (string-append name "-" version ".tar.gz"))
1778 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
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))))))
1795 (define-public rust-smithay-clipboard-0.3
1797 (name "rust-smithay-clipboard")
1802 (uri (crate-uri "smithay-clipboard" version))
1804 (string-append name "-" version ".tar.gz"))
1807 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
1808 (build-system cargo-build-system)
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))))
1816 `(("wayland" ,wayland)))
1817 (home-page "https://github.com/smithay/smithay-clipboard")
1819 "Provides access to the wayland clipboard for client applications")
1821 "This package provides access to the wayland clipboard for client applications.")
1822 (license license:expat)))
1824 (define-public rust-tiff-0.5
1831 (uri (crate-uri "tiff" version))
1833 (string-append name "-" version ".tar.gz"))
1836 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
1837 (build-system cargo-build-system)
1839 `(#:tests? #f ; not all test files included
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")
1846 "TIFF decoding and encoding library in pure Rust")
1848 "TIFF decoding and encoding library in pure Rust.")
1849 (license license:expat)))
1851 (define-public rust-tiff-0.3
1853 (inherit rust-tiff-0.5)
1859 (uri (crate-uri "tiff" version))
1861 (string-append name "-" version ".tar.gz"))
1864 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
1866 `(#:tests? #f ; Tests images not included with release.
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))))))
1875 (define-public rust-tiff-0.2
1877 (inherit rust-tiff-0.3)
1883 (uri (crate-uri "tiff" version))
1885 (string-append name "-" version ".tar.gz"))
1888 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
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))))))
1896 (define-public rust-wayland-client-0.23
1898 (name "rust-wayland-client")
1903 (uri (crate-uri "wayland-client" version))
1905 (string-append name "-" version ".tar.gz"))
1908 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
1909 (build-system cargo-build-system)
1912 (("rust-bitflags" ,rust-bitflags-1)
1913 ("rust-calloop" ,rust-calloop-0.4)
1914 ("rust-downcast-rs" ,rust-downcast-rs-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")
1926 "Rust bindings to the standard C implementation of the wayland protocol")
1928 "This package provides Rust bindings to the standard C implementation of
1929 the wayland protocol, client side.")
1930 (license license:expat)))
1932 (define-public rust-wayland-client-0.21
1934 (inherit rust-wayland-client-0.23)
1935 (name "rust-wayland-client")
1940 (uri (crate-uri "wayland-client" version))
1942 (string-append name "-" version ".tar.gz"))
1945 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
1948 (("rust-bitflags" ,rust-bitflags-1)
1949 ("rust-calloop" ,rust-calloop-0.4)
1950 ("rust-downcast-rs" ,rust-downcast-rs-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))))))
1961 (define-public rust-wayland-commons-0.23
1963 (name "rust-wayland-commons")
1968 (uri (crate-uri "wayland-commons" version))
1970 (string-append name "-" version ".tar.gz"))
1973 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
1974 (build-system cargo-build-system)
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")
1981 "Common types and structures used by wayland-client and wayland-server")
1983 "Common types and structures used by wayland-client and wayland-server.")
1984 (license license:expat)))
1986 (define-public rust-wayland-commons-0.21
1988 (inherit rust-wayland-commons-0.23)
1989 (name "rust-wayland-commons")
1994 (uri (crate-uri "wayland-commons" version))
1996 (string-append name "-" version ".tar.gz"))
1999 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2002 (("rust-nix" ,rust-nix-0.14)
2003 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2005 (define-public rust-wayland-protocols-0.23
2007 (name "rust-wayland-protocols")
2012 (uri (crate-uri "wayland-protocols" version))
2014 (string-append name "-" version ".tar.gz"))
2017 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2018 (build-system cargo-build-system)
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")
2028 "Generated API for the officials wayland protocol extensions")
2030 "Generated API for the officials wayland protocol extensions.")
2031 (license license:expat)))
2033 (define-public rust-wayland-protocols-0.21
2035 (inherit rust-wayland-protocols-0.23)
2036 (name "rust-wayland-protocols")
2041 (uri (crate-uri "wayland-protocols" version))
2043 (string-append name "-" version ".tar.gz"))
2046 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
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))))))
2056 (define-public rust-wayland-scanner-0.23
2058 (name "rust-wayland-scanner")
2063 (uri (crate-uri "wayland-scanner" version))
2065 (string-append name "-" version ".tar.gz"))
2068 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2069 (build-system cargo-build-system)
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")
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)))
2084 (define-public rust-wayland-scanner-0.21
2086 (inherit rust-wayland-scanner-0.23)
2087 (name "rust-wayland-scanner")
2092 (uri (crate-uri "wayland-scanner" version))
2094 (string-append name "-" version ".tar.gz"))
2097 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2099 (define-public rust-wayland-server-0.23
2101 (name "rust-wayland-server")
2106 (uri (crate-uri "wayland-server" version))
2108 (string-append name "-" version ".tar.gz"))
2111 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2112 (build-system cargo-build-system)
2115 (("rust-bitflags" ,rust-bitflags-1)
2116 ("rust-calloop" ,rust-calloop-0.4)
2117 ("rust-downcast-rs" ,rust-downcast-rs-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")
2126 "Bindings to the standard C implementation of the wayland protocol")
2128 "This package provides Rust bindings to the standard C implementation of
2129 the wayland protocol, server side.")
2130 (license license:expat)))
2132 (define-public rust-wayland-server-0.21
2134 (inherit rust-wayland-server-0.23)
2135 (name "rust-wayland-server")
2140 (uri (crate-uri "wayland-server" version))
2142 (string-append name "-" version ".tar.gz"))
2145 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2148 (("rust-bitflags" ,rust-bitflags-1)
2149 ("rust-calloop" ,rust-calloop-0.4)
2150 ("rust-downcast-rs" ,rust-downcast-rs-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))))))
2158 (define-public rust-wayland-sys-0.23
2160 (name "rust-wayland-sys")
2165 (uri (crate-uri "wayland-sys" version))
2167 (string-append name "-" version ".tar.gz"))
2170 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2171 (build-system cargo-build-system)
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")
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)))
2185 (define-public rust-wayland-sys-0.21
2187 (inherit rust-wayland-sys-0.23)
2188 (name "rust-wayland-sys")
2193 (uri (crate-uri "wayland-sys" version))
2195 (string-append name "-" version ".tar.gz"))
2198 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2200 (define-public rust-winit-0.20
2203 (version "0.20.0-alpha6")
2207 (uri (crate-uri "winit" version))
2209 (string-append name "-" version ".tar.gz"))
2212 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2217 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2218 (file-name (string-append name "-fix-bindings.patch"))
2221 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2222 (build-system cargo-build-system)
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")
2255 "Cross-platform window creation library")
2257 "Cross-platform window creation library.")
2258 (license license:asl2.0)))
2260 (define-public rust-winit-0.19
2262 (inherit rust-winit-0.20)
2268 (uri (crate-uri "winit" version))
2270 (string-append name "-" version ".tar.gz"))
2273 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
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))))))
2296 (define-public rust-x11-2
2303 (uri (crate-uri "x11" version))
2305 (string-append name "-" version ".tar.gz"))
2307 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
2308 (build-system cargo-build-system)
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)))
2318 (define-public rust-x11-clipboard-0.4
2320 (name "rust-x11-clipboard")
2325 (uri (crate-uri "x11-clipboard" version))
2327 (string-append name "-" version ".tar.gz"))
2330 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
2331 (build-system cargo-build-system)
2333 `(#:tests? #f ; Tests require display server.
2334 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
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)))
2342 (define-public rust-x11-dl-2
2344 (name "rust-x11-dl")
2349 (uri (crate-uri "x11-dl" version))
2351 (string-append name "-" version ".tar.gz"))
2353 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2354 (build-system cargo-build-system)
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)))
2366 (define-public rust-y4m-0.5
2373 (uri (crate-uri "y4m" version))
2375 (string-append name "-" version ".tar.gz"))
2378 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2379 (build-system cargo-build-system)
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)))