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