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.3
52 (uri (crate-uri "andrew" version))
53 (file-name (string-append name "-" version ".tar.gz"))
55 (base32 "1kx79z6mh7wwp4pz683bdya54h7w7wpzjcwf834fwbv4vl4znjlc"))))
56 (build-system cargo-build-system)
60 (("rust-bitflags" ,rust-bitflags-1)
61 ("rust-rusttype" ,rust-rusttype-0.9)
62 ("rust-walkdir" ,rust-walkdir-2)
63 ("rust-xdg" ,rust-xdg-2)
64 ("rust-xml-rs" ,rust-xml-rs-0.8))))
65 (home-page "https://github.com/trimental/andrew")
66 (synopsis "Provides convenient drawing of objects to buffers")
68 "The @code{andrew} crate provides convenient drawing of objects such as
69 shapes, lines and text to buffers.")
70 (license license:expat)))
72 (define-public rust-andrew-0.2
74 (inherit rust-andrew-0.3)
80 (uri (crate-uri "andrew" version))
82 (string-append name "-" version ".tar.gz"))
85 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
88 (("rust-bitflags" ,rust-bitflags-1)
89 ("rust-line-drawing" ,rust-line-drawing-0.7)
90 ("rust-rusttype" ,rust-rusttype-0.7)
91 ("rust-walkdir" ,rust-walkdir-2)
92 ("rust-xdg" ,rust-xdg-2)
93 ("rust-xml-rs" ,rust-xml-rs-0.8))
94 #:cargo-development-inputs
95 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
97 `(("wayland" ,wayland)))))
99 (define-public rust-ansi-colours-1
101 (name "rust-ansi-colours")
106 (uri (crate-uri "ansi_colours" version))
108 (string-append name "-" version ".tar.gz"))
111 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
112 (build-system cargo-build-system)
115 (("rust-cc" ,rust-cc-1))
116 #:cargo-development-inputs
117 (("rust-delta-e" ,rust-delta-e-0.2)
118 ("rust-lab" ,rust-lab-0.4))))
119 (home-page "https://github.com/mina86/ansi_colours")
120 (synopsis "Palette converter between true-colour and ANSI terminal")
122 "@code{ansi_colours} is a library which converts between 24-bit sRGB
123 colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
124 @code{rxvt-unicode} in 256-colour mode.
125 The most common use case is when using 24-bit colours in a terminal emulator
126 which only support 8-bit colour palette. This package allows true-colours to be
127 approximated by values supported by the terminal.")
128 (license license:lgpl3+)))
130 (define-public rust-ansi-term-0.12
132 (name "rust-ansi-term")
137 (uri (crate-uri "ansi_term" version))
138 (file-name (string-append name "-" version ".crate"))
141 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
142 (build-system cargo-build-system)
145 (("rust-serde" ,rust-serde-1)
146 ("rust-winapi" ,rust-winapi-0.3))
147 #:cargo-development-inputs
148 (("rust-doc-comment" ,rust-doc-comment-0.3)
149 ("rust-regex" ,rust-regex-1)
150 ("rust-serde-json" ,rust-serde-json-1))))
151 (home-page "https://github.com/ogham/rust-ansi-term")
152 (synopsis "Library for ANSI terminal colours and styles")
154 "This is a library for controlling colours and formatting, such as red bold
155 text or blue underlined text, on ANSI terminals.")
156 (license license:expat)))
158 (define-public rust-ansi-term-0.11
160 (inherit rust-ansi-term-0.12)
161 (name "rust-ansi-term")
166 (uri (crate-uri "ansi_term" version))
167 (file-name (string-append name "-" version ".crate"))
170 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
174 (("rust-winapi" ,rust-winapi-0.3))))))
176 (define-public rust-ansi-term-0.9
178 (inherit rust-ansi-term-0.11)
179 (name "rust-ansi-term")
184 (uri (crate-uri "ansi_term" version))
186 (string-append name "-" version ".tar.gz"))
189 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
192 (define-public rust-aom-sys-0.2
194 (name "rust-aom-sys")
199 (uri (crate-uri "aom-sys" version))
201 (string-append name "-" version ".tar.gz"))
204 "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
205 (build-system cargo-build-system)
208 (("rust-bindgen" ,rust-bindgen-0.54)
209 ("rust-metadeps" ,rust-metadeps-1.1))))
211 `(("pkg-config" ,pkg-config)))
216 (home-page "https://github.com/rust-av/aom-rs")
217 (synopsis "FFI bindings to aom")
218 (description "This package provides FFI bindings to aom.")
219 (license license:expat)))
221 (define-public rust-aom-sys-0.1
223 (inherit rust-aom-sys-0.2)
224 (name "rust-aom-sys")
229 (uri (crate-uri "aom-sys" version))
231 (string-append name "-" version ".tar.gz"))
234 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
235 (build-system cargo-build-system)
238 (("rust-bindgen" ,rust-bindgen-0.53)
239 ("rust-metadeps" ,rust-metadeps-1.1))))
241 `(("pkg-config" ,pkg-config)))
247 (define-public rust-ascii-canvas-2
249 (name "rust-ascii-canvas")
254 (uri (crate-uri "ascii-canvas" version))
255 (file-name (string-append name "-" version ".tar.gz"))
257 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
258 (build-system cargo-build-system)
260 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
262 (("rust-term" ,rust-term-0.5))))
263 (home-page "https://github.com/nikomatsakis/ascii-canvas")
264 (synopsis "Simple canvas for drawing lines and styled text and emitting to
266 (description "@code{ASCII} canvas is a simple Rust library that allows you
267 to draw lines and colored text and then write them to the terminal. It uses
268 the term library to handle the ANSI nonsense and hence it works on Windows,
270 (license (list license:asl2.0 license:expat))))
272 (define-public rust-cgl-0.3
279 (uri (crate-uri "cgl" version))
281 (string-append name "-" version ".tar.gz"))
284 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
285 (build-system cargo-build-system)
287 `(#:skip-build? #t ; only available on macOS
288 #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
289 (home-page "https://github.com/servo/cgl-rs")
290 (synopsis "Rust bindings for CGL on Mac")
291 (description "Rust bindings for CGL on Mac.")
292 (license (list license:expat license:asl2.0))))
294 (define-public rust-cgl-0.2
296 (inherit rust-cgl-0.3)
302 (uri (crate-uri "cgl" version))
304 (string-append name "-" version ".tar.gz"))
307 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
309 `(#:skip-build? #t ; only available on macOS
311 (("rust-gleam" ,rust-gleam-0.6)
312 ("rust-libc" ,rust-libc-0.2))))))
314 (define-public rust-cgmath-0.17
321 (uri (crate-uri "cgmath" version))
323 (string-append name "-" version ".tar.gz"))
326 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
327 (build-system cargo-build-system)
329 `(#:skip-build? #t ; Crate won't build without glium.
331 (("rust-approx" ,rust-approx-0.3)
332 ("rust-mint" ,rust-mint-0.5)
333 ("rust-num-traits" ,rust-num-traits-0.2)
334 ("rust-rand" ,rust-rand-0.6)
335 ("rust-serde" ,rust-serde-1)
336 ("rust-simd" ,rust-simd-0.2))
337 #:cargo-development-inputs
338 (;("rust-glium" ,rust-glium-0.23)
339 ("rust-serde-json" ,rust-serde-json-1))))
340 (home-page "https://github.com/brendanzab/cgmath")
341 (synopsis "Linear algebra and mathematics library")
343 "This package provides a linear algebra and mathematics library
344 for computer graphics.")
345 (license license:asl2.0)))
347 (define-public rust-cgmath-0.16
349 (inherit rust-cgmath-0.17)
355 (uri (crate-uri "cgmath" version))
357 (string-append name "-" version ".tar.gz"))
360 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
362 `(#:skip-build? #t ; Crate won't build without glium.
364 (("rust-approx" ,rust-approx-0.1)
365 ("rust-mint" ,rust-mint-0.5)
366 ("rust-num-traits" ,rust-num-traits-0.1)
367 ("rust-rand" ,rust-rand-0.4)
368 ("rust-serde" ,rust-serde-1)
369 ("rust-simd" ,rust-simd-0.2))
370 #:cargo-development-inputs
371 (;("rust-glium" ,rust-glium-0.19)
372 ("rust-serde-json" ,rust-serde-json-1))))))
374 (define-public rust-core-graphics-0.21
376 (name "rust-core-graphics")
381 (uri (crate-uri "core-graphics" version))
382 (file-name (string-append name "-" version ".tar.gz"))
384 (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
385 (build-system cargo-build-system)
389 (("rust-bitflags" ,rust-bitflags-1)
390 ("rust-core-foundation" ,rust-core-foundation-0.9)
391 ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
392 ("rust-foreign-types" ,rust-foreign-types-0.3)
393 ("rust-libc" ,rust-libc-0.2))))
394 (home-page "https://github.com/servo/core-graphics-rs")
395 (synopsis "Bindings to Core Graphics for macOS")
397 "This package provides bindings to Core Graphics for macOS.")
398 (license (list license:expat license:asl2.0))))
400 (define-public rust-core-graphics-0.19
402 (inherit rust-core-graphics-0.21)
403 (name "rust-core-graphics")
408 (uri (crate-uri "core-graphics" version))
409 (file-name (string-append name "-" version ".tar.gz"))
411 (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k"))))
415 (("rust-bitflags" ,rust-bitflags-1)
416 ("rust-core-foundation" ,rust-core-foundation-0.7)
417 ("rust-foreign-types" ,rust-foreign-types-0.3)
418 ("rust-libc" ,rust-libc-0.2))))))
420 (define-public rust-core-graphics-0.17
422 (inherit rust-core-graphics-0.21)
423 (name "rust-core-graphics")
428 (uri (crate-uri "core-graphics" version))
430 (string-append name "-" version ".tar.gz"))
433 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
435 `(#:skip-build? #t ; only for macOS
437 (("rust-bitflags" ,rust-bitflags-1)
438 ("rust-core-foundation" ,rust-core-foundation-0.6)
439 ("rust-foreign-types" ,rust-foreign-types-0.3)
440 ("rust-libc" ,rust-libc-0.2))))))
442 (define-public rust-core-graphics-types-0.1
444 (name "rust-core-graphics-types")
449 (uri (crate-uri "core-graphics-types" version))
450 (file-name (string-append name "-" version ".tar.gz"))
452 (base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s"))))
453 (build-system cargo-build-system)
457 (("rust-bitflags" ,rust-bitflags-1)
458 ("rust-core-foundation" ,rust-core-foundation-0.9)
459 ("rust-foreign-types" ,rust-foreign-types-0.3)
460 ("rust-libc" ,rust-libc-0.2))))
461 (home-page "https://github.com/servo/core-foundation-rs")
462 (synopsis "Bindings for some fundamental Core Graphics types")
464 "This package provides bindings for some fundamental Core Graphics
466 (license (list license:expat license:asl2.0))))
468 (define-public rust-core-video-sys-0.1
470 (name "rust-core-video-sys")
475 (uri (crate-uri "core-video-sys" version))
476 (file-name (string-append name "-" version ".tar.gz"))
478 (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l"))))
479 (build-system cargo-build-system)
483 (("rust-cfg-if" ,rust-cfg-if-0.1)
484 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
485 ("rust-core-graphics" ,rust-core-graphics-0.19)
486 ("rust-libc" ,rust-libc-0.2)
487 ("rust-metal" ,rust-metal-0.18)
488 ("rust-objc" ,rust-objc-0.2))))
489 (home-page "https://github.com/luozijun/rust-core-video-sys")
490 (synopsis "Bindings to CoreVideo.framework for macOS and iOS")
492 "This package provides bindings to CoreVideo.framework for macOS
494 (license license:expat)))
496 (define-public rust-dav1d-sys-0.3
498 (name "rust-dav1d-sys")
503 (uri (crate-uri "dav1d-sys" version))
505 (string-append name "-" version ".tar.gz"))
508 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
509 (build-system cargo-build-system)
512 (("rust-bindgen" ,rust-bindgen-0.54)
513 ("rust-metadeps" ,rust-metadeps-1.1))))
515 `(("pkg-config" ,pkg-config)))
520 (home-page "https://github.com/rust-av/dav1d-rs")
521 (synopsis "FFI bindings to dav1d")
522 (description "This package provides FFI bindings to dav1d.")
523 (license license:expat)))
525 (define-public rust-euclid-0.20
532 (uri (crate-uri "euclid" version))
534 (string-append name "-" version ".tar.gz"))
537 "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
538 (build-system cargo-build-system)
541 (("rust-mint" ,rust-mint-0.5)
542 ("rust-num-traits" ,rust-num-traits-0.2)
543 ("rust-serde" ,rust-serde-1))
544 #:cargo-development-inputs
545 (("rust-serde-test" ,rust-serde-test-1))))
546 (home-page "https://github.com/servo/euclid")
547 (synopsis "Geometry primitives")
548 (description "Geometry primitives written in Rust.")
549 (license (list license:expat license:asl2.0))))
551 (define-public rust-gfx-0.18
558 (uri (crate-uri "gfx" version))
560 (string-append name "-" version ".tar.gz"))
563 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
564 (build-system cargo-build-system)
568 (("rust-log" ,rust-log-0.4)
569 ("rust-mint" ,rust-mint-0.5)
570 ("rust-draw-state" ,rust-draw-state-0.8)
571 ("rust-gfx-core" ,rust-gfx-core-0.9))))
572 (home-page "https://github.com/gfx-rs/gfx")
573 (synopsis "High-performance, bindless graphics API")
575 "This package provides a high-performance, bindless graphics API.")
576 (license license:asl2.0)))
578 (define-public rust-gfx-core-0.9
580 (name "rust-gfx-core")
585 (uri (crate-uri "gfx_core" version))
587 (string-append name "-" version ".tar.gz"))
590 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
591 (build-system cargo-build-system)
595 (("rust-log" ,rust-log-0.4)
596 ("rust-mint" ,rust-mint-0.5)
597 ("rust-draw-state" ,rust-draw-state-0.8)
598 ("rust-serde" ,rust-serde-1)
599 ("rust-bitflags" ,rust-bitflags-1))))
600 (home-page "https://github.com/gfx-rs/gfx")
601 (synopsis "Core library of Gfx-rs")
602 (description "This package is a core library of Gfx-rs.")
603 (license license:asl2.0)))
605 (define-public rust-gfx-device-gl-0.16
607 (name "rust-gfx-device-gl")
612 (uri (crate-uri "gfx_device_gl" version))
614 (string-append name "-" version ".tar.gz"))
617 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
618 (build-system cargo-build-system)
622 (("rust-log" ,rust-log-0.4)
623 ("rust-gfx-gl" ,rust-gfx-gl-0.6)
624 ("rust-gfx-core" ,rust-gfx-core-0.9))))
625 (home-page "https://github.com/gfx-rs/gfx")
626 (synopsis "OpenGL backend for gfx-rs")
627 (description "This package provides the openGL backend for gfx-rs.")
628 (license license:asl2.0)))
630 (define-public rust-gfx-gl-0.6
637 (uri (crate-uri "gfx_gl" version))
639 (string-append name "-" version ".tar.gz"))
642 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
643 (build-system cargo-build-system)
647 (("rust-gl-generator" ,rust-gl-generator-0.14))))
648 (home-page "https://github.com/gfx-rs/gfx_gl")
649 (synopsis "OpenGL bindings for gfx, based on gl-rs")
651 "This package provides OpenGL bindings for gfx, based on gl-rs.")
652 (license license:asl2.0)))
654 (define-public rust-gif-0.10
661 (uri (crate-uri "gif" version))
663 (string-append name "-" version ".tar.gz"))
666 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
667 (build-system cargo-build-system)
669 `(#:tests? #f ; tests not included in release
671 (("rust-color-quant" ,rust-color-quant-1.0)
672 ("rust-libc" ,rust-libc-0.2)
673 ("rust-lzw" ,rust-lzw-0.10))
674 #:cargo-development-inputs
675 (("rust-glob" ,rust-glob-0.3))))
676 (home-page "https://github.com/image-rs/image-gif")
677 (synopsis "GIF decoder and encoder")
678 (description "This package provides a GIF decoder and encoder in Rust.")
679 (license (list license:expat license:asl2.0))))
681 (define-public rust-gl-0.11
688 (uri (crate-uri "gl" version))
690 (string-append name "-" version ".tar.gz"))
693 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
694 (build-system cargo-build-system)
698 (("rust-gl-generator" ,rust-gl-generator-0.10))))
699 (home-page "https://github.com/brendanzab/gl-rs/")
700 (synopsis "OpenGL bindings for rust")
701 (description "This package provides OpenGL bindings for rust.")
702 (license license:asl2.0)))
704 (define-public rust-gl-generator-0.14
706 (name "rust-gl-generator")
711 (uri (crate-uri "gl-generator" version))
713 (string-append name "-" version ".tar.gz"))
716 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
717 (build-system cargo-build-system)
720 (("rust-khronos-api" ,rust-khronos-api-3)
721 ("rust-log" ,rust-log-0.4)
722 ("rust-xml-rs" ,rust-xml-rs-0.8))))
723 (home-page "https://github.com/brendanzab/gl-rs/")
724 (synopsis "Code generators for bindings to the Khronos OpenGL APIs")
726 "Code generators for creating bindings to the Khronos OpenGL APIs.")
727 (license license:asl2.0)))
729 (define-public rust-gl-generator-0.13
731 (inherit rust-gl-generator-0.14)
732 (name "rust-gl-generator")
737 (uri (crate-uri "gl-generator" version))
739 (string-append name "-" version ".tar.gz"))
742 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
744 (define-public rust-gl-generator-0.11
746 (inherit rust-gl-generator-0.13)
747 (name "rust-gl-generator")
752 (uri (crate-uri "gl-generator" version))
754 (string-append name "-" version ".tar.gz"))
757 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
759 (define-public rust-gl-generator-0.10
761 (name "rust-gl-generator")
766 (uri (crate-uri "gl_generator" version))
768 (string-append name "-" version ".tar.gz"))
771 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
772 (build-system cargo-build-system)
776 (("rust-log" ,rust-log-0.4)
777 ("rust-xml-rs" ,rust-xml-rs-0.8)
778 ("rust-khronos-api" ,rust-khronos-api-3))))
779 (home-page "https://github.com/brendanzab/gl-rs/")
781 "Code generators for creating bindings to the Khronos OpenGL APIs")
783 "Code generators for creating bindings to the Khronos OpenGL APIs.")
784 (license license:asl2.0)))
786 (define-public rust-gleam-0.6
793 (uri (crate-uri "gleam" version))
795 (string-append name "-" version ".tar.gz"))
798 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
799 (build-system cargo-build-system)
802 (("rust-gl-generator" ,rust-gl-generator-0.13))))
803 (home-page "https://github.com/servo/gleam")
804 (synopsis "Generated OpenGL bindings and wrapper for Servo")
806 "Generated OpenGL bindings and wrapper for Servo.")
807 (license (list license:asl2.0 license:expat))))
809 (define-public rust-glutin-0.26
816 (uri (crate-uri "glutin" version))
817 (file-name (string-append name "-" version ".tar.gz"))
819 (base32 "18szbh4dixcr7pmymvbrpv21hv0wrpii5w03rv2534bb2ywwpq8s"))))
820 (build-system cargo-build-system)
824 (("rust-android-glue" ,rust-android-glue-0.2)
825 ("rust-cgl" ,rust-cgl-0.3)
826 ("rust-cocoa" ,rust-cocoa-0.23)
827 ("rust-core-foundation" ,rust-core-foundation-0.9)
828 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
829 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
830 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
831 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
832 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
833 ("rust-lazy-static" ,rust-lazy-static-1)
834 ("rust-libloading" ,rust-libloading-0.6)
835 ("rust-log" ,rust-log-0.4)
836 ("rust-objc" ,rust-objc-0.2)
837 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
838 ("rust-parking-lot" ,rust-parking-lot-0.11)
839 ("rust-wayland-client" ,rust-wayland-client-0.28)
840 ("rust-wayland-egl" ,rust-wayland-egl-0.28)
841 ("rust-winapi" ,rust-winapi-0.3)
842 ("rust-winit" ,rust-winit-0.24))))
843 (home-page "https://github.com/tomaka/glutin")
844 (synopsis "Cross-platform OpenGL context provider")
845 (description "This package provides an OpenGL context provider.")
846 (license license:asl2.0)))
848 (define-public rust-glutin-0.22
850 (inherit rust-glutin-0.26)
852 (version "0.22.0-alpha5")
856 (uri (crate-uri "glutin" version))
858 (string-append name "-" version ".tar.gz"))
861 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
864 (("rust-android-glue" ,rust-android-glue-0.2)
865 ("rust-cgl" ,rust-cgl-0.3)
866 ("rust-cocoa" ,rust-cocoa-0.19)
867 ("rust-core-foundation" ,rust-core-foundation-0.6)
868 ("rust-core-graphics" ,rust-core-graphics-0.17)
869 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
870 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
871 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
872 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
873 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
874 ("rust-lazy-static" ,rust-lazy-static-1)
875 ("rust-libloading" ,rust-libloading-0.5)
876 ("rust-log" ,rust-log-0.4)
877 ("rust-objc" ,rust-objc-0.2)
878 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
879 ("rust-parking-lot" ,rust-parking-lot-0.9)
880 ("rust-wayland-client" ,rust-wayland-client-0.23)
881 ("rust-winapi" ,rust-winapi-0.3)
882 ("rust-winit" ,rust-winit-0.20))))))
884 (define-public rust-glutin-0.21
886 (inherit rust-glutin-0.22)
892 (uri (crate-uri "glutin" version))
894 (string-append name "-" version ".tar.gz"))
897 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
900 (("rust-android-glue" ,rust-android-glue-0.2)
901 ("rust-cgl" ,rust-cgl-0.2)
902 ("rust-cocoa" ,rust-cocoa-0.18)
903 ("rust-core-foundation" ,rust-core-foundation-0.6)
904 ("rust-core-graphics" ,rust-core-graphics-0.17)
905 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
906 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
907 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
908 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
909 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
910 ("rust-lazy-static" ,rust-lazy-static-1)
911 ("rust-libloading" ,rust-libloading-0.5)
912 ("rust-objc" ,rust-objc-0.2)
913 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
914 ("rust-parking-lot" ,rust-parking-lot-0.9)
915 ("rust-wayland-client" ,rust-wayland-client-0.21)
916 ("rust-winapi" ,rust-winapi-0.3)
917 ("rust-winit" ,rust-winit-0.19))))))
919 (define-public rust-glutin-egl-sys-0.1
921 (name "rust-glutin-egl-sys")
926 (uri (crate-uri "glutin-egl-sys" version))
928 (string-append name "-" version ".tar.gz"))
931 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
932 (build-system cargo-build-system)
935 (("rust-winapi" ,rust-winapi-0.3)
936 ("rust-gl-generator" ,rust-gl-generator-0.13))))
937 (home-page "https://github.com/rust-windowing/glutin")
938 (synopsis "Egl bindings for glutin")
939 (description "The egl bindings for glutin.")
940 (license license:asl2.0)))
942 (define-public rust-glutin-emscripten-sys-0.1
944 (name "rust-glutin-emscripten-sys")
949 (uri (crate-uri "glutin_emscripten_sys" version))
950 (file-name (string-append name "-" version ".tar.gz"))
952 (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0"))))
953 (build-system cargo-build-system)
954 (arguments `(#:skip-build? #t))
955 (home-page "https://github.com/tomaka/glutin")
956 (synopsis "Emscripten bindings for glutin")
957 (description "This package provides Emscripten bindings for glutin.")
958 (license license:asl2.0)))
960 (define-public rust-glutin-gles2-sys-0.1
962 (name "rust-glutin-gles2-sys")
967 (uri (crate-uri "glutin_gles2_sys" version))
968 (file-name (string-append name "-" version ".tar.gz"))
970 (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8"))))
971 (build-system cargo-build-system)
975 (("rust-gl-generator" ,rust-gl-generator-0.14)
976 ("rust-objc" ,rust-objc-0.2))))
977 (home-page "https://github.com/tomaka/glutin")
978 (synopsis "Gles2 bindings for glutin")
979 (description "This package provides gles2 bindings for glutin.")
980 (license license:asl2.0)))
982 (define-public rust-glutin-glx-sys-0.1
984 (name "rust-glutin-glx-sys")
989 (uri (crate-uri "glutin_glx_sys" version))
990 (file-name (string-append name "-" version ".tar.gz"))
992 (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
993 (build-system cargo-build-system)
997 (("rust-gl-generator" ,rust-gl-generator-0.14)
998 ("rust-x11-dl" ,rust-x11-dl-2))))
999 (home-page "https://github.com/tomaka/glutin")
1000 (synopsis "Glx bindings for glutin")
1001 (description "This package provides glx bindings for glutin.")
1002 (license license:asl2.0)))
1004 (define-public rust-glutin-wgl-sys-0.1
1006 (name "rust-glutin-wgl-sys")
1011 (uri (crate-uri "glutin_wgl_sys" version))
1012 (file-name (string-append name "-" version ".tar.gz"))
1014 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
1015 (build-system cargo-build-system)
1019 (("rust-gl-generator" ,rust-gl-generator-0.14))))
1020 (home-page "https://github.com/tomaka/glutin")
1021 (synopsis "Wgl bindings for glutin")
1022 (description "This package provides wgl bindings for glutin.")
1023 (license license:asl2.0)))
1025 (define-public rust-image-0.23
1032 (uri (crate-uri "image" version))
1034 (string-append name "-" version ".tar.gz"))
1037 "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m"))))
1038 (build-system cargo-build-system)
1040 `(#:tests? #f ; Some test images are missing from the release.
1042 (("rust-bytemuck" ,rust-bytemuck-1)
1043 ("rust-byteorder" ,rust-byteorder-1)
1044 ("rust-gif" ,rust-gif-0.10)
1045 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1046 ("rust-num-iter" ,rust-num-iter-0.1)
1047 ("rust-num-rational" ,rust-num-rational-0.3)
1048 ("rust-num-traits" ,rust-num-traits-0.2)
1049 ("rust-png" ,rust-png-0.16)
1050 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1051 ("rust-tiff" ,rust-tiff-0.5))
1052 #:cargo-development-inputs
1053 (("rust-crc32fast" ,rust-crc32fast-1)
1054 ("rust-criterion" ,rust-criterion-0.3)
1055 ("rust-glob" ,rust-glob-0.3)
1056 ("rust-num-complex" ,rust-num-complex-0.3)
1057 ("rust-quickcheck" ,rust-quickcheck-0.9))))
1058 (home-page "https://github.com/image-rs/image")
1059 (synopsis "Imaging library written in Rust")
1061 "Imaging library written in Rust. Provides basic filters and decoders
1062 for the most common image formats.")
1063 (license license:expat)))
1065 (define-public rust-image-0.22
1067 (inherit rust-image-0.23)
1073 (uri (crate-uri "image" version))
1075 (string-append name "-" version ".tar.gz"))
1078 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
1080 `(#:tests? #f ; Some test images are missing from the release.
1082 (("rust-byteorder" ,rust-byteorder-1)
1083 ("rust-gif" ,rust-gif-0.10)
1084 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1085 ("rust-num-iter" ,rust-num-iter-0.1)
1086 ("rust-num-rational" ,rust-num-rational-0.2)
1087 ("rust-num-traits" ,rust-num-traits-0.2)
1088 ("rust-png" ,rust-png-0.15)
1089 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1090 ("rust-tiff" ,rust-tiff-0.3))
1091 #:cargo-development-inputs
1092 (("rust-crc32fast" ,rust-crc32fast-1)
1093 ("rust-glob" ,rust-glob-0.3)
1094 ("rust-num-complex" ,rust-num-complex-0.2)
1095 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
1097 (define-public rust-image-0.21
1099 (inherit rust-image-0.22)
1105 (uri (crate-uri "image" version))
1107 (string-append name "-" version ".tar.gz"))
1110 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
1113 (("rust-byteorder" ,rust-byteorder-1)
1114 ("rust-gif" ,rust-gif-0.10)
1115 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1116 ("rust-lzw" ,rust-lzw-0.10)
1117 ("rust-num-iter" ,rust-num-iter-0.1)
1118 ("rust-num-rational" ,rust-num-rational-0.2)
1119 ("rust-num-traits" ,rust-num-traits-0.2)
1120 ("rust-png" ,rust-png-0.14)
1121 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1122 ("rust-tiff" ,rust-tiff-0.2))
1123 #:cargo-development-inputs
1124 (("rust-glob" ,rust-glob-0.3)
1125 ("rust-num-complex" ,rust-num-complex-0.2)
1126 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1128 (define-public rust-image-0.20
1130 (inherit rust-image-0.21)
1136 (uri (crate-uri "image" version))
1138 (string-append name "-" version ".tar.gz"))
1141 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1144 (("rust-byteorder" ,rust-byteorder-1)
1145 ("rust-gif" ,rust-gif-0.10)
1146 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1147 ("rust-lzw" ,rust-lzw-0.10)
1148 ("rust-num-iter" ,rust-num-iter-0.1)
1149 ("rust-num-rational" ,rust-num-rational-0.2)
1150 ("rust-num-traits" ,rust-num-traits-0.2)
1151 ("rust-png" ,rust-png-0.12)
1152 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1153 ("rust-tiff" ,rust-tiff-0.2))
1154 #:cargo-development-inputs
1155 (("rust-glob" ,rust-glob-0.2)
1156 ("rust-num-complex" ,rust-num-complex-0.2)
1157 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1159 (define-public rust-jpeg-decoder-0.1
1161 (name "rust-jpeg-decoder")
1166 (uri (crate-uri "jpeg-decoder" version))
1168 (string-append name "-" version ".tar.gz"))
1171 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1172 (build-system cargo-build-system)
1174 `(#:tests? #f ; Some test files missing.
1176 (("rust-byteorder" ,rust-byteorder-1)
1177 ("rust-rayon" ,rust-rayon-1))
1178 #:cargo-development-inputs
1179 (("rust-criterion" ,rust-criterion-0.3)
1180 ("rust-png" ,rust-png-0.14)
1181 ("rust-walkdir" ,rust-walkdir-2))))
1182 (home-page "https://github.com/image-rs/jpeg-decoder")
1183 (synopsis "JPEG decoder")
1184 (description "JPEG decoder written in Rust.")
1185 (license (list license:expat license:asl2.0))))
1187 (define-public rust-line-drawing-0.7
1189 (name "rust-line-drawing")
1194 (uri (crate-uri "line_drawing" version))
1196 (string-append name "-" version ".tar.gz"))
1199 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1200 (build-system cargo-build-system)
1202 ;; This version does not specify any versions on dependants.
1203 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1205 (("rust-num-traits" ,rust-num-traits-0.2))
1206 #:cargo-development-inputs
1207 (("rust-bresenham" ,rust-bresenham-0.1)
1208 ("rust-image" ,rust-image-0.22) ; 0.17?
1209 ("rust-rand" ,rust-rand-0.6))))
1210 (home-page "https://github.com/expenses/line_drawing")
1211 (synopsis "Collection of line-drawing algorithms")
1213 "This package provides a collection of line-drawing algorithms for use in
1214 graphics and video games.")
1215 (license license:expat)))
1217 (define-public rust-lyon-geom-0.14
1219 (name "rust-lyon-geom")
1224 (uri (crate-uri "lyon_geom" version))
1226 (string-append name "-" version ".tar.gz"))
1229 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1230 (build-system cargo-build-system)
1234 (("rust-num-traits" ,rust-num-traits-0.2)
1235 ("rust-euclid" ,rust-euclid-0.20)
1236 ("rust-arrayvec" ,rust-arrayvec-0.4)
1237 ("rust-serde" ,rust-serde-1))))
1238 (home-page "https://github.com/nical/lyon")
1239 (synopsis "2D graphics rendering on the GPU using tessellation")
1241 "This package provides 2D graphics rendering on the GPU using tessellation.")
1242 (license (list license:expat license:asl2.0))))
1244 (define-public rust-lyon-path-0.14
1246 (name "rust-lyon-path")
1251 (uri (crate-uri "lyon_path" version))
1253 (string-append name "-" version ".tar.gz"))
1256 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1257 (build-system cargo-build-system)
1261 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1262 ("rust-serde" ,rust-serde-1))))
1263 (home-page "https://github.com/nical/lyon")
1264 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1266 "Types and utilities to store, build and iterate over 2D paths.")
1267 (license (list license:expat license:asl2.0))))
1269 (define-public rust-osmesa-sys-0.1
1271 (name "rust-osmesa-sys")
1276 (uri (crate-uri "osmesa-sys" version))
1278 (string-append name "-" version ".tar.gz"))
1281 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1282 (build-system cargo-build-system)
1285 (("rust-shared-library" ,rust-shared-library-0.1))))
1286 (home-page "https://crates.io/crates/osmesa-sys")
1287 (synopsis "OSMesa library bindings for Rust")
1288 (description "This package provides OSMesa library bindings for Rust.")
1289 (license license:cc0)))
1291 (define-public rust-piston-0.49
1293 (name "rust-piston")
1298 (uri (crate-uri "piston" version))
1300 (string-append name "-" version ".tar.gz"))
1303 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1304 (build-system cargo-build-system)
1308 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1309 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1310 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1311 (home-page "https://github.com/PistonDevelopers/piston")
1312 (synopsis "Piston game engine core libraries")
1314 "The Piston game engine core libraries.")
1315 (license license:expat)))
1317 (define-public rust-piston-float-1.0
1319 (name "rust-piston-float")
1324 (uri (crate-uri "piston-float" version))
1326 (string-append name "-" version ".tar.gz"))
1329 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1330 (build-system cargo-build-system)
1331 (arguments `(#:skip-build? #t))
1333 "https://github.com/pistondevelopers/float")
1335 "Traits for generic floats in game development")
1337 "Traits for generic floats in game development")
1338 (license license:expat)))
1340 (define-public rust-piston-gfx-texture-0.40
1342 (name "rust-piston-gfx-texture")
1347 (uri (crate-uri "piston-gfx_texture" version))
1349 (string-append name "-" version ".tar.gz"))
1352 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1353 (build-system cargo-build-system)
1357 (("rust-gfx" ,rust-gfx-0.18)
1358 ("rust-image" ,rust-image-0.22)
1359 ("rust-piston-texture" ,rust-piston-texture-0.8)
1360 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1361 (home-page "https://github.com/pistondevelopers/gfx_texture")
1363 "Gfx texture representation that works nicely with Piston libraries")
1364 (description "This package provides a Gfx texture representation that works
1365 nicely with Piston libraries.")
1366 (license license:expat)))
1368 (define-public rust-piston-graphics-api-version-0.2
1370 (name "rust-piston-graphics-api-version")
1375 (uri (crate-uri "piston-graphics_api_version" version))
1377 (string-append name "-" version ".tar.gz"))
1380 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1381 (build-system cargo-build-system)
1382 (arguments `(#:skip-build? #t))
1384 "https://github.com/PistonDevelopers/graphics_api_version")
1386 "A library for storing graphics API versions")
1388 "This package provides a library for storing graphics API versions")
1389 (license license:expat)))
1391 (define-public rust-piston-shaders-graphics2d-0.3
1393 (name "rust-piston-shaders-graphics2d")
1398 (uri (crate-uri "piston-shaders_graphics2d" version))
1400 (string-append name "-" version ".tar.gz"))
1403 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1404 (build-system cargo-build-system)
1405 (arguments `(#:skip-build? #t))
1407 "https://github.com/PistonDevelopers/shaders")
1408 (synopsis "Shaders for 2D graphics in Rust")
1409 (description "Shaders for 2D graphics in Rust")
1410 (license license:expat)))
1412 (define-public rust-piston-texture-0.8
1414 (name "rust-piston-texture")
1419 (uri (crate-uri "piston-texture" version))
1421 (string-append name "-" version ".tar.gz"))
1424 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1425 (build-system cargo-build-system)
1426 (arguments `(#:skip-build? #t))
1428 "https://github.com/pistondevelopers/texture")
1429 (synopsis "A generic library for textures")
1431 "This package provides a generic library for textures")
1432 (license license:expat)))
1434 (define-public rust-piston-viewport-1.0
1436 (name "rust-piston-viewport")
1441 (uri (crate-uri "piston-viewport" version))
1443 (string-append name "-" version ".tar.gz"))
1446 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1447 (build-system cargo-build-system)
1451 (("rust-piston-float" ,rust-piston-float-1.0))))
1452 (home-page "https://github.com/PistonDevelopers/viewport")
1453 (synopsis "Library for storing viewport information")
1455 "This package provides a library for storing viewport information.")
1456 (license license:expat)))
1458 (define-public rust-piston-window-0.105
1460 (name "rust-piston-window")
1465 (uri (crate-uri "piston_window" version))
1467 (string-append name "-" version ".tar.gz"))
1470 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1471 (build-system cargo-build-system)
1475 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1476 ("rust-gfx" ,rust-gfx-0.18)
1477 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1478 ("rust-piston" ,rust-piston-0.49)
1479 ("rust-shader-version" ,rust-shader-version-0.6)
1480 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1481 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1482 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1483 (home-page "https://github.com/pistondevelopers/piston_window")
1484 (synopsis "Official Piston window wrapper for the Piston game engine")
1486 "The official Piston window wrapper for the Piston game engine.")
1487 (license license:expat)))
1489 (define-public rust-piston2d-gfx-graphics-0.66
1491 (name "rust-piston2d-gfx-graphics")
1496 (uri (crate-uri "piston2d-gfx_graphics" version))
1498 (string-append name "-" version ".tar.gz"))
1501 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1502 (build-system cargo-build-system)
1506 (("rust-gfx" ,rust-gfx-0.18)
1507 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1508 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1509 ("rust-shader-version" ,rust-shader-version-0.6)
1510 ("rust-draw-state" ,rust-draw-state-0.8))))
1511 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1512 (synopsis "Gfx 2D back-end for the Piston game engine")
1514 "This package provides a Gfx 2D back-end for the Piston game engine.")
1515 (license license:expat)))
1517 (define-public rust-piston2d-graphics-0.35
1519 (name "rust-piston2d-graphics")
1524 (uri (crate-uri "piston2d-graphics" version))
1526 (string-append name "-" version ".tar.gz"))
1529 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1530 (build-system cargo-build-system)
1534 (("rust-interpolation" ,rust-interpolation-0.2)
1535 ("rust-rusttype" ,rust-rusttype-0.7)
1536 ("rust-piston-texture" ,rust-piston-texture-0.8)
1537 ("rust-piston-viewport" ,rust-piston-viewport-1.0)
1538 ("rust-read-color" ,rust-read-color-1.0)
1539 ("rust-vecmath" ,rust-vecmath-1.0)
1540 ("rust-fnv" ,rust-fnv-1))))
1541 (home-page "https://github.com/pistondevelopers/graphics")
1542 (synopsis "Library for 2D graphics that works with multiple back-ends")
1543 (description "This package provides a library for 2D graphics that works
1544 with multiple back-ends.")
1545 (license license:expat)))
1547 (define-public rust-pistoncore-event-loop-0.49
1549 (name "rust-pistoncore-event-loop")
1554 (uri (crate-uri "pistoncore-event_loop" version))
1556 (string-append name "-" version ".tar.gz"))
1559 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1560 (build-system cargo-build-system)
1564 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1565 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1566 (home-page "https://github.com/PistonDevelopers/piston")
1567 (synopsis "Piston event loop for games and interactive applications")
1568 (description "This package provides a Piston event loop for games and
1569 interactive applications.")
1570 (license license:expat)))
1572 (define-public rust-pistoncore-glutin-window-0.63
1574 (name "rust-pistoncore-glutin-window")
1579 (uri (crate-uri "pistoncore-glutin_window" version))
1581 (string-append name "-" version ".tar.gz"))
1584 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1585 (build-system cargo-build-system)
1589 (("rust-gl" ,rust-gl-0.11)
1590 ("rust-glutin" ,rust-glutin-0.21)
1591 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1592 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1593 ("rust-shader-version" ,rust-shader-version-0.6))))
1594 (home-page "https://github.com/pistondevelopers/glutin_window")
1595 (synopsis "Piston window back-end using the Glutin library")
1597 "This package provides a Piston window back-end using the Glutin library.")
1598 (license license:expat)))
1600 (define-public rust-pistoncore-input-0.28
1602 (name "rust-pistoncore-input")
1607 (uri (crate-uri "pistoncore-input" version))
1609 (string-append name "-" version ".tar.gz"))
1612 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1613 (build-system cargo-build-system)
1617 (("rust-piston-viewport" ,rust-piston-viewport-1.0)
1618 ("rust-serde" ,rust-serde-1)
1619 ("rust-serde-derive" ,rust-serde-derive-1)
1620 ("rust-bitflags" ,rust-bitflags-1))))
1621 (home-page "https://github.com/PistonDevelopers/piston")
1622 (synopsis "Structure for user input")
1624 "This package provides a structure for user input.")
1625 (license license:expat)))
1627 (define-public rust-pistoncore-window-0.44
1629 (name "rust-pistoncore-window")
1634 (uri (crate-uri "pistoncore-window" version))
1636 (string-append name "-" version ".tar.gz"))
1639 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1640 (build-system cargo-build-system)
1644 (("rust-piston-graphics-api-version"
1645 ,rust-piston-graphics-api-version-0.2)
1646 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1647 (home-page "https://github.com/PistonDevelopers/piston")
1648 (synopsis "Library for window abstraction")
1650 "This package provides a library for window abstraction.")
1651 (license license:expat)))
1653 (define-public rust-png-0.16
1660 (uri (crate-uri "png" version))
1661 (file-name (string-append name "-" version ".tar.gz"))
1663 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
1664 (build-system cargo-build-system)
1668 (("rust-bitflags" ,rust-bitflags-1)
1669 ("rust-crc32fast" ,rust-crc32fast-1)
1670 ("rust-deflate" ,rust-deflate-0.8)
1671 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1672 (home-page "https://github.com/image-rs/image-png.git")
1673 (synopsis "PNG decoding and encoding library in pure Rust")
1675 "This package is a PNG decoding and encoding library in pure Rust.")
1676 (license (list license:expat license:asl2.0))))
1678 (define-public rust-png-0.15
1680 (inherit rust-png-0.16)
1686 (uri (crate-uri "png" version))
1688 (string-append name "-" version ".tar.gz"))
1691 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1695 (("rust-bitflags" ,rust-bitflags-1)
1696 ("rust-crc32fast" ,rust-crc32fast-1)
1697 ("rust-deflate" ,rust-deflate-0.7)
1698 ("rust-inflate" ,rust-inflate-0.4))
1699 #:cargo-development-inputs
1700 (("rust-getopts" ,rust-getopts-0.2)
1701 ;; TODO: glium has many cyclic dependencies with other packages
1702 ;;("rust-glium" ,rust-glium-0.24)
1703 ("rust-glob" ,rust-glob-0.3)
1704 ("rust-rand" ,rust-rand-0.7)
1705 ("rust-term" ,rust-term-0.6))))))
1707 (define-public rust-png-0.14
1709 (inherit rust-png-0.15)
1715 (uri (crate-uri "png" version))
1717 (string-append name "-" version ".tar.gz"))
1720 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1724 (("rust-bitflags" ,rust-bitflags-1)
1725 ("rust-deflate" ,rust-deflate-0.7)
1726 ("rust-inflate" ,rust-inflate-0.4)
1727 ("rust-num-iter" ,rust-num-iter-0.1))
1728 #:cargo-development-inputs
1729 (("rust-getopts" ,rust-getopts-0.2)
1730 ;; TODO: glium has many cyclic dependencies with other packages
1731 ;; ("rust-glium" ,rust-glium-0.22)
1732 ("rust-glob" ,rust-glob-0.2)
1733 ("rust-rand" ,rust-rand-0.5)
1734 ("rust-term" ,rust-term-0.4))))))
1736 (define-public rust-png-0.12
1738 (inherit rust-png-0.14)
1744 (uri (crate-uri "png" version))
1746 (string-append name "-" version ".tar.gz"))
1749 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1753 (("rust-bitflags" ,rust-bitflags-1)
1754 ("rust-deflate" ,rust-deflate-0.7)
1755 ("rust-inflate" ,rust-inflate-0.4)
1756 ("rust-num-iter" ,rust-num-iter-0.1))
1757 #:cargo-development-inputs
1758 (("rust-getopts" ,rust-getopts-0.2)
1759 ;; TODO: gluum has many cyclic dependencies with other packages
1760 ;; ("rust-glium" ,rust-glium-0.21)
1761 ("rust-glob" ,rust-glob-0.2)
1762 ("rust-term" ,rust-term-0.4))))))
1764 (define-public rust-raw-window-handle-0.3
1766 (name "rust-raw-window-handle")
1771 (uri (crate-uri "raw-window-handle" version))
1773 (string-append name "-" version ".tar.gz"))
1776 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1777 (build-system cargo-build-system)
1779 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1780 (home-page "https://github.com/rust-windowing/raw-window-handle")
1781 (synopsis "Interoperability library for Rust Windowing applications")
1783 "Interoperability library for Rust Windowing applications.")
1784 (license license:expat)))
1786 (define-public rust-resize-0.3
1788 (name "rust-resize")
1793 (uri (crate-uri "resize" version))
1795 (string-append name "-" version ".tar.gz"))
1798 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
1799 (build-system cargo-build-system)
1801 `(#:cargo-development-inputs
1802 (("rust-png" ,rust-png-0.15))))
1803 (home-page "https://github.com/PistonDevelopers/resize")
1804 (synopsis "Simple image resampling library in pure Rust")
1806 "This package provides a simple image resampling library in pure Rust.")
1807 (license license:expat)))
1809 (define-public rust-rgb-0.8
1816 (uri (crate-uri "rgb" version))
1817 (file-name (string-append name "-" version ".crate"))
1820 "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh"))))
1821 (build-system cargo-build-system)
1824 (("rust-bytemuck" ,rust-bytemuck-1)
1825 ("rust-serde" ,rust-serde-1))
1826 #:cargo-development-inputs
1827 (("rust-serde-json" ,rust-serde-json-1))))
1828 (home-page "https://lib.rs/crates/rgb")
1829 (synopsis "Struct for sharing pixels between crates")
1831 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
1832 between crates + convenience methods for color manipulation. It allows no-copy
1833 high-level interoperability. It also adds common convenience methods and
1834 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
1835 first-class Rust objects.")
1836 (license license:expat)))
1838 (define-public rust-smithay-client-toolkit-0.6
1840 (name "rust-smithay-client-toolkit")
1845 (uri (crate-uri "smithay-client-toolkit" version))
1847 (string-append name "-" version ".tar.gz"))
1850 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
1851 (build-system cargo-build-system)
1854 (("rust-andrew" ,rust-andrew-0.2)
1855 ("rust-bitflags" ,rust-bitflags-1)
1856 ("rust-dlib" ,rust-dlib-0.4)
1857 ("rust-lazy-static" ,rust-lazy-static-1)
1858 ("rust-memmap" ,rust-memmap-0.7)
1859 ("rust-nix" ,rust-nix-0.14)
1860 ("rust-wayland-client" ,rust-wayland-client-0.23)
1861 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
1862 #:cargo-development-inputs
1863 (("rust-byteorder" ,rust-byteorder-1)
1864 ("rust-image" ,rust-image-0.21)
1865 ("rust-wayland-client" ,rust-wayland-client-0.23))))
1866 (home-page "https://github.com/smithay/client-toolkit")
1867 (synopsis "Toolkit for making client wayland applications")
1869 "Toolkit for making client wayland applications.")
1870 (license license:expat)))
1872 (define-public rust-smithay-client-toolkit-0.4
1874 (inherit rust-smithay-client-toolkit-0.6)
1875 (name "rust-smithay-client-toolkit")
1880 (uri (crate-uri "smithay-client-toolkit" version))
1882 (string-append name "-" version ".tar.gz"))
1885 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
1888 (("rust-andrew" ,rust-andrew-0.2)
1889 ("rust-bitflags" ,rust-bitflags-1)
1890 ("rust-dlib" ,rust-dlib-0.4)
1891 ("rust-lazy-static" ,rust-lazy-static-1)
1892 ("rust-memmap" ,rust-memmap-0.7)
1893 ("rust-nix" ,rust-nix-0.14)
1894 ("rust-wayland-client" ,rust-wayland-client-0.21)
1895 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
1896 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
1897 #:cargo-development-inputs
1898 (("rust-byteorder" ,rust-byteorder-1)
1899 ("rust-image" ,rust-image-0.20)
1900 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
1902 (define-public rust-smithay-clipboard-0.3
1904 (name "rust-smithay-clipboard")
1909 (uri (crate-uri "smithay-clipboard" version))
1911 (string-append name "-" version ".tar.gz"))
1914 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
1915 (build-system cargo-build-system)
1918 (("rust-nix" ,rust-nix-0.14)
1919 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
1920 #:cargo-development-inputs
1921 (("rust-andrew" ,rust-andrew-0.2))))
1923 `(("wayland" ,wayland)))
1924 (home-page "https://github.com/smithay/smithay-clipboard")
1926 "Provides access to the wayland clipboard for client applications")
1928 "This package provides access to the wayland clipboard for client applications.")
1929 (license license:expat)))
1931 (define-public rust-tiff-0.5
1938 (uri (crate-uri "tiff" version))
1940 (string-append name "-" version ".tar.gz"))
1943 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
1944 (build-system cargo-build-system)
1946 `(#:tests? #f ; not all test files included
1948 (("rust-byteorder" ,rust-byteorder-1)
1949 ("rust-lzw" ,rust-lzw-0.10)
1950 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1951 (home-page "https://github.com/image-rs/image-tiff")
1953 "TIFF decoding and encoding library in pure Rust")
1955 "TIFF decoding and encoding library in pure Rust.")
1956 (license license:expat)))
1958 (define-public rust-tiff-0.3
1960 (inherit rust-tiff-0.5)
1966 (uri (crate-uri "tiff" version))
1968 (string-append name "-" version ".tar.gz"))
1971 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
1973 `(#:tests? #f ; Tests images not included with release.
1975 (("rust-byteorder" ,rust-byteorder-1)
1976 ("rust-lzw" ,rust-lzw-0.10)
1977 ("rust-num-derive" ,rust-num-derive-0.2)
1978 ("rust-num-traits" ,rust-num-traits-0.2))
1979 #:cargo-development-inputs
1980 (("rust-tempfile" ,rust-tempfile-3))))))
1982 (define-public rust-tiff-0.2
1984 (inherit rust-tiff-0.3)
1990 (uri (crate-uri "tiff" version))
1992 (string-append name "-" version ".tar.gz"))
1995 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
1998 (("rust-byteorder" ,rust-byteorder-1)
1999 ("rust-lzw" ,rust-lzw-0.10)
2000 ("rust-num-derive" ,rust-num-derive-0.2)
2001 ("rust-num-traits" ,rust-num-traits-0.2))))))
2003 (define-public rust-wayland-client-0.28
2005 (name "rust-wayland-client")
2010 (uri (crate-uri "wayland-client" version))
2011 (file-name (string-append name "-" version ".tar.gz"))
2013 (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx"))))
2014 (build-system cargo-build-system)
2018 (("rust-bitflags" ,rust-bitflags-1)
2019 ("rust-downcast-rs" ,rust-downcast-rs-1)
2020 ("rust-libc" ,rust-libc-0.2)
2021 ("rust-nix" ,rust-nix-0.18)
2022 ("rust-scoped-tls" ,rust-scoped-tls-1)
2023 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2024 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2025 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2026 (home-page "https://github.com/smithay/wayland-rs")
2028 "Rust bindings to the standard C implementation of the wayland protocol")
2030 "This package provides Rust bindings to the standard C implementation of
2031 the wayland protocol, client side.")
2032 (license license:expat)))
2034 (define-public rust-wayland-client-0.23
2036 (inherit rust-wayland-client-0.28)
2037 (name "rust-wayland-client")
2042 (uri (crate-uri "wayland-client" version))
2044 (string-append name "-" version ".tar.gz"))
2047 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
2050 (("rust-bitflags" ,rust-bitflags-1)
2051 ("rust-calloop" ,rust-calloop-0.4)
2052 ("rust-downcast-rs" ,rust-downcast-rs-1)
2053 ("rust-libc" ,rust-libc-0.2)
2054 ("rust-mio" ,rust-mio-0.6)
2055 ("rust-nix" ,rust-nix-0.14)
2056 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2057 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2058 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
2059 #:cargo-development-inputs
2060 (("rust-byteorder" ,rust-byteorder-1)
2061 ("rust-tempfile" ,rust-tempfile-3))))))
2063 (define-public rust-wayland-client-0.21
2065 (inherit rust-wayland-client-0.23)
2066 (name "rust-wayland-client")
2071 (uri (crate-uri "wayland-client" version))
2073 (string-append name "-" version ".tar.gz"))
2076 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
2079 (("rust-bitflags" ,rust-bitflags-1)
2080 ("rust-calloop" ,rust-calloop-0.4)
2081 ("rust-downcast-rs" ,rust-downcast-rs-1)
2082 ("rust-libc" ,rust-libc-0.2)
2083 ("rust-mio" ,rust-mio-0.6)
2084 ("rust-nix" ,rust-nix-0.14)
2085 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2086 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2087 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
2088 #:cargo-development-inputs
2089 (("rust-byteorder" ,rust-byteorder-1)
2090 ("rust-tempfile" ,rust-tempfile-3))))))
2092 (define-public rust-wayland-commons-0.28
2094 (name "rust-wayland-commons")
2099 (uri (crate-uri "wayland-commons" version))
2100 (file-name (string-append name "-" version ".tar.gz"))
2102 (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128"))))
2103 (build-system cargo-build-system)
2107 (("rust-nix" ,rust-nix-0.18)
2108 ("rust-once-cell" ,rust-once-cell-1)
2109 ("rust-smallvec" ,rust-smallvec-1)
2110 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2111 (home-page "https://github.com/smithay/wayland-rs")
2112 (synopsis "Types and structures used by wayland-client and wayland-server")
2114 "This package provides common types and structures used by wayland-client
2115 and wayland-server.")
2116 (license license:expat)))
2118 (define-public rust-wayland-commons-0.23
2120 (inherit rust-wayland-commons-0.28)
2121 (name "rust-wayland-commons")
2126 (uri (crate-uri "wayland-commons" version))
2128 (string-append name "-" version ".tar.gz"))
2131 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
2134 (("rust-nix" ,rust-nix-0.14)
2135 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))))
2137 (define-public rust-wayland-commons-0.21
2139 (inherit rust-wayland-commons-0.23)
2140 (name "rust-wayland-commons")
2145 (uri (crate-uri "wayland-commons" version))
2147 (string-append name "-" version ".tar.gz"))
2150 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2153 (("rust-nix" ,rust-nix-0.14)
2154 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2156 (define-public rust-wayland-cursor-0.28
2158 (name "rust-wayland-cursor")
2163 (uri (crate-uri "wayland-cursor" version))
2164 (file-name (string-append name "-" version ".tar.gz"))
2166 (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn"))))
2167 (build-system cargo-build-system)
2171 (("rust-nix" ,rust-nix-0.18)
2172 ("rust-wayland-client" ,rust-wayland-client-0.28)
2173 ("rust-xcursor" ,rust-xcursor-0.3))))
2174 (home-page "https://github.com/smithay/wayland-rs")
2175 (synopsis "Bindings to libwayland-cursor")
2177 "This crate provides helpers to load the system provided cursor images
2178 and load them into WlBuffers as well as obtain the necessary metadata to
2179 properly display animated cursors.")
2180 (license license:expat)))
2182 (define-public rust-wayland-egl-0.28
2184 (name "rust-wayland-egl")
2189 (uri (crate-uri "wayland-egl" version))
2190 (file-name (string-append name "-" version ".tar.gz"))
2192 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2193 (build-system cargo-build-system)
2197 (("rust-wayland-client" ,rust-wayland-client-0.28)
2198 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2199 (home-page "https://github.com/smithay/wayland-rs")
2200 (synopsis "Bindings to libwayland-egl")
2202 "This crate provides bindings for OpenGL/Vulkan support for
2203 Wayland client apps. It allows to create an EGLSurface from any
2204 WlSurface, which can then play the role of the base surface for
2205 initializing an OpenGL or Vulkan context.")
2206 (license license:expat)))
2208 (define-public rust-wayland-protocols-0.28
2210 (name "rust-wayland-protocols")
2215 (uri (crate-uri "wayland-protocols" version))
2216 (file-name (string-append name "-" version ".tar.gz"))
2218 (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii"))))
2219 (build-system cargo-build-system)
2223 (("rust-bitflags" ,rust-bitflags-1)
2224 ("rust-wayland-client" ,rust-wayland-client-0.28)
2225 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2226 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2227 ("rust-wayland-server" ,rust-wayland-server-0.28))))
2228 (home-page "https://github.com/smithay/wayland-rs")
2229 (synopsis "Generated API for the officials Wayland protocol extensions")
2231 "This package provides a generated API for the officials Wayland protocol
2233 (license license:expat)))
2235 (define-public rust-wayland-protocols-0.23
2237 (inherit rust-wayland-protocols-0.28)
2238 (name "rust-wayland-protocols")
2243 (uri (crate-uri "wayland-protocols" version))
2245 (string-append name "-" version ".tar.gz"))
2248 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2251 (("rust-bitflags" ,rust-bitflags-1)
2252 ("rust-wayland-client" ,rust-wayland-client-0.23)
2253 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2254 ("rust-wayland-server" ,rust-wayland-server-0.23)
2255 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))))
2257 (define-public rust-wayland-protocols-0.21
2259 (inherit rust-wayland-protocols-0.23)
2260 (name "rust-wayland-protocols")
2265 (uri (crate-uri "wayland-protocols" version))
2267 (string-append name "-" version ".tar.gz"))
2270 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2273 (("rust-bitflags" ,rust-bitflags-1)
2274 ("rust-wayland-client" ,rust-wayland-client-0.21)
2275 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2276 ("rust-wayland-server" ,rust-wayland-server-0.21)
2277 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2278 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2280 (define-public rust-wayland-scanner-0.28
2282 (name "rust-wayland-scanner")
2287 (uri (crate-uri "wayland-scanner" version))
2288 (file-name (string-append name "-" version ".tar.gz"))
2290 (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
2291 (build-system cargo-build-system)
2295 (("rust-proc-macro2" ,rust-proc-macro2-1)
2296 ("rust-quote" ,rust-quote-1)
2297 ("rust-xml-rs" ,rust-xml-rs-0.8))))
2298 (home-page "https://github.com/smithay/wayland-rs")
2299 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2301 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2302 It is intended for use with wayland-sys. You should only need this crate if
2303 you are working on custom Wayland protocol extensions. Look at the
2304 wayland-client crate for usable bindings.")
2305 (license license:expat)))
2307 (define-public rust-wayland-scanner-0.23
2309 (inherit rust-wayland-scanner-0.28)
2310 (name "rust-wayland-scanner")
2315 (uri (crate-uri "wayland-scanner" version))
2317 (string-append name "-" version ".tar.gz"))
2320 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2323 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2324 ("rust-quote" ,rust-quote-0.6)
2325 ("rust-xml-rs" ,rust-xml-rs-0.8))))))
2327 (define-public rust-wayland-scanner-0.21
2329 (inherit rust-wayland-scanner-0.23)
2330 (name "rust-wayland-scanner")
2335 (uri (crate-uri "wayland-scanner" version))
2337 (string-append name "-" version ".tar.gz"))
2340 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2342 (define-public rust-wayland-server-0.28
2344 (name "rust-wayland-server")
2349 (uri (crate-uri "wayland-server" version))
2350 (file-name (string-append name "-" version ".tar.gz"))
2352 (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93"))))
2353 (build-system cargo-build-system)
2357 (("rust-bitflags" ,rust-bitflags-1)
2358 ("rust-downcast-rs" ,rust-downcast-rs-1)
2359 ("rust-lazy-static" ,rust-lazy-static-1)
2360 ("rust-libc" ,rust-libc-0.2)
2361 ("rust-nix" ,rust-nix-0.18)
2362 ("rust-parking-lot" ,rust-parking-lot-0.11)
2363 ("rust-scoped-tls" ,rust-scoped-tls-1)
2364 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2365 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2366 ("rust-wayland-sys" ,rust-wayland-sys-0.28))))
2367 (home-page "https://github.com/smithay/wayland-rs")
2369 "Bindings to the standard C implementation of the wayland protocol")
2371 "This package provides Rust bindings to the standard C implementation of
2372 the wayland protocol, server side.")
2373 (license license:expat)))
2375 (define-public rust-wayland-server-0.23
2377 (inherit rust-wayland-server-0.28)
2378 (name "rust-wayland-server")
2383 (uri (crate-uri "wayland-server" version))
2385 (string-append name "-" version ".tar.gz"))
2388 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2391 (("rust-bitflags" ,rust-bitflags-1)
2392 ("rust-calloop" ,rust-calloop-0.4)
2393 ("rust-downcast-rs" ,rust-downcast-rs-1)
2394 ("rust-libc" ,rust-libc-0.2)
2395 ("rust-mio" ,rust-mio-0.6)
2396 ("rust-nix" ,rust-nix-0.14)
2397 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2398 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2399 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))))
2401 (define-public rust-wayland-server-0.21
2403 (inherit rust-wayland-server-0.23)
2404 (name "rust-wayland-server")
2409 (uri (crate-uri "wayland-server" version))
2411 (string-append name "-" version ".tar.gz"))
2414 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2417 (("rust-bitflags" ,rust-bitflags-1)
2418 ("rust-calloop" ,rust-calloop-0.4)
2419 ("rust-downcast-rs" ,rust-downcast-rs-1)
2420 ("rust-libc" ,rust-libc-0.2)
2421 ("rust-mio" ,rust-mio-0.6)
2422 ("rust-nix" ,rust-nix-0.14)
2423 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2424 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2425 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2427 (define-public rust-wayland-sys-0.28
2429 (name "rust-wayland-sys")
2434 (uri (crate-uri "wayland-sys" version))
2435 (file-name (string-append name "-" version ".tar.gz"))
2437 (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
2438 (build-system cargo-build-system)
2442 (("rust-dlib" ,rust-dlib-0.4)
2443 ("rust-lazy-static" ,rust-lazy-static-1)
2444 ("rust-libc" ,rust-libc-0.2)
2445 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2446 (home-page "https://github.com/smithay/wayland-rs")
2447 (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
2449 "This package provides FFI bindings to the various
2450 @file{libwayland-*.so} libraries. You should only need this crate if
2451 you are working on custom Wayland protocol extensions. Look at the
2452 crate @code{rust-wayland-client} for usable bindings.")
2453 (license license:expat)))
2455 (define-public rust-wayland-sys-0.23
2457 (inherit rust-wayland-sys-0.28)
2458 (name "rust-wayland-sys")
2463 (uri (crate-uri "wayland-sys" version))
2465 (string-append name "-" version ".tar.gz"))
2468 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2471 (("rust-dlib" ,rust-dlib-0.4)
2472 ("rust-lazy-static" ,rust-lazy-static-1)
2473 ("rust-libc" ,rust-libc-0.2))))))
2475 (define-public rust-wayland-sys-0.21
2477 (inherit rust-wayland-sys-0.23)
2478 (name "rust-wayland-sys")
2483 (uri (crate-uri "wayland-sys" version))
2485 (string-append name "-" version ".tar.gz"))
2488 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2490 (define-public rust-winit-0.24
2497 (uri (crate-uri "winit" version))
2498 (file-name (string-append name "-" version ".tar.gz"))
2500 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2501 (build-system cargo-build-system)
2505 (("rust-bitflags" ,rust-bitflags-1)
2506 ("rust-cocoa" ,rust-cocoa-0.24)
2507 ("rust-core-foundation" ,rust-core-foundation-0.9)
2508 ("rust-core-graphics" ,rust-core-graphics-0.22)
2509 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2510 ("rust-dispatch" ,rust-dispatch-0.2)
2511 ("rust-instant" ,rust-instant-0.1)
2512 ("rust-lazy-static" ,rust-lazy-static-1)
2513 ("rust-libc" ,rust-libc-0.2)
2514 ("rust-log" ,rust-log-0.4)
2515 ("rust-mio" ,rust-mio-0.6)
2516 ("rust-mio-extras" ,rust-mio-extras-2)
2517 ("rust-ndk" ,rust-ndk-0.2)
2518 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2519 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2520 ("rust-objc" ,rust-objc-0.2)
2521 ("rust-parking-lot" ,rust-parking-lot-0.11)
2522 ("rust-percent-encoding" ,rust-percent-encoding-2)
2523 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2524 ("rust-serde" ,rust-serde-1)
2525 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2526 ("rust-stdweb" ,rust-stdweb-0.4)
2527 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2528 ("rust-wayland-client" ,rust-wayland-client-0.28)
2529 ("rust-web-sys" ,rust-web-sys-0.3)
2530 ("rust-winapi" ,rust-winapi-0.3)
2531 ("rust-x11-dl" ,rust-x11-dl-2))))
2532 (home-page "https://github.com/rust-windowing/winit")
2533 (synopsis "Window creation library")
2535 "Winit is a window creation and management library. It can create
2536 windows and lets you handle events (for example: the window being
2537 resized, a key being pressed, a mouse movement, etc.) produced by
2540 Winit is designed to be a low-level brick in a hierarchy of libraries.
2541 Consequently, in order to show something on the window you need to use
2542 the platform-specific getters provided by winit, or another library.")
2543 (license license:asl2.0)))
2545 (define-public rust-winit-0.20
2547 (inherit rust-winit-0.24)
2549 (version "0.20.0-alpha6")
2553 (uri (crate-uri "winit" version))
2555 (string-append name "-" version ".tar.gz"))
2558 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2563 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2564 (file-name (string-append name "-fix-bindings.patch"))
2567 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2570 (("rust-android-glue" ,rust-android-glue-0.2)
2571 ("rust-bitflags" ,rust-bitflags-1)
2572 ("rust-calloop" ,rust-calloop-0.4)
2573 ("rust-cocoa" ,rust-cocoa-0.19)
2574 ("rust-core-foundation" ,rust-core-foundation-0.6)
2575 ("rust-core-graphics" ,rust-core-graphics-0.17)
2576 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2577 ("rust-dispatch" ,rust-dispatch-0.1)
2578 ("rust-instant" ,rust-instant-0.1)
2579 ("rust-lazy-static" ,rust-lazy-static-1)
2580 ("rust-libc" ,rust-libc-0.2)
2581 ("rust-log" ,rust-log-0.4)
2582 ("rust-objc" ,rust-objc-0.2)
2583 ("rust-parking-lot" ,rust-parking-lot-0.10)
2584 ("rust-percent-encoding" ,rust-percent-encoding-2)
2585 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2586 ("rust-serde" ,rust-serde-1)
2587 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2588 ("rust-stdweb" ,rust-stdweb-0.4)
2589 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2590 ("rust-wayland-client" ,rust-wayland-client-0.23)
2591 ("rust-web-sys" ,rust-web-sys-0.3)
2592 ("rust-winapi" ,rust-winapi-0.3)
2593 ("rust-x11-dl" ,rust-x11-dl-2))
2594 #:cargo-development-inputs
2595 (("rust-console-log" ,rust-console-log-0.1)
2596 ("rust-env-logger" ,rust-env-logger-0.5)
2597 ("rust-image" ,rust-image-0.21))))))
2599 (define-public rust-winit-0.19
2601 (inherit rust-winit-0.20)
2607 (uri (crate-uri "winit" version))
2609 (string-append name "-" version ".tar.gz"))
2612 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2615 (("rust-android-glue" ,rust-android-glue-0.2)
2616 ("rust-backtrace" ,rust-backtrace-0.3)
2617 ("rust-bitflags" ,rust-bitflags-1)
2618 ("rust-cocoa" ,rust-cocoa-0.18)
2619 ("rust-core-foundation" ,rust-core-foundation-0.6)
2620 ("rust-core-graphics" ,rust-core-graphics-0.17)
2621 ("rust-image" ,rust-image-0.21)
2622 ("rust-lazy-static" ,rust-lazy-static-1)
2623 ("rust-libc" ,rust-libc-0.2)
2624 ("rust-log" ,rust-log-0.4)
2625 ("rust-objc" ,rust-objc-0.2)
2626 ("rust-parking-lot" ,rust-parking-lot-0.9)
2627 ("rust-percent-encoding" ,rust-percent-encoding-2)
2628 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2629 ("rust-serde" ,rust-serde-1)
2630 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2631 ("rust-wayland-client" ,rust-wayland-client-0.21)
2632 ("rust-winapi" ,rust-winapi-0.3)
2633 ("rust-x11-dl" ,rust-x11-dl-2))))))
2635 (define-public rust-x11-2
2642 (uri (crate-uri "x11" version))
2644 (string-append name "-" version ".tar.gz"))
2646 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
2647 (build-system cargo-build-system)
2650 (("rust-libc" ,rust-libc-0.2)
2651 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2652 (home-page "https://github.com/erlepereira/x11-rs")
2653 (synopsis "X11 library bindings for Rust")
2654 (description "This crate provides X11 library bindings for Rust.")
2655 (license license:expat)))
2657 (define-public rust-x11-clipboard-0.5
2659 (name "rust-x11-clipboard")
2664 (uri (crate-uri "x11-clipboard" version))
2665 (file-name (string-append name "-" version ".tar.gz"))
2667 (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5"))))
2668 (build-system cargo-build-system)
2672 (("rust-xcb" ,rust-xcb-0.9))))
2673 (home-page "https://github.com/quininer/x11-clipboard")
2674 (synopsis "x11 clipboard support for Rust")
2675 (description "This package provides x11 clipboard support for Rust.")
2676 (license license:expat)))
2678 (define-public rust-x11-clipboard-0.4
2680 (inherit rust-x11-clipboard-0.5)
2681 (name "rust-x11-clipboard")
2686 (uri (crate-uri "x11-clipboard" version))
2688 (string-append name "-" version ".tar.gz"))
2691 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
2693 `(#:tests? #f ; Tests require display server.
2694 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
2696 `(("python" ,python)))))
2698 (define-public rust-x11-dl-2
2700 (name "rust-x11-dl")
2705 (uri (crate-uri "x11-dl" version))
2707 (string-append name "-" version ".tar.gz"))
2709 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
2710 (build-system cargo-build-system)
2713 (("rust-lazy-static" ,rust-lazy-static-1)
2714 ("rust-libc" ,rust-libc-0.2)
2715 ("rust-maybe-uninit" ,rust-maybe-uninit-2.0)
2716 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2717 (home-page "https://github.com/erlepereira/x11-rs.git")
2718 (synopsis "X11 library bindings for Rust")
2719 (description "This package provides X11 library bindings for Rust.")
2720 (license license:cc0)))
2722 (define-public rust-y4m-0.5
2729 (uri (crate-uri "y4m" version))
2731 (string-append name "-" version ".tar.gz"))
2734 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
2735 (build-system cargo-build-system)
2737 `(#:cargo-development-inputs
2738 (("rust-resize" ,rust-resize-0.3))))
2739 (home-page "https://github.com/image-rs/y4m")
2740 (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2741 (description "YUV4MPEG2 (.y4m) Encoder/Decoder.")
2742 (license license:expat)))