aboutsummaryrefslogtreecommitdiff
path: root/etc/guix-daemon.cil.in
blob: b221e31094226966b1daed607fca00b13d1c7e03 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
; -*- lisp -*-
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Daniel Brooks <db48x@db48x.net>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

;; This is a specification for SELinux 2.7 written in the SELinux Common
;; Intermediate Language (CIL).  It refers to types that must be defined in
;; the system's base policy.

;; If you, like me, need advice about fixing an SELinux policy, I recommend
;; reading https://danwalsh.livejournal.com/55324.html

;; In particular, you can run semanage permissive -a guix_daemon.guix_daemon_t
;; to allow guix-daemon to do whatever it wants. SELinux will still check its
;; permissions, and when it doesn't have permission it will still send an
;; audit message to your system logs. This lets you know what permissions it
;; ought to have. Use ausearch --raw to find the permissions violations, then
;; pipe that to audit2allow to generate an updated policy. You'll still need
;; to translate that policy into CIL in order to update this file, but that's
;; fairly straight-forward. Annoying, but easy.

(block guix_daemon
  ;; Require existing types
  (typeattributeset cil_gen_require domain)
  (typeattributeset cil_gen_require init_t)
  (typeattributeset cil_gen_require init_var_run_t)
  (typeattributeset cil_gen_require nscd_var_run_t)
  (typeattributeset cil_gen_require system_dbusd_var_run_t)
  (typeattributeset cil_gen_require tmp_t)
  (typeattributeset cil_gen_require var_log_t)

  ;; Declare own types
  (type guix_daemon_t)
  (roletype object_r guix_daemon_t)
  (type guix_daemon_conf_t)
  (roletype object_r guix_daemon_conf_t)
  (typeattributeset file_type guix_daemon_conf_t)
  (type guix_daemon_exec_t)
  (roletype object_r guix_daemon_exec_t)
  (typeattributeset file_type guix_daemon_exec_t)
  (type guix_daemon_socket_t)
  (roletype object_r guix_daemon_socket_t)
  (typeattributeset file_type guix_daemon_socket_t)
  (type guix_store_content_t)
  (roletype object_r guix_store_content_t)
  (typeattributeset file_type guix_store_content_t)
  (type guix_profiles_t)
  (roletype object_r guix_profiles_t)
  (typeattributeset file_type guix_profiles_t)

  ;; These types are domains, thereby allowing process rules
  (typeattributeset domain (guix_daemon_t guix_daemon_exec_t))

  (level low (s0))

  ;; When a process in init_t or guix_store_content_t spawns a
  ;; guix_daemon_exec_t process, let it run in the guix_daemon_t context
  (typetransition init_t guix_daemon_exec_t
                  process guix_daemon_t)
  (typetransition guix_store_content_t guix_daemon_exec_t
                  process guix_daemon_t)

  (roletype system_r guix_daemon_t)

  ;; allow init_t to read and execute guix files
  (allow init_t
         guix_profiles_t
         (lnk_file (read)))
  (allow init_t
         guix_daemon_exec_t
         (file (execute)))
  (allow init_t
         guix_daemon_t
         (process (transition)))
  (allow init_t
         guix_store_content_t
         (lnk_file (read)))
  (allow init_t
         guix_store_content_t
         (file (open read execute)))
  (allow init_t
         guix_profiles_t
         (dir (setattr)))

  ;; guix-daemon needs to know the names of users
  (allow guix_daemon_t
         passwd_file_t
         (file (getattr open read)))

  ;; Permit communication with NSCD
  (allow guix_daemon_t
         nscd_var_run_t
         (file (map read)))
  (allow guix_daemon_t
         nscd_var_run_t
         (dir (search)))
  (allow guix_daemon_t
         nscd_var_run_t
         (sock_file (write)))
  (allow guix_daemon_t
         nscd_t
         (fd (use)))
  (allow guix_daemon_t
         nscd_t
         (unix_stream_socket (connectto)))
  (allow guix_daemon_t nscd_t
         (nscd (getgrp gethost getpwd getserv shmemgrp shmemhost shmempwd shmemserv)))

  ;; permit downloading packages via HTTP(s)
  (allow guix_daemon_t http_port_t
         (tcp_socket (name_connect)))
  (allow guix_daemon_t ftp_port_t
         (tcp_socket (name_connect)))
  (allow guix_daemon_t ephemeral_port_t
         (tcp_socket (name_connect)))

  ;; Permit logging and temp file access
  (allow guix_daemon_t
         tmp_t
         (lnk_file (create rename setattr unlink)))
  (allow guix_daemon_t
         tmp_t
         (file (link
                rename create execute execute_no_trans write
                unlink setattr map relabelto relabelfrom)))
  (allow guix_daemon_t
         tmp_t
         (fifo_file (open read write create getattr ioctl setattr unlink)))
  (allow guix_daemon_t
         tmp_t
         (dir (create rename
               rmdir relabelto relabelfrom reparent
               add_name remove_name
               open read write
               getattr setattr
               search)))
  (allow guix_daemon_t
         tmp_t
         (sock_file (create getattr setattr unlink write)))
  (allow guix_daemon_t
         var_log_t
         (file (create getattr open write)))
  (allow guix_daemon_t
         var_log_t
         (dir (getattr create write add_name)))
  (allow guix_daemon_t
         var_run_t
         (lnk_file (read)))
  (allow guix_daemon_t
         var_run_t
         (dir (search)))

  ;; Spawning processes, execute helpers
  (allow guix_daemon_t
         self
         (process (fork execmem setrlimit setpgid setsched)))
  (allow guix_daemon_t
         guix_daemon_exec_t
         (file (execute
                execute_no_trans read write open entrypoint map
                getattr link unlink)))

  ;; Remounting /gnu/store read-write.
  (allow guix_daemon_t
         fs_t
         (filesystem (remount)))

  ;; TODO: unknown
  (allow guix_daemon_t
         root_t
         (dir (mounton)))
  (allow guix_daemon_t
         fs_t
         (filesystem (getattr)))
  (allow guix_daemon_conf_t
         fs_t
         (filesystem (associate)))

  ;; Build isolation
  (allow guix_daemon_t
         guix_store_content_t
         (file (ioctl mounton)))
  (allow guix_store_content_t
         fs_t
         (filesystem (associate)))
  (allow guix_daemon_t
         guix_store_content_t
         (dir (read mounton)))
  (allow guix_daemon_t
         guix_daemon_t
         (capability (net_admin
                      fsetid fowner
                      chown setuid setgid
                      dac_override dac_read_search
                      sys_chroot
                      sys_admin)))
  (allow guix_daemon_t
         fs_t
         (filesystem (unmount)))
  (allow guix_daemon_t
         devpts_t
         (dir (search)))
  (allow guix_daemon_t
         devpts_t
         (filesystem (mount)))
  (allow guix_daemon_t
         devpts_t
         (chr_file (ioctl open read write setattr getattr)))
  (allow guix_daemon_t
         tmpfs_t
         (filesystem (getattr mount)))
  (allow guix_daemon_t
         tmpfs_t
         (file (create open read unlink write)))
  (allow guix_daemon_t                          ;same as above, but with tmp_t
         tmp_t
         (file (create open read unlink write)))
  (allow guix_daemon_t
         tmpfs_t
         (dir (getattr add_name remove_name write)))
  (allow guix_daemon_t
         proc_t
         (file (getattr open read)))
  (allow guix_daemon_t
         proc_t
         (dir (read)))
  (allow guix_daemon_t
         proc_t
         (filesystem (associate mount)))
  (allow guix_daemon_t
         null_device_t
         (chr_file (getattr open read write)))
  (allow guix_daemon_t
         kvm_device_t
         (chr_file (getattr)))
  (allow guix_daemon_t
         zero_device_t
         (chr_file (getattr)))
  (allow guix_daemon_t
         urandom_device_t
         (chr_file (getattr)))
  (allow guix_daemon_t
         random_device_t
         (chr_file (getattr)))
  (allow guix_daemon_t
         devtty_t
         (chr_file (getattr)))

  ;; Access to store items
  (allow guix_daemon_t
         guix_store_content_t
         (dir (reparent
               create
               getattr setattr
               search rename
               add_name remove_name
               open write
               rmdir relabelfrom)))
  (allow guix_daemon_t
         guix_store_content_t
         (file (create
                lock
                setattr getattr
                execute execute_no_trans
                link unlink
                map
                rename
                append
                open read write relabelfrom)))
  (allow guix_daemon_t
         guix_store_content_t
         (lnk_file (create
                    getattr setattr
                    link unlink
                    read
                    rename)))
  (allow guix_daemon_t
         guix_store_content_t
         (fifo_file (create getattr open read unlink write)))
  (allow guix_daemon_t
         guix_store_content_t
         (sock_file (create getattr setattr unlink write)))

  ;; Access to run state directories
  (allow guix_daemon_t
         system_dbusd_var_run_t
         (dir (search)))
  (allow guix_daemon_t
         init_var_run_t
         (dir (search)))

  ;; Access to configuration files and directories
  (allow guix_daemon_t
         guix_daemon_conf_t
         (dir (search create
               setattr getattr
               add_name remove_name
               open read write)))
  (allow guix_daemon_t
         guix_daemon_conf_t
         (file (create rename
                lock
                map
                getattr setattr
                unlink
                open read write)))
  (allow guix_daemon_t
         guix_daemon_conf_t
         (lnk_file (create getattr rename unlink read)))
  (allow guix_daemon_t net_conf_t
         (file (getattr open read)))
  (allow guix_daemon_t net_conf_t
         (lnk_file (read)))
  (allow guix_daemon_t NetworkManager_var_run_t
         (dir (search)))

  ;; Access to profiles
  (allow guix_daemon_t
         guix_profiles_t
         (dir (search getattr setattr read write open create add_name)))
  (allow guix_daemon_t
         guix_profiles_t
         (lnk_file (read getattr)))

  ;; Access to profile links in the home directory
  ;; TODO: allow access to profile links *anywhere* on the filesystem
  (allow guix_daemon_t
         user_home_t
         (lnk_file (read getattr)))
  (allow guix_daemon_t
         user_home_t
         (dir (search)))
  (allow guix_daemon_t
         cache_home_t
         (dir (search)))
  (allow guix_daemon_t
         cache_home_t
         (lnk_file (getattr read)))

  ;; self upgrades
  (allow guix_daemon_t
         self
         (dir (add_name write)))
  (allow guix_daemon_t
         self
         (netlink_route_socket (bind create getattr nlmsg_read read write getopt)))

  ;; Socket operations
  (allow guix_daemon_t
         guix_daemon_socket_t
         (sock_file (unlink write)))
  (allow guix_daemon_t
         init_t
         (fd (use)))
  (allow guix_daemon_t
         init_t
         (unix_stream_socket (write)))
  (allow guix_daemon_t
         guix_daemon_conf_t
         (unix_stream_socket (listen)))
  (allow guix_daemon_t
         guix_daemon_conf_t
         (sock_file (create unlink write)))
  (allow guix_daemon_t
         self
         (unix_stream_socket (create
                              read write
                              connect bind accept
                              getopt setopt)))
  (allow guix_daemon_t
         self
         (tcp_socket (accept listen bind connect create setopt getopt getattr ioctl read write shutdown)))
  (allow guix_daemon_t
         unreserved_port_t
         (tcp_socket (name_bind name_connect accept listen)))
  (allow guix_daemon_t
         self
         (udp_socket (connect getattr bind getopt setopt read write)))
  (allow guix_daemon_t
         self
         (fifo_file (write read)))
  (allow guix_daemon_t
         self
         (udp_socket (ioctl create)))
  (allow guix_daemon_t
         self
         (unix_stream_socket (connectto)))
  (allow guix_daemon_t
         self
         (unix_dgram_socket (create bind connect sendto read write)))

  ;; For some esoteric build jobs (i.e. running PostgreSQL, etc).
  (allow guix_daemon_t
         self
         (capability (kill)))
  (allow guix_daemon_t
         node_t
         (tcp_socket (node_bind)))
  (allow guix_daemon_t
         node_t
         (udp_socket (node_bind)))
  (allow guix_daemon_t
         port_t
         (tcp_socket (name_connect)))
  (allow guix_daemon_t
         tmpfs_t
         (file (map read write link getattr)))
  (allow guix_daemon_t
         usermodehelper_t
         (file (read)))
  (allow guix_daemon_t
         hugetlbfs_t
         (file (map read write)))
  (allow guix_daemon_t
         proc_net_t
         (file (read)))
  (allow guix_daemon_t
         postgresql_port_t
         (tcp_socket (name_connect name_bind)))
  (allow guix_daemon_t
         rtp_media_port_t
         (udp_socket (name_bind)))
  (allow guix_daemon_t
         vnc_port_t
         (tcp_socket (name_bind)))

  ;; I guess sometimes it needs random numbers
  (allow guix_daemon_t
         random_device_t
         (chr_file (read)))

  ;; guix system vm
  (allow guix_daemon_t
         kvm_device_t
         (chr_file (ioctl open read write)))
  (allow guix_daemon_t
         kernel_t
         (system (ipc_info)))

  ;; Label file system
  (filecon "@guix_sysconfdir@/guix(/.*)?"
           any (system_u object_r guix_daemon_conf_t (low low)))
  (filecon "@guix_localstatedir@/guix(/.*)?"
           any (system_u object_r guix_daemon_conf_t (low low)))
  (filecon "@guix_localstatedir@/guix/profiles(/.*)?"
           any (system_u object_r guix_profiles_t (low low)))
  (filecon "/gnu"
           dir (unconfined_u object_r guix_store_content_t (low low)))
  (filecon "@storedir@(/.+)?"
           any (unconfined_u object_r guix_store_content_t (low low)))
  (filecon "@storedir@/[^/]+/.+"
           any (unconfined_u object_r guix_store_content_t (low low)))
  (filecon "@prefix@/bin/guix-daemon"
           file (system_u object_r guix_daemon_exec_t (low low)))
  (filecon "@guix_localstatedir@/guix/profiles/per-user/[^/]+/current-guix/bin/guix-daemon"
           file (system_u object_r guix_daemon_exec_t (low low)))
  (filecon "@storedir@/.+-(guix-.+|profile)/bin/guix-daemon"
           file (system_u object_r guix_daemon_exec_t (low low)))
  (filecon "@storedir@/[a-z0-9]+-guix-daemon"
           file (system_u object_r guix_daemon_exec_t (low low)))
  (filecon "@guix_localstatedir@/guix/daemon-socket/socket"
           any (system_u object_r guix_daemon_socket_t (low low))))
-pixbuf-sys-0.14) (name "rust-gdk-pixbuf-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13qyxazj9bmw3llvkh6br8v7sypnbin2nxis366ppsa3gy54dziv")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gdk-pixbuf-sys-0.9 (package (inherit rust-gdk-pixbuf-sys-0.10) (name "rust-gdk-pixbuf-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gdk-pixbuf-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c2andpjb10y7bahh6nxnksh9m3g5qh4mgq9znx634cy1831p6fq")))) (arguments `(#:tests? #f ; tests not included in release #:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gdk-sys-0.14 (package (name "rust-gdk-sys") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07hz3gg039sy7iffy2w5srxzsnqf15i3ryxkqfd995k67lyin28f")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14) ("rust-gio-sys" ,rust-gio-sys-0.14) ("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-gobject-sys" ,rust-gobject-sys-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.14) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs (list cairo gdk-pixbuf gtk+ glib pango)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgdk-3") (description "FFI bindings to libgdk-3") (license license:expat))) (define-public rust-gdk-sys-0.10 (package (inherit rust-gdk-sys-0.14) (name "rust-gdk-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gdk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0s8d2jymffbv2kpwrx53krf7mpy3vdfhbb5i2n02dz80qp7m75ha")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gdk-sys-0.9 (package (inherit rust-gdk-sys-0.10) (name "rust-gdk-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gdk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fwgr1b3n0khlkhdq9145m6baz9y8207ya30d30g1gyij6g6gpva")))) (arguments `(#:tests? #f #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gdk4-0.7 (package (name "rust-gdk4") (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "gdk4" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xiacc63p73apr033gjrb9dsk0y4yxnsljwfxbwfry41snd03nvy")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) ("rust-gio" ,rust-gio-0.18) ("rust-gl" ,rust-gl-0.14) ("rust-glib" ,rust-glib-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.18)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list cairo gdk-pixbuf gtk)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings of the GDK 4 library") (description "This package provides rust bindings of the GDK 4 library.") (license license:expat))) (define-public rust-gdk4-sys-0.7 (package (name "rust-gdk4-sys") (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "gdk4-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1w7yvir565sjrrw828lss07749hfpfsr19jdjzwivkx36brl7ayv")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; ‘GDK_MEMORY_A16’ undeclared #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18) ("rust-gio-sys" ,rust-gio-sys-0.18) ("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.18) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list cairo gdk-pixbuf glib gtk pango)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings of GDK 4") (description "This package provides FFI bindings of GDK 4.") (license license:expat))) (define-public rust-gio-0.18 (package (name "rust-gio") (version "0.18.4") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0wsc6mnx057s4ailacg99dwgna38dbqli5x7a6y9rdw75x9qzz6l")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=settings::test::bool_set_get" "--skip=settings::test::string_get") #:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.18) ("rust-glib" ,rust-glib-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-2)))) (native-inputs (list pkg-config)) (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the Gio library") (description "Rust bindings for the Gio library.") (license license:expat))) (define-public rust-gio-0.17 (package (inherit rust-gio-0.18) (name "rust-gio") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "02nkqpq1a6ikzhv5x4nyfvzx8zk5dkjsjm50ns4qdybwjf93x5x6")))) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.17) ("rust-glib" ,rust-glib-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-1)))))) (define-public rust-gio-0.15 (package (inherit rust-gio-0.17) (name "rust-gio") (version "0.15.12") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fr8qiqjf9yzl8867kgqdsxpkcx2jrns3xwmlf0jfiid668brzb8")))) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.15) ("rust-glib" ,rust-glib-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-0.6)))))) (define-public rust-gio-0.14 (package (inherit rust-gio-0.15) (name "rust-gio") (version "0.14.8") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c2w47mznpplr3mmhgs4m4nlkv8gs4c182cwi9brbl7bncr3c73i")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-gio-sys" ,rust-gio-sys-0.14) ("rust-glib" ,rust-glib-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-0.4)))))) (define-public rust-gio-0.9 (package (inherit rust-gio-0.14) (name "rust-gio") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qc5aqi2ijval5i9df0qryy4wbmayyhy7ng5v9r0fw7zpx105dhz")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures" ,rust-futures-0.3) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-0.4)))))) (define-public rust-gio-0.8 (package (inherit rust-gio-0.9) (name "rust-gio") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19cnla2ya0mi6wwaabd5mxbq2kzq46dg6jq2z19rpqyc2na0zl8c")))) (arguments `(#:tests? #f ; Not all files included in the tarball. #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-serial-test" ,rust-serial-test-0.1) ("rust-serial-test-derive" ,rust-serial-test-derive-0.1)))))) (define-public rust-gio-sys-0.18 (package (name "rust-gio-sys") (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1lip8z35iy9d184x2qwjxlbxi64q9cpayy7v1p5y9xdsa3w6smip")))) (build-system cargo-build-system) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. #:tests? #f #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6) ("rust-shell-words" ,rust-shell-words-1) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'extend-include-path (lambda* (#:key inputs #:allow-other-keys) (let ((gio-headers (search-input-directory inputs "include/gio-unix-2.0"))) ;; Tests rely on these headers. (setenv "C_INCLUDE_PATH" (string-append gio-headers ":" (getenv "C_INCLUDE_PATH"))))))))) (native-inputs (list pkg-config)) (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgio-2.0") (description "This package provides FFI bindings to libgio-2.0.") (license license:expat))) (define-public rust-gio-sys-0.17 (package (inherit rust-gio-sys-0.18) (name "rust-gio-sys") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hr84vgpz1hbs9q7wgvpnwhbxwh9kim0z5aqv6v6ki0j1b1qgkqc")))) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. #:tests? #f #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-gobject-sys" ,rust-gobject-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'extend-include-path (lambda* (#:key inputs #:allow-other-keys) (let ((gio-headers (search-input-directory inputs "include/gio-unix-2.0"))) ;; Tests rely on these headers. (setenv "C_INCLUDE_PATH" (string-append gio-headers ":" (getenv "C_INCLUDE_PATH"))))))))))) (define-public rust-gio-sys-0.15 (package (inherit rust-gio-sys-0.17) (name "rust-gio-sys") (version "0.15.10") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13fgmc2xdzg9qk9l3nlp1bilwn6466mrqbiq4fhc9qkia93pl59j")))) (arguments `(;; FIXME: some GLib macros are not found #:tests? #f #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-before 'check 'extend-include-path (lambda* (#:key inputs #:allow-other-keys) (let ((gio-headers (search-input-directory inputs "include/gio-unix-2.0"))) ;; Tests rely on these headers. (setenv "C_INCLUDE_PATH" (string-append gio-headers ":" (getenv "C_INCLUDE_PATH"))))))))))) (define-public rust-gio-sys-0.14 (package (inherit rust-gio-sys-0.15) (name "rust-gio-sys") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1yj8dx2rna07av3jwyd93s832kw8dg14zxxwqj3w5z2pdvv1v960")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-gobject-sys" ,rust-gobject-sys-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-3) ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-gio-sys-0.10 (package (inherit rust-gio-sys-0.14) (name "rust-gio-sys") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1b2f6jvghm2djymj3qrgbqfci2f95gyhdin2pgv2qpcg5xszn92y")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1) ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-gio-sys-0.9 (package (inherit rust-gio-sys-0.10) (name "rust-gio-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "049rafihxp3maxg3fwj6062ni9dcfilvhfq6ibnfgsmr89925bag")))) (arguments `(#:tests? #f ; Some test libraries not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gir-format-check-0.1 (package (name "rust-gir-format-check") (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "gir-format-check" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05n4g8yqkyzrnxbqyrkjqjxsfxdy3q78jk0ny54ffv2qm09sjp9s")))) (build-system cargo-build-system) (home-page "https://github.com/gtk-rs/gir-format-check") (synopsis "File format checker") (description "File format checker in Rust.") (license license:expat))) (define-public rust-glib-0.18 (package (name "rust-glib") (version "0.18.5") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r8fw0627nmn19bgk3xpmcfngx3wkn7mcpq5a8ma3risx3valg93")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=structured_log") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.18) ("rust-glib-macros" ,rust-glib-macros-0.18) ("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) ("rust-once-cell" ,rust-once-cell-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-tempfile" ,rust-tempfile-3) ("rust-trybuild2" ,rust-trybuild2-1)))) (native-inputs (list pkg-config)) (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the GLib library") (description "Rust bindings for the GLib library.") (license license:expat))) (define-public rust-glib-0.17 (package (inherit rust-glib-0.18) (name "rust-glib") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0jqlipn9zixj8fpqlg45v0f06j2ghdz72cml2akcxlnlm1dx9ynk")))) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gio-sys" ,rust-gio-sys-0.17) ("rust-glib-macros" ,rust-glib-macros-0.17) ("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-gobject-sys" ,rust-gobject-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) ("rust-once-cell" ,rust-once-cell-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-tempfile" ,rust-tempfile-3) ("rust-trybuild2" ,rust-trybuild2-1)))))) (define-public rust-glib-0.15 (package (inherit rust-glib-0.17) (name "rust-glib") (version "0.15.12") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0pahikbwxr3vafdrr5l2hnlhkf9xi4illryan0l59ayhp9pk1c7d")))) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-glib-macros" ,rust-glib-macros-0.15) ("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-glib-0.14 (package (inherit rust-glib-0.15) (name "rust-glib") (version "0.14.8") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "194n6w5yy869lls3pr46x5nm049cn02qsljzcgv1w5dzc8g5ylbw")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-glib-macros" ,rust-glib-macros-0.14) ("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-gobject-sys" ,rust-gobject-sys-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-smallvec" ,rust-smallvec-1)))))) (define-public rust-glib-0.10 (package (inherit rust-glib-0.14) (name "rust-glib") (version "0.10.3") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ifh56nhvhcrssxqkad876qqrlnl16q6b8ap3f7ncpjinw9m0s0c")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib-macros" ,rust-glib-macros-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-glib-0.9 (package (inherit rust-glib-0.10) (name "rust-glib") (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1h3100mf7kdfxibjz5na0sqzbd2mcsyd8pzivn3666w414x5gys0")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-preview" ,rust-futures-preview-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-glib-macros-0.18 (package (name "rust-glib-macros") (version "0.18.5") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1p5cla53fcp195zp0hkqpmnn7iwmkdswhy7xh34002bw8y7j5c0b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro-crate" ,rust-proc-macro-crate-2) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-glib" ,rust-glib-0.18) ("rust-once-cell" ,rust-once-cell-1) ("rust-trybuild2" ,rust-trybuild2-1)))) (native-inputs (list pkg-config)) (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the GLib library, proc macros crate") (description "Rust bindings for the GLib library, proc macros crate.") (license license:expat))) (define-public rust-glib-macros-0.17 (package (inherit rust-glib-macros-0.18) (name "rust-glib-macros") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "09nyh22nryip4i22mdrixzl4q0r5h5lxcn40mgqr30rk6y9wg9gc")))) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-heck" ,rust-heck-0.4) ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs (("rust-glib" ,rust-glib-0.17) ("rust-once-cell" ,rust-once-cell-1) ("rust-trybuild2" ,rust-trybuild2-1)))))) (define-public rust-glib-macros-0.15 (package (inherit rust-glib-macros-0.17) (name "rust-glib-macros") (version "0.15.13") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0jiwvywmkqhih6glipj1c7aylwfr738jid8nmjr4yvx2dygsxihh")))) (arguments `(;; XXX: Circular dependency on rust-glib?? #:tests? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-heck" ,rust-heck-0.4) ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) (define-public rust-glib-macros-0.14 (package (inherit rust-glib-macros-0.15) (name "rust-glib-macros") (version "0.14.1") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0675i7m7pksg4cd9kfpzjnw0x5r3y4gcac7mfgy6nyb63wv6db9a")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-heck" ,rust-heck-0.3) ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) (define-public rust-glib-macros-0.10 (package (inherit rust-glib-macros-0.14) (name "rust-glib-macros") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fa00s6gnj3hgri9z926199jidczlmjr1db0n4r80sins4k6lj21")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-heck" ,rust-heck-0.3) ("rust-itertools" ,rust-itertools-0.9) ("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) (define-public rust-glib-sys-0.18 (package (name "rust-glib-sys") (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "164qhsfmlzd5mhyxs8123jzbdfldwxbikfpq5cysj3lddbmy4g06")))) (build-system cargo-build-system) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. #:tests? #f #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libglib-2.0") (description "This package provides FFI bindings to libglib-2.0.") (license license:expat))) (define-public rust-glib-sys-0.17 (package (inherit rust-glib-sys-0.18) (name "rust-glib-sys") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1w64ppa12s9ky6gfdaqhq9w30ad6hskll812jb3sl2xsggmac2nq")))))) (define-public rust-glib-sys-0.15 (package (inherit rust-glib-sys-0.17) (name "rust-glib-sys") (version "0.15.10") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1m5sqm69fdk8vaw6hggyizhs1r1vivx73splrdvczsb5iqpijjzg")))) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. #:tests? #f #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-glib-sys-0.14 (package (inherit rust-glib-sys-0.15) (name "rust-glib-sys") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1bjlymn3fw4g8slij6iiggaipknf9072mr2qm3i4a91199an078w")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs '()))) (define-public rust-glib-sys-0.10 (package (inherit rust-glib-sys-0.14) (name "rust-glib-sys") (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hfdwilf3dnrv3pnfbwmp3h2afgwvfsapcgjfg8276kflsbvksf7")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-glib-sys-0.9 (package (inherit rust-glib-sys-0.10) (name "rust-glib-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1qhnwfqqcp63mx4q9744rfkq78g6ky2j8ppsxxgw0ipl08w6z1cm")))) (arguments `(#:tests? #f ; Some test libraries not included in release. #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gobject-sys-0.18 (package (name "rust-gobject-sys") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0i6fhp3m6vs3wkzyc22rk2cqj68qvgddxmpaai34l72da5xi4l08")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; `G_TYPE_FUNDAMENTAL_MAX` constant mismatch with gcc #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgobject-2.0") (description "This package provides FFI bindings to libgobject-2.0.") (license license:expat))) (define-public rust-gobject-sys-0.17 (package (inherit rust-gobject-sys-0.18) (name "rust-gobject-sys") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ql0pcab6dxjapiglxcjaavbbh1sznyc2wj5q273b9j0fwqw6d6d")))) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though ;; the library supports a wide range. Skip for now. #:tests? #f #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gobject-sys-0.15 (package (inherit rust-gobject-sys-0.17) (name "rust-gobject-sys") (version "0.15.10") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "02hyilvpi4hw4gr03z2plsbf1zicsfs5l0xxadqx3v3b4i2cwmqd")))) (arguments `(;; FIXME: Constant value mismatch for G_TYPE_FUNDAMENTAL_MAX ;; Rust: "255" ;; C: "1020" #:tests? #f #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gobject-sys-0.14 (package (inherit rust-gobject-sys-0.15) (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append "rust-gobject-sys-" version ".tar.gz")) (sha256 (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs '()))) (define-public rust-gobject-sys-0.10 (package (inherit rust-gobject-sys-0.14) (name "rust-gobject-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1311d3zbdhl1g7ibj1iy1650513yrhxbjxgfhazn52ii1jv368cm")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gobject-sys-0.9 (package (inherit rust-gobject-sys-0.10) (name "rust-gobject-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1nakflbp3gjaas4fw7sn3p1p32khyfpcq1h06z7yqd10yq2ail9i")))) (arguments `(#:tests? #f ; Some test libraries not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-graphene-rs-0.18 (package (name "rust-graphene-rs") (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "graphene-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "00f4q1ra4haap5i7lazwhkdgnb49fs8adk2nm6ki6mjhl76jh8iv")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-glib" ,rust-glib-0.18) ("rust-graphene-sys" ,rust-graphene-sys-0.18) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list glib graphene)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the Graphene library") (description "Rust bindings for the Graphene library.") (license license:expat))) (define-public rust-graphene-sys-0.18 (package (name "rust-graphene-sys") (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "graphene-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0n8zlg7z26lwpnvlqp1hjlgrs671skqwagdpm7r8i1zwx3748hfc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib graphene)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgraphene-1.0") (description "FFI bindings to libgraphene-1.0.") (license license:expat))) (define-public rust-gsk4-0.7 (package (name "rust-gsk4") (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "gsk4" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zhzs2dkgiinhgc11akpn2harq3x5n1iq21dnc4h689g3lsqx58d")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) ("rust-gdk4" ,rust-gdk4-0.7) ("rust-glib" ,rust-glib-0.18) ("rust-graphene-rs" ,rust-graphene-rs-0.18) ("rust-gsk4-sys" ,rust-gsk4-sys-0.7) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.18)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list gtk)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings of the GSK 4 library") (description "Rust bindings of the GSK 4 library.") (license license:expat))) (define-public rust-gsk4-sys-0.7 (package (name "rust-gsk4-sys") (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "gsk4-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mbdlm9qi1hql48rr29vsj9vlqwc7gxg67wg1q19z67azwz9xg8j")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; `GskFillRule` undeclared #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) ("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-graphene-sys" ,rust-graphene-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.18) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list cairo gdk-pixbuf graphene gtk pango)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings of GSK 4") (description "This package provides FFI bindings of GSK 4.") (license license:expat))) (define-public rust-gstreamer-0.18 (package (name "rust-gstreamer") (version "0.18.8") (source (origin (method url-fetch) (uri (crate-uri "gstreamer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn")))) (build-system cargo-build-system) (arguments (list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-glib" ,rust-glib-0.15) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-muldiv" ,rust-muldiv-1) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-rational" ,rust-num-rational-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-option-operations" ,rust-option-operations-0.4) ("rust-paste" ,rust-paste-1) ("rust-pretty-hex" ,rust-pretty-hex-0.3) ("rust-serde" ,rust-serde-1) ("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs `(("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-ron" ,rust-ron-0.7) ("rust-serde-json" ,rust-serde-json-1)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer)) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer") (description "Rust bindings for GStreamer.") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-app-0.18 (package (name "rust-gstreamer-app") (version "0.18.7") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-app" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "115nykpdvfccyzvfi73qkhn061f6rdyhcaj9ajnw2ik5pimdyjk6")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-sink" ,rust-futures-sink-0.3) ("rust-glib" ,rust-glib-0.15) ("rust-gstreamer" ,rust-gstreamer-0.18) ("rust-gstreamer-app-sys" ,rust-gstreamer-app-sys-0.18) ("rust-gstreamer-base" ,rust-gstreamer-base-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1)) #:cargo-development-inputs (("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer gst-plugins-base)) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer App library") (description "Rust bindings for the GStreamer App library.") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-app-sys-0.18 (package (name "rust-gstreamer-app-sys") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-app-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fsgdb3b23s45xc7s06xw96x7avza0jpyj02x1fkw6vk3pr03d63")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer gst-plugins-base)) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstapp-1.0") (description "FFI bindings to libgstapp-1.0, part of Gstreamer.") (license license:expat))) (define-public rust-gstreamer-audio-0.18 (package (name "rust-gstreamer-audio") (version "0.18.7") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-audio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 #:cargo-inputs (("rust-array-init" ,rust-array-init-2) ("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-glib" ,rust-glib-0.15) ("rust-gstreamer" ,rust-gstreamer-0.18) ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18) ("rust-gstreamer-base" ,rust-gstreamer-base-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-itertools" ,rust-itertools-0.10)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer gst-plugins-base)) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for the GStreamer Audio library") (description "Rust bindings for the GStreamer Audio library.") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-audio-sys-0.18 (package (name "rust-gstreamer-audio-sys") (version "0.18.3") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-audio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" "--skip=cross_validate_constants_with_c") #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer gst-plugins-base)) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstaudio-1.0") (description "FFI bindings to libgstaudio, part of Gstreamer.") (license license:expat))) (define-public rust-gstreamer-base-0.18 (package (name "rust-gstreamer-base") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-base" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768 #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-glib" ,rust-glib-0.15) ("rust-gstreamer" ,rust-gstreamer-0.18) ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer)) (home-page "https://gstreamer.freedesktop.org") (synopsis "Rust bindings for GStreamer Base library") (description "Rust bindings for GStreamer Base library.") (license (list license:expat license:asl2.0)))) (define-public rust-gstreamer-base-sys-0.18 (package (name "rust-gstreamer-base-sys") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-base-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer)) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstbase-1.0") (description "FFI bindings to libgstbase-1.0, part of GStreamer.") (license license:expat))) (define-public rust-gstreamer-sys-0.18 (package (name "rust-gstreamer-sys") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "gstreamer-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib gstreamer)) (home-page "https://gstreamer.freedesktop.org") (synopsis "FFI bindings to libgstreamer-1.0") (description "Foreign Function Interface (FFI) bindings to libgstreamer-1.0.") (license license:expat))) (define-public rust-gtk-0.14 (package (name "rust-gtk") (version "0.14.3") (source (origin (method url-fetch) (uri (crate-uri "gtk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0367kb9d9x5cry6zpn2ccsahvynia6hzmr61gqrfj5rkvli13d9f")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;requires running server #:cargo-inputs (("rust-atk" ,rust-atk-0.14) ("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.14) ("rust-field-offset" ,rust-field-offset-0.3) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-gdk" ,rust-gdk-0.14) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.14) ("rust-gio" ,rust-gio-0.14) ("rust-glib" ,rust-glib-0.14) ("rust-gtk-sys" ,rust-gtk-sys-0.14) ("rust-gtk3-macros" ,rust-gtk3-macros-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango" ,rust-pango-0.14) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list at-spi2-core cairo glib gtk+ pango)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the GTK+ 3 library") (description "This package provides Rust bindings for the GTK+ 3 library.") (license license:expat))) (define-public rust-gtk-0.8 (package (inherit rust-gtk-0.14) (name "rust-gtk") (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gtk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13ygzblfv40l2kp70rnjymz7vk2g2wdjs04lhmk9q8wh0bbyiqc7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atk" ,rust-atk-0.8) ("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.8) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-cc" ,rust-cc-1) ("rust-gdk" ,rust-gdk-0.12) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.8) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio" ,rust-gio-0.8) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-gtk-sys" ,rust-gtk-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.8) ("rust-pango-sys" ,rust-pango-sys-0.9)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-gtk-rs-lgpl-docs-0.1 (package (name "rust-gtk-rs-lgpl-docs") (version "0.1.18") (source (origin (method url-fetch) (uri (crate-uri "gtk-rs-lgpl-docs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0xm3lm15j8yfn2jzh3sz6hrq2g2k917ahnp5caxw9c7z8sgr9f4m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-rustdoc-stripper" ,rust-rustdoc-stripper-0.1)))) (home-page "https://gtk-rs.org/") (synopsis "LGPL-licensed docs for Gtk-rs crates") (description "LGPL-licensed docs for Gtk-rs crates.") (license license:lgpl2.0))) (define-public rust-gtk-sys-0.14 (package (name "rust-gtk-sys") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gtk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0gihp9zh4z7lycp0zbmq1w0k9ddbnd2h64jsgid7hi85vb9wh54c")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;missing files #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.14) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14) ("rust-gdk-sys" ,rust-gdk-sys-0.14) ("rust-gio-sys" ,rust-gio-sys-0.14) ("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-gobject-sys" ,rust-gobject-sys-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.14) ("rust-system-deps" ,rust-system-deps-3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list gtk+)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgtk-3") (description "This package provides FFI bindings to libgtk-3.") (license license:expat))) (define-public rust-gtk-sys-0.10 (package (inherit rust-gtk-sys-0.14) (name "rust-gtk-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "gtk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mq4i161kk6dwiz19ayxgm9fhx7n3r5lm9lbjiyk0qs811pxmb49")))) (arguments `(#:tests? #f ;tests FAILED. #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.10) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list gtk+)))) (define-public rust-gtk-sys-0.9 (package (inherit rust-gtk-sys-0.14) (name "rust-gtk-sys") (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "gtk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hd4w49iaivzjkbxi0bhabqp1ifkzg9g47n822sh12xlqxhgdpjk")))) (arguments `(#:tests? #f ;missing files #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.9) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.9) ("rust-gdk-sys" ,rust-gdk-sys-0.9) ("rust-gio-sys" ,rust-gio-sys-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gtk3-macros-0.14 (package (name "rust-gtk3-macros") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gtk3-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0yavfirn2iw9nsxik6m7s2cdxdrl5l5jfbiwn0zl85y1dnlivpi1")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-heck" ,rust-heck-0.3) ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the GTK 3 library") (description "This package provides Rust bindings for the GTK 3 library.") (license license:expat))) (define-public rust-gtk4-0.7 (package (name "rust-gtk4") (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "gtk4" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hh8nzglmz94v1m1h6vy8z12m6fr7ia467ry0md5fa4p7sm53sss")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) ("rust-field-offset" ,rust-field-offset-0.3) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) ("rust-gdk4" ,rust-gdk4-0.7) ("rust-gio" ,rust-gio-0.18) ("rust-glib" ,rust-glib-0.18) ("rust-graphene-rs" ,rust-graphene-rs-0.18) ("rust-gsk4" ,rust-gsk4-0.7) ("rust-gtk4-macros" ,rust-gtk4-macros-0.7) ("rust-gtk4-sys" ,rust-gtk4-sys-0.7) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.18)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list cairo glib gtk)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings of the GTK 4 library") (description "Rust bindings of the GTK 4 library.") (license license:expat))) (define-public rust-gtk4-macros-0.7 (package (name "rust-gtk4-macros") (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "gtk4-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0bw3cchiycf7dw1bw4p8946gv38azxy05a5w0ndgcmxnz6fc8znm")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Failed to initialize GTK #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quick-xml" ,rust-quick-xml-0.30) ("rust-quote" ,rust-quote-1) ("rust-gtk4" ,rust-gtk4-0.7) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-gtk4" ,rust-gtk4-0.7) ("rust-trybuild2" ,rust-trybuild2-1)))) (native-inputs (list pkg-config)) (inputs (list gdk-pixbuf gtk)) (home-page "https://gtk-rs.org/") (synopsis "Macros helpers for GTK 4 bindings") (description "Macros helpers for GTK 4 bindings.") (license license:expat))) (define-public rust-gtk4-sys-0.7 (package (name "rust-gtk4-sys") (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "gtk4-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1f2ylskyqkjdik9fij2m46pra4jagnif5xyalbxfk3334fmc9n2l")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Can't find gtk/gtk-a11y.h from gtk+ #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18) ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) ("rust-gio-sys" ,rust-gio-sys-0.18) ("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-graphene-sys" ,rust-graphene-sys-0.18) ("rust-gsk4-sys" ,rust-gsk4-sys-0.7) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.18) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list cairo gdk-pixbuf graphene gtk pango)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings of GTK 4") (description "This package provides FFI bindings of GTK 4.") (license license:expat))) (define-public rust-libadwaita-0.5 (package (name "rust-libadwaita") (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "libadwaita" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "174pzn9dwsk8ikvrhx13vkh0zrpvb3rhg9yd2q5d2zjh0q6fgrrg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) ("rust-gdk4" ,rust-gdk4-0.7) ("rust-gio" ,rust-gio-0.18) ("rust-glib" ,rust-glib-0.18) ("rust-gtk4" ,rust-gtk4-0.7) ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.5) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.18)))) (native-inputs (list pkg-config)) (inputs (list libadwaita)) (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs") (synopsis "Rust bindings for libadwaita") (description "Rust bindings for libadwaita.") (license license:expat))) (define-public rust-libadwaita-sys-0.5 (package (name "rust-libadwaita-sys") (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "libadwaita-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; ‘AdwBannerClass’ undeclared #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7) ("rust-gio-sys" ,rust-gio-sys-0.18) ("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-gtk4-sys" ,rust-gtk4-sys-0.7) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.18) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list gtk libadwaita)) (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/") (synopsis "FFI bindings for libadwaita") (description "FFI bindings for libadwaita.") (license license:expat))) (define-public rust-pango-0.18 (package (name "rust-pango") (version "0.18.3") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r5ygq7036sv7w32kp8yxr6vgggd54iaavh3yckanmq4xg0px8kw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gio" ,rust-gio-0.18) ("rust-glib" ,rust-glib-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.18)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list pango)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the Pango library") (description "This package provides Rust bindings for the Pango library.") (license license:expat))) (define-public rust-pango-0.17 (package (inherit rust-pango-0.18) (name "rust-pango") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0j0xj9yw81qivqb0y34j9c5azjsdspxp1zzpvxi1zri0qrplbgim")))) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-gio" ,rust-gio-0.17) ("rust-glib" ,rust-glib-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.17)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-0.15 (package (inherit rust-pango-0.17) (name "rust-pango") (version "0.15.10") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ksf85fqkw4y5pf21p84g5xn4fnqn21cbrmx2d9yx6k591ah9r12")))) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.15)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-0.14 (package (inherit rust-pango-0.15) (name "rust-pango") (version "0.14.8") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10c5q8wl9gkjh323whq6pg9yfvr2vmz00f98z1d77jp506cdavsl")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.14)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-0.9 (package (inherit rust-pango-0.14) (name "rust-pango") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0f64hynd9vq6966wb66mrg5kq9q371bkhncp37nqrgdyh22hcdwr")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.10)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-0.8 (package (inherit rust-pango-0.9) (name "rust-pango") (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0xq50950il3228grzs4xvc5s6phxcl5l50grz6syvs0vixr6p70y")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-glib" ,rust-glib-0.9) ("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.9) ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pango-sys-0.18 (package (name "rust-pango-sys") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list pango)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libpango-1.0") (description "This package provides FFI bindings to @code{libpango-1.0}.") (license license:expat))) (define-public rust-pango-sys-0.17 (package (inherit rust-pango-sys-0.18) (name "rust-pango-sys") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "15aindwdxsydzvqcvhc9ysamx5v1jmq8qbs61ncxic2h72grz9ix")))) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-gobject-sys" ,rust-gobject-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pango-sys-0.15 (package (inherit rust-pango-sys-0.17) (name "rust-pango-sys") (version "0.15.10") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1an3c931kbkr08n9d9d1dapsq3n26zs0xn4ixn11jrp4rn0h186j")))) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pango-sys-0.14 (package (inherit rust-pango-sys-0.15) (name "rust-pango-sys") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1zj236n9kjldf47wwlxvhshwm5zhg589a0fml5mm8qg7lnf0jrr3")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.14) ("rust-gobject-sys" ,rust-gobject-sys-0.14) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-3)))))) (define-public rust-pango-sys-0.10 (package (inherit rust-pango-sys-0.14) (name "rust-pango-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1468xzyk2wanxb2b32fsmwk6bnafdaicxl5b4301dlb2ic66bli4")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-1)))))) (define-public rust-pango-sys-0.9 (package (inherit rust-pango-sys-0.10) (name "rust-pango-sys") (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zdynikh6jrfa31fpmbrwnz46a57idci73zzkf0z0g3vj223vfc6")))) (arguments `(#:tests? #f ; Some test files not included in release. #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.9) ("rust-gobject-sys" ,rust-gobject-sys-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pangocairo-0.18 (package (name "rust-pangocairo") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "pangocairo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "199qdgw5mf1vbqmslscy1qzz0szw2dcd21p6z61wzjngm64na0sp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) ("rust-glib" ,rust-glib-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.18) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.18)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (native-inputs (list pkg-config)) (inputs (list pango)) (home-page "https://gtk-rs.org/") (synopsis "Rust bindings for the PangoCairo library") (description "This package provides Rust bindings for the @code{PangoCairo} library.") (license license:expat))) (define-public rust-pangocairo-0.17 (package (inherit rust-pangocairo-0.18) (name "rust-pangocairo") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "pangocairo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1kr2b31034b8zif4r3lf4rniqphk2bxi2q7n8iwq2wrf3k5jkgw6")))) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.17) ("rust-glib" ,rust-glib-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.17) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.17)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pangocairo-0.15 (package (inherit rust-pangocairo-0.17) (name "rust-pangocairo") (version "0.15.1") (source (origin (method url-fetch) (uri (crate-uri "pangocairo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0rjk0clrjxah4kc0kybn7l7bxa5m5kpxkihxc2i7a6hx3xfa8xkq")))) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-rs" ,rust-cairo-rs-0.15) ("rust-glib" ,rust-glib-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-pango" ,rust-pango-0.15) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.15)) #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pangocairo-sys-0.18 (package (name "rust-pangocairo-sys") (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "pangocairo-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0cw82261ixgr9xw549rx11w74h0wz4lw0pqxxir7lzm3fvv8yg7w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) ("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.18) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs ;; XXX: Should these be propagated from their respective crates? (list cairo glib pango)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libgtk-3") (description "This package provides FFI bindings to @code{PangoCairo}.") (license license:expat))) (define-public rust-pangocairo-sys-0.17 (package (inherit rust-pangocairo-sys-0.18) (name "rust-pangocairo-sys") (version "0.17.10") (source (origin (method url-fetch) (uri (crate-uri "pangocairo-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ymr4aqrdpysz0rh383s4h6hj8nbkyj7n4723f45zzzqkf6x7pwl")))) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17) ("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.17) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pangocairo-sys-0.15 (package (inherit rust-pangocairo-sys-0.17) (name "rust-pangocairo-sys") (version "0.15.1") (source (origin (method url-fetch) (uri (crate-uri "pangocairo-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "154llaawy60zh8fkw2yq0r31ynpmqlsr7brryzaq2v4ijijp9kvq")))) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15) ("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.15) ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-soup-sys-0.10 (package (name "rust-soup-sys") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "soup-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0gm1b1dj6z3l94sklw6jvqblhik8i8gz2mgrf6xhnqv5hpqaviy3")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;tests FAILED #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-system-deps" ,rust-system-deps-1)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib libsoup-minimal-2)) (home-page "https://github.com/gtk-rs/soup-sys-rs") (synopsis "Soup FFI crate for Rust") (description "This crate provides Soup FFI for Rust.") (license license:expat))) (define-public rust-webkit2gtk-sys-0.12 (package (name "rust-webkit2gtk-sys") (version "0.12.0") (source (origin (method url-fetch) (uri (crate-uri "webkit2gtk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0686iy2jrq8h2i2p4zb53mg32ql5zagba1fskcdi23asr0w537iq")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;tests FAILED #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.10) ("rust-bitflags" ,rust-bitflags-1) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.10) ("rust-gdk-sys" ,rust-gdk-sys-0.10) ("rust-gio-sys" ,rust-gio-sys-0.10) ("rust-glib-sys" ,rust-glib-sys-0.10) ("rust-gobject-sys" ,rust-gobject-sys-0.10) ("rust-gtk-sys" ,rust-gtk-sys-0.10) ("rust-javascriptcore-rs-sys" ,rust-javascriptcore-rs-sys-0.2) ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.10) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-soup-sys" ,rust-soup-sys-0.10)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) (inputs (list glib webkitgtk-with-libsoup2)) (home-page "https://github.com/tauri-apps/webkit2gtk-rs") (synopsis "Rust binding for webkit-gtk library") (description "This crate provides Rust binding for webkit-gtk library.") (license license:expat))) ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar ;;; functionality or similar names. ;;;