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>
12 ;;; This file is part of GNU Guix.
14 ;;; GNU Guix is free software; you can redistribute it and/or modify it
15 ;;; under the terms of the GNU General Public License as published by
16 ;;; the Free Software Foundation; either version 3 of the License, or (at
17 ;;; your option) any later version.
19 ;;; GNU Guix is distributed in the hope that it will be useful, but
20 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;;; GNU General Public License for more details.
24 ;;; You should have received a copy of the GNU General Public License
25 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
27 (define-module (gnu packages crates-graphics)
28 #:use-module (guix build-system cargo)
29 #:use-module (guix download)
30 #:use-module ((guix licenses) #:prefix license:)
31 #:use-module (guix packages)
32 #:use-module (gnu packages)
33 #:use-module (gnu packages crates-io)
34 #:use-module (gnu packages freedesktop)
35 #:use-module (gnu packages llvm)
36 #:use-module (gnu packages pkg-config)
37 #:use-module (gnu packages python)
38 #:use-module (gnu packages video))
41 ;;; Please: Try to add new module packages in alphabetic order.
43 (define-public rust-andrew-0.2
50 (uri (crate-uri "andrew" version))
52 (string-append name "-" version ".tar.gz"))
55 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
56 (build-system cargo-build-system)
59 (("rust-bitflags" ,rust-bitflags-1)
60 ("rust-line-drawing" ,rust-line-drawing-0.7)
61 ("rust-rusttype" ,rust-rusttype-0.7)
62 ("rust-walkdir" ,rust-walkdir-2)
63 ("rust-xdg" ,rust-xdg-2.2)
64 ("rust-xml-rs" ,rust-xml-rs-0.8))
65 #:cargo-development-inputs
66 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
68 `(("wayland" ,wayland)))
69 (home-page "https://github.com/trimental/andrew")
70 (synopsis "Provides convenient drawing of objects to buffers")
72 "The @code{andrew} crate provides convenient drawing of objects such as
73 shapes, lines and text to buffers.")
74 (license license:expat)))
76 (define-public rust-ansi-colours-1
78 (name "rust-ansi-colours")
83 (uri (crate-uri "ansi_colours" version))
85 (string-append name "-" version ".tar.gz"))
88 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
89 (build-system cargo-build-system)
92 (("rust-cc" ,rust-cc-1))
93 #:cargo-development-inputs
94 (("rust-delta-e" ,rust-delta-e-0.2)
95 ("rust-lab" ,rust-lab-0.4))))
96 (home-page "https://github.com/mina86/ansi_colours")
97 (synopsis "Palette converter between true-colour and ANSI terminal")
99 "@code{ansi_colours} is a library which converts between 24-bit sRGB
100 colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
101 @code{rxvt-unicode} in 256-colour mode.
102 The most common use case is when using 24-bit colours in a terminal emulator
103 which only support 8-bit colour palette. This package allows true-colours to be
104 approximated by values supported by the terminal.")
105 (license license:lgpl3+)))
107 (define-public rust-ansi-term-0.12
109 (name "rust-ansi-term")
114 (uri (crate-uri "ansi_term" version))
115 (file-name (string-append name "-" version ".crate"))
118 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
119 (build-system cargo-build-system)
122 (("rust-serde" ,rust-serde-1)
123 ("rust-winapi" ,rust-winapi-0.3))
124 #:cargo-development-inputs
125 (("rust-doc-comment" ,rust-doc-comment-0.3)
126 ("rust-regex" ,rust-regex-1)
127 ("rust-serde-json" ,rust-serde-json-1))))
128 (home-page "https://github.com/ogham/rust-ansi-term")
129 (synopsis "Library for ANSI terminal colours and styles")
131 "This is a library for controlling colours and formatting, such as red bold
132 text or blue underlined text, on ANSI terminals.")
133 (license license:expat)))
135 (define-public rust-ansi-term-0.11
137 (inherit rust-ansi-term-0.12)
138 (name "rust-ansi-term")
143 (uri (crate-uri "ansi_term" version))
144 (file-name (string-append name "-" version ".crate"))
147 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
151 (("rust-winapi" ,rust-winapi-0.3))))))
153 (define-public rust-ansi-term-0.9
155 (inherit rust-ansi-term-0.11)
156 (name "rust-ansi-term")
161 (uri (crate-uri "ansi_term" version))
163 (string-append name "-" version ".tar.gz"))
166 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
169 (define-public rust-aom-sys-0.1
171 (name "rust-aom-sys")
176 (uri (crate-uri "aom-sys" version))
178 (string-append name "-" version ".tar.gz"))
181 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
182 (build-system cargo-build-system)
185 (("rust-bindgen" ,rust-bindgen-0.53)
186 ("rust-metadeps" ,rust-metadeps-1.1))
188 (modify-phases %standard-phases
189 (add-after 'unpack 'set-environmental-variable
190 (lambda* (#:key inputs #:allow-other-keys)
191 (let ((clang (assoc-ref inputs "libclang")))
192 (setenv "LIBCLANG_PATH"
193 (string-append clang "/lib")))
196 `(("pkg-config" ,pkg-config)))
201 (home-page "https://github.com/rust-av/aom-rs")
202 (synopsis "FFI bindings to aom")
203 (description "This package provides FFI bindings to aom.")
204 (license license:expat)))
206 (define-public rust-ascii-canvas-2
208 (name "rust-ascii-canvas")
213 (uri (crate-uri "ascii-canvas" version))
214 (file-name (string-append name "-" version ".tar.gz"))
216 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
217 (build-system cargo-build-system)
219 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
221 (("rust-term" ,rust-term-0.5))))
222 (home-page "https://github.com/nikomatsakis/ascii-canvas")
223 (synopsis "Simple canvas for drawing lines and styled text and emitting to
225 (description "@code{ASCII} canvas is a simple Rust library that allows you
226 to draw lines and colored text and then write them to the terminal. It uses
227 the term library to handle the ANSI nonsense and hence it works on Windows,
229 (license (list license:asl2.0 license:expat))))
231 (define-public rust-cgl-0.3
238 (uri (crate-uri "cgl" version))
240 (string-append name "-" version ".tar.gz"))
243 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
244 (build-system cargo-build-system)
246 `(#:skip-build? #t ; only available on macOS
247 #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
248 (home-page "https://github.com/servo/cgl-rs")
249 (synopsis "Rust bindings for CGL on Mac")
250 (description "Rust bindings for CGL on Mac.")
251 (license (list license:expat license:asl2.0))))
253 (define-public rust-cgl-0.2
255 (inherit rust-cgl-0.3)
261 (uri (crate-uri "cgl" version))
263 (string-append name "-" version ".tar.gz"))
266 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
268 `(#:skip-build? #t ; only available on macOS
270 (("rust-gleam" ,rust-gleam-0.6)
271 ("rust-libc" ,rust-libc-0.2))))))
273 (define-public rust-cgmath-0.17
280 (uri (crate-uri "cgmath" version))
282 (string-append name "-" version ".tar.gz"))
285 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
286 (build-system cargo-build-system)
288 `(#:skip-build? #t ; Crate won't build without glium.
290 (("rust-approx" ,rust-approx-0.3)
291 ("rust-mint" ,rust-mint-0.5)
292 ("rust-num-traits" ,rust-num-traits-0.2)
293 ("rust-rand" ,rust-rand-0.6)
294 ("rust-serde" ,rust-serde-1)
295 ("rust-simd" ,rust-simd-0.2))
296 #:cargo-development-inputs
297 (;("rust-glium" ,rust-glium-0.23)
298 ("rust-serde-json" ,rust-serde-json-1))))
299 (home-page "https://github.com/brendanzab/cgmath")
300 (synopsis "Linear algebra and mathematics library")
302 "This package provides a linear algebra and mathematics library
303 for computer graphics.")
304 (license license:asl2.0)))
306 (define-public rust-cgmath-0.16
308 (inherit rust-cgmath-0.17)
314 (uri (crate-uri "cgmath" version))
316 (string-append name "-" version ".tar.gz"))
319 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
321 `(#:skip-build? #t ; Crate won't build without glium.
323 (("rust-approx" ,rust-approx-0.1)
324 ("rust-mint" ,rust-mint-0.5)
325 ("rust-num-traits" ,rust-num-traits-0.1)
326 ("rust-rand" ,rust-rand-0.4)
327 ("rust-serde" ,rust-serde-1)
328 ("rust-simd" ,rust-simd-0.2))
329 #:cargo-development-inputs
330 (;("rust-glium" ,rust-glium-0.19)
331 ("rust-serde-json" ,rust-serde-json-1))))))
333 (define-public rust-core-graphics-0.17
335 (name "rust-core-graphics")
340 (uri (crate-uri "core-graphics" version))
342 (string-append name "-" version ".tar.gz"))
345 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
346 (build-system cargo-build-system)
348 `(#:skip-build? #t ; only for macOS
350 (("rust-bitflags" ,rust-bitflags-1)
351 ("rust-core-foundation" ,rust-core-foundation-0.6)
352 ("rust-foreign-types" ,rust-foreign-types-0.3)
353 ("rust-libc" ,rust-libc-0.2))))
354 (home-page "https://github.com/servo/core-graphics-rs")
355 (synopsis "Bindings to Core Graphics for macOS")
357 "Bindings to Core Graphics for macOS.")
358 (license (list license:expat license:asl2.0))))
360 (define-public rust-core-video-sys-0.1
362 (name "rust-core-video-sys")
367 (uri (crate-uri "core-video-sys" version))
369 (string-append name "-" version ".tar.gz"))
372 "1l59cg88482hkl95ssb30ac9x65hpbdsmxz9s5r6y222jlhnbh4d"))))
373 (build-system cargo-build-system)
375 `(#:skip-build? #t ; only for macOS
377 (("rust-cfg-if" ,rust-cfg-if-0.1)
378 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
379 ("rust-core-graphics" ,rust-core-graphics-0.17)
380 ("rust-libc" ,rust-libc-0.2)
381 ("rust-metal" ,rust-metal-0.14)
382 ("rust-objc" ,rust-objc-0.2))))
383 (home-page "https://github.com/luozijun/rust-core-video-sys")
384 (synopsis "Bindings to CoreVideo.framework for macOS and iOS")
385 (description "Bindings to CoreVideo.framework for macOS and iOS.")
386 (license license:expat)))
388 (define-public rust-dav1d-sys-0.3
390 (name "rust-dav1d-sys")
395 (uri (crate-uri "dav1d-sys" version))
397 (string-append name "-" version ".tar.gz"))
400 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
401 (build-system cargo-build-system)
404 (("rust-bindgen" ,rust-bindgen-0.54)
405 ("rust-metadeps" ,rust-metadeps-1.1))
407 (modify-phases %standard-phases
408 (add-after 'unpack 'set-environmental-variable
409 (lambda* (#:key inputs #:allow-other-keys)
410 (let ((clang (assoc-ref inputs "libclang")))
411 (setenv "LIBCLANG_PATH"
412 (string-append clang "/lib")))
416 ("pkg-config" ,pkg-config)
419 (home-page "https://github.com/rust-av/dav1d-rs")
420 (synopsis "FFI bindings to dav1d")
421 (description "This package provides FFI bindings to dav1d.")
422 (license license:expat)))
424 (define-public rust-euclid-0.20
431 (uri (crate-uri "euclid" version))
433 (string-append name "-" version ".tar.gz"))
436 "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
437 (build-system cargo-build-system)
440 (("rust-mint" ,rust-mint-0.5)
441 ("rust-num-traits" ,rust-num-traits-0.2)
442 ("rust-serde" ,rust-serde-1))
443 #:cargo-development-inputs
444 (("rust-serde-test" ,rust-serde-test-1))))
445 (home-page "https://github.com/servo/euclid")
446 (synopsis "Geometry primitives")
447 (description "Geometry primitives written in Rust.")
448 (license (list license:expat license:asl2.0))))
450 (define-public rust-gfx-0.18
457 (uri (crate-uri "gfx" version))
459 (string-append name "-" version ".tar.gz"))
462 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
463 (build-system cargo-build-system)
467 (("rust-log" ,rust-log-0.4)
468 ("rust-mint" ,rust-mint-0.5)
469 ("rust-draw-state" ,rust-draw-state-0.8)
470 ("rust-gfx-core" ,rust-gfx-core-0.9))))
471 (home-page "https://github.com/gfx-rs/gfx")
472 (synopsis "High-performance, bindless graphics API")
474 "This package provides a high-performance, bindless graphics API.")
475 (license license:asl2.0)))
477 (define-public rust-gfx-core-0.9
479 (name "rust-gfx-core")
484 (uri (crate-uri "gfx_core" version))
486 (string-append name "-" version ".tar.gz"))
489 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
490 (build-system cargo-build-system)
494 (("rust-log" ,rust-log-0.4)
495 ("rust-mint" ,rust-mint-0.5)
496 ("rust-draw-state" ,rust-draw-state-0.8)
497 ("rust-serde" ,rust-serde-1)
498 ("rust-bitflags" ,rust-bitflags-1))))
499 (home-page "https://github.com/gfx-rs/gfx")
500 (synopsis "Core library of Gfx-rs")
501 (description "This package is a core library of Gfx-rs.")
502 (license license:asl2.0)))
504 (define-public rust-gfx-device-gl-0.16
506 (name "rust-gfx-device-gl")
511 (uri (crate-uri "gfx_device_gl" version))
513 (string-append name "-" version ".tar.gz"))
516 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
517 (build-system cargo-build-system)
521 (("rust-log" ,rust-log-0.4)
522 ("rust-gfx-gl" ,rust-gfx-gl-0.6)
523 ("rust-gfx-core" ,rust-gfx-core-0.9))))
524 (home-page "https://github.com/gfx-rs/gfx")
525 (synopsis "OpenGL backend for gfx-rs")
526 (description "This package provides the openGL backend for gfx-rs.")
527 (license license:asl2.0)))
529 (define-public rust-gfx-gl-0.6
536 (uri (crate-uri "gfx_gl" version))
538 (string-append name "-" version ".tar.gz"))
541 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
542 (build-system cargo-build-system)
546 (("rust-gl-generator" ,rust-gl-generator-0.14))))
547 (home-page "https://github.com/gfx-rs/gfx_gl")
548 (synopsis "OpenGL bindings for gfx, based on gl-rs")
550 "This package provides OpenGL bindings for gfx, based on gl-rs.")
551 (license license:asl2.0)))
553 (define-public rust-gif-0.10
560 (uri (crate-uri "gif" version))
562 (string-append name "-" version ".tar.gz"))
565 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
566 (build-system cargo-build-system)
568 `(#:tests? #f ; tests not included in release
570 (("rust-color-quant" ,rust-color-quant-1.0)
571 ("rust-libc" ,rust-libc-0.2)
572 ("rust-lzw" ,rust-lzw-0.10))
573 #:cargo-development-inputs
574 (("rust-glob" ,rust-glob-0.3))))
575 (home-page "https://github.com/image-rs/image-gif")
576 (synopsis "GIF decoder and encoder")
577 (description "This package provides a GIF decoder and encoder in Rust.")
578 (license (list license:expat license:asl2.0))))
580 (define-public rust-gl-0.11
587 (uri (crate-uri "gl" version))
589 (string-append name "-" version ".tar.gz"))
592 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
593 (build-system cargo-build-system)
597 (("rust-gl-generator" ,rust-gl-generator-0.10))))
598 (home-page "https://github.com/brendanzab/gl-rs/")
599 (synopsis "OpenGL bindings for rust")
600 (description "This package provides OpenGL bindings for rust.")
601 (license license:asl2.0)))
603 (define-public rust-gl-generator-0.14
605 (name "rust-gl-generator")
610 (uri (crate-uri "gl-generator" version))
612 (string-append name "-" version ".tar.gz"))
615 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
616 (build-system cargo-build-system)
619 (("rust-khronos-api" ,rust-khronos-api-3)
620 ("rust-log" ,rust-log-0.4)
621 ("rust-xml-rs" ,rust-xml-rs-0.8))))
622 (home-page "https://github.com/brendanzab/gl-rs/")
623 (synopsis "Code generators for bindings to the Khronos OpenGL APIs")
625 "Code generators for creating bindings to the Khronos OpenGL APIs.")
626 (license license:asl2.0)))
628 (define-public rust-gl-generator-0.13
630 (inherit rust-gl-generator-0.14)
631 (name "rust-gl-generator")
636 (uri (crate-uri "gl-generator" version))
638 (string-append name "-" version ".tar.gz"))
641 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
643 (define-public rust-gl-generator-0.11
645 (inherit rust-gl-generator-0.13)
646 (name "rust-gl-generator")
651 (uri (crate-uri "gl-generator" version))
653 (string-append name "-" version ".tar.gz"))
656 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
658 (define-public rust-gl-generator-0.10
660 (name "rust-gl-generator")
665 (uri (crate-uri "gl_generator" version))
667 (string-append name "-" version ".tar.gz"))
670 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
671 (build-system cargo-build-system)
675 (("rust-log" ,rust-log-0.4)
676 ("rust-xml-rs" ,rust-xml-rs-0.8)
677 ("rust-khronos-api" ,rust-khronos-api-3))))
678 (home-page "https://github.com/brendanzab/gl-rs/")
680 "Code generators for creating bindings to the Khronos OpenGL APIs")
682 "Code generators for creating bindings to the Khronos OpenGL APIs.")
683 (license license:asl2.0)))
685 (define-public rust-gleam-0.6
692 (uri (crate-uri "gleam" version))
694 (string-append name "-" version ".tar.gz"))
697 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
698 (build-system cargo-build-system)
701 (("rust-gl-generator" ,rust-gl-generator-0.13))))
702 (home-page "https://github.com/servo/gleam")
703 (synopsis "Generated OpenGL bindings and wrapper for Servo")
705 "Generated OpenGL bindings and wrapper for Servo.")
706 (license (list license:asl2.0 license:expat))))
708 (define-public rust-glutin-0.22
711 (version "0.22.0-alpha5")
715 (uri (crate-uri "glutin" version))
717 (string-append name "-" version ".tar.gz"))
720 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
721 (build-system cargo-build-system)
724 (("rust-android-glue" ,rust-android-glue-0.2)
725 ("rust-cgl" ,rust-cgl-0.3)
726 ("rust-cocoa" ,rust-cocoa-0.19)
727 ("rust-core-foundation" ,rust-core-foundation-0.6)
728 ("rust-core-graphics" ,rust-core-graphics-0.17)
729 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
730 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
731 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
732 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
733 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
734 ("rust-lazy-static" ,rust-lazy-static-1)
735 ("rust-libloading" ,rust-libloading-0.5)
736 ("rust-log" ,rust-log-0.4)
737 ("rust-objc" ,rust-objc-0.2)
738 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
739 ("rust-parking-lot" ,rust-parking-lot-0.9)
740 ("rust-wayland-client" ,rust-wayland-client-0.23)
741 ("rust-winapi" ,rust-winapi-0.3)
742 ("rust-winit" ,rust-winit-0.20))))
743 (home-page "https://github.com/tomaka/glutin")
745 "Cross-platform OpenGL context provider")
747 "Cross-platform OpenGL context provider.")
748 (license license:asl2.0)))
750 (define-public rust-glutin-0.21
752 (inherit rust-glutin-0.22)
758 (uri (crate-uri "glutin" version))
760 (string-append name "-" version ".tar.gz"))
763 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
766 (("rust-android-glue" ,rust-android-glue-0.2)
767 ("rust-cgl" ,rust-cgl-0.2)
768 ("rust-cocoa" ,rust-cocoa-0.18)
769 ("rust-core-foundation" ,rust-core-foundation-0.6)
770 ("rust-core-graphics" ,rust-core-graphics-0.17)
771 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
772 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
773 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
774 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
775 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
776 ("rust-lazy-static" ,rust-lazy-static-1)
777 ("rust-libloading" ,rust-libloading-0.5)
778 ("rust-objc" ,rust-objc-0.2)
779 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
780 ("rust-parking-lot" ,rust-parking-lot-0.9)
781 ("rust-wayland-client" ,rust-wayland-client-0.21)
782 ("rust-winapi" ,rust-winapi-0.3)
783 ("rust-winit" ,rust-winit-0.19))))))
785 (define-public rust-glutin-egl-sys-0.1
787 (name "rust-glutin-egl-sys")
792 (uri (crate-uri "glutin-egl-sys" version))
794 (string-append name "-" version ".tar.gz"))
797 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
798 (build-system cargo-build-system)
801 (("rust-winapi" ,rust-winapi-0.3)
802 ("rust-gl-generator" ,rust-gl-generator-0.13))))
803 (home-page "https://github.com/rust-windowing/glutin")
804 (synopsis "Egl bindings for glutin")
805 (description "The egl bindings for glutin.")
806 (license license:asl2.0)))
808 (define-public rust-glutin-emscripten-sys-0.1
810 (name "rust-glutin-emscripten-sys")
815 (uri (crate-uri "glutin_emscripten_sys" version))
817 (string-append name "-" version ".tar.gz"))
820 "1ix0jmm8p5if4qarzdfl5mz9rbq4hhgqarakb3bzwvyz13dkynr4"))))
821 (build-system cargo-build-system)
822 (home-page "https://github.com/tomaka/glutin")
823 (synopsis "Emscripten bindings for glutin")
824 (description "The emscripten bindings for glutin.")
825 (license license:asl2.0)))
827 (define-public rust-glutin-gles2-sys-0.1
829 (name "rust-glutin-gles2-sys")
834 (uri (crate-uri "glutin_gles2_sys" version))
836 (string-append name "-" version ".tar.gz"))
839 "1pswvl5zyqmqwzjr674yzslj0al2xbqsp2ai9ggb9qbshlq6r6c9"))))
840 (build-system cargo-build-system)
843 (("rust-objc" ,rust-objc-0.2)
844 ("rust-gl-generator" ,rust-gl-generator-0.11))))
845 (home-page "https://github.com/tomaka/glutin")
846 (synopsis "The gles2 bindings for glutin")
847 (description "The gles2 bindings for glutin.")
848 (license license:asl2.0)))
850 (define-public rust-glutin-glx-sys-0.1
852 (name "rust-glutin-glx-sys")
857 (uri (crate-uri "glutin-glx-sys" version))
859 (string-append name "-" version ".tar.gz"))
862 "0mxs3mil68xqqb49466n5rpwpcllj6fwqjgrcrzzmz26bv5ab40j"))))
863 (build-system cargo-build-system)
866 (("rust-x11-dl" ,rust-x11-dl-2)
867 ("rust-gl-generator" ,rust-gl-generator-0.11))))
868 (home-page "https://github.com/tomaka/glutin")
869 (synopsis "Glx bindings for glutin")
870 (description "The glx bindings for glutin.")
871 (license license:asl2.0)))
873 (define-public rust-glutin-wgl-sys-0.1
875 (name "rust-glutin-wgl-sys")
880 (uri (crate-uri "glutin-wgl-sys" version))
882 (string-append name "-" version ".tar.gz"))
885 "08chlfzpj59q36qm212i4k879gvjzha7i90q90fds8pw3v4vn0gq"))))
886 (build-system cargo-build-system)
889 (("rust-gl-generator" ,rust-gl-generator-0.11))))
890 (home-page "https://github.com/tomaka/glutin")
891 (synopsis "Wgl bindings for glutin")
892 (description "The wgl bindings for glutin.")
893 (license license:asl2.0)))
895 (define-public rust-image-0.23
902 (uri (crate-uri "image" version))
904 (string-append name "-" version ".tar.gz"))
907 "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m"))))
908 (build-system cargo-build-system)
910 `(#:tests? #f ; Some test images are missing from the release.
912 (("rust-bytemuck" ,rust-bytemuck-1)
913 ("rust-byteorder" ,rust-byteorder-1)
914 ("rust-gif" ,rust-gif-0.10)
915 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
916 ("rust-num-iter" ,rust-num-iter-0.1)
917 ("rust-num-rational" ,rust-num-rational-0.3)
918 ("rust-num-traits" ,rust-num-traits-0.2)
919 ("rust-png" ,rust-png-0.16)
920 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
921 ("rust-tiff" ,rust-tiff-0.5))
922 #:cargo-development-inputs
923 (("rust-crc32fast" ,rust-crc32fast-1)
924 ("rust-criterion" ,rust-criterion-0.3)
925 ("rust-glob" ,rust-glob-0.3)
926 ("rust-num-complex" ,rust-num-complex-0.3)
927 ("rust-quickcheck" ,rust-quickcheck-0.9))))
928 (home-page "https://github.com/image-rs/image")
929 (synopsis "Imaging library written in Rust")
931 "Imaging library written in Rust. Provides basic filters and decoders
932 for the most common image formats.")
933 (license license:expat)))
935 (define-public rust-image-0.22
937 (inherit rust-image-0.23)
943 (uri (crate-uri "image" version))
945 (string-append name "-" version ".tar.gz"))
948 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
950 `(#:tests? #f ; Some test images are missing from the release.
952 (("rust-byteorder" ,rust-byteorder-1)
953 ("rust-gif" ,rust-gif-0.10)
954 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
955 ("rust-num-iter" ,rust-num-iter-0.1)
956 ("rust-num-rational" ,rust-num-rational-0.2)
957 ("rust-num-traits" ,rust-num-traits-0.2)
958 ("rust-png" ,rust-png-0.15)
959 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
960 ("rust-tiff" ,rust-tiff-0.3))
961 #:cargo-development-inputs
962 (("rust-crc32fast" ,rust-crc32fast-1)
963 ("rust-glob" ,rust-glob-0.3)
964 ("rust-num-complex" ,rust-num-complex-0.2)
965 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
967 (define-public rust-image-0.21
969 (inherit rust-image-0.22)
975 (uri (crate-uri "image" version))
977 (string-append name "-" version ".tar.gz"))
980 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
983 (("rust-byteorder" ,rust-byteorder-1)
984 ("rust-gif" ,rust-gif-0.10)
985 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
986 ("rust-lzw" ,rust-lzw-0.10)
987 ("rust-num-iter" ,rust-num-iter-0.1)
988 ("rust-num-rational" ,rust-num-rational-0.2)
989 ("rust-num-traits" ,rust-num-traits-0.2)
990 ("rust-png" ,rust-png-0.14)
991 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
992 ("rust-tiff" ,rust-tiff-0.2))
993 #:cargo-development-inputs
994 (("rust-glob" ,rust-glob-0.3)
995 ("rust-num-complex" ,rust-num-complex-0.2)
996 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
998 (define-public rust-image-0.20
1000 (inherit rust-image-0.21)
1006 (uri (crate-uri "image" version))
1008 (string-append name "-" version ".tar.gz"))
1011 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1014 (("rust-byteorder" ,rust-byteorder-1)
1015 ("rust-gif" ,rust-gif-0.10)
1016 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1017 ("rust-lzw" ,rust-lzw-0.10)
1018 ("rust-num-iter" ,rust-num-iter-0.1)
1019 ("rust-num-rational" ,rust-num-rational-0.2)
1020 ("rust-num-traits" ,rust-num-traits-0.2)
1021 ("rust-png" ,rust-png-0.12)
1022 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1023 ("rust-tiff" ,rust-tiff-0.2))
1024 #:cargo-development-inputs
1025 (("rust-glob" ,rust-glob-0.2)
1026 ("rust-num-complex" ,rust-num-complex-0.2)
1027 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1029 (define-public rust-jpeg-decoder-0.1
1031 (name "rust-jpeg-decoder")
1036 (uri (crate-uri "jpeg-decoder" version))
1038 (string-append name "-" version ".tar.gz"))
1041 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1042 (build-system cargo-build-system)
1044 `(#:tests? #f ; Some test files missing.
1046 (("rust-byteorder" ,rust-byteorder-1)
1047 ("rust-rayon" ,rust-rayon-1))
1048 #:cargo-development-inputs
1049 (("rust-criterion" ,rust-criterion-0.3)
1050 ("rust-png" ,rust-png-0.14)
1051 ("rust-walkdir" ,rust-walkdir-2))))
1052 (home-page "https://github.com/image-rs/jpeg-decoder")
1053 (synopsis "JPEG decoder")
1054 (description "JPEG decoder written in Rust.")
1055 (license (list license:expat license:asl2.0))))
1057 (define-public rust-line-drawing-0.7
1059 (name "rust-line-drawing")
1064 (uri (crate-uri "line_drawing" version))
1066 (string-append name "-" version ".tar.gz"))
1069 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1070 (build-system cargo-build-system)
1072 ;; This version does not specify any versions on dependants.
1073 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1075 (("rust-num-traits" ,rust-num-traits-0.2))
1076 #:cargo-development-inputs
1077 (("rust-bresenham" ,rust-bresenham-0.1)
1078 ("rust-image" ,rust-image-0.22) ; 0.17?
1079 ("rust-rand" ,rust-rand-0.6))))
1080 (home-page "https://github.com/expenses/line_drawing")
1081 (synopsis "Collection of line-drawing algorithms")
1083 "This package provides a collection of line-drawing algorithms for use in
1084 graphics and video games.")
1085 (license license:expat)))
1087 (define-public rust-lyon-geom-0.14
1089 (name "rust-lyon-geom")
1094 (uri (crate-uri "lyon_geom" version))
1096 (string-append name "-" version ".tar.gz"))
1099 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1100 (build-system cargo-build-system)
1104 (("rust-num-traits" ,rust-num-traits-0.2)
1105 ("rust-euclid" ,rust-euclid-0.20)
1106 ("rust-arrayvec" ,rust-arrayvec-0.4)
1107 ("rust-serde" ,rust-serde-1))))
1108 (home-page "https://github.com/nical/lyon")
1109 (synopsis "2D graphics rendering on the GPU using tessellation")
1111 "This package provides 2D graphics rendering on the GPU using tessellation.")
1112 (license (list license:expat license:asl2.0))))
1114 (define-public rust-lyon-path-0.14
1116 (name "rust-lyon-path")
1121 (uri (crate-uri "lyon_path" version))
1123 (string-append name "-" version ".tar.gz"))
1126 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1127 (build-system cargo-build-system)
1131 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1132 ("rust-serde" ,rust-serde-1))))
1133 (home-page "https://github.com/nical/lyon")
1134 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1136 "Types and utilities to store, build and iterate over 2D paths.")
1137 (license (list license:expat license:asl2.0))))
1139 (define-public rust-osmesa-sys-0.1
1141 (name "rust-osmesa-sys")
1146 (uri (crate-uri "osmesa-sys" version))
1148 (string-append name "-" version ".tar.gz"))
1151 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1152 (build-system cargo-build-system)
1155 (("rust-shared-library" ,rust-shared-library-0.1))))
1156 (home-page "https://crates.io/crates/osmesa-sys")
1157 (synopsis "OSMesa library bindings for Rust")
1158 (description "This package provides OSMesa library bindings for Rust.")
1159 (license license:cc0)))
1161 (define-public rust-piston-0.49
1163 (name "rust-piston")
1168 (uri (crate-uri "piston" version))
1170 (string-append name "-" version ".tar.gz"))
1173 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1174 (build-system cargo-build-system)
1178 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1179 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1180 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1181 (home-page "https://github.com/PistonDevelopers/piston")
1182 (synopsis "Piston game engine core libraries")
1184 "The Piston game engine core libraries.")
1185 (license license:expat)))
1187 (define-public rust-piston-float-1.0
1189 (name "rust-piston-float")
1194 (uri (crate-uri "piston-float" version))
1196 (string-append name "-" version ".tar.gz"))
1199 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1200 (build-system cargo-build-system)
1201 (arguments `(#:skip-build? #t))
1203 "https://github.com/pistondevelopers/float")
1205 "Traits for generic floats in game development")
1207 "Traits for generic floats in game development")
1208 (license license:expat)))
1210 (define-public rust-piston-gfx-texture-0.40
1212 (name "rust-piston-gfx-texture")
1217 (uri (crate-uri "piston-gfx_texture" version))
1219 (string-append name "-" version ".tar.gz"))
1222 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1223 (build-system cargo-build-system)
1227 (("rust-gfx" ,rust-gfx-0.18)
1228 ("rust-image" ,rust-image-0.22)
1229 ("rust-piston-texture" ,rust-piston-texture-0.8)
1230 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1231 (home-page "https://github.com/pistondevelopers/gfx_texture")
1233 "Gfx texture representation that works nicely with Piston libraries")
1234 (description "This package provides a Gfx texture representation that works
1235 nicely with Piston libraries.")
1236 (license license:expat)))
1238 (define-public rust-piston-graphics-api-version-0.2
1240 (name "rust-piston-graphics-api-version")
1245 (uri (crate-uri "piston-graphics_api_version" version))
1247 (string-append name "-" version ".tar.gz"))
1250 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1251 (build-system cargo-build-system)
1252 (arguments `(#:skip-build? #t))
1254 "https://github.com/PistonDevelopers/graphics_api_version")
1256 "A library for storing graphics API versions")
1258 "This package provides a library for storing graphics API versions")
1259 (license license:expat)))
1261 (define-public rust-piston-shaders-graphics2d-0.3
1263 (name "rust-piston-shaders-graphics2d")
1268 (uri (crate-uri "piston-shaders_graphics2d" version))
1270 (string-append name "-" version ".tar.gz"))
1273 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1274 (build-system cargo-build-system)
1275 (arguments `(#:skip-build? #t))
1277 "https://github.com/PistonDevelopers/shaders")
1278 (synopsis "Shaders for 2D graphics in Rust")
1279 (description "Shaders for 2D graphics in Rust")
1280 (license license:expat)))
1282 (define-public rust-piston-texture-0.8
1284 (name "rust-piston-texture")
1289 (uri (crate-uri "piston-texture" version))
1291 (string-append name "-" version ".tar.gz"))
1294 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1295 (build-system cargo-build-system)
1296 (arguments `(#:skip-build? #t))
1298 "https://github.com/pistondevelopers/texture")
1299 (synopsis "A generic library for textures")
1301 "This package provides a generic library for textures")
1302 (license license:expat)))
1304 (define-public rust-piston-viewport-1.0
1306 (name "rust-piston-viewport")
1311 (uri (crate-uri "piston-viewport" version))
1313 (string-append name "-" version ".tar.gz"))
1316 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1317 (build-system cargo-build-system)
1321 (("rust-piston-float" ,rust-piston-float-1.0))))
1322 (home-page "https://github.com/PistonDevelopers/viewport")
1323 (synopsis "Library for storing viewport information")
1325 "This package provides a library for storing viewport information.")
1326 (license license:expat)))
1328 (define-public rust-piston-window-0.105
1330 (name "rust-piston-window")
1335 (uri (crate-uri "piston_window" version))
1337 (string-append name "-" version ".tar.gz"))
1340 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1341 (build-system cargo-build-system)
1345 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1346 ("rust-gfx" ,rust-gfx-0.18)
1347 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1348 ("rust-piston" ,rust-piston-0.49)
1349 ("rust-shader-version" ,rust-shader-version-0.6)
1350 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1351 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1352 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1353 (home-page "https://github.com/pistondevelopers/piston_window")
1354 (synopsis "Official Piston window wrapper for the Piston game engine")
1356 "The official Piston window wrapper for the Piston game engine.")
1357 (license license:expat)))
1359 (define-public rust-piston2d-gfx-graphics-0.66
1361 (name "rust-piston2d-gfx-graphics")
1366 (uri (crate-uri "piston2d-gfx_graphics" version))
1368 (string-append name "-" version ".tar.gz"))
1371 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1372 (build-system cargo-build-system)
1376 (("rust-gfx" ,rust-gfx-0.18)
1377 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1378 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1379 ("rust-shader-version" ,rust-shader-version-0.6)
1380 ("rust-draw-state" ,rust-draw-state-0.8))))
1381 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1382 (synopsis "Gfx 2D back-end for the Piston game engine")
1384 "This package provides a Gfx 2D back-end for the Piston game engine.")
1385 (license license:expat)))
1387 (define-public rust-piston2d-graphics-0.35
1389 (name "rust-piston2d-graphics")
1394 (uri (crate-uri "piston2d-graphics" version))
1396 (string-append name "-" version ".tar.gz"))
1399 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1400 (build-system cargo-build-system)
1404 (("rust-interpolation" ,rust-interpolation-0.2)
1405 ("rust-rusttype" ,rust-rusttype-0.7)
1406 ("rust-piston-texture" ,rust-piston-texture-0.8)
1407 ("rust-piston-viewport" ,rust-piston-viewport-1.0)
1408 ("rust-read-color" ,rust-read-color-1.0)
1409 ("rust-vecmath" ,rust-vecmath-1.0)
1410 ("rust-fnv" ,rust-fnv-1))))
1411 (home-page "https://github.com/pistondevelopers/graphics")
1412 (synopsis "Library for 2D graphics that works with multiple back-ends")
1413 (description "This package provides a library for 2D graphics that works
1414 with multiple back-ends.")
1415 (license license:expat)))
1417 (define-public rust-pistoncore-event-loop-0.49
1419 (name "rust-pistoncore-event-loop")
1424 (uri (crate-uri "pistoncore-event_loop" version))
1426 (string-append name "-" version ".tar.gz"))
1429 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1430 (build-system cargo-build-system)
1434 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1435 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1436 (home-page "https://github.com/PistonDevelopers/piston")
1437 (synopsis "Piston event loop for games and interactive applications")
1438 (description "This package provides a Piston event loop for games and
1439 interactive applications.")
1440 (license license:expat)))
1442 (define-public rust-pistoncore-glutin-window-0.63
1444 (name "rust-pistoncore-glutin-window")
1449 (uri (crate-uri "pistoncore-glutin_window" version))
1451 (string-append name "-" version ".tar.gz"))
1454 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1455 (build-system cargo-build-system)
1459 (("rust-gl" ,rust-gl-0.11)
1460 ("rust-glutin" ,rust-glutin-0.21)
1461 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1462 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1463 ("rust-shader-version" ,rust-shader-version-0.6))))
1464 (home-page "https://github.com/pistondevelopers/glutin_window")
1465 (synopsis "Piston window back-end using the Glutin library")
1467 "This package provides a Piston window back-end using the Glutin library.")
1468 (license license:expat)))
1470 (define-public rust-pistoncore-input-0.28
1472 (name "rust-pistoncore-input")
1477 (uri (crate-uri "pistoncore-input" version))
1479 (string-append name "-" version ".tar.gz"))
1482 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1483 (build-system cargo-build-system)
1487 (("rust-piston-viewport" ,rust-piston-viewport-1.0)
1488 ("rust-serde" ,rust-serde-1)
1489 ("rust-serde-derive" ,rust-serde-derive-1)
1490 ("rust-bitflags" ,rust-bitflags-1))))
1491 (home-page "https://github.com/PistonDevelopers/piston")
1492 (synopsis "Structure for user input")
1494 "This package provides a structure for user input.")
1495 (license license:expat)))
1497 (define-public rust-pistoncore-window-0.44
1499 (name "rust-pistoncore-window")
1504 (uri (crate-uri "pistoncore-window" version))
1506 (string-append name "-" version ".tar.gz"))
1509 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1510 (build-system cargo-build-system)
1514 (("rust-piston-graphics-api-version"
1515 ,rust-piston-graphics-api-version-0.2)
1516 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1517 (home-page "https://github.com/PistonDevelopers/piston")
1518 (synopsis "Library for window abstraction")
1520 "This package provides a library for window abstraction.")
1521 (license license:expat)))
1523 (define-public rust-png-0.16
1530 (uri (crate-uri "png" version))
1532 (string-append name "-" version ".tar.gz"))
1535 "1393s3v3kg4bxnn86d7yn2vyz8xj6g64ighdfkc3vzpsg5sbyl61"))))
1536 (build-system cargo-build-system)
1540 (("rust-bitflags" ,rust-bitflags-1)
1541 ("rust-crc32fast" ,rust-crc32fast-1)
1542 ("rust-deflate" ,rust-deflate-0.8)
1543 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))
1544 #:cargo-development-inputs
1545 (("rust-criterion" ,rust-criterion-0.3)
1546 ("rust-getopts" ,rust-getopts-0.2)
1547 ;; TODO: glium has many cyclic dependencies with other packages
1548 ;; ("rust-glium" ,rust-glium-0.24)
1549 ("rust-glob" ,rust-glob-0.3)
1550 ("rust-rand" ,rust-rand-0.7)
1551 ("rust-term" ,rust-term-0.6))))
1552 (home-page "https://github.com/image-rs/image-png.git")
1553 (synopsis "PNG decoding and encoding library in pure Rust")
1555 "PNG decoding and encoding library in pure Rust.")
1556 (license (list license:expat license:asl2.0))))
1558 (define-public rust-png-0.15
1560 (inherit rust-png-0.16)
1566 (uri (crate-uri "png" version))
1568 (string-append name "-" version ".tar.gz"))
1571 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1575 (("rust-bitflags" ,rust-bitflags-1)
1576 ("rust-crc32fast" ,rust-crc32fast-1)
1577 ("rust-deflate" ,rust-deflate-0.7)
1578 ("rust-inflate" ,rust-inflate-0.4))
1579 #:cargo-development-inputs
1580 (("rust-getopts" ,rust-getopts-0.2)
1581 ;; TODO: glium has many cyclic dependencies with other packages
1582 ;;("rust-glium" ,rust-glium-0.24)
1583 ("rust-glob" ,rust-glob-0.3)
1584 ("rust-rand" ,rust-rand-0.7)
1585 ("rust-term" ,rust-term-0.6))))))
1587 (define-public rust-png-0.14
1589 (inherit rust-png-0.15)
1595 (uri (crate-uri "png" version))
1597 (string-append name "-" version ".tar.gz"))
1600 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1604 (("rust-bitflags" ,rust-bitflags-1)
1605 ("rust-deflate" ,rust-deflate-0.7)
1606 ("rust-inflate" ,rust-inflate-0.4)
1607 ("rust-num-iter" ,rust-num-iter-0.1))
1608 #:cargo-development-inputs
1609 (("rust-getopts" ,rust-getopts-0.2)
1610 ;; TODO: glium has many cyclic dependencies with other packages
1611 ;; ("rust-glium" ,rust-glium-0.22)
1612 ("rust-glob" ,rust-glob-0.2)
1613 ("rust-rand" ,rust-rand-0.5)
1614 ("rust-term" ,rust-term-0.4))))))
1616 (define-public rust-png-0.12
1618 (inherit rust-png-0.14)
1624 (uri (crate-uri "png" version))
1626 (string-append name "-" version ".tar.gz"))
1629 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1633 (("rust-bitflags" ,rust-bitflags-1)
1634 ("rust-deflate" ,rust-deflate-0.7)
1635 ("rust-inflate" ,rust-inflate-0.4)
1636 ("rust-num-iter" ,rust-num-iter-0.1))
1637 #:cargo-development-inputs
1638 (("rust-getopts" ,rust-getopts-0.2)
1639 ;; TODO: gluum has many cyclic dependencies with other packages
1640 ;; ("rust-glium" ,rust-glium-0.21)
1641 ("rust-glob" ,rust-glob-0.2)
1642 ("rust-term" ,rust-term-0.4))))))
1644 (define-public rust-raw-window-handle-0.3
1646 (name "rust-raw-window-handle")
1651 (uri (crate-uri "raw-window-handle" version))
1653 (string-append name "-" version ".tar.gz"))
1656 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1657 (build-system cargo-build-system)
1659 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1660 (home-page "https://github.com/rust-windowing/raw-window-handle")
1661 (synopsis "Interoperability library for Rust Windowing applications")
1663 "Interoperability library for Rust Windowing applications.")
1664 (license license:expat)))
1666 (define-public rust-resize-0.3
1668 (name "rust-resize")
1673 (uri (crate-uri "resize" version))
1675 (string-append name "-" version ".tar.gz"))
1678 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1679 (build-system cargo-build-system)
1681 `(#:cargo-development-inputs
1682 (("rust-png" ,rust-png-0.15))))
1683 (home-page "https://github.com/PistonDevelopers/resize")
1684 (synopsis "Simple image resampling library in pure Rust")
1686 "This package provides a simple image resampling library in pure Rust.")
1687 (license license:expat)))
1689 (define-public rust-rgb-0.8
1696 (uri (crate-uri "rgb" version))
1697 (file-name (string-append name "-" version ".crate"))
1700 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1701 (build-system cargo-build-system)
1704 (("rust-bytemuck" ,rust-bytemuck-1)
1705 ("rust-serde" ,rust-serde-1))
1706 #:cargo-development-inputs
1707 (("rust-serde-json" ,rust-serde-json-1))))
1708 (home-page "https://lib.rs/crates/rgb")
1709 (synopsis "Struct for sharing pixels between crates")
1711 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
1712 between crates + convenience methods for color manipulation. It allows no-copy
1713 high-level interoperability. It also adds common convenience methods and
1714 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
1715 first-class Rust objects.")
1716 (license license:expat)))
1718 (define-public rust-smithay-client-toolkit-0.6
1720 (name "rust-smithay-client-toolkit")
1725 (uri (crate-uri "smithay-client-toolkit" version))
1727 (string-append name "-" version ".tar.gz"))
1730 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
1731 (build-system cargo-build-system)
1734 (("rust-andrew" ,rust-andrew-0.2)
1735 ("rust-bitflags" ,rust-bitflags-1)
1736 ("rust-dlib" ,rust-dlib-0.4)
1737 ("rust-lazy-static" ,rust-lazy-static-1)
1738 ("rust-memmap" ,rust-memmap-0.7)
1739 ("rust-nix" ,rust-nix-0.14)
1740 ("rust-wayland-client" ,rust-wayland-client-0.23)
1741 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
1742 #:cargo-development-inputs
1743 (("rust-byteorder" ,rust-byteorder-1)
1744 ("rust-image" ,rust-image-0.21)
1745 ("rust-wayland-client" ,rust-wayland-client-0.23))))
1746 (home-page "https://github.com/smithay/client-toolkit")
1747 (synopsis "Toolkit for making client wayland applications")
1749 "Toolkit for making client wayland applications.")
1750 (license license:expat)))
1752 (define-public rust-smithay-client-toolkit-0.4
1754 (inherit rust-smithay-client-toolkit-0.6)
1755 (name "rust-smithay-client-toolkit")
1760 (uri (crate-uri "smithay-client-toolkit" version))
1762 (string-append name "-" version ".tar.gz"))
1765 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
1768 (("rust-andrew" ,rust-andrew-0.2)
1769 ("rust-bitflags" ,rust-bitflags-1)
1770 ("rust-dlib" ,rust-dlib-0.4)
1771 ("rust-lazy-static" ,rust-lazy-static-1)
1772 ("rust-memmap" ,rust-memmap-0.7)
1773 ("rust-nix" ,rust-nix-0.14)
1774 ("rust-wayland-client" ,rust-wayland-client-0.21)
1775 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1776 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
1777 #:cargo-development-inputs
1778 (("rust-byteorder" ,rust-byteorder-1)
1779 ("rust-image" ,rust-image-0.20)
1780 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
1782 (define-public rust-smithay-clipboard-0.3
1784 (name "rust-smithay-clipboard")
1789 (uri (crate-uri "smithay-clipboard" version))
1791 (string-append name "-" version ".tar.gz"))
1794 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
1795 (build-system cargo-build-system)
1798 (("rust-nix" ,rust-nix-0.14)
1799 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
1800 #:cargo-development-inputs
1801 (("rust-andrew" ,rust-andrew-0.2))))
1803 `(("wayland" ,wayland)))
1804 (home-page "https://github.com/smithay/smithay-clipboard")
1806 "Provides access to the wayland clipboard for client applications")
1808 "This package provides access to the wayland clipboard for client applications.")
1809 (license license:expat)))
1811 (define-public rust-tiff-0.5
1818 (uri (crate-uri "tiff" version))
1820 (string-append name "-" version ".tar.gz"))
1823 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
1824 (build-system cargo-build-system)
1826 `(#:tests? #f ; not all test files included
1828 (("rust-byteorder" ,rust-byteorder-1)
1829 ("rust-lzw" ,rust-lzw-0.10)
1830 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1831 (home-page "https://github.com/image-rs/image-tiff")
1833 "TIFF decoding and encoding library in pure Rust")
1835 "TIFF decoding and encoding library in pure Rust.")
1836 (license license:expat)))
1838 (define-public rust-tiff-0.3
1840 (inherit rust-tiff-0.5)
1846 (uri (crate-uri "tiff" version))
1848 (string-append name "-" version ".tar.gz"))
1851 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
1853 `(#:tests? #f ; Tests images not included with release.
1855 (("rust-byteorder" ,rust-byteorder-1)
1856 ("rust-lzw" ,rust-lzw-0.10)
1857 ("rust-num-derive" ,rust-num-derive-0.2)
1858 ("rust-num-traits" ,rust-num-traits-0.2))
1859 #:cargo-development-inputs
1860 (("rust-tempfile" ,rust-tempfile-3))))))
1862 (define-public rust-tiff-0.2
1864 (inherit rust-tiff-0.3)
1870 (uri (crate-uri "tiff" version))
1872 (string-append name "-" version ".tar.gz"))
1875 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
1878 (("rust-byteorder" ,rust-byteorder-1)
1879 ("rust-lzw" ,rust-lzw-0.10)
1880 ("rust-num-derive" ,rust-num-derive-0.2)
1881 ("rust-num-traits" ,rust-num-traits-0.2))))))
1883 (define-public rust-wayland-client-0.23
1885 (name "rust-wayland-client")
1890 (uri (crate-uri "wayland-client" version))
1892 (string-append name "-" version ".tar.gz"))
1895 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
1896 (build-system cargo-build-system)
1899 (("rust-bitflags" ,rust-bitflags-1)
1900 ("rust-calloop" ,rust-calloop-0.4)
1901 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
1902 ("rust-libc" ,rust-libc-0.2)
1903 ("rust-mio" ,rust-mio-0.6)
1904 ("rust-nix" ,rust-nix-0.14)
1905 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
1906 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
1907 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
1908 #:cargo-development-inputs
1909 (("rust-byteorder" ,rust-byteorder-1)
1910 ("rust-tempfile" ,rust-tempfile-3))))
1911 (home-page "https://github.com/smithay/wayland-rs")
1913 "Rust bindings to the standard C implementation of the wayland protocol")
1915 "This package provides Rust bindings to the standard C implementation of
1916 the wayland protocol, client side.")
1917 (license license:expat)))
1919 (define-public rust-wayland-client-0.21
1921 (inherit rust-wayland-client-0.23)
1922 (name "rust-wayland-client")
1927 (uri (crate-uri "wayland-client" version))
1929 (string-append name "-" version ".tar.gz"))
1932 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
1935 (("rust-bitflags" ,rust-bitflags-1)
1936 ("rust-calloop" ,rust-calloop-0.4)
1937 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
1938 ("rust-libc" ,rust-libc-0.2)
1939 ("rust-mio" ,rust-mio-0.6)
1940 ("rust-nix" ,rust-nix-0.14)
1941 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1942 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
1943 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
1944 #:cargo-development-inputs
1945 (("rust-byteorder" ,rust-byteorder-1)
1946 ("rust-tempfile" ,rust-tempfile-3))))))
1948 (define-public rust-wayland-commons-0.23
1950 (name "rust-wayland-commons")
1955 (uri (crate-uri "wayland-commons" version))
1957 (string-append name "-" version ".tar.gz"))
1960 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
1961 (build-system cargo-build-system)
1964 (("rust-nix" ,rust-nix-0.14)
1965 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
1966 (home-page "https://github.com/smithay/wayland-rs")
1968 "Common types and structures used by wayland-client and wayland-server")
1970 "Common types and structures used by wayland-client and wayland-server.")
1971 (license license:expat)))
1973 (define-public rust-wayland-commons-0.21
1975 (inherit rust-wayland-commons-0.23)
1976 (name "rust-wayland-commons")
1981 (uri (crate-uri "wayland-commons" version))
1983 (string-append name "-" version ".tar.gz"))
1986 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
1989 (("rust-nix" ,rust-nix-0.14)
1990 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
1992 (define-public rust-wayland-protocols-0.23
1994 (name "rust-wayland-protocols")
1999 (uri (crate-uri "wayland-protocols" version))
2001 (string-append name "-" version ".tar.gz"))
2004 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2005 (build-system cargo-build-system)
2008 (("rust-bitflags" ,rust-bitflags-1)
2009 ("rust-wayland-client" ,rust-wayland-client-0.23)
2010 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2011 ("rust-wayland-server" ,rust-wayland-server-0.23)
2012 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2013 (home-page "https://github.com/smithay/wayland-rs")
2015 "Generated API for the officials wayland protocol extensions")
2017 "Generated API for the officials wayland protocol extensions.")
2018 (license license:expat)))
2020 (define-public rust-wayland-protocols-0.21
2022 (inherit rust-wayland-protocols-0.23)
2023 (name "rust-wayland-protocols")
2028 (uri (crate-uri "wayland-protocols" version))
2030 (string-append name "-" version ".tar.gz"))
2033 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2036 (("rust-bitflags" ,rust-bitflags-1)
2037 ("rust-wayland-client" ,rust-wayland-client-0.21)
2038 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2039 ("rust-wayland-server" ,rust-wayland-server-0.21)
2040 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2041 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2043 (define-public rust-wayland-scanner-0.23
2045 (name "rust-wayland-scanner")
2050 (uri (crate-uri "wayland-scanner" version))
2052 (string-append name "-" version ".tar.gz"))
2055 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2056 (build-system cargo-build-system)
2059 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2060 ("rust-quote" ,rust-quote-0.6)
2061 ("rust-xml-rs" ,rust-xml-rs-0.8))))
2062 (home-page "https://github.com/smithay/wayland-rs")
2063 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2065 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2066 It is intended for use with wayland-sys. You should only need this crate if
2067 you are working on custom Wayland protocol extensions.
2068 Look at the wayland-client crate for usable bindings.")
2069 (license license:expat)))
2071 (define-public rust-wayland-scanner-0.21
2073 (inherit rust-wayland-scanner-0.23)
2074 (name "rust-wayland-scanner")
2079 (uri (crate-uri "wayland-scanner" version))
2081 (string-append name "-" version ".tar.gz"))
2084 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2086 (define-public rust-wayland-server-0.23
2088 (name "rust-wayland-server")
2093 (uri (crate-uri "wayland-server" version))
2095 (string-append name "-" version ".tar.gz"))
2098 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2099 (build-system cargo-build-system)
2102 (("rust-bitflags" ,rust-bitflags-1)
2103 ("rust-calloop" ,rust-calloop-0.4)
2104 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2105 ("rust-libc" ,rust-libc-0.2)
2106 ("rust-mio" ,rust-mio-0.6)
2107 ("rust-nix" ,rust-nix-0.14)
2108 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2109 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2110 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2111 (home-page "https://github.com/smithay/wayland-rs")
2113 "Bindings to the standard C implementation of the wayland protocol")
2115 "This package provides Rust bindings to the standard C implementation of
2116 the wayland protocol, server side.")
2117 (license license:expat)))
2119 (define-public rust-wayland-server-0.21
2121 (inherit rust-wayland-server-0.23)
2122 (name "rust-wayland-server")
2127 (uri (crate-uri "wayland-server" version))
2129 (string-append name "-" version ".tar.gz"))
2132 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2135 (("rust-bitflags" ,rust-bitflags-1)
2136 ("rust-calloop" ,rust-calloop-0.4)
2137 ("rust-downcast-rs" ,rust-downcast-rs-1.1)
2138 ("rust-libc" ,rust-libc-0.2)
2139 ("rust-mio" ,rust-mio-0.6)
2140 ("rust-nix" ,rust-nix-0.14)
2141 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2142 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2143 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2145 (define-public rust-wayland-sys-0.23
2147 (name "rust-wayland-sys")
2152 (uri (crate-uri "wayland-sys" version))
2154 (string-append name "-" version ".tar.gz"))
2157 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2158 (build-system cargo-build-system)
2161 (("rust-dlib" ,rust-dlib-0.4)
2162 ("rust-lazy-static" ,rust-lazy-static-1)
2163 ("rust-libc" ,rust-libc-0.2))))
2164 (home-page "https://github.com/smithay/wayland-rs")
2165 (synopsis "FFI bindings to the various libwayland-*.so libraries")
2167 "FFI bindings to the various libwayland-*.so libraries.
2168 You should only need this crate if you are working on custom wayland
2169 protocol extensions. Look at the crate wayland-client for usable bindings.")
2170 (license license:expat)))
2172 (define-public rust-wayland-sys-0.21
2174 (inherit rust-wayland-sys-0.23)
2175 (name "rust-wayland-sys")
2180 (uri (crate-uri "wayland-sys" version))
2182 (string-append name "-" version ".tar.gz"))
2185 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2187 (define-public rust-winit-0.20
2190 (version "0.20.0-alpha6")
2194 (uri (crate-uri "winit" version))
2196 (string-append name "-" version ".tar.gz"))
2199 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2204 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2205 (file-name (string-append name "-fix-bindings.patch"))
2208 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2209 (build-system cargo-build-system)
2212 (("rust-android-glue" ,rust-android-glue-0.2)
2213 ("rust-bitflags" ,rust-bitflags-1)
2214 ("rust-calloop" ,rust-calloop-0.4)
2215 ("rust-cocoa" ,rust-cocoa-0.19)
2216 ("rust-core-foundation" ,rust-core-foundation-0.6)
2217 ("rust-core-graphics" ,rust-core-graphics-0.17)
2218 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2219 ("rust-dispatch" ,rust-dispatch-0.1)
2220 ("rust-instant" ,rust-instant-0.1)
2221 ("rust-lazy-static" ,rust-lazy-static-1)
2222 ("rust-libc" ,rust-libc-0.2)
2223 ("rust-log" ,rust-log-0.4)
2224 ("rust-objc" ,rust-objc-0.2)
2225 ("rust-parking-lot" ,rust-parking-lot-0.10)
2226 ("rust-percent-encoding" ,rust-percent-encoding-2)
2227 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2228 ("rust-serde" ,rust-serde-1)
2229 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2230 ("rust-stdweb" ,rust-stdweb-0.4)
2231 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2232 ("rust-wayland-client" ,rust-wayland-client-0.23)
2233 ("rust-web-sys" ,rust-web-sys-0.3)
2234 ("rust-winapi" ,rust-winapi-0.3)
2235 ("rust-x11-dl" ,rust-x11-dl-2))
2236 #:cargo-development-inputs
2237 (("rust-console-log" ,rust-console-log-0.1)
2238 ("rust-env-logger" ,rust-env-logger-0.5)
2239 ("rust-image" ,rust-image-0.21))))
2240 (home-page "https://github.com/rust-windowing/winit")
2242 "Cross-platform window creation library")
2244 "Cross-platform window creation library.")
2245 (license license:asl2.0)))
2247 (define-public rust-winit-0.19
2249 (inherit rust-winit-0.20)
2255 (uri (crate-uri "winit" version))
2257 (string-append name "-" version ".tar.gz"))
2260 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2263 (("rust-android-glue" ,rust-android-glue-0.2)
2264 ("rust-backtrace" ,rust-backtrace-0.3)
2265 ("rust-bitflags" ,rust-bitflags-1)
2266 ("rust-cocoa" ,rust-cocoa-0.18)
2267 ("rust-core-foundation" ,rust-core-foundation-0.6)
2268 ("rust-core-graphics" ,rust-core-graphics-0.17)
2269 ("rust-image" ,rust-image-0.21)
2270 ("rust-lazy-static" ,rust-lazy-static-1)
2271 ("rust-libc" ,rust-libc-0.2)
2272 ("rust-log" ,rust-log-0.4)
2273 ("rust-objc" ,rust-objc-0.2)
2274 ("rust-parking-lot" ,rust-parking-lot-0.9)
2275 ("rust-percent-encoding" ,rust-percent-encoding-2)
2276 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2277 ("rust-serde" ,rust-serde-1)
2278 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2279 ("rust-wayland-client" ,rust-wayland-client-0.21)
2280 ("rust-winapi" ,rust-winapi-0.3)
2281 ("rust-x11-dl" ,rust-x11-dl-2))))))
2283 (define-public rust-x11-2
2290 (uri (crate-uri "x11" version))
2292 (string-append name "-" version ".tar.gz"))
2295 "0dg2d0yrqmwg6prpxkw3vpmwzwxnaki2cn0v64ylh5gp4cqpws9r"))))
2296 (build-system cargo-build-system)
2299 (("rust-libc" ,rust-libc-0.2)
2300 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2301 (home-page "https://github.com/erlepereira/x11-rs.git")
2302 (synopsis "X11 library bindings for Rust")
2303 (description "X11 library bindings for Rust.")
2304 (license license:cc0)))
2306 (define-public rust-x11-clipboard-0.4
2308 (name "rust-x11-clipboard")
2313 (uri (crate-uri "x11-clipboard" version))
2315 (string-append name "-" version ".tar.gz"))
2318 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
2319 (build-system cargo-build-system)
2321 `(#:tests? #f ; Tests require display server.
2322 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
2324 `(("python" ,python)))
2325 (home-page "https://github.com/quininer/x11-clipboard")
2326 (synopsis "x11 clipboard support for Rust")
2327 (description "This package provides x11 clipboard support for Rust.")
2328 (license license:expat)))
2330 (define-public rust-x11-dl-2
2332 (name "rust-x11-dl")
2337 (uri (crate-uri "x11-dl" version))
2339 (string-append name "-" version ".tar.gz"))
2341 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2342 (build-system cargo-build-system)
2345 (("rust-lazy-static" ,rust-lazy-static-1)
2346 ("rust-libc" ,rust-libc-0.2)
2347 ("rust-maybe-uninit" ,rust-maybe-uninit-2.0)
2348 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2349 (home-page "https://github.com/erlepereira/x11-rs.git")
2350 (synopsis "X11 library bindings for Rust")
2351 (description "This package provides X11 library bindings for Rust.")
2352 (license license:cc0)))
2354 (define-public rust-y4m-0.5
2361 (uri (crate-uri "y4m" version))
2363 (string-append name "-" version ".tar.gz"))
2366 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2367 (build-system cargo-build-system)
2369 `(#:cargo-development-inputs
2370 (("rust-resize" ,rust-resize-0.3))))
2371 (home-page "https://github.com/image-rs/y4m")
2372 (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2373 (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2374 (license license:expat)))