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, 2021 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>
13 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
15 ;;; This file is part of GNU Guix.
17 ;;; GNU Guix is free software; you can redistribute it and/or modify it
18 ;;; under the terms of the GNU General Public License as published by
19 ;;; the Free Software Foundation; either version 3 of the License, or (at
20 ;;; your option) any later version.
22 ;;; GNU Guix is distributed in the hope that it will be useful, but
23 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
24 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 ;;; GNU General Public License for more details.
27 ;;; You should have received a copy of the GNU General Public License
28 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
30 (define-module (gnu packages crates-graphics)
31 #:use-module (guix build-system cargo)
32 #:use-module (guix download)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix packages)
35 #:use-module (gnu packages)
36 #:use-module (gnu packages assembly)
37 #:use-module (gnu packages crates-io)
38 #:use-module (gnu packages freedesktop)
39 #:use-module (gnu packages llvm)
40 #:use-module (gnu packages pkg-config)
41 #:use-module (gnu packages python)
42 #:use-module (gnu packages video))
45 ;;; Please: Try to add new module packages in alphabetic order.
47 (define-public rust-andrew-0.3
54 (uri (crate-uri "andrew" version))
55 (file-name (string-append name "-" version ".tar.gz"))
57 (base32 "1kx79z6mh7wwp4pz683bdya54h7w7wpzjcwf834fwbv4vl4znjlc"))))
58 (build-system cargo-build-system)
62 (("rust-bitflags" ,rust-bitflags-1)
63 ("rust-rusttype" ,rust-rusttype-0.9)
64 ("rust-walkdir" ,rust-walkdir-2)
65 ("rust-xdg" ,rust-xdg-2)
66 ("rust-xml-rs" ,rust-xml-rs-0.8))))
67 (home-page "https://github.com/trimental/andrew")
68 (synopsis "Provides convenient drawing of objects to buffers")
70 "The @code{andrew} crate provides convenient drawing of objects such as
71 shapes, lines and text to buffers.")
72 (license license:expat)))
74 (define-public rust-andrew-0.2
76 (inherit rust-andrew-0.3)
82 (uri (crate-uri "andrew" version))
84 (string-append name "-" version ".tar.gz"))
87 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
90 (("rust-bitflags" ,rust-bitflags-1)
91 ("rust-line-drawing" ,rust-line-drawing-0.7)
92 ("rust-rusttype" ,rust-rusttype-0.7)
93 ("rust-walkdir" ,rust-walkdir-2)
94 ("rust-xdg" ,rust-xdg-2)
95 ("rust-xml-rs" ,rust-xml-rs-0.8))
96 #:cargo-development-inputs
97 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
99 `(("wayland" ,wayland)))))
101 (define-public rust-ansi-colours-1
103 (name "rust-ansi-colours")
108 (uri (crate-uri "ansi_colours" version))
110 (string-append name "-" version ".tar.gz"))
113 "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx"))))
114 (build-system cargo-build-system)
117 (("rust-cc" ,rust-cc-1))
118 #:cargo-development-inputs
119 (("rust-delta-e" ,rust-delta-e-0.2)
120 ("rust-lab" ,rust-lab-0.4))))
121 (home-page "https://github.com/mina86/ansi_colours")
122 (synopsis "Palette converter between true-colour and ANSI terminal")
124 "@code{ansi_colours} is a library which converts between 24-bit sRGB
125 colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
126 @code{rxvt-unicode} in 256-colour mode.
127 The most common use case is when using 24-bit colours in a terminal emulator
128 which only support 8-bit colour palette. This package allows true-colours to be
129 approximated by values supported by the terminal.")
130 (license license:lgpl3+)))
132 (define-public rust-ansi-term-0.12
134 (name "rust-ansi-term")
139 (uri (crate-uri "ansi_term" version))
140 (file-name (string-append name "-" version ".crate"))
143 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
144 (build-system cargo-build-system)
147 (("rust-serde" ,rust-serde-1)
148 ("rust-winapi" ,rust-winapi-0.3))
149 #:cargo-development-inputs
150 (("rust-doc-comment" ,rust-doc-comment-0.3)
151 ("rust-regex" ,rust-regex-1)
152 ("rust-serde-json" ,rust-serde-json-1))))
153 (home-page "https://github.com/ogham/rust-ansi-term")
154 (synopsis "Library for ANSI terminal colours and styles")
156 "This is a library for controlling colours and formatting, such as red bold
157 text or blue underlined text, on ANSI terminals.")
158 (license license:expat)))
160 (define-public rust-ansi-term-0.11
162 (inherit rust-ansi-term-0.12)
163 (name "rust-ansi-term")
168 (uri (crate-uri "ansi_term" version))
169 (file-name (string-append name "-" version ".crate"))
172 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
176 (("rust-winapi" ,rust-winapi-0.3))))))
178 (define-public rust-ansi-term-0.9
180 (inherit rust-ansi-term-0.11)
181 (name "rust-ansi-term")
186 (uri (crate-uri "ansi_term" version))
188 (string-append name "-" version ".tar.gz"))
191 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
194 (define-public rust-aom-sys-0.2
196 (name "rust-aom-sys")
201 (uri (crate-uri "aom-sys" version))
203 (string-append name "-" version ".tar.gz"))
206 "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
207 (build-system cargo-build-system)
210 (("rust-bindgen" ,rust-bindgen-0.54)
211 ("rust-metadeps" ,rust-metadeps-1))))
213 `(("pkg-config" ,pkg-config)))
218 (home-page "https://github.com/rust-av/aom-rs")
219 (synopsis "FFI bindings to aom")
220 (description "This package provides FFI bindings to aom.")
221 (license license:expat)))
223 (define-public rust-aom-sys-0.1
225 (inherit rust-aom-sys-0.2)
226 (name "rust-aom-sys")
231 (uri (crate-uri "aom-sys" version))
233 (string-append name "-" version ".tar.gz"))
236 "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
237 (build-system cargo-build-system)
240 (("rust-bindgen" ,rust-bindgen-0.53)
241 ("rust-metadeps" ,rust-metadeps-1))))
243 `(("pkg-config" ,pkg-config)))
249 (define-public rust-ascii-canvas-2
251 (name "rust-ascii-canvas")
256 (uri (crate-uri "ascii-canvas" version))
257 (file-name (string-append name "-" version ".tar.gz"))
259 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
260 (build-system cargo-build-system)
262 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
264 (("rust-term" ,rust-term-0.5))))
265 (home-page "https://github.com/nikomatsakis/ascii-canvas")
266 (synopsis "Simple canvas for drawing lines and styled text and emitting to
268 (description "@code{ASCII} canvas is a simple Rust library that allows you
269 to draw lines and colored text and then write them to the terminal. It uses
270 the term library to handle the ANSI nonsense and hence it works on Windows,
272 (license (list license:asl2.0 license:expat))))
274 (define-public rust-avif-parse-0.13
276 (name "rust-avif-parse")
281 (uri (crate-uri "avif-parse" version))
283 (string-append name "-" version ".tar.gz"))
286 "1vylrjq77mpl6flmd85j5f2qimh6vjn03syvq8agb62x56khm0xj"))))
287 (build-system cargo-build-system)
290 (("rust-bitreader" ,rust-bitreader-0.3)
291 ("rust-byteorder" ,rust-byteorder-1)
292 ("rust-fallible-collections" ,rust-fallible-collections-0.4)
293 ("rust-log" ,rust-log-0.4)
294 ("rust-static-assertions" ,rust-static-assertions-1))
295 #:cargo-development-inputs
296 (("rust-env-logger" ,rust-env-logger-0.8)
297 ("rust-walkdir" ,rust-walkdir-2))))
298 (home-page "https://github.com/kornelski/avif-parse")
299 (synopsis "Parser for AVIF image files")
300 (description "This AVIF parser allows extracting the AV1 payload and alpha
301 channel metadata out of AVIF image files. The parser is a fork of Mozilla's
302 MP4 parser used in Firefox, so it's designed to be robust and safely handle
304 (license license:mpl2.0)))
306 (define-public rust-avif-serialize-0.6
308 (name "rust-avif-serialize")
313 (uri (crate-uri "avif-serialize" version))
314 (file-name (string-append name "-" version ".tar.gz"))
316 (base32 "130wq838lslkcqcp2kjci7q3aq9qpir07pvxndc81xqbn63wvdjg"))))
317 (build-system cargo-build-system)
321 (("rust-arrayvec" ,rust-arrayvec-0.5))))
322 (home-page "https://lib.rs/avif-serialize")
323 (synopsis "Writer for AVIF header structure (MPEG/HEIF/MIAF/ISO-BMFF)")
325 "This package provides a minimal writer for AVIF header structure. This
326 is a tiny alternative to @code{libavif}. It creates the jungle of
327 MPEG/HEIF/MIAF/ISO-BMFF ``boxes'' as appropriate for AVIF files. It supports
328 alpha channel embedding.")
329 (license license:bsd-3)))
331 (define-public rust-cgl-0.3
338 (uri (crate-uri "cgl" version))
340 (string-append name "-" version ".tar.gz"))
343 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
344 (build-system cargo-build-system)
346 `(#:skip-build? #t ; only available on macOS
347 #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
348 (home-page "https://github.com/servo/cgl-rs")
349 (synopsis "Rust bindings for CGL on Mac")
350 (description "Rust bindings for CGL on Mac.")
351 (license (list license:expat license:asl2.0))))
353 (define-public rust-cgl-0.2
355 (inherit rust-cgl-0.3)
361 (uri (crate-uri "cgl" version))
363 (string-append name "-" version ".tar.gz"))
366 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
368 `(#:skip-build? #t ; only available on macOS
370 (("rust-gleam" ,rust-gleam-0.6)
371 ("rust-libc" ,rust-libc-0.2))))))
373 (define-public rust-cgmath-0.17
380 (uri (crate-uri "cgmath" version))
382 (string-append name "-" version ".tar.gz"))
385 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
386 (build-system cargo-build-system)
388 `(#:skip-build? #t ; Crate won't build without glium.
390 (("rust-approx" ,rust-approx-0.3)
391 ("rust-mint" ,rust-mint-0.5)
392 ("rust-num-traits" ,rust-num-traits-0.2)
393 ("rust-rand" ,rust-rand-0.6)
394 ("rust-serde" ,rust-serde-1)
395 ("rust-simd" ,rust-simd-0.2))
396 #:cargo-development-inputs
397 (;("rust-glium" ,rust-glium-0.23)
398 ("rust-serde-json" ,rust-serde-json-1))))
399 (home-page "https://github.com/brendanzab/cgmath")
400 (synopsis "Linear algebra and mathematics library")
402 "This package provides a linear algebra and mathematics library
403 for computer graphics.")
404 (license license:asl2.0)))
406 (define-public rust-cgmath-0.16
408 (inherit rust-cgmath-0.17)
414 (uri (crate-uri "cgmath" version))
416 (string-append name "-" version ".tar.gz"))
419 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
421 `(#:skip-build? #t ; Crate won't build without glium.
423 (("rust-approx" ,rust-approx-0.1)
424 ("rust-mint" ,rust-mint-0.5)
425 ("rust-num-traits" ,rust-num-traits-0.1)
426 ("rust-rand" ,rust-rand-0.4)
427 ("rust-serde" ,rust-serde-1)
428 ("rust-simd" ,rust-simd-0.2))
429 #:cargo-development-inputs
430 (;("rust-glium" ,rust-glium-0.19)
431 ("rust-serde-json" ,rust-serde-json-1))))))
433 (define-public rust-core-graphics-0.22
435 (name "rust-core-graphics")
440 (uri (crate-uri "core-graphics" version))
441 (file-name (string-append name "-" version ".tar.gz"))
443 (base32 "11lx6xw8nc9fpd552g60qa0cxh0maah8j2m26vkq0aslkgv3b7r6"))))
444 (build-system cargo-build-system)
448 (("rust-bitflags" ,rust-bitflags-1)
449 ("rust-core-foundation" ,rust-core-foundation-0.9)
450 ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
451 ("rust-foreign-types" ,rust-foreign-types-0.3)
452 ("rust-libc" ,rust-libc-0.2))))
453 (home-page "https://github.com/servo/core-graphics-rs")
454 (synopsis "Bindings to Core Graphics for macOS")
456 "This package provides bindings to Core Graphics for macOS.")
457 (license (list license:expat license:asl2.0))))
459 (define-public rust-core-graphics-0.21
461 (inherit rust-core-graphics-0.22)
462 (name "rust-core-graphics")
467 (uri (crate-uri "core-graphics" version))
468 (file-name (string-append name "-" version ".tar.gz"))
470 (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
474 (("rust-bitflags" ,rust-bitflags-1)
475 ("rust-core-foundation" ,rust-core-foundation-0.9)
476 ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
477 ("rust-foreign-types" ,rust-foreign-types-0.3)
478 ("rust-libc" ,rust-libc-0.2))))))
480 (define-public rust-core-graphics-0.19
482 (inherit rust-core-graphics-0.21)
483 (name "rust-core-graphics")
488 (uri (crate-uri "core-graphics" version))
489 (file-name (string-append name "-" version ".tar.gz"))
491 (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k"))))
495 (("rust-bitflags" ,rust-bitflags-1)
496 ("rust-core-foundation" ,rust-core-foundation-0.7)
497 ("rust-foreign-types" ,rust-foreign-types-0.3)
498 ("rust-libc" ,rust-libc-0.2))))))
500 (define-public rust-core-graphics-0.17
502 (inherit rust-core-graphics-0.21)
503 (name "rust-core-graphics")
508 (uri (crate-uri "core-graphics" version))
510 (string-append name "-" version ".tar.gz"))
513 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
515 `(#:skip-build? #t ; only for macOS
517 (("rust-bitflags" ,rust-bitflags-1)
518 ("rust-core-foundation" ,rust-core-foundation-0.6)
519 ("rust-foreign-types" ,rust-foreign-types-0.3)
520 ("rust-libc" ,rust-libc-0.2))))))
522 (define-public rust-core-graphics-types-0.1
524 (name "rust-core-graphics-types")
529 (uri (crate-uri "core-graphics-types" version))
530 (file-name (string-append name "-" version ".tar.gz"))
532 (base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s"))))
533 (build-system cargo-build-system)
537 (("rust-bitflags" ,rust-bitflags-1)
538 ("rust-core-foundation" ,rust-core-foundation-0.9)
539 ("rust-foreign-types" ,rust-foreign-types-0.3)
540 ("rust-libc" ,rust-libc-0.2))))
541 (home-page "https://github.com/servo/core-foundation-rs")
542 (synopsis "Bindings for some fundamental Core Graphics types")
544 "This package provides bindings for some fundamental Core Graphics
546 (license (list license:expat license:asl2.0))))
548 (define-public rust-core-video-sys-0.1
550 (name "rust-core-video-sys")
555 (uri (crate-uri "core-video-sys" version))
556 (file-name (string-append name "-" version ".tar.gz"))
558 (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l"))))
559 (build-system cargo-build-system)
563 (("rust-cfg-if" ,rust-cfg-if-0.1)
564 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
565 ("rust-core-graphics" ,rust-core-graphics-0.19)
566 ("rust-libc" ,rust-libc-0.2)
567 ("rust-metal" ,rust-metal-0.18)
568 ("rust-objc" ,rust-objc-0.2))))
569 (home-page "https://github.com/luozijun/rust-core-video-sys")
570 (synopsis "Bindings to CoreVideo.framework for macOS and iOS")
572 "This package provides bindings to CoreVideo.framework for macOS
574 (license license:expat)))
576 (define-public rust-dav1d-sys-0.3
578 (name "rust-dav1d-sys")
583 (uri (crate-uri "dav1d-sys" version))
585 (string-append name "-" version ".tar.gz"))
588 "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
589 (build-system cargo-build-system)
592 (("rust-bindgen" ,rust-bindgen-0.54)
593 ("rust-metadeps" ,rust-metadeps-1))))
595 `(("pkg-config" ,pkg-config)))
600 (home-page "https://github.com/rust-av/dav1d-rs")
601 (synopsis "FFI bindings to dav1d")
602 (description "This package provides FFI bindings to dav1d.")
603 (license license:expat)))
605 (define-public rust-euclid-0.20
612 (uri (crate-uri "euclid" version))
614 (string-append name "-" version ".tar.gz"))
617 "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
618 (build-system cargo-build-system)
621 (("rust-mint" ,rust-mint-0.5)
622 ("rust-num-traits" ,rust-num-traits-0.2)
623 ("rust-serde" ,rust-serde-1))
624 #:cargo-development-inputs
625 (("rust-serde-test" ,rust-serde-test-1))))
626 (home-page "https://github.com/servo/euclid")
627 (synopsis "Geometry primitives")
628 (description "Geometry primitives written in Rust.")
629 (license (list license:expat license:asl2.0))))
631 (define-public rust-eui48-0.3
638 (uri (crate-uri "eui48" version))
639 (file-name (string-append name "-" version ".tar.gz"))
641 (base32 "0mmdhczfdxwv5v5h90ydqkx0mdqiv0h2clshm2cm4qlwp0gacw29"))))
642 (build-system cargo-build-system)
646 (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
647 ("rust-serde" ,rust-serde-1))))
648 (home-page "https://github.com/abaumhauer/eui48")
649 (synopsis "Library to generate and parse IEEE EUI-48 and EUI-64")
651 "This package provides a library to generate and parse IEEE EUI-48 and
652 EUI-64, also known as MAC-48 media access control addresses.")
653 (license (list license:expat license:asl2.0))))
655 (define-public rust-gfx-0.18
662 (uri (crate-uri "gfx" version))
664 (string-append name "-" version ".tar.gz"))
667 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
668 (build-system cargo-build-system)
672 (("rust-log" ,rust-log-0.4)
673 ("rust-mint" ,rust-mint-0.5)
674 ("rust-draw-state" ,rust-draw-state-0.8)
675 ("rust-gfx-core" ,rust-gfx-core-0.9))))
676 (home-page "https://github.com/gfx-rs/gfx")
677 (synopsis "High-performance, bindless graphics API")
679 "This package provides a high-performance, bindless graphics API.")
680 (license license:asl2.0)))
682 (define-public rust-gfx-core-0.9
684 (name "rust-gfx-core")
689 (uri (crate-uri "gfx_core" version))
691 (string-append name "-" version ".tar.gz"))
694 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
695 (build-system cargo-build-system)
699 (("rust-log" ,rust-log-0.4)
700 ("rust-mint" ,rust-mint-0.5)
701 ("rust-draw-state" ,rust-draw-state-0.8)
702 ("rust-serde" ,rust-serde-1)
703 ("rust-bitflags" ,rust-bitflags-1))))
704 (home-page "https://github.com/gfx-rs/gfx")
705 (synopsis "Core library of Gfx-rs")
706 (description "This package is a core library of Gfx-rs.")
707 (license license:asl2.0)))
709 (define-public rust-gfx-device-gl-0.16
711 (name "rust-gfx-device-gl")
716 (uri (crate-uri "gfx_device_gl" version))
718 (string-append name "-" version ".tar.gz"))
721 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
722 (build-system cargo-build-system)
726 (("rust-log" ,rust-log-0.4)
727 ("rust-gfx-gl" ,rust-gfx-gl-0.6)
728 ("rust-gfx-core" ,rust-gfx-core-0.9))))
729 (home-page "https://github.com/gfx-rs/gfx")
730 (synopsis "OpenGL backend for gfx-rs")
731 (description "This package provides the openGL backend for gfx-rs.")
732 (license license:asl2.0)))
734 (define-public rust-gfx-gl-0.6
741 (uri (crate-uri "gfx_gl" version))
743 (string-append name "-" version ".tar.gz"))
746 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
747 (build-system cargo-build-system)
751 (("rust-gl-generator" ,rust-gl-generator-0.14))))
752 (home-page "https://github.com/gfx-rs/gfx_gl")
753 (synopsis "OpenGL bindings for gfx, based on gl-rs")
755 "This package provides OpenGL bindings for gfx, based on gl-rs.")
756 (license license:asl2.0)))
758 (define-public rust-gif-0.11
765 (uri (crate-uri "gif" version))
766 (file-name (string-append name "-" version ".tar.gz"))
768 (base32 "1i4n9fwg3zrp07pi5zsgyza2gl8lqnap6fj6875lfy121xbbmvq2"))))
769 (build-system cargo-build-system)
773 (("rust-color-quant" ,rust-color-quant-1)
774 ("rust-weezl" ,rust-weezl-0.1))))
775 (home-page "https://github.com/image-rs/image-gif")
776 (synopsis "GIF decoder and encoder")
777 (description "This package provides a GIF decoder and encoder in Rust.")
778 (license (list license:expat license:asl2.0))))
780 (define-public rust-gif-0.10
782 (inherit rust-gif-0.11)
788 (uri (crate-uri "gif" version))
790 (string-append name "-" version ".tar.gz"))
793 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
795 `(#:tests? #f ; tests not included in release
797 (("rust-color-quant" ,rust-color-quant-1)
798 ("rust-libc" ,rust-libc-0.2)
799 ("rust-lzw" ,rust-lzw-0.10))
800 #:cargo-development-inputs
801 (("rust-glob" ,rust-glob-0.3))))))
803 (define-public rust-gl-0.11
810 (uri (crate-uri "gl" version))
812 (string-append name "-" version ".tar.gz"))
815 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
816 (build-system cargo-build-system)
820 (("rust-gl-generator" ,rust-gl-generator-0.10))))
821 (home-page "https://github.com/brendanzab/gl-rs/")
822 (synopsis "OpenGL bindings for rust")
823 (description "This package provides OpenGL bindings for rust.")
824 (license license:asl2.0)))
826 (define-public rust-gl-generator-0.14
828 (name "rust-gl-generator")
833 (uri (crate-uri "gl-generator" version))
835 (string-append name "-" version ".tar.gz"))
838 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
839 (build-system cargo-build-system)
842 (("rust-khronos-api" ,rust-khronos-api-3)
843 ("rust-log" ,rust-log-0.4)
844 ("rust-xml-rs" ,rust-xml-rs-0.8))))
845 (home-page "https://github.com/brendanzab/gl-rs/")
846 (synopsis "Code generators for bindings to the Khronos OpenGL APIs")
848 "Code generators for creating bindings to the Khronos OpenGL APIs.")
849 (license license:asl2.0)))
851 (define-public rust-gl-generator-0.13
853 (inherit rust-gl-generator-0.14)
854 (name "rust-gl-generator")
859 (uri (crate-uri "gl-generator" version))
861 (string-append name "-" version ".tar.gz"))
864 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
866 (define-public rust-gl-generator-0.11
868 (inherit rust-gl-generator-0.13)
869 (name "rust-gl-generator")
874 (uri (crate-uri "gl-generator" version))
876 (string-append name "-" version ".tar.gz"))
879 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
881 (define-public rust-gl-generator-0.10
883 (name "rust-gl-generator")
888 (uri (crate-uri "gl_generator" version))
890 (string-append name "-" version ".tar.gz"))
893 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
894 (build-system cargo-build-system)
898 (("rust-log" ,rust-log-0.4)
899 ("rust-xml-rs" ,rust-xml-rs-0.8)
900 ("rust-khronos-api" ,rust-khronos-api-3))))
901 (home-page "https://github.com/brendanzab/gl-rs/")
903 "Code generators for creating bindings to the Khronos OpenGL APIs")
905 "Code generators for creating bindings to the Khronos OpenGL APIs.")
906 (license license:asl2.0)))
908 (define-public rust-gleam-0.6
915 (uri (crate-uri "gleam" version))
917 (string-append name "-" version ".tar.gz"))
920 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
921 (build-system cargo-build-system)
924 (("rust-gl-generator" ,rust-gl-generator-0.13))))
925 (home-page "https://github.com/servo/gleam")
926 (synopsis "Generated OpenGL bindings and wrapper for Servo")
928 "Generated OpenGL bindings and wrapper for Servo.")
929 (license (list license:asl2.0 license:expat))))
931 (define-public rust-glutin-0.26
938 (uri (crate-uri "glutin" version))
939 (file-name (string-append name "-" version ".tar.gz"))
941 (base32 "18szbh4dixcr7pmymvbrpv21hv0wrpii5w03rv2534bb2ywwpq8s"))))
942 (build-system cargo-build-system)
945 (("rust-android-glue" ,rust-android-glue-0.2)
946 ("rust-cgl" ,rust-cgl-0.3)
947 ("rust-cocoa" ,rust-cocoa-0.23)
948 ("rust-core-foundation" ,rust-core-foundation-0.9)
949 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
950 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
951 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
952 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
953 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
954 ("rust-lazy-static" ,rust-lazy-static-1)
955 ("rust-libloading" ,rust-libloading-0.6)
956 ("rust-log" ,rust-log-0.4)
957 ("rust-objc" ,rust-objc-0.2)
958 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
959 ("rust-parking-lot" ,rust-parking-lot-0.11)
960 ("rust-wayland-egl" ,rust-wayland-egl-0.28)
961 ("rust-winapi" ,rust-winapi-0.3)
962 ("rust-winit" ,rust-winit-0.24))))
964 `(("rust-wayland-client" ,rust-wayland-client-0.28)
965 ("rust-wayland-egl" ,rust-wayland-egl-0.28)))
966 (home-page "https://github.com/tomaka/glutin")
967 (synopsis "Cross-platform OpenGL context provider")
968 (description "This package provides an OpenGL context provider.")
969 (license license:asl2.0)))
971 (define-public rust-glutin-0.22
973 (inherit rust-glutin-0.26)
975 (version "0.22.0-alpha5")
979 (uri (crate-uri "glutin" version))
981 (string-append name "-" version ".tar.gz"))
984 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
987 (("rust-android-glue" ,rust-android-glue-0.2)
988 ("rust-cgl" ,rust-cgl-0.3)
989 ("rust-cocoa" ,rust-cocoa-0.19)
990 ("rust-core-foundation" ,rust-core-foundation-0.6)
991 ("rust-core-graphics" ,rust-core-graphics-0.17)
992 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
993 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
994 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
995 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
996 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
997 ("rust-lazy-static" ,rust-lazy-static-1)
998 ("rust-libloading" ,rust-libloading-0.5)
999 ("rust-log" ,rust-log-0.4)
1000 ("rust-objc" ,rust-objc-0.2)
1001 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
1002 ("rust-parking-lot" ,rust-parking-lot-0.9)
1003 ("rust-wayland-client" ,rust-wayland-client-0.23)
1004 ("rust-winapi" ,rust-winapi-0.3)
1005 ("rust-winit" ,rust-winit-0.20))))))
1007 (define-public rust-glutin-0.21
1009 (inherit rust-glutin-0.22)
1010 (name "rust-glutin")
1015 (uri (crate-uri "glutin" version))
1017 (string-append name "-" version ".tar.gz"))
1020 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
1023 (("rust-android-glue" ,rust-android-glue-0.2)
1024 ("rust-cgl" ,rust-cgl-0.2)
1025 ("rust-cocoa" ,rust-cocoa-0.18)
1026 ("rust-core-foundation" ,rust-core-foundation-0.6)
1027 ("rust-core-graphics" ,rust-core-graphics-0.17)
1028 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
1029 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
1030 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
1031 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
1032 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
1033 ("rust-lazy-static" ,rust-lazy-static-1)
1034 ("rust-libloading" ,rust-libloading-0.5)
1035 ("rust-objc" ,rust-objc-0.2)
1036 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
1037 ("rust-parking-lot" ,rust-parking-lot-0.9)
1038 ("rust-wayland-client" ,rust-wayland-client-0.21)
1039 ("rust-winapi" ,rust-winapi-0.3)
1040 ("rust-winit" ,rust-winit-0.19))))))
1042 (define-public rust-glutin-egl-sys-0.1
1044 (name "rust-glutin-egl-sys")
1049 (uri (crate-uri "glutin-egl-sys" version))
1051 (string-append name "-" version ".tar.gz"))
1054 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
1055 (build-system cargo-build-system)
1058 (("rust-winapi" ,rust-winapi-0.3)
1059 ("rust-gl-generator" ,rust-gl-generator-0.13))))
1060 (home-page "https://github.com/rust-windowing/glutin")
1061 (synopsis "Egl bindings for glutin")
1062 (description "The egl bindings for glutin.")
1063 (license license:asl2.0)))
1065 (define-public rust-glutin-emscripten-sys-0.1
1067 (name "rust-glutin-emscripten-sys")
1072 (uri (crate-uri "glutin_emscripten_sys" version))
1073 (file-name (string-append name "-" version ".tar.gz"))
1075 (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0"))))
1076 (build-system cargo-build-system)
1077 (arguments `(#:skip-build? #t))
1078 (home-page "https://github.com/tomaka/glutin")
1079 (synopsis "Emscripten bindings for glutin")
1080 (description "This package provides Emscripten bindings for glutin.")
1081 (license license:asl2.0)))
1083 (define-public rust-glutin-gles2-sys-0.1
1085 (name "rust-glutin-gles2-sys")
1090 (uri (crate-uri "glutin_gles2_sys" version))
1091 (file-name (string-append name "-" version ".tar.gz"))
1093 (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8"))))
1094 (build-system cargo-build-system)
1098 (("rust-gl-generator" ,rust-gl-generator-0.14)
1099 ("rust-objc" ,rust-objc-0.2))))
1100 (home-page "https://github.com/tomaka/glutin")
1101 (synopsis "Gles2 bindings for glutin")
1102 (description "This package provides gles2 bindings for glutin.")
1103 (license license:asl2.0)))
1105 (define-public rust-glutin-glx-sys-0.1
1107 (name "rust-glutin-glx-sys")
1112 (uri (crate-uri "glutin_glx_sys" version))
1113 (file-name (string-append name "-" version ".tar.gz"))
1115 (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
1116 (build-system cargo-build-system)
1120 (("rust-gl-generator" ,rust-gl-generator-0.14)
1121 ("rust-x11-dl" ,rust-x11-dl-2))))
1122 (home-page "https://github.com/tomaka/glutin")
1123 (synopsis "Glx bindings for glutin")
1124 (description "This package provides glx bindings for glutin.")
1125 (license license:asl2.0)))
1127 (define-public rust-glutin-wgl-sys-0.1
1129 (name "rust-glutin-wgl-sys")
1134 (uri (crate-uri "glutin_wgl_sys" version))
1135 (file-name (string-append name "-" version ".tar.gz"))
1137 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
1138 (build-system cargo-build-system)
1142 (("rust-gl-generator" ,rust-gl-generator-0.14))))
1143 (home-page "https://github.com/tomaka/glutin")
1144 (synopsis "Wgl bindings for glutin")
1145 (description "This package provides wgl bindings for glutin.")
1146 (license license:asl2.0)))
1148 (define-public rust-ical-0.7
1155 (uri (crate-uri "ical" version))
1156 (file-name (string-append name "-" version ".tar.gz"))
1158 (base32 "1kvk1pgas67rnp0n4424lxxs8y3n1h0fw3ap8jbfcxqdmlap57sa"))))
1159 (build-system cargo-build-system)
1163 (("rust-thiserror" ,rust-thiserror-1))))
1164 (home-page "https://github.com/Peltoche/ical-rs")
1165 (synopsis "Ical/Vcard parser for Rust")
1167 "This library parse the ICalendar format defined in RFC5545, as well as
1168 similar formats like VCard.")
1169 (license license:asl2.0)))
1171 (define-public rust-ichwh-0.3
1178 (uri (crate-uri "ichwh" version))
1179 (file-name (string-append name "-" version ".tar.gz"))
1181 (base32 "0m6628yw3l812hjknmh5b5gcvhn6as9gzjz60h54zjxyy4w5ss7a"))))
1182 (build-system cargo-build-system)
1186 (("rust-async-std" ,rust-async-std-1)
1187 ("rust-cfg-if" ,rust-cfg-if-0.1)
1188 ("rust-futures" ,rust-futures-0.3)
1189 ("rust-thiserror" ,rust-thiserror-1))))
1190 (home-page "https://gitlab.com/avandesa/ichwh-rs")
1191 (synopsis "Asynchronous implementation of @command{which}")
1193 "@code{ichwh} aims to be a fully-asynchronous clone of GNU which. The
1194 main job of @command{which} is to search for executables on the current
1196 (license license:expat)))
1198 (define-public rust-image-0.23
1205 (uri (crate-uri "image" version))
1206 (file-name (string-append name "-" version ".tar.gz"))
1208 (base32 "1dg9z5sbc389spp7pm23n2b1k0gdd8hjdb8hhsp3k3npx9vl1q3w"))))
1209 (build-system cargo-build-system)
1213 (("rust-bytemuck" ,rust-bytemuck-1)
1214 ("rust-byteorder" ,rust-byteorder-1)
1215 ("rust-color-quant" ,rust-color-quant-1)
1216 ("rust-gif" ,rust-gif-0.11)
1217 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1218 ("rust-num-iter" ,rust-num-iter-0.1)
1219 ("rust-num-rational" ,rust-num-rational-0.3)
1220 ("rust-num-traits" ,rust-num-traits-0.2)
1221 ("rust-png" ,rust-png-0.16)
1222 ("rust-ravif" ,rust-ravif-0.6)
1223 ("rust-rgb" ,rust-rgb-0.8)
1224 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1225 ("rust-tiff" ,rust-tiff-0.6))))
1226 (home-page "https://github.com/image-rs/image")
1227 (synopsis "Imaging library written in Rust")
1229 "This package is an imaging library written in Rust. It provides basic
1230 filters and decoders for the most common image formats.")
1231 (license license:expat)))
1233 (define-public rust-image-0.22
1235 (inherit rust-image-0.23)
1241 (uri (crate-uri "image" version))
1243 (string-append name "-" version ".tar.gz"))
1246 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
1248 `(#:tests? #f ; Some test images are missing from the release.
1250 (("rust-byteorder" ,rust-byteorder-1)
1251 ("rust-gif" ,rust-gif-0.10)
1252 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1253 ("rust-num-iter" ,rust-num-iter-0.1)
1254 ("rust-num-rational" ,rust-num-rational-0.2)
1255 ("rust-num-traits" ,rust-num-traits-0.2)
1256 ("rust-png" ,rust-png-0.15)
1257 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1258 ("rust-tiff" ,rust-tiff-0.3))
1259 #:cargo-development-inputs
1260 (("rust-crc32fast" ,rust-crc32fast-1)
1261 ("rust-glob" ,rust-glob-0.3)
1262 ("rust-num-complex" ,rust-num-complex-0.2)
1263 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
1265 (define-public rust-image-0.21
1267 (inherit rust-image-0.22)
1273 (uri (crate-uri "image" version))
1275 (string-append name "-" version ".tar.gz"))
1278 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
1281 (("rust-byteorder" ,rust-byteorder-1)
1282 ("rust-gif" ,rust-gif-0.10)
1283 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1284 ("rust-lzw" ,rust-lzw-0.10)
1285 ("rust-num-iter" ,rust-num-iter-0.1)
1286 ("rust-num-rational" ,rust-num-rational-0.2)
1287 ("rust-num-traits" ,rust-num-traits-0.2)
1288 ("rust-png" ,rust-png-0.14)
1289 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1290 ("rust-tiff" ,rust-tiff-0.2))
1291 #:cargo-development-inputs
1292 (("rust-glob" ,rust-glob-0.3)
1293 ("rust-num-complex" ,rust-num-complex-0.2)
1294 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1296 (define-public rust-image-0.20
1298 (inherit rust-image-0.21)
1304 (uri (crate-uri "image" version))
1306 (string-append name "-" version ".tar.gz"))
1309 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1312 (("rust-byteorder" ,rust-byteorder-1)
1313 ("rust-gif" ,rust-gif-0.10)
1314 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1315 ("rust-lzw" ,rust-lzw-0.10)
1316 ("rust-num-iter" ,rust-num-iter-0.1)
1317 ("rust-num-rational" ,rust-num-rational-0.2)
1318 ("rust-num-traits" ,rust-num-traits-0.2)
1319 ("rust-png" ,rust-png-0.12)
1320 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1321 ("rust-tiff" ,rust-tiff-0.2))
1322 #:cargo-development-inputs
1323 (("rust-glob" ,rust-glob-0.2)
1324 ("rust-num-complex" ,rust-num-complex-0.2)
1325 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1327 (define-public rust-imgref-1
1329 (name "rust-imgref")
1334 (uri (crate-uri "imgref" version))
1335 (file-name (string-append name "-" version ".tar.gz"))
1337 (base32 "19dd5xss3nd40avv8az2kzicpxx71c2akiqznr616hki30w9vj07"))))
1338 (build-system cargo-build-system)
1339 (arguments `(#:skip-build? #t))
1340 (home-page "https://github.com/kornelski/imgref")
1341 (synopsis "2D slice of a @code{Vec}")
1343 "This package provides a trivial struct for interchange of 2d-dimensional
1344 pixel buffers with width, height and stride.")
1345 (license license:cc0)))
1347 (define-public rust-jpeg-decoder-0.1
1349 (name "rust-jpeg-decoder")
1354 (uri (crate-uri "jpeg-decoder" version))
1356 (string-append name "-" version ".tar.gz"))
1359 "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
1360 (build-system cargo-build-system)
1362 `(#:tests? #f ; Some test files missing.
1364 (("rust-byteorder" ,rust-byteorder-1)
1365 ("rust-rayon" ,rust-rayon-1))
1366 #:cargo-development-inputs
1367 (("rust-criterion" ,rust-criterion-0.3)
1368 ("rust-png" ,rust-png-0.14)
1369 ("rust-walkdir" ,rust-walkdir-2))))
1370 (home-page "https://github.com/image-rs/jpeg-decoder")
1371 (synopsis "JPEG decoder")
1372 (description "JPEG decoder written in Rust.")
1373 (license (list license:expat license:asl2.0))))
1375 (define-public rust-line-drawing-0.7
1377 (name "rust-line-drawing")
1382 (uri (crate-uri "line_drawing" version))
1384 (string-append name "-" version ".tar.gz"))
1387 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1388 (build-system cargo-build-system)
1390 ;; This version does not specify any versions on dependants.
1391 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1393 (("rust-num-traits" ,rust-num-traits-0.2))
1394 #:cargo-development-inputs
1395 (("rust-bresenham" ,rust-bresenham-0.1)
1396 ("rust-image" ,rust-image-0.22) ; 0.17?
1397 ("rust-rand" ,rust-rand-0.6))))
1398 (home-page "https://github.com/expenses/line_drawing")
1399 (synopsis "Collection of line-drawing algorithms")
1401 "This package provides a collection of line-drawing algorithms for use in
1402 graphics and video games.")
1403 (license license:expat)))
1405 (define-public rust-lyon-geom-0.14
1407 (name "rust-lyon-geom")
1412 (uri (crate-uri "lyon_geom" version))
1414 (string-append name "-" version ".tar.gz"))
1417 "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
1418 (build-system cargo-build-system)
1422 (("rust-num-traits" ,rust-num-traits-0.2)
1423 ("rust-euclid" ,rust-euclid-0.20)
1424 ("rust-arrayvec" ,rust-arrayvec-0.4)
1425 ("rust-serde" ,rust-serde-1))))
1426 (home-page "https://github.com/nical/lyon")
1427 (synopsis "2D graphics rendering on the GPU using tessellation")
1429 "This package provides 2D graphics rendering on the GPU using tessellation.")
1430 (license (list license:expat license:asl2.0))))
1432 (define-public rust-lyon-path-0.14
1434 (name "rust-lyon-path")
1439 (uri (crate-uri "lyon_path" version))
1441 (string-append name "-" version ".tar.gz"))
1444 "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
1445 (build-system cargo-build-system)
1449 (("rust-lyon-geom" ,rust-lyon-geom-0.14)
1450 ("rust-serde" ,rust-serde-1))))
1451 (home-page "https://github.com/nical/lyon")
1452 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1454 "Types and utilities to store, build and iterate over 2D paths.")
1455 (license (list license:expat license:asl2.0))))
1457 (define-public rust-osmesa-sys-0.1
1459 (name "rust-osmesa-sys")
1464 (uri (crate-uri "osmesa-sys" version))
1466 (string-append name "-" version ".tar.gz"))
1469 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1470 (build-system cargo-build-system)
1473 (("rust-shared-library" ,rust-shared-library-0.1))))
1474 (home-page "https://crates.io/crates/osmesa-sys")
1475 (synopsis "OSMesa library bindings for Rust")
1476 (description "This package provides OSMesa library bindings for Rust.")
1477 (license license:cc0)))
1479 (define-public rust-piston-0.49
1481 (name "rust-piston")
1486 (uri (crate-uri "piston" version))
1488 (string-append name "-" version ".tar.gz"))
1491 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1492 (build-system cargo-build-system)
1496 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1497 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1498 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1499 (home-page "https://github.com/PistonDevelopers/piston")
1500 (synopsis "Piston game engine core libraries")
1502 "The Piston game engine core libraries.")
1503 (license license:expat)))
1505 (define-public rust-piston-float-1
1507 (name "rust-piston-float")
1512 (uri (crate-uri "piston-float" version))
1514 (string-append name "-" version ".tar.gz"))
1517 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1518 (build-system cargo-build-system)
1519 (arguments `(#:skip-build? #t))
1521 "https://github.com/pistondevelopers/float")
1523 "Traits for generic floats in game development")
1525 "Traits for generic floats in game development")
1526 (license license:expat)))
1528 (define-public rust-piston-gfx-texture-0.40
1530 (name "rust-piston-gfx-texture")
1535 (uri (crate-uri "piston-gfx_texture" version))
1537 (string-append name "-" version ".tar.gz"))
1540 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1541 (build-system cargo-build-system)
1545 (("rust-gfx" ,rust-gfx-0.18)
1546 ("rust-image" ,rust-image-0.22)
1547 ("rust-piston-texture" ,rust-piston-texture-0.8)
1548 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1549 (home-page "https://github.com/pistondevelopers/gfx_texture")
1551 "Gfx texture representation that works nicely with Piston libraries")
1552 (description "This package provides a Gfx texture representation that works
1553 nicely with Piston libraries.")
1554 (license license:expat)))
1556 (define-public rust-piston-graphics-api-version-0.2
1558 (name "rust-piston-graphics-api-version")
1563 (uri (crate-uri "piston-graphics_api_version" version))
1565 (string-append name "-" version ".tar.gz"))
1568 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1569 (build-system cargo-build-system)
1570 (arguments `(#:skip-build? #t))
1572 "https://github.com/PistonDevelopers/graphics_api_version")
1574 "A library for storing graphics API versions")
1576 "This package provides a library for storing graphics API versions")
1577 (license license:expat)))
1579 (define-public rust-piston-shaders-graphics2d-0.3
1581 (name "rust-piston-shaders-graphics2d")
1586 (uri (crate-uri "piston-shaders_graphics2d" version))
1588 (string-append name "-" version ".tar.gz"))
1591 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1592 (build-system cargo-build-system)
1593 (arguments `(#:skip-build? #t))
1595 "https://github.com/PistonDevelopers/shaders")
1596 (synopsis "Shaders for 2D graphics in Rust")
1597 (description "Shaders for 2D graphics in Rust")
1598 (license license:expat)))
1600 (define-public rust-piston-texture-0.8
1602 (name "rust-piston-texture")
1607 (uri (crate-uri "piston-texture" version))
1609 (string-append name "-" version ".tar.gz"))
1612 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1613 (build-system cargo-build-system)
1614 (arguments `(#:skip-build? #t))
1616 "https://github.com/pistondevelopers/texture")
1617 (synopsis "A generic library for textures")
1619 "This package provides a generic library for textures")
1620 (license license:expat)))
1622 (define-public rust-piston-viewport-1
1624 (name "rust-piston-viewport")
1629 (uri (crate-uri "piston-viewport" version))
1631 (string-append name "-" version ".tar.gz"))
1634 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1635 (build-system cargo-build-system)
1639 (("rust-piston-float" ,rust-piston-float-1))))
1640 (home-page "https://github.com/PistonDevelopers/viewport")
1641 (synopsis "Library for storing viewport information")
1643 "This package provides a library for storing viewport information.")
1644 (license license:expat)))
1646 (define-public rust-piston-window-0.105
1648 (name "rust-piston-window")
1653 (uri (crate-uri "piston_window" version))
1655 (string-append name "-" version ".tar.gz"))
1658 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1659 (build-system cargo-build-system)
1663 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1664 ("rust-gfx" ,rust-gfx-0.18)
1665 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1666 ("rust-piston" ,rust-piston-0.49)
1667 ("rust-shader-version" ,rust-shader-version-0.6)
1668 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1669 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1670 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1671 (home-page "https://github.com/pistondevelopers/piston_window")
1672 (synopsis "Official Piston window wrapper for the Piston game engine")
1674 "The official Piston window wrapper for the Piston game engine.")
1675 (license license:expat)))
1677 (define-public rust-piston2d-gfx-graphics-0.66
1679 (name "rust-piston2d-gfx-graphics")
1684 (uri (crate-uri "piston2d-gfx_graphics" version))
1686 (string-append name "-" version ".tar.gz"))
1689 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1690 (build-system cargo-build-system)
1694 (("rust-gfx" ,rust-gfx-0.18)
1695 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1696 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1697 ("rust-shader-version" ,rust-shader-version-0.6)
1698 ("rust-draw-state" ,rust-draw-state-0.8))))
1699 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1700 (synopsis "Gfx 2D back-end for the Piston game engine")
1702 "This package provides a Gfx 2D back-end for the Piston game engine.")
1703 (license license:expat)))
1705 (define-public rust-piston2d-graphics-0.35
1707 (name "rust-piston2d-graphics")
1712 (uri (crate-uri "piston2d-graphics" version))
1714 (string-append name "-" version ".tar.gz"))
1717 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1718 (build-system cargo-build-system)
1722 (("rust-interpolation" ,rust-interpolation-0.2)
1723 ("rust-rusttype" ,rust-rusttype-0.7)
1724 ("rust-piston-texture" ,rust-piston-texture-0.8)
1725 ("rust-piston-viewport" ,rust-piston-viewport-1)
1726 ("rust-read-color" ,rust-read-color-1)
1727 ("rust-vecmath" ,rust-vecmath-1)
1728 ("rust-fnv" ,rust-fnv-1))))
1729 (home-page "https://github.com/pistondevelopers/graphics")
1730 (synopsis "Library for 2D graphics that works with multiple back-ends")
1731 (description "This package provides a library for 2D graphics that works
1732 with multiple back-ends.")
1733 (license license:expat)))
1735 (define-public rust-pistoncore-event-loop-0.49
1737 (name "rust-pistoncore-event-loop")
1742 (uri (crate-uri "pistoncore-event_loop" version))
1744 (string-append name "-" version ".tar.gz"))
1747 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1748 (build-system cargo-build-system)
1752 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1753 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1754 (home-page "https://github.com/PistonDevelopers/piston")
1755 (synopsis "Piston event loop for games and interactive applications")
1756 (description "This package provides a Piston event loop for games and
1757 interactive applications.")
1758 (license license:expat)))
1760 (define-public rust-pistoncore-glutin-window-0.63
1762 (name "rust-pistoncore-glutin-window")
1767 (uri (crate-uri "pistoncore-glutin_window" version))
1769 (string-append name "-" version ".tar.gz"))
1772 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1773 (build-system cargo-build-system)
1777 (("rust-gl" ,rust-gl-0.11)
1778 ("rust-glutin" ,rust-glutin-0.21)
1779 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1780 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1781 ("rust-shader-version" ,rust-shader-version-0.6))))
1782 (home-page "https://github.com/pistondevelopers/glutin_window")
1783 (synopsis "Piston window back-end using the Glutin library")
1785 "This package provides a Piston window back-end using the Glutin library.")
1786 (license license:expat)))
1788 (define-public rust-pistoncore-input-0.28
1790 (name "rust-pistoncore-input")
1795 (uri (crate-uri "pistoncore-input" version))
1797 (string-append name "-" version ".tar.gz"))
1800 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1801 (build-system cargo-build-system)
1805 (("rust-piston-viewport" ,rust-piston-viewport-1)
1806 ("rust-serde" ,rust-serde-1)
1807 ("rust-serde-derive" ,rust-serde-derive-1)
1808 ("rust-bitflags" ,rust-bitflags-1))))
1809 (home-page "https://github.com/PistonDevelopers/piston")
1810 (synopsis "Structure for user input")
1812 "This package provides a structure for user input.")
1813 (license license:expat)))
1815 (define-public rust-pistoncore-window-0.44
1817 (name "rust-pistoncore-window")
1822 (uri (crate-uri "pistoncore-window" version))
1824 (string-append name "-" version ".tar.gz"))
1827 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1828 (build-system cargo-build-system)
1832 (("rust-piston-graphics-api-version"
1833 ,rust-piston-graphics-api-version-0.2)
1834 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1835 (home-page "https://github.com/PistonDevelopers/piston")
1836 (synopsis "Library for window abstraction")
1838 "This package provides a library for window abstraction.")
1839 (license license:expat)))
1841 (define-public rust-png-0.16
1848 (uri (crate-uri "png" version))
1849 (file-name (string-append name "-" version ".tar.gz"))
1851 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
1852 (build-system cargo-build-system)
1856 (("rust-bitflags" ,rust-bitflags-1)
1857 ("rust-crc32fast" ,rust-crc32fast-1)
1858 ("rust-deflate" ,rust-deflate-0.8)
1859 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1860 (home-page "https://github.com/image-rs/image-png.git")
1861 (synopsis "PNG decoding and encoding library in pure Rust")
1863 "This package is a PNG decoding and encoding library in pure Rust.")
1864 (license (list license:expat license:asl2.0))))
1866 (define-public rust-png-0.15
1868 (inherit rust-png-0.16)
1874 (uri (crate-uri "png" version))
1876 (string-append name "-" version ".tar.gz"))
1879 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1883 (("rust-bitflags" ,rust-bitflags-1)
1884 ("rust-crc32fast" ,rust-crc32fast-1)
1885 ("rust-deflate" ,rust-deflate-0.7)
1886 ("rust-inflate" ,rust-inflate-0.4))
1887 #:cargo-development-inputs
1888 (("rust-getopts" ,rust-getopts-0.2)
1889 ;; TODO: glium has many cyclic dependencies with other packages
1890 ;;("rust-glium" ,rust-glium-0.24)
1891 ("rust-glob" ,rust-glob-0.3)
1892 ("rust-rand" ,rust-rand-0.7)
1893 ("rust-term" ,rust-term-0.6))))))
1895 (define-public rust-png-0.14
1897 (inherit rust-png-0.15)
1903 (uri (crate-uri "png" version))
1905 (string-append name "-" version ".tar.gz"))
1908 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
1912 (("rust-bitflags" ,rust-bitflags-1)
1913 ("rust-deflate" ,rust-deflate-0.7)
1914 ("rust-inflate" ,rust-inflate-0.4)
1915 ("rust-num-iter" ,rust-num-iter-0.1))
1916 #:cargo-development-inputs
1917 (("rust-getopts" ,rust-getopts-0.2)
1918 ;; TODO: glium has many cyclic dependencies with other packages
1919 ;; ("rust-glium" ,rust-glium-0.22)
1920 ("rust-glob" ,rust-glob-0.2)
1921 ("rust-rand" ,rust-rand-0.5)
1922 ("rust-term" ,rust-term-0.4))))))
1924 (define-public rust-png-0.12
1926 (inherit rust-png-0.14)
1932 (uri (crate-uri "png" version))
1934 (string-append name "-" version ".tar.gz"))
1937 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
1941 (("rust-bitflags" ,rust-bitflags-1)
1942 ("rust-deflate" ,rust-deflate-0.7)
1943 ("rust-inflate" ,rust-inflate-0.4)
1944 ("rust-num-iter" ,rust-num-iter-0.1))
1945 #:cargo-development-inputs
1946 (("rust-getopts" ,rust-getopts-0.2)
1947 ;; TODO: gluum has many cyclic dependencies with other packages
1948 ;; ("rust-glium" ,rust-glium-0.21)
1949 ("rust-glob" ,rust-glob-0.2)
1950 ("rust-term" ,rust-term-0.4))))))
1952 (define-public rust-ravif-0.6
1959 (uri (crate-uri "ravif" version))
1960 (file-name (string-append name "-" version ".tar.gz"))
1962 (base32 "1gyc7w1fz3qdk95cdpkj185dm6lskxfp329xm69waxc565fcz9rx"))))
1963 (build-system cargo-build-system)
1966 (("rust-avif-serialize" ,rust-avif-serialize-0.6)
1967 ("rust-imgref" ,rust-imgref-1)
1968 ("rust-loop9" ,rust-loop9-0.1)
1969 ("rust-num-cpus" ,rust-num-cpus-1)
1971 ("rust-rayon" ,rust-rayon-1)
1972 ("rust-rgb" ,rust-rgb-0.8))
1973 #:cargo-development-inputs
1974 (("rust-avif-parse" ,rust-avif-parse-0.13))))
1976 `(("nasm" ,nasm))) ;for building rav1e
1977 (home-page "https://lib.rs/ravif")
1978 (synopsis "Library for encoding images in AVIF format")
1979 (description "This package is a rav1e-based pure Rust library for encoding
1980 images in AVIF format.")
1981 (license license:bsd-3)))
1983 (define-public rust-raw-window-handle-0.3
1985 (name "rust-raw-window-handle")
1990 (uri (crate-uri "raw-window-handle" version))
1992 (string-append name "-" version ".tar.gz"))
1995 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
1996 (build-system cargo-build-system)
1998 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
1999 (home-page "https://github.com/rust-windowing/raw-window-handle")
2000 (synopsis "Interoperability library for Rust Windowing applications")
2002 "Interoperability library for Rust Windowing applications.")
2003 (license license:expat)))
2005 (define-public rust-resize-0.3
2007 (name "rust-resize")
2012 (uri (crate-uri "resize" version))
2014 (string-append name "-" version ".tar.gz"))
2017 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
2018 (build-system cargo-build-system)
2020 `(#:cargo-development-inputs
2021 (("rust-png" ,rust-png-0.15))))
2022 (home-page "https://github.com/PistonDevelopers/resize")
2023 (synopsis "Simple image resampling library in pure Rust")
2025 "This package provides a simple image resampling library in pure Rust.")
2026 (license license:expat)))
2028 (define-public rust-rgb-0.8
2035 (uri (crate-uri "rgb" version))
2036 (file-name (string-append name "-" version ".crate"))
2039 "1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8"))))
2040 (build-system cargo-build-system)
2043 (("rust-bytemuck" ,rust-bytemuck-1)
2044 ("rust-serde" ,rust-serde-1))
2045 #:cargo-development-inputs
2046 (("rust-serde-json" ,rust-serde-json-1))))
2047 (home-page "https://lib.rs/crates/rgb")
2048 (synopsis "Struct for sharing pixels between crates")
2050 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
2051 between crates + convenience methods for color manipulation. It allows no-copy
2052 high-level interoperability. It also adds common convenience methods and
2053 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
2054 first-class Rust objects.")
2055 (license license:expat)))
2057 (define-public rust-smithay-client-toolkit-0.12
2059 (name "rust-smithay-client-toolkit")
2064 (uri (crate-uri "smithay-client-toolkit" version))
2065 (file-name (string-append name "-" version ".tar.gz"))
2067 (base32 "1rjdszpf8pns99gyy8f5axf01ckc33f30dddfazyfg45xfii6vii"))))
2068 (build-system cargo-build-system)
2072 (("rust-andrew" ,rust-andrew-0.3)
2073 ("rust-bitflags" ,rust-bitflags-1)
2074 ("rust-calloop" ,rust-calloop-0.6)
2075 ("rust-dlib" ,rust-dlib-0.4)
2076 ("rust-lazy-static" ,rust-lazy-static-1)
2077 ("rust-log" ,rust-log-0.4)
2078 ("rust-memmap2" ,rust-memmap2-0.1)
2079 ("rust-nix" ,rust-nix-0.18)
2080 ("rust-wayland-client" ,rust-wayland-client-0.28)
2081 ("rust-wayland-cursor" ,rust-wayland-cursor-0.28)
2082 ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
2083 (home-page "https://github.com/smithay/client-toolkit")
2084 (synopsis "Toolkit for making client Wayland applications")
2086 "This package provides a toolkit for making client Wayland applications.")
2087 (license license:expat)))
2089 (define-public rust-smithay-client-toolkit-0.6
2091 (inherit rust-smithay-client-toolkit-0.12)
2092 (name "rust-smithay-client-toolkit")
2097 (uri (crate-uri "smithay-client-toolkit" version))
2099 (string-append name "-" version ".tar.gz"))
2102 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
2105 (("rust-andrew" ,rust-andrew-0.2)
2106 ("rust-bitflags" ,rust-bitflags-1)
2107 ("rust-dlib" ,rust-dlib-0.4)
2108 ("rust-lazy-static" ,rust-lazy-static-1)
2109 ("rust-memmap" ,rust-memmap-0.7)
2110 ("rust-nix" ,rust-nix-0.14)
2111 ("rust-wayland-client" ,rust-wayland-client-0.23)
2112 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
2113 #:cargo-development-inputs
2114 (("rust-byteorder" ,rust-byteorder-1)
2115 ("rust-image" ,rust-image-0.21)
2116 ("rust-wayland-client" ,rust-wayland-client-0.23))))))
2118 (define-public rust-smithay-client-toolkit-0.4
2120 (inherit rust-smithay-client-toolkit-0.6)
2121 (name "rust-smithay-client-toolkit")
2126 (uri (crate-uri "smithay-client-toolkit" version))
2128 (string-append name "-" version ".tar.gz"))
2131 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
2134 (("rust-andrew" ,rust-andrew-0.2)
2135 ("rust-bitflags" ,rust-bitflags-1)
2136 ("rust-dlib" ,rust-dlib-0.4)
2137 ("rust-lazy-static" ,rust-lazy-static-1)
2138 ("rust-memmap" ,rust-memmap-0.7)
2139 ("rust-nix" ,rust-nix-0.14)
2140 ("rust-wayland-client" ,rust-wayland-client-0.21)
2141 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2142 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
2143 #:cargo-development-inputs
2144 (("rust-byteorder" ,rust-byteorder-1)
2145 ("rust-image" ,rust-image-0.20)
2146 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
2148 (define-public rust-smithay-clipboard-0.6
2150 (name "rust-smithay-clipboard")
2155 (uri (crate-uri "smithay-clipboard" version))
2156 (file-name (string-append name "-" version ".tar.gz"))
2158 (base32 "14dwisd56cbr80zf719l3fh0n8pm1fjmvry9lsbhdbccf8cv525b"))))
2159 (build-system cargo-build-system)
2163 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2164 ("rust-wayland-client" ,rust-wayland-client-0.28))))
2165 (home-page "https://github.com/smithay/smithay-clipboard")
2166 (synopsis "Access to the Wayland clipboard for client applications")
2168 "This package provides access to the Wayland clipboard for client
2170 (license license:expat)))
2172 (define-public rust-smithay-clipboard-0.3
2174 (inherit rust-smithay-clipboard-0.6)
2175 (name "rust-smithay-clipboard")
2180 (uri (crate-uri "smithay-clipboard" version))
2182 (string-append name "-" version ".tar.gz"))
2185 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
2188 (("rust-nix" ,rust-nix-0.14)
2189 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
2190 #:cargo-development-inputs
2191 (("rust-andrew" ,rust-andrew-0.2))))
2193 `(("wayland" ,wayland)))))
2195 (define-public rust-tiff-0.6
2202 (uri (crate-uri "tiff" version))
2203 (file-name (string-append name "-" version ".tar.gz"))
2205 (base32 "0ds48vs919ccxa3fv1www7788pzkvpg434ilqkq7sjb5dmqg8lws"))))
2206 (build-system cargo-build-system)
2210 (("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
2211 ("rust-miniz-oxide" ,rust-miniz-oxide-0.4)
2212 ("rust-weezl" ,rust-weezl-0.1))))
2213 (home-page "https://github.com/image-rs/image-tiff")
2214 (synopsis "TIFF decoding and encoding library in pure Rust")
2216 "This package provides TIFF decoding and encoding library in pure Rust.")
2217 (license license:expat)))
2219 (define-public rust-tiff-0.5
2221 (inherit rust-tiff-0.6)
2227 (uri (crate-uri "tiff" version))
2229 (string-append name "-" version ".tar.gz"))
2232 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
2234 `(#:tests? #f ; not all test files included
2236 (("rust-byteorder" ,rust-byteorder-1)
2237 ("rust-lzw" ,rust-lzw-0.10)
2238 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
2240 (define-public rust-tiff-0.3
2242 (inherit rust-tiff-0.5)
2248 (uri (crate-uri "tiff" version))
2250 (string-append name "-" version ".tar.gz"))
2253 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
2255 `(#:tests? #f ; Tests images not included with release.
2257 (("rust-byteorder" ,rust-byteorder-1)
2258 ("rust-lzw" ,rust-lzw-0.10)
2259 ("rust-num-derive" ,rust-num-derive-0.2)
2260 ("rust-num-traits" ,rust-num-traits-0.2))
2261 #:cargo-development-inputs
2262 (("rust-tempfile" ,rust-tempfile-3))))))
2264 (define-public rust-tiff-0.2
2266 (inherit rust-tiff-0.3)
2272 (uri (crate-uri "tiff" version))
2274 (string-append name "-" version ".tar.gz"))
2277 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
2280 (("rust-byteorder" ,rust-byteorder-1)
2281 ("rust-lzw" ,rust-lzw-0.10)
2282 ("rust-num-derive" ,rust-num-derive-0.2)
2283 ("rust-num-traits" ,rust-num-traits-0.2))))))
2285 (define-public rust-wayland-client-0.28
2287 (name "rust-wayland-client")
2292 (uri (crate-uri "wayland-client" version))
2293 (file-name (string-append name "-" version ".tar.gz"))
2295 (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx"))))
2296 (build-system cargo-build-system)
2299 (("rust-bitflags" ,rust-bitflags-1)
2300 ("rust-downcast-rs" ,rust-downcast-rs-1)
2301 ("rust-libc" ,rust-libc-0.2)
2302 ("rust-nix" ,rust-nix-0.18)
2303 ("rust-scoped-tls" ,rust-scoped-tls-1))
2304 #:cargo-development-inputs
2305 (("rust-tempfile" ,rust-tempfile-3))))
2307 `(("rust-bitflags" ,rust-bitflags-1)
2308 ("rust-downcast-rs" ,rust-downcast-rs-1)
2309 ("rust-libc" ,rust-libc-0.2)
2310 ("rust-nix" ,rust-nix-0.18)
2311 ("rust-scoped-tls" ,rust-scoped-tls-1)
2312 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2313 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2314 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
2315 (home-page "https://github.com/smithay/wayland-rs")
2317 "Rust bindings to the standard C implementation of the wayland protocol")
2319 "This package provides Rust bindings to the standard C implementation of
2320 the wayland protocol, client side.")
2321 (license license:expat)))
2323 (define-public rust-wayland-client-0.23
2325 (inherit rust-wayland-client-0.28)
2326 (name "rust-wayland-client")
2331 (uri (crate-uri "wayland-client" version))
2333 (string-append name "-" version ".tar.gz"))
2336 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
2340 (("rust-bitflags" ,rust-bitflags-1)
2341 ("rust-calloop" ,rust-calloop-0.4)
2342 ("rust-downcast-rs" ,rust-downcast-rs-1)
2343 ("rust-libc" ,rust-libc-0.2)
2344 ("rust-mio" ,rust-mio-0.6)
2345 ("rust-nix" ,rust-nix-0.14)
2346 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2347 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2348 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
2349 #:cargo-development-inputs
2350 (("rust-byteorder" ,rust-byteorder-1)
2351 ("rust-tempfile" ,rust-tempfile-3))))
2354 (define-public rust-wayland-client-0.21
2356 (inherit rust-wayland-client-0.23)
2357 (name "rust-wayland-client")
2362 (uri (crate-uri "wayland-client" version))
2364 (string-append name "-" version ".tar.gz"))
2367 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
2370 (("rust-bitflags" ,rust-bitflags-1)
2371 ("rust-calloop" ,rust-calloop-0.4)
2372 ("rust-downcast-rs" ,rust-downcast-rs-1)
2373 ("rust-libc" ,rust-libc-0.2)
2374 ("rust-mio" ,rust-mio-0.6)
2375 ("rust-nix" ,rust-nix-0.14)
2376 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2377 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2378 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
2379 #:cargo-development-inputs
2380 (("rust-byteorder" ,rust-byteorder-1)
2381 ("rust-tempfile" ,rust-tempfile-3))))))
2383 (define-public rust-wayland-commons-0.28
2385 (name "rust-wayland-commons")
2390 (uri (crate-uri "wayland-commons" version))
2391 (file-name (string-append name "-" version ".tar.gz"))
2393 (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128"))))
2394 (build-system cargo-build-system)
2397 (("rust-nix" ,rust-nix-0.18)
2398 ("rust-once-cell" ,rust-once-cell-1)
2399 ("rust-smallvec" ,rust-smallvec-1))))
2401 `(("rust-nix" ,rust-nix-0.18)
2402 ("rust-once-cell" ,rust-once-cell-1)
2403 ("rust-smallvec" ,rust-smallvec-1)
2404 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
2405 (home-page "https://github.com/smithay/wayland-rs")
2406 (synopsis "Types and structures used by wayland-client and wayland-server")
2408 "This package provides common types and structures used by wayland-client
2409 and wayland-server.")
2410 (license license:expat)))
2412 (define-public rust-wayland-commons-0.23
2414 (inherit rust-wayland-commons-0.28)
2415 (name "rust-wayland-commons")
2420 (uri (crate-uri "wayland-commons" version))
2422 (string-append name "-" version ".tar.gz"))
2425 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
2429 (("rust-nix" ,rust-nix-0.14)
2430 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
2433 (define-public rust-wayland-commons-0.21
2435 (inherit rust-wayland-commons-0.23)
2436 (name "rust-wayland-commons")
2441 (uri (crate-uri "wayland-commons" version))
2443 (string-append name "-" version ".tar.gz"))
2446 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2449 (("rust-nix" ,rust-nix-0.14)
2450 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2452 (define-public rust-wayland-cursor-0.28
2454 (name "rust-wayland-cursor")
2459 (uri (crate-uri "wayland-cursor" version))
2460 (file-name (string-append name "-" version ".tar.gz"))
2462 (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn"))))
2463 (build-system cargo-build-system)
2466 (("rust-nix" ,rust-nix-0.18)
2467 ("rust-xcursor" ,rust-xcursor-0.3))))
2469 `(("rust-nix" ,rust-nix-0.18)
2470 ("rust-wayland-client" ,rust-wayland-client-0.28)
2471 ("rust-xcursor" ,rust-xcursor-0.3)))
2472 (home-page "https://github.com/smithay/wayland-rs")
2473 (synopsis "Bindings to libwayland-cursor")
2475 "This crate provides helpers to load the system provided cursor images
2476 and load them into WlBuffers as well as obtain the necessary metadata to
2477 properly display animated cursors.")
2478 (license license:expat)))
2480 (define-public rust-wayland-egl-0.28
2482 (name "rust-wayland-egl")
2487 (uri (crate-uri "wayland-egl" version))
2488 (file-name (string-append name "-" version ".tar.gz"))
2490 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2491 (build-system cargo-build-system)
2493 `(("rust-wayland-client" ,rust-wayland-client-0.28)
2494 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
2495 ;; For the PKG_CONFIG_PATH environment variable.
2497 `(("pkg-config" ,pkg-config)))
2498 (home-page "https://github.com/smithay/wayland-rs")
2499 (synopsis "Bindings to libwayland-egl")
2501 "This crate provides bindings for OpenGL/Vulkan support for
2502 Wayland client apps. It creates an EGLSurface from any
2503 WlSurface, which can then play the role of the base surface for
2504 initializing an OpenGL or Vulkan context.")
2505 (license license:expat)))
2507 (define-public rust-wayland-protocols-0.28
2509 (name "rust-wayland-protocols")
2514 (uri (crate-uri "wayland-protocols" version))
2515 (file-name (string-append name "-" version ".tar.gz"))
2517 (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii"))))
2518 (build-system cargo-build-system)
2521 (("rust-bitflags" ,rust-bitflags-1))))
2523 `(("rust-bitflags" ,rust-bitflags-1)
2524 ("rust-wayland-client" ,rust-wayland-client-0.28)
2525 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2526 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2527 ("rust-wayland-server" ,rust-wayland-server-0.28)))
2528 (home-page "https://github.com/smithay/wayland-rs")
2529 (synopsis "Generated API for the officials Wayland protocol extensions")
2531 "This package provides a generated API for the officials Wayland protocol
2533 (license license:expat)))
2535 (define-public rust-wayland-protocols-0.23
2537 (inherit rust-wayland-protocols-0.28)
2538 (name "rust-wayland-protocols")
2543 (uri (crate-uri "wayland-protocols" version))
2545 (string-append name "-" version ".tar.gz"))
2548 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2552 (("rust-bitflags" ,rust-bitflags-1)
2553 ("rust-wayland-client" ,rust-wayland-client-0.23)
2554 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2555 ("rust-wayland-server" ,rust-wayland-server-0.23)
2556 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2559 (define-public rust-wayland-protocols-0.21
2561 (inherit rust-wayland-protocols-0.23)
2562 (name "rust-wayland-protocols")
2567 (uri (crate-uri "wayland-protocols" version))
2569 (string-append name "-" version ".tar.gz"))
2572 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2575 (("rust-bitflags" ,rust-bitflags-1)
2576 ("rust-wayland-client" ,rust-wayland-client-0.21)
2577 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2578 ("rust-wayland-server" ,rust-wayland-server-0.21)
2579 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2580 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2582 (define-public rust-wayland-scanner-0.28
2584 (name "rust-wayland-scanner")
2589 (uri (crate-uri "wayland-scanner" version))
2590 (file-name (string-append name "-" version ".tar.gz"))
2592 (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
2593 (build-system cargo-build-system)
2595 `(("rust-proc-macro2" ,rust-proc-macro2-1)
2596 ("rust-quote" ,rust-quote-1)
2597 ("rust-xml-rs" ,rust-xml-rs-0.8)))
2598 (home-page "https://github.com/smithay/wayland-rs")
2599 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2601 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2602 It is intended for use with wayland-sys. You should only need this crate if
2603 you are working on custom Wayland protocol extensions. Look at the
2604 wayland-client crate for usable bindings.")
2605 (license license:expat)))
2607 (define-public rust-wayland-scanner-0.23
2609 (inherit rust-wayland-scanner-0.28)
2610 (name "rust-wayland-scanner")
2615 (uri (crate-uri "wayland-scanner" version))
2617 (string-append name "-" version ".tar.gz"))
2620 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2624 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2625 ("rust-quote" ,rust-quote-0.6)
2626 ("rust-xml-rs" ,rust-xml-rs-0.8))))))
2628 (define-public rust-wayland-scanner-0.21
2630 (inherit rust-wayland-scanner-0.23)
2631 (name "rust-wayland-scanner")
2636 (uri (crate-uri "wayland-scanner" version))
2638 (string-append name "-" version ".tar.gz"))
2641 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2643 (define-public rust-wayland-server-0.28
2645 (name "rust-wayland-server")
2650 (uri (crate-uri "wayland-server" version))
2651 (file-name (string-append name "-" version ".tar.gz"))
2653 (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93"))))
2654 (build-system cargo-build-system)
2657 (("rust-bitflags" ,rust-bitflags-1)
2658 ("rust-downcast-rs" ,rust-downcast-rs-1)
2659 ("rust-lazy-static" ,rust-lazy-static-1)
2660 ("rust-libc" ,rust-libc-0.2)
2661 ("rust-nix" ,rust-nix-0.18)
2662 ("rust-parking-lot" ,rust-parking-lot-0.11)
2663 ("rust-scoped-tls" ,rust-scoped-tls-1))))
2665 `(("rust-bitflags" ,rust-bitflags-1)
2666 ("rust-downcast-rs" ,rust-downcast-rs-1)
2667 ("rust-lazy-static" ,rust-lazy-static-1)
2668 ("rust-libc" ,rust-libc-0.2)
2669 ("rust-nix" ,rust-nix-0.18)
2670 ("rust-parking-lot" ,rust-parking-lot-0.11)
2671 ("rust-scoped-tls" ,rust-scoped-tls-1)
2672 ("rust-wayland-commons" ,rust-wayland-commons-0.28)
2673 ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
2674 ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
2675 (home-page "https://github.com/smithay/wayland-rs")
2677 "Bindings to the standard C implementation of the wayland protocol")
2679 "This package provides Rust bindings to the standard C implementation of
2680 the wayland protocol, server side.")
2681 (license license:expat)))
2683 (define-public rust-wayland-server-0.23
2685 (inherit rust-wayland-server-0.28)
2686 (name "rust-wayland-server")
2691 (uri (crate-uri "wayland-server" version))
2693 (string-append name "-" version ".tar.gz"))
2696 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2700 (("rust-bitflags" ,rust-bitflags-1)
2701 ("rust-calloop" ,rust-calloop-0.4)
2702 ("rust-downcast-rs" ,rust-downcast-rs-1)
2703 ("rust-libc" ,rust-libc-0.2)
2704 ("rust-mio" ,rust-mio-0.6)
2705 ("rust-nix" ,rust-nix-0.14)
2706 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2707 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2708 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2711 (define-public rust-wayland-server-0.21
2713 (inherit rust-wayland-server-0.23)
2714 (name "rust-wayland-server")
2719 (uri (crate-uri "wayland-server" version))
2721 (string-append name "-" version ".tar.gz"))
2724 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2727 (("rust-bitflags" ,rust-bitflags-1)
2728 ("rust-calloop" ,rust-calloop-0.4)
2729 ("rust-downcast-rs" ,rust-downcast-rs-1)
2730 ("rust-libc" ,rust-libc-0.2)
2731 ("rust-mio" ,rust-mio-0.6)
2732 ("rust-nix" ,rust-nix-0.14)
2733 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2734 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2735 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2737 (define-public rust-wayland-sys-0.28
2739 (name "rust-wayland-sys")
2744 (uri (crate-uri "wayland-sys" version))
2745 (file-name (string-append name "-" version ".tar.gz"))
2747 (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
2748 (build-system cargo-build-system)
2751 (("rust-dlib" ,rust-dlib-0.4)
2752 ("rust-lazy-static" ,rust-lazy-static-1)
2753 ("rust-libc" ,rust-libc-0.2)
2754 ("rust-pkg-config" ,rust-pkg-config-0.3))
2756 (modify-phases %standard-phases
2757 (add-after 'unpack 'patch-libraries
2758 (lambda* (#:key inputs #:allow-other-keys)
2759 (let ((libwayland (assoc-ref inputs "wayland")))
2760 (substitute* (find-files "src" "\\.rs$")
2761 (("libwayland.*\\.so" shared-lib)
2762 (string-append libwayland "/lib/" shared-lib)))
2765 `(("rust-dlib" ,rust-dlib-0.4)
2766 ("rust-lazy-static" ,rust-lazy-static-1)
2767 ("rust-libc" ,rust-libc-0.2)
2768 ("rust-pkg-config" ,rust-pkg-config-0.3)))
2770 `(("wayland" ,wayland)))
2771 (home-page "https://github.com/smithay/wayland-rs")
2772 (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
2774 "This package provides FFI bindings to the various
2775 @file{libwayland-*.so} libraries. You should only need this crate if
2776 you are working on custom Wayland protocol extensions. Look at the
2777 crate @code{rust-wayland-client} for usable bindings.")
2778 (license license:expat)))
2780 (define-public rust-wayland-sys-0.23
2782 (inherit rust-wayland-sys-0.28)
2783 (name "rust-wayland-sys")
2788 (uri (crate-uri "wayland-sys" version))
2790 (string-append name "-" version ".tar.gz"))
2793 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2797 (("rust-dlib" ,rust-dlib-0.4)
2798 ("rust-lazy-static" ,rust-lazy-static-1)
2799 ("rust-libc" ,rust-libc-0.2))))
2801 (propagated-inputs `())))
2803 (define-public rust-wayland-sys-0.21
2805 (inherit rust-wayland-sys-0.23)
2806 (name "rust-wayland-sys")
2811 (uri (crate-uri "wayland-sys" version))
2813 (string-append name "-" version ".tar.gz"))
2816 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2818 (define-public rust-winit-0.24
2825 (uri (crate-uri "winit" version))
2826 (file-name (string-append name "-" version ".tar.gz"))
2828 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2829 (build-system cargo-build-system)
2833 (("rust-bitflags" ,rust-bitflags-1)
2834 ("rust-cocoa" ,rust-cocoa-0.24)
2835 ("rust-core-foundation" ,rust-core-foundation-0.9)
2836 ("rust-core-graphics" ,rust-core-graphics-0.22)
2837 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2838 ("rust-dispatch" ,rust-dispatch-0.2)
2839 ("rust-instant" ,rust-instant-0.1)
2840 ("rust-lazy-static" ,rust-lazy-static-1)
2841 ("rust-libc" ,rust-libc-0.2)
2842 ("rust-log" ,rust-log-0.4)
2843 ("rust-mio" ,rust-mio-0.6)
2844 ("rust-mio-extras" ,rust-mio-extras-2)
2845 ("rust-ndk" ,rust-ndk-0.2)
2846 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2847 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2848 ("rust-objc" ,rust-objc-0.2)
2849 ("rust-parking-lot" ,rust-parking-lot-0.11)
2850 ("rust-percent-encoding" ,rust-percent-encoding-2)
2851 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2852 ("rust-serde" ,rust-serde-1)
2853 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2854 ("rust-stdweb" ,rust-stdweb-0.4)
2855 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2856 ("rust-web-sys" ,rust-web-sys-0.3)
2857 ("rust-winapi" ,rust-winapi-0.3)
2858 ("rust-x11-dl" ,rust-x11-dl-2))))
2860 `(("rust-wayland-client" ,rust-wayland-client-0.28)))
2861 (home-page "https://github.com/rust-windowing/winit")
2862 (synopsis "Window creation library")
2864 "Winit is a window creation and management library. It can create
2865 windows and lets you handle events (for example: the window being
2866 resized, a key being pressed, a mouse movement, etc.) produced by
2869 Winit is designed to be a low-level brick in a hierarchy of libraries.
2870 Consequently, in order to show something on the window you need to use
2871 the platform-specific getters provided by winit, or another library.")
2872 (license license:asl2.0)))
2874 (define-public rust-winit-0.20
2876 (inherit rust-winit-0.24)
2878 (version "0.20.0-alpha6")
2882 (uri (crate-uri "winit" version))
2884 (string-append name "-" version ".tar.gz"))
2887 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2892 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2893 (file-name (string-append name "-fix-bindings.patch"))
2896 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2899 (("rust-android-glue" ,rust-android-glue-0.2)
2900 ("rust-bitflags" ,rust-bitflags-1)
2901 ("rust-calloop" ,rust-calloop-0.4)
2902 ("rust-cocoa" ,rust-cocoa-0.19)
2903 ("rust-core-foundation" ,rust-core-foundation-0.6)
2904 ("rust-core-graphics" ,rust-core-graphics-0.17)
2905 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2906 ("rust-dispatch" ,rust-dispatch-0.1)
2907 ("rust-instant" ,rust-instant-0.1)
2908 ("rust-lazy-static" ,rust-lazy-static-1)
2909 ("rust-libc" ,rust-libc-0.2)
2910 ("rust-log" ,rust-log-0.4)
2911 ("rust-objc" ,rust-objc-0.2)
2912 ("rust-parking-lot" ,rust-parking-lot-0.10)
2913 ("rust-percent-encoding" ,rust-percent-encoding-2)
2914 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2915 ("rust-serde" ,rust-serde-1)
2916 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
2917 ("rust-stdweb" ,rust-stdweb-0.4)
2918 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2919 ("rust-wayland-client" ,rust-wayland-client-0.23)
2920 ("rust-web-sys" ,rust-web-sys-0.3)
2921 ("rust-winapi" ,rust-winapi-0.3)
2922 ("rust-x11-dl" ,rust-x11-dl-2))
2923 #:cargo-development-inputs
2924 (("rust-console-log" ,rust-console-log-0.1)
2925 ("rust-env-logger" ,rust-env-logger-0.5)
2926 ("rust-image" ,rust-image-0.21))))))
2928 (define-public rust-winit-0.19
2930 (inherit rust-winit-0.20)
2936 (uri (crate-uri "winit" version))
2938 (string-append name "-" version ".tar.gz"))
2941 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
2944 (("rust-android-glue" ,rust-android-glue-0.2)
2945 ("rust-backtrace" ,rust-backtrace-0.3)
2946 ("rust-bitflags" ,rust-bitflags-1)
2947 ("rust-cocoa" ,rust-cocoa-0.18)
2948 ("rust-core-foundation" ,rust-core-foundation-0.6)
2949 ("rust-core-graphics" ,rust-core-graphics-0.17)
2950 ("rust-image" ,rust-image-0.21)
2951 ("rust-lazy-static" ,rust-lazy-static-1)
2952 ("rust-libc" ,rust-libc-0.2)
2953 ("rust-log" ,rust-log-0.4)
2954 ("rust-objc" ,rust-objc-0.2)
2955 ("rust-parking-lot" ,rust-parking-lot-0.9)
2956 ("rust-percent-encoding" ,rust-percent-encoding-2)
2957 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2958 ("rust-serde" ,rust-serde-1)
2959 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
2960 ("rust-wayland-client" ,rust-wayland-client-0.21)
2961 ("rust-winapi" ,rust-winapi-0.3)
2962 ("rust-x11-dl" ,rust-x11-dl-2))))))
2964 (define-public rust-x11-2
2971 (uri (crate-uri "x11" version))
2973 (string-append name "-" version ".tar.gz"))
2975 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
2976 (build-system cargo-build-system)
2979 (("rust-libc" ,rust-libc-0.2)
2980 ("rust-pkg-config" ,rust-pkg-config-0.3))))
2981 (home-page "https://github.com/erlepereira/x11-rs")
2982 (synopsis "X11 library bindings for Rust")
2983 (description "This crate provides X11 library bindings for Rust.")
2984 (license license:expat)))
2986 (define-public rust-x11-clipboard-0.5
2988 (name "rust-x11-clipboard")
2993 (uri (crate-uri "x11-clipboard" version))
2994 (file-name (string-append name "-" version ".tar.gz"))
2996 (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5"))))
2997 (build-system cargo-build-system)
3001 (("rust-xcb" ,rust-xcb-0.9))))
3002 (home-page "https://github.com/quininer/x11-clipboard")
3003 (synopsis "x11 clipboard support for Rust")
3004 (description "This package provides x11 clipboard support for Rust.")
3005 (license license:expat)))
3007 (define-public rust-x11-clipboard-0.4
3009 (inherit rust-x11-clipboard-0.5)
3010 (name "rust-x11-clipboard")
3015 (uri (crate-uri "x11-clipboard" version))
3017 (string-append name "-" version ".tar.gz"))
3020 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
3022 `(#:tests? #f ; Tests require display server.
3023 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
3025 `(("python" ,python)))))
3027 (define-public rust-x11-dl-2
3029 (name "rust-x11-dl")
3034 (uri (crate-uri "x11-dl" version))
3036 (string-append name "-" version ".tar.gz"))
3038 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
3039 (build-system cargo-build-system)
3042 (("rust-lazy-static" ,rust-lazy-static-1)
3043 ("rust-libc" ,rust-libc-0.2)
3044 ("rust-maybe-uninit" ,rust-maybe-uninit-2)
3045 ("rust-pkg-config" ,rust-pkg-config-0.3))))
3046 (home-page "https://github.com/erlepereira/x11-rs.git")
3047 (synopsis "X11 library bindings for Rust")
3048 (description "This package provides X11 library bindings for Rust.")
3049 (license license:cc0)))
3051 (define-public rust-y4m-0.7
3058 (uri (crate-uri "y4m" version))
3059 (file-name (string-append name "-" version ".tar.gz"))
3061 (base32 "1bhdgb7hgx7j92nm6ij5n8wisp50j8ff66ks14jzwdw2mwhrjam7"))))
3062 (build-system cargo-build-system)
3063 (arguments `(#:skip-build? #t))
3064 (home-page "https://github.com/image-rs/y4m")
3065 (synopsis "YUV4MPEG2 (@file{.y4m}) encoder and decoder")
3067 "This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.")
3068 (license license:expat)))
3070 (define-public rust-y4m-0.5
3072 (inherit rust-y4m-0.7)
3078 (uri (crate-uri "y4m" version))
3080 (string-append name "-" version ".tar.gz"))
3083 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
3085 `(#:cargo-development-inputs
3086 (("rust-resize" ,rust-resize-0.3))))))