summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <[email protected]>2022-01-25 22:07:13 -0500
committerMaxim Cournoyer <[email protected]>2022-01-25 22:07:13 -0500
commit1a5302435ff0d2822b823f5a6fe01faa7a85c629 (patch)
treeac7810c88b560532f22d2bab2e59609cd7305c21 /gnu/packages/crates-graphics.scm
parent3ff2ac4980dacf10087e4b42bd9fbc490591900c (diff)
parent070b8a893febd6e7d8b2b7c8c4dcebacf7845aa9 (diff)
Merge branch 'master' into staging.
With "conflicts" solved (all in favor of master except git) in: gnu/local.mk gnu/packages/databases.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/gnuzilla.scm gnu/packages/graphics.scm gnu/packages/gstreamer.scm gnu/packages/gtk.scm gnu/packages/linux.scm gnu/packages/machine-learning.scm gnu/packages/networking.scm gnu/packages/polkit.scm gnu/packages/pulseaudio.scm gnu/packages/rpc.scm gnu/packages/rust.scm gnu/packages/version-control.scm gnu/packages/w3m.scm
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm345
1 files changed, 222 insertions, 123 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index e3be9bcdcd..dbd3607dc4 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020, 2021 Nicolas Goaziou <[email protected]>
;;; Copyright © 2020 Antoine Côté <[email protected]>
;;; Copyright © 2021 Maxim Cournoyer <[email protected]>
+;;; Copyright © 2021 Zheng Junjie <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -96,7 +97,7 @@ shapes, lines and text to buffers.")
#:cargo-development-inputs
(("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
(inputs
- `(("wayland" ,wayland)))))
+ (list wayland))))
(define-public rust-ansi-colours-1
(package
@@ -137,7 +138,7 @@ approximated by values supported by the terminal.")
(origin
(method url-fetch)
(uri (crate-uri "ansi_term" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
@@ -166,7 +167,7 @@ text or blue underlined text, on ANSI terminals.")
(origin
(method url-fetch)
(uri (crate-uri "ansi_term" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
@@ -191,10 +192,10 @@ text or blue underlined text, on ANSI terminals.")
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
(arguments `())))
-(define-public rust-aom-sys-0.2
+(define-public rust-aom-sys-0.3
(package
(name "rust-aom-sys")
- (version "0.2.1")
+ (version "0.3.0")
(source
(origin
(method url-fetch)
@@ -203,49 +204,21 @@ text or blue underlined text, on ANSI terminals.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "03a0xhaafjn0hlpcf9ba73hv557m0jqnmj9wl57wzrcnka96zvgj"))))
+ "0dhikfl7l5nacspajbllbhhysad3vl845cpfplqgm5mf67nmx9w8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bindgen" ,rust-bindgen-0.54)
("rust-metadeps" ,rust-metadeps-1))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(inputs
- `(("libaom" ,libaom)
- ("clang" ,clang)
- ("llvm" ,llvm)))
+ (list libaom clang llvm))
(home-page "https://github.com/rust-av/aom-rs")
(synopsis "FFI bindings to aom")
(description "This package provides FFI bindings to aom.")
(license license:expat)))
-(define-public rust-aom-sys-0.1
- (package
- (inherit rust-aom-sys-0.2)
- (name "rust-aom-sys")
- (version "0.1.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "aom-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1bqcpkycv1d67r6jcl9npfbw6rkl829rdq9w6vlpb0rjqxp0xzsn"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-bindgen" ,rust-bindgen-0.53)
- ("rust-metadeps" ,rust-metadeps-1))))
- (native-inputs
- `(("pkg-config" ,pkg-config)))
- (inputs
- `(("libaom" ,libaom)
- ("clang" ,clang)
- ("llvm" ,llvm)))))
-
(define-public rust-ascii-canvas-2
(package
(name "rust-ascii-canvas")
@@ -573,39 +546,79 @@ types.")
and iOS.")
(license license:expat)))
+(define-public rust-dav1d-0.6
+ (package
+ (name "rust-dav1d")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dav1d" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pn6r1a9qfrpg2xwc7ci2iddvnzxb17ddca0bwymgi839cxc2chl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-dav1d-sys" ,rust-dav1d-sys-0.3))))
+ (home-page "https://github.com/rust-av/dav1d-rs")
+ (synopsis "libdav1d bindings in Rust")
+ (description "This package provides libdav1d bindings in Rust.")
+ (license license:expat)))
+
(define-public rust-dav1d-sys-0.3
(package
(name "rust-dav1d-sys")
- (version "0.3.2")
+ (version "0.3.4")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "dav1d-sys" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1jdxhnlxcml6jd67lx78ifzkn1xm18zfk4li7vjdh3fa61i073kx"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dav1d-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "020lla2l703iy69gbksq18snj2b1sp7vmjf39qqykd4242d4msr5"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-bindgen" ,rust-bindgen-0.54)
- ("rust-metadeps" ,rust-metadeps-1))))
+ (("rust-bindgen" ,rust-bindgen-0.58)
+ ("rust-system-deps" ,rust-system-deps-3))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(inputs
- `(("dav1d" ,dav1d)
- ("clang" ,clang)
- ("llvm" ,llvm)))
+ (list dav1d clang llvm))
(home-page "https://github.com/rust-av/dav1d-rs")
(synopsis "FFI bindings to dav1d")
(description "This package provides FFI bindings to dav1d.")
(license license:expat)))
-(define-public rust-euclid-0.20
+(define-public rust-dcv-color-primitives-0.1
+ (package
+ (name "rust-dcv-color-primitives")
+ (version "0.1.16")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dcv-color-primitives" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yrm1qipdmadynhjgz1bvdh42ph9azvwg8v43c8ywr8vlx9qvaq2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
+ (home-page "https://github.com/aws/dcv-color-primitives")
+ (synopsis "Rust library to perform image color model conversion")
+ (description "This package is a Rust library to perform image color model
+conversion.")
+ (license license:expat)))
+
+(define-public rust-euclid-0.22
(package
(name "rust-euclid")
- (version "0.20.10")
+ (version "0.22.6")
(source
(origin
(method url-fetch)
@@ -614,11 +627,12 @@ and iOS.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0c3hbl0kvc53k6nws0v9d46hi0giza1j079sqx2bgl4wfw65nshc"))))
+ "102blw7ljphi7i2xg435z0bb0a4npmwwbgyfinqxg1m0af2q55ns"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-mint" ,rust-mint-0.5)
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-mint" ,rust-mint-0.5)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
@@ -780,14 +794,14 @@ EUI-64, also known as MAC-48 media access control addresses.")
(define-public rust-gif-0.11
(package
(name "rust-gif")
- (version "0.11.1")
+ (version "0.11.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "gif" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1i4n9fwg3zrp07pi5zsgyza2gl8lqnap6fj6875lfy121xbbmvq2"))))
+ (base32 "0nsfd5qvp69z8kn17ziiq8zv4mclfycyxppf5k9fm2h8g1z1i9y3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -983,8 +997,7 @@ EUI-64, also known as MAC-48 media access control addresses.")
("rust-winapi" ,rust-winapi-0.3)
("rust-winit" ,rust-winit-0.24))))
(inputs
- `(("rust-wayland-client" ,rust-wayland-client-0.28)
- ("rust-wayland-egl" ,rust-wayland-egl-0.28)))
+ (list rust-wayland-client-0.28 rust-wayland-egl-0.28))
(home-page "https://github.com/tomaka/glutin")
(synopsis "Cross-platform OpenGL context provider")
(description "This package provides an OpenGL context provider.")
@@ -1220,14 +1233,14 @@ PATH.")
(define-public rust-image-0.23
(package
(name "rust-image")
- (version "0.23.12")
+ (version "0.23.14")
(source
(origin
(method url-fetch)
(uri (crate-uri "image" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1dg9z5sbc389spp7pm23n2b1k0gdd8hjdb8hhsp3k3npx9vl1q3w"))))
+ (base32 "18gn2f7xp30pf9aqka877knlq308khxqiwjvsccvzaa4f9zcpzr4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
@@ -1369,7 +1382,7 @@ pixel buffers with width, height and stride.")
(define-public rust-jpeg-decoder-0.1
(package
(name "rust-jpeg-decoder")
- (version "0.1.18")
+ (version "0.1.22")
(source
(origin
(method url-fetch)
@@ -1377,8 +1390,7 @@ pixel buffers with width, height and stride.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0lc428qgffh2a1agkq0p26mvf9rjaiswpywy5883j99mqypg0mh2"))))
+ (base32 "1wnh0bmmswpgwhgmlizz545x8334nlbmkq8imy9k224ri3am7792"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Some test files missing.
@@ -1424,10 +1436,33 @@ pixel buffers with width, height and stride.")
graphics and video games.")
(license license:expat)))
-(define-public rust-lyon-geom-0.14
+(define-public rust-lyon-extra-0.17
+ (package
+ (name "rust-lyon-extra")
+ (version "0.17.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lyon_extra" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10n8h48a363qa66byqfkg164542p97v5rrnb33gqhggah739nwm0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-lyon-path" ,rust-lyon-path-0.17)
+ ("rust-lyon-svg" ,rust-lyon-svg-0.17))))
+ (home-page "https://github.com/nical/lyon")
+ (synopsis "Optional utilities for the lyon crate")
+ (description "This package provides optional utilities for the lyon crate.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-lyon-geom-0.17
(package
(name "rust-lyon-geom")
- (version "0.14.1")
+ (version "0.17.6")
(source
(origin
(method url-fetch)
@@ -1436,25 +1471,25 @@ graphics and video games.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "178z4cqqmyw0rsabbgx9phkjxjzcnq0604062lqjlq87k063216a"))))
+ "12al92qsh0f8ci3qf3533r4y5hxzzyfp972vm4wqzz9bq9vwx6ff"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-euclid" ,rust-euclid-0.20)
- ("rust-arrayvec" ,rust-arrayvec-0.4)
- ("rust-serde" ,rust-serde-1))))
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-euclid" ,rust-euclid-0.22)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/nical/lyon")
(synopsis "2D graphics rendering on the GPU using tessellation")
(description
"This package provides 2D graphics rendering on the GPU using tessellation.")
(license (list license:expat license:asl2.0))))
-(define-public rust-lyon-path-0.14
+(define-public rust-lyon-path-0.17
(package
(name "rust-lyon-path")
- (version "0.14.0")
+ (version "0.17.7")
(source
(origin
(method url-fetch)
@@ -1463,12 +1498,12 @@ graphics and video games.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0qk8x46w0sf6j04l6gvhgn9kr4ymcqkmkh67w8wqahm54jn5gjqb"))))
+ "1h7vbfaanf3x7xch6md4q4ja3xmvsi41n7d6ga40vjk7yzymj2jv"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-lyon-geom" ,rust-lyon-geom-0.14)
+ (("rust-lyon-geom" ,rust-lyon-geom-0.17)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/nical/lyon")
(synopsis "Types and utilities to store, build and iterate over 2D paths")
@@ -1476,6 +1511,54 @@ graphics and video games.")
"Types and utilities to store, build and iterate over 2D paths.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lyon-svg-0.17
+ (package
+ (name "rust-lyon-svg")
+ (version "0.17.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lyon_svg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fin6h9vwgz7gi2a1b0j9bp8a1aval2lvha1kzy7iijm4kgdcj3d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-lyon-path" ,rust-lyon-path-0.17)
+ ("rust-svgtypes" ,rust-svgtypes-0.5))))
+ (home-page "https://github.com/nical/lyon")
+ (synopsis "SVG helpers for the lyon crates")
+ (description "This package provides SVG helpers for the lyon crates.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-lyon-tessellation-0.17
+ (package
+ (name "rust-lyon-tessellation")
+ (version "0.17.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lyon-tessellation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0q2pccjszda26asylnvhwsil8wvsprfjazrqdzj4i033s26y0c3j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-float-next-after" ,rust-float-next-after-0.1)
+ ("rust-lyon-path" ,rust-lyon-path-0.17)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-lyon-extra" ,rust-lyon-extra-0.17))))
+ (home-page "https://github.com/nical/lyon")
+ (synopsis "Low level path tessellation library")
+ (description
+ "This package provides a low level path tessellation library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-osmesa-sys-0.1
(package
(name "rust-osmesa-sys")
@@ -1593,7 +1676,7 @@ nicely with Piston libraries.")
(home-page
"https://github.com/PistonDevelopers/graphics_api_version")
(synopsis
- "A library for storing graphics API versions")
+ "Library for storing graphics API versions")
(description
"This package provides a library for storing graphics API versions")
(license license:expat)))
@@ -1636,7 +1719,7 @@ nicely with Piston libraries.")
(arguments `(#:skip-build? #t))
(home-page
"https://github.com/pistondevelopers/texture")
- (synopsis "A generic library for textures")
+ (synopsis "Generic library for textures")
(description
"This package provides a generic library for textures")
(license license:expat)))
@@ -1995,7 +2078,7 @@ interactive applications.")
#:cargo-development-inputs
(("rust-avif-parse" ,rust-avif-parse-0.13))))
(native-inputs
- `(("nasm" ,nasm))) ;for building rav1e
+ (list nasm)) ;for building rav1e
(home-page "https://lib.rs/ravif")
(synopsis "Library for encoding images in AVIF format")
(description "This package is a rav1e-based pure Rust library for encoding
@@ -2055,7 +2138,7 @@ images in AVIF format.")
(origin
(method url-fetch)
(uri (crate-uri "rgb" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8"))))
@@ -2212,7 +2295,7 @@ applications.")
#:cargo-development-inputs
(("rust-andrew" ,rust-andrew-0.2))))
(inputs
- `(("wayland" ,wayland)))))
+ (list wayland))))
(define-public rust-tiff-0.6
(package
@@ -2326,14 +2409,14 @@ applications.")
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))
(inputs
- `(("rust-bitflags" ,rust-bitflags-1)
- ("rust-downcast-rs" ,rust-downcast-rs-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-nix" ,rust-nix-0.18)
- ("rust-scoped-tls" ,rust-scoped-tls-1)
- ("rust-wayland-commons" ,rust-wayland-commons-0.28)
- ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
- ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
+ (list rust-bitflags-1
+ rust-downcast-rs-1
+ rust-libc-0.2
+ rust-nix-0.18
+ rust-scoped-tls-1
+ rust-wayland-commons-0.28
+ rust-wayland-scanner-0.28
+ rust-wayland-sys-0.28))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"Rust bindings to the standard C implementation of the wayland protocol")
@@ -2420,10 +2503,8 @@ the wayland protocol, client side.")
("rust-once-cell" ,rust-once-cell-1)
("rust-smallvec" ,rust-smallvec-1))))
(inputs
- `(("rust-nix" ,rust-nix-0.18)
- ("rust-once-cell" ,rust-once-cell-1)
- ("rust-smallvec" ,rust-smallvec-1)
- ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
+ (list rust-nix-0.18 rust-once-cell-1 rust-smallvec-1
+ rust-wayland-sys-0.28))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Types and structures used by wayland-client and wayland-server")
(description
@@ -2488,9 +2569,7 @@ and wayland-server.")
(("rust-nix" ,rust-nix-0.18)
("rust-xcursor" ,rust-xcursor-0.3))))
(inputs
- `(("rust-nix" ,rust-nix-0.18)
- ("rust-wayland-client" ,rust-wayland-client-0.28)
- ("rust-xcursor" ,rust-xcursor-0.3)))
+ (list rust-nix-0.18 rust-wayland-client-0.28 rust-xcursor-0.3))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Bindings to libwayland-cursor")
(description
@@ -2512,11 +2591,10 @@ properly display animated cursors.")
(base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
(build-system cargo-build-system)
(inputs
- `(("rust-wayland-client" ,rust-wayland-client-0.28)
- ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
+ (list rust-wayland-client-0.28 rust-wayland-sys-0.28))
;; For the PKG_CONFIG_PATH environment variable.
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ (list pkg-config))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Bindings to libwayland-egl")
(description
@@ -2542,11 +2620,9 @@ initializing an OpenGL or Vulkan context.")
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1))))
(inputs
- `(("rust-bitflags" ,rust-bitflags-1)
- ("rust-wayland-client" ,rust-wayland-client-0.28)
- ("rust-wayland-commons" ,rust-wayland-commons-0.28)
- ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
- ("rust-wayland-server" ,rust-wayland-server-0.28)))
+ (list rust-bitflags-1 rust-wayland-client-0.28
+ rust-wayland-commons-0.28 rust-wayland-scanner-0.28
+ rust-wayland-server-0.28))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generated API for the officials Wayland protocol extensions")
(description
@@ -2614,9 +2690,7 @@ extensions.")
(base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
(build-system cargo-build-system)
(inputs
- `(("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quote" ,rust-quote-1)
- ("rust-xml-rs" ,rust-xml-rs-0.8)))
+ (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generate Rust APIs from XML Wayland protocol files")
(description
@@ -2684,16 +2758,16 @@ wayland-client crate for usable bindings.")
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-scoped-tls" ,rust-scoped-tls-1))))
(inputs
- `(("rust-bitflags" ,rust-bitflags-1)
- ("rust-downcast-rs" ,rust-downcast-rs-1)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-nix" ,rust-nix-0.18)
- ("rust-parking-lot" ,rust-parking-lot-0.11)
- ("rust-scoped-tls" ,rust-scoped-tls-1)
- ("rust-wayland-commons" ,rust-wayland-commons-0.28)
- ("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
- ("rust-wayland-sys" ,rust-wayland-sys-0.28)))
+ (list rust-bitflags-1
+ rust-downcast-rs-1
+ rust-lazy-static-1
+ rust-libc-0.2
+ rust-nix-0.18
+ rust-parking-lot-0.11
+ rust-scoped-tls-1
+ rust-wayland-commons-0.28
+ rust-wayland-scanner-0.28
+ rust-wayland-sys-0.28))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis
"Bindings to the standard C implementation of the wayland protocol")
@@ -2784,12 +2858,10 @@ the wayland protocol, server side.")
(string-append libwayland "/lib/" shared-lib)))
#t))))))
(inputs
- `(("rust-dlib" ,rust-dlib-0.4)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-pkg-config" ,rust-pkg-config-0.3)))
+ (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2
+ rust-pkg-config-0.3))
(propagated-inputs
- `(("wayland" ,wayland)))
+ (list wayland))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
(description
@@ -2879,7 +2951,7 @@ crate @code{rust-wayland-client} for usable bindings.")
("rust-winapi" ,rust-winapi-0.3)
("rust-x11-dl" ,rust-x11-dl-2))))
(inputs
- `(("rust-wayland-client" ,rust-wayland-client-0.28)))
+ (list rust-wayland-client-0.28))
(home-page "https://github.com/rust-windowing/winit")
(synopsis "Window creation library")
(description
@@ -3005,6 +3077,33 @@ the platform-specific getters provided by winit, or another library.")
(description "This crate provides X11 library bindings for Rust.")
(license license:expat)))
+(define-public rust-x11rb-0.8
+ (package
+ (name "rust-x11rb")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11rb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "068g5ll4l5f35c2v098hj0kj2c9ma0r7v3pbli164q9g7w5hiyvg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-gethostname" ,rust-gethostname-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-nix" ,rust-nix-0.20)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1))))
+ (home-page "https://github.com/psychon/x11rb")
+ (synopsis "Rust bindings to X11")
+ (description "This package provides Rust bindings to X11")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-x11-clipboard-0.5
(package
(name "rust-x11-clipboard")
@@ -3044,7 +3143,7 @@ the platform-specific getters provided by winit, or another library.")
`(#:tests? #f ; Tests require display server.
#:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
(native-inputs
- `(("python" ,python)))))
+ (list python))))
(define-public rust-x11-dl-2
(package