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-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
12 ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
13 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
14 ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
16 ;;; This file is part of GNU Guix.
18 ;;; GNU Guix is free software; you can redistribute it and/or modify it
19 ;;; under the terms of the GNU General Public License as published by
20 ;;; the Free Software Foundation; either version 3 of the License, or (at
21 ;;; your option) any later version.
23 ;;; GNU Guix is distributed in the hope that it will be useful, but
24 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
25 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 ;;; GNU General Public License for more details.
28 ;;; You should have received a copy of the GNU General Public License
29 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
31 (define-module (gnu packages crates-graphics)
32 #:use-module (guix build-system cargo)
33 #:use-module (guix download)
34 #:use-module ((guix licenses) #:prefix license:)
35 #:use-module (guix packages)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages assembly)
38 #:use-module (gnu packages crates-io)
39 #:use-module (gnu packages freedesktop)
40 #:use-module (gnu packages llvm)
41 #:use-module (gnu packages pkg-config)
42 #:use-module (gnu packages python)
43 #:use-module (gnu packages video))
46 ;;; Please: Try to add new module packages in alphabetic order.
48 (define-public rust-andrew-0.3
55 (uri (crate-uri "andrew" version))
56 (file-name (string-append name "-" version ".tar.gz"))
58 (base32 "1kx79z6mh7wwp4pz683bdya54h7w7wpzjcwf834fwbv4vl4znjlc"))))
59 (build-system cargo-build-system)
63 (("rust-bitflags" ,rust-bitflags-1)
64 ("rust-rusttype" ,rust-rusttype-0.9)
65 ("rust-walkdir" ,rust-walkdir-2)
66 ("rust-xdg" ,rust-xdg-2)
67 ("rust-xml-rs" ,rust-xml-rs-0.8))))
68 (home-page "https://github.com/trimental/andrew")
69 (synopsis "Provides convenient drawing of objects to buffers")
71 "The @code{andrew} crate provides convenient drawing of objects such as
72 shapes, lines and text to buffers.")
73 (license license:expat)))
75 (define-public rust-andrew-0.2
77 (inherit rust-andrew-0.3)
83 (uri (crate-uri "andrew" version))
85 (string-append name "-" version ".tar.gz"))
88 "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv"))))
91 (("rust-bitflags" ,rust-bitflags-1)
92 ("rust-line-drawing" ,rust-line-drawing-0.7)
93 ("rust-rusttype" ,rust-rusttype-0.7)
94 ("rust-walkdir" ,rust-walkdir-2)
95 ("rust-xdg" ,rust-xdg-2)
96 ("rust-xml-rs" ,rust-xml-rs-0.8))
97 #:cargo-development-inputs
98 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
102 (define-public rust-ansi-colours-1
104 (name "rust-ansi-colours")
109 (uri (crate-uri "ansi_colours" version))
111 (string-append name "-" version ".tar.gz"))
114 "03b2365y0ffkvqw61bc4imz6661jvi39vcs4q6q5d43znqrq4rrj"))))
115 (build-system cargo-build-system)
118 (("rust-rgb" ,rust-rgb-0.8))
119 #:cargo-development-inputs
120 (("rust-crc64" ,rust-crc64-1)
121 ("rust-criterion" ,rust-criterion-0.3)
122 ("rust-empfindung" ,rust-empfindung-0.2)
123 ("rust-lab" ,rust-lab-0.11))))
124 (home-page "https://github.com/mina86/ansi_colours")
125 (synopsis "Palette converter between true-colour and ANSI terminal")
127 "@code{ansi_colours} is a library which converts between 24-bit sRGB
128 colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on
129 @code{rxvt-unicode} in 256-colour mode.
130 The most common use case is when using 24-bit colours in a terminal emulator
131 which only support 8-bit colour palette. This package allows true-colours to be
132 approximated by values supported by the terminal.")
133 (license license:lgpl3+)))
135 (define-public rust-ansi-term-0.12
137 (name "rust-ansi-term")
142 (uri (crate-uri "ansi_term" version))
143 (file-name (string-append name "-" version ".tar.gz"))
146 "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
147 (build-system cargo-build-system)
150 (("rust-serde" ,rust-serde-1)
151 ("rust-winapi" ,rust-winapi-0.3))
152 #:cargo-development-inputs
153 (("rust-doc-comment" ,rust-doc-comment-0.3)
154 ("rust-regex" ,rust-regex-1)
155 ("rust-serde-json" ,rust-serde-json-1))))
156 (home-page "https://github.com/ogham/rust-ansi-term")
157 (synopsis "Library for ANSI terminal colours and styles")
159 "This is a library for controlling colours and formatting, such as red bold
160 text or blue underlined text, on ANSI terminals.")
161 (license license:expat)))
163 (define-public rust-ansi-term-0.11
165 (inherit rust-ansi-term-0.12)
166 (name "rust-ansi-term")
171 (uri (crate-uri "ansi_term" version))
172 (file-name (string-append name "-" version ".tar.gz"))
175 "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
179 (("rust-winapi" ,rust-winapi-0.3))))))
181 (define-public rust-ansi-term-0.9
183 (inherit rust-ansi-term-0.11)
184 (name "rust-ansi-term")
189 (uri (crate-uri "ansi_term" version))
191 (string-append name "-" version ".tar.gz"))
194 "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
197 (define-public rust-aom-sys-0.3
199 (name "rust-aom-sys")
204 (uri (crate-uri "aom-sys" version))
206 (string-append name "-" version ".tar.gz"))
209 "0dhikfl7l5nacspajbllbhhysad3vl845cpfplqgm5mf67nmx9w8"))))
210 (build-system cargo-build-system)
213 (("rust-bindgen" ,rust-bindgen-0.54)
214 ("rust-metadeps" ,rust-metadeps-1))))
218 (list libaom clang llvm))
219 (home-page "https://github.com/rust-av/aom-rs")
220 (synopsis "FFI bindings to aom")
221 (description "This package provides FFI bindings to aom.")
222 (license license:expat)))
224 (define-public rust-ascii-canvas-2
226 (name "rust-ascii-canvas")
231 (uri (crate-uri "ascii-canvas" version))
232 (file-name (string-append name "-" version ".tar.gz"))
234 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz"))))
235 (build-system cargo-build-system)
237 `(#:skip-build? #t ;; TODO: failes due to an unresolved import
239 (("rust-term" ,rust-term-0.5))))
240 (home-page "https://github.com/nikomatsakis/ascii-canvas")
241 (synopsis "Simple canvas for drawing lines and styled text and emitting to
243 (description "@code{ASCII} canvas is a simple Rust library that allows you
244 to draw lines and colored text and then write them to the terminal. It uses
245 the term library to handle the ANSI nonsense and hence it works on Windows,
247 (license (list license:asl2.0 license:expat))))
249 (define-public rust-avif-parse-0.13
251 (name "rust-avif-parse")
256 (uri (crate-uri "avif-parse" version))
258 (string-append name "-" version ".tar.gz"))
261 "1vylrjq77mpl6flmd85j5f2qimh6vjn03syvq8agb62x56khm0xj"))))
262 (build-system cargo-build-system)
265 (("rust-bitreader" ,rust-bitreader-0.3)
266 ("rust-byteorder" ,rust-byteorder-1)
267 ("rust-fallible-collections" ,rust-fallible-collections-0.4)
268 ("rust-log" ,rust-log-0.4)
269 ("rust-static-assertions" ,rust-static-assertions-1))
270 #:cargo-development-inputs
271 (("rust-env-logger" ,rust-env-logger-0.8)
272 ("rust-walkdir" ,rust-walkdir-2))))
273 (home-page "https://github.com/kornelski/avif-parse")
274 (synopsis "Parser for AVIF image files")
275 (description "This AVIF parser allows extracting the AV1 payload and alpha
276 channel metadata out of AVIF image files. The parser is a fork of Mozilla's
277 MP4 parser used in Firefox, so it's designed to be robust and safely handle
279 (license license:mpl2.0)))
281 (define-public rust-avif-serialize-0.6
283 (name "rust-avif-serialize")
288 (uri (crate-uri "avif-serialize" version))
289 (file-name (string-append name "-" version ".tar.gz"))
291 (base32 "130wq838lslkcqcp2kjci7q3aq9qpir07pvxndc81xqbn63wvdjg"))))
292 (build-system cargo-build-system)
296 (("rust-arrayvec" ,rust-arrayvec-0.5))))
297 (home-page "https://lib.rs/avif-serialize")
298 (synopsis "Writer for AVIF header structure (MPEG/HEIF/MIAF/ISO-BMFF)")
300 "This package provides a minimal writer for AVIF header structure. This
301 is a tiny alternative to @code{libavif}. It creates the jungle of
302 MPEG/HEIF/MIAF/ISO-BMFF ``boxes'' as appropriate for AVIF files. It supports
303 alpha channel embedding.")
304 (license license:bsd-3)))
306 (define-public rust-cgl-0.3
313 (uri (crate-uri "cgl" version))
315 (string-append name "-" version ".tar.gz"))
318 "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c"))))
319 (build-system cargo-build-system)
321 `(#:skip-build? #t ; only available on macOS
322 #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
323 (home-page "https://github.com/servo/cgl-rs")
324 (synopsis "Rust bindings for CGL on Mac")
325 (description "Rust bindings for CGL on Mac.")
326 (license (list license:expat license:asl2.0))))
328 (define-public rust-cgl-0.2
330 (inherit rust-cgl-0.3)
336 (uri (crate-uri "cgl" version))
338 (string-append name "-" version ".tar.gz"))
341 "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
343 `(#:skip-build? #t ; only available on macOS
345 (("rust-gleam" ,rust-gleam-0.6)
346 ("rust-libc" ,rust-libc-0.2))))))
348 (define-public rust-cgmath-0.17
355 (uri (crate-uri "cgmath" version))
357 (string-append name "-" version ".tar.gz"))
360 "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98"))))
361 (build-system cargo-build-system)
363 `(#:skip-build? #t ; Crate won't build without glium.
365 (("rust-approx" ,rust-approx-0.3)
366 ("rust-mint" ,rust-mint-0.5)
367 ("rust-num-traits" ,rust-num-traits-0.2)
368 ("rust-rand" ,rust-rand-0.6)
369 ("rust-serde" ,rust-serde-1)
370 ("rust-simd" ,rust-simd-0.2))
371 #:cargo-development-inputs
372 (;("rust-glium" ,rust-glium-0.23)
373 ("rust-serde-json" ,rust-serde-json-1))))
374 (home-page "https://github.com/brendanzab/cgmath")
375 (synopsis "Linear algebra and mathematics library")
377 "This package provides a linear algebra and mathematics library
378 for computer graphics.")
379 (license license:asl2.0)))
381 (define-public rust-cgmath-0.16
383 (inherit rust-cgmath-0.17)
389 (uri (crate-uri "cgmath" version))
391 (string-append name "-" version ".tar.gz"))
394 "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934"))))
396 `(#:skip-build? #t ; Crate won't build without glium.
398 (("rust-approx" ,rust-approx-0.1)
399 ("rust-mint" ,rust-mint-0.5)
400 ("rust-num-traits" ,rust-num-traits-0.1)
401 ("rust-rand" ,rust-rand-0.4)
402 ("rust-serde" ,rust-serde-1)
403 ("rust-simd" ,rust-simd-0.2))
404 #:cargo-development-inputs
405 (;("rust-glium" ,rust-glium-0.19)
406 ("rust-serde-json" ,rust-serde-json-1))))))
408 (define-public rust-core-graphics-0.22
410 (name "rust-core-graphics")
415 (uri (crate-uri "core-graphics" version))
416 (file-name (string-append name "-" version ".tar.gz"))
418 (base32 "11lx6xw8nc9fpd552g60qa0cxh0maah8j2m26vkq0aslkgv3b7r6"))))
419 (build-system cargo-build-system)
423 (("rust-bitflags" ,rust-bitflags-1)
424 ("rust-core-foundation" ,rust-core-foundation-0.9)
425 ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
426 ("rust-foreign-types" ,rust-foreign-types-0.3)
427 ("rust-libc" ,rust-libc-0.2))))
428 (home-page "https://github.com/servo/core-graphics-rs")
429 (synopsis "Bindings to Core Graphics for macOS")
431 "This package provides bindings to Core Graphics for macOS.")
432 (license (list license:expat license:asl2.0))))
434 (define-public rust-core-graphics-0.21
436 (inherit rust-core-graphics-0.22)
437 (name "rust-core-graphics")
442 (uri (crate-uri "core-graphics" version))
443 (file-name (string-append name "-" version ".tar.gz"))
445 (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha"))))
449 (("rust-bitflags" ,rust-bitflags-1)
450 ("rust-core-foundation" ,rust-core-foundation-0.9)
451 ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
452 ("rust-foreign-types" ,rust-foreign-types-0.3)
453 ("rust-libc" ,rust-libc-0.2))))))
455 (define-public rust-core-graphics-0.19
457 (inherit rust-core-graphics-0.21)
458 (name "rust-core-graphics")
463 (uri (crate-uri "core-graphics" version))
464 (file-name (string-append name "-" version ".tar.gz"))
466 (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k"))))
470 (("rust-bitflags" ,rust-bitflags-1)
471 ("rust-core-foundation" ,rust-core-foundation-0.7)
472 ("rust-foreign-types" ,rust-foreign-types-0.3)
473 ("rust-libc" ,rust-libc-0.2))))))
475 (define-public rust-core-graphics-0.17
477 (inherit rust-core-graphics-0.21)
478 (name "rust-core-graphics")
483 (uri (crate-uri "core-graphics" version))
485 (string-append name "-" version ".tar.gz"))
488 "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
490 `(#:skip-build? #t ; only for macOS
492 (("rust-bitflags" ,rust-bitflags-1)
493 ("rust-core-foundation" ,rust-core-foundation-0.6)
494 ("rust-foreign-types" ,rust-foreign-types-0.3)
495 ("rust-libc" ,rust-libc-0.2))))))
497 (define-public rust-core-graphics-types-0.1
499 (name "rust-core-graphics-types")
504 (uri (crate-uri "core-graphics-types" version))
505 (file-name (string-append name "-" version ".tar.gz"))
507 (base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s"))))
508 (build-system cargo-build-system)
512 (("rust-bitflags" ,rust-bitflags-1)
513 ("rust-core-foundation" ,rust-core-foundation-0.9)
514 ("rust-foreign-types" ,rust-foreign-types-0.3)
515 ("rust-libc" ,rust-libc-0.2))))
516 (home-page "https://github.com/servo/core-foundation-rs")
517 (synopsis "Bindings for some fundamental Core Graphics types")
519 "This package provides bindings for some fundamental Core Graphics
521 (license (list license:expat license:asl2.0))))
523 (define-public rust-core-video-sys-0.1
525 (name "rust-core-video-sys")
530 (uri (crate-uri "core-video-sys" version))
531 (file-name (string-append name "-" version ".tar.gz"))
533 (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l"))))
534 (build-system cargo-build-system)
538 (("rust-cfg-if" ,rust-cfg-if-0.1)
539 ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
540 ("rust-core-graphics" ,rust-core-graphics-0.19)
541 ("rust-libc" ,rust-libc-0.2)
542 ("rust-metal" ,rust-metal-0.18)
543 ("rust-objc" ,rust-objc-0.2))))
544 (home-page "https://github.com/luozijun/rust-core-video-sys")
545 (synopsis "Bindings to CoreVideo.framework for macOS and iOS")
547 "This package provides bindings to CoreVideo.framework for macOS
549 (license license:expat)))
551 (define-public rust-dav1d-0.6
558 (uri (crate-uri "dav1d" version))
559 (file-name (string-append name "-" version ".tar.gz"))
561 (base32 "0pn6r1a9qfrpg2xwc7ci2iddvnzxb17ddca0bwymgi839cxc2chl"))))
562 (build-system cargo-build-system)
566 (("rust-dav1d-sys" ,rust-dav1d-sys-0.3))))
567 (home-page "https://github.com/rust-av/dav1d-rs")
568 (synopsis "libdav1d bindings in Rust")
569 (description "This package provides libdav1d bindings in Rust.")
570 (license license:expat)))
572 (define-public rust-dav1d-sys-0.3
574 (name "rust-dav1d-sys")
579 (uri (crate-uri "dav1d-sys" version))
581 (string-append name "-" version ".tar.gz"))
583 (base32 "020lla2l703iy69gbksq18snj2b1sp7vmjf39qqykd4242d4msr5"))))
584 (build-system cargo-build-system)
587 (("rust-bindgen" ,rust-bindgen-0.58)
588 ("rust-system-deps" ,rust-system-deps-3))))
592 (list dav1d clang llvm))
593 (home-page "https://github.com/rust-av/dav1d-rs")
594 (synopsis "FFI bindings to dav1d")
595 (description "This package provides FFI bindings to dav1d.")
596 (license license:expat)))
598 (define-public rust-dcv-color-primitives-0.1
600 (name "rust-dcv-color-primitives")
605 (uri (crate-uri "dcv-color-primitives" version))
606 (file-name (string-append name "-" version ".tar.gz"))
608 (base32 "0yrm1qipdmadynhjgz1bvdh42ph9azvwg8v43c8ywr8vlx9qvaq2"))))
609 (build-system cargo-build-system)
613 (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
614 (home-page "https://github.com/aws/dcv-color-primitives")
615 (synopsis "Rust library to perform image color model conversion")
616 (description "This package is a Rust library to perform image color model
618 (license license:expat)))
620 (define-public rust-euclid-0.22
627 (uri (crate-uri "euclid" version))
629 (string-append name "-" version ".tar.gz"))
632 "102blw7ljphi7i2xg435z0bb0a4npmwwbgyfinqxg1m0af2q55ns"))))
633 (build-system cargo-build-system)
636 (("rust-arbitrary" ,rust-arbitrary-1)
637 ("rust-mint" ,rust-mint-0.5)
638 ("rust-num-traits" ,rust-num-traits-0.2)
639 ("rust-serde" ,rust-serde-1))
640 #:cargo-development-inputs
641 (("rust-serde-test" ,rust-serde-test-1))))
642 (home-page "https://github.com/servo/euclid")
643 (synopsis "Geometry primitives")
644 (description "Geometry primitives written in Rust.")
645 (license (list license:expat license:asl2.0))))
647 (define-public rust-eui48-0.4
654 (uri (crate-uri "eui48" version))
656 (string-append name "-" version ".tar.gz"))
658 (base32 "0sqbmcnvilanzjagknmpf85pnji2b9hn2pqzd5rygrfkwikghk4c"))))
659 (build-system cargo-build-system)
662 (("rust-regex" ,rust-regex-1)
663 ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
664 ("rust-serde" ,rust-serde-1)
665 ("rust-serde-json" ,rust-serde-json-1))
666 #:cargo-development-inputs
667 (("rust-bincode" ,rust-bincode-1))))
668 (home-page "https://github.com/abaumhauer/eui48")
669 (synopsis "Library to generate and parse IEEE EUI-48 and EUI-64")
671 "This package provides a library to generate and parse IEEE EUI-48 and
672 EUI-64, also known as MAC-48 media access control addresses.")
673 (license (list license:expat license:asl2.0))))
675 (define-public rust-eui48-0.3
677 (inherit rust-eui48-0.4)
683 (uri (crate-uri "eui48" version))
684 (file-name (string-append name "-" version ".tar.gz"))
686 (base32 "0mmdhczfdxwv5v5h90ydqkx0mdqiv0h2clshm2cm4qlwp0gacw29"))))
690 (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
691 ("rust-serde" ,rust-serde-1))))))
693 (define-public rust-gfx-0.18
700 (uri (crate-uri "gfx" version))
702 (string-append name "-" version ".tar.gz"))
705 "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1"))))
706 (build-system cargo-build-system)
710 (("rust-log" ,rust-log-0.4)
711 ("rust-mint" ,rust-mint-0.5)
712 ("rust-draw-state" ,rust-draw-state-0.8)
713 ("rust-gfx-core" ,rust-gfx-core-0.9))))
714 (home-page "https://github.com/gfx-rs/gfx")
715 (synopsis "High-performance, bindless graphics API")
717 "This package provides a high-performance, bindless graphics API.")
718 (license license:asl2.0)))
720 (define-public rust-gfx-core-0.9
722 (name "rust-gfx-core")
727 (uri (crate-uri "gfx_core" version))
729 (string-append name "-" version ".tar.gz"))
732 "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm"))))
733 (build-system cargo-build-system)
737 (("rust-log" ,rust-log-0.4)
738 ("rust-mint" ,rust-mint-0.5)
739 ("rust-draw-state" ,rust-draw-state-0.8)
740 ("rust-serde" ,rust-serde-1)
741 ("rust-bitflags" ,rust-bitflags-1))))
742 (home-page "https://github.com/gfx-rs/gfx")
743 (synopsis "Core library of Gfx-rs")
744 (description "This package is a core library of Gfx-rs.")
745 (license license:asl2.0)))
747 (define-public rust-gfx-device-gl-0.16
749 (name "rust-gfx-device-gl")
754 (uri (crate-uri "gfx_device_gl" version))
756 (string-append name "-" version ".tar.gz"))
759 "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h"))))
760 (build-system cargo-build-system)
764 (("rust-log" ,rust-log-0.4)
765 ("rust-gfx-gl" ,rust-gfx-gl-0.6)
766 ("rust-gfx-core" ,rust-gfx-core-0.9))))
767 (home-page "https://github.com/gfx-rs/gfx")
768 (synopsis "OpenGL backend for gfx-rs")
769 (description "This package provides the openGL backend for gfx-rs.")
770 (license license:asl2.0)))
772 (define-public rust-gfx-gl-0.6
779 (uri (crate-uri "gfx_gl" version))
781 (string-append name "-" version ".tar.gz"))
784 "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj"))))
785 (build-system cargo-build-system)
789 (("rust-gl-generator" ,rust-gl-generator-0.14))))
790 (home-page "https://github.com/gfx-rs/gfx_gl")
791 (synopsis "OpenGL bindings for gfx, based on gl-rs")
793 "This package provides OpenGL bindings for gfx, based on gl-rs.")
794 (license license:asl2.0)))
796 (define-public rust-gif-0.11
803 (uri (crate-uri "gif" version))
804 (file-name (string-append name "-" version ".tar.gz"))
806 (base32 "0nsfd5qvp69z8kn17ziiq8zv4mclfycyxppf5k9fm2h8g1z1i9y3"))))
807 (build-system cargo-build-system)
811 (("rust-color-quant" ,rust-color-quant-1)
812 ("rust-weezl" ,rust-weezl-0.1))))
813 (home-page "https://github.com/image-rs/image-gif")
814 (synopsis "GIF decoder and encoder")
815 (description "This package provides a GIF decoder and encoder in Rust.")
816 (license (list license:expat license:asl2.0))))
818 (define-public rust-gif-0.10
820 (inherit rust-gif-0.11)
826 (uri (crate-uri "gif" version))
828 (string-append name "-" version ".tar.gz"))
831 "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7"))))
833 `(#:tests? #f ; tests not included in release
835 (("rust-color-quant" ,rust-color-quant-1)
836 ("rust-libc" ,rust-libc-0.2)
837 ("rust-lzw" ,rust-lzw-0.10))
838 #:cargo-development-inputs
839 (("rust-glob" ,rust-glob-0.3))))))
841 (define-public rust-gl-0.11
848 (uri (crate-uri "gl" version))
850 (string-append name "-" version ".tar.gz"))
853 "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p"))))
854 (build-system cargo-build-system)
858 (("rust-gl-generator" ,rust-gl-generator-0.10))))
859 (home-page "https://github.com/brendanzab/gl-rs/")
860 (synopsis "OpenGL bindings for rust")
861 (description "This package provides OpenGL bindings for rust.")
862 (license license:asl2.0)))
864 (define-public rust-gl-generator-0.14
866 (name "rust-gl-generator")
871 (uri (crate-uri "gl-generator" version))
873 (string-append name "-" version ".tar.gz"))
876 "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s"))))
877 (build-system cargo-build-system)
880 (("rust-khronos-api" ,rust-khronos-api-3)
881 ("rust-log" ,rust-log-0.4)
882 ("rust-xml-rs" ,rust-xml-rs-0.8))))
883 (home-page "https://github.com/brendanzab/gl-rs/")
884 (synopsis "Code generators for bindings to the Khronos OpenGL APIs")
886 "Code generators for creating bindings to the Khronos OpenGL APIs.")
887 (license license:asl2.0)))
889 (define-public rust-gl-generator-0.13
891 (inherit rust-gl-generator-0.14)
892 (name "rust-gl-generator")
897 (uri (crate-uri "gl-generator" version))
899 (string-append name "-" version ".tar.gz"))
902 "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a"))))))
904 (define-public rust-gl-generator-0.11
906 (inherit rust-gl-generator-0.13)
907 (name "rust-gl-generator")
912 (uri (crate-uri "gl-generator" version))
914 (string-append name "-" version ".tar.gz"))
917 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
919 (define-public rust-gl-generator-0.10
921 (name "rust-gl-generator")
926 (uri (crate-uri "gl_generator" version))
928 (string-append name "-" version ".tar.gz"))
931 "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0"))))
932 (build-system cargo-build-system)
936 (("rust-log" ,rust-log-0.4)
937 ("rust-xml-rs" ,rust-xml-rs-0.8)
938 ("rust-khronos-api" ,rust-khronos-api-3))))
939 (home-page "https://github.com/brendanzab/gl-rs/")
941 "Code generators for creating bindings to the Khronos OpenGL APIs")
943 "Code generators for creating bindings to the Khronos OpenGL APIs.")
944 (license license:asl2.0)))
946 (define-public rust-gleam-0.6
953 (uri (crate-uri "gleam" version))
955 (string-append name "-" version ".tar.gz"))
958 "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa"))))
959 (build-system cargo-build-system)
962 (("rust-gl-generator" ,rust-gl-generator-0.13))))
963 (home-page "https://github.com/servo/gleam")
964 (synopsis "Generated OpenGL bindings and wrapper for Servo")
966 "Generated OpenGL bindings and wrapper for Servo.")
967 (license (list license:asl2.0 license:expat))))
969 (define-public rust-glutin-0.26
976 (uri (crate-uri "glutin" version))
977 (file-name (string-append name "-" version ".tar.gz"))
979 (base32 "18szbh4dixcr7pmymvbrpv21hv0wrpii5w03rv2534bb2ywwpq8s"))))
980 (build-system cargo-build-system)
983 (("rust-android-glue" ,rust-android-glue-0.2)
984 ("rust-cgl" ,rust-cgl-0.3)
985 ("rust-cocoa" ,rust-cocoa-0.23)
986 ("rust-core-foundation" ,rust-core-foundation-0.9)
987 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
988 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
989 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
990 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
991 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
992 ("rust-lazy-static" ,rust-lazy-static-1)
993 ("rust-libloading" ,rust-libloading-0.6)
994 ("rust-log" ,rust-log-0.4)
995 ("rust-objc" ,rust-objc-0.2)
996 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
997 ("rust-parking-lot" ,rust-parking-lot-0.11)
998 ("rust-wayland-egl" ,rust-wayland-egl-0.28)
999 ("rust-winapi" ,rust-winapi-0.3)
1000 ("rust-winit" ,rust-winit-0.24))))
1002 (list rust-wayland-client-0.28 rust-wayland-egl-0.28))
1003 (home-page "https://github.com/tomaka/glutin")
1004 (synopsis "Cross-platform OpenGL context provider")
1005 (description "This package provides an OpenGL context provider.")
1006 (license license:asl2.0)))
1008 (define-public rust-glutin-0.22
1010 (inherit rust-glutin-0.26)
1011 (name "rust-glutin")
1012 (version "0.22.0-alpha5")
1016 (uri (crate-uri "glutin" version))
1018 (string-append name "-" version ".tar.gz"))
1021 "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag"))))
1024 (("rust-android-glue" ,rust-android-glue-0.2)
1025 ("rust-cgl" ,rust-cgl-0.3)
1026 ("rust-cocoa" ,rust-cocoa-0.19)
1027 ("rust-core-foundation" ,rust-core-foundation-0.6)
1028 ("rust-core-graphics" ,rust-core-graphics-0.17)
1029 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
1030 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
1031 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
1032 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
1033 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
1034 ("rust-lazy-static" ,rust-lazy-static-1)
1035 ("rust-libloading" ,rust-libloading-0.5)
1036 ("rust-log" ,rust-log-0.4)
1037 ("rust-objc" ,rust-objc-0.2)
1038 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
1039 ("rust-parking-lot" ,rust-parking-lot-0.9)
1040 ("rust-wayland-client" ,rust-wayland-client-0.23)
1041 ("rust-winapi" ,rust-winapi-0.3)
1042 ("rust-winit" ,rust-winit-0.20))))))
1044 (define-public rust-glutin-0.21
1046 (inherit rust-glutin-0.22)
1047 (name "rust-glutin")
1052 (uri (crate-uri "glutin" version))
1054 (string-append name "-" version ".tar.gz"))
1057 "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak"))))
1060 (("rust-android-glue" ,rust-android-glue-0.2)
1061 ("rust-cgl" ,rust-cgl-0.2)
1062 ("rust-cocoa" ,rust-cocoa-0.18)
1063 ("rust-core-foundation" ,rust-core-foundation-0.6)
1064 ("rust-core-graphics" ,rust-core-graphics-0.17)
1065 ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1)
1066 ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1)
1067 ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1)
1068 ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1)
1069 ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1)
1070 ("rust-lazy-static" ,rust-lazy-static-1)
1071 ("rust-libloading" ,rust-libloading-0.5)
1072 ("rust-objc" ,rust-objc-0.2)
1073 ("rust-osmesa-sys" ,rust-osmesa-sys-0.1)
1074 ("rust-parking-lot" ,rust-parking-lot-0.9)
1075 ("rust-wayland-client" ,rust-wayland-client-0.21)
1076 ("rust-winapi" ,rust-winapi-0.3)
1077 ("rust-winit" ,rust-winit-0.19))))))
1079 (define-public rust-glutin-egl-sys-0.1
1081 (name "rust-glutin-egl-sys")
1086 (uri (crate-uri "glutin-egl-sys" version))
1088 (string-append name "-" version ".tar.gz"))
1091 "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp"))))
1092 (build-system cargo-build-system)
1095 (("rust-winapi" ,rust-winapi-0.3)
1096 ("rust-gl-generator" ,rust-gl-generator-0.13))))
1097 (home-page "https://github.com/rust-windowing/glutin")
1098 (synopsis "Egl bindings for glutin")
1099 (description "The egl bindings for glutin.")
1100 (license license:asl2.0)))
1102 (define-public rust-glutin-emscripten-sys-0.1
1104 (name "rust-glutin-emscripten-sys")
1109 (uri (crate-uri "glutin_emscripten_sys" version))
1110 (file-name (string-append name "-" version ".tar.gz"))
1112 (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0"))))
1113 (build-system cargo-build-system)
1114 (arguments `(#:skip-build? #t))
1115 (home-page "https://github.com/tomaka/glutin")
1116 (synopsis "Emscripten bindings for glutin")
1117 (description "This package provides Emscripten bindings for glutin.")
1118 (license license:asl2.0)))
1120 (define-public rust-glutin-gles2-sys-0.1
1122 (name "rust-glutin-gles2-sys")
1127 (uri (crate-uri "glutin_gles2_sys" version))
1128 (file-name (string-append name "-" version ".tar.gz"))
1130 (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8"))))
1131 (build-system cargo-build-system)
1135 (("rust-gl-generator" ,rust-gl-generator-0.14)
1136 ("rust-objc" ,rust-objc-0.2))))
1137 (home-page "https://github.com/tomaka/glutin")
1138 (synopsis "Gles2 bindings for glutin")
1139 (description "This package provides gles2 bindings for glutin.")
1140 (license license:asl2.0)))
1142 (define-public rust-glutin-glx-sys-0.1
1144 (name "rust-glutin-glx-sys")
1149 (uri (crate-uri "glutin_glx_sys" version))
1150 (file-name (string-append name "-" version ".tar.gz"))
1152 (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby"))))
1153 (build-system cargo-build-system)
1157 (("rust-gl-generator" ,rust-gl-generator-0.14)
1158 ("rust-x11-dl" ,rust-x11-dl-2))))
1159 (home-page "https://github.com/tomaka/glutin")
1160 (synopsis "Glx bindings for glutin")
1161 (description "This package provides glx bindings for glutin.")
1162 (license license:asl2.0)))
1164 (define-public rust-glutin-wgl-sys-0.1
1166 (name "rust-glutin-wgl-sys")
1171 (uri (crate-uri "glutin_wgl_sys" version))
1172 (file-name (string-append name "-" version ".tar.gz"))
1174 (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x"))))
1175 (build-system cargo-build-system)
1179 (("rust-gl-generator" ,rust-gl-generator-0.14))))
1180 (home-page "https://github.com/tomaka/glutin")
1181 (synopsis "Wgl bindings for glutin")
1182 (description "This package provides wgl bindings for glutin.")
1183 (license license:asl2.0)))
1185 (define-public rust-ical-0.7
1192 (uri (crate-uri "ical" version))
1193 (file-name (string-append name "-" version ".tar.gz"))
1195 (base32 "1kvk1pgas67rnp0n4424lxxs8y3n1h0fw3ap8jbfcxqdmlap57sa"))))
1196 (build-system cargo-build-system)
1200 (("rust-thiserror" ,rust-thiserror-1))))
1201 (home-page "https://github.com/Peltoche/ical-rs")
1202 (synopsis "Ical/Vcard parser for Rust")
1204 "This library parse the ICalendar format defined in RFC5545, as well as
1205 similar formats like VCard.")
1206 (license license:asl2.0)))
1208 (define-public rust-ichwh-0.3
1215 (uri (crate-uri "ichwh" version))
1216 (file-name (string-append name "-" version ".tar.gz"))
1218 (base32 "0m6628yw3l812hjknmh5b5gcvhn6as9gzjz60h54zjxyy4w5ss7a"))))
1219 (build-system cargo-build-system)
1223 (("rust-async-std" ,rust-async-std-1)
1224 ("rust-cfg-if" ,rust-cfg-if-0.1)
1225 ("rust-futures" ,rust-futures-0.3)
1226 ("rust-thiserror" ,rust-thiserror-1))))
1227 (home-page "https://gitlab.com/avandesa/ichwh-rs")
1228 (synopsis "Asynchronous implementation of @command{which}")
1230 "@code{ichwh} aims to be a fully-asynchronous clone of GNU which. The
1231 main job of @command{which} is to search for executables on the current
1233 (license license:expat)))
1235 (define-public rust-image-0.23
1242 (uri (crate-uri "image" version))
1243 (file-name (string-append name "-" version ".tar.gz"))
1245 (base32 "18gn2f7xp30pf9aqka877knlq308khxqiwjvsccvzaa4f9zcpzr4"))))
1246 (build-system cargo-build-system)
1250 (("rust-bytemuck" ,rust-bytemuck-1)
1251 ("rust-byteorder" ,rust-byteorder-1)
1252 ("rust-color-quant" ,rust-color-quant-1)
1253 ("rust-gif" ,rust-gif-0.11)
1254 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1255 ("rust-num-iter" ,rust-num-iter-0.1)
1256 ("rust-num-rational" ,rust-num-rational-0.3)
1257 ("rust-num-traits" ,rust-num-traits-0.2)
1258 ("rust-png" ,rust-png-0.16)
1259 ("rust-ravif" ,rust-ravif-0.6)
1260 ("rust-rgb" ,rust-rgb-0.8)
1261 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1262 ("rust-tiff" ,rust-tiff-0.6))))
1263 (home-page "https://github.com/image-rs/image")
1264 (synopsis "Imaging library written in Rust")
1266 "This package is an imaging library written in Rust. It provides basic
1267 filters and decoders for the most common image formats.")
1268 (license license:expat)))
1270 (define-public rust-image-0.22
1272 (inherit rust-image-0.23)
1278 (uri (crate-uri "image" version))
1280 (string-append name "-" version ".tar.gz"))
1283 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88"))))
1285 `(#:tests? #f ; Some test images are missing from the release.
1287 (("rust-byteorder" ,rust-byteorder-1)
1288 ("rust-gif" ,rust-gif-0.10)
1289 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1290 ("rust-num-iter" ,rust-num-iter-0.1)
1291 ("rust-num-rational" ,rust-num-rational-0.2)
1292 ("rust-num-traits" ,rust-num-traits-0.2)
1293 ("rust-png" ,rust-png-0.15)
1294 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1295 ("rust-tiff" ,rust-tiff-0.3))
1296 #:cargo-development-inputs
1297 (("rust-crc32fast" ,rust-crc32fast-1)
1298 ("rust-glob" ,rust-glob-0.3)
1299 ("rust-num-complex" ,rust-num-complex-0.2)
1300 ("rust-quickcheck" ,rust-quickcheck-0.9))))))
1302 (define-public rust-image-0.21
1304 (inherit rust-image-0.22)
1310 (uri (crate-uri "image" version))
1312 (string-append name "-" version ".tar.gz"))
1315 "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm"))))
1318 (("rust-byteorder" ,rust-byteorder-1)
1319 ("rust-gif" ,rust-gif-0.10)
1320 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1321 ("rust-lzw" ,rust-lzw-0.10)
1322 ("rust-num-iter" ,rust-num-iter-0.1)
1323 ("rust-num-rational" ,rust-num-rational-0.2)
1324 ("rust-num-traits" ,rust-num-traits-0.2)
1325 ("rust-png" ,rust-png-0.14)
1326 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1327 ("rust-tiff" ,rust-tiff-0.2))
1328 #:cargo-development-inputs
1329 (("rust-glob" ,rust-glob-0.3)
1330 ("rust-num-complex" ,rust-num-complex-0.2)
1331 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1333 (define-public rust-image-0.20
1335 (inherit rust-image-0.21)
1341 (uri (crate-uri "image" version))
1343 (string-append name "-" version ".tar.gz"))
1346 "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4"))))
1349 (("rust-byteorder" ,rust-byteorder-1)
1350 ("rust-gif" ,rust-gif-0.10)
1351 ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
1352 ("rust-lzw" ,rust-lzw-0.10)
1353 ("rust-num-iter" ,rust-num-iter-0.1)
1354 ("rust-num-rational" ,rust-num-rational-0.2)
1355 ("rust-num-traits" ,rust-num-traits-0.2)
1356 ("rust-png" ,rust-png-0.12)
1357 ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
1358 ("rust-tiff" ,rust-tiff-0.2))
1359 #:cargo-development-inputs
1360 (("rust-glob" ,rust-glob-0.2)
1361 ("rust-num-complex" ,rust-num-complex-0.2)
1362 ("rust-quickcheck" ,rust-quickcheck-0.6))))))
1364 (define-public rust-imgref-1
1366 (name "rust-imgref")
1371 (uri (crate-uri "imgref" version))
1372 (file-name (string-append name "-" version ".tar.gz"))
1374 (base32 "19dd5xss3nd40avv8az2kzicpxx71c2akiqznr616hki30w9vj07"))))
1375 (build-system cargo-build-system)
1376 (arguments `(#:skip-build? #t))
1377 (home-page "https://github.com/kornelski/imgref")
1378 (synopsis "2D slice of a @code{Vec}")
1380 "This package provides a trivial struct for interchange of 2d-dimensional
1381 pixel buffers with width, height and stride.")
1382 (license license:cc0)))
1384 (define-public rust-jpeg-decoder-0.1
1386 (name "rust-jpeg-decoder")
1391 (uri (crate-uri "jpeg-decoder" version))
1393 (string-append name "-" version ".tar.gz"))
1395 (base32 "1wnh0bmmswpgwhgmlizz545x8334nlbmkq8imy9k224ri3am7792"))))
1396 (build-system cargo-build-system)
1398 `(#:tests? #f ; Some test files missing.
1400 (("rust-byteorder" ,rust-byteorder-1)
1401 ("rust-rayon" ,rust-rayon-1))
1402 #:cargo-development-inputs
1403 (("rust-criterion" ,rust-criterion-0.3)
1404 ("rust-png" ,rust-png-0.14)
1405 ("rust-walkdir" ,rust-walkdir-2))))
1406 (home-page "https://github.com/image-rs/jpeg-decoder")
1407 (synopsis "JPEG decoder")
1408 (description "JPEG decoder written in Rust.")
1409 (license (list license:expat license:asl2.0))))
1411 (define-public rust-line-drawing-0.7
1413 (name "rust-line-drawing")
1418 (uri (crate-uri "line_drawing" version))
1420 (string-append name "-" version ".tar.gz"))
1423 "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw"))))
1424 (build-system cargo-build-system)
1426 ;; This version does not specify any versions on dependants.
1427 `(#:tests? #f ; Cannot compile line_drawing for the test suite.
1429 (("rust-num-traits" ,rust-num-traits-0.2))
1430 #:cargo-development-inputs
1431 (("rust-bresenham" ,rust-bresenham-0.1)
1432 ("rust-image" ,rust-image-0.22) ; 0.17?
1433 ("rust-rand" ,rust-rand-0.6))))
1434 (home-page "https://github.com/expenses/line_drawing")
1435 (synopsis "Collection of line-drawing algorithms")
1437 "This package provides a collection of line-drawing algorithms for use in
1438 graphics and video games.")
1439 (license license:expat)))
1441 (define-public rust-lyon-extra-0.17
1443 (name "rust-lyon-extra")
1448 (uri (crate-uri "lyon_extra" version))
1449 (file-name (string-append name "-" version ".tar.gz"))
1451 (base32 "10n8h48a363qa66byqfkg164542p97v5rrnb33gqhggah739nwm0"))))
1452 (build-system cargo-build-system)
1457 (("rust-lyon-path" ,rust-lyon-path-0.17)
1458 ("rust-lyon-svg" ,rust-lyon-svg-0.17))))
1459 (home-page "https://github.com/nical/lyon")
1460 (synopsis "Optional utilities for the lyon crate")
1461 (description "This package provides optional utilities for the lyon crate.")
1462 (license (list license:expat license:asl2.0))))
1464 (define-public rust-lyon-geom-0.17
1466 (name "rust-lyon-geom")
1471 (uri (crate-uri "lyon_geom" version))
1473 (string-append name "-" version ".tar.gz"))
1476 "12al92qsh0f8ci3qf3533r4y5hxzzyfp972vm4wqzz9bq9vwx6ff"))))
1477 (build-system cargo-build-system)
1481 (("rust-arrayvec" ,rust-arrayvec-0.5)
1482 ("rust-euclid" ,rust-euclid-0.22)
1483 ("rust-num-traits" ,rust-num-traits-0.2)
1484 ("rust-serde" ,rust-serde-1))))
1485 (home-page "https://github.com/nical/lyon")
1486 (synopsis "2D graphics rendering on the GPU using tessellation")
1488 "This package provides 2D graphics rendering on the GPU using tessellation.")
1489 (license (list license:expat license:asl2.0))))
1491 (define-public rust-lyon-path-0.17
1493 (name "rust-lyon-path")
1498 (uri (crate-uri "lyon_path" version))
1500 (string-append name "-" version ".tar.gz"))
1503 "1h7vbfaanf3x7xch6md4q4ja3xmvsi41n7d6ga40vjk7yzymj2jv"))))
1504 (build-system cargo-build-system)
1508 (("rust-lyon-geom" ,rust-lyon-geom-0.17)
1509 ("rust-serde" ,rust-serde-1))))
1510 (home-page "https://github.com/nical/lyon")
1511 (synopsis "Types and utilities to store, build and iterate over 2D paths")
1513 "Types and utilities to store, build and iterate over 2D paths.")
1514 (license (list license:expat license:asl2.0))))
1516 (define-public rust-lyon-svg-0.17
1518 (name "rust-lyon-svg")
1523 (uri (crate-uri "lyon_svg" version))
1524 (file-name (string-append name "-" version ".tar.gz"))
1526 (base32 "0fin6h9vwgz7gi2a1b0j9bp8a1aval2lvha1kzy7iijm4kgdcj3d"))))
1527 (build-system cargo-build-system)
1532 (("rust-lyon-path" ,rust-lyon-path-0.17)
1533 ("rust-svgtypes" ,rust-svgtypes-0.5))))
1534 (home-page "https://github.com/nical/lyon")
1535 (synopsis "SVG helpers for the lyon crates")
1536 (description "This package provides SVG helpers for the lyon crates.")
1537 (license (list license:expat license:asl2.0))))
1539 (define-public rust-lyon-tessellation-0.17
1541 (name "rust-lyon-tessellation")
1546 (uri (crate-uri "lyon-tessellation" version))
1547 (file-name (string-append name "-" version ".tar.gz"))
1549 (base32 "0q2pccjszda26asylnvhwsil8wvsprfjazrqdzj4i033s26y0c3j"))))
1550 (build-system cargo-build-system)
1553 (("rust-float-next-after" ,rust-float-next-after-0.1)
1554 ("rust-lyon-path" ,rust-lyon-path-0.17)
1555 ("rust-serde" ,rust-serde-1))
1556 #:cargo-development-inputs
1557 (("rust-lyon-extra" ,rust-lyon-extra-0.17))))
1558 (home-page "https://github.com/nical/lyon")
1559 (synopsis "Low level path tessellation library")
1561 "This package provides a low level path tessellation library.")
1562 (license (list license:expat license:asl2.0))))
1564 (define-public rust-osmesa-sys-0.1
1566 (name "rust-osmesa-sys")
1571 (uri (crate-uri "osmesa-sys" version))
1573 (string-append name "-" version ".tar.gz"))
1576 "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8"))))
1577 (build-system cargo-build-system)
1580 (("rust-shared-library" ,rust-shared-library-0.1))))
1581 (home-page "https://crates.io/crates/osmesa-sys")
1582 (synopsis "OSMesa library bindings for Rust")
1583 (description "This package provides OSMesa library bindings for Rust.")
1584 (license license:cc0)))
1586 (define-public rust-piston-0.49
1588 (name "rust-piston")
1593 (uri (crate-uri "piston" version))
1595 (string-append name "-" version ".tar.gz"))
1598 "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj"))))
1599 (build-system cargo-build-system)
1603 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1604 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1605 ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49))))
1606 (home-page "https://github.com/PistonDevelopers/piston")
1607 (synopsis "Piston game engine core libraries")
1609 "The Piston game engine core libraries.")
1610 (license license:expat)))
1612 (define-public rust-piston-float-1
1614 (name "rust-piston-float")
1619 (uri (crate-uri "piston-float" version))
1621 (string-append name "-" version ".tar.gz"))
1624 "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r"))))
1625 (build-system cargo-build-system)
1626 (arguments `(#:skip-build? #t))
1628 "https://github.com/pistondevelopers/float")
1630 "Traits for generic floats in game development")
1632 "Traits for generic floats in game development")
1633 (license license:expat)))
1635 (define-public rust-piston-gfx-texture-0.40
1637 (name "rust-piston-gfx-texture")
1642 (uri (crate-uri "piston-gfx_texture" version))
1644 (string-append name "-" version ".tar.gz"))
1647 "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz"))))
1648 (build-system cargo-build-system)
1652 (("rust-gfx" ,rust-gfx-0.18)
1653 ("rust-image" ,rust-image-0.22)
1654 ("rust-piston-texture" ,rust-piston-texture-0.8)
1655 ("rust-gfx-core" ,rust-gfx-core-0.9))))
1656 (home-page "https://github.com/pistondevelopers/gfx_texture")
1658 "Gfx texture representation that works nicely with Piston libraries")
1659 (description "This package provides a Gfx texture representation that works
1660 nicely with Piston libraries.")
1661 (license license:expat)))
1663 (define-public rust-piston-graphics-api-version-0.2
1665 (name "rust-piston-graphics-api-version")
1670 (uri (crate-uri "piston-graphics_api_version" version))
1672 (string-append name "-" version ".tar.gz"))
1675 "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5"))))
1676 (build-system cargo-build-system)
1677 (arguments `(#:skip-build? #t))
1679 "https://github.com/PistonDevelopers/graphics_api_version")
1681 "Library for storing graphics API versions")
1683 "This package provides a library for storing graphics API versions")
1684 (license license:expat)))
1686 (define-public rust-piston-shaders-graphics2d-0.3
1688 (name "rust-piston-shaders-graphics2d")
1693 (uri (crate-uri "piston-shaders_graphics2d" version))
1695 (string-append name "-" version ".tar.gz"))
1698 "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p"))))
1699 (build-system cargo-build-system)
1700 (arguments `(#:skip-build? #t))
1702 "https://github.com/PistonDevelopers/shaders")
1703 (synopsis "Shaders for 2D graphics in Rust")
1704 (description "Shaders for 2D graphics in Rust")
1705 (license license:expat)))
1707 (define-public rust-piston-texture-0.8
1709 (name "rust-piston-texture")
1714 (uri (crate-uri "piston-texture" version))
1716 (string-append name "-" version ".tar.gz"))
1719 "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2"))))
1720 (build-system cargo-build-system)
1721 (arguments `(#:skip-build? #t))
1723 "https://github.com/pistondevelopers/texture")
1724 (synopsis "Generic library for textures")
1726 "This package provides a generic library for textures")
1727 (license license:expat)))
1729 (define-public rust-piston-viewport-1
1731 (name "rust-piston-viewport")
1736 (uri (crate-uri "piston-viewport" version))
1738 (string-append name "-" version ".tar.gz"))
1741 "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1"))))
1742 (build-system cargo-build-system)
1746 (("rust-piston-float" ,rust-piston-float-1))))
1747 (home-page "https://github.com/PistonDevelopers/viewport")
1748 (synopsis "Library for storing viewport information")
1750 "This package provides a library for storing viewport information.")
1751 (license license:expat)))
1753 (define-public rust-piston-window-0.105
1755 (name "rust-piston-window")
1760 (uri (crate-uri "piston_window" version))
1762 (string-append name "-" version ".tar.gz"))
1765 "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95"))))
1766 (build-system cargo-build-system)
1770 (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16)
1771 ("rust-gfx" ,rust-gfx-0.18)
1772 ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35)
1773 ("rust-piston" ,rust-piston-0.49)
1774 ("rust-shader-version" ,rust-shader-version-0.6)
1775 ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63)
1776 ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66)
1777 ("rust-piston-texture" ,rust-piston-texture-0.8))))
1778 (home-page "https://github.com/pistondevelopers/piston_window")
1779 (synopsis "Official Piston window wrapper for the Piston game engine")
1781 "The official Piston window wrapper for the Piston game engine.")
1782 (license license:expat)))
1784 (define-public rust-piston2d-gfx-graphics-0.66
1786 (name "rust-piston2d-gfx-graphics")
1791 (uri (crate-uri "piston2d-gfx_graphics" version))
1793 (string-append name "-" version ".tar.gz"))
1796 "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1"))))
1797 (build-system cargo-build-system)
1801 (("rust-gfx" ,rust-gfx-0.18)
1802 ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3)
1803 ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40)
1804 ("rust-shader-version" ,rust-shader-version-0.6)
1805 ("rust-draw-state" ,rust-draw-state-0.8))))
1806 (home-page "https://github.com/PistonDevelopers/gfx_graphics")
1807 (synopsis "Gfx 2D back-end for the Piston game engine")
1809 "This package provides a Gfx 2D back-end for the Piston game engine.")
1810 (license license:expat)))
1812 (define-public rust-piston2d-graphics-0.35
1814 (name "rust-piston2d-graphics")
1819 (uri (crate-uri "piston2d-graphics" version))
1821 (string-append name "-" version ".tar.gz"))
1824 "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g"))))
1825 (build-system cargo-build-system)
1829 (("rust-interpolation" ,rust-interpolation-0.2)
1830 ("rust-rusttype" ,rust-rusttype-0.7)
1831 ("rust-piston-texture" ,rust-piston-texture-0.8)
1832 ("rust-piston-viewport" ,rust-piston-viewport-1)
1833 ("rust-read-color" ,rust-read-color-1)
1834 ("rust-vecmath" ,rust-vecmath-1)
1835 ("rust-fnv" ,rust-fnv-1))))
1836 (home-page "https://github.com/pistondevelopers/graphics")
1837 (synopsis "Library for 2D graphics that works with multiple back-ends")
1838 (description "This package provides a library for 2D graphics that works
1839 with multiple back-ends.")
1840 (license license:expat)))
1842 (define-public rust-pistoncore-event-loop-0.49
1844 (name "rust-pistoncore-event-loop")
1849 (uri (crate-uri "pistoncore-event_loop" version))
1851 (string-append name "-" version ".tar.gz"))
1854 "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm"))))
1855 (build-system cargo-build-system)
1859 (("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1860 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44))))
1861 (home-page "https://github.com/PistonDevelopers/piston")
1862 (synopsis "Piston event loop for games and interactive applications")
1863 (description "This package provides a Piston event loop for games and
1864 interactive applications.")
1865 (license license:expat)))
1867 (define-public rust-pistoncore-glutin-window-0.63
1869 (name "rust-pistoncore-glutin-window")
1874 (uri (crate-uri "pistoncore-glutin_window" version))
1876 (string-append name "-" version ".tar.gz"))
1879 "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc"))))
1880 (build-system cargo-build-system)
1884 (("rust-gl" ,rust-gl-0.11)
1885 ("rust-glutin" ,rust-glutin-0.21)
1886 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)
1887 ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)
1888 ("rust-shader-version" ,rust-shader-version-0.6))))
1889 (home-page "https://github.com/pistondevelopers/glutin_window")
1890 (synopsis "Piston window back-end using the Glutin library")
1892 "This package provides a Piston window back-end using the Glutin library.")
1893 (license license:expat)))
1895 (define-public rust-pistoncore-input-0.28
1897 (name "rust-pistoncore-input")
1902 (uri (crate-uri "pistoncore-input" version))
1904 (string-append name "-" version ".tar.gz"))
1907 "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5"))))
1908 (build-system cargo-build-system)
1912 (("rust-piston-viewport" ,rust-piston-viewport-1)
1913 ("rust-serde" ,rust-serde-1)
1914 ("rust-serde-derive" ,rust-serde-derive-1)
1915 ("rust-bitflags" ,rust-bitflags-1))))
1916 (home-page "https://github.com/PistonDevelopers/piston")
1917 (synopsis "Structure for user input")
1919 "This package provides a structure for user input.")
1920 (license license:expat)))
1922 (define-public rust-pistoncore-window-0.44
1924 (name "rust-pistoncore-window")
1929 (uri (crate-uri "pistoncore-window" version))
1931 (string-append name "-" version ".tar.gz"))
1934 "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q"))))
1935 (build-system cargo-build-system)
1939 (("rust-piston-graphics-api-version"
1940 ,rust-piston-graphics-api-version-0.2)
1941 ("rust-pistoncore-input" ,rust-pistoncore-input-0.28))))
1942 (home-page "https://github.com/PistonDevelopers/piston")
1943 (synopsis "Library for window abstraction")
1945 "This package provides a library for window abstraction.")
1946 (license license:expat)))
1948 (define-public rust-png-0.16
1955 (uri (crate-uri "png" version))
1956 (file-name (string-append name "-" version ".tar.gz"))
1958 (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw"))))
1959 (build-system cargo-build-system)
1963 (("rust-bitflags" ,rust-bitflags-1)
1964 ("rust-crc32fast" ,rust-crc32fast-1)
1965 ("rust-deflate" ,rust-deflate-0.8)
1966 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
1967 (home-page "https://github.com/image-rs/image-png.git")
1968 (synopsis "PNG decoding and encoding library in pure Rust")
1970 "This package is a PNG decoding and encoding library in pure Rust.")
1971 (license (list license:expat license:asl2.0))))
1973 (define-public rust-png-0.15
1975 (inherit rust-png-0.16)
1981 (uri (crate-uri "png" version))
1983 (string-append name "-" version ".tar.gz"))
1986 "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
1990 (("rust-bitflags" ,rust-bitflags-1)
1991 ("rust-crc32fast" ,rust-crc32fast-1)
1992 ("rust-deflate" ,rust-deflate-0.7)
1993 ("rust-inflate" ,rust-inflate-0.4))
1994 #:cargo-development-inputs
1995 (("rust-getopts" ,rust-getopts-0.2)
1996 ;; TODO: glium has many cyclic dependencies with other packages
1997 ;;("rust-glium" ,rust-glium-0.24)
1998 ("rust-glob" ,rust-glob-0.3)
1999 ("rust-rand" ,rust-rand-0.7)
2000 ("rust-term" ,rust-term-0.6))))))
2002 (define-public rust-png-0.14
2004 (inherit rust-png-0.15)
2010 (uri (crate-uri "png" version))
2012 (string-append name "-" version ".tar.gz"))
2015 "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
2019 (("rust-bitflags" ,rust-bitflags-1)
2020 ("rust-deflate" ,rust-deflate-0.7)
2021 ("rust-inflate" ,rust-inflate-0.4)
2022 ("rust-num-iter" ,rust-num-iter-0.1))
2023 #:cargo-development-inputs
2024 (("rust-getopts" ,rust-getopts-0.2)
2025 ;; TODO: glium has many cyclic dependencies with other packages
2026 ;; ("rust-glium" ,rust-glium-0.22)
2027 ("rust-glob" ,rust-glob-0.2)
2028 ("rust-rand" ,rust-rand-0.5)
2029 ("rust-term" ,rust-term-0.4))))))
2031 (define-public rust-png-0.12
2033 (inherit rust-png-0.14)
2039 (uri (crate-uri "png" version))
2041 (string-append name "-" version ".tar.gz"))
2044 "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm"))))
2048 (("rust-bitflags" ,rust-bitflags-1)
2049 ("rust-deflate" ,rust-deflate-0.7)
2050 ("rust-inflate" ,rust-inflate-0.4)
2051 ("rust-num-iter" ,rust-num-iter-0.1))
2052 #:cargo-development-inputs
2053 (("rust-getopts" ,rust-getopts-0.2)
2054 ;; TODO: gluum has many cyclic dependencies with other packages
2055 ;; ("rust-glium" ,rust-glium-0.21)
2056 ("rust-glob" ,rust-glob-0.2)
2057 ("rust-term" ,rust-term-0.4))))))
2059 (define-public rust-ravif-0.6
2066 (uri (crate-uri "ravif" version))
2067 (file-name (string-append name "-" version ".tar.gz"))
2069 (base32 "1gyc7w1fz3qdk95cdpkj185dm6lskxfp329xm69waxc565fcz9rx"))))
2070 (build-system cargo-build-system)
2073 (("rust-avif-serialize" ,rust-avif-serialize-0.6)
2074 ("rust-imgref" ,rust-imgref-1)
2075 ("rust-loop9" ,rust-loop9-0.1)
2076 ("rust-num-cpus" ,rust-num-cpus-1)
2078 ("rust-rayon" ,rust-rayon-1)
2079 ("rust-rgb" ,rust-rgb-0.8))
2080 #:cargo-development-inputs
2081 (("rust-avif-parse" ,rust-avif-parse-0.13))))
2083 (list nasm)) ;for building rav1e
2084 (home-page "https://lib.rs/ravif")
2085 (synopsis "Library for encoding images in AVIF format")
2086 (description "This package is a rav1e-based pure Rust library for encoding
2087 images in AVIF format.")
2088 (license license:bsd-3)))
2090 (define-public rust-raw-window-handle-0.3
2092 (name "rust-raw-window-handle")
2097 (uri (crate-uri "raw-window-handle" version))
2099 (string-append name "-" version ".tar.gz"))
2102 "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
2103 (build-system cargo-build-system)
2105 `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
2106 (home-page "https://github.com/rust-windowing/raw-window-handle")
2107 (synopsis "Interoperability library for Rust Windowing applications")
2109 "Interoperability library for Rust Windowing applications.")
2110 (license license:expat)))
2112 (define-public rust-resize-0.3
2114 (name "rust-resize")
2119 (uri (crate-uri "resize" version))
2121 (string-append name "-" version ".tar.gz"))
2124 "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr"))))
2125 (build-system cargo-build-system)
2127 `(#:cargo-development-inputs
2128 (("rust-png" ,rust-png-0.15))))
2129 (home-page "https://github.com/PistonDevelopers/resize")
2130 (synopsis "Simple image resampling library in pure Rust")
2132 "This package provides a simple image resampling library in pure Rust.")
2133 (license license:expat)))
2135 (define-public rust-rgb-0.8
2142 (uri (crate-uri "rgb" version))
2143 (file-name (string-append name "-" version ".tar.gz"))
2146 "1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8"))))
2147 (build-system cargo-build-system)
2150 (("rust-bytemuck" ,rust-bytemuck-1)
2151 ("rust-serde" ,rust-serde-1))
2152 #:cargo-development-inputs
2153 (("rust-serde-json" ,rust-serde-json-1))))
2154 (home-page "https://lib.rs/crates/rgb")
2155 (synopsis "Struct for sharing pixels between crates")
2157 "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels
2158 between crates + convenience methods for color manipulation. It allows no-copy
2159 high-level interoperability. It also adds common convenience methods and
2160 implements standard Rust traits to make `RGB`/`RGBA` pixels and slices
2161 first-class Rust objects.")
2162 (license license:expat)))
2164 (define-public rust-smithay-client-toolkit-0.12
2166 (name "rust-smithay-client-toolkit")
2171 (uri (crate-uri "smithay-client-toolkit" version))
2172 (file-name (string-append name "-" version ".tar.gz"))
2174 (base32 "1rjdszpf8pns99gyy8f5axf01ckc33f30dddfazyfg45xfii6vii"))))
2175 (build-system cargo-build-system)
2179 (("rust-andrew" ,rust-andrew-0.3)
2180 ("rust-bitflags" ,rust-bitflags-1)
2181 ("rust-calloop" ,rust-calloop-0.6)
2182 ("rust-dlib" ,rust-dlib-0.4)
2183 ("rust-lazy-static" ,rust-lazy-static-1)
2184 ("rust-log" ,rust-log-0.4)
2185 ("rust-memmap2" ,rust-memmap2-0.1)
2186 ("rust-nix" ,rust-nix-0.18)
2187 ("rust-wayland-client" ,rust-wayland-client-0.28)
2188 ("rust-wayland-cursor" ,rust-wayland-cursor-0.28)
2189 ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
2190 (home-page "https://github.com/smithay/client-toolkit")
2191 (synopsis "Toolkit for making client Wayland applications")
2193 "This package provides a toolkit for making client Wayland applications.")
2194 (license license:expat)))
2196 (define-public rust-smithay-client-toolkit-0.6
2198 (inherit rust-smithay-client-toolkit-0.12)
2199 (name "rust-smithay-client-toolkit")
2204 (uri (crate-uri "smithay-client-toolkit" version))
2206 (string-append name "-" version ".tar.gz"))
2209 "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk"))))
2212 (("rust-andrew" ,rust-andrew-0.2)
2213 ("rust-bitflags" ,rust-bitflags-1)
2214 ("rust-dlib" ,rust-dlib-0.4)
2215 ("rust-lazy-static" ,rust-lazy-static-1)
2216 ("rust-memmap" ,rust-memmap-0.7)
2217 ("rust-nix" ,rust-nix-0.14)
2218 ("rust-wayland-client" ,rust-wayland-client-0.23)
2219 ("rust-wayland-protocols" ,rust-wayland-protocols-0.23))
2220 #:cargo-development-inputs
2221 (("rust-byteorder" ,rust-byteorder-1)
2222 ("rust-image" ,rust-image-0.21)
2223 ("rust-wayland-client" ,rust-wayland-client-0.23))))))
2225 (define-public rust-smithay-client-toolkit-0.4
2227 (inherit rust-smithay-client-toolkit-0.6)
2228 (name "rust-smithay-client-toolkit")
2233 (uri (crate-uri "smithay-client-toolkit" version))
2235 (string-append name "-" version ".tar.gz"))
2238 "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc"))))
2241 (("rust-andrew" ,rust-andrew-0.2)
2242 ("rust-bitflags" ,rust-bitflags-1)
2243 ("rust-dlib" ,rust-dlib-0.4)
2244 ("rust-lazy-static" ,rust-lazy-static-1)
2245 ("rust-memmap" ,rust-memmap-0.7)
2246 ("rust-nix" ,rust-nix-0.14)
2247 ("rust-wayland-client" ,rust-wayland-client-0.21)
2248 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2249 ("rust-wayland-protocols" ,rust-wayland-protocols-0.21))
2250 #:cargo-development-inputs
2251 (("rust-byteorder" ,rust-byteorder-1)
2252 ("rust-image" ,rust-image-0.20)
2253 ("rust-wayland-client" ,rust-wayland-client-0.21))))))
2255 (define-public rust-smithay-clipboard-0.6
2257 (name "rust-smithay-clipboard")
2262 (uri (crate-uri "smithay-clipboard" version))
2263 (file-name (string-append name "-" version ".tar.gz"))
2265 (base32 "14dwisd56cbr80zf719l3fh0n8pm1fjmvry9lsbhdbccf8cv525b"))))
2266 (build-system cargo-build-system)
2270 (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2271 ("rust-wayland-client" ,rust-wayland-client-0.28))))
2272 (home-page "https://github.com/smithay/smithay-clipboard")
2273 (synopsis "Access to the Wayland clipboard for client applications")
2275 "This package provides access to the Wayland clipboard for client
2277 (license license:expat)))
2279 (define-public rust-smithay-clipboard-0.3
2281 (inherit rust-smithay-clipboard-0.6)
2282 (name "rust-smithay-clipboard")
2287 (uri (crate-uri "smithay-clipboard" version))
2289 (string-append name "-" version ".tar.gz"))
2292 "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn"))))
2295 (("rust-nix" ,rust-nix-0.14)
2296 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6))
2297 #:cargo-development-inputs
2298 (("rust-andrew" ,rust-andrew-0.2))))
2302 (define-public rust-tiff-0.6
2309 (uri (crate-uri "tiff" version))
2310 (file-name (string-append name "-" version ".tar.gz"))
2312 (base32 "0ds48vs919ccxa3fv1www7788pzkvpg434ilqkq7sjb5dmqg8lws"))))
2313 (build-system cargo-build-system)
2317 (("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1)
2318 ("rust-miniz-oxide" ,rust-miniz-oxide-0.4)
2319 ("rust-weezl" ,rust-weezl-0.1))))
2320 (home-page "https://github.com/image-rs/image-tiff")
2321 (synopsis "TIFF decoding and encoding library in pure Rust")
2323 "This package provides TIFF decoding and encoding library in pure Rust.")
2324 (license license:expat)))
2326 (define-public rust-tiff-0.5
2328 (inherit rust-tiff-0.6)
2334 (uri (crate-uri "tiff" version))
2336 (string-append name "-" version ".tar.gz"))
2339 "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
2341 `(#:tests? #f ; not all test files included
2343 (("rust-byteorder" ,rust-byteorder-1)
2344 ("rust-lzw" ,rust-lzw-0.10)
2345 ("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))))
2347 (define-public rust-tiff-0.3
2349 (inherit rust-tiff-0.5)
2355 (uri (crate-uri "tiff" version))
2357 (string-append name "-" version ".tar.gz"))
2360 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
2362 `(#:tests? #f ; Tests images not included with release.
2364 (("rust-byteorder" ,rust-byteorder-1)
2365 ("rust-lzw" ,rust-lzw-0.10)
2366 ("rust-num-derive" ,rust-num-derive-0.2)
2367 ("rust-num-traits" ,rust-num-traits-0.2))
2368 #:cargo-development-inputs
2369 (("rust-tempfile" ,rust-tempfile-3))))))
2371 (define-public rust-tiff-0.2
2373 (inherit rust-tiff-0.3)
2379 (uri (crate-uri "tiff" version))
2381 (string-append name "-" version ".tar.gz"))
2384 "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y"))))
2387 (("rust-byteorder" ,rust-byteorder-1)
2388 ("rust-lzw" ,rust-lzw-0.10)
2389 ("rust-num-derive" ,rust-num-derive-0.2)
2390 ("rust-num-traits" ,rust-num-traits-0.2))))))
2392 (define-public rust-wayland-client-0.28
2394 (name "rust-wayland-client")
2399 (uri (crate-uri "wayland-client" version))
2400 (file-name (string-append name "-" version ".tar.gz"))
2402 (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx"))))
2403 (build-system cargo-build-system)
2406 (("rust-bitflags" ,rust-bitflags-1)
2407 ("rust-downcast-rs" ,rust-downcast-rs-1)
2408 ("rust-libc" ,rust-libc-0.2)
2409 ("rust-nix" ,rust-nix-0.18)
2410 ("rust-scoped-tls" ,rust-scoped-tls-1))
2411 #:cargo-development-inputs
2412 (("rust-tempfile" ,rust-tempfile-3))))
2414 (list rust-bitflags-1
2419 rust-wayland-commons-0.28
2420 rust-wayland-scanner-0.28
2421 rust-wayland-sys-0.28))
2422 (home-page "https://github.com/smithay/wayland-rs")
2424 "Rust bindings to the standard C implementation of the wayland protocol")
2426 "This package provides Rust bindings to the standard C implementation of
2427 the wayland protocol, client side.")
2428 (license license:expat)))
2430 (define-public rust-wayland-client-0.23
2432 (inherit rust-wayland-client-0.28)
2433 (name "rust-wayland-client")
2438 (uri (crate-uri "wayland-client" version))
2440 (string-append name "-" version ".tar.gz"))
2443 "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g"))))
2447 (("rust-bitflags" ,rust-bitflags-1)
2448 ("rust-calloop" ,rust-calloop-0.4)
2449 ("rust-downcast-rs" ,rust-downcast-rs-1)
2450 ("rust-libc" ,rust-libc-0.2)
2451 ("rust-mio" ,rust-mio-0.6)
2452 ("rust-nix" ,rust-nix-0.14)
2453 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2454 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2455 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))
2456 #:cargo-development-inputs
2457 (("rust-byteorder" ,rust-byteorder-1)
2458 ("rust-tempfile" ,rust-tempfile-3))))
2461 (define-public rust-wayland-client-0.21
2463 (inherit rust-wayland-client-0.23)
2464 (name "rust-wayland-client")
2469 (uri (crate-uri "wayland-client" version))
2471 (string-append name "-" version ".tar.gz"))
2474 "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9"))))
2477 (("rust-bitflags" ,rust-bitflags-1)
2478 ("rust-calloop" ,rust-calloop-0.4)
2479 ("rust-downcast-rs" ,rust-downcast-rs-1)
2480 ("rust-libc" ,rust-libc-0.2)
2481 ("rust-mio" ,rust-mio-0.6)
2482 ("rust-nix" ,rust-nix-0.14)
2483 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2484 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2485 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))
2486 #:cargo-development-inputs
2487 (("rust-byteorder" ,rust-byteorder-1)
2488 ("rust-tempfile" ,rust-tempfile-3))))))
2490 (define-public rust-wayland-commons-0.28
2492 (name "rust-wayland-commons")
2497 (uri (crate-uri "wayland-commons" version))
2498 (file-name (string-append name "-" version ".tar.gz"))
2500 (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128"))))
2501 (build-system cargo-build-system)
2504 (("rust-nix" ,rust-nix-0.18)
2505 ("rust-once-cell" ,rust-once-cell-1)
2506 ("rust-smallvec" ,rust-smallvec-1))))
2508 (list rust-nix-0.18 rust-once-cell-1 rust-smallvec-1
2509 rust-wayland-sys-0.28))
2510 (home-page "https://github.com/smithay/wayland-rs")
2511 (synopsis "Types and structures used by wayland-client and wayland-server")
2513 "This package provides common types and structures used by wayland-client
2514 and wayland-server.")
2515 (license license:expat)))
2517 (define-public rust-wayland-commons-0.23
2519 (inherit rust-wayland-commons-0.28)
2520 (name "rust-wayland-commons")
2525 (uri (crate-uri "wayland-commons" version))
2527 (string-append name "-" version ".tar.gz"))
2530 "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv"))))
2534 (("rust-nix" ,rust-nix-0.14)
2535 ("rust-wayland-sys" ,rust-wayland-sys-0.23))))
2538 (define-public rust-wayland-commons-0.21
2540 (inherit rust-wayland-commons-0.23)
2541 (name "rust-wayland-commons")
2546 (uri (crate-uri "wayland-commons" version))
2548 (string-append name "-" version ".tar.gz"))
2551 "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20"))))
2554 (("rust-nix" ,rust-nix-0.14)
2555 ("rust-wayland-sys" ,rust-wayland-sys-0.21))))))
2557 (define-public rust-wayland-cursor-0.28
2559 (name "rust-wayland-cursor")
2564 (uri (crate-uri "wayland-cursor" version))
2565 (file-name (string-append name "-" version ".tar.gz"))
2567 (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn"))))
2568 (build-system cargo-build-system)
2571 (("rust-nix" ,rust-nix-0.18)
2572 ("rust-xcursor" ,rust-xcursor-0.3))))
2574 (list rust-nix-0.18 rust-wayland-client-0.28 rust-xcursor-0.3))
2575 (home-page "https://github.com/smithay/wayland-rs")
2576 (synopsis "Bindings to libwayland-cursor")
2578 "This crate provides helpers to load the system provided cursor images
2579 and load them into WlBuffers as well as obtain the necessary metadata to
2580 properly display animated cursors.")
2581 (license license:expat)))
2583 (define-public rust-wayland-egl-0.28
2585 (name "rust-wayland-egl")
2590 (uri (crate-uri "wayland-egl" version))
2591 (file-name (string-append name "-" version ".tar.gz"))
2593 (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
2594 (build-system cargo-build-system)
2596 (list rust-wayland-client-0.28 rust-wayland-sys-0.28))
2597 ;; For the PKG_CONFIG_PATH environment variable.
2600 (home-page "https://github.com/smithay/wayland-rs")
2601 (synopsis "Bindings to libwayland-egl")
2603 "This crate provides bindings for OpenGL/Vulkan support for
2604 Wayland client apps. It creates an EGLSurface from any
2605 WlSurface, which can then play the role of the base surface for
2606 initializing an OpenGL or Vulkan context.")
2607 (license license:expat)))
2609 (define-public rust-wayland-protocols-0.28
2611 (name "rust-wayland-protocols")
2616 (uri (crate-uri "wayland-protocols" version))
2617 (file-name (string-append name "-" version ".tar.gz"))
2619 (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii"))))
2620 (build-system cargo-build-system)
2623 (("rust-bitflags" ,rust-bitflags-1))))
2625 (list rust-bitflags-1 rust-wayland-client-0.28
2626 rust-wayland-commons-0.28 rust-wayland-scanner-0.28
2627 rust-wayland-server-0.28))
2628 (home-page "https://github.com/smithay/wayland-rs")
2629 (synopsis "Generated API for the officials Wayland protocol extensions")
2631 "This package provides a generated API for the officials Wayland protocol
2633 (license license:expat)))
2635 (define-public rust-wayland-protocols-0.23
2637 (inherit rust-wayland-protocols-0.28)
2638 (name "rust-wayland-protocols")
2643 (uri (crate-uri "wayland-protocols" version))
2645 (string-append name "-" version ".tar.gz"))
2648 "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc"))))
2652 (("rust-bitflags" ,rust-bitflags-1)
2653 ("rust-wayland-client" ,rust-wayland-client-0.23)
2654 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2655 ("rust-wayland-server" ,rust-wayland-server-0.23)
2656 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2659 (define-public rust-wayland-protocols-0.21
2661 (inherit rust-wayland-protocols-0.23)
2662 (name "rust-wayland-protocols")
2667 (uri (crate-uri "wayland-protocols" version))
2669 (string-append name "-" version ".tar.gz"))
2672 "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa"))))
2675 (("rust-bitflags" ,rust-bitflags-1)
2676 ("rust-wayland-client" ,rust-wayland-client-0.21)
2677 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2678 ("rust-wayland-server" ,rust-wayland-server-0.21)
2679 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2680 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2682 (define-public rust-wayland-scanner-0.28
2684 (name "rust-wayland-scanner")
2689 (uri (crate-uri "wayland-scanner" version))
2690 (file-name (string-append name "-" version ".tar.gz"))
2692 (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
2693 (build-system cargo-build-system)
2695 (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8))
2696 (home-page "https://github.com/smithay/wayland-rs")
2697 (synopsis "Generate Rust APIs from XML Wayland protocol files")
2699 "Wayland Scanner generates Rust APIs from XML Wayland protocol files.
2700 It is intended for use with wayland-sys. You should only need this crate if
2701 you are working on custom Wayland protocol extensions. Look at the
2702 wayland-client crate for usable bindings.")
2703 (license license:expat)))
2705 (define-public rust-wayland-scanner-0.23
2707 (inherit rust-wayland-scanner-0.28)
2708 (name "rust-wayland-scanner")
2713 (uri (crate-uri "wayland-scanner" version))
2715 (string-append name "-" version ".tar.gz"))
2718 "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k"))))
2722 (("rust-proc-macro2" ,rust-proc-macro2-0.4)
2723 ("rust-quote" ,rust-quote-0.6)
2724 ("rust-xml-rs" ,rust-xml-rs-0.8))))))
2726 (define-public rust-wayland-scanner-0.21
2728 (inherit rust-wayland-scanner-0.23)
2729 (name "rust-wayland-scanner")
2734 (uri (crate-uri "wayland-scanner" version))
2736 (string-append name "-" version ".tar.gz"))
2739 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z"))))))
2741 (define-public rust-wayland-server-0.28
2743 (name "rust-wayland-server")
2748 (uri (crate-uri "wayland-server" version))
2749 (file-name (string-append name "-" version ".tar.gz"))
2751 (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93"))))
2752 (build-system cargo-build-system)
2755 (("rust-bitflags" ,rust-bitflags-1)
2756 ("rust-downcast-rs" ,rust-downcast-rs-1)
2757 ("rust-lazy-static" ,rust-lazy-static-1)
2758 ("rust-libc" ,rust-libc-0.2)
2759 ("rust-nix" ,rust-nix-0.18)
2760 ("rust-parking-lot" ,rust-parking-lot-0.11)
2761 ("rust-scoped-tls" ,rust-scoped-tls-1))))
2763 (list rust-bitflags-1
2768 rust-parking-lot-0.11
2770 rust-wayland-commons-0.28
2771 rust-wayland-scanner-0.28
2772 rust-wayland-sys-0.28))
2773 (home-page "https://github.com/smithay/wayland-rs")
2775 "Bindings to the standard C implementation of the wayland protocol")
2777 "This package provides Rust bindings to the standard C implementation of
2778 the wayland protocol, server side.")
2779 (license license:expat)))
2781 (define-public rust-wayland-server-0.23
2783 (inherit rust-wayland-server-0.28)
2784 (name "rust-wayland-server")
2789 (uri (crate-uri "wayland-server" version))
2791 (string-append name "-" version ".tar.gz"))
2794 "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a"))))
2798 (("rust-bitflags" ,rust-bitflags-1)
2799 ("rust-calloop" ,rust-calloop-0.4)
2800 ("rust-downcast-rs" ,rust-downcast-rs-1)
2801 ("rust-libc" ,rust-libc-0.2)
2802 ("rust-mio" ,rust-mio-0.6)
2803 ("rust-nix" ,rust-nix-0.14)
2804 ("rust-wayland-commons" ,rust-wayland-commons-0.23)
2805 ("rust-wayland-sys" ,rust-wayland-sys-0.23)
2806 ("rust-wayland-scanner" ,rust-wayland-scanner-0.23))))
2809 (define-public rust-wayland-server-0.21
2811 (inherit rust-wayland-server-0.23)
2812 (name "rust-wayland-server")
2817 (uri (crate-uri "wayland-server" version))
2819 (string-append name "-" version ".tar.gz"))
2822 "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah"))))
2825 (("rust-bitflags" ,rust-bitflags-1)
2826 ("rust-calloop" ,rust-calloop-0.4)
2827 ("rust-downcast-rs" ,rust-downcast-rs-1)
2828 ("rust-libc" ,rust-libc-0.2)
2829 ("rust-mio" ,rust-mio-0.6)
2830 ("rust-nix" ,rust-nix-0.14)
2831 ("rust-wayland-commons" ,rust-wayland-commons-0.21)
2832 ("rust-wayland-sys" ,rust-wayland-sys-0.21)
2833 ("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
2835 (define-public rust-wayland-sys-0.28
2837 (name "rust-wayland-sys")
2842 (uri (crate-uri "wayland-sys" version))
2843 (file-name (string-append name "-" version ".tar.gz"))
2845 (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7"))))
2846 (build-system cargo-build-system)
2849 (("rust-dlib" ,rust-dlib-0.4)
2850 ("rust-lazy-static" ,rust-lazy-static-1)
2851 ("rust-libc" ,rust-libc-0.2)
2852 ("rust-pkg-config" ,rust-pkg-config-0.3))
2854 (modify-phases %standard-phases
2855 (add-after 'unpack 'patch-libraries
2856 (lambda* (#:key inputs #:allow-other-keys)
2857 (let ((libwayland (assoc-ref inputs "wayland")))
2858 (substitute* (find-files "src" "\\.rs$")
2859 (("libwayland.*\\.so" shared-lib)
2860 (string-append libwayland "/lib/" shared-lib)))
2863 (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2
2864 rust-pkg-config-0.3))
2867 (home-page "https://github.com/smithay/wayland-rs")
2868 (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
2870 "This package provides FFI bindings to the various
2871 @file{libwayland-*.so} libraries. You should only need this crate if
2872 you are working on custom Wayland protocol extensions. Look at the
2873 crate @code{rust-wayland-client} for usable bindings.")
2874 (license license:expat)))
2876 (define-public rust-wayland-sys-0.23
2878 (inherit rust-wayland-sys-0.28)
2879 (name "rust-wayland-sys")
2884 (uri (crate-uri "wayland-sys" version))
2886 (string-append name "-" version ".tar.gz"))
2889 "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr"))))
2893 (("rust-dlib" ,rust-dlib-0.4)
2894 ("rust-lazy-static" ,rust-lazy-static-1)
2895 ("rust-libc" ,rust-libc-0.2))))
2897 (propagated-inputs `())))
2899 (define-public rust-wayland-sys-0.21
2901 (inherit rust-wayland-sys-0.23)
2902 (name "rust-wayland-sys")
2907 (uri (crate-uri "wayland-sys" version))
2909 (string-append name "-" version ".tar.gz"))
2912 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj"))))))
2914 (define-public rust-winit-0.24
2921 (uri (crate-uri "winit" version))
2922 (file-name (string-append name "-" version ".tar.gz"))
2924 (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns"))))
2925 (build-system cargo-build-system)
2929 (("rust-bitflags" ,rust-bitflags-1)
2930 ("rust-cocoa" ,rust-cocoa-0.24)
2931 ("rust-core-foundation" ,rust-core-foundation-0.9)
2932 ("rust-core-graphics" ,rust-core-graphics-0.22)
2933 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
2934 ("rust-dispatch" ,rust-dispatch-0.2)
2935 ("rust-instant" ,rust-instant-0.1)
2936 ("rust-lazy-static" ,rust-lazy-static-1)
2937 ("rust-libc" ,rust-libc-0.2)
2938 ("rust-log" ,rust-log-0.4)
2939 ("rust-mio" ,rust-mio-0.6)
2940 ("rust-mio-extras" ,rust-mio-extras-2)
2941 ("rust-ndk" ,rust-ndk-0.2)
2942 ("rust-ndk-glue" ,rust-ndk-glue-0.2)
2943 ("rust-ndk-sys" ,rust-ndk-sys-0.2)
2944 ("rust-objc" ,rust-objc-0.2)
2945 ("rust-parking-lot" ,rust-parking-lot-0.11)
2946 ("rust-percent-encoding" ,rust-percent-encoding-2)
2947 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
2948 ("rust-serde" ,rust-serde-1)
2949 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12)
2950 ("rust-stdweb" ,rust-stdweb-0.4)
2951 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
2952 ("rust-web-sys" ,rust-web-sys-0.3)
2953 ("rust-winapi" ,rust-winapi-0.3)
2954 ("rust-x11-dl" ,rust-x11-dl-2))))
2956 (list rust-wayland-client-0.28))
2957 (home-page "https://github.com/rust-windowing/winit")
2958 (synopsis "Window creation library")
2960 "Winit is a window creation and management library. It can create
2961 windows and lets you handle events (for example: the window being
2962 resized, a key being pressed, a mouse movement, etc.) produced by
2965 Winit is designed to be a low-level brick in a hierarchy of libraries.
2966 Consequently, in order to show something on the window you need to use
2967 the platform-specific getters provided by winit, or another library.")
2968 (license license:asl2.0)))
2970 (define-public rust-winit-0.20
2972 (inherit rust-winit-0.24)
2974 (version "0.20.0-alpha6")
2978 (uri (crate-uri "winit" version))
2980 (string-append name "-" version ".tar.gz"))
2983 "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z"))
2988 (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch")
2989 (file-name (string-append name "-fix-bindings.patch"))
2992 "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds")))))))
2995 (("rust-android-glue" ,rust-android-glue-0.2)
2996 ("rust-bitflags" ,rust-bitflags-1)
2997 ("rust-calloop" ,rust-calloop-0.4)
2998 ("rust-cocoa" ,rust-cocoa-0.19)
2999 ("rust-core-foundation" ,rust-core-foundation-0.6)
3000 ("rust-core-graphics" ,rust-core-graphics-0.17)
3001 ("rust-core-video-sys" ,rust-core-video-sys-0.1)
3002 ("rust-dispatch" ,rust-dispatch-0.1)
3003 ("rust-instant" ,rust-instant-0.1)
3004 ("rust-lazy-static" ,rust-lazy-static-1)
3005 ("rust-libc" ,rust-libc-0.2)
3006 ("rust-log" ,rust-log-0.4)
3007 ("rust-objc" ,rust-objc-0.2)
3008 ("rust-parking-lot" ,rust-parking-lot-0.10)
3009 ("rust-percent-encoding" ,rust-percent-encoding-2)
3010 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
3011 ("rust-serde" ,rust-serde-1)
3012 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)
3013 ("rust-stdweb" ,rust-stdweb-0.4)
3014 ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
3015 ("rust-wayland-client" ,rust-wayland-client-0.23)
3016 ("rust-web-sys" ,rust-web-sys-0.3)
3017 ("rust-winapi" ,rust-winapi-0.3)
3018 ("rust-x11-dl" ,rust-x11-dl-2))
3019 #:cargo-development-inputs
3020 (("rust-console-log" ,rust-console-log-0.1)
3021 ("rust-env-logger" ,rust-env-logger-0.5)
3022 ("rust-image" ,rust-image-0.21))))))
3024 (define-public rust-winit-0.19
3026 (inherit rust-winit-0.20)
3032 (uri (crate-uri "winit" version))
3034 (string-append name "-" version ".tar.gz"))
3037 "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy"))))
3040 (("rust-android-glue" ,rust-android-glue-0.2)
3041 ("rust-backtrace" ,rust-backtrace-0.3)
3042 ("rust-bitflags" ,rust-bitflags-1)
3043 ("rust-cocoa" ,rust-cocoa-0.18)
3044 ("rust-core-foundation" ,rust-core-foundation-0.6)
3045 ("rust-core-graphics" ,rust-core-graphics-0.17)
3046 ("rust-image" ,rust-image-0.21)
3047 ("rust-lazy-static" ,rust-lazy-static-1)
3048 ("rust-libc" ,rust-libc-0.2)
3049 ("rust-log" ,rust-log-0.4)
3050 ("rust-objc" ,rust-objc-0.2)
3051 ("rust-parking-lot" ,rust-parking-lot-0.9)
3052 ("rust-percent-encoding" ,rust-percent-encoding-2)
3053 ("rust-raw-window-handle" ,rust-raw-window-handle-0.3)
3054 ("rust-serde" ,rust-serde-1)
3055 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)
3056 ("rust-wayland-client" ,rust-wayland-client-0.21)
3057 ("rust-winapi" ,rust-winapi-0.3)
3058 ("rust-x11-dl" ,rust-x11-dl-2))))))
3060 (define-public rust-x11-2
3067 (uri (crate-uri "x11" version))
3069 (string-append name "-" version ".tar.gz"))
3071 (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p"))))
3072 (build-system cargo-build-system)
3075 (("rust-libc" ,rust-libc-0.2)
3076 ("rust-pkg-config" ,rust-pkg-config-0.3))))
3077 (home-page "https://github.com/erlepereira/x11-rs")
3078 (synopsis "X11 library bindings for Rust")
3079 (description "This crate provides X11 library bindings for Rust.")
3080 (license license:expat)))
3082 (define-public rust-x11rb-0.8
3089 (uri (crate-uri "x11rb" version))
3090 (file-name (string-append name "-" version ".tar.gz"))
3092 (base32 "068g5ll4l5f35c2v098hj0kj2c9ma0r7v3pbli164q9g7w5hiyvg"))))
3093 (build-system cargo-build-system)
3097 (("rust-gethostname" ,rust-gethostname-0.2)
3098 ("rust-libc" ,rust-libc-0.2)
3099 ("rust-libloading" ,rust-libloading-0.7)
3100 ("rust-nix" ,rust-nix-0.20)
3101 ("rust-once-cell" ,rust-once-cell-1)
3102 ("rust-winapi" ,rust-winapi-0.3)
3103 ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))
3104 (home-page "https://github.com/psychon/x11rb")
3105 (synopsis "Rust bindings to X11")
3106 (description "This package provides Rust bindings to X11")
3107 (license (list license:expat license:asl2.0))))
3109 (define-public rust-x11-clipboard-0.5
3111 (name "rust-x11-clipboard")
3116 (uri (crate-uri "x11-clipboard" version))
3117 (file-name (string-append name "-" version ".tar.gz"))
3119 (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5"))))
3120 (build-system cargo-build-system)
3124 (("rust-xcb" ,rust-xcb-0.9))))
3125 (home-page "https://github.com/quininer/x11-clipboard")
3126 (synopsis "x11 clipboard support for Rust")
3127 (description "This package provides x11 clipboard support for Rust.")
3128 (license license:expat)))
3130 (define-public rust-x11-clipboard-0.4
3132 (inherit rust-x11-clipboard-0.5)
3133 (name "rust-x11-clipboard")
3138 (uri (crate-uri "x11-clipboard" version))
3140 (string-append name "-" version ".tar.gz"))
3143 "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk"))))
3145 `(#:tests? #f ; Tests require display server.
3146 #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
3150 (define-public rust-x11-dl-2
3152 (name "rust-x11-dl")
3157 (uri (crate-uri "x11-dl" version))
3159 (string-append name "-" version ".tar.gz"))
3161 (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b"))))
3162 (build-system cargo-build-system)
3165 (("rust-lazy-static" ,rust-lazy-static-1)
3166 ("rust-libc" ,rust-libc-0.2)
3167 ("rust-maybe-uninit" ,rust-maybe-uninit-2)
3168 ("rust-pkg-config" ,rust-pkg-config-0.3))))
3169 (home-page "https://github.com/erlepereira/x11-rs.git")
3170 (synopsis "X11 library bindings for Rust")
3171 (description "This package provides X11 library bindings for Rust.")
3172 (license license:cc0)))
3174 (define-public rust-y4m-0.7
3181 (uri (crate-uri "y4m" version))
3182 (file-name (string-append name "-" version ".tar.gz"))
3184 (base32 "1bhdgb7hgx7j92nm6ij5n8wisp50j8ff66ks14jzwdw2mwhrjam7"))))
3185 (build-system cargo-build-system)
3186 (arguments `(#:skip-build? #t))
3187 (home-page "https://github.com/image-rs/y4m")
3188 (synopsis "YUV4MPEG2 (@file{.y4m}) encoder and decoder")
3190 "This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.")
3191 (license license:expat)))
3193 (define-public rust-y4m-0.5
3195 (inherit rust-y4m-0.7)
3201 (uri (crate-uri "y4m" version))
3203 (string-append name "-" version ".tar.gz"))
3206 "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz"))))
3208 `(#:cargo-development-inputs
3209 (("rust-resize" ,rust-resize-0.3))))))