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