Commit | Line | Data |
---|---|---|
9f86a6da EF |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> | |
3 | ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> | |
4 | ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> | |
5 | ;;; Copyright © 2020 John Soo <jsoo1@asu.edu> | |
6 | ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com> | |
7 | ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org> | |
8 | ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org> | |
9 | ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> | |
10 | ;;; Copyright © 2020 Leo Famulari <leo@famulari.name> | |
ea7728a4 | 11 | ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
cbd33c0d | 12 | ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net> |
9f86a6da EF |
13 | ;;; |
14 | ;;; This file is part of GNU Guix. | |
15 | ;;; | |
16 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
17 | ;;; under the terms of the GNU General Public License as published by | |
18 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
19 | ;;; your option) any later version. | |
20 | ;;; | |
21 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
22 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
23 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24 | ;;; GNU General Public License for more details. | |
25 | ;;; | |
26 | ;;; You should have received a copy of the GNU General Public License | |
27 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
28 | ||
29 | (define-module (gnu packages crates-graphics) | |
30 | #:use-module (guix build-system cargo) | |
31 | #:use-module (guix download) | |
32 | #:use-module ((guix licenses) #:prefix license:) | |
33 | #:use-module (guix packages) | |
34 | #:use-module (gnu packages) | |
35 | #:use-module (gnu packages crates-io) | |
36 | #:use-module (gnu packages freedesktop) | |
37 | #:use-module (gnu packages llvm) | |
38 | #:use-module (gnu packages pkg-config) | |
39 | #:use-module (gnu packages python) | |
40 | #:use-module (gnu packages video)) | |
41 | ||
42 | ;;; | |
43 | ;;; Please: Try to add new module packages in alphabetic order. | |
44 | ||
23416785 NG |
45 | (define-public rust-andrew-0.3 |
46 | (package | |
47 | (name "rust-andrew") | |
48 | (version "0.3.1") | |
49 | (source | |
50 | (origin | |
51 | (method url-fetch) | |
52 | (uri (crate-uri "andrew" version)) | |
53 | (file-name (string-append name "-" version ".tar.gz")) | |
54 | (sha256 | |
55 | (base32 "1kx79z6mh7wwp4pz683bdya54h7w7wpzjcwf834fwbv4vl4znjlc")))) | |
56 | (build-system cargo-build-system) | |
57 | (arguments | |
58 | `(#:skip-build? #t | |
59 | #:cargo-inputs | |
60 | (("rust-bitflags" ,rust-bitflags-1) | |
61 | ("rust-rusttype" ,rust-rusttype-0.9) | |
62 | ("rust-walkdir" ,rust-walkdir-2) | |
63 | ("rust-xdg" ,rust-xdg-2) | |
64 | ("rust-xml-rs" ,rust-xml-rs-0.8)))) | |
65 | (home-page "https://github.com/trimental/andrew") | |
66 | (synopsis "Provides convenient drawing of objects to buffers") | |
67 | (description | |
68 | "The @code{andrew} crate provides convenient drawing of objects such as | |
69 | shapes, lines and text to buffers.") | |
70 | (license license:expat))) | |
71 | ||
9f86a6da EF |
72 | (define-public rust-andrew-0.2 |
73 | (package | |
23416785 | 74 | (inherit rust-andrew-0.3) |
9f86a6da EF |
75 | (name "rust-andrew") |
76 | (version "0.2.1") | |
77 | (source | |
78 | (origin | |
79 | (method url-fetch) | |
80 | (uri (crate-uri "andrew" version)) | |
81 | (file-name | |
82 | (string-append name "-" version ".tar.gz")) | |
83 | (sha256 | |
84 | (base32 | |
85 | "0pmklwcwy8g1jras46fz8xcny779zfqpg4riksrbdhkjk3w0jzwv")))) | |
9f86a6da EF |
86 | (arguments |
87 | `(#:cargo-inputs | |
88 | (("rust-bitflags" ,rust-bitflags-1) | |
89 | ("rust-line-drawing" ,rust-line-drawing-0.7) | |
90 | ("rust-rusttype" ,rust-rusttype-0.7) | |
91 | ("rust-walkdir" ,rust-walkdir-2) | |
ea7728a4 | 92 | ("rust-xdg" ,rust-xdg-2) |
9f86a6da EF |
93 | ("rust-xml-rs" ,rust-xml-rs-0.8)) |
94 | #:cargo-development-inputs | |
95 | (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)))) | |
96 | (inputs | |
23416785 | 97 | `(("wayland" ,wayland))))) |
9f86a6da EF |
98 | |
99 | (define-public rust-ansi-colours-1 | |
100 | (package | |
101 | (name "rust-ansi-colours") | |
102 | (version "1.0.1") | |
103 | (source | |
104 | (origin | |
105 | (method url-fetch) | |
106 | (uri (crate-uri "ansi_colours" version)) | |
107 | (file-name | |
108 | (string-append name "-" version ".tar.gz")) | |
109 | (sha256 | |
110 | (base32 | |
111 | "1dnqmpk68mzvncj37jlv0362kdgsgjxg010c6psagimgh4m303qx")))) | |
112 | (build-system cargo-build-system) | |
113 | (arguments | |
114 | `(#:cargo-inputs | |
115 | (("rust-cc" ,rust-cc-1)) | |
116 | #:cargo-development-inputs | |
117 | (("rust-delta-e" ,rust-delta-e-0.2) | |
118 | ("rust-lab" ,rust-lab-0.4)))) | |
119 | (home-page "https://github.com/mina86/ansi_colours") | |
120 | (synopsis "Palette converter between true-colour and ANSI terminal") | |
121 | (description | |
122 | "@code{ansi_colours} is a library which converts between 24-bit sRGB | |
123 | colours and 8-bit colour palette used by ANSI terminals such as @code{xterm} on | |
124 | @code{rxvt-unicode} in 256-colour mode. | |
125 | The most common use case is when using 24-bit colours in a terminal emulator | |
126 | which only support 8-bit colour palette. This package allows true-colours to be | |
127 | approximated by values supported by the terminal.") | |
128 | (license license:lgpl3+))) | |
129 | ||
130 | (define-public rust-ansi-term-0.12 | |
131 | (package | |
132 | (name "rust-ansi-term") | |
133 | (version "0.12.1") | |
134 | (source | |
135 | (origin | |
136 | (method url-fetch) | |
137 | (uri (crate-uri "ansi_term" version)) | |
138 | (file-name (string-append name "-" version ".crate")) | |
139 | (sha256 | |
140 | (base32 | |
141 | "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm")))) | |
142 | (build-system cargo-build-system) | |
143 | (arguments | |
144 | `(#:cargo-inputs | |
145 | (("rust-serde" ,rust-serde-1) | |
146 | ("rust-winapi" ,rust-winapi-0.3)) | |
147 | #:cargo-development-inputs | |
148 | (("rust-doc-comment" ,rust-doc-comment-0.3) | |
149 | ("rust-regex" ,rust-regex-1) | |
150 | ("rust-serde-json" ,rust-serde-json-1)))) | |
151 | (home-page "https://github.com/ogham/rust-ansi-term") | |
152 | (synopsis "Library for ANSI terminal colours and styles") | |
153 | (description | |
154 | "This is a library for controlling colours and formatting, such as red bold | |
155 | text or blue underlined text, on ANSI terminals.") | |
156 | (license license:expat))) | |
157 | ||
158 | (define-public rust-ansi-term-0.11 | |
159 | (package | |
160 | (inherit rust-ansi-term-0.12) | |
161 | (name "rust-ansi-term") | |
162 | (version "0.11.0") | |
163 | (source | |
164 | (origin | |
165 | (method url-fetch) | |
166 | (uri (crate-uri "ansi_term" version)) | |
167 | (file-name (string-append name "-" version ".crate")) | |
168 | (sha256 | |
169 | (base32 | |
170 | "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf")))) | |
171 | (arguments | |
172 | `(#:skip-build? #t | |
173 | #:cargo-inputs | |
174 | (("rust-winapi" ,rust-winapi-0.3)))))) | |
175 | ||
176 | (define-public rust-ansi-term-0.9 | |
177 | (package | |
178 | (inherit rust-ansi-term-0.11) | |
179 | (name "rust-ansi-term") | |
180 | (version "0.9.0") | |
181 | (source | |
182 | (origin | |
183 | (method url-fetch) | |
184 | (uri (crate-uri "ansi_term" version)) | |
185 | (file-name | |
186 | (string-append name "-" version ".tar.gz")) | |
187 | (sha256 | |
188 | (base32 | |
189 | "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) | |
190 | (arguments `()))) | |
191 | ||
cbd33c0d AC |
192 | (define-public rust-aom-sys-0.2 |
193 | (package | |
194 | (name "rust-aom-sys") | |
195 | (version "0.2.1") | |
196 | (source | |
197 | (origin | |
198 | (method url-fetch) | |
199 | (uri (crate-uri "aom-sys" version)) | |
200 | (file-name | |
201 | (string-append name "-" version ".tar.gz")) | |
202 | (sha256 | |
203 | (base32 | |
204 | "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj")))) | |
205 | (build-system cargo-build-system) | |
206 | (arguments | |
207 | `(#:cargo-inputs | |
208 | (("rust-bindgen" ,rust-bindgen-0.54) | |
209 | ("rust-metadeps" ,rust-metadeps-1.1)))) | |
210 | (native-inputs | |
211 | `(("pkg-config" ,pkg-config))) | |
212 | (inputs | |
213 | `(("libaom" ,libaom) | |
214 | ("clang" ,clang) | |
215 | ("llvm" ,llvm))) | |
216 | (home-page "https://github.com/rust-av/aom-rs") | |
217 | (synopsis "FFI bindings to aom") | |
218 | (description "This package provides FFI bindings to aom.") | |
219 | (license license:expat))) | |
220 | ||
9f86a6da EF |
221 | (define-public rust-aom-sys-0.1 |
222 | (package | |
cbd33c0d | 223 | (inherit rust-aom-sys-0.2) |
9f86a6da EF |
224 | (name "rust-aom-sys") |
225 | (version "0.1.4") | |
226 | (source | |
227 | (origin | |
228 | (method url-fetch) | |
229 | (uri (crate-uri "aom-sys" version)) | |
230 | (file-name | |
231 | (string-append name "-" version ".tar.gz")) | |
232 | (sha256 | |
233 | (base32 | |
234 | "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn")))) | |
235 | (build-system cargo-build-system) | |
236 | (arguments | |
237 | `(#:cargo-inputs | |
238 | (("rust-bindgen" ,rust-bindgen-0.53) | |
73dbcc4b | 239 | ("rust-metadeps" ,rust-metadeps-1.1)))) |
9f86a6da EF |
240 | (native-inputs |
241 | `(("pkg-config" ,pkg-config))) | |
242 | (inputs | |
243 | `(("libaom" ,libaom) | |
73dbcc4b | 244 | ("clang" ,clang) |
cbd33c0d | 245 | ("llvm" ,llvm))))) |
9f86a6da EF |
246 | |
247 | (define-public rust-ascii-canvas-2 | |
248 | (package | |
249 | (name "rust-ascii-canvas") | |
250 | (version "2.0.0") | |
251 | (source | |
252 | (origin | |
253 | (method url-fetch) | |
254 | (uri (crate-uri "ascii-canvas" version)) | |
255 | (file-name (string-append name "-" version ".tar.gz")) | |
256 | (sha256 | |
257 | (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz")))) | |
258 | (build-system cargo-build-system) | |
259 | (arguments | |
260 | `(#:skip-build? #t ;; TODO: failes due to an unresolved import | |
261 | #:cargo-inputs | |
262 | (("rust-term" ,rust-term-0.5)))) | |
263 | (home-page "https://github.com/nikomatsakis/ascii-canvas") | |
264 | (synopsis "Simple canvas for drawing lines and styled text and emitting to | |
265 | the terminal") | |
266 | (description "@code{ASCII} canvas is a simple Rust library that allows you | |
267 | to draw lines and colored text and then write them to the terminal. It uses | |
268 | the term library to handle the ANSI nonsense and hence it works on Windows, | |
269 | Mac, and Unix.") | |
270 | (license (list license:asl2.0 license:expat)))) | |
271 | ||
272 | (define-public rust-cgl-0.3 | |
273 | (package | |
274 | (name "rust-cgl") | |
275 | (version "0.3.2") | |
276 | (source | |
277 | (origin | |
278 | (method url-fetch) | |
279 | (uri (crate-uri "cgl" version)) | |
280 | (file-name | |
281 | (string-append name "-" version ".tar.gz")) | |
282 | (sha256 | |
283 | (base32 | |
284 | "1zs7skrsyrsm759vfy2cygkx52fx91b567a12bpaz1sf4d8hbv8c")))) | |
285 | (build-system cargo-build-system) | |
286 | (arguments | |
287 | `(#:skip-build? #t ; only available on macOS | |
288 | #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) | |
289 | (home-page "https://github.com/servo/cgl-rs") | |
290 | (synopsis "Rust bindings for CGL on Mac") | |
291 | (description "Rust bindings for CGL on Mac.") | |
292 | (license (list license:expat license:asl2.0)))) | |
293 | ||
294 | (define-public rust-cgl-0.2 | |
295 | (package | |
296 | (inherit rust-cgl-0.3) | |
297 | (name "rust-cgl") | |
298 | (version "0.2.3") | |
299 | (source | |
300 | (origin | |
301 | (method url-fetch) | |
302 | (uri (crate-uri "cgl" version)) | |
303 | (file-name | |
304 | (string-append name "-" version ".tar.gz")) | |
305 | (sha256 | |
306 | (base32 | |
307 | "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm")))) | |
308 | (arguments | |
309 | `(#:skip-build? #t ; only available on macOS | |
310 | #:cargo-inputs | |
311 | (("rust-gleam" ,rust-gleam-0.6) | |
312 | ("rust-libc" ,rust-libc-0.2)))))) | |
313 | ||
314 | (define-public rust-cgmath-0.17 | |
315 | (package | |
316 | (name "rust-cgmath") | |
317 | (version "0.17.0") | |
318 | (source | |
319 | (origin | |
320 | (method url-fetch) | |
321 | (uri (crate-uri "cgmath" version)) | |
322 | (file-name | |
323 | (string-append name "-" version ".tar.gz")) | |
324 | (sha256 | |
325 | (base32 | |
326 | "1rvgila6ivr0dh1bxza450a4yfwdi2pwj3h1vnwg0jy4xk6l8f98")))) | |
327 | (build-system cargo-build-system) | |
328 | (arguments | |
329 | `(#:skip-build? #t ; Crate won't build without glium. | |
330 | #:cargo-inputs | |
331 | (("rust-approx" ,rust-approx-0.3) | |
332 | ("rust-mint" ,rust-mint-0.5) | |
333 | ("rust-num-traits" ,rust-num-traits-0.2) | |
334 | ("rust-rand" ,rust-rand-0.6) | |
335 | ("rust-serde" ,rust-serde-1) | |
336 | ("rust-simd" ,rust-simd-0.2)) | |
337 | #:cargo-development-inputs | |
338 | (;("rust-glium" ,rust-glium-0.23) | |
339 | ("rust-serde-json" ,rust-serde-json-1)))) | |
340 | (home-page "https://github.com/brendanzab/cgmath") | |
341 | (synopsis "Linear algebra and mathematics library") | |
342 | (description | |
343 | "This package provides a linear algebra and mathematics library | |
344 | for computer graphics.") | |
345 | (license license:asl2.0))) | |
346 | ||
347 | (define-public rust-cgmath-0.16 | |
348 | (package | |
349 | (inherit rust-cgmath-0.17) | |
350 | (name "rust-cgmath") | |
351 | (version "0.16.1") | |
352 | (source | |
353 | (origin | |
354 | (method url-fetch) | |
355 | (uri (crate-uri "cgmath" version)) | |
356 | (file-name | |
357 | (string-append name "-" version ".tar.gz")) | |
358 | (sha256 | |
359 | (base32 | |
360 | "07754c03v3srzf64ghsl3fggrdi4kjy6l3vyq2d2wfjfixybb934")))) | |
361 | (arguments | |
362 | `(#:skip-build? #t ; Crate won't build without glium. | |
363 | #:cargo-inputs | |
364 | (("rust-approx" ,rust-approx-0.1) | |
365 | ("rust-mint" ,rust-mint-0.5) | |
366 | ("rust-num-traits" ,rust-num-traits-0.1) | |
367 | ("rust-rand" ,rust-rand-0.4) | |
368 | ("rust-serde" ,rust-serde-1) | |
369 | ("rust-simd" ,rust-simd-0.2)) | |
370 | #:cargo-development-inputs | |
371 | (;("rust-glium" ,rust-glium-0.19) | |
372 | ("rust-serde-json" ,rust-serde-json-1)))))) | |
373 | ||
58b30a50 NG |
374 | (define-public rust-core-graphics-0.21 |
375 | (package | |
376 | (name "rust-core-graphics") | |
377 | (version "0.21.1") | |
378 | (source | |
379 | (origin | |
380 | (method url-fetch) | |
381 | (uri (crate-uri "core-graphics" version)) | |
382 | (file-name (string-append name "-" version ".tar.gz")) | |
383 | (sha256 | |
384 | (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha")))) | |
385 | (build-system cargo-build-system) | |
386 | (arguments | |
387 | `(#:skip-build? #t | |
388 | #:cargo-inputs | |
389 | (("rust-bitflags" ,rust-bitflags-1) | |
390 | ("rust-core-foundation" ,rust-core-foundation-0.9) | |
391 | ("rust-core-graphics-types" ,rust-core-graphics-types-0.1) | |
392 | ("rust-foreign-types" ,rust-foreign-types-0.3) | |
393 | ("rust-libc" ,rust-libc-0.2)))) | |
394 | (home-page "https://github.com/servo/core-graphics-rs") | |
395 | (synopsis "Bindings to Core Graphics for macOS") | |
396 | (description | |
397 | "This package provides bindings to Core Graphics for macOS.") | |
398 | (license (list license:expat license:asl2.0)))) | |
399 | ||
dc7912ce NG |
400 | (define-public rust-core-graphics-0.19 |
401 | (package | |
402 | (inherit rust-core-graphics-0.21) | |
403 | (name "rust-core-graphics") | |
404 | (version "0.19.2") | |
405 | (source | |
406 | (origin | |
407 | (method url-fetch) | |
408 | (uri (crate-uri "core-graphics" version)) | |
409 | (file-name (string-append name "-" version ".tar.gz")) | |
410 | (sha256 | |
411 | (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k")))) | |
412 | (arguments | |
413 | `(#:skip-build? #t | |
414 | #:cargo-inputs | |
415 | (("rust-bitflags" ,rust-bitflags-1) | |
416 | ("rust-core-foundation" ,rust-core-foundation-0.7) | |
417 | ("rust-foreign-types" ,rust-foreign-types-0.3) | |
418 | ("rust-libc" ,rust-libc-0.2)))))) | |
419 | ||
9f86a6da EF |
420 | (define-public rust-core-graphics-0.17 |
421 | (package | |
58b30a50 | 422 | (inherit rust-core-graphics-0.21) |
9f86a6da EF |
423 | (name "rust-core-graphics") |
424 | (version "0.17.3") | |
425 | (source | |
426 | (origin | |
427 | (method url-fetch) | |
428 | (uri (crate-uri "core-graphics" version)) | |
429 | (file-name | |
430 | (string-append name "-" version ".tar.gz")) | |
431 | (sha256 | |
432 | (base32 | |
433 | "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan")))) | |
9f86a6da EF |
434 | (arguments |
435 | `(#:skip-build? #t ; only for macOS | |
436 | #:cargo-inputs | |
437 | (("rust-bitflags" ,rust-bitflags-1) | |
438 | ("rust-core-foundation" ,rust-core-foundation-0.6) | |
439 | ("rust-foreign-types" ,rust-foreign-types-0.3) | |
58b30a50 | 440 | ("rust-libc" ,rust-libc-0.2)))))) |
9f86a6da | 441 | |
0b00d063 NG |
442 | (define-public rust-core-graphics-types-0.1 |
443 | (package | |
444 | (name "rust-core-graphics-types") | |
445 | (version "0.1.1") | |
446 | (source | |
447 | (origin | |
448 | (method url-fetch) | |
449 | (uri (crate-uri "core-graphics-types" version)) | |
450 | (file-name (string-append name "-" version ".tar.gz")) | |
451 | (sha256 | |
452 | (base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s")))) | |
453 | (build-system cargo-build-system) | |
454 | (arguments | |
455 | `(#:skip-build? #t | |
456 | #:cargo-inputs | |
457 | (("rust-bitflags" ,rust-bitflags-1) | |
458 | ("rust-core-foundation" ,rust-core-foundation-0.9) | |
459 | ("rust-foreign-types" ,rust-foreign-types-0.3) | |
460 | ("rust-libc" ,rust-libc-0.2)))) | |
461 | (home-page "https://github.com/servo/core-foundation-rs") | |
462 | (synopsis "Bindings for some fundamental Core Graphics types") | |
463 | (description | |
464 | "This package provides bindings for some fundamental Core Graphics | |
465 | types.") | |
466 | (license (list license:expat license:asl2.0)))) | |
467 | ||
9f86a6da EF |
468 | (define-public rust-core-video-sys-0.1 |
469 | (package | |
470 | (name "rust-core-video-sys") | |
bc5f82f7 | 471 | (version "0.1.4") |
9f86a6da EF |
472 | (source |
473 | (origin | |
474 | (method url-fetch) | |
475 | (uri (crate-uri "core-video-sys" version)) | |
bc5f82f7 | 476 | (file-name (string-append name "-" version ".tar.gz")) |
9f86a6da | 477 | (sha256 |
bc5f82f7 | 478 | (base32 "0a1qbn50jrb5hxrfshyb7y0f3pbf4ily6i6nciv7bn8ac4isvv1l")))) |
9f86a6da EF |
479 | (build-system cargo-build-system) |
480 | (arguments | |
bc5f82f7 | 481 | `(#:skip-build? #t |
9f86a6da EF |
482 | #:cargo-inputs |
483 | (("rust-cfg-if" ,rust-cfg-if-0.1) | |
bc5f82f7 NG |
484 | ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) |
485 | ("rust-core-graphics" ,rust-core-graphics-0.19) | |
9f86a6da | 486 | ("rust-libc" ,rust-libc-0.2) |
bc5f82f7 | 487 | ("rust-metal" ,rust-metal-0.18) |
9f86a6da EF |
488 | ("rust-objc" ,rust-objc-0.2)))) |
489 | (home-page "https://github.com/luozijun/rust-core-video-sys") | |
490 | (synopsis "Bindings to CoreVideo.framework for macOS and iOS") | |
bc5f82f7 NG |
491 | (description |
492 | "This package provides bindings to CoreVideo.framework for macOS | |
493 | and iOS.") | |
9f86a6da EF |
494 | (license license:expat))) |
495 | ||
496 | (define-public rust-dav1d-sys-0.3 | |
497 | (package | |
498 | (name "rust-dav1d-sys") | |
499 | (version "0.3.2") | |
500 | (source | |
501 | (origin | |
502 | (method url-fetch) | |
503 | (uri (crate-uri "dav1d-sys" version)) | |
504 | (file-name | |
505 | (string-append name "-" version ".tar.gz")) | |
506 | (sha256 | |
507 | (base32 | |
508 | "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx")))) | |
509 | (build-system cargo-build-system) | |
510 | (arguments | |
511 | `(#:cargo-inputs | |
512 | (("rust-bindgen" ,rust-bindgen-0.54) | |
73dbcc4b EF |
513 | ("rust-metadeps" ,rust-metadeps-1.1)))) |
514 | (native-inputs | |
515 | `(("pkg-config" ,pkg-config))) | |
9f86a6da EF |
516 | (inputs |
517 | `(("dav1d" ,dav1d) | |
73dbcc4b | 518 | ("clang" ,clang) |
9f86a6da EF |
519 | ("llvm" ,llvm))) |
520 | (home-page "https://github.com/rust-av/dav1d-rs") | |
521 | (synopsis "FFI bindings to dav1d") | |
522 | (description "This package provides FFI bindings to dav1d.") | |
523 | (license license:expat))) | |
524 | ||
525 | (define-public rust-euclid-0.20 | |
526 | (package | |
527 | (name "rust-euclid") | |
528 | (version "0.20.10") | |
529 | (source | |
530 | (origin | |
531 | (method url-fetch) | |
532 | (uri (crate-uri "euclid" version)) | |
533 | (file-name | |
534 | (string-append name "-" version ".tar.gz")) | |
535 | (sha256 | |
536 | (base32 | |
537 | "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc")))) | |
538 | (build-system cargo-build-system) | |
539 | (arguments | |
540 | `(#:cargo-inputs | |
541 | (("rust-mint" ,rust-mint-0.5) | |
542 | ("rust-num-traits" ,rust-num-traits-0.2) | |
543 | ("rust-serde" ,rust-serde-1)) | |
544 | #:cargo-development-inputs | |
545 | (("rust-serde-test" ,rust-serde-test-1)))) | |
546 | (home-page "https://github.com/servo/euclid") | |
547 | (synopsis "Geometry primitives") | |
548 | (description "Geometry primitives written in Rust.") | |
549 | (license (list license:expat license:asl2.0)))) | |
550 | ||
551 | (define-public rust-gfx-0.18 | |
552 | (package | |
553 | (name "rust-gfx") | |
554 | (version "0.18.2") | |
555 | (source | |
556 | (origin | |
557 | (method url-fetch) | |
558 | (uri (crate-uri "gfx" version)) | |
559 | (file-name | |
560 | (string-append name "-" version ".tar.gz")) | |
561 | (sha256 | |
562 | (base32 | |
563 | "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1")))) | |
564 | (build-system cargo-build-system) | |
565 | (arguments | |
566 | `(#:skip-build? #t | |
567 | #:cargo-inputs | |
568 | (("rust-log" ,rust-log-0.4) | |
569 | ("rust-mint" ,rust-mint-0.5) | |
570 | ("rust-draw-state" ,rust-draw-state-0.8) | |
571 | ("rust-gfx-core" ,rust-gfx-core-0.9)))) | |
572 | (home-page "https://github.com/gfx-rs/gfx") | |
573 | (synopsis "High-performance, bindless graphics API") | |
574 | (description | |
575 | "This package provides a high-performance, bindless graphics API.") | |
576 | (license license:asl2.0))) | |
577 | ||
578 | (define-public rust-gfx-core-0.9 | |
579 | (package | |
580 | (name "rust-gfx-core") | |
581 | (version "0.9.2") | |
582 | (source | |
583 | (origin | |
584 | (method url-fetch) | |
585 | (uri (crate-uri "gfx_core" version)) | |
586 | (file-name | |
587 | (string-append name "-" version ".tar.gz")) | |
588 | (sha256 | |
589 | (base32 | |
590 | "0haldr99n12d90vqgvl77n59hywlklhdff85j2aljaz1yapdvyvm")))) | |
591 | (build-system cargo-build-system) | |
592 | (arguments | |
593 | `(#:skip-build? #t | |
594 | #:cargo-inputs | |
595 | (("rust-log" ,rust-log-0.4) | |
596 | ("rust-mint" ,rust-mint-0.5) | |
597 | ("rust-draw-state" ,rust-draw-state-0.8) | |
598 | ("rust-serde" ,rust-serde-1) | |
599 | ("rust-bitflags" ,rust-bitflags-1)))) | |
600 | (home-page "https://github.com/gfx-rs/gfx") | |
601 | (synopsis "Core library of Gfx-rs") | |
602 | (description "This package is a core library of Gfx-rs.") | |
603 | (license license:asl2.0))) | |
604 | ||
605 | (define-public rust-gfx-device-gl-0.16 | |
606 | (package | |
607 | (name "rust-gfx-device-gl") | |
608 | (version "0.16.2") | |
609 | (source | |
610 | (origin | |
611 | (method url-fetch) | |
612 | (uri (crate-uri "gfx_device_gl" version)) | |
613 | (file-name | |
614 | (string-append name "-" version ".tar.gz")) | |
615 | (sha256 | |
616 | (base32 | |
617 | "1g5yg19jvxdmviljyakhd6253bnb2qg7v8iscf48ihc0ldgki70h")))) | |
618 | (build-system cargo-build-system) | |
619 | (arguments | |
620 | `(#:skip-build? #t | |
621 | #:cargo-inputs | |
622 | (("rust-log" ,rust-log-0.4) | |
623 | ("rust-gfx-gl" ,rust-gfx-gl-0.6) | |
624 | ("rust-gfx-core" ,rust-gfx-core-0.9)))) | |
625 | (home-page "https://github.com/gfx-rs/gfx") | |
626 | (synopsis "OpenGL backend for gfx-rs") | |
627 | (description "This package provides the openGL backend for gfx-rs.") | |
628 | (license license:asl2.0))) | |
629 | ||
630 | (define-public rust-gfx-gl-0.6 | |
631 | (package | |
632 | (name "rust-gfx-gl") | |
633 | (version "0.6.1") | |
634 | (source | |
635 | (origin | |
636 | (method url-fetch) | |
637 | (uri (crate-uri "gfx_gl" version)) | |
638 | (file-name | |
639 | (string-append name "-" version ".tar.gz")) | |
640 | (sha256 | |
641 | (base32 | |
642 | "0ppzj4bgjawdqz3fvnscqk8lnmgh95pwzh0v96vwy809cxj83lzj")))) | |
643 | (build-system cargo-build-system) | |
644 | (arguments | |
645 | `(#:skip-build? #t | |
646 | #:cargo-inputs | |
647 | (("rust-gl-generator" ,rust-gl-generator-0.14)))) | |
648 | (home-page "https://github.com/gfx-rs/gfx_gl") | |
649 | (synopsis "OpenGL bindings for gfx, based on gl-rs") | |
650 | (description | |
651 | "This package provides OpenGL bindings for gfx, based on gl-rs.") | |
652 | (license license:asl2.0))) | |
653 | ||
654 | (define-public rust-gif-0.10 | |
655 | (package | |
656 | (name "rust-gif") | |
657 | (version "0.10.3") | |
658 | (source | |
659 | (origin | |
660 | (method url-fetch) | |
661 | (uri (crate-uri "gif" version)) | |
662 | (file-name | |
663 | (string-append name "-" version ".tar.gz")) | |
664 | (sha256 | |
665 | (base32 | |
666 | "1bw174f7civdfgryvc8pvyhicpr96hzdajnda4s3y8iv3ch907a7")))) | |
667 | (build-system cargo-build-system) | |
668 | (arguments | |
669 | `(#:tests? #f ; tests not included in release | |
670 | #:cargo-inputs | |
671 | (("rust-color-quant" ,rust-color-quant-1.0) | |
672 | ("rust-libc" ,rust-libc-0.2) | |
673 | ("rust-lzw" ,rust-lzw-0.10)) | |
674 | #:cargo-development-inputs | |
675 | (("rust-glob" ,rust-glob-0.3)))) | |
676 | (home-page "https://github.com/image-rs/image-gif") | |
677 | (synopsis "GIF decoder and encoder") | |
678 | (description "This package provides a GIF decoder and encoder in Rust.") | |
679 | (license (list license:expat license:asl2.0)))) | |
680 | ||
681 | (define-public rust-gl-0.11 | |
682 | (package | |
683 | (name "rust-gl") | |
684 | (version "0.11.0") | |
685 | (source | |
686 | (origin | |
687 | (method url-fetch) | |
688 | (uri (crate-uri "gl" version)) | |
689 | (file-name | |
690 | (string-append name "-" version ".tar.gz")) | |
691 | (sha256 | |
692 | (base32 | |
693 | "1wcqpyhck0xriffkmgmldy33lwk2044hb4l02d44vm4fbvicin6p")))) | |
694 | (build-system cargo-build-system) | |
695 | (arguments | |
696 | `(#:skip-build? #t | |
697 | #:cargo-inputs | |
698 | (("rust-gl-generator" ,rust-gl-generator-0.10)))) | |
699 | (home-page "https://github.com/brendanzab/gl-rs/") | |
700 | (synopsis "OpenGL bindings for rust") | |
701 | (description "This package provides OpenGL bindings for rust.") | |
702 | (license license:asl2.0))) | |
703 | ||
704 | (define-public rust-gl-generator-0.14 | |
705 | (package | |
706 | (name "rust-gl-generator") | |
707 | (version "0.14.0") | |
708 | (source | |
709 | (origin | |
710 | (method url-fetch) | |
711 | (uri (crate-uri "gl-generator" version)) | |
712 | (file-name | |
713 | (string-append name "-" version ".tar.gz")) | |
714 | (sha256 | |
715 | (base32 | |
716 | "0k8j1hmfnff312gy7x1aqjzcm8zxid7ij7dlb8prljib7b1dz58s")))) | |
717 | (build-system cargo-build-system) | |
718 | (arguments | |
719 | `(#:cargo-inputs | |
720 | (("rust-khronos-api" ,rust-khronos-api-3) | |
721 | ("rust-log" ,rust-log-0.4) | |
722 | ("rust-xml-rs" ,rust-xml-rs-0.8)))) | |
723 | (home-page "https://github.com/brendanzab/gl-rs/") | |
724 | (synopsis "Code generators for bindings to the Khronos OpenGL APIs") | |
725 | (description | |
726 | "Code generators for creating bindings to the Khronos OpenGL APIs.") | |
727 | (license license:asl2.0))) | |
728 | ||
729 | (define-public rust-gl-generator-0.13 | |
730 | (package | |
731 | (inherit rust-gl-generator-0.14) | |
732 | (name "rust-gl-generator") | |
733 | (version "0.13.1") | |
734 | (source | |
735 | (origin | |
736 | (method url-fetch) | |
737 | (uri (crate-uri "gl-generator" version)) | |
738 | (file-name | |
739 | (string-append name "-" version ".tar.gz")) | |
740 | (sha256 | |
741 | (base32 | |
742 | "0jpqjqpyrl73sf8y20p5rv50qz8glnsvv9infg8h4vi52zgbp66a")))))) | |
743 | ||
744 | (define-public rust-gl-generator-0.11 | |
745 | (package | |
746 | (inherit rust-gl-generator-0.13) | |
747 | (name "rust-gl-generator") | |
748 | (version "0.11.0") | |
749 | (source | |
750 | (origin | |
751 | (method url-fetch) | |
752 | (uri (crate-uri "gl-generator" version)) | |
753 | (file-name | |
754 | (string-append name "-" version ".tar.gz")) | |
755 | (sha256 | |
756 | (base32 | |
757 | "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir")))))) | |
758 | ||
759 | (define-public rust-gl-generator-0.10 | |
760 | (package | |
761 | (name "rust-gl-generator") | |
762 | (version "0.10.0") | |
763 | (source | |
764 | (origin | |
765 | (method url-fetch) | |
766 | (uri (crate-uri "gl_generator" version)) | |
767 | (file-name | |
768 | (string-append name "-" version ".tar.gz")) | |
769 | (sha256 | |
770 | (base32 | |
771 | "0146yd4i9wbgfrhnkc04w7n7civbanznc0q87skp6v7p7hbszzx0")))) | |
772 | (build-system cargo-build-system) | |
773 | (arguments | |
774 | `(#:skip-build? #t | |
775 | #:cargo-inputs | |
776 | (("rust-log" ,rust-log-0.4) | |
777 | ("rust-xml-rs" ,rust-xml-rs-0.8) | |
778 | ("rust-khronos-api" ,rust-khronos-api-3)))) | |
779 | (home-page "https://github.com/brendanzab/gl-rs/") | |
780 | (synopsis | |
781 | "Code generators for creating bindings to the Khronos OpenGL APIs") | |
782 | (description | |
783 | "Code generators for creating bindings to the Khronos OpenGL APIs.") | |
784 | (license license:asl2.0))) | |
785 | ||
786 | (define-public rust-gleam-0.6 | |
787 | (package | |
788 | (name "rust-gleam") | |
789 | (version "0.6.19") | |
790 | (source | |
791 | (origin | |
792 | (method url-fetch) | |
793 | (uri (crate-uri "gleam" version)) | |
794 | (file-name | |
795 | (string-append name "-" version ".tar.gz")) | |
796 | (sha256 | |
797 | (base32 | |
798 | "1iazvk3kvw3620gm6x8hy2x1lz51k04acl78cr3ppryhk5y0vqfa")))) | |
799 | (build-system cargo-build-system) | |
800 | (arguments | |
801 | `(#:cargo-inputs | |
802 | (("rust-gl-generator" ,rust-gl-generator-0.13)))) | |
803 | (home-page "https://github.com/servo/gleam") | |
804 | (synopsis "Generated OpenGL bindings and wrapper for Servo") | |
805 | (description | |
806 | "Generated OpenGL bindings and wrapper for Servo.") | |
807 | (license (list license:asl2.0 license:expat)))) | |
808 | ||
1d127ccb NG |
809 | (define-public rust-glutin-0.26 |
810 | (package | |
811 | (name "rust-glutin") | |
812 | (version "0.26.0") | |
813 | (source | |
814 | (origin | |
815 | (method url-fetch) | |
816 | (uri (crate-uri "glutin" version)) | |
817 | (file-name (string-append name "-" version ".tar.gz")) | |
818 | (sha256 | |
819 | (base32 "18szbh4dixcr7pmymvbrpv21hv0wrpii5w03rv2534bb2ywwpq8s")))) | |
820 | (build-system cargo-build-system) | |
821 | (arguments | |
822 | `(#:skip-build? #t | |
823 | #:cargo-inputs | |
824 | (("rust-android-glue" ,rust-android-glue-0.2) | |
825 | ("rust-cgl" ,rust-cgl-0.3) | |
826 | ("rust-cocoa" ,rust-cocoa-0.23) | |
827 | ("rust-core-foundation" ,rust-core-foundation-0.9) | |
828 | ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) | |
829 | ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) | |
830 | ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) | |
831 | ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) | |
832 | ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) | |
833 | ("rust-lazy-static" ,rust-lazy-static-1) | |
834 | ("rust-libloading" ,rust-libloading-0.6) | |
835 | ("rust-log" ,rust-log-0.4) | |
836 | ("rust-objc" ,rust-objc-0.2) | |
837 | ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) | |
838 | ("rust-parking-lot" ,rust-parking-lot-0.11) | |
839 | ("rust-wayland-client" ,rust-wayland-client-0.28) | |
840 | ("rust-wayland-egl" ,rust-wayland-egl-0.28) | |
841 | ("rust-winapi" ,rust-winapi-0.3) | |
842 | ("rust-winit" ,rust-winit-0.24)))) | |
843 | (home-page "https://github.com/tomaka/glutin") | |
844 | (synopsis "Cross-platform OpenGL context provider") | |
845 | (description "This package provides an OpenGL context provider.") | |
846 | (license license:asl2.0))) | |
847 | ||
9f86a6da EF |
848 | (define-public rust-glutin-0.22 |
849 | (package | |
1d127ccb | 850 | (inherit rust-glutin-0.26) |
9f86a6da EF |
851 | (name "rust-glutin") |
852 | (version "0.22.0-alpha5") | |
853 | (source | |
854 | (origin | |
855 | (method url-fetch) | |
856 | (uri (crate-uri "glutin" version)) | |
857 | (file-name | |
858 | (string-append name "-" version ".tar.gz")) | |
859 | (sha256 | |
860 | (base32 | |
861 | "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag")))) | |
9f86a6da EF |
862 | (arguments |
863 | `(#:cargo-inputs | |
864 | (("rust-android-glue" ,rust-android-glue-0.2) | |
865 | ("rust-cgl" ,rust-cgl-0.3) | |
866 | ("rust-cocoa" ,rust-cocoa-0.19) | |
867 | ("rust-core-foundation" ,rust-core-foundation-0.6) | |
868 | ("rust-core-graphics" ,rust-core-graphics-0.17) | |
869 | ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) | |
870 | ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) | |
871 | ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) | |
872 | ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) | |
873 | ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) | |
874 | ("rust-lazy-static" ,rust-lazy-static-1) | |
875 | ("rust-libloading" ,rust-libloading-0.5) | |
876 | ("rust-log" ,rust-log-0.4) | |
877 | ("rust-objc" ,rust-objc-0.2) | |
878 | ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) | |
879 | ("rust-parking-lot" ,rust-parking-lot-0.9) | |
880 | ("rust-wayland-client" ,rust-wayland-client-0.23) | |
881 | ("rust-winapi" ,rust-winapi-0.3) | |
1d127ccb | 882 | ("rust-winit" ,rust-winit-0.20)))))) |
9f86a6da EF |
883 | |
884 | (define-public rust-glutin-0.21 | |
885 | (package | |
886 | (inherit rust-glutin-0.22) | |
887 | (name "rust-glutin") | |
888 | (version "0.21.2") | |
889 | (source | |
890 | (origin | |
891 | (method url-fetch) | |
892 | (uri (crate-uri "glutin" version)) | |
893 | (file-name | |
894 | (string-append name "-" version ".tar.gz")) | |
895 | (sha256 | |
896 | (base32 | |
897 | "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak")))) | |
898 | (arguments | |
899 | `(#:cargo-inputs | |
900 | (("rust-android-glue" ,rust-android-glue-0.2) | |
901 | ("rust-cgl" ,rust-cgl-0.2) | |
902 | ("rust-cocoa" ,rust-cocoa-0.18) | |
903 | ("rust-core-foundation" ,rust-core-foundation-0.6) | |
904 | ("rust-core-graphics" ,rust-core-graphics-0.17) | |
905 | ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) | |
906 | ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) | |
907 | ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) | |
908 | ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) | |
909 | ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) | |
910 | ("rust-lazy-static" ,rust-lazy-static-1) | |
911 | ("rust-libloading" ,rust-libloading-0.5) | |
912 | ("rust-objc" ,rust-objc-0.2) | |
913 | ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) | |
914 | ("rust-parking-lot" ,rust-parking-lot-0.9) | |
915 | ("rust-wayland-client" ,rust-wayland-client-0.21) | |
916 | ("rust-winapi" ,rust-winapi-0.3) | |
917 | ("rust-winit" ,rust-winit-0.19)))))) | |
918 | ||
919 | (define-public rust-glutin-egl-sys-0.1 | |
920 | (package | |
921 | (name "rust-glutin-egl-sys") | |
922 | (version "0.1.4") | |
923 | (source | |
924 | (origin | |
925 | (method url-fetch) | |
926 | (uri (crate-uri "glutin-egl-sys" version)) | |
927 | (file-name | |
928 | (string-append name "-" version ".tar.gz")) | |
929 | (sha256 | |
930 | (base32 | |
931 | "0k1x1frdp4wp47qkai8zzmgqxzpfcn7780m29qgd92lbnbrxwbkp")))) | |
932 | (build-system cargo-build-system) | |
933 | (arguments | |
934 | `(#:cargo-inputs | |
935 | (("rust-winapi" ,rust-winapi-0.3) | |
936 | ("rust-gl-generator" ,rust-gl-generator-0.13)))) | |
937 | (home-page "https://github.com/rust-windowing/glutin") | |
938 | (synopsis "Egl bindings for glutin") | |
939 | (description "The egl bindings for glutin.") | |
940 | (license license:asl2.0))) | |
941 | ||
942 | (define-public rust-glutin-emscripten-sys-0.1 | |
943 | (package | |
944 | (name "rust-glutin-emscripten-sys") | |
2c13905d | 945 | (version "0.1.1") |
9f86a6da EF |
946 | (source |
947 | (origin | |
948 | (method url-fetch) | |
949 | (uri (crate-uri "glutin_emscripten_sys" version)) | |
2c13905d | 950 | (file-name (string-append name "-" version ".tar.gz")) |
9f86a6da | 951 | (sha256 |
2c13905d | 952 | (base32 "1wb3qfxg3jh6ibb7bxmlmvf4jcpzck3pn0035g1sds3nvx343pl0")))) |
9f86a6da | 953 | (build-system cargo-build-system) |
2c13905d | 954 | (arguments `(#:skip-build? #t)) |
9f86a6da EF |
955 | (home-page "https://github.com/tomaka/glutin") |
956 | (synopsis "Emscripten bindings for glutin") | |
2c13905d | 957 | (description "This package provides Emscripten bindings for glutin.") |
9f86a6da EF |
958 | (license license:asl2.0))) |
959 | ||
960 | (define-public rust-glutin-gles2-sys-0.1 | |
961 | (package | |
962 | (name "rust-glutin-gles2-sys") | |
501d1093 | 963 | (version "0.1.5") |
9f86a6da EF |
964 | (source |
965 | (origin | |
966 | (method url-fetch) | |
967 | (uri (crate-uri "glutin_gles2_sys" version)) | |
501d1093 | 968 | (file-name (string-append name "-" version ".tar.gz")) |
9f86a6da | 969 | (sha256 |
501d1093 | 970 | (base32 "00wisv3a7818bpw5nnqwibmh1bw032izix2l3657q2kkidq4w2g8")))) |
9f86a6da EF |
971 | (build-system cargo-build-system) |
972 | (arguments | |
501d1093 NG |
973 | `(#:skip-build? #t |
974 | #:cargo-inputs | |
975 | (("rust-gl-generator" ,rust-gl-generator-0.14) | |
976 | ("rust-objc" ,rust-objc-0.2)))) | |
9f86a6da | 977 | (home-page "https://github.com/tomaka/glutin") |
501d1093 NG |
978 | (synopsis "Gles2 bindings for glutin") |
979 | (description "This package provides gles2 bindings for glutin.") | |
9f86a6da EF |
980 | (license license:asl2.0))) |
981 | ||
982 | (define-public rust-glutin-glx-sys-0.1 | |
983 | (package | |
984 | (name "rust-glutin-glx-sys") | |
48c2a30b | 985 | (version "0.1.7") |
9f86a6da EF |
986 | (source |
987 | (origin | |
988 | (method url-fetch) | |
48c2a30b NG |
989 | (uri (crate-uri "glutin_glx_sys" version)) |
990 | (file-name (string-append name "-" version ".tar.gz")) | |
9f86a6da | 991 | (sha256 |
48c2a30b | 992 | (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby")))) |
9f86a6da EF |
993 | (build-system cargo-build-system) |
994 | (arguments | |
48c2a30b NG |
995 | `(#:skip-build? #t |
996 | #:cargo-inputs | |
997 | (("rust-gl-generator" ,rust-gl-generator-0.14) | |
998 | ("rust-x11-dl" ,rust-x11-dl-2)))) | |
9f86a6da EF |
999 | (home-page "https://github.com/tomaka/glutin") |
1000 | (synopsis "Glx bindings for glutin") | |
48c2a30b | 1001 | (description "This package provides glx bindings for glutin.") |
9f86a6da EF |
1002 | (license license:asl2.0))) |
1003 | ||
1004 | (define-public rust-glutin-wgl-sys-0.1 | |
1005 | (package | |
1006 | (name "rust-glutin-wgl-sys") | |
721a6d6f | 1007 | (version "0.1.5") |
9f86a6da EF |
1008 | (source |
1009 | (origin | |
1010 | (method url-fetch) | |
721a6d6f NG |
1011 | (uri (crate-uri "glutin_wgl_sys" version)) |
1012 | (file-name (string-append name "-" version ".tar.gz")) | |
9f86a6da | 1013 | (sha256 |
721a6d6f | 1014 | (base32 "15hns8b3i7iy366m61dg7jlr7wgzz8z8cakgbj3apnv92ld9b99x")))) |
9f86a6da EF |
1015 | (build-system cargo-build-system) |
1016 | (arguments | |
721a6d6f NG |
1017 | `(#:skip-build? #t |
1018 | #:cargo-inputs | |
1019 | (("rust-gl-generator" ,rust-gl-generator-0.14)))) | |
9f86a6da EF |
1020 | (home-page "https://github.com/tomaka/glutin") |
1021 | (synopsis "Wgl bindings for glutin") | |
721a6d6f | 1022 | (description "This package provides wgl bindings for glutin.") |
9f86a6da EF |
1023 | (license license:asl2.0))) |
1024 | ||
1025 | (define-public rust-image-0.23 | |
1026 | (package | |
1027 | (name "rust-image") | |
1028 | (version "0.23.6") | |
1029 | (source | |
1030 | (origin | |
1031 | (method url-fetch) | |
1032 | (uri (crate-uri "image" version)) | |
1033 | (file-name | |
1034 | (string-append name "-" version ".tar.gz")) | |
1035 | (sha256 | |
1036 | (base32 | |
1037 | "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m")))) | |
1038 | (build-system cargo-build-system) | |
1039 | (arguments | |
1040 | `(#:tests? #f ; Some test images are missing from the release. | |
1041 | #:cargo-inputs | |
1042 | (("rust-bytemuck" ,rust-bytemuck-1) | |
a699f329 | 1043 | ("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1044 | ("rust-gif" ,rust-gif-0.10) |
1045 | ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) | |
1046 | ("rust-num-iter" ,rust-num-iter-0.1) | |
1047 | ("rust-num-rational" ,rust-num-rational-0.3) | |
1048 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1049 | ("rust-png" ,rust-png-0.16) | |
1050 | ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) | |
1051 | ("rust-tiff" ,rust-tiff-0.5)) | |
1052 | #:cargo-development-inputs | |
14467020 | 1053 | (("rust-crc32fast" ,rust-crc32fast-1) |
9f86a6da EF |
1054 | ("rust-criterion" ,rust-criterion-0.3) |
1055 | ("rust-glob" ,rust-glob-0.3) | |
1056 | ("rust-num-complex" ,rust-num-complex-0.3) | |
1057 | ("rust-quickcheck" ,rust-quickcheck-0.9)))) | |
1058 | (home-page "https://github.com/image-rs/image") | |
1059 | (synopsis "Imaging library written in Rust") | |
1060 | (description | |
1061 | "Imaging library written in Rust. Provides basic filters and decoders | |
1062 | for the most common image formats.") | |
1063 | (license license:expat))) | |
1064 | ||
1065 | (define-public rust-image-0.22 | |
1066 | (package | |
1067 | (inherit rust-image-0.23) | |
1068 | (name "rust-image") | |
1069 | (version "0.22.5") | |
1070 | (source | |
1071 | (origin | |
1072 | (method url-fetch) | |
1073 | (uri (crate-uri "image" version)) | |
1074 | (file-name | |
1075 | (string-append name "-" version ".tar.gz")) | |
1076 | (sha256 | |
1077 | (base32 | |
1078 | "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88")))) | |
1079 | (arguments | |
1080 | `(#:tests? #f ; Some test images are missing from the release. | |
1081 | #:cargo-inputs | |
a699f329 | 1082 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1083 | ("rust-gif" ,rust-gif-0.10) |
1084 | ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) | |
1085 | ("rust-num-iter" ,rust-num-iter-0.1) | |
1086 | ("rust-num-rational" ,rust-num-rational-0.2) | |
1087 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1088 | ("rust-png" ,rust-png-0.15) | |
1089 | ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) | |
1090 | ("rust-tiff" ,rust-tiff-0.3)) | |
1091 | #:cargo-development-inputs | |
14467020 | 1092 | (("rust-crc32fast" ,rust-crc32fast-1) |
9f86a6da EF |
1093 | ("rust-glob" ,rust-glob-0.3) |
1094 | ("rust-num-complex" ,rust-num-complex-0.2) | |
1095 | ("rust-quickcheck" ,rust-quickcheck-0.9)))))) | |
1096 | ||
1097 | (define-public rust-image-0.21 | |
1098 | (package | |
1099 | (inherit rust-image-0.22) | |
1100 | (name "rust-image") | |
1101 | (version "0.21.3") | |
1102 | (source | |
1103 | (origin | |
1104 | (method url-fetch) | |
1105 | (uri (crate-uri "image" version)) | |
1106 | (file-name | |
1107 | (string-append name "-" version ".tar.gz")) | |
1108 | (sha256 | |
1109 | (base32 | |
1110 | "1sv534xp8yyn7jj0q6yn2bgng1350f962g81sv8v7c6pgi31wdrm")))) | |
1111 | (arguments | |
1112 | `(#:cargo-inputs | |
a699f329 | 1113 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1114 | ("rust-gif" ,rust-gif-0.10) |
1115 | ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) | |
1116 | ("rust-lzw" ,rust-lzw-0.10) | |
1117 | ("rust-num-iter" ,rust-num-iter-0.1) | |
1118 | ("rust-num-rational" ,rust-num-rational-0.2) | |
1119 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1120 | ("rust-png" ,rust-png-0.14) | |
1121 | ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) | |
1122 | ("rust-tiff" ,rust-tiff-0.2)) | |
1123 | #:cargo-development-inputs | |
1124 | (("rust-glob" ,rust-glob-0.3) | |
1125 | ("rust-num-complex" ,rust-num-complex-0.2) | |
1126 | ("rust-quickcheck" ,rust-quickcheck-0.6)))))) | |
1127 | ||
1128 | (define-public rust-image-0.20 | |
1129 | (package | |
1130 | (inherit rust-image-0.21) | |
1131 | (name "rust-image") | |
1132 | (version "0.20.1") | |
1133 | (source | |
1134 | (origin | |
1135 | (method url-fetch) | |
1136 | (uri (crate-uri "image" version)) | |
1137 | (file-name | |
1138 | (string-append name "-" version ".tar.gz")) | |
1139 | (sha256 | |
1140 | (base32 | |
1141 | "01058n0jcw25pq5shn7lkvywv8c28xsxb3nwwyb4r16ijm1mnrj4")))) | |
1142 | (arguments | |
1143 | `(#:cargo-inputs | |
a699f329 | 1144 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1145 | ("rust-gif" ,rust-gif-0.10) |
1146 | ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) | |
1147 | ("rust-lzw" ,rust-lzw-0.10) | |
1148 | ("rust-num-iter" ,rust-num-iter-0.1) | |
1149 | ("rust-num-rational" ,rust-num-rational-0.2) | |
1150 | ("rust-num-traits" ,rust-num-traits-0.2) | |
1151 | ("rust-png" ,rust-png-0.12) | |
1152 | ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) | |
1153 | ("rust-tiff" ,rust-tiff-0.2)) | |
1154 | #:cargo-development-inputs | |
1155 | (("rust-glob" ,rust-glob-0.2) | |
1156 | ("rust-num-complex" ,rust-num-complex-0.2) | |
1157 | ("rust-quickcheck" ,rust-quickcheck-0.6)))))) | |
1158 | ||
1159 | (define-public rust-jpeg-decoder-0.1 | |
1160 | (package | |
1161 | (name "rust-jpeg-decoder") | |
1162 | (version "0.1.18") | |
1163 | (source | |
1164 | (origin | |
1165 | (method url-fetch) | |
1166 | (uri (crate-uri "jpeg-decoder" version)) | |
1167 | (file-name | |
1168 | (string-append name "-" version ".tar.gz")) | |
1169 | (sha256 | |
1170 | (base32 | |
1171 | "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2")))) | |
1172 | (build-system cargo-build-system) | |
1173 | (arguments | |
1174 | `(#:tests? #f ; Some test files missing. | |
1175 | #:cargo-inputs | |
a699f329 | 1176 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1177 | ("rust-rayon" ,rust-rayon-1)) |
1178 | #:cargo-development-inputs | |
1179 | (("rust-criterion" ,rust-criterion-0.3) | |
1180 | ("rust-png" ,rust-png-0.14) | |
1181 | ("rust-walkdir" ,rust-walkdir-2)))) | |
1182 | (home-page "https://github.com/image-rs/jpeg-decoder") | |
1183 | (synopsis "JPEG decoder") | |
1184 | (description "JPEG decoder written in Rust.") | |
1185 | (license (list license:expat license:asl2.0)))) | |
1186 | ||
1187 | (define-public rust-line-drawing-0.7 | |
1188 | (package | |
1189 | (name "rust-line-drawing") | |
1190 | (version "0.7.0") | |
1191 | (source | |
1192 | (origin | |
1193 | (method url-fetch) | |
1194 | (uri (crate-uri "line_drawing" version)) | |
1195 | (file-name | |
1196 | (string-append name "-" version ".tar.gz")) | |
1197 | (sha256 | |
1198 | (base32 | |
1199 | "1fcna7hq1g1kkkqy07hydscx5d2zgb6gskz3vnsvsif8h8ysvisw")))) | |
1200 | (build-system cargo-build-system) | |
1201 | (arguments | |
1202 | ;; This version does not specify any versions on dependants. | |
1203 | `(#:tests? #f ; Cannot compile line_drawing for the test suite. | |
1204 | #:cargo-inputs | |
1205 | (("rust-num-traits" ,rust-num-traits-0.2)) | |
1206 | #:cargo-development-inputs | |
1207 | (("rust-bresenham" ,rust-bresenham-0.1) | |
1208 | ("rust-image" ,rust-image-0.22) ; 0.17? | |
1209 | ("rust-rand" ,rust-rand-0.6)))) | |
1210 | (home-page "https://github.com/expenses/line_drawing") | |
1211 | (synopsis "Collection of line-drawing algorithms") | |
1212 | (description | |
1213 | "This package provides a collection of line-drawing algorithms for use in | |
1214 | graphics and video games.") | |
1215 | (license license:expat))) | |
1216 | ||
1217 | (define-public rust-lyon-geom-0.14 | |
1218 | (package | |
1219 | (name "rust-lyon-geom") | |
1220 | (version "0.14.1") | |
1221 | (source | |
1222 | (origin | |
1223 | (method url-fetch) | |
1224 | (uri (crate-uri "lyon_geom" version)) | |
1225 | (file-name | |
1226 | (string-append name "-" version ".tar.gz")) | |
1227 | (sha256 | |
1228 | (base32 | |
1229 | "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a")))) | |
1230 | (build-system cargo-build-system) | |
1231 | (arguments | |
1232 | `(#:skip-build? #t | |
1233 | #:cargo-inputs | |
1234 | (("rust-num-traits" ,rust-num-traits-0.2) | |
1235 | ("rust-euclid" ,rust-euclid-0.20) | |
1236 | ("rust-arrayvec" ,rust-arrayvec-0.4) | |
1237 | ("rust-serde" ,rust-serde-1)))) | |
1238 | (home-page "https://github.com/nical/lyon") | |
1239 | (synopsis "2D graphics rendering on the GPU using tessellation") | |
1240 | (description | |
1241 | "This package provides 2D graphics rendering on the GPU using tessellation.") | |
1242 | (license (list license:expat license:asl2.0)))) | |
1243 | ||
1244 | (define-public rust-lyon-path-0.14 | |
1245 | (package | |
1246 | (name "rust-lyon-path") | |
1247 | (version "0.14.0") | |
1248 | (source | |
1249 | (origin | |
1250 | (method url-fetch) | |
1251 | (uri (crate-uri "lyon_path" version)) | |
1252 | (file-name | |
1253 | (string-append name "-" version ".tar.gz")) | |
1254 | (sha256 | |
1255 | (base32 | |
1256 | "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb")))) | |
1257 | (build-system cargo-build-system) | |
1258 | (arguments | |
1259 | `(#:skip-build? #t | |
1260 | #:cargo-inputs | |
1261 | (("rust-lyon-geom" ,rust-lyon-geom-0.14) | |
1262 | ("rust-serde" ,rust-serde-1)))) | |
1263 | (home-page "https://github.com/nical/lyon") | |
1264 | (synopsis "Types and utilities to store, build and iterate over 2D paths") | |
1265 | (description | |
1266 | "Types and utilities to store, build and iterate over 2D paths.") | |
1267 | (license (list license:expat license:asl2.0)))) | |
1268 | ||
1269 | (define-public rust-osmesa-sys-0.1 | |
1270 | (package | |
1271 | (name "rust-osmesa-sys") | |
1272 | (version "0.1.2") | |
1273 | (source | |
1274 | (origin | |
1275 | (method url-fetch) | |
1276 | (uri (crate-uri "osmesa-sys" version)) | |
1277 | (file-name | |
1278 | (string-append name "-" version ".tar.gz")) | |
1279 | (sha256 | |
1280 | (base32 | |
1281 | "0fq1q1zcgfb0qydrg9r2738jlwc4hqxgb9vj11z72bjxx7kfrkw8")))) | |
1282 | (build-system cargo-build-system) | |
1283 | (arguments | |
1284 | `(#:cargo-inputs | |
1285 | (("rust-shared-library" ,rust-shared-library-0.1)))) | |
1286 | (home-page "https://crates.io/crates/osmesa-sys") | |
1287 | (synopsis "OSMesa library bindings for Rust") | |
1288 | (description "This package provides OSMesa library bindings for Rust.") | |
1289 | (license license:cc0))) | |
1290 | ||
1291 | (define-public rust-piston-0.49 | |
1292 | (package | |
1293 | (name "rust-piston") | |
1294 | (version "0.49.0") | |
1295 | (source | |
1296 | (origin | |
1297 | (method url-fetch) | |
1298 | (uri (crate-uri "piston" version)) | |
1299 | (file-name | |
1300 | (string-append name "-" version ".tar.gz")) | |
1301 | (sha256 | |
1302 | (base32 | |
1303 | "1y0rbw92mzagqmwk79wv9axq0m7aid0s0d5cppyzh33wrxhdl3xj")))) | |
1304 | (build-system cargo-build-system) | |
1305 | (arguments | |
1306 | `(#:skip-build? #t | |
1307 | #:cargo-inputs | |
1308 | (("rust-pistoncore-input" ,rust-pistoncore-input-0.28) | |
1309 | ("rust-pistoncore-window" ,rust-pistoncore-window-0.44) | |
1310 | ("rust-pistoncore-event-loop" ,rust-pistoncore-event-loop-0.49)))) | |
1311 | (home-page "https://github.com/PistonDevelopers/piston") | |
1312 | (synopsis "Piston game engine core libraries") | |
1313 | (description | |
1314 | "The Piston game engine core libraries.") | |
1315 | (license license:expat))) | |
1316 | ||
1317 | (define-public rust-piston-float-1.0 | |
1318 | (package | |
1319 | (name "rust-piston-float") | |
1320 | (version "1.0.0") | |
1321 | (source | |
1322 | (origin | |
1323 | (method url-fetch) | |
1324 | (uri (crate-uri "piston-float" version)) | |
1325 | (file-name | |
1326 | (string-append name "-" version ".tar.gz")) | |
1327 | (sha256 | |
1328 | (base32 | |
1329 | "0r35aasycms79hf2vf1ap40kkp8ywgl4hmfkf762dq8jwd3vw07r")))) | |
1330 | (build-system cargo-build-system) | |
1331 | (arguments `(#:skip-build? #t)) | |
1332 | (home-page | |
1333 | "https://github.com/pistondevelopers/float") | |
1334 | (synopsis | |
1335 | "Traits for generic floats in game development") | |
1336 | (description | |
1337 | "Traits for generic floats in game development") | |
1338 | (license license:expat))) | |
1339 | ||
1340 | (define-public rust-piston-gfx-texture-0.40 | |
1341 | (package | |
1342 | (name "rust-piston-gfx-texture") | |
1343 | (version "0.40.0") | |
1344 | (source | |
1345 | (origin | |
1346 | (method url-fetch) | |
1347 | (uri (crate-uri "piston-gfx_texture" version)) | |
1348 | (file-name | |
1349 | (string-append name "-" version ".tar.gz")) | |
1350 | (sha256 | |
1351 | (base32 | |
1352 | "1nr5awdgk3njfvfanszrv4gxz93f6skid1c8yijswccygripchqz")))) | |
1353 | (build-system cargo-build-system) | |
1354 | (arguments | |
1355 | `(#:skip-build? #t | |
1356 | #:cargo-inputs | |
1357 | (("rust-gfx" ,rust-gfx-0.18) | |
1358 | ("rust-image" ,rust-image-0.22) | |
1359 | ("rust-piston-texture" ,rust-piston-texture-0.8) | |
1360 | ("rust-gfx-core" ,rust-gfx-core-0.9)))) | |
1361 | (home-page "https://github.com/pistondevelopers/gfx_texture") | |
1362 | (synopsis | |
1363 | "Gfx texture representation that works nicely with Piston libraries") | |
1364 | (description "This package provides a Gfx texture representation that works | |
1365 | nicely with Piston libraries.") | |
1366 | (license license:expat))) | |
1367 | ||
1368 | (define-public rust-piston-graphics-api-version-0.2 | |
1369 | (package | |
1370 | (name "rust-piston-graphics-api-version") | |
1371 | (version "0.2.0") | |
1372 | (source | |
1373 | (origin | |
1374 | (method url-fetch) | |
1375 | (uri (crate-uri "piston-graphics_api_version" version)) | |
1376 | (file-name | |
1377 | (string-append name "-" version ".tar.gz")) | |
1378 | (sha256 | |
1379 | (base32 | |
1380 | "1b5p6s45jqv057lpbxkiq3yrdjjhvcynmi2vjf8292rf0yh4hky5")))) | |
1381 | (build-system cargo-build-system) | |
1382 | (arguments `(#:skip-build? #t)) | |
1383 | (home-page | |
1384 | "https://github.com/PistonDevelopers/graphics_api_version") | |
1385 | (synopsis | |
1386 | "A library for storing graphics API versions") | |
1387 | (description | |
1388 | "This package provides a library for storing graphics API versions") | |
1389 | (license license:expat))) | |
1390 | ||
1391 | (define-public rust-piston-shaders-graphics2d-0.3 | |
1392 | (package | |
1393 | (name "rust-piston-shaders-graphics2d") | |
1394 | (version "0.3.1") | |
1395 | (source | |
1396 | (origin | |
1397 | (method url-fetch) | |
1398 | (uri (crate-uri "piston-shaders_graphics2d" version)) | |
1399 | (file-name | |
1400 | (string-append name "-" version ".tar.gz")) | |
1401 | (sha256 | |
1402 | (base32 | |
1403 | "1dhh9bv4q19gdnj9d1nqq0yrvzs6gcn0c5j1p1f3xzyzq7d1gg4p")))) | |
1404 | (build-system cargo-build-system) | |
1405 | (arguments `(#:skip-build? #t)) | |
1406 | (home-page | |
1407 | "https://github.com/PistonDevelopers/shaders") | |
1408 | (synopsis "Shaders for 2D graphics in Rust") | |
1409 | (description "Shaders for 2D graphics in Rust") | |
1410 | (license license:expat))) | |
1411 | ||
1412 | (define-public rust-piston-texture-0.8 | |
1413 | (package | |
1414 | (name "rust-piston-texture") | |
1415 | (version "0.8.0") | |
1416 | (source | |
1417 | (origin | |
1418 | (method url-fetch) | |
1419 | (uri (crate-uri "piston-texture" version)) | |
1420 | (file-name | |
1421 | (string-append name "-" version ".tar.gz")) | |
1422 | (sha256 | |
1423 | (base32 | |
1424 | "1pcv5my49b8xzqcb87wqh2ndgvr4s9ipys96s0h9j2plxrj3bjb2")))) | |
1425 | (build-system cargo-build-system) | |
1426 | (arguments `(#:skip-build? #t)) | |
1427 | (home-page | |
1428 | "https://github.com/pistondevelopers/texture") | |
1429 | (synopsis "A generic library for textures") | |
1430 | (description | |
1431 | "This package provides a generic library for textures") | |
1432 | (license license:expat))) | |
1433 | ||
1434 | (define-public rust-piston-viewport-1.0 | |
1435 | (package | |
1436 | (name "rust-piston-viewport") | |
1437 | (version "1.0.0") | |
1438 | (source | |
1439 | (origin | |
1440 | (method url-fetch) | |
1441 | (uri (crate-uri "piston-viewport" version)) | |
1442 | (file-name | |
1443 | (string-append name "-" version ".tar.gz")) | |
1444 | (sha256 | |
1445 | (base32 | |
1446 | "16378hcy41b7x3zj2z4har0wq6fl4r62kf9p106jjl8hg2dv3aq1")))) | |
1447 | (build-system cargo-build-system) | |
1448 | (arguments | |
1449 | `(#:skip-build? #t | |
1450 | #:cargo-inputs | |
1451 | (("rust-piston-float" ,rust-piston-float-1.0)))) | |
1452 | (home-page "https://github.com/PistonDevelopers/viewport") | |
1453 | (synopsis "Library for storing viewport information") | |
1454 | (description | |
1455 | "This package provides a library for storing viewport information.") | |
1456 | (license license:expat))) | |
1457 | ||
1458 | (define-public rust-piston-window-0.105 | |
1459 | (package | |
1460 | (name "rust-piston-window") | |
1461 | (version "0.105.0") | |
1462 | (source | |
1463 | (origin | |
1464 | (method url-fetch) | |
1465 | (uri (crate-uri "piston_window" version)) | |
1466 | (file-name | |
1467 | (string-append name "-" version ".tar.gz")) | |
1468 | (sha256 | |
1469 | (base32 | |
1470 | "05n2905gkp5ck25kbq95ia6pj1xz63dpp247jz3xcw1d41xpvi95")))) | |
1471 | (build-system cargo-build-system) | |
1472 | (arguments | |
1473 | `(#:skip-build? #t | |
1474 | #:cargo-inputs | |
1475 | (("rust-gfx-device-gl" ,rust-gfx-device-gl-0.16) | |
1476 | ("rust-gfx" ,rust-gfx-0.18) | |
1477 | ("rust-piston2d-graphics" ,rust-piston2d-graphics-0.35) | |
1478 | ("rust-piston" ,rust-piston-0.49) | |
1479 | ("rust-shader-version" ,rust-shader-version-0.6) | |
1480 | ("rust-pistoncore-glutin-window" ,rust-pistoncore-glutin-window-0.63) | |
1481 | ("rust-piston2d-gfx-graphics" ,rust-piston2d-gfx-graphics-0.66) | |
1482 | ("rust-piston-texture" ,rust-piston-texture-0.8)))) | |
1483 | (home-page "https://github.com/pistondevelopers/piston_window") | |
1484 | (synopsis "Official Piston window wrapper for the Piston game engine") | |
1485 | (description | |
1486 | "The official Piston window wrapper for the Piston game engine.") | |
1487 | (license license:expat))) | |
1488 | ||
1489 | (define-public rust-piston2d-gfx-graphics-0.66 | |
1490 | (package | |
1491 | (name "rust-piston2d-gfx-graphics") | |
1492 | (version "0.66.0") | |
1493 | (source | |
1494 | (origin | |
1495 | (method url-fetch) | |
1496 | (uri (crate-uri "piston2d-gfx_graphics" version)) | |
1497 | (file-name | |
1498 | (string-append name "-" version ".tar.gz")) | |
1499 | (sha256 | |
1500 | (base32 | |
1501 | "1pmlkf5rl6pr0c1lqm0059xwj9pwlws7gaq9w6r9d916di6fzki1")))) | |
1502 | (build-system cargo-build-system) | |
1503 | (arguments | |
1504 | `(#:skip-build? #t | |
1505 | #:cargo-inputs | |
1506 | (("rust-gfx" ,rust-gfx-0.18) | |
1507 | ("rust-piston-shaders-graphics2d" ,rust-piston-shaders-graphics2d-0.3) | |
1508 | ("rust-piston-gfx-texture" ,rust-piston-gfx-texture-0.40) | |
1509 | ("rust-shader-version" ,rust-shader-version-0.6) | |
1510 | ("rust-draw-state" ,rust-draw-state-0.8)))) | |
1511 | (home-page "https://github.com/PistonDevelopers/gfx_graphics") | |
1512 | (synopsis "Gfx 2D back-end for the Piston game engine") | |
1513 | (description | |
1514 | "This package provides a Gfx 2D back-end for the Piston game engine.") | |
1515 | (license license:expat))) | |
1516 | ||
1517 | (define-public rust-piston2d-graphics-0.35 | |
1518 | (package | |
1519 | (name "rust-piston2d-graphics") | |
1520 | (version "0.35.0") | |
1521 | (source | |
1522 | (origin | |
1523 | (method url-fetch) | |
1524 | (uri (crate-uri "piston2d-graphics" version)) | |
1525 | (file-name | |
1526 | (string-append name "-" version ".tar.gz")) | |
1527 | (sha256 | |
1528 | (base32 | |
1529 | "1dx2fanxc2pj76hc5l72x0fh4qg9gchjlr8rmbhdk6jpggcmq56g")))) | |
1530 | (build-system cargo-build-system) | |
1531 | (arguments | |
1532 | `(#:skip-build? #t | |
1533 | #:cargo-inputs | |
1534 | (("rust-interpolation" ,rust-interpolation-0.2) | |
1535 | ("rust-rusttype" ,rust-rusttype-0.7) | |
1536 | ("rust-piston-texture" ,rust-piston-texture-0.8) | |
1537 | ("rust-piston-viewport" ,rust-piston-viewport-1.0) | |
1538 | ("rust-read-color" ,rust-read-color-1.0) | |
1539 | ("rust-vecmath" ,rust-vecmath-1.0) | |
1540 | ("rust-fnv" ,rust-fnv-1)))) | |
1541 | (home-page "https://github.com/pistondevelopers/graphics") | |
1542 | (synopsis "Library for 2D graphics that works with multiple back-ends") | |
1543 | (description "This package provides a library for 2D graphics that works | |
1544 | with multiple back-ends.") | |
1545 | (license license:expat))) | |
1546 | ||
1547 | (define-public rust-pistoncore-event-loop-0.49 | |
1548 | (package | |
1549 | (name "rust-pistoncore-event-loop") | |
1550 | (version "0.49.0") | |
1551 | (source | |
1552 | (origin | |
1553 | (method url-fetch) | |
1554 | (uri (crate-uri "pistoncore-event_loop" version)) | |
1555 | (file-name | |
1556 | (string-append name "-" version ".tar.gz")) | |
1557 | (sha256 | |
1558 | (base32 | |
1559 | "1h9ij9vx42xg39198yxdlpk842pli5jqm2kwswiv3bqqcji0fwsm")))) | |
1560 | (build-system cargo-build-system) | |
1561 | (arguments | |
1562 | `(#:skip-build? #t | |
1563 | #:cargo-inputs | |
1564 | (("rust-pistoncore-input" ,rust-pistoncore-input-0.28) | |
1565 | ("rust-pistoncore-window" ,rust-pistoncore-window-0.44)))) | |
1566 | (home-page "https://github.com/PistonDevelopers/piston") | |
1567 | (synopsis "Piston event loop for games and interactive applications") | |
1568 | (description "This package provides a Piston event loop for games and | |
1569 | interactive applications.") | |
1570 | (license license:expat))) | |
1571 | ||
1572 | (define-public rust-pistoncore-glutin-window-0.63 | |
1573 | (package | |
1574 | (name "rust-pistoncore-glutin-window") | |
1575 | (version "0.63.0") | |
1576 | (source | |
1577 | (origin | |
1578 | (method url-fetch) | |
1579 | (uri (crate-uri "pistoncore-glutin_window" version)) | |
1580 | (file-name | |
1581 | (string-append name "-" version ".tar.gz")) | |
1582 | (sha256 | |
1583 | (base32 | |
1584 | "0dhbyxarv5i742d400bmqdqq3f8c25kcgcg0xavrc18dc913rixc")))) | |
1585 | (build-system cargo-build-system) | |
1586 | (arguments | |
1587 | `(#:skip-build? #t | |
1588 | #:cargo-inputs | |
1589 | (("rust-gl" ,rust-gl-0.11) | |
1590 | ("rust-glutin" ,rust-glutin-0.21) | |
1591 | ("rust-pistoncore-input" ,rust-pistoncore-input-0.28) | |
1592 | ("rust-pistoncore-window" ,rust-pistoncore-window-0.44) | |
1593 | ("rust-shader-version" ,rust-shader-version-0.6)))) | |
1594 | (home-page "https://github.com/pistondevelopers/glutin_window") | |
1595 | (synopsis "Piston window back-end using the Glutin library") | |
1596 | (description | |
1597 | "This package provides a Piston window back-end using the Glutin library.") | |
1598 | (license license:expat))) | |
1599 | ||
1600 | (define-public rust-pistoncore-input-0.28 | |
1601 | (package | |
1602 | (name "rust-pistoncore-input") | |
1603 | (version "0.28.0") | |
1604 | (source | |
1605 | (origin | |
1606 | (method url-fetch) | |
1607 | (uri (crate-uri "pistoncore-input" version)) | |
1608 | (file-name | |
1609 | (string-append name "-" version ".tar.gz")) | |
1610 | (sha256 | |
1611 | (base32 | |
1612 | "1rrcz9px098m3nx98gvrvzirfdp3vg03cblfkcrp4wnvswc0hwq5")))) | |
1613 | (build-system cargo-build-system) | |
1614 | (arguments | |
1615 | `(#:skip-build? #t | |
1616 | #:cargo-inputs | |
1617 | (("rust-piston-viewport" ,rust-piston-viewport-1.0) | |
1618 | ("rust-serde" ,rust-serde-1) | |
1619 | ("rust-serde-derive" ,rust-serde-derive-1) | |
1620 | ("rust-bitflags" ,rust-bitflags-1)))) | |
1621 | (home-page "https://github.com/PistonDevelopers/piston") | |
1622 | (synopsis "Structure for user input") | |
1623 | (description | |
1624 | "This package provides a structure for user input.") | |
1625 | (license license:expat))) | |
1626 | ||
1627 | (define-public rust-pistoncore-window-0.44 | |
1628 | (package | |
1629 | (name "rust-pistoncore-window") | |
1630 | (version "0.44.0") | |
1631 | (source | |
1632 | (origin | |
1633 | (method url-fetch) | |
1634 | (uri (crate-uri "pistoncore-window" version)) | |
1635 | (file-name | |
1636 | (string-append name "-" version ".tar.gz")) | |
1637 | (sha256 | |
1638 | (base32 | |
1639 | "18qy3nnpb9jczvkiyzzznamck0pzgiyi6073jrkldnci6b3in10q")))) | |
1640 | (build-system cargo-build-system) | |
1641 | (arguments | |
1642 | `(#:skip-build? #t | |
1643 | #:cargo-inputs | |
1644 | (("rust-piston-graphics-api-version" | |
1645 | ,rust-piston-graphics-api-version-0.2) | |
1646 | ("rust-pistoncore-input" ,rust-pistoncore-input-0.28)))) | |
1647 | (home-page "https://github.com/PistonDevelopers/piston") | |
1648 | (synopsis "Library for window abstraction") | |
1649 | (description | |
1650 | "This package provides a library for window abstraction.") | |
1651 | (license license:expat))) | |
1652 | ||
1653 | (define-public rust-png-0.16 | |
1654 | (package | |
1655 | (name "rust-png") | |
191ad9d3 | 1656 | (version "0.16.8") |
9f86a6da | 1657 | (source |
191ad9d3 NG |
1658 | (origin |
1659 | (method url-fetch) | |
1660 | (uri (crate-uri "png" version)) | |
1661 | (file-name (string-append name "-" version ".tar.gz")) | |
1662 | (sha256 | |
1663 | (base32 "1ipl44q3vy4kvx6j296vk7d4v8gvcg203lrkvvixwixq1j98fciw")))) | |
9f86a6da EF |
1664 | (build-system cargo-build-system) |
1665 | (arguments | |
1666 | `(#:skip-build? #t | |
1667 | #:cargo-inputs | |
1668 | (("rust-bitflags" ,rust-bitflags-1) | |
14467020 | 1669 | ("rust-crc32fast" ,rust-crc32fast-1) |
9f86a6da | 1670 | ("rust-deflate" ,rust-deflate-0.8) |
191ad9d3 | 1671 | ("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))) |
9f86a6da EF |
1672 | (home-page "https://github.com/image-rs/image-png.git") |
1673 | (synopsis "PNG decoding and encoding library in pure Rust") | |
1674 | (description | |
191ad9d3 | 1675 | "This package is a PNG decoding and encoding library in pure Rust.") |
9f86a6da EF |
1676 | (license (list license:expat license:asl2.0)))) |
1677 | ||
1678 | (define-public rust-png-0.15 | |
1679 | (package | |
1680 | (inherit rust-png-0.16) | |
1681 | (name "rust-png") | |
1682 | (version "0.15.3") | |
1683 | (source | |
1684 | (origin | |
1685 | (method url-fetch) | |
1686 | (uri (crate-uri "png" version)) | |
1687 | (file-name | |
1688 | (string-append name "-" version ".tar.gz")) | |
1689 | (sha256 | |
1690 | (base32 | |
1691 | "10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg")))) | |
1692 | (arguments | |
1693 | `(#:skip-build? #t | |
1694 | #:cargo-inputs | |
1695 | (("rust-bitflags" ,rust-bitflags-1) | |
14467020 | 1696 | ("rust-crc32fast" ,rust-crc32fast-1) |
9f86a6da EF |
1697 | ("rust-deflate" ,rust-deflate-0.7) |
1698 | ("rust-inflate" ,rust-inflate-0.4)) | |
1699 | #:cargo-development-inputs | |
1700 | (("rust-getopts" ,rust-getopts-0.2) | |
1701 | ;; TODO: glium has many cyclic dependencies with other packages | |
1702 | ;;("rust-glium" ,rust-glium-0.24) | |
1703 | ("rust-glob" ,rust-glob-0.3) | |
1704 | ("rust-rand" ,rust-rand-0.7) | |
1705 | ("rust-term" ,rust-term-0.6)))))) | |
1706 | ||
1707 | (define-public rust-png-0.14 | |
1708 | (package | |
1709 | (inherit rust-png-0.15) | |
1710 | (name "rust-png") | |
1711 | (version "0.14.1") | |
1712 | (source | |
1713 | (origin | |
1714 | (method url-fetch) | |
1715 | (uri (crate-uri "png" version)) | |
1716 | (file-name | |
1717 | (string-append name "-" version ".tar.gz")) | |
1718 | (sha256 | |
1719 | (base32 | |
1720 | "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3")))) | |
1721 | (arguments | |
1722 | `(#:skip-build? #t | |
1723 | #:cargo-inputs | |
1724 | (("rust-bitflags" ,rust-bitflags-1) | |
1725 | ("rust-deflate" ,rust-deflate-0.7) | |
1726 | ("rust-inflate" ,rust-inflate-0.4) | |
1727 | ("rust-num-iter" ,rust-num-iter-0.1)) | |
1728 | #:cargo-development-inputs | |
1729 | (("rust-getopts" ,rust-getopts-0.2) | |
1730 | ;; TODO: glium has many cyclic dependencies with other packages | |
1731 | ;; ("rust-glium" ,rust-glium-0.22) | |
1732 | ("rust-glob" ,rust-glob-0.2) | |
1733 | ("rust-rand" ,rust-rand-0.5) | |
1734 | ("rust-term" ,rust-term-0.4)))))) | |
1735 | ||
1736 | (define-public rust-png-0.12 | |
1737 | (package | |
1738 | (inherit rust-png-0.14) | |
1739 | (name "rust-png") | |
1740 | (version "0.12.0") | |
1741 | (source | |
1742 | (origin | |
1743 | (method url-fetch) | |
1744 | (uri (crate-uri "png" version)) | |
1745 | (file-name | |
1746 | (string-append name "-" version ".tar.gz")) | |
1747 | (sha256 | |
1748 | (base32 | |
1749 | "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm")))) | |
1750 | (arguments | |
1751 | `(#:skip-build? #t | |
1752 | #:cargo-inputs | |
1753 | (("rust-bitflags" ,rust-bitflags-1) | |
1754 | ("rust-deflate" ,rust-deflate-0.7) | |
1755 | ("rust-inflate" ,rust-inflate-0.4) | |
1756 | ("rust-num-iter" ,rust-num-iter-0.1)) | |
1757 | #:cargo-development-inputs | |
1758 | (("rust-getopts" ,rust-getopts-0.2) | |
1759 | ;; TODO: gluum has many cyclic dependencies with other packages | |
1760 | ;; ("rust-glium" ,rust-glium-0.21) | |
1761 | ("rust-glob" ,rust-glob-0.2) | |
1762 | ("rust-term" ,rust-term-0.4)))))) | |
1763 | ||
1764 | (define-public rust-raw-window-handle-0.3 | |
1765 | (package | |
1766 | (name "rust-raw-window-handle") | |
1767 | (version "0.3.3") | |
1768 | (source | |
1769 | (origin | |
1770 | (method url-fetch) | |
1771 | (uri (crate-uri "raw-window-handle" version)) | |
1772 | (file-name | |
1773 | (string-append name "-" version ".tar.gz")) | |
1774 | (sha256 | |
1775 | (base32 | |
1776 | "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a")))) | |
1777 | (build-system cargo-build-system) | |
1778 | (arguments | |
1779 | `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) | |
1780 | (home-page "https://github.com/rust-windowing/raw-window-handle") | |
1781 | (synopsis "Interoperability library for Rust Windowing applications") | |
1782 | (description | |
1783 | "Interoperability library for Rust Windowing applications.") | |
1784 | (license license:expat))) | |
1785 | ||
1786 | (define-public rust-resize-0.3 | |
1787 | (package | |
1788 | (name "rust-resize") | |
1789 | (version "0.3.1") | |
1790 | (source | |
1791 | (origin | |
1792 | (method url-fetch) | |
1793 | (uri (crate-uri "resize" version)) | |
1794 | (file-name | |
1795 | (string-append name "-" version ".tar.gz")) | |
1796 | (sha256 | |
1797 | (base32 | |
1798 | "1ai83laz5yvg4r7z9q8d1m0vq0fqj2ycyprw5fxzxyzaj3im7rmr")))) | |
1799 | (build-system cargo-build-system) | |
1800 | (arguments | |
1801 | `(#:cargo-development-inputs | |
1802 | (("rust-png" ,rust-png-0.15)))) | |
1803 | (home-page "https://github.com/PistonDevelopers/resize") | |
1804 | (synopsis "Simple image resampling library in pure Rust") | |
1805 | (description | |
1806 | "This package provides a simple image resampling library in pure Rust.") | |
1807 | (license license:expat))) | |
1808 | ||
1809 | (define-public rust-rgb-0.8 | |
1810 | (package | |
1811 | (name "rust-rgb") | |
1812 | (version "0.8.20") | |
1813 | (source | |
1814 | (origin | |
1815 | (method url-fetch) | |
1816 | (uri (crate-uri "rgb" version)) | |
1817 | (file-name (string-append name "-" version ".crate")) | |
1818 | (sha256 | |
1819 | (base32 | |
1820 | "1620mn5dp1rr9fpvd9wbr3b8l2g4zrij8zjri1x34cg1bas59vwh")))) | |
1821 | (build-system cargo-build-system) | |
1822 | (arguments | |
1823 | `(#:cargo-inputs | |
1824 | (("rust-bytemuck" ,rust-bytemuck-1) | |
1825 | ("rust-serde" ,rust-serde-1)) | |
1826 | #:cargo-development-inputs | |
1827 | (("rust-serde-json" ,rust-serde-json-1)))) | |
1828 | (home-page "https://lib.rs/crates/rgb") | |
1829 | (synopsis "Struct for sharing pixels between crates") | |
1830 | (description | |
1831 | "This package provides @code{struct RGB/RGBA/etc.} for sharing pixels | |
1832 | between crates + convenience methods for color manipulation. It allows no-copy | |
1833 | high-level interoperability. It also adds common convenience methods and | |
1834 | implements standard Rust traits to make `RGB`/`RGBA` pixels and slices | |
1835 | first-class Rust objects.") | |
1836 | (license license:expat))) | |
1837 | ||
d958b8d9 NG |
1838 | (define-public rust-smithay-client-toolkit-0.12 |
1839 | (package | |
1840 | (name "rust-smithay-client-toolkit") | |
1841 | (version "0.12.2") | |
1842 | (source | |
1843 | (origin | |
1844 | (method url-fetch) | |
1845 | (uri (crate-uri "smithay-client-toolkit" version)) | |
1846 | (file-name (string-append name "-" version ".tar.gz")) | |
1847 | (sha256 | |
1848 | (base32 "1rjdszpf8pns99gyy8f5axf01ckc33f30dddfazyfg45xfii6vii")))) | |
1849 | (build-system cargo-build-system) | |
1850 | (arguments | |
1851 | `(#:skip-build? #t | |
1852 | #:cargo-inputs | |
1853 | (("rust-andrew" ,rust-andrew-0.3) | |
1854 | ("rust-bitflags" ,rust-bitflags-1) | |
1855 | ("rust-calloop" ,rust-calloop-0.6) | |
1856 | ("rust-dlib" ,rust-dlib-0.4) | |
1857 | ("rust-lazy-static" ,rust-lazy-static-1) | |
1858 | ("rust-log" ,rust-log-0.4) | |
1859 | ("rust-memmap2" ,rust-memmap2-0.1) | |
1860 | ("rust-nix" ,rust-nix-0.18) | |
1861 | ("rust-wayland-client" ,rust-wayland-client-0.28) | |
1862 | ("rust-wayland-cursor" ,rust-wayland-cursor-0.28) | |
1863 | ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))) | |
1864 | (home-page "https://github.com/smithay/client-toolkit") | |
1865 | (synopsis "Toolkit for making client Wayland applications") | |
1866 | (description | |
1867 | "This package provides a toolkit for making client Wayland applications.") | |
1868 | (license license:expat))) | |
1869 | ||
9f86a6da EF |
1870 | (define-public rust-smithay-client-toolkit-0.6 |
1871 | (package | |
d958b8d9 | 1872 | (inherit rust-smithay-client-toolkit-0.12) |
9f86a6da EF |
1873 | (name "rust-smithay-client-toolkit") |
1874 | (version "0.6.4") | |
1875 | (source | |
1876 | (origin | |
1877 | (method url-fetch) | |
1878 | (uri (crate-uri "smithay-client-toolkit" version)) | |
1879 | (file-name | |
1880 | (string-append name "-" version ".tar.gz")) | |
1881 | (sha256 | |
1882 | (base32 | |
1883 | "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk")))) | |
9f86a6da EF |
1884 | (arguments |
1885 | `(#:cargo-inputs | |
1886 | (("rust-andrew" ,rust-andrew-0.2) | |
1887 | ("rust-bitflags" ,rust-bitflags-1) | |
1888 | ("rust-dlib" ,rust-dlib-0.4) | |
1889 | ("rust-lazy-static" ,rust-lazy-static-1) | |
1890 | ("rust-memmap" ,rust-memmap-0.7) | |
1891 | ("rust-nix" ,rust-nix-0.14) | |
1892 | ("rust-wayland-client" ,rust-wayland-client-0.23) | |
1893 | ("rust-wayland-protocols" ,rust-wayland-protocols-0.23)) | |
1894 | #:cargo-development-inputs | |
a699f329 | 1895 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da | 1896 | ("rust-image" ,rust-image-0.21) |
d958b8d9 | 1897 | ("rust-wayland-client" ,rust-wayland-client-0.23)))))) |
9f86a6da EF |
1898 | |
1899 | (define-public rust-smithay-client-toolkit-0.4 | |
1900 | (package | |
1901 | (inherit rust-smithay-client-toolkit-0.6) | |
1902 | (name "rust-smithay-client-toolkit") | |
1903 | (version "0.4.6") | |
1904 | (source | |
1905 | (origin | |
1906 | (method url-fetch) | |
1907 | (uri (crate-uri "smithay-client-toolkit" version)) | |
1908 | (file-name | |
1909 | (string-append name "-" version ".tar.gz")) | |
1910 | (sha256 | |
1911 | (base32 | |
1912 | "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc")))) | |
1913 | (arguments | |
1914 | `(#:cargo-inputs | |
1915 | (("rust-andrew" ,rust-andrew-0.2) | |
1916 | ("rust-bitflags" ,rust-bitflags-1) | |
1917 | ("rust-dlib" ,rust-dlib-0.4) | |
1918 | ("rust-lazy-static" ,rust-lazy-static-1) | |
1919 | ("rust-memmap" ,rust-memmap-0.7) | |
1920 | ("rust-nix" ,rust-nix-0.14) | |
1921 | ("rust-wayland-client" ,rust-wayland-client-0.21) | |
1922 | ("rust-wayland-commons" ,rust-wayland-commons-0.21) | |
1923 | ("rust-wayland-protocols" ,rust-wayland-protocols-0.21)) | |
1924 | #:cargo-development-inputs | |
a699f329 | 1925 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1926 | ("rust-image" ,rust-image-0.20) |
1927 | ("rust-wayland-client" ,rust-wayland-client-0.21)))))) | |
1928 | ||
1929 | (define-public rust-smithay-clipboard-0.3 | |
1930 | (package | |
1931 | (name "rust-smithay-clipboard") | |
1932 | (version "0.3.6") | |
1933 | (source | |
1934 | (origin | |
1935 | (method url-fetch) | |
1936 | (uri (crate-uri "smithay-clipboard" version)) | |
1937 | (file-name | |
1938 | (string-append name "-" version ".tar.gz")) | |
1939 | (sha256 | |
1940 | (base32 | |
1941 | "1h7qhcx44cgwncgpn5llky0c56vgsg9mqrkybb2z37vsxxia4rwn")))) | |
1942 | (build-system cargo-build-system) | |
1943 | (arguments | |
1944 | `(#:cargo-inputs | |
1945 | (("rust-nix" ,rust-nix-0.14) | |
1946 | ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6)) | |
1947 | #:cargo-development-inputs | |
1948 | (("rust-andrew" ,rust-andrew-0.2)))) | |
1949 | (inputs | |
1950 | `(("wayland" ,wayland))) | |
1951 | (home-page "https://github.com/smithay/smithay-clipboard") | |
1952 | (synopsis | |
1953 | "Provides access to the wayland clipboard for client applications") | |
1954 | (description | |
1955 | "This package provides access to the wayland clipboard for client applications.") | |
1956 | (license license:expat))) | |
1957 | ||
1958 | (define-public rust-tiff-0.5 | |
1959 | (package | |
1960 | (name "rust-tiff") | |
1961 | (version "0.5.0") | |
1962 | (source | |
1963 | (origin | |
1964 | (method url-fetch) | |
1965 | (uri (crate-uri "tiff" version)) | |
1966 | (file-name | |
1967 | (string-append name "-" version ".tar.gz")) | |
1968 | (sha256 | |
1969 | (base32 | |
1970 | "0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz")))) | |
1971 | (build-system cargo-build-system) | |
1972 | (arguments | |
1973 | `(#:tests? #f ; not all test files included | |
1974 | #:cargo-inputs | |
a699f329 | 1975 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
1976 | ("rust-lzw" ,rust-lzw-0.10) |
1977 | ("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))) | |
1978 | (home-page "https://github.com/image-rs/image-tiff") | |
1979 | (synopsis | |
1980 | "TIFF decoding and encoding library in pure Rust") | |
1981 | (description | |
1982 | "TIFF decoding and encoding library in pure Rust.") | |
1983 | (license license:expat))) | |
1984 | ||
1985 | (define-public rust-tiff-0.3 | |
1986 | (package | |
1987 | (inherit rust-tiff-0.5) | |
1988 | (name "rust-tiff") | |
1989 | (version "0.3.1") | |
1990 | (source | |
1991 | (origin | |
1992 | (method url-fetch) | |
1993 | (uri (crate-uri "tiff" version)) | |
1994 | (file-name | |
1995 | (string-append name "-" version ".tar.gz")) | |
1996 | (sha256 | |
1997 | (base32 | |
1998 | "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp")))) | |
1999 | (arguments | |
2000 | `(#:tests? #f ; Tests images not included with release. | |
2001 | #:cargo-inputs | |
a699f329 | 2002 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
2003 | ("rust-lzw" ,rust-lzw-0.10) |
2004 | ("rust-num-derive" ,rust-num-derive-0.2) | |
2005 | ("rust-num-traits" ,rust-num-traits-0.2)) | |
2006 | #:cargo-development-inputs | |
2007 | (("rust-tempfile" ,rust-tempfile-3)))))) | |
2008 | ||
2009 | (define-public rust-tiff-0.2 | |
2010 | (package | |
2011 | (inherit rust-tiff-0.3) | |
2012 | (name "rust-tiff") | |
2013 | (version "0.2.2") | |
2014 | (source | |
2015 | (origin | |
2016 | (method url-fetch) | |
2017 | (uri (crate-uri "tiff" version)) | |
2018 | (file-name | |
2019 | (string-append name "-" version ".tar.gz")) | |
2020 | (sha256 | |
2021 | (base32 | |
2022 | "1kn7psgpacns337vvqh272rkqwnakmjd51rc7ygwnc03ibr38j0y")))) | |
2023 | (arguments | |
2024 | `(#:cargo-inputs | |
a699f329 | 2025 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
2026 | ("rust-lzw" ,rust-lzw-0.10) |
2027 | ("rust-num-derive" ,rust-num-derive-0.2) | |
2028 | ("rust-num-traits" ,rust-num-traits-0.2)))))) | |
2029 | ||
b3de00f5 NG |
2030 | (define-public rust-wayland-client-0.28 |
2031 | (package | |
2032 | (name "rust-wayland-client") | |
2033 | (version "0.28.3") | |
2034 | (source | |
2035 | (origin | |
2036 | (method url-fetch) | |
2037 | (uri (crate-uri "wayland-client" version)) | |
2038 | (file-name (string-append name "-" version ".tar.gz")) | |
2039 | (sha256 | |
2040 | (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx")))) | |
2041 | (build-system cargo-build-system) | |
2042 | (arguments | |
2043 | `(#:skip-build? #t | |
2044 | #:cargo-inputs | |
2045 | (("rust-bitflags" ,rust-bitflags-1) | |
2046 | ("rust-downcast-rs" ,rust-downcast-rs-1) | |
2047 | ("rust-libc" ,rust-libc-0.2) | |
2048 | ("rust-nix" ,rust-nix-0.18) | |
2049 | ("rust-scoped-tls" ,rust-scoped-tls-1) | |
2050 | ("rust-wayland-commons" ,rust-wayland-commons-0.28) | |
2051 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) | |
2052 | ("rust-wayland-sys" ,rust-wayland-sys-0.28)))) | |
2053 | (home-page "https://github.com/smithay/wayland-rs") | |
2054 | (synopsis | |
2055 | "Rust bindings to the standard C implementation of the wayland protocol") | |
2056 | (description | |
2057 | "This package provides Rust bindings to the standard C implementation of | |
2058 | the wayland protocol, client side.") | |
2059 | (license license:expat))) | |
2060 | ||
9f86a6da EF |
2061 | (define-public rust-wayland-client-0.23 |
2062 | (package | |
b3de00f5 | 2063 | (inherit rust-wayland-client-0.28) |
9f86a6da EF |
2064 | (name "rust-wayland-client") |
2065 | (version "0.23.6") | |
2066 | (source | |
2067 | (origin | |
2068 | (method url-fetch) | |
2069 | (uri (crate-uri "wayland-client" version)) | |
2070 | (file-name | |
2071 | (string-append name "-" version ".tar.gz")) | |
2072 | (sha256 | |
2073 | (base32 | |
2074 | "1nmw2kz70llc5mxwzg6bglnqy0qnyr9224zjmq9czazgw3mq045g")))) | |
9f86a6da EF |
2075 | (arguments |
2076 | `(#:cargo-inputs | |
2077 | (("rust-bitflags" ,rust-bitflags-1) | |
2078 | ("rust-calloop" ,rust-calloop-0.4) | |
abad76c6 | 2079 | ("rust-downcast-rs" ,rust-downcast-rs-1) |
9f86a6da EF |
2080 | ("rust-libc" ,rust-libc-0.2) |
2081 | ("rust-mio" ,rust-mio-0.6) | |
2082 | ("rust-nix" ,rust-nix-0.14) | |
2083 | ("rust-wayland-commons" ,rust-wayland-commons-0.23) | |
2084 | ("rust-wayland-sys" ,rust-wayland-sys-0.23) | |
2085 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)) | |
2086 | #:cargo-development-inputs | |
a699f329 | 2087 | (("rust-byteorder" ,rust-byteorder-1) |
b3de00f5 | 2088 | ("rust-tempfile" ,rust-tempfile-3)))))) |
9f86a6da EF |
2089 | |
2090 | (define-public rust-wayland-client-0.21 | |
2091 | (package | |
2092 | (inherit rust-wayland-client-0.23) | |
2093 | (name "rust-wayland-client") | |
2094 | (version "0.21.13") | |
2095 | (source | |
2096 | (origin | |
2097 | (method url-fetch) | |
2098 | (uri (crate-uri "wayland-client" version)) | |
2099 | (file-name | |
2100 | (string-append name "-" version ".tar.gz")) | |
2101 | (sha256 | |
2102 | (base32 | |
2103 | "04r7dy074hhdalsi1day482wvmczr40hg7qvrnzkgxpakrgkx5j9")))) | |
2104 | (arguments | |
2105 | `(#:cargo-inputs | |
2106 | (("rust-bitflags" ,rust-bitflags-1) | |
2107 | ("rust-calloop" ,rust-calloop-0.4) | |
abad76c6 | 2108 | ("rust-downcast-rs" ,rust-downcast-rs-1) |
9f86a6da EF |
2109 | ("rust-libc" ,rust-libc-0.2) |
2110 | ("rust-mio" ,rust-mio-0.6) | |
2111 | ("rust-nix" ,rust-nix-0.14) | |
2112 | ("rust-wayland-commons" ,rust-wayland-commons-0.21) | |
2113 | ("rust-wayland-sys" ,rust-wayland-sys-0.21) | |
2114 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)) | |
2115 | #:cargo-development-inputs | |
a699f329 | 2116 | (("rust-byteorder" ,rust-byteorder-1) |
9f86a6da EF |
2117 | ("rust-tempfile" ,rust-tempfile-3)))))) |
2118 | ||
06c16eed NG |
2119 | (define-public rust-wayland-commons-0.28 |
2120 | (package | |
2121 | (name "rust-wayland-commons") | |
2122 | (version "0.28.3") | |
2123 | (source | |
2124 | (origin | |
2125 | (method url-fetch) | |
2126 | (uri (crate-uri "wayland-commons" version)) | |
2127 | (file-name (string-append name "-" version ".tar.gz")) | |
2128 | (sha256 | |
2129 | (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128")))) | |
2130 | (build-system cargo-build-system) | |
2131 | (arguments | |
2132 | `(#:skip-build? #t | |
2133 | #:cargo-inputs | |
2134 | (("rust-nix" ,rust-nix-0.18) | |
2135 | ("rust-once-cell" ,rust-once-cell-1) | |
2136 | ("rust-smallvec" ,rust-smallvec-1) | |
2137 | ("rust-wayland-sys" ,rust-wayland-sys-0.28)))) | |
2138 | (home-page "https://github.com/smithay/wayland-rs") | |
2139 | (synopsis "Types and structures used by wayland-client and wayland-server") | |
2140 | (description | |
2141 | "This package provides common types and structures used by wayland-client | |
2142 | and wayland-server.") | |
2143 | (license license:expat))) | |
2144 | ||
9f86a6da EF |
2145 | (define-public rust-wayland-commons-0.23 |
2146 | (package | |
06c16eed | 2147 | (inherit rust-wayland-commons-0.28) |
9f86a6da EF |
2148 | (name "rust-wayland-commons") |
2149 | (version "0.23.6") | |
2150 | (source | |
2151 | (origin | |
2152 | (method url-fetch) | |
2153 | (uri (crate-uri "wayland-commons" version)) | |
2154 | (file-name | |
2155 | (string-append name "-" version ".tar.gz")) | |
2156 | (sha256 | |
2157 | (base32 | |
2158 | "1nyvcs6xxxzqgh0wvc7z0fgi89bf3h9p4qrbf77bnfbwlb8v0rmv")))) | |
9f86a6da EF |
2159 | (arguments |
2160 | `(#:cargo-inputs | |
2161 | (("rust-nix" ,rust-nix-0.14) | |
06c16eed | 2162 | ("rust-wayland-sys" ,rust-wayland-sys-0.23)))))) |
9f86a6da EF |
2163 | |
2164 | (define-public rust-wayland-commons-0.21 | |
2165 | (package | |
2166 | (inherit rust-wayland-commons-0.23) | |
2167 | (name "rust-wayland-commons") | |
2168 | (version "0.21.13") | |
2169 | (source | |
2170 | (origin | |
2171 | (method url-fetch) | |
2172 | (uri (crate-uri "wayland-commons" version)) | |
2173 | (file-name | |
2174 | (string-append name "-" version ".tar.gz")) | |
2175 | (sha256 | |
2176 | (base32 | |
2177 | "1v1jpcsnn6cwwy5ii5pdl58i6b9slmi8mn4my4fpwrlbfsb8ih20")))) | |
2178 | (arguments | |
2179 | `(#:cargo-inputs | |
2180 | (("rust-nix" ,rust-nix-0.14) | |
2181 | ("rust-wayland-sys" ,rust-wayland-sys-0.21)))))) | |
2182 | ||
224358df NG |
2183 | (define-public rust-wayland-cursor-0.28 |
2184 | (package | |
2185 | (name "rust-wayland-cursor") | |
2186 | (version "0.28.3") | |
2187 | (source | |
2188 | (origin | |
2189 | (method url-fetch) | |
2190 | (uri (crate-uri "wayland-cursor" version)) | |
2191 | (file-name (string-append name "-" version ".tar.gz")) | |
2192 | (sha256 | |
2193 | (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn")))) | |
2194 | (build-system cargo-build-system) | |
2195 | (arguments | |
2196 | `(#:skip-build? #t | |
2197 | #:cargo-inputs | |
2198 | (("rust-nix" ,rust-nix-0.18) | |
2199 | ("rust-wayland-client" ,rust-wayland-client-0.28) | |
2200 | ("rust-xcursor" ,rust-xcursor-0.3)))) | |
2201 | (home-page "https://github.com/smithay/wayland-rs") | |
2202 | (synopsis "Bindings to libwayland-cursor") | |
2203 | (description | |
2204 | "This crate provides helpers to load the system provided cursor images | |
2205 | and load them into WlBuffers as well as obtain the necessary metadata to | |
2206 | properly display animated cursors.") | |
2207 | (license license:expat))) | |
2208 | ||
8ae5fb13 NG |
2209 | (define-public rust-wayland-egl-0.28 |
2210 | (package | |
2211 | (name "rust-wayland-egl") | |
2212 | (version "0.28.3") | |
2213 | (source | |
2214 | (origin | |
2215 | (method url-fetch) | |
2216 | (uri (crate-uri "wayland-egl" version)) | |
2217 | (file-name (string-append name "-" version ".tar.gz")) | |
2218 | (sha256 | |
2219 | (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6")))) | |
2220 | (build-system cargo-build-system) | |
2221 | (arguments | |
2222 | `(#:skip-build? #t | |
2223 | #:cargo-inputs | |
2224 | (("rust-wayland-client" ,rust-wayland-client-0.28) | |
2225 | ("rust-wayland-sys" ,rust-wayland-sys-0.28)))) | |
2226 | (home-page "https://github.com/smithay/wayland-rs") | |
2227 | (synopsis "Bindings to libwayland-egl") | |
2228 | (description | |
2229 | "This crate provides bindings for OpenGL/Vulkan support for | |
2230 | Wayland client apps. It allows to create an EGLSurface from any | |
2231 | WlSurface, which can then play the role of the base surface for | |
2232 | initializing an OpenGL or Vulkan context.") | |
2233 | (license license:expat))) | |
2234 | ||
fa8fb91d NG |
2235 | (define-public rust-wayland-protocols-0.28 |
2236 | (package | |
2237 | (name "rust-wayland-protocols") | |
2238 | (version "0.28.3") | |
2239 | (source | |
2240 | (origin | |
2241 | (method url-fetch) | |
2242 | (uri (crate-uri "wayland-protocols" version)) | |
2243 | (file-name (string-append name "-" version ".tar.gz")) | |
2244 | (sha256 | |
2245 | (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii")))) | |
2246 | (build-system cargo-build-system) | |
2247 | (arguments | |
2248 | `(#:skip-build? #t | |
2249 | #:cargo-inputs | |
2250 | (("rust-bitflags" ,rust-bitflags-1) | |
2251 | ("rust-wayland-client" ,rust-wayland-client-0.28) | |
2252 | ("rust-wayland-commons" ,rust-wayland-commons-0.28) | |
2253 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) | |
2254 | ("rust-wayland-server" ,rust-wayland-server-0.28)))) | |
2255 | (home-page "https://github.com/smithay/wayland-rs") | |
2256 | (synopsis "Generated API for the officials Wayland protocol extensions") | |
2257 | (description | |
2258 | "This package provides a generated API for the officials Wayland protocol | |
2259 | extensions.") | |
2260 | (license license:expat))) | |
2261 | ||
9f86a6da EF |
2262 | (define-public rust-wayland-protocols-0.23 |
2263 | (package | |
fa8fb91d | 2264 | (inherit rust-wayland-protocols-0.28) |
9f86a6da EF |
2265 | (name "rust-wayland-protocols") |
2266 | (version "0.23.6") | |
2267 | (source | |
2268 | (origin | |
2269 | (method url-fetch) | |
2270 | (uri (crate-uri "wayland-protocols" version)) | |
2271 | (file-name | |
2272 | (string-append name "-" version ".tar.gz")) | |
2273 | (sha256 | |
2274 | (base32 | |
2275 | "1ygwbzqlnks5xzafka3c8ag6k92g2h6ygj2xsmvjfx2n6rj8dhkc")))) | |
9f86a6da EF |
2276 | (arguments |
2277 | `(#:cargo-inputs | |
2278 | (("rust-bitflags" ,rust-bitflags-1) | |
2279 | ("rust-wayland-client" ,rust-wayland-client-0.23) | |
2280 | ("rust-wayland-commons" ,rust-wayland-commons-0.23) | |
2281 | ("rust-wayland-server" ,rust-wayland-server-0.23) | |
fa8fb91d | 2282 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))))) |
9f86a6da EF |
2283 | |
2284 | (define-public rust-wayland-protocols-0.21 | |
2285 | (package | |
2286 | (inherit rust-wayland-protocols-0.23) | |
2287 | (name "rust-wayland-protocols") | |
2288 | (version "0.21.13") | |
2289 | (source | |
2290 | (origin | |
2291 | (method url-fetch) | |
2292 | (uri (crate-uri "wayland-protocols" version)) | |
2293 | (file-name | |
2294 | (string-append name "-" version ".tar.gz")) | |
2295 | (sha256 | |
2296 | (base32 | |
2297 | "0i91yh3nxk9llhly2ly3nvlfx0lbpvyq919cgmnyx3j25bmf5zaa")))) | |
2298 | (arguments | |
2299 | `(#:cargo-inputs | |
2300 | (("rust-bitflags" ,rust-bitflags-1) | |
2301 | ("rust-wayland-client" ,rust-wayland-client-0.21) | |
2302 | ("rust-wayland-commons" ,rust-wayland-commons-0.21) | |
2303 | ("rust-wayland-server" ,rust-wayland-server-0.21) | |
2304 | ("rust-wayland-sys" ,rust-wayland-sys-0.21) | |
2305 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)))))) | |
2306 | ||
ce42526f NG |
2307 | (define-public rust-wayland-scanner-0.28 |
2308 | (package | |
2309 | (name "rust-wayland-scanner") | |
2310 | (version "0.28.3") | |
2311 | (source | |
2312 | (origin | |
2313 | (method url-fetch) | |
2314 | (uri (crate-uri "wayland-scanner" version)) | |
2315 | (file-name (string-append name "-" version ".tar.gz")) | |
2316 | (sha256 | |
2317 | (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h")))) | |
2318 | (build-system cargo-build-system) | |
2319 | (arguments | |
2320 | `(#:skip-build? #t | |
2321 | #:cargo-inputs | |
2322 | (("rust-proc-macro2" ,rust-proc-macro2-1) | |
2323 | ("rust-quote" ,rust-quote-1) | |
2324 | ("rust-xml-rs" ,rust-xml-rs-0.8)))) | |
2325 | (home-page "https://github.com/smithay/wayland-rs") | |
2326 | (synopsis "Generate Rust APIs from XML Wayland protocol files") | |
2327 | (description | |
2328 | "Wayland Scanner generates Rust APIs from XML Wayland protocol files. | |
2329 | It is intended for use with wayland-sys. You should only need this crate if | |
2330 | you are working on custom Wayland protocol extensions. Look at the | |
2331 | wayland-client crate for usable bindings.") | |
2332 | (license license:expat))) | |
2333 | ||
9f86a6da EF |
2334 | (define-public rust-wayland-scanner-0.23 |
2335 | (package | |
ce42526f | 2336 | (inherit rust-wayland-scanner-0.28) |
9f86a6da EF |
2337 | (name "rust-wayland-scanner") |
2338 | (version "0.23.6") | |
2339 | (source | |
2340 | (origin | |
2341 | (method url-fetch) | |
2342 | (uri (crate-uri "wayland-scanner" version)) | |
2343 | (file-name | |
2344 | (string-append name "-" version ".tar.gz")) | |
2345 | (sha256 | |
2346 | (base32 | |
2347 | "0g8wcphykjrcpslznyi3qccx1pckw97rckq5b295nfbg6r3j5c4k")))) | |
9f86a6da EF |
2348 | (arguments |
2349 | `(#:cargo-inputs | |
2350 | (("rust-proc-macro2" ,rust-proc-macro2-0.4) | |
2351 | ("rust-quote" ,rust-quote-0.6) | |
ce42526f | 2352 | ("rust-xml-rs" ,rust-xml-rs-0.8)))))) |
9f86a6da EF |
2353 | |
2354 | (define-public rust-wayland-scanner-0.21 | |
2355 | (package | |
2356 | (inherit rust-wayland-scanner-0.23) | |
2357 | (name "rust-wayland-scanner") | |
2358 | (version "0.21.13") | |
2359 | (source | |
2360 | (origin | |
2361 | (method url-fetch) | |
2362 | (uri (crate-uri "wayland-scanner" version)) | |
2363 | (file-name | |
2364 | (string-append name "-" version ".tar.gz")) | |
2365 | (sha256 | |
2366 | (base32 | |
2367 | "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z")))))) | |
2368 | ||
5a6c7b82 NG |
2369 | (define-public rust-wayland-server-0.28 |
2370 | (package | |
2371 | (name "rust-wayland-server") | |
2372 | (version "0.28.3") | |
2373 | (source | |
2374 | (origin | |
2375 | (method url-fetch) | |
2376 | (uri (crate-uri "wayland-server" version)) | |
2377 | (file-name (string-append name "-" version ".tar.gz")) | |
2378 | (sha256 | |
2379 | (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93")))) | |
2380 | (build-system cargo-build-system) | |
2381 | (arguments | |
2382 | `(#:skip-build? #t | |
2383 | #:cargo-inputs | |
2384 | (("rust-bitflags" ,rust-bitflags-1) | |
2385 | ("rust-downcast-rs" ,rust-downcast-rs-1) | |
2386 | ("rust-lazy-static" ,rust-lazy-static-1) | |
2387 | ("rust-libc" ,rust-libc-0.2) | |
2388 | ("rust-nix" ,rust-nix-0.18) | |
2389 | ("rust-parking-lot" ,rust-parking-lot-0.11) | |
2390 | ("rust-scoped-tls" ,rust-scoped-tls-1) | |
2391 | ("rust-wayland-commons" ,rust-wayland-commons-0.28) | |
2392 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) | |
2393 | ("rust-wayland-sys" ,rust-wayland-sys-0.28)))) | |
2394 | (home-page "https://github.com/smithay/wayland-rs") | |
2395 | (synopsis | |
2396 | "Bindings to the standard C implementation of the wayland protocol") | |
2397 | (description | |
2398 | "This package provides Rust bindings to the standard C implementation of | |
2399 | the wayland protocol, server side.") | |
2400 | (license license:expat))) | |
2401 | ||
9f86a6da EF |
2402 | (define-public rust-wayland-server-0.23 |
2403 | (package | |
5a6c7b82 | 2404 | (inherit rust-wayland-server-0.28) |
9f86a6da EF |
2405 | (name "rust-wayland-server") |
2406 | (version "0.23.6") | |
2407 | (source | |
2408 | (origin | |
2409 | (method url-fetch) | |
2410 | (uri (crate-uri "wayland-server" version)) | |
2411 | (file-name | |
2412 | (string-append name "-" version ".tar.gz")) | |
2413 | (sha256 | |
2414 | (base32 | |
2415 | "1ccsalq6gnf07klnbjx2dxcbibhw03rqsgi578p913s3zsjlcg8a")))) | |
9f86a6da EF |
2416 | (arguments |
2417 | `(#:cargo-inputs | |
2418 | (("rust-bitflags" ,rust-bitflags-1) | |
2419 | ("rust-calloop" ,rust-calloop-0.4) | |
abad76c6 | 2420 | ("rust-downcast-rs" ,rust-downcast-rs-1) |
9f86a6da EF |
2421 | ("rust-libc" ,rust-libc-0.2) |
2422 | ("rust-mio" ,rust-mio-0.6) | |
2423 | ("rust-nix" ,rust-nix-0.14) | |
2424 | ("rust-wayland-commons" ,rust-wayland-commons-0.23) | |
2425 | ("rust-wayland-sys" ,rust-wayland-sys-0.23) | |
5a6c7b82 | 2426 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))))) |
9f86a6da EF |
2427 | |
2428 | (define-public rust-wayland-server-0.21 | |
2429 | (package | |
2430 | (inherit rust-wayland-server-0.23) | |
2431 | (name "rust-wayland-server") | |
2432 | (version "0.21.13") | |
2433 | (source | |
2434 | (origin | |
2435 | (method url-fetch) | |
2436 | (uri (crate-uri "wayland-server" version)) | |
2437 | (file-name | |
2438 | (string-append name "-" version ".tar.gz")) | |
2439 | (sha256 | |
2440 | (base32 | |
2441 | "0ayn4wlrpg0fw04prri9awpkjvbzjil0d3l3a8zs9pdbnspvw6ah")))) | |
2442 | (arguments | |
2443 | `(#:cargo-inputs | |
2444 | (("rust-bitflags" ,rust-bitflags-1) | |
2445 | ("rust-calloop" ,rust-calloop-0.4) | |
abad76c6 | 2446 | ("rust-downcast-rs" ,rust-downcast-rs-1) |
9f86a6da EF |
2447 | ("rust-libc" ,rust-libc-0.2) |
2448 | ("rust-mio" ,rust-mio-0.6) | |
2449 | ("rust-nix" ,rust-nix-0.14) | |
2450 | ("rust-wayland-commons" ,rust-wayland-commons-0.21) | |
2451 | ("rust-wayland-sys" ,rust-wayland-sys-0.21) | |
2452 | ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)))))) | |
2453 | ||
318c2db0 NG |
2454 | (define-public rust-wayland-sys-0.28 |
2455 | (package | |
2456 | (name "rust-wayland-sys") | |
2457 | (version "0.28.3") | |
2458 | (source | |
2459 | (origin | |
2460 | (method url-fetch) | |
2461 | (uri (crate-uri "wayland-sys" version)) | |
2462 | (file-name (string-append name "-" version ".tar.gz")) | |
2463 | (sha256 | |
2464 | (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7")))) | |
2465 | (build-system cargo-build-system) | |
2466 | (arguments | |
2467 | `(#:skip-build? #t | |
2468 | #:cargo-inputs | |
2469 | (("rust-dlib" ,rust-dlib-0.4) | |
2470 | ("rust-lazy-static" ,rust-lazy-static-1) | |
2471 | ("rust-libc" ,rust-libc-0.2) | |
2472 | ("rust-pkg-config" ,rust-pkg-config-0.3)))) | |
2473 | (home-page "https://github.com/smithay/wayland-rs") | |
2474 | (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries") | |
2475 | (description | |
2476 | "This package provides FFI bindings to the various | |
2477 | @file{libwayland-*.so} libraries. You should only need this crate if | |
2478 | you are working on custom Wayland protocol extensions. Look at the | |
2479 | crate @code{rust-wayland-client} for usable bindings.") | |
2480 | (license license:expat))) | |
2481 | ||
9f86a6da EF |
2482 | (define-public rust-wayland-sys-0.23 |
2483 | (package | |
318c2db0 | 2484 | (inherit rust-wayland-sys-0.28) |
9f86a6da EF |
2485 | (name "rust-wayland-sys") |
2486 | (version "0.23.6") | |
2487 | (source | |
2488 | (origin | |
2489 | (method url-fetch) | |
2490 | (uri (crate-uri "wayland-sys" version)) | |
2491 | (file-name | |
2492 | (string-append name "-" version ".tar.gz")) | |
2493 | (sha256 | |
2494 | (base32 | |
2495 | "1x2qafvj8hd2x5qfaan2dfpw9amg0f5g9sqrkdy7qvbddsl8jknr")))) | |
9f86a6da EF |
2496 | (arguments |
2497 | `(#:cargo-inputs | |
2498 | (("rust-dlib" ,rust-dlib-0.4) | |
2499 | ("rust-lazy-static" ,rust-lazy-static-1) | |
318c2db0 | 2500 | ("rust-libc" ,rust-libc-0.2)))))) |
9f86a6da EF |
2501 | |
2502 | (define-public rust-wayland-sys-0.21 | |
2503 | (package | |
2504 | (inherit rust-wayland-sys-0.23) | |
2505 | (name "rust-wayland-sys") | |
2506 | (version "0.21.13") | |
2507 | (source | |
2508 | (origin | |
2509 | (method url-fetch) | |
2510 | (uri (crate-uri "wayland-sys" version)) | |
2511 | (file-name | |
2512 | (string-append name "-" version ".tar.gz")) | |
2513 | (sha256 | |
2514 | (base32 | |
2515 | "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj")))))) | |
2516 | ||
9cef662c NG |
2517 | (define-public rust-winit-0.24 |
2518 | (package | |
2519 | (name "rust-winit") | |
2520 | (version "0.24.0") | |
2521 | (source | |
2522 | (origin | |
2523 | (method url-fetch) | |
2524 | (uri (crate-uri "winit" version)) | |
2525 | (file-name (string-append name "-" version ".tar.gz")) | |
2526 | (sha256 | |
2527 | (base32 "15zmpx5ip6ziqhds7md1s0ri0blhxfa8fg1ylg84pf0frrpxlkns")))) | |
2528 | (build-system cargo-build-system) | |
2529 | (arguments | |
2530 | `(#:skip-build? #t | |
2531 | #:cargo-inputs | |
2532 | (("rust-bitflags" ,rust-bitflags-1) | |
2533 | ("rust-cocoa" ,rust-cocoa-0.24) | |
2534 | ("rust-core-foundation" ,rust-core-foundation-0.9) | |
2535 | ("rust-core-graphics" ,rust-core-graphics-0.22) | |
2536 | ("rust-core-video-sys" ,rust-core-video-sys-0.1) | |
2537 | ("rust-dispatch" ,rust-dispatch-0.2) | |
2538 | ("rust-instant" ,rust-instant-0.1) | |
2539 | ("rust-lazy-static" ,rust-lazy-static-1) | |
2540 | ("rust-libc" ,rust-libc-0.2) | |
2541 | ("rust-log" ,rust-log-0.4) | |
2542 | ("rust-mio" ,rust-mio-0.6) | |
2543 | ("rust-mio-extras" ,rust-mio-extras-2) | |
2544 | ("rust-ndk" ,rust-ndk-0.2) | |
2545 | ("rust-ndk-glue" ,rust-ndk-glue-0.2) | |
2546 | ("rust-ndk-sys" ,rust-ndk-sys-0.2) | |
2547 | ("rust-objc" ,rust-objc-0.2) | |
2548 | ("rust-parking-lot" ,rust-parking-lot-0.11) | |
2549 | ("rust-percent-encoding" ,rust-percent-encoding-2) | |
2550 | ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) | |
2551 | ("rust-serde" ,rust-serde-1) | |
2552 | ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.12) | |
2553 | ("rust-stdweb" ,rust-stdweb-0.4) | |
2554 | ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) | |
2555 | ("rust-wayland-client" ,rust-wayland-client-0.28) | |
2556 | ("rust-web-sys" ,rust-web-sys-0.3) | |
2557 | ("rust-winapi" ,rust-winapi-0.3) | |
2558 | ("rust-x11-dl" ,rust-x11-dl-2)))) | |
2559 | (home-page "https://github.com/rust-windowing/winit") | |
2560 | (synopsis "Window creation library") | |
2561 | (description | |
2562 | "Winit is a window creation and management library. It can create | |
2563 | windows and lets you handle events (for example: the window being | |
2564 | resized, a key being pressed, a mouse movement, etc.) produced by | |
2565 | window. | |
2566 | ||
2567 | Winit is designed to be a low-level brick in a hierarchy of libraries. | |
2568 | Consequently, in order to show something on the window you need to use | |
2569 | the platform-specific getters provided by winit, or another library.") | |
2570 | (license license:asl2.0))) | |
2571 | ||
9f86a6da EF |
2572 | (define-public rust-winit-0.20 |
2573 | (package | |
9cef662c | 2574 | (inherit rust-winit-0.24) |
9f86a6da EF |
2575 | (name "rust-winit") |
2576 | (version "0.20.0-alpha6") | |
2577 | (source | |
2578 | (origin | |
2579 | (method url-fetch) | |
2580 | (uri (crate-uri "winit" version)) | |
2581 | (file-name | |
2582 | (string-append name "-" version ".tar.gz")) | |
2583 | (sha256 | |
2584 | (base32 | |
2585 | "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z")) | |
2586 | (patches | |
2587 | (list | |
2588 | (origin | |
2589 | (method url-fetch) | |
2590 | (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch") | |
2591 | (file-name (string-append name "-fix-bindings.patch")) | |
2592 | (sha256 | |
2593 | (base32 | |
2594 | "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds"))))))) | |
9f86a6da EF |
2595 | (arguments |
2596 | `(#:cargo-inputs | |
2597 | (("rust-android-glue" ,rust-android-glue-0.2) | |
2598 | ("rust-bitflags" ,rust-bitflags-1) | |
2599 | ("rust-calloop" ,rust-calloop-0.4) | |
2600 | ("rust-cocoa" ,rust-cocoa-0.19) | |
2601 | ("rust-core-foundation" ,rust-core-foundation-0.6) | |
2602 | ("rust-core-graphics" ,rust-core-graphics-0.17) | |
2603 | ("rust-core-video-sys" ,rust-core-video-sys-0.1) | |
2604 | ("rust-dispatch" ,rust-dispatch-0.1) | |
2605 | ("rust-instant" ,rust-instant-0.1) | |
2606 | ("rust-lazy-static" ,rust-lazy-static-1) | |
2607 | ("rust-libc" ,rust-libc-0.2) | |
2608 | ("rust-log" ,rust-log-0.4) | |
2609 | ("rust-objc" ,rust-objc-0.2) | |
2610 | ("rust-parking-lot" ,rust-parking-lot-0.10) | |
2cc9d2a7 | 2611 | ("rust-percent-encoding" ,rust-percent-encoding-2) |
9f86a6da EF |
2612 | ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) |
2613 | ("rust-serde" ,rust-serde-1) | |
2614 | ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6) | |
2615 | ("rust-stdweb" ,rust-stdweb-0.4) | |
2616 | ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) | |
2617 | ("rust-wayland-client" ,rust-wayland-client-0.23) | |
2618 | ("rust-web-sys" ,rust-web-sys-0.3) | |
2619 | ("rust-winapi" ,rust-winapi-0.3) | |
2620 | ("rust-x11-dl" ,rust-x11-dl-2)) | |
2621 | #:cargo-development-inputs | |
2622 | (("rust-console-log" ,rust-console-log-0.1) | |
2623 | ("rust-env-logger" ,rust-env-logger-0.5) | |
9cef662c | 2624 | ("rust-image" ,rust-image-0.21)))))) |
9f86a6da EF |
2625 | |
2626 | (define-public rust-winit-0.19 | |
2627 | (package | |
2628 | (inherit rust-winit-0.20) | |
2629 | (name "rust-winit") | |
2630 | (version "0.19.5") | |
2631 | (source | |
2632 | (origin | |
2633 | (method url-fetch) | |
2634 | (uri (crate-uri "winit" version)) | |
2635 | (file-name | |
2636 | (string-append name "-" version ".tar.gz")) | |
2637 | (sha256 | |
2638 | (base32 | |
2639 | "1a4lnfyvlc4jabhs30wlmkgdjv7qhbplmyp833kl7ykjni5yp5hy")))) | |
2640 | (arguments | |
2641 | `(#:cargo-inputs | |
2642 | (("rust-android-glue" ,rust-android-glue-0.2) | |
2643 | ("rust-backtrace" ,rust-backtrace-0.3) | |
2644 | ("rust-bitflags" ,rust-bitflags-1) | |
2645 | ("rust-cocoa" ,rust-cocoa-0.18) | |
2646 | ("rust-core-foundation" ,rust-core-foundation-0.6) | |
2647 | ("rust-core-graphics" ,rust-core-graphics-0.17) | |
2648 | ("rust-image" ,rust-image-0.21) | |
2649 | ("rust-lazy-static" ,rust-lazy-static-1) | |
2650 | ("rust-libc" ,rust-libc-0.2) | |
2651 | ("rust-log" ,rust-log-0.4) | |
2652 | ("rust-objc" ,rust-objc-0.2) | |
2653 | ("rust-parking-lot" ,rust-parking-lot-0.9) | |
2cc9d2a7 | 2654 | ("rust-percent-encoding" ,rust-percent-encoding-2) |
9f86a6da EF |
2655 | ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) |
2656 | ("rust-serde" ,rust-serde-1) | |
2657 | ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4) | |
2658 | ("rust-wayland-client" ,rust-wayland-client-0.21) | |
2659 | ("rust-winapi" ,rust-winapi-0.3) | |
2660 | ("rust-x11-dl" ,rust-x11-dl-2)))))) | |
2661 | ||
2662 | (define-public rust-x11-2 | |
2663 | (package | |
2664 | (name "rust-x11") | |
9d012ddf | 2665 | (version "2.18.2") |
9f86a6da EF |
2666 | (source |
2667 | (origin | |
2668 | (method url-fetch) | |
2669 | (uri (crate-uri "x11" version)) | |
2670 | (file-name | |
2671 | (string-append name "-" version ".tar.gz")) | |
2672 | (sha256 | |
9d012ddf | 2673 | (base32 "0wz7l6dlbraa9zalh9i45v9wibvkir9m2m1sg0jnzcbcaj9d1v3p")))) |
9f86a6da EF |
2674 | (build-system cargo-build-system) |
2675 | (arguments | |
2676 | `(#:cargo-inputs | |
2677 | (("rust-libc" ,rust-libc-0.2) | |
2678 | ("rust-pkg-config" ,rust-pkg-config-0.3)))) | |
9d012ddf | 2679 | (home-page "https://github.com/erlepereira/x11-rs") |
9f86a6da | 2680 | (synopsis "X11 library bindings for Rust") |
9d012ddf NG |
2681 | (description "This crate provides X11 library bindings for Rust.") |
2682 | (license license:expat))) | |
9f86a6da | 2683 | |
330377cb NG |
2684 | (define-public rust-x11-clipboard-0.5 |
2685 | (package | |
2686 | (name "rust-x11-clipboard") | |
2687 | (version "0.5.1") | |
2688 | (source | |
2689 | (origin | |
2690 | (method url-fetch) | |
2691 | (uri (crate-uri "x11-clipboard" version)) | |
2692 | (file-name (string-append name "-" version ".tar.gz")) | |
2693 | (sha256 | |
2694 | (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5")))) | |
2695 | (build-system cargo-build-system) | |
2696 | (arguments | |
2697 | `(#:skip-build? #t | |
2698 | #:cargo-inputs | |
2699 | (("rust-xcb" ,rust-xcb-0.9)))) | |
2700 | (home-page "https://github.com/quininer/x11-clipboard") | |
2701 | (synopsis "x11 clipboard support for Rust") | |
2702 | (description "This package provides x11 clipboard support for Rust.") | |
2703 | (license license:expat))) | |
2704 | ||
9f86a6da EF |
2705 | (define-public rust-x11-clipboard-0.4 |
2706 | (package | |
330377cb | 2707 | (inherit rust-x11-clipboard-0.5) |
9f86a6da EF |
2708 | (name "rust-x11-clipboard") |
2709 | (version "0.4.0") | |
2710 | (source | |
2711 | (origin | |
2712 | (method url-fetch) | |
2713 | (uri (crate-uri "x11-clipboard" version)) | |
2714 | (file-name | |
2715 | (string-append name "-" version ".tar.gz")) | |
2716 | (sha256 | |
2717 | (base32 | |
2718 | "0nqdnswiyj28b1izjp5rzbc67cxpb5c8p4vh1xyndkirzs84vqqk")))) | |
9f86a6da EF |
2719 | (arguments |
2720 | `(#:tests? #f ; Tests require display server. | |
2721 | #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9)))) | |
2722 | (native-inputs | |
330377cb | 2723 | `(("python" ,python))))) |
9f86a6da EF |
2724 | |
2725 | (define-public rust-x11-dl-2 | |
2726 | (package | |
2727 | (name "rust-x11-dl") | |
2728 | (version "2.18.5") | |
2729 | (source | |
2730 | (origin | |
2731 | (method url-fetch) | |
2732 | (uri (crate-uri "x11-dl" version)) | |
2733 | (file-name | |
2734 | (string-append name "-" version ".tar.gz")) | |
2735 | (sha256 | |
2736 | (base32 "1y7yq4sfvv56shk4v3s7gvlrwk9d0migj622fl4i4c5klpiq3y9b")))) | |
2737 | (build-system cargo-build-system) | |
2738 | (arguments | |
2739 | `(#:cargo-inputs | |
2740 | (("rust-lazy-static" ,rust-lazy-static-1) | |
2741 | ("rust-libc" ,rust-libc-0.2) | |
2742 | ("rust-maybe-uninit" ,rust-maybe-uninit-2.0) | |
2743 | ("rust-pkg-config" ,rust-pkg-config-0.3)))) | |
2744 | (home-page "https://github.com/erlepereira/x11-rs.git") | |
2745 | (synopsis "X11 library bindings for Rust") | |
2746 | (description "This package provides X11 library bindings for Rust.") | |
2747 | (license license:cc0))) | |
2748 | ||
2749 | (define-public rust-y4m-0.5 | |
2750 | (package | |
2751 | (name "rust-y4m") | |
2752 | (version "0.5.3") | |
2753 | (source | |
2754 | (origin | |
2755 | (method url-fetch) | |
2756 | (uri (crate-uri "y4m" version)) | |
2757 | (file-name | |
2758 | (string-append name "-" version ".tar.gz")) | |
2759 | (sha256 | |
2760 | (base32 | |
2761 | "1933677by64y06zfgip2yq8b2dza8xnljhaksx93czq90b54kscz")))) | |
2762 | (build-system cargo-build-system) | |
2763 | (arguments | |
2764 | `(#:cargo-development-inputs | |
2765 | (("rust-resize" ,rust-resize-0.3)))) | |
2766 | (home-page "https://github.com/image-rs/y4m") | |
2767 | (synopsis "YUV4MPEG2 (.y4m) Encoder/Decoder.") | |
2768 | (description "YUV4MPEG2 (.y4m) Encoder/Decoder.") | |
2769 | (license license:expat))) |