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