aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-10-24 00:57:23 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-10-24 01:08:23 +0200
commit8a2b23178274127dac07e1163267d623790ce36a (patch)
treee785ee309960d9203efd4ef10528ad7c35800036 /NEWS
parentf98be942e314d9add540a71b987fc5510d1981e1 (diff)
downloadguix-8a2b23178274127dac07e1163267d623790ce36a.tar.gz
guix-8a2b23178274127dac07e1163267d623790ce36a.zip
Revert "guix: svn: Allow dropping externals."
This reverts commit 51395c84fdbf8daed6392951a973ad750cf3eefa, fixing <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37896>. Reported by <o.rojon@posteo.net>.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions
lass='mode'>-rw-r--r--gnu/packages/crates-io.scm7786
-rw-r--r--gnu/packages/crates-tls.scm631
-rw-r--r--gnu/packages/crates-vcs.scm2467
-rw-r--r--gnu/packages/crates-web.scm76
-rw-r--r--gnu/packages/crates-windows.scm580
-rw-r--r--gnu/packages/file-systems.scm2
-rw-r--r--gnu/packages/gnome.scm55
-rw-r--r--gnu/packages/gnuzilla.scm7
-rw-r--r--gnu/packages/nss.scm18
-rw-r--r--gnu/packages/patches/rust-1.78-unwinding-fix.patch29
-rw-r--r--gnu/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch40
-rw-r--r--gnu/packages/python-xyz.scm2
-rw-r--r--gnu/packages/rust-apps.scm835
-rw-r--r--gnu/packages/rust.scm178
-rw-r--r--gnu/packages/sequoia.scm473
-rw-r--r--gnu/packages/shells.scm6
-rw-r--r--gnu/packages/syndication.scm6
-rw-r--r--gnu/packages/terminals.scm21
-rw-r--r--gnu/packages/tor-browsers.scm6
-rw-r--r--gnu/packages/version-control.scm10
-rw-r--r--gnu/packages/video.scm45
26 files changed, 14396 insertions, 2624 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4e850ab562..7e6701f2c7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3960,7 +3960,9 @@ compressed files.")
"0wg1s927g32k25j967kfr8l30nmr4c0p4zvy5igvy7cs6chd60lh"))))
(build-system cargo-build-system)
(arguments
- `(#:phases
+ `(#:tests? #f
+ #:install-source? #f
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-writable
(lambda _
diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 11ceb517d3..6881ac2cf5 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -63,27 +63,44 @@
extension of blocks.")
(license license:expat)))
-(define-public rust-block2-0.3
+(define-public rust-block2-0.5
(package
(name "rust-block2")
- (version "0.3.0")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "block2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0s2ywcis2xf9444vmdgzr7ankrrkpchn8zimaw950cszm1imdd8m"))))
+ (base32 "0pyiha5his2grzqr3mynmq244laql2j20992i59asp0gy7mjw4rc"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
- #:cargo-inputs (("rust-block-sys" ,rust-block-sys-0.2)
- ("rust-objc2" ,rust-objc2-0.4))))
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-objc2" ,rust-objc2-0.5))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Apple's C language extension of blocks")
(description "This package contains Apple's C language extension of blocks.")
(license license:expat)))
+(define-public rust-block2-0.3
+ (package
+ (inherit rust-block2-0.5)
+ (name "rust-block2")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "block2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s2ywcis2xf9444vmdgzr7ankrrkpchn8zimaw950cszm1imdd8m"))))
+ (arguments
+ `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
+ #:cargo-inputs (("rust-block-sys" ,rust-block-sys-0.2)
+ ("rust-objc2" ,rust-objc2-0.4))))))
+
(define-public rust-block2-0.2
(package
(inherit rust-block2-0.3)
@@ -143,14 +160,14 @@ extension of blocks.")
(define-public rust-cargo-credential-macos-keychain-0.4
(package
(name "rust-cargo-credential-macos-keychain")
- (version "0.4.3")
+ (version "0.4.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "cargo-credential-macos-keychain" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ls1ak7xmjw5h04h1sqxz8fyiq7w6xva5kavfkrs7rgplgh0049n"))))
+ (base32 "1mb5ckal65llh7c0p2a3ivwbv8802s9ysrr0wsjn82fj8jv05kla"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4)
@@ -462,8 +479,31 @@ CommonCrypto library.")
"Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.")
(license license:expat)))
+(define-public rust-core-foundation-0.10
+ (package
+ (name "rust-core-foundation")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-foundation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qscay14s2rwkg8nd8ljhiaf149hj8sfy95d70zssy64r3jp2lmm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; link kind `framework` is only supported on Apple targets
+ #:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-uuid" ,rust-uuid-1))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings to Core Foundation for macOS")
+ (description "This package provides bindings to Core Foundation for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-core-foundation-0.9
(package
+ (inherit rust-core-foundation-0.10)
(name "rust-core-foundation")
(version "0.9.4")
(source
@@ -473,18 +513,13 @@ CommonCrypto library.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13zvbbj07yk3b61b8fhwfzhy35535a583irf23vlcg59j7h9bqci"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;tests fail with a lot of "undefined reference"
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2)
- ("rust-uuid" ,rust-uuid-0.5))))
- (home-page "https://github.com/servo/core-foundation-rs")
- (synopsis "Bindings to Core Foundation for macOS")
- (description "This package provides bindings to Core Foundation for macOS.")
- (license (list license:expat license:asl2.0))))
+ ("rust-uuid" ,rust-uuid-0.5))))))
(define-public rust-core-foundation-0.7
(package
@@ -551,14 +586,14 @@ CommonCrypto library.")
(define-public rust-core-foundation-sys-0.8
(package
(name "rust-core-foundation-sys")
- (version "0.8.6")
+ (version "0.8.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-foundation-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13w6sdf06r0hn7bx2b45zxsg1mm2phz34jikm6xc5qrbr6djpsh6"))))
+ (base32 "12w8j73lazxmr1z0h98hf3z623kl8ms7g07jch7n4p8f9nwlhdkp"))))
(build-system cargo-build-system)
(home-page "https://github.com/servo/core-foundation-rs")
(synopsis "Bindings to Core Foundation for macOS")
@@ -1055,17 +1090,18 @@ Foundation framework.")
(define-public rust-objc-sys-0.3
(package
(name "rust-objc-sys")
- (version "0.3.2")
+ (version "0.3.5")
(source (origin
(method url-fetch)
(uri (crate-uri "objc-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0nbl4p4dmajhm0ji1z09jrlrxhqs4jfkvj1zjschh38qwhj17iy7"))))
+ "0423gry7s3rmz8s3pzzm1zy5mdjif75g6dbzc2lf2z0c77fipffd"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ; Needs gcc-objc
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
#:cargo-inputs (("rust-cc" ,rust-cc-1))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Raw bindings to the Objective-C runtime and ABI")
@@ -1114,26 +1150,29 @@ Foundation framework.")
"This package provides utilities for testing Objective-C interop.")
(license license:expat)))
-(define-public rust-objc2-0.4
+(define-public rust-objc2-0.5
(package
(name "rust-objc2")
- (version "0.4.1")
+ (version "0.5.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13gr3zqv8gzlylff5d4za91f50asb7vsrkpv8kiva3nkzm05m72m"))))
+ (base32 "015qa2d3vh7c1j2736h5wjrznri7x5ic35vl916c22gzxva8b9s6"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
#:cargo-inputs (("rust-malloc-buf" ,rust-malloc-buf-1)
("rust-objc-sys" ,rust-objc-sys-0.3)
- ("rust-objc2-encode" ,rust-objc2-encode-3)
+ ("rust-objc2-encode" ,rust-objc2-encode-4)
("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1))
#:cargo-development-inputs
- (("rust-iai" ,rust-iai-0.1)
+ (("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-iai" ,rust-iai-0.1)
+ ("rust-memoffset" ,rust-memoffset-0.9)
("rust-static-assertions" ,rust-static-assertions-1))))
(home-page "https://github.com/madsmtm/objc2")
(synopsis
@@ -1142,6 +1181,28 @@ Foundation framework.")
the Cocoa Foundation framework.")
(license license:expat)))
+(define-public rust-objc2-0.4
+ (package
+ (inherit rust-objc2-0.5)
+ (name "rust-objc2")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13gr3zqv8gzlylff5d4za91f50asb7vsrkpv8kiva3nkzm05m72m"))))
+ (arguments
+ `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
+ #:cargo-inputs (("rust-malloc-buf" ,rust-malloc-buf-1)
+ ("rust-objc-sys" ,rust-objc-sys-0.3)
+ ("rust-objc2-encode" ,rust-objc2-encode-3)
+ ("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1))
+ #:cargo-development-inputs
+ (("rust-iai" ,rust-iai-0.1)
+ ("rust-static-assertions" ,rust-static-assertions-1))))))
+
(define-public rust-objc2-0.3
(package
(inherit rust-objc2-0.4)
@@ -1163,24 +1224,190 @@ the Cocoa Foundation framework.")
("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1)
("rust-uuid" ,rust-uuid-1))))))
-(define-public rust-objc2-encode-3
+(define-public rust-objc2-app-kit-0.2
+ (package
+ (name "rust-objc2-app-kit")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-app-kit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zqyi5l1bm26j1bgmac9783ah36m5kcrxlqp5carglnpwgcrms74"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-core-data" ,rust-objc2-core-data-0.2)
+ ("rust-objc2-core-image" ,rust-objc2-core-image-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the AppKit framework")
+ (description
+ "This package provides bindings to the @code{AppKit} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-cloud-kit-0.2
+ (package
+ (name "rust-objc2-cloud-kit")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-cloud-kit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02dhjvmcq8c2bwj31jx423jygif1scs9f0lmlab0ayhw75b3ppbl"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-core-location" ,rust-objc2-core-location-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the CloudKit framework")
+ (description
+ "This package provides bindings to the @code{CloudKit} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-contacts-0.2
+ (package
+ (name "rust-objc2-contacts")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-contacts" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12a8m927xrrxa54xhqhqnkkl1a6l07pyrpnqfk9jz09kkh755zx5"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the Contacts framework")
+ (description "This package provides bindings to the Contacts framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-core-data-0.2
+ (package
+ (name "rust-objc2-core-data")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-core-data" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vvk8zjylfjjj04dzawydmqqz5ajvdkhf22cnb07ihbiw14vyzv1"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the CoreData framework")
+ (description
+ "This package provides bindings to the @code{CoreData} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-core-image-0.2
+ (package
+ (name "rust-objc2-core-image")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-core-image" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "102csfb82zi2sbzliwsfd589ckz0gysf7y6434c9zj97lmihj9jm"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-metal" ,rust-objc2-metal-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the CoreImage framework")
+ (description
+ "This package provides bindings to the @code{CoreImage} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-core-location-0.2
+ (package
+ (name "rust-objc2-core-location")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-core-location" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10apgsrigqryvi4rcc0f6yfjflvrl83f4bi5hkr48ck89vizw300"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-contacts" ,rust-objc2-contacts-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the CoreLocation framework")
+ (description
+ "This package provides bindings to the @code{CoreLocation} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-encode-4
(package
(name "rust-objc2-encode")
- (version "3.0.0")
+ (version "4.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "objc2-encode" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0rknhkcnyj4qv1pzqp5j8l80726phz8fcxpsbpz9nhmg6xdq8yfh"))))
+ (base32 "1y7hjg4k828zhn4fjnbidrz3vzw4llk9ldy92drj47ydjc9yg4bq"))))
(build-system cargo-build-system)
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Objective-C type-encoding representation and parsing")
- (description "This package provides objective-C type-encoding
-representation and parsing.")
+ (description
+ "This package provides Objective-C type-encoding representation and parsing.")
(license license:expat)))
+(define-public rust-objc2-encode-3
+ (package
+ (inherit rust-objc2-encode-4)
+ (name "rust-objc2-encode")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-encode" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rknhkcnyj4qv1pzqp5j8l80726phz8fcxpsbpz9nhmg6xdq8yfh"))))))
+
(define-public rust-objc2-encode-2
(package
(inherit rust-objc2-encode-3)
@@ -1197,23 +1424,232 @@ representation and parsing.")
`(#:tests? #f ; Test suite wants gcc-objc
#:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2))))))
+(define-public rust-objc2-foundation-0.2
+ (package
+ (name "rust-objc2-foundation")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-foundation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a6mi77jsig7950vmx9ydvsxaighzdiglk5d229k569pvajkirhf"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-dispatch" ,rust-dispatch-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-objc2" ,rust-objc2-0.5))
+ #:cargo-development-inputs
+ (("rust-static-assertions" ,rust-static-assertions-1))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the Foundation framework")
+ (description "This package provides bindings to the Foundation framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-link-presentation-0.2
+ (package
+ (name "rust-objc2-link-presentation")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-link-presentation" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "160k4qh00yrx57dabn3hzas4r98kmk9bc0qsy1jvwday3irax8d1"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-app-kit" ,rust-objc2-app-kit-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the LinkPresentation framework")
+ (description
+ "This package provides bindings to the @code{LinkPresentation} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-metal-0.2
+ (package
+ (name "rust-objc2-metal")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-metal" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mmdga66qpxrcfq3gxxhysfx3zg1hpx4z886liv3j0pnfq9bl36x"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the Metal framework")
+ (description "This package provides bindings to the Metal framework.")
+ (license license:expat)))
+
(define-public rust-objc2-proc-macros-0.1
(package
(name "rust-objc2-proc-macros")
- (version "0.1.1")
+ (version "0.1.3")
(source (origin
(method url-fetch)
(uri (crate-uri "objc2-proc-macros" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "07j3snswvj6532x32zgn4llc2xaf31rj4iw18n6dsrf2p0jvh1xr"))))
+ "1w335fj58k76z94d242xq18qkj7iw082lpy3kxnisaa5r7q4aaa6"))))
(build-system cargo-build-system)
(home-page "https://github.com/madsmtm/objc2")
(synopsis "Procedural macros for the objc2 project")
(description "This package provides procedural macros for the objc2 project.")
(license license:expat)))
+(define-public rust-objc2-quartz-core-0.2
+ (package
+ (name "rust-objc2-quartz-core")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-quartz-core" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ynw8819c36l11rim8n0yzk0fskbzrgaqayscyqi8swhzxxywaz4"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-metal" ,rust-objc2-metal-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the QuartzCore/CoreAnimation framework")
+ (description
+ "This package provides bindings to the @code{QuartzCore/CoreAnimation}
+framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-ui-kit-0.2
+ (package
+ (name "rust-objc2-ui-kit")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-ui-kit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vrb5r8z658l8c19bx78qks8c5hg956544yirf8npk90idwldfxq"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-cloud-kit" ,rust-objc2-cloud-kit-0.2)
+ ("rust-objc2-core-data" ,rust-objc2-core-data-0.2)
+ ("rust-objc2-core-image" ,rust-objc2-core-image-0.2)
+ ("rust-objc2-core-location" ,rust-objc2-core-location-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-link-presentation" ,rust-objc2-link-presentation-0.2)
+ ("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2)
+ ("rust-objc2-symbols" ,rust-objc2-symbols-0.2)
+ ("rust-objc2-uniform-type-identifiers" ,rust-objc2-uniform-type-identifiers-0.2)
+ ("rust-objc2-user-notifications" ,rust-objc2-user-notifications-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the UIKit framework")
+ (description "This package provides bindings to the UIKit framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-symbols-0.2
+ (package
+ (name "rust-objc2-symbols")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-symbols" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p04hjkxan18g2b7h9n2n8xxsvazapv2h6mfmmdk06zc7pz4ws0a"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the Symbols framework")
+ (description "This package Provides Bindings to the Symbols framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-uniform-type-identifiers-0.2
+ (package
+ (name "rust-objc2-uniform-type-identifiers")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-uniform-type-identifiers" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ziv4wkbxcaw015ypg0q49ycl7m14l3x56mpq2k1rznv92bmzyj4"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the UniformTypeIdentifiers framework")
+ (description
+ "This package provides bindings to the @code{UniformTypeIdentifiers} framework.")
+ (license license:expat)))
+
+(define-public rust-objc2-user-notifications-0.2
+ (package
+ (name "rust-objc2-user-notifications")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "objc2-user-notifications" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cscv2w3vxzaslz101ddv0z9ycrrs4ayikk4my4qd3im8bvcpkvn"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Must specify the desired runtime using Cargo features on non-Apple platforms
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-core-location" ,rust-objc2-core-location-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2))))
+ (home-page "https://github.com/madsmtm/objc2")
+ (synopsis "Bindings to the UserNotifications framework")
+ (description
+ "This package provides bindings to the @code{UserNotifications} framework.")
+ (license license:expat)))
+
(define-public rust-readkey-0.1
(package
(name "rust-readkey")
@@ -1237,19 +1673,19 @@ currently pressed on macOS.")
(define-public rust-security-framework-2
(package
(name "rust-security-framework")
- (version "2.9.2")
+ (version "2.11.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "security-framework" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1pplxk15s5yxvi2m1sz5xfmjibp96cscdcl432w9jzbk0frlzdh5"))))
+ (base32 "00ldclwx78dm61v7wkach9lcx76awlrv0fdgjdwch4dmy12j4yw9"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ;missing files
+ `(#:tests? #f ; unresolved import `security_framework::secure_transport`
#:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
+ (("rust-bitflags" ,rust-bitflags-2)
("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
("rust-libc" ,rust-libc-0.2)
@@ -1261,7 +1697,7 @@ currently pressed on macOS.")
("rust-hex" ,rust-hex-0.4)
("rust-tempdir" ,rust-tempdir-0.3)
("rust-time" ,rust-time-0.3)
- ("rust-x509-parser" ,rust-x509-parser-0.15))))
+ ("rust-x509-parser" ,rust-x509-parser-0.16))))
(home-page "https://lib.rs/crates/security_framework")
(synopsis "@code{Security.framework} bindings for macOS and iOS")
(description "This package provides @code{Security.framework} bindings for
@@ -1349,14 +1785,14 @@ macOS and iOS.")
(define-public rust-security-framework-sys-2
(package
(name "rust-security-framework-sys")
- (version "2.9.1")
+ (version "2.12.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "security-framework-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0yhciwlsy9dh0ps1gw3197kvyqx1bvc4knrhiznhid6kax196cp9"))))
+ (base32 "18pafp0bn41bcbm66qrhb3pg4c8dddvc28jdr51mb2y57lqcffgs"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 422edfbc1d..150861fc4b 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3345,6 +3345,42 @@ secp384r1) elliptic curve as defined in SP 800-186 with support for ECDH, ECDSA
signing/verification, and general purpose curve arithmetic support.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-p521-0.13
+ (package
+ (name "rust-p521")
+ (version "0.13.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "p521" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cl5y2aypa1vxg181a0na3abndz1981pfdp2zkyml88z3wbf5j8g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.2)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-elliptic-curve" ,rust-elliptic-curve-0.13)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-primeorder" ,rust-primeorder-0.13)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serdect" ,rust-serdect-0.2)
+ ("rust-sha2" ,rust-sha2-0.10))
+ #:cargo-development-inputs (("rust-blobby" ,rust-blobby-0.3)
+ ("rust-ecdsa" ,rust-ecdsa-0.16)
+ ("rust-hex-literal" ,rust-hex-literal-0.4)
+ ("rust-primeorder" ,rust-primeorder-0.13)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rand-core" ,rust-rand-core-0.6))))
+ (home-page
+ "https://github.com/RustCrypto/elliptic-curves/tree/master/p521")
+ (synopsis
+ "Pure Rust implementation of the NIST P-521 (a.k.a. secp521r1) elliptic curve")
+ (description
+ "This package provides Pure Rust implementation of the NIST P-521 (a.k.a.
+secp521r1) elliptic curve as defined in SP 800-186.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-pbkdf2-0.12
(package
(name "rust-pbkdf2")
@@ -4010,7 +4046,7 @@ for constructing a Message Authentication Code (MAC).")
(define-public rust-ppv-lite86-0.2
(package
(name "rust-ppv-lite86")
- (version "0.2.17")
+ (version "0.2.20")
(source
(origin
(method url-fetch)
@@ -4018,8 +4054,10 @@ for constructing a Message Authentication Code (MAC).")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1pp6g52aw970adv3x2310n7glqnji96z0a9wiamzw89ibf0ayh2v"))))
+ "017ax9ssdnpww7nrl1hvqh2lzncpv04nnsibmnw9nxjnaqlpp5bp"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-zerocopy" ,rust-zerocopy-0.7))))
(home-page "https://github.com/cryptocorrosion/cryptocorrosion")
(synopsis "Implementation of the crypto-simd API for x86")
(description "This crate provides an implementation of the crypto-simd API
@@ -4029,14 +4067,14 @@ for x86.")
(define-public rust-primeorder-0.13
(package
(name "rust-primeorder")
- (version "0.13.1")
+ (version "0.13.6")
(source (origin
(method url-fetch)
(uri (crate-uri "primeorder" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1ddz0d0fzzcpdlsj6c6989va8ykf702g3zmf7dszfa0y6rski3fg"))))
+ "1rp16710mxksagcjnxqjjq9r9wf5vf72fs8wxffnvhb6i6hiqgim"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -5100,8 +5138,36 @@ traits with cryptographic algorithm implementations from @code{ring}.")
("rust-sha2" ,rust-sha2-0.9)
("rust-sha3" ,rust-sha3-0.9))))))
+(define-public rust-rust-argon2-2
+ (package
+ (name "rust-rust-argon2")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s66kgbvnv5vaq4vlglx587bq93c662whrniz6ycpjb03m9li64x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.21)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-1)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4))))
+ (home-page "https://github.com/sru-systems/rust-argon2")
+ (synopsis "Argon2 password hashing function in Rust")
+ (description
+ "This package provides a Rust implementation of the Argon2 password
+hashing function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rust-argon2-0.8
(package
+ (inherit rust-rust-argon2-2)
(name "rust-rust-argon2")
(version "0.8.3")
(source
@@ -5111,7 +5177,6 @@ traits with cryptographic algorithm implementations from @code{ring}.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -5119,13 +5184,7 @@ traits with cryptographic algorithm implementations from @code{ring}.")
("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
- ("rust-serde" ,rust-serde-1))))
- (home-page "https://github.com/sru-systems/rust-argon2")
- (synopsis "Argon2 password hashing function in Rust")
- (description
- "This package provides a Rust implementation of the Argon2 password
-hashing function.")
- (license (list license:expat license:asl2.0))))
+ ("rust-serde" ,rust-serde-1))))))
(define-public rust-rust-argon2-0.7
(package
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 0c1b944736..757e23f81e 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,6 +49,7 @@
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gl)
+ #:use-module (gnu packages image)
#:use-module (gnu packages llvm)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -380,26 +382,51 @@ Mac, and Unix.")
(description "Interop library between ash and raw-window-handle.")
(license (list license:expat license:asl2.0))))
+(define-public rust-av-data-0.4
+ (package
+ (name "rust-av-data")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "av-data" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "135kq5javpf83xci44srw9k0inh3g6k40ijr4qi3s6qn6m1y4jhj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-byte-slice-cast" ,rust-byte-slice-cast-1)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-num-derive" ,rust-num-derive-0.4)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/rust-av/rust-av")
+ (synopsis "Multimedia data structures")
+ (description "This package provides multimedia data structures.")
+ (license license:expat)))
+
(define-public rust-avif-parse-1
(package
(name "rust-avif-parse")
- (version "1.0.0")
+ (version "1.3.2")
(source (origin
(method url-fetch)
(uri (crate-uri "avif-parse" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1vhd4n06g5mbf4sznz67mk352pw9hh97f4ysafp737xvzfd3zyw7"))))
+ (base32 "02gjhprg6hs79shpb7mljc68zsz0f75dall1pkhqcax0f5jmpdvz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-bitreader" ,rust-bitreader-0.3)
+ (("rust-arrayvec" ,rust-arrayvec-0.7)
+ ("rust-bitreader" ,rust-bitreader-0.3)
("rust-byteorder" ,rust-byteorder-1)
- ("rust-fallible-collections" ,rust-fallible-collections-0.4)
- ("rust-log" ,rust-log-0.4)
- ("rust-static-assertions" ,rust-static-assertions-1))
+ ("rust-fallible-collections" ,rust-fallible-collections-0.5)
+ ("rust-leb128" ,rust-leb128-0.2)
+ ("rust-log" ,rust-log-0.4))
#:cargo-development-inputs
- (("rust-env-logger" ,rust-env-logger-0.9)
+ (("rust-env-logger" ,rust-env-logger-0.11)
("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/kornelski/avif-parse")
(synopsis "Parser for AVIF image files")
@@ -437,19 +464,21 @@ untrusted data.")
(define-public rust-avif-serialize-0.8
(package
(name "rust-avif-serialize")
- (version "0.8.1")
+ (version "0.8.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "avif-serialize" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1llnwlj11wcifdlny8x8yksl3zmz8i6a35il0cd4ar335yj7av47"))))
+ (base32 "0qnxpnwl5yn31xh3ymr546jbazj3xi1nzvay47502cf4j0908dg3"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; use of undeclared crate or module `mp4parse`
- #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7))
- #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1))))
+ `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7))
+ #:cargo-development-inputs
+ (("rust-avif-parse" ,rust-avif-parse-1)
+ ("rust-fallible-collections" ,rust-fallible-collections-0.4)
+ ("rust-mp4parse" ,rust-mp4parse-0.17))))
(home-page "https://lib.rs/avif-serialize")
(synopsis "Writer for AVIF header structure (MPEG/HEIF/MIAF/ISO-BMFF)")
(description
@@ -683,23 +712,23 @@ for computer graphics.")
(description "Professional color schemes ported from d3-scale-chromatic.")
(license license:asl2.0)))
-(define-public rust-core-graphics-0.23
+(define-public rust-core-graphics-0.24
(package
(name "rust-core-graphics")
- (version "0.23.1")
+ (version "0.24.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "core-graphics" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp"))))
+ (base32 "1w8n8gqqm8swkanaibilqya8ryldp9fvf80byjxsaprn493a75gs"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
- ("rust-core-foundation" ,rust-core-foundation-0.9)
- ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
+ `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-core-foundation" ,rust-core-foundation-0.10)
+ ("rust-core-graphics-types" ,rust-core-graphics-types-0.2)
("rust-foreign-types" ,rust-foreign-types-0.5)
("rust-libc" ,rust-libc-0.2))))
(home-page "https://github.com/servo/core-foundation-rs")
@@ -708,6 +737,26 @@ for computer graphics.")
"This package provides bindings to Core Graphics for @code{macOS}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-core-graphics-0.23
+ (package
+ (inherit rust-core-graphics-0.24)
+ (name "rust-core-graphics")
+ (version "0.23.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics-types" ,rust-core-graphics-types-0.1)
+ ("rust-foreign-types" ,rust-foreign-types-0.5)
+ ("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-core-graphics-0.22
(package
(inherit rust-core-graphics-0.23)
@@ -792,8 +841,32 @@ for computer graphics.")
("rust-foreign-types" ,rust-foreign-types-0.3)
("rust-libc" ,rust-libc-0.2))))))
+(define-public rust-core-graphics-types-0.2
+ (package
+ (name "rust-core-graphics-types")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics-types" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sqka1rz84lr3p69i1s6lggnpnznmrw4ngc5q76w9xhky80s2i1x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-core-foundation" ,rust-core-foundation-0.10)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-foundation-rs")
+ (synopsis "Bindings for some fundamental Core Graphics types")
+ (description
+ "This package provides bindings for some fundamental Core Graphics types.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-core-graphics-types-0.1
(package
+ (inherit rust-core-graphics-types-0.2)
(name "rust-core-graphics-types")
(version "0.1.1")
(source
@@ -803,20 +876,13 @@ for computer graphics.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-foreign-types" ,rust-foreign-types-0.3)
- ("rust-libc" ,rust-libc-0.2))))
- (home-page "https://github.com/servo/core-foundation-rs")
- (synopsis "Bindings for some fundamental Core Graphics types")
- (description
- "This package provides bindings for some fundamental Core Graphics
-types.")
- (license (list license:expat license:asl2.0))))
+ ("rust-libc" ,rust-libc-0.2))))))
(define-public rust-core-video-sys-0.1
(package
@@ -890,8 +956,63 @@ and iOS.")
(description "Low level D3D12 API wrapper.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dark-light-1
+ (package
+ (name "rust-dark-light")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dark-light" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g1sq0byf5h9w12b02aza8vbrq81as4yh67yvgf419vz2sbzlxia"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dconf-rs" ,rust-dconf-rs-0.3)
+ ("rust-detect-desktop-environment" ,rust-detect-desktop-environment-0.2)
+ ("rust-dirs" ,rust-dirs-4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-rust-ini" ,rust-rust-ini-0.18)
+ ("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-winreg" ,rust-winreg-0.10)
+ ("rust-zbus" ,rust-zbus-4))))
+ (home-page "https://github.com/frewsxcv/rust-dark-light")
+ (synopsis "Detect if dark mode or light mode is enabled")
+ (description
+ "This package provides a way to detect if dark mode or light mode is enabled.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-dav1d-0.10
+ (package
+ (name "rust-dav1d")
+ (version "0.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dav1d" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qd13sm1bfbc5chjgrzk4syffkky994lkyzhqrqklqxg1fj58jqd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-av-data" ,rust-av-data-0.4)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-dav1d-sys" ,rust-dav1d-sys-0.8)
+ ("rust-static-assertions" ,rust-static-assertions-1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list dav1d clang llvm))
+ (home-page "https://github.com/rust-av/dav1d-rs")
+ (synopsis "Libdav1d bindings")
+ (description "This package provides libdav1d bindings in rust.")
+ (license license:expat)))
+
(define-public rust-dav1d-0.6
(package
+ (inherit rust-dav1d-0.10)
(name "rust-dav1d")
(version "0.6.1")
(source (origin
@@ -901,21 +1022,37 @@ and iOS.")
(sha256
(base32
"0qz2lx37pmx798lysgh6k5lk5y20ckr7pp8c1p6v2z0p721i913j"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-dav1d-sys" ,rust-dav1d-sys-0.3))))
+ (("rust-dav1d-sys" ,rust-dav1d-sys-0.3))))))
+
+(define-public rust-dav1d-sys-0.8
+ (package
+ (name "rust-dav1d-sys")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dav1d-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "158fqp97ny3206sydnimc2jy1c1gcxa4llqvvkp3ii2dixg1rjvf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))))
(native-inputs
(list pkg-config))
(inputs
- (list dav1d clang llvm))
+ (list dav1d))
(home-page "https://github.com/rust-av/dav1d-rs")
- (synopsis "Libdav1d bindings")
- (description "This package provides libdav1d bindings in rust.")
+ (synopsis "FFI bindings to dav1d")
+ (description "This package provides FFI bindings to dav1d.")
(license license:expat)))
(define-public rust-dav1d-sys-0.7
(package
+ (inherit rust-dav1d-sys-0.8)
(name "rust-dav1d-sys")
(version "0.7.3")
(source (origin
@@ -924,20 +1061,11 @@ and iOS.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13z5qvf35lkda67l6l1bkdp1gmqg75cqfblldxh4n8rbmn4zsj9s"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Expects 1.0.0 <= dav1d < 1.3.0
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-6))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list dav1d))
- (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)))
+ ("rust-system-deps" ,rust-system-deps-6))))))
(define-public rust-dav1d-sys-0.3
(package
@@ -1007,8 +1135,56 @@ and iOS.")
(description "Calculate Delta E between two colors in CIE Lab space.")
(license license:expat)))
+(define-public rust-dpi-0.1
+ (package
+ (name "rust-dpi")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dpi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lzz48gpgbwdrw0s8vib0589ij9jizv1vzsphm4xd9kw58lhwp7j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-mint" ,rust-mint-0.5)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/rust-windowing/winit")
+ (synopsis "Types for handling UI scaling")
+ (description "This package provides types for handling UI scaling.")
+ (license license:asl2.0)))
+
+(define-public rust-drm-0.12
+ (package
+ (name "rust-drm")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ldmrglplhrcfmpyjy2ga4hg89c89f0kzmky3b0j85b0pm5qr24q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-drm-ffi" ,rust-drm-ffi-0.8)
+ ("rust-drm-fourcc" ,rust-drm-fourcc-2)
+ ("rust-rustix" ,rust-rustix-0.38))
+ #:cargo-development-inputs (("rust-image" ,rust-image-0.24)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-rustyline" ,rust-rustyline-13))))
+ (home-page "https://github.com/Smithay/drm-rs")
+ (synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
+ (description
+ "Safe, low-level bindings to the Direct Rendering Manager API.")
+ (license license:expat)))
+
(define-public rust-drm-0.10
(package
+ (inherit rust-drm-0.12)
(name "rust-drm")
(version "0.10.0")
(source
@@ -1018,7 +1194,6 @@ and iOS.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "11xyv3l03a3zxsrfr02mwnn5d6h4100919zb2v9fpizv7xq1pywp"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-bytemuck" ,rust-bytemuck-1)
@@ -1027,7 +1202,23 @@ and iOS.")
("rust-nix" ,rust-nix-0.27))
#:cargo-development-inputs (("rust-image" ,rust-image-0.24)
("rust-nix" ,rust-nix-0.27)
- ("rust-rustyline" ,rust-rustyline-12))))
+ ("rust-rustyline" ,rust-rustyline-12))))))
+
+(define-public rust-drm-ffi-0.8
+ (package
+ (name "rust-drm-ffi")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm-ffi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lwd4zvimd4132cpay3vs41gf1sv3s4gx37a997wnz4bwhkqgjcp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.7)
+ ("rust-rustix" ,rust-rustix-0.38))))
(home-page "https://github.com/Smithay/drm-rs")
(synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
(description
@@ -1036,6 +1227,7 @@ and iOS.")
(define-public rust-drm-ffi-0.6
(package
+ (inherit rust-drm-ffi-0.8)
(name "rust-drm-ffi")
(version "0.6.0")
(source
@@ -1045,15 +1237,9 @@ and iOS.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0par8xcrpnz1h53yam4ai9jpqc9as337vclzsn4hw9xnqhciqzds"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.5)
- ("rust-nix" ,rust-nix-0.27))))
- (home-page "https://github.com/Smithay/drm-rs")
- (synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
- (description
- "Safe, low-level bindings to the Direct Rendering Manager API.")
- (license license:expat)))
+ ("rust-nix" ,rust-nix-0.27))))))
(define-public rust-drm-fourcc-2
(package
@@ -1077,26 +1263,45 @@ and iOS.")
Direct Rendering Manager} format fourcc.")
(license license:expat)))
-(define-public rust-drm-sys-0.5
+(define-public rust-drm-sys-0.7
(package
(name "rust-drm-sys")
- (version "0.5.0")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "drm-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1bhmwzbraxclivn2h83ab7aqdcly82sy7w85az6mcah6d021qkrs"))))
+ (base32 "11irvbzb0rbsm5zxgxsbaca8f6nvkl8kvwk3hwp6q6bf1gjdsfgx"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.6)
("rust-pkg-config" ,rust-pkg-config-0.3))))
(home-page "https://github.com/Smithay/drm-rs")
(synopsis "Bindings to the Direct Rendering Manager API")
- (description "Bindings to the Direct Rendering Manager API.")
+ (description
+ "This package provides bindings to the Direct Rendering Manager API.")
(license license:expat)))
+(define-public rust-drm-sys-0.5
+ (package
+ (inherit rust-drm-sys-0.7)
+ (name "rust-drm-sys")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bhmwzbraxclivn2h83ab7aqdcly82sy7w85az6mcah6d021qkrs"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))))
+
(define-public rust-enterpolation-0.2
(package
(name "rust-enterpolation")
@@ -1369,30 +1574,51 @@ EUI-64, also known as MAC-48 media access control addresses.")
(description "This package is a core library of Gfx-rs.")
(license license:asl2.0)))
-(define-public rust-gif-0.12
+(define-public rust-gif-0.13
(package
(name "rust-gif")
- (version "0.12.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gif" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ibhjyrslfv9qm400gp4hd50v9ibva01j4ab9bwiq1aycy9jayc0"))))
+ (base32 "1whrkvdg26gp1r7f95c6800y6ijqw5y0z8rgj6xihpi136dxdciz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs (("rust-color-quant" ,rust-color-quant-1)
("rust-weezl" ,rust-weezl-0.1))
- #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
("rust-glob" ,rust-glob-0.3)
- ("rust-png" ,rust-png-0.17))))
+ ("rust-png" ,rust-png-0.17)
+ ("rust-rayon" ,rust-rayon-1))))
(home-page "https://github.com/image-rs/image-gif")
(synopsis "GIF decoder and encoder")
(description "This package provides a GIF decoder and encoder in Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gif-0.12
+ (package
+ (inherit rust-gif-0.13)
+ (name "rust-gif")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gif" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ibhjyrslfv9qm400gp4hd50v9ibva01j4ab9bwiq1aycy9jayc0"))))
+ (arguments
+ `(#:tests? #f ; Not all files included.
+ #:cargo-inputs (("rust-color-quant" ,rust-color-quant-1)
+ ("rust-weezl" ,rust-weezl-0.1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-png" ,rust-png-0.17))))))
+
(define-public rust-gif-0.11
(package
(inherit rust-gif-0.12)
@@ -1581,8 +1807,45 @@ EUI-64, also known as MAC-48 media access control addresses.")
@code{WebGL}) anywhere, and avoid target-specific code.")
(license (list license:expat license:asl2.0 license:zlib))))
+(define-public rust-glutin-0.32
+ (package
+ (name "rust-glutin")
+ (version "0.32.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16g4sp38p8ca7jj8bdn28s480yl58xa432v3grhafzph1cm42sgc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.2)
+ ("rust-cgl" ,rust-cgl-0.3)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-dispatch" ,rust-dispatch-0.2)
+ ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.7)
+ ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.6)
+ ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.6)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-app-kit" ,rust-objc2-app-kit-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.6)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.31)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
+ ("rust-x11-dl" ,rust-x11-dl-2))))
+ (home-page "https://github.com/rust-windowing/glutin")
+ (synopsis "Cross-platform OpenGL context provider")
+ (description
+ "This package provides a cross-platform @code{OpenGL} context provider.")
+ (license license:asl2.0)))
+
(define-public rust-glutin-0.31
(package
+ (inherit rust-glutin-0.32)
(name "rust-glutin")
(version "0.31.2")
(source
@@ -1592,7 +1855,6 @@ EUI-64, also known as MAC-48 media access control addresses.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04mjvgh2dipwa8wdy8gc70k8w48104v8vmr2cmqdqspq5ai5jm00"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
@@ -1609,11 +1871,7 @@ EUI-64, also known as MAC-48 media access control addresses.")
("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
("rust-wayland-sys" ,rust-wayland-sys-0.31)
("rust-windows-sys" ,rust-windows-sys-0.48)
- ("rust-x11-dl" ,rust-x11-dl-2))))
- (home-page "https://github.com/rust-windowing/glutin")
- (synopsis "Cross-platform OpenGL context provider")
- (description "This package provides an OpenGL context provider.")
- (license license:asl2.0)))
+ ("rust-x11-dl" ,rust-x11-dl-2))))))
(define-public rust-glutin-0.30
(package
@@ -1782,26 +2040,42 @@ EUI-64, also known as MAC-48 media access control addresses.")
("rust-winapi" ,rust-winapi-0.3)
("rust-winit" ,rust-winit-0.19))))))
-(define-public rust-glutin-egl-sys-0.6
+(define-public rust-glutin-egl-sys-0.7
(package
(name "rust-glutin-egl-sys")
- (version "0.6.0")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_egl_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1kcv5pdpdsyhzpiahga15kk7yd4m64ia2k6xqcrz97ihylimdk3p"))))
+ (base32 "09y80579kyzkrk7smghmnyx2amddzvjah7wczgkdnl189pzrzsfa"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
- ("rust-windows-sys" ,rust-windows-sys-0.48))))
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Egl bindings for glutin")
- (description "The egl bindings for glutin.")
+ (description "This package provides the egl bindings for glutin.")
(license license:asl2.0)))
+(define-public rust-glutin-egl-sys-0.6
+ (package
+ (inherit rust-glutin-egl-sys-0.7)
+ (name "rust-glutin-egl-sys")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin_egl_sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kcv5pdpdsyhzpiahga15kk7yd4m64ia2k6xqcrz97ihylimdk3p"))))
+ (arguments
+ `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
+ ("rust-windows-sys" ,rust-windows-sys-0.48))))))
+
(define-public rust-glutin-egl-sys-0.5
(package
(inherit rust-glutin-egl-sys-0.6)
@@ -1894,26 +2168,42 @@ EUI-64, also known as MAC-48 media access control addresses.")
(description "This package provides gles2 bindings for glutin.")
(license license:asl2.0)))
-(define-public rust-glutin-glx-sys-0.5
+(define-public rust-glutin-glx-sys-0.6
(package
(name "rust-glutin-glx-sys")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_glx_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0krv3chf5sy83rsfwq267paczskpwnb5gcw0agac5p0hdilgsrd1"))))
+ (base32 "0qscs9525kpdwaky5cm6smkyrrlg9sv5xdcnhzh1hvp730wjsaww"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-x11-dl" ,rust-x11-dl-2))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Glx bindings for glutin")
- (description "This package provides glx bindings for glutin.")
+ (description "This package provides the glx bindings for glutin.")
(license license:asl2.0)))
+(define-public rust-glutin-glx-sys-0.5
+ (package
+ (inherit rust-glutin-glx-sys-0.6)
+ (name "rust-glutin-glx-sys")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin_glx_sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0krv3chf5sy83rsfwq267paczskpwnb5gcw0agac5p0hdilgsrd1"))))
+ (arguments
+ `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)
+ ("rust-x11-dl" ,rust-x11-dl-2))))))
+
(define-public rust-glutin-glx-sys-0.4
(package
(inherit rust-glutin-glx-sys-0.5)
@@ -1948,25 +2238,40 @@ EUI-64, also known as MAC-48 media access control addresses.")
(("rust-gl-generator" ,rust-gl-generator-0.14)
("rust-x11-dl" ,rust-x11-dl-2))))))
-(define-public rust-glutin-wgl-sys-0.5
+(define-public rust-glutin-wgl-sys-0.6
(package
(name "rust-glutin-wgl-sys")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "glutin_wgl_sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1b9f6qjc8gwhfxac4fpxkvv524l493f6b6q764nslpwmmjnri03c"))))
+ (base32 "0b0y444rc9sf67wqayyj40wayd92rjffavs9ma0llhyrpd8ijkha"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14))))
(home-page "https://github.com/rust-windowing/glutin")
(synopsis "Wgl bindings for glutin")
- (description "This package provides wgl bindings for glutin.")
+ (description "This package provides the wgl bindings for glutin.")
(license license:asl2.0)))
+(define-public rust-glutin-wgl-sys-0.5
+ (package
+ (inherit rust-glutin-wgl-sys-0.6)
+ (name "rust-glutin-wgl-sys")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glutin_wgl_sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1b9f6qjc8gwhfxac4fpxkvv524l493f6b6q764nslpwmmjnri03c"))))
+ (arguments
+ `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14))))))
+
(define-public rust-glutin-wgl-sys-0.4
(package
(inherit rust-glutin-wgl-sys-0.5)
@@ -2065,8 +2370,72 @@ EUI-64, also known as MAC-48 media access control addresses.")
similar formats like VCard.")
(license license:asl2.0)))
+(define-public rust-image-0.25
+ (package
+ (name "rust-image")
+ (version "0.25.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "image" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fsnfgg8hr66ag5nxipvb7d50kbg40qfpbsql59qkwa2ssp48vyd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; Not all files included.
+ "--skip=codecs::bmp::decoder::test::read_rect"
+ "--skip=codecs::bmp::decoder::test::test_no_header"
+ "--skip=codecs::jpeg::decoder::tests::test_exif_orientation"
+ "--skip=codecs::openexr::test::compare_cropped"
+ "--skip=codecs::openexr::test::compare_exr_hdr"
+ "--skip=codecs::openexr::test::compare_rgba_rgb"
+ "--skip=codecs::png::tests::ensure_no_decoder_off_by_one"
+ "--skip=codecs::png::tests::underlying_error"
+ "--skip=codecs::qoi::tests::decode_test_image"
+ "--skip=codecs::tga::encoder::tests::compressed::round_trip_bw"
+ "--skip=dynimage::test::image_dimensions"
+ "--skip=dynimage::test::open_16bpc_png"
+ "--skip=imageops::sample::tests::resize_transparent_image"
+ "--skip=imageops::sample::tests::test_resize_same_size"
+ "--skip=imageops::sample::tests::test_sample_bilinear"
+ "--skip=imageops::sample::tests::test_sample_nearest"
+ "--skip=imageops::tests::fast_blur_approximates_gaussian_blur_well")
+ #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-byteorder-lite" ,rust-byteorder-lite-0.1)
+ ("rust-color-quant" ,rust-color-quant-1)
+ ("rust-dav1d" ,rust-dav1d-0.10)
+ ("rust-exr" ,rust-exr-1)
+ ("rust-gif" ,rust-gif-0.13)
+ ("rust-image-webp" ,rust-image-webp-0.2)
+ ("rust-mp4parse" ,rust-mp4parse-0.17)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-png" ,rust-png-0.17)
+ ("rust-qoi" ,rust-qoi-0.4)
+ ("rust-ravif" ,rust-ravif-0.11)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rgb" ,rust-rgb-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tiff" ,rust-tiff-0.9)
+ ("rust-zune-core" ,rust-zune-core-0.4)
+ ("rust-zune-jpeg" ,rust-zune-jpeg-0.4))
+ #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-criterion" ,rust-criterion-0.5)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-num-complex" ,rust-num-complex-0.4)
+ ("rust-quickcheck" ,rust-quickcheck-1))))
+ (home-page "https://github.com/image-rs/image")
+ (synopsis "Imaging library written in Rust")
+ (description
+ "This package is an imaging library written in Rust. It provides basic
+filters and decoders for the most common image formats.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-image-0.24
(package
+ (inherit rust-image-0.25)
(name "rust-image")
(version "0.24.7")
(source (origin
@@ -2075,7 +2444,6 @@ similar formats like VCard.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04d7f25b8nlszfv9a474n4a0al4m2sv9gqj3yiphhqr0syyzsgbg"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs
@@ -2102,13 +2470,7 @@ similar formats like VCard.")
("rust-glob" ,rust-glob-0.3)
("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3)
("rust-num-complex" ,rust-num-complex-0.4)
- ("rust-quickcheck" ,rust-quickcheck-1))))
- (home-page "https://github.com/image-rs/image")
- (synopsis "Imaging library written in Rust")
- (description
- "This package is an imaging library written in Rust. It provides basic
-filters and decoders for the most common image formats.")
- (license license:expat)))
+ ("rust-quickcheck" ,rust-quickcheck-1))))))
(define-public rust-image-0.23
(package
@@ -2233,6 +2595,32 @@ filters and decoders for the most common image formats.")
("rust-num-complex" ,rust-num-complex-0.2)
("rust-quickcheck" ,rust-quickcheck-0.6))))))
+(define-public rust-image-webp-0.2
+ (package
+ (name "rust-image-webp")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "image-webp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bz2zf9rfkfwf50bv60p6vnwnggg75s3bsnnnp6aj4a7v7iyhcg0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder-lite" ,rust-byteorder-lite-0.1)
+ ("rust-quick-error" ,rust-quick-error-2))
+ #:cargo-development-inputs (("rust-paste" ,rust-paste-1)
+ ("rust-png" ,rust-png-0.17)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-webp" ,rust-webp-0.3))))
+ (inputs (list libwebp))
+ (home-page "https://github.com/image-rs/image-webp")
+ (synopsis "WebP encoding and decoding in pure Rust")
+ (description
+ "This package provides @code{WebP} encoding and decoding in pure Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-imageproc-0.23
(package
(name "rust-imageproc")
@@ -2371,6 +2759,36 @@ It's features include:
@end enumerate")
(license license:expat)))
+(define-public rust-khronos-egl-5
+ (package
+ (name "rust-khronos-egl")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "khronos-egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qw31jzaly1kcn2smicmcm6g4y5sh0y5l8fnaca85ssaq0b2nf6i"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: doctest failed
+ `(#:tests? #f
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs
+ (("rust-gl" ,rust-gl-0.14)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("rust-wayland-egl" ,rust-wayland-egl-0.28)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
+ (native-inputs (list pkg-config wayland))
+ (inputs (list mesa))
+ (home-page "https://github.com/timothee-haudebourg/khronos-egl")
+ (synopsis "Rust bindings for EGL")
+ (description "This package provides Rust bindings for EGL.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libdav1d-sys-0.6
(package
(name "rust-libdav1d-sys")
@@ -2402,8 +2820,42 @@ It's features include:
"This package builds and links to the dav1d AV1 decoder.")
(license license:bsd-2)))
+(define-public rust-libwebp-sys-0.9
+ (package
+ (name "rust-libwebp-sys")
+ (version "0.9.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libwebp-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0cv7hxzh9p66q5c4ay30bvffh0y66abwmr2nliscwrbigkgk1kal"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (delete-file-recursively "vendor")
+ ;; Force linking to our packaged libwebp.
+ (delete-file "build.rs")
+ (with-output-to-file "build.rs"
+ (lambda _
+ (format #t "fn main() {~@
+ println!(\"cargo:rustc-link-lib=webp\");~@
+ }~%")))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Test fails to find all webp functions.
+ #:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-glob" ,rust-glob-0.3))))
+ (inputs (list libwebp))
+ (home-page "https://github.com/NoXF/libwebp-sys")
+ (synopsis "Bindings to libwebp (bindgen, static linking)")
+ (description
+ "This package provides Bindings to libwebp (bindgen, static linking).")
+ (license license:expat)))
+
(define-public rust-libwebp-sys-0.4
(package
+ (inherit rust-libwebp-sys-0.9)
(name "rust-libwebp-sys")
(version "0.4.2")
(source (origin
@@ -2412,17 +2864,12 @@ It's features include:
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gvjaqhjpzdskx8x4q1lfgw24jnbjgkx4s6dxpkkg2d2ba4d37s3"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
"--skip=tests::poke")
#:cargo-inputs
- (("rust-cc" ,rust-cc-1))))
- (home-page "https://github.com/NoXF/libwebp-sys")
- (synopsis "Bindings to libwebp (bindgen, static linking)")
- (description "Bindings to libwebp (bindgen, static linking)")
- (license license:expat)))
+ (("rust-cc" ,rust-cc-1))))))
(define-public rust-line-drawing-0.7
(package
@@ -2628,14 +3075,14 @@ graphics and video games.")
(define-public rust-palette-0.7
(package
(name "rust-palette")
- (version "0.7.5")
+ (version "0.7.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "palette" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ynr6q7629gpw6pg8w1wrsl31sq48nxh1bg4awyrhhk6nyj27z7b"))
+ (base32 "1rmn02mv6cb112504qyg7pyfa83c08hxpk5sw7jc5v659hc73gsc"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
@@ -2702,17 +3149,18 @@ on correctness, flexibility and ease of use.")
(define-public rust-palette-derive-0.7
(package
(name "rust-palette-derive")
- (version "0.7.5")
+ (version "0.7.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "palette_derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0vcxjslri6f24zgv3n6ixhzb21a8z23fa6h42s8ss2zcvc10g2g8"))))
+ (base32 "0c0xhpk1nqyq4jr2m8xnka7w47vqzc7m2vq9ih8wxyjv02phs0zm"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-find-crate" ,rust-find-crate-0.6)
+ `(#:cargo-inputs (("rust-by-address" ,rust-by-address-1)
+ ("rust-find-crate" ,rust-find-crate-0.6)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-2))))
@@ -3166,14 +3614,14 @@ interactive applications.")
(define-public rust-ravif-0.11
(package
(name "rust-ravif")
- (version "0.11.6")
+ (version "0.11.11")
(source
(origin
(method url-fetch)
(uri (crate-uri "ravif" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1315abwxldavjxdl8dphab16fh8akw000hn406dbjnsi53b4kgl5"))
+ (base32 "1ij51acd3pkl3rr2ha3r3nc7pvg649m49bvyngpcv98fpnbgs4r4"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
@@ -3182,7 +3630,6 @@ interactive applications.")
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-avif-serialize" ,rust-avif-serialize-0.8)
- ("rust-bitstream-io" ,rust-bitstream-io-2)
("rust-imgref" ,rust-imgref-1)
("rust-loop9" ,rust-loop9-0.1)
("rust-quick-error" ,rust-quick-error-2)
@@ -3257,17 +3704,19 @@ in AVIF format (powers the @code{cavif} tool).")
(define-public rust-raw-window-handle-0.6
(package
(name "rust-raw-window-handle")
- (version "0.6.0")
+ (version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "raw-window-handle" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0i5mxxfcgqmvmzg4f0lcz68g4xfd9jybhrdkxd2v37qv1q587aa2"))))
+ (base32 "0ff5c648hncwx7hm2a8fqgqlbvbl4xawb6v3xxv9wkpjyrr5arr0"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))))
+ `(#:cargo-inputs (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
+ #:cargo-development-inputs
+ (("rust-static-assertions" ,rust-static-assertions-1))))
(home-page "https://github.com/rust-windowing/raw-window-handle")
(synopsis "Interoperability library for Rust Windowing applications")
(description
@@ -3310,18 +3759,18 @@ in AVIF format (powers the @code{cavif} tool).")
(package
(inherit rust-raw-window-handle-0.4)
(name "rust-raw-window-handle")
- (version "0.3.3")
+ (version "0.3.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "raw-window-handle" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "04c2wir7qq3g2b143yav52a1g5ack8ffqx2bpmrn9bc0dix1li0a"))))
+ "0xisj116xpaz1i2hci9jqfnccyixba1xryxl1gbdlj057la5b3z2"))))
(arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.4))))))
(define-public rust-raw-window-metal-0.3
(package
@@ -3386,7 +3835,7 @@ in AVIF format (powers the @code{cavif} tool).")
(define-public rust-rgb-0.8
(package
(name "rust-rgb")
- (version "0.8.37")
+ (version "0.8.50")
(source
(origin
(method url-fetch)
@@ -3394,11 +3843,12 @@ in AVIF format (powers the @code{cavif} tool).")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1n275hng7hmnzjavmdf24vqd86nm6bkg80nhr4zmgzb49c0aiah5"))))
+ "02ii3nsciska0sj23ggxaz8gj64ksw8nbpfjcwxlh037chb7sfap"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-defmt" ,rust-defmt-0.3)
("rust-serde" ,rust-serde-1))
#:cargo-development-inputs
(("rust-serde-json" ,rust-serde-json-1))))
@@ -3501,25 +3951,25 @@ using Rust.")
internally rust-sdl2.")
(license license:expat)))
-(define-public rust-smithay-client-toolkit-0.18
+(define-public rust-smithay-client-toolkit-0.19
(package
(name "rust-smithay-client-toolkit")
- (version "0.18.0")
+ (version "0.19.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "smithay-client-toolkit" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "03v0h71qzg5iw5nd2k15a50ic55a9wq6bc7l5dyczfm33yadkqv0"))))
+ (base32 "05h05hg4dn3v6br5jbdbs5nalk076a64s7fn6i01nqzby2hxwmrl"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Cut the dependency chain
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-2)
("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-calloop" ,rust-calloop-0.12)
- ("rust-calloop-wayland-source" ,rust-calloop-wayland-source-0.2)
+ ("rust-calloop" ,rust-calloop-0.13)
+ ("rust-calloop-wayland-source" ,rust-calloop-wayland-source-0.3)
("rust-cursor-icon" ,rust-cursor-icon-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
@@ -3531,8 +3981,8 @@ internally rust-sdl2.")
("rust-wayland-client" ,rust-wayland-client-0.31)
("rust-wayland-csd-frame" ,rust-wayland-csd-frame-0.3)
("rust-wayland-cursor" ,rust-wayland-cursor-0.31)
- ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)
- ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.32)
+ ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.3)
("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
("rust-xkbcommon" ,rust-xkbcommon-0.7)
("rust-xkeysym" ,rust-xkeysym-0.2))))
@@ -3542,6 +3992,42 @@ internally rust-sdl2.")
"This package provides a toolkit for making client Wayland applications.")
(license license:expat)))
+(define-public rust-smithay-client-toolkit-0.18
+ (package
+ (inherit rust-smithay-client-toolkit-0.19)
+ (name "rust-smithay-client-toolkit")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "smithay-client-toolkit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03v0h71qzg5iw5nd2k15a50ic55a9wq6bc7l5dyczfm33yadkqv0"))))
+ (arguments
+ `(#:skip-build? #t ; Cut the dependency chain
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-calloop" ,rust-calloop-0.12)
+ ("rust-calloop-wayland-source" ,rust-calloop-wayland-source-0.2)
+ ("rust-cursor-icon" ,rust-cursor-icon-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-csd-frame" ,rust-wayland-csd-frame-0.3)
+ ("rust-wayland-cursor" ,rust-wayland-cursor-0.31)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)
+ ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
+ ("rust-xkbcommon" ,rust-xkbcommon-0.7)
+ ("rust-xkeysym" ,rust-xkeysym-0.2))))))
+
(define-public rust-smithay-client-toolkit-0.16
(package
(inherit rust-smithay-client-toolkit-0.18)
@@ -3701,33 +4187,37 @@ applications.")
#:cargo-development-inputs
(("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16))))))
-(define-public rust-softbuffer-0.3
+(define-public rust-softbuffer-0.4
(package
(name "rust-softbuffer")
- (version "0.3.3")
+ (version "0.4.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "softbuffer" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0j199d8zg964324sppk1gnkq2361ivay7ykrlm71npg8v3ma4vc2"))))
+ (base32 "025v65wsfncn1wp571rr9vj3ghfgnb6y06ai0nnjqy9favfiq18q"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
+ `(#:cargo-test-flags '("--release" "--"
+ ;; Not all files included.
+ "--skip=src/lib.rs")
+ #:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
- ("rust-cocoa" ,rust-cocoa-0.25)
- ("rust-core-graphics" ,rust-core-graphics-0.23)
- ("rust-drm" ,rust-drm-0.10)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.2)
+ ("rust-core-graphics" ,rust-core-graphics-0.24)
+ ("rust-drm" ,rust-drm-0.12)
("rust-fastrand" ,rust-fastrand-2)
("rust-foreign-types" ,rust-foreign-types-0.5)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-log" ,rust-log-0.4)
("rust-memmap2" ,rust-memmap2-0.9)
- ("rust-objc" ,rust-objc-0.2)
- ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
- ("rust-redox-syscall" ,rust-redox-syscall-0.4)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-quartz-core" ,rust-objc2-quartz-core-0.2)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.6)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.5)
("rust-rustix" ,rust-rustix-0.38)
("rust-tiny-xlib" ,rust-tiny-xlib-0.2)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
@@ -3735,18 +4225,17 @@ applications.")
("rust-wayland-client" ,rust-wayland-client-0.31)
("rust-wayland-sys" ,rust-wayland-sys-0.31)
("rust-web-sys" ,rust-web-sys-0.3)
- ("rust-windows-sys" ,rust-windows-sys-0.48)
- ("rust-x11rb" ,rust-x11rb-0.12))
+ ("rust-windows-sys" ,rust-windows-sys-0.59)
+ ("rust-x11rb" ,rust-x11rb-0.13))
#:cargo-development-inputs
(("rust-colorous" ,rust-colorous-1)
("rust-criterion" ,rust-criterion-0.4)
- ("rust-image" ,rust-image-0.24)
- ("rust-instant" ,rust-instant-0.1)
+ ("rust-image" ,rust-image-0.25)
("rust-rayon" ,rust-rayon-1)
("rust-rustix" ,rust-rustix-0.38)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
- ("rust-winit" ,rust-winit-0.28)
- ("rust-winit-test" ,rust-winit-test-0.1))
+ ("rust-web-time" ,rust-web-time-1)
+ ("rust-winit" ,rust-winit-0.30))
#:phases
(modify-phases %standard-phases
(add-after 'configure 'add-absolute-library-references
@@ -3785,6 +4274,73 @@ applications.")
(description "Cross-platform software buffer.")
(license (list license:expat license:asl2.0))))
+(define-public rust-softbuffer-0.3
+ (package
+ (inherit rust-softbuffer-0.4)
+ (name "rust-softbuffer")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "softbuffer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j199d8zg964324sppk1gnkq2361ivay7ykrlm71npg8v3ma4vc2"))))
+ (arguments
+ `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
+ ("rust-cocoa" ,rust-cocoa-0.25)
+ ("rust-core-graphics" ,rust-core-graphics-0.23)
+ ("rust-drm" ,rust-drm-0.10)
+ ("rust-fastrand" ,rust-fastrand-2)
+ ("rust-foreign-types" ,rust-foreign-types-0.5)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.4)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-tiny-xlib" ,rust-tiny-xlib-0.2)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.31)
+ ("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-windows-sys" ,rust-windows-sys-0.48)
+ ("rust-x11rb" ,rust-x11rb-0.12))
+ #:cargo-development-inputs
+ (("rust-colorous" ,rust-colorous-1)
+ ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-image" ,rust-image-0.24)
+ ("rust-instant" ,rust-instant-0.1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-winit" ,rust-winit-0.28)
+ ("rust-winit-test" ,rust-winit-test-0.1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'add-absolute-library-references
+ (lambda* (#:key inputs vendor-dir #:allow-other-keys)
+ (substitute* (find-files vendor-dir "\\.rs$")
+ (("libX11\\.so")
+ (search-input-file inputs "lib/libX11.so"))
+ (("libX11-xcb\\.so")
+ (search-input-file inputs "lib/libX11-xcb.so"))
+ ;; Lots of libraries from rust-x11-dl and others.
+ (("libX[[:alpha:]]*\\.so" all)
+ (search-input-file inputs (string-append "lib/" all))))))
+ (add-before 'check 'pre-check
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ ;; Most tests require an X server.
+ (let ((xvfb (search-input-file (or native-inputs inputs)
+ "bin/Xvfb"))
+ (display ":1"))
+ (setenv "DISPLAY" display)
+ (system (string-append xvfb " " display " &"))))))))))
+
(define-public rust-tiff-0.9
(package
(name "rust-tiff")
@@ -3951,14 +4507,14 @@ applications.")
(define-public rust-wayland-backend-0.3
(package
(name "rust-wayland-backend")
- (version "0.3.3")
+ (version "0.3.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-backend" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0h4s8nfrl1q8xys1409lfwkb70cdh81c0pvzr1s69mwhrrhzll4x"))))
+ (base32 "1xhnh0mn4cv0wmq3zcm0iic2sbhsz4qdra6kb58x8l51sz73ar85"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; use of undeclared crate or module `wayland_scanner`
@@ -3966,6 +4522,7 @@ applications.")
("rust-downcast-rs" ,rust-downcast-rs-1)
("rust-log" ,rust-log-0.4)
("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.6)
("rust-rustix" ,rust-rustix-0.38)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-smallvec" ,rust-smallvec-1)
@@ -4009,14 +4566,14 @@ protocol.")
(define-public rust-wayland-client-0.31
(package
(name "rust-wayland-client")
- (version "0.31.2")
+ (version "0.31.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-client" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "07rzml07li3bi4nnqx4i2rfj3xkifzxp1d6cd1kflb2wjgp9dyw2"))))
+ (base32 "105j23dj1k36rpvv3nk5v3lm99gs029k3k429kbnzxv9zk9ljqmn"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; use of undeclared crate or module `wayland_protocols`
@@ -4284,14 +4841,14 @@ and wayland-server.")
(define-public rust-wayland-cursor-0.31
(package
(name "rust-wayland-cursor")
- (version "0.31.1")
+ (version "0.31.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-cursor" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1fii68l6x235b867q96yx1xqkl16azkf5i841ldd24yxd2l5zkki"))))
+ (base32 "0k4yijr0rxlqw15clzbh6a3jd760l1xz3zg0gxg07c7xmb1qpc1j"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-rustix" ,rust-rustix-0.38)
@@ -4386,17 +4943,17 @@ initializing an OpenGL or Vulkan context.")
`(#:cargo-inputs (("rust-wayland-client" ,rust-wayland-client-0.28)
("rust-wayland-sys" ,rust-wayland-sys-0.28))))))
-(define-public rust-wayland-protocols-0.31
+(define-public rust-wayland-protocols-0.32
(package
(name "rust-wayland-protocols")
- (version "0.31.2")
+ (version "0.32.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-protocols" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1x310l1p6p3p3l76nl1l2yava9408dy77s605917zadlp1jz70cg"))))
+ (base32 "13pmq788d2w9c7sqpjjxi1344bzq1g1ja4vlaa4rlvjfgkjsvl3w"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
@@ -4411,6 +4968,25 @@ initializing an OpenGL or Vulkan context.")
extensions.")
(license license:expat)))
+(define-public rust-wayland-protocols-0.31
+ (package
+ (inherit rust-wayland-protocols-0.32)
+ (name "rust-wayland-protocols")
+ (version "0.31.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-protocols" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x310l1p6p3p3l76nl1l2yava9408dy77s605917zadlp1jz70cg"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
+ ("rust-wayland-server" ,rust-wayland-server-0.31))))))
+
(define-public rust-wayland-protocols-0.30
(package
(inherit rust-wayland-protocols-0.31)
@@ -4519,47 +5095,68 @@ extensions.")
("rust-wayland-sys" ,rust-wayland-sys-0.21)
("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
-(define-public rust-wayland-protocols-plasma-0.2
+(define-public rust-wayland-protocols-plasma-0.3
(package
(name "rust-wayland-protocols-plasma")
- (version "0.2.0")
+ (version "0.3.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-protocols-plasma" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0yglbxd4ka8284k0j0ssh9hf6wd9qp2n0s2qrsdymyaz258kb013"))))
+ (base32 "1g8jxv1k3zdbcqmhr4fpghgibp2940hz45sm2pmwfs7f92swlccv"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-wayland-backend" ,rust-wayland-backend-0.3)
("rust-wayland-client" ,rust-wayland-client-0.31)
- ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.32)
("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
("rust-wayland-server" ,rust-wayland-server-0.31))))
(home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generated API for the Plasma wayland protocol extensions")
- (description "Generated API for the Plasma wayland protocol extensions.")
+ (description "This package provides a generated API for the Plasma wayland
+protocol extensions.")
(license license:expat)))
-(define-public rust-wayland-protocols-wlr-0.2
+(define-public rust-wayland-protocols-plasma-0.2
(package
- (name "rust-wayland-protocols-wlr")
+ (inherit rust-wayland-protocols-plasma-0.3)
+ (name "rust-wayland-protocols-plasma")
(version "0.2.0")
(source
(origin
(method url-fetch)
+ (uri (crate-uri "wayland-protocols-plasma" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yglbxd4ka8284k0j0ssh9hf6wd9qp2n0s2qrsdymyaz258kb013"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
+ ("rust-wayland-server" ,rust-wayland-server-0.31))))))
+
+(define-public rust-wayland-protocols-wlr-0.3
+ (package
+ (name "rust-wayland-protocols-wlr")
+ (version "0.3.5")
+ (source
+ (origin
+ (method url-fetch)
(uri (crate-uri "wayland-protocols-wlr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1mjww9psk2nc5hm2q4s3qas30rbzfg1sb6qgw518fbbcdfvn27xd"))))
+ (base32 "08j0xfpfqv6kzbfzmdv6crfzalxbxc2n5m9hc4qkqg4jrpv14bkq"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-wayland-backend" ,rust-wayland-backend-0.3)
("rust-wayland-client" ,rust-wayland-client-0.31)
- ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.32)
("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
("rust-wayland-server" ,rust-wayland-server-0.31))))
(home-page "https://github.com/smithay/wayland-rs")
@@ -4568,6 +5165,26 @@ extensions.")
protocol extensions.")
(license license:expat)))
+(define-public rust-wayland-protocols-wlr-0.2
+ (package
+ (inherit rust-wayland-protocols-wlr-0.3)
+ (name "rust-wayland-protocols-wlr")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-protocols-wlr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mjww9psk2nc5hm2q4s3qas30rbzfg1sb6qgw518fbbcdfvn27xd"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)
+ ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)
+ ("rust-wayland-server" ,rust-wayland-server-0.31))))))
+
(define-public rust-wayland-protocols-wlr-0.1
(package
(inherit rust-wayland-protocols-wlr-0.2)
@@ -4593,14 +5210,14 @@ protocol extensions.")
(define-public rust-wayland-scanner-0.31
(package
(name "rust-wayland-scanner")
- (version "0.31.1")
+ (version "0.31.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-scanner" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "10y2nq076x4zml8wc5bw75560rwvrsfpi35mdyc02w1854lsdcv3"))))
+ (base32 "1hv16shy6j32hi9i0r54pyk5pw3q7qfpkffmwchi3z75n80j0zsr"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
@@ -4608,7 +5225,7 @@ protocol extensions.")
"--skip=interfaces::tests::interface_gen"
"--skip=server_gen::tests::server_gen")
#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
- ("rust-quick-xml" ,rust-quick-xml-0.31)
+ ("rust-quick-xml" ,rust-quick-xml-0.36)
("rust-quote" ,rust-quote-1))
#:cargo-development-inputs (("rust-similar" ,rust-similar-2))))
(home-page "https://github.com/smithay/wayland-rs")
@@ -4716,14 +5333,14 @@ wayland-client crate for usable bindings.")
(define-public rust-wayland-server-0.31
(package
(name "rust-wayland-server")
- (version "0.31.1")
+ (version "0.31.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-server" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1dzxfabykj156abnbx2i8j8gvmgb9yys9mfj9sx29g45qbay9rh0"))))
+ (base32 "1bc6nxzw9h9az22b42sd4m960mq2nja9dl5lkq8xnaiaf76355f8"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
@@ -4870,14 +5487,14 @@ the wayland protocol, server side.")
(define-public rust-wayland-sys-0.31
(package
(name "rust-wayland-sys")
- (version "0.31.1")
+ (version "0.31.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1bxpwamgagpxa8p9m798gd3g6rwj2m4sbdvc49zx05jjzzmci80m"))))
+ (base32 "02cyl94ydazgjdjf7asm2phni8h62j4cg4pwr6sy7lwfiq6sra7g"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.5)
@@ -5119,8 +5736,32 @@ with wayrs-client.")
from xml files.")
(license license:expat)))
+(define-public rust-webp-0.3
+ (package
+ (name "rust-webp")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "webp" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "169dihaimcr3ih3fqg8z3n47aqd9rhb3vhw4hk0g0npva4pialwg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Test fails to find all webp functions.
+ #:cargo-inputs (("rust-image" ,rust-image-0.25)
+ ("rust-libwebp-sys" ,rust-libwebp-sys-0.9))
+ #:cargo-development-inputs (("rust-image" ,rust-image-0.25))))
+ (inputs (list libwebp))
+ (home-page "https://github.com/jaredforth/webp")
+ (synopsis "WebP conversion library")
+ (description "This package provides a @code{WebP} conversion library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-webp-0.2
(package
+ (inherit rust-webp-0.3)
(name "rust-webp")
(version "0.2.2")
(source (origin
@@ -5129,20 +5770,97 @@ from xml files.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bhw6xp7vg4rx7flxgzvdzk21q2dx1bsn06h0yj7jq0n3y12y0ng"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-image" ,rust-image-0.24)
("rust-libwebp-sys" ,rust-libwebp-sys-0.4))
#:cargo-development-inputs
- (("rust-image" ,rust-image-0.24))))
- (home-page "https://github.com/jaredforth/webp")
- (synopsis "WebP conversion library")
- (description "This package procides a WebP conversion library.")
- (license (list license:expat license:asl2.0))))
+ (("rust-image" ,rust-image-0.24))))))
+
+(define-public rust-winit-0.30
+ (package
+ (name "rust-winit")
+ (version "0.30.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winit" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rrczmdykbn43bkl3jvi2yg374rwpnf9h2qz855f0xqh3xmfgs8b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.8)
+ ("rust-android-activity" ,rust-android-activity-0.6)
+ ("rust-atomic-waker" ,rust-atomic-waker-1)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-block2" ,rust-block2-0.5)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-calloop" ,rust-calloop-0.13)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.2)
+ ("rust-concurrent-queue" ,rust-concurrent-queue-2)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics" ,rust-core-graphics-0.23)
+ ("rust-cursor-icon" ,rust-cursor-icon-1)
+ ("rust-dpi" ,rust-dpi-0.1)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memmap2" ,rust-memmap2-0.9)
+ ("rust-ndk" ,rust-ndk-0.9)
+ ("rust-objc2" ,rust-objc2-0.5)
+ ("rust-objc2-app-kit" ,rust-objc2-app-kit-0.2)
+ ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)
+ ("rust-objc2-ui-kit" ,rust-objc2-ui-kit-0.2)
+ ("rust-orbclient" ,rust-orbclient-0.3)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-pin-project" ,rust-pin-project-1)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.6)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.4)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.4)
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.10)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19)
+ ("rust-smol-str" ,rust-smol-str-0.2)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.3)
+ ("rust-wayland-client" ,rust-wayland-client-0.31)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.32)
+ ("rust-wayland-protocols-plasma" ,rust-wayland-protocols-plasma-0.3)
+ ("rust-web-sys" ,rust-web-sys-0.3)
+ ("rust-web-time" ,rust-web-time-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
+ ("rust-x11-dl" ,rust-x11-dl-2)
+ ("rust-x11rb" ,rust-x11rb-0.13)
+ ("rust-xkbcommon-dl" ,rust-xkbcommon-dl-0.4))
+ #:cargo-development-inputs
+ (("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1)
+ ("rust-image" ,rust-image-0.25)
+ ("rust-softbuffer" ,rust-softbuffer-0.4)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+ ("rust-tracing-web" ,rust-tracing-web-0.1))))
+ (home-page "https://github.com/rust-windowing/winit")
+ (synopsis "Window creation library")
+ (description
+ "Winit is a window creation and management library. It can create
+windows and lets you handle events (for example: the window being
+resized, a key being pressed, a mouse movement, etc.) produced by
+window.
+
+Winit is designed to be a low-level brick in a hierarchy of libraries.
+Consequently, in order to show something on the window you need to use
+the platform-specific getters provided by winit, or another library.")
+ (license license:asl2.0)))
(define-public rust-winit-0.29
(package
+ (inherit rust-winit-0.30)
(name "rust-winit")
(version "0.29.10")
(source
@@ -5152,7 +5870,6 @@ from xml files.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1kzzl8m68sq6njdr6n1b90ppfg1pfhkcq48iqxpfdshyjh8lz0jc"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ahash" ,rust-ahash-0.8)
@@ -5204,19 +5921,7 @@ from xml files.")
("rust-image" ,rust-image-0.24)
("rust-simple-logger" ,rust-simple-logger-4)
("rust-softbuffer" ,rust-softbuffer-0.3)
- ("rust-web-sys" ,rust-web-sys-0.3))))
- (home-page "https://github.com/rust-windowing/winit")
- (synopsis "Window creation library")
- (description
- "Winit is a window creation and management library. It can create
-windows and lets you handle events (for example: the window being
-resized, a key being pressed, a mouse movement, etc.) produced by
-window.
-
-Winit is designed to be a low-level brick in a hierarchy of libraries.
-Consequently, in order to show something on the window you need to use
-the platform-specific getters provided by winit, or another library.")
- (license license:asl2.0)))
+ ("rust-web-sys" ,rust-web-sys-0.3))))))
(define-public rust-winit-0.28
(package
@@ -5525,14 +6230,14 @@ the platform-specific getters provided by winit, or another library.")
(define-public rust-x11rb-0.13
(package
(name "rust-x11rb")
- (version "0.13.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "x11rb" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06lzpmb67sfw37m0i9zz786hx6fklmykd9j3689blk3yijnmxwpq"))))
+ (base32 "04jyfm0xmc538v09pzsyr2w801yadsgvyl2p0p76hzzffg5gz4ax"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1)
@@ -5650,14 +6355,14 @@ the platform-specific getters provided by winit, or another library.")
(define-public rust-x11rb-protocol-0.13
(package
(name "rust-x11rb-protocol")
- (version "0.13.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "x11rb-protocol" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0d3cc2dr5fcx8asgrm31d7lrxpnbqi6kl5v3r71gx7xxp3272gp6"))))
+ (base32 "0gfbxf2k7kbk577j3rjhfx7hm70kmwln6da7xyc4l2za0d2pq47c"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-serde" ,rust-serde-1))
@@ -5720,20 +6425,23 @@ the platform-specific getters provided by winit, or another library.")
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3))))))
-(define-public rust-x11-clipboard-0.8
+(define-public rust-x11-clipboard-0.9
(package
(name "rust-x11-clipboard")
- (version "0.8.1")
+ (version "0.9.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "x11-clipboard" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml"))))
+ (base32 "18rmsm0lrcc4hy2wqs7gn90czv59sv5bj07bbf76nfbysyrp8bb6"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12))
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=tests::should_work_but_does_not")
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-x11rb" ,rust-x11rb-0.13))
#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -5750,6 +6458,31 @@ the platform-specific getters provided by winit, or another library.")
(description "This package provides x11 clipboard support for Rust.")
(license license:expat)))
+(define-public rust-x11-clipboard-0.8
+ (package
+ (inherit rust-x11-clipboard-0.9)
+ (name "rust-x11-clipboard")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11-clipboard" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml"))))
+ (arguments
+ `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ ;; Most tests require an X server.
+ (let ((xvfb (search-input-file (or native-inputs inputs)
+ "bin/Xvfb"))
+ (display ":1"))
+ (setenv "DISPLAY" display)
+ (system (string-append xvfb " " display " &"))))))))))
+
(define-public rust-x11-clipboard-0.7
(package
(inherit rust-x11-clipboard-0.8)
@@ -5835,14 +6568,14 @@ for @code{libxkbcommon}.")
(define-public rust-xkbcommon-dl-0.4
(package
(name "rust-xkbcommon-dl")
- (version "0.4.1")
+ (version "0.4.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "xkbcommon-dl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "16c6kmgqbffdsnw5w9q97p55d824ss3fqzif2lrh33648j2nc939"))))
+ (base32 "1iai0r3b5skd9vbr8z5b0qixiz8jblzfm778ddm8ba596a0dwffh"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
@@ -5867,6 +6600,61 @@ for @code{libxkbcommon}.")
"Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.")
(license license:expat)))
+(define-public rust-xkbcommon-sys-1
+ (package
+ (name "rust-xkbcommon-sys")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkbcommon-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "142ww452qq0q47fmc4khzsd0fbwmb71fjl7pci573zf83fvdpxsn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.63)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'configure 'add-absolute-library-references
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "XKBCOMMON_LIB_DIR"
+ (assoc-ref inputs "libxkbcommon")))))))
+ (native-inputs (list pkg-config))
+ (inputs (list clang libxkbcommon-1.5))
+ (home-page "https://github.com/meh/rust-xkbcommon-sys")
+ (synopsis "Bindings to libxkbcommon")
+ (description "This package provides bindings to libxkbcommon.")
+ (license license:wtfpl2)))
+
+(define-public rust-xkb-0.3
+ (package
+ (name "rust-xkb")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-xcb" ,rust-xcb-1)
+ ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list clang libxkbcommon-1.5 mesa))
+ (home-page "https://github.com/meh/rust-xkb")
+ (synopsis "Rusty wrapper around libxkbcommon")
+ (description "This package provides Rusty wrapper around libxkbcommon.")
+ (license license:wtfpl2)))
+
(define-public rust-xkeysym-0.2
(package
(name "rust-xkeysym")
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9c01ce3142..de15413064 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Sergio Pastor Pérez <sergio.pastorperez@outlook.es>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -40,8 +41,40 @@
;;;
;;; Please: Try to add new module packages in alphabetic order.
;;;
+
+(define-public rust-atk-sys-0.18
+ (package
+ (name "rust-atk-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0280k0xw21n3zzri8ynk5mxy7v1mk9d506l962lhngp3j1yhn7i5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=cross_validate_constants_with_c"
+ "--skip=cross_validate_layout_with_c")
+ #: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 at-spi2-core glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libatk-1")
+ (description "This package provides FFI bindings to libatk-1.")
+ (license license:expat)))
+
(define-public rust-atk-sys-0.14
(package
+ (inherit rust-atk-sys-0.18)
(name "rust-atk-sys")
(version "0.14.0")
(source
@@ -51,7 +84,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1sl3pqfb2jaf9kcfxj9k43d7iv8gcl5zgdgn3j5vp13w2mqgdp5s"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; missing files
#:cargo-inputs
@@ -61,14 +93,7 @@
("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 at-spi2-core glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libatk-1")
- (description "FFI bindings to libatk-1")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-atk-sys-0.10
(package
@@ -172,8 +197,59 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-cairo-rs-0.20
+ (package
+ (name "rust-cairo-rs")
+ (version "0.20.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0s9yafifi3pwf7jck0bhgwr4rlg483sqhlr32fb8q44lghafm878"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.20)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.37)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-float-eq" ,rust-float-eq-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list cairo))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Cairo library")
+ (description "This package provides Rust bindings for the Cairo library.")
+ (license license:expat)))
+
+(define-public rust-cairo-rs-0.19
+ (package
+ (inherit rust-cairo-rs-0.20)
+ (name "rust-cairo-rs")
+ (version "0.19.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qp5rixgipdj9d8yd5458hzfxam1rgpzcxi90vq6q0v91r6jmb5j"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.35)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-float-eq" ,rust-float-eq-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-cairo-rs-0.18
(package
+ (inherit rust-cairo-rs-0.19)
(name "rust-cairo-rs")
(version "0.18.5")
(source
@@ -183,7 +259,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1qjfkcq3mrh3p01nnn71dy3kn99g21xx3j8xcdvzn8ll2pq6x8lc"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
@@ -194,13 +269,7 @@
("rust-once-cell" ,rust-once-cell-1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-float-eq" ,rust-float-eq-1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs (list pkg-config))
- (inputs (list cairo))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Cairo library")
- (description "Rust bindings for the Cairo library.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-cairo-rs-0.17
(package
@@ -328,23 +397,23 @@
(("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-cairo-sys-rs-0.18
+(define-public rust-cairo-sys-rs-0.20
(package
(name "rust-cairo-sys-rs")
- (version "0.18.2")
+ (version "0.20.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "cairo-sys-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38"))))
+ (base32 "13x85l52nl2izmdb48zzpkhhh1a4dsgqlp8gys4n1f5r2kwr10j2"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-6)
- ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-system-deps" ,rust-system-deps-7)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
("rust-x11" ,rust-x11-2))))
(native-inputs (list pkg-config))
(inputs (list cairo))
@@ -353,6 +422,44 @@
(description "This package provides FFI bindings to libcairo.")
(license license:expat)))
+(define-public rust-cairo-sys-rs-0.19
+ (package
+ (inherit rust-cairo-sys-rs-0.20)
+ (name "rust-cairo-sys-rs")
+ (version "0.19.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r0yp0lph77lm4blrn6fvdmz2i3r8ibkkjg6nmwbvvv4jq8v6fzx"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-windows-sys" ,rust-windows-sys-0.52)
+ ("rust-x11" ,rust-x11-2))))))
+
+(define-public rust-cairo-sys-rs-0.18
+ (package
+ (inherit rust-cairo-sys-rs-0.19)
+ (name "rust-cairo-sys-rs")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11" ,rust-x11-2))))))
+
(define-public rust-cairo-sys-rs-0.17
(package
(inherit rust-cairo-sys-rs-0.18)
@@ -551,8 +658,56 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-0.20
+ (package
+ (name "rust-gdk-pixbuf")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "068vj60x1hbw0anhjvg2id3sr96d202wp18a4zc3f8z9m5qr1hn4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.20)
+ ("rust-gio" ,rust-gio-0.20)
+ ("rust-glib" ,rust-glib-0.20)
+ ("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 gdk-pixbuf))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GdkPixbuf library")
+ (description
+ "This package provides Rust bindings for the @code{GdkPixbuf} library.")
+ (license license:expat)))
+
+(define-public rust-gdk-pixbuf-0.19
+ (package
+ (inherit rust-gdk-pixbuf-0.20)
+ (name "rust-gdk-pixbuf")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16c6kznkh3vi82843ays8awdm37fwjd1fblv6g3h64824shsnkk2"))))
+ (arguments
+ `(#:cargo-inputs (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.19)
+ ("rust-gio" ,rust-gio-0.19)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
(define-public rust-gdk-pixbuf-0.18
(package
+ (inherit rust-gdk-pixbuf-0.19)
(name "rust-gdk-pixbuf")
(version "0.18.5")
(source
@@ -562,7 +717,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1v7svvl0g7zybndmis5inaqqgi1mvcc6s1n8rkb31f5zn3qzbqah"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
@@ -571,13 +725,7 @@
("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))))
- (native-inputs (list pkg-config))
- (inputs (list glib gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GdkPixbuf library")
- (description "Rust bindings for the @code{GdkPixbuf} library.")
- (license license:expat)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-gdk-pixbuf-0.17
(package
@@ -703,8 +851,58 @@
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-sys-0.20
+ (package
+ (name "rust-gdk-pixbuf-sys")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gdz43p4zsck7w6isin0zi3ydacg0c3l6yyqzgrza7drb6q46wv8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.20)
+ ("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-7))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf gtk+))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgdk_pixbuf-2.0")
+ (description
+ "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
+ (license license:expat)))
+
+(define-public rust-gdk-pixbuf-sys-0.19
+ (package
+ (inherit rust-gdk-pixbuf-sys-0.20)
+ (name "rust-gdk-pixbuf-sys")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0y93g24mdgskvyhva46xv3qyb1cvj5xpi0yqnh7cb31wz2j0byjf"))))
+ (arguments
+ `(#:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("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-gdk-pixbuf-sys-0.18
(package
+ (inherit rust-gdk-pixbuf-sys-0.19)
(name "rust-gdk-pixbuf-sys")
(version "0.18.0")
(source
@@ -714,7 +912,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1xya543c4ffd2n7aiwwrdxsyc9casdbasafi6ixcknafckm3k61z"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gio-sys" ,rust-gio-sys-0.18)
@@ -724,13 +921,7 @@
("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 gdk-pixbuf gtk+))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgdk_pixbuf-2.0")
- (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gdk-pixbuf-sys-0.17
(package
@@ -854,8 +1045,43 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk-sys-0.18
+ (package
+ (name "rust-gdk-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1whznljhqqni5sk1qwazkc75ik5gmc1zh8590cbswv9qndn8bzri"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags (list "--release" "--"
+ "--skip=cross_validate_constants_with_c")
+ #: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 gtk+ glib pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgdk-3")
+ (description "This package provides FFI bindings to libgdk-3.")
+ (license license:expat)))
+
(define-public rust-gdk-sys-0.14
(package
+ (inherit rust-gdk-sys-0.18)
(name "rust-gdk-sys")
(version "0.14.0")
(source
@@ -865,10 +1091,8 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07hz3gg039sy7iffy2w5srxzsnqf15i3ryxkqfd995k67lyin28f"))))
- (build-system cargo-build-system)
(arguments
- `(#:skip-build?
- #t
+ `(#: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)
@@ -881,13 +1105,7 @@
("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)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gdk-sys-0.10
(package
@@ -945,8 +1163,39 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk4-0.8
+ (package
+ (name "rust-gdk4")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01qak43mrlszsy9cfsmqk1ql4228m2rylbg514g3fsidsjfmq9nv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.19)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.8)
+ ("rust-gio" ,rust-gio-0.19)
+ ("rust-gl" ,rust-gl-0.14)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.19))
+ #: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-0.7
(package
+ (inherit rust-gdk4-0.8)
(name "rust-gdk4")
(version "0.7.3")
(source
@@ -956,7 +1205,6 @@
(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)
@@ -968,16 +1216,42 @@
("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))))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
+(define-public rust-gdk4-sys-0.8
+ (package
+ (name "rust-gdk4-sys")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pb6vklx9ik7jx9cmrw2vywlx9ssqhll8q77ky8p8w56x2s8yhf9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.19)
+ ("rust-gio-sys" ,rust-gio-sys-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.19)
+ ("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 gtk))
+ (inputs (list cairo gdk-pixbuf glib gtk pango))
(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.")
+ (synopsis "FFI bindings of GDK 4")
+ (description "This package provides FFI bindings of GDK 4.")
(license license:expat)))
(define-public rust-gdk4-sys-0.7
(package
+ (inherit rust-gdk4-sys-0.8)
(name "rust-gdk4-sys")
(version "0.7.2")
(source
@@ -987,7 +1261,6 @@
(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)
@@ -1000,16 +1273,198 @@
("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))))))
+
+(define-public rust-gdk4-wayland-0.7
+ (package
+ (name "rust-gdk4-wayland")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-wayland" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04zkspjs1r6l4gj241p9xm2zmp91phm1khakw5jvsm8yy4pi1f8d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-wayland-sys" ,rust-gdk4-wayland-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.1)
+ ("rust-wayland-client" ,rust-wayland-client-0.30)
+ ("rust-xkb" ,rust-xkb-0.3))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK 4 Wayland library")
+ (description
+ "This package provides Rust bindings of the GDK 4 Wayland library.")
+ (license license:expat)))
+
+(define-public rust-gdk4-wayland-sys-0.7
+ (package
+ (name "rust-gdk4-wayland-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "092nbn4gk82kbdvji2qnqy181l4pf5i8961bb8nj3q3a4nz5k0fl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#: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 cairo gdk-pixbuf glib gtk pango))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 Wayland")
+ (description "This package provides FFI bindings of GDK4 Wayland.")
+ (license license:expat)))
+
+(define-public rust-gdk4-x11-0.7
+ (package
+ (name "rust-gdk4-x11")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l54c1m0gsdm07drvy171a0i97ic2kygmzf3fjg4da0yxbwbpj98"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-x11-sys" ,rust-gdk4-x11-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK4 X11 library")
+ (description
+ "This package provides Rust bindings of the GDK4 X11 library.")
+ (license license:expat)))
+
+(define-public rust-gdk4-x11-sys-0.7
+ (package
+ (name "rust-gdk4-x11-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09gill32x6qy4s55xjckqvqrfxw4jfjrlcpmd4iijn076w4igpm3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory
+ `(#:tests? #f
+ #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("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 gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 X11")
+ (description "This package provides FFI bindings of GDK4 X11.")
+ (license license:expat)))
+
+(define-public rust-gio-0.20
+ (package
+ (name "rust-gio")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g6l7a1n63a8myjpcv10mn214w0ypijf6rq812b3wn09zgl9kndq"))))
+ (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.20)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("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-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib))
(home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings of GDK 4")
- (description "This package provides FFI bindings of GDK 4.")
+ (synopsis "Rust bindings for the Gio library")
+ (description "This package provides Rust bindings for the Gio library.")
(license license:expat)))
+(define-public rust-gio-0.19
+ (package
+ (inherit rust-gio-0.20)
+ (name "rust-gio")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1znz5ngfvv3gbndf6lzz3hs27hlb8ysls4axlfccrzvkscbz2jac"))))
+ (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.19)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("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-3))))))
+
(define-public rust-gio-0.18
(package
+ (inherit rust-gio-0.19)
(name "rust-gio")
(version "0.18.4")
(source
@@ -1019,7 +1474,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wsc6mnx057s4ailacg99dwgna38dbqli5x7a6y9rdw75x9qzz6l"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -1041,13 +1495,7 @@
(("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)))
+ ("rust-serial-test" ,rust-serial-test-2))))))
(define-public rust-gio-0.17
(package
@@ -1208,8 +1656,81 @@
("rust-serial-test" ,rust-serial-test-0.1)
("rust-serial-test-derive" ,rust-serial-test-derive-0.1))))))
+(define-public rust-gio-sys-0.20
+ (package
+ (name "rust-gio-sys")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ya7i4m3jirrhryy6h8x5kgp3fxn6m4111009ws5aiz0ilvgqzjg"))))
+ (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.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-7)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
+ #: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.19
+ (package
+ (inherit rust-gio-sys-0.20)
+ (name "rust-gio-sys")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vylsskpipfwl7mvffp1s0227d0k5amyhd32dfnp3mhl8yx47mrc"))))
+ (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.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))
+ #: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.18
(package
+ (inherit rust-gio-sys-0.19)
(name "rust-gio-sys")
(version "0.18.1")
(source
@@ -1219,7 +1740,6 @@
(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.
@@ -1242,13 +1762,7 @@
;; 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)))
+ (getenv "C_INCLUDE_PATH")))))))))))
(define-public rust-gio-sys-0.17
(package
@@ -1403,8 +1917,89 @@
(description "File format checker in Rust.")
(license license:expat)))
+(define-public rust-glib-0.20
+ (package
+ (name "rust-glib")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zw5xd2772vakf95pslvzmmnzg6f9wnj9vkcpkyzj2v5sg31xkxd"))))
+ (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.20)
+ ("rust-glib-macros" ,rust-glib-macros-0.20)
+ ("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("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 "This package provides Rust bindings for the GLib library.")
+ (license license:expat)))
+
+(define-public rust-glib-0.19
+ (package
+ (inherit rust-glib-0.20)
+ (name "rust-glib")
+ (version "0.19.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i2ak1scmzfmfxbm2dr146jl4y9mafxf1ald05jr8iimy5wh4r9r"))))
+ (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.19)
+ ("rust-glib-macros" ,rust-glib-macros-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("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))))))
+
(define-public rust-glib-0.18
(package
+ (inherit rust-glib-0.19)
(name "rust-glib")
(version "0.18.5")
(source
@@ -1414,7 +2009,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1r8fw0627nmn19bgk3xpmcfngx3wkn7mcpq5a8ma3risx3valg93"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -1440,13 +2034,7 @@
(("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)))
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
(define-public rust-glib-0.17
(package
@@ -1609,8 +2197,58 @@
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-glib-macros-0.20
+ (package
+ (name "rust-glib-macros")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mqwhk5qnd9vbvsb335n1j6m5pbqnfycm7b3jxhhlwnm1kvqigx6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-3)
+ ("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.20)
+ ("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
+ "This package provides Rust bindings for the GLib library, proc macros crate.")
+ (license license:expat)))
+
+(define-public rust-glib-macros-0.19
+ (package
+ (inherit rust-glib-macros-0.20)
+ (name "rust-glib-macros")
+ (version "0.19.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mzsh8jkg8vldvgvr9gsaidvn2myn5cbdn8a6m8rgbhlg8kv0aa4"))))
+ (arguments
+ `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-3)
+ ("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.19)
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
+
(define-public rust-glib-macros-0.18
(package
+ (inherit rust-glib-macros-0.19)
(name "rust-glib-macros")
(version "0.18.5")
(source
@@ -1620,7 +2258,6 @@
(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)
@@ -1632,13 +2269,7 @@
#: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)))
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
(define-public rust-glib-macros-0.17
(package
@@ -1739,8 +2370,57 @@
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-glib-sys-0.20
+ (package
+ (name "rust-glib-sys")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0avm6dr3q2xvlad7fcbq7an7qasaqf3k480dn19s99ngi1fwm7jz"))))
+ (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-7))
+ #: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.19
+ (package
+ (inherit rust-glib-sys-0.20)
+ (name "rust-glib-sys")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19f4q8x77vd7c1d9ikw492yskq5kpd7k04qb8xnh1c427a6w2baw"))))
+ (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.18
(package
+ (inherit rust-glib-sys-0.19)
(name "rust-glib-sys")
(version "0.18.1")
(source
@@ -1750,7 +2430,6 @@
(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.
@@ -1760,13 +2439,7 @@
("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)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-glib-sys-0.17
(package
@@ -1871,8 +2544,53 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gobject-sys-0.20
+ (package
+ (name "rust-gobject-sys")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gobject-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qk4d5ifybf5cnsv8bss85afz7vpxlqffawxq87cyy44zz979im4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-7))
+ #: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.19
+ (package
+ (inherit rust-gobject-sys-0.20)
+ (name "rust-gobject-sys")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gobject-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17lb7dfbpcg8zchwlfbc08kckwf0a7d9n5ly3pyic13f5ljpws9f"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("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.18
(package
+ (inherit rust-gobject-sys-0.19)
(name "rust-gobject-sys")
(version "0.18.0")
(source
@@ -1882,7 +2600,6 @@
(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
@@ -1891,13 +2608,7 @@
("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)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gobject-sys-0.17
(package
@@ -2015,8 +2726,34 @@
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-graphene-rs-0.19
+ (package
+ (name "rust-graphene-rs")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "graphene-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1krblj6kbnixgkmz2b3494jmlm2xlv3qz5qm585frn943l1qdyzm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.19)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.19)
+ ("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-rs-0.18
(package
+ (inherit rust-graphene-rs-0.19)
(name "rust-graphene-rs")
(version "0.18.1")
(source
@@ -2026,23 +2763,43 @@
(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))))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
+(define-public rust-graphene-sys-0.19
+ (package
+ (name "rust-graphene-sys")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "graphene-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01dg4wgqxaqkdv0vl7hr14b6kbbm96gwdsb5a2ss9jxw8h4hwlrg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("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 "Rust bindings for the Graphene library")
- (description "Rust bindings for the Graphene library.")
+ (synopsis "FFI bindings to libgraphene-1.0")
+ (description "FFI bindings to libgraphene-1.0.")
(license license:expat)))
(define-public rust-graphene-sys-0.18
(package
+ (inherit rust-graphene-sys-0.19)
(name "rust-graphene-sys")
(version "0.18.1")
(source
@@ -2052,23 +2809,46 @@
(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))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-gsk4-0.8
+ (package
+ (name "rust-gsk4")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gsk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gi1f9s2nd5m2zfwb91vijpzr6nxbfa58inrwml497wkyr5qhqvm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.19)
+ ("rust-gdk4" ,rust-gdk4-0.8)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-graphene-rs" ,rust-graphene-rs-0.19)
+ ("rust-gsk4-sys" ,rust-gsk4-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.19))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs (list pkg-config))
- (inputs (list glib graphene))
+ (inputs (list gtk))
(home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgraphene-1.0")
- (description "FFI bindings to libgraphene-1.0.")
+ (synopsis "Rust bindings of the GSK 4 library")
+ (description "Rust bindings of the GSK 4 library.")
(license license:expat)))
(define-public rust-gsk4-0.7
(package
+ (inherit rust-gsk4-0.8)
(name "rust-gsk4")
(version "0.7.3")
(source
@@ -2078,7 +2858,6 @@
(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)
@@ -2089,16 +2868,41 @@
("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))))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
+(define-public rust-gsk4-sys-0.8
+ (package
+ (name "rust-gsk4-sys")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gsk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p5kf912s8qs38lhzzwnm26v498wkp68mx92z38vnf3ccgr4n0i3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.8)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.19)
+ ("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))
+ (inputs (list cairo gdk-pixbuf graphene gtk pango))
(home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings of the GSK 4 library")
- (description "Rust bindings of the GSK 4 library.")
+ (synopsis "FFI bindings of GSK 4")
+ (description "This package provides FFI bindings of GSK 4.")
(license license:expat)))
(define-public rust-gsk4-sys-0.7
(package
+ (inherit rust-gsk4-sys-0.8)
(name "rust-gsk4-sys")
(version "0.7.3")
(source
@@ -2108,7 +2912,6 @@
(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)
@@ -2120,16 +2923,120 @@
("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.")
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-gst-plugin-version-helper-0.8
+ (package
+ (name "rust-gst-plugin-version-helper")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gst-plugin-version-helper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0alv0v7jfg7ryybb3qnbdwx3nqzkdl305il1xk92y9b02r7qfpjf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-toml-edit" ,rust-toml-edit-0.22))))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "build.rs helper function for GStreamer plugin metadata")
+ (description
+ "This package provides build.rs helper function for GStreamer plugin metadata.")
(license license:expat)))
+(define-public rust-gstreamer-0.21
+ (package
+ (name "rust-gstreamer")
+ (version "0.21.3")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mchpvvll5i4ck8zr7aarrz6p975n0dcyy92wksg8ycf9hzp15fy"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-test-flags
+ `(list "--release" "--"
+ "--skip=typefind::tests::test_typefind_call_function")
+ #:cargo-inputs `(("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.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-itertools" ,rust-itertools-0.12)
+ ("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-option-operations" ,rust-option-operations-0.5)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-pretty-hex" ,rust-pretty-hex-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("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.8)
+ ("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-0.20
+ (package
+ (inherit rust-gstreamer-0.21)
+ (name "rust-gstreamer")
+ (version "0.20.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jcg143f5k1s4p8knqw0cc8x81shgax0spx1dypiranl4021b960"))))
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ "--skip=typefind::tests::test_typefind_call_function")
+ #: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.17)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.20)
+ ("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.5)
+ ("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-smallvec" ,rust-smallvec-1)
+ ("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.8)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-gstreamer-0.18
(package
+ (inherit rust-gstreamer-0.21)
(name "rust-gstreamer")
(version "0.18.8")
(source (origin
@@ -2139,7 +3046,6 @@
(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)
@@ -2164,13 +3070,7 @@
`(("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))))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-gstreamer-app-0.18
(package
@@ -2232,8 +3132,41 @@
(description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
(license license:expat)))
+(define-public rust-gstreamer-audio-0.21
+ (package
+ (name "rust-gstreamer-audio")
+ (version "0.21.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0b91wjhhq0harwl7kyfv5l0kwp6w1vklpnpynakv92f8x6jci5vs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-itertools" ,rust-itertools-0.12)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (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-0.18
(package
+ (inherit rust-gstreamer-audio-0.21)
(name "rust-gstreamer-audio")
(version "0.18.7")
(source
@@ -2243,7 +3176,6 @@
(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)
@@ -2256,16 +3188,44 @@
("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))))
+ ("rust-itertools" ,rust-itertools-0.10))))))
+
+(define-public rust-gstreamer-audio-sys-0.21
+ (package
+ (name "rust-gstreamer-audio-sys")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lamp4s9cl0hhpbfcwdprn36fll6qq4xihrqbf2pfwqpifp99gbq"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Some symbols are missing, i.e. ?GstDsdFormat? and more.
+ `(#:tests? #f
+ #:cargo-test-flags
+ (list "--release" "--"
+ "--skip=cross_validate_constants_with_c")
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("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 "Rust bindings for the GStreamer Audio library")
- (description "Rust bindings for the GStreamer Audio library.")
- (license (list license:expat license:asl2.0))))
+ (synopsis "FFI bindings to libgstaudio-1.0")
+ (description "FFI bindings to libgstaudio, part of Gstreamer.")
+ (license license:expat)))
(define-public rust-gstreamer-audio-sys-0.18
(package
+ (inherit rust-gstreamer-audio-sys-0.21)
(name "rust-gstreamer-audio-sys")
(version "0.18.3")
(source
@@ -2275,7 +3235,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
(list "--release" "--"
@@ -2287,16 +3246,40 @@
("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))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-gstreamer-base-0.21
+ (package
+ (name "rust-gstreamer-base")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zqnld0w2jqkz1m5xna3a3nnrpvrchpcrrzdgwim54540ilhn5fb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-atomic-refcell" ,rust-atomic-refcell-0.1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("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 gst-plugins-base))
+ (inputs (list glib gstreamer))
(home-page "https://gstreamer.freedesktop.org")
- (synopsis "FFI bindings to libgstaudio-1.0")
- (description "FFI bindings to libgstaudio, part of Gstreamer.")
- (license license:expat)))
+ (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-0.18
(package
+ (inherit rust-gstreamer-base-0.21)
(name "rust-gstreamer-base")
(version "0.18.0")
(source
@@ -2306,7 +3289,6 @@
(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)
@@ -2315,16 +3297,38 @@
("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))))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
+(define-public rust-gstreamer-base-sys-0.21
+ (package
+ (name "rust-gstreamer-base-sys")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r2bb4rmkpxs1l2jy61rn2srqzsp1f8q0k5j55di3zkqj0gp1jpl"))))
+ (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-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("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 "Rust bindings for GStreamer Base library")
- (description "Rust bindings for GStreamer Base library.")
- (license (list license:expat license:asl2.0))))
+ (synopsis "FFI bindings to libgstbase-1.0")
+ (description "FFI bindings to libgstbase-1.0, part of GStreamer.")
+ (license license:expat)))
(define-public rust-gstreamer-base-sys-0.18
(package
+ (inherit rust-gstreamer-base-sys-0.21)
(name "rust-gstreamer-base-sys")
(version "0.18.0")
(source
@@ -2334,7 +3338,6 @@
(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)
@@ -2342,29 +3345,141 @@
("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-gstreamer-check-0.21
+ (package
+ (name "rust-gstreamer-check")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-check" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sf4jiykz4mc45ydlszggfn2ly9liqgvam1cmiiyxz9l58pascj2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-check-sys" ,rust-gstreamer-check-sys-0.21))
+ #: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 Check library")
+ (description
+ "This package provides Rust bindings for GStreamer Check library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-gstreamer-check-sys-0.21
+ (package
+ (name "rust-gstreamer-check-sys")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-check-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yvsz1pf4zr9gya7d8mbq3y4qai72iz1hgdxfiqqn136rrazpa6z"))))
+ (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-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("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.")
+ (synopsis "FFI bindings to libgstcheck-1.0")
+ (description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
-(define-public rust-gstreamer-sys-0.18
+(define-public rust-gstreamer-pbutils-0.21
+ (package
+ (name "rust-gstreamer-pbutils")
+ (version "0.21.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-pbutils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0idr354x9j77q8qrb99r6m6hrpa0z8j97jncqim5m08vhgbij9sb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.21)
+ ("rust-gstreamer-pbutils-sys" ,rust-gstreamer-pbutils-sys-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Base Utils library")
+ (description
+ "This package provides Rust bindings for GStreamer Base Utils library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-gstreamer-pbutils-sys-0.21
+ (package
+ (name "rust-gstreamer-pbutils-sys")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-pbutils-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0scx3w02wkyvmq76ia2jr6zhkf24zivn9vyphrcwmj2b8piydakg"))))
+ (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-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("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 libgstpbutils-1.0")
+ (description "This package provides FFI bindings to libgstpbutils-1.0.")
+ (license license:expat)))
+
+(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
- (version "0.18.0")
+ (version "0.21.2")
(source (origin
(method url-fetch)
(uri (crate-uri "gstreamer-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+ "1i1vrqs9ys5y0ljl4nxh1x25dnwlcyh9hiybh4dysviy5dwdlk2n"))))
(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)
+ (list #:tests? #f ;; tests/constant.c:193:20: error:
+ ;; ?GST_ELEMENT_FACTORY_TYPE_TIMESTAMPER? undeclared (first use in this function);
+ ;; did you mean ?GST_ELEMENT_FACTORY_TYPE_MUXER??
+ #: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)
@@ -2377,6 +3492,112 @@
"Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-sys-0.20
+ (package
+ (inherit rust-gstreamer-sys-0.21)
+ (name "rust-gstreamer-sys")
+ (version "0.20.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ll6ax5wjbvhccq7cx35w4jw6lyvzm017g58mzdlfzggmm3y0vz5"))))
+ (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-gstreamer-sys-0.18
+ (package
+ (inherit rust-gstreamer-sys-0.21)
+ (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"))))
+ (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))))))
+
+(define-public rust-gstreamer-video-0.21
+ (package
+ (name "rust-gstreamer-video")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r8mhzb1bq4dnj08f4szgarxd2fvqbakwv400fp9hyiv3m6jlnz8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Video library")
+ (description
+ "This package provides Rust bindings for GStreamer Video library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-gstreamer-video-sys-0.21
+ (package
+ (name "rust-gstreamer-video-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vhn7fiibwc2q5h8cjlg44imh8i0xss6nns83r859c76k26k20h3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Some symbols are missing, i.e. ?GST_VIDEO_FORMAT_A420_12BE?,
+ ;; ?GST_VIDEO_FORMAT_A420_12LE?, ?GST_VIDEO_FORMAT_A420_16BE?
+ ;; and more.
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("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 libgstvideo-1.0")
+ (description "This package provides FFI bindings to libgstvideo-1.0.")
+ (license license:expat)))
+
(define-public rust-gtk-0.14
(package
(name "rust-gtk")
@@ -2477,8 +3698,44 @@
"LGPL-licensed docs for Gtk-rs crates.")
(license license:lgpl2.0)))
+(define-public rust-gtk-sys-0.18
+ (package
+ (name "rust-gtk-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08kpdl7ldj8lyv4dyhp9pdk61qj8yyyha5f1jssc1hg23nzkf53p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags (list "--release" "--"
+ "--skip=cross_validate_layout_with_c")
+ #:cargo-inputs (("rust-atk-sys" ,rust-atk-sys-0.18)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
+ ("rust-gdk-sys" ,rust-gdk-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-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+))
+ (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.14
(package
+ (inherit rust-gtk-sys-0.18)
(name "rust-gtk-sys")
(version "0.14.0")
(source
@@ -2488,7 +3745,6 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gihp9zh4z7lycp0zbmq1w0k9ddbnd2h64jsgid7hi85vb9wh54c"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;missing files
#:cargo-inputs
@@ -2504,14 +3760,7 @@
("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)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gtk-sys-0.10
(package
@@ -2604,8 +3853,45 @@
library.")
(license license:expat)))
+(define-public rust-gtk4-0.8
+ (package
+ (name "rust-gtk4")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1avinslgnsz3wywf4dfaza8w9c29krd10hxmi8si3bq8kcqi2kmh"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Failed to initialize GTK
+ #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.19)
+ ("rust-field-offset" ,rust-field-offset-0.3)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19)
+ ("rust-gdk4" ,rust-gdk4-0.8)
+ ("rust-gio" ,rust-gio-0.19)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-graphene-rs" ,rust-graphene-rs-0.19)
+ ("rust-gsk4" ,rust-gsk4-0.8)
+ ("rust-gtk4-macros" ,rust-gtk4-macros-0.8)
+ ("rust-gtk4-sys" ,rust-gtk4-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.19))
+ #: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-0.7
(package
+ (inherit rust-gtk4-0.8)
(name "rust-gtk4")
(version "0.7.3")
(source
@@ -2615,7 +3901,6 @@ library.")
(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)
@@ -2632,16 +3917,44 @@ library.")
("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))))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
+(define-public rust-gtk4-macros-0.8
+ (package
+ (name "rust-gtk4-macros")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0214a8y68kknxcnihsfxwsqvll7ss2rbiplr51cyk34dz1z5lrgc"))))
+ (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-3)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quick-xml" ,rust-quick-xml-0.31)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-gtk4" ,rust-gtk4-0.8)
+ ("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 cairo glib gtk))
+ (inputs (list gdk-pixbuf gtk))
(home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings of the GTK 4 library")
- (description "Rust bindings of the GTK 4 library.")
+ (synopsis "Macros helpers for GTK 4 bindings")
+ (description "Macros helpers for GTK 4 bindings.")
(license license:expat)))
(define-public rust-gtk4-macros-0.7
(package
+ (inherit rust-gtk4-macros-0.8)
(name "rust-gtk4-macros")
(version "0.7.2")
(source
@@ -2651,7 +3964,6 @@ library.")
(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)
@@ -2665,16 +3977,45 @@ library.")
#: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))))
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
+
+(define-public rust-gtk4-sys-0.8
+ (package
+ (name "rust-gtk4-sys")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1dapgvbkhf0kcm2jfmj8r98wzyhwmr5iv358dvb73sl5gxmsi2lc"))))
+ (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.19)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.19)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.8)
+ ("rust-gio-sys" ,rust-gio-sys-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.19)
+ ("rust-gsk4-sys" ,rust-gsk4-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.19)
+ ("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 gdk-pixbuf gtk))
+ (inputs (list cairo gdk-pixbuf graphene gtk pango))
(home-page "https://gtk-rs.org/")
- (synopsis "Macros helpers for GTK 4 bindings")
- (description "Macros helpers for GTK 4 bindings.")
+ (synopsis "FFI bindings of GTK 4")
+ (description "This package provides FFI bindings of GTK 4.")
(license license:expat)))
(define-public rust-gtk4-sys-0.7
(package
+ (inherit rust-gtk4-sys-0.8)
(name "rust-gtk4-sys")
(version "0.7.3")
(source
@@ -2684,7 +4025,6 @@ library.")
(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)
@@ -2699,16 +4039,39 @@ library.")
("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))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-libadwaita-0.6
+ (package
+ (name "rust-libadwaita")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libadwaita" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nf5hxmk1bzjj8hxavwgz04kiv3hxb52qjh9f9gfrqdr9019kd4i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.20)
+ ("rust-gdk4" ,rust-gdk4-0.8)
+ ("rust-gio" ,rust-gio-0.20)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-gtk4" ,rust-gtk4-0.8)
+ ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.6)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.20))))
(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.")
+ (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-0.5
(package
+ (inherit rust-libadwaita-0.6)
(name "rust-libadwaita")
(version "0.5.3")
(source
@@ -2718,7 +4081,6 @@ library.")
(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)
@@ -2727,16 +4089,41 @@ library.")
("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))))
+ ("rust-pango" ,rust-pango-0.18))))))
+
+(define-public rust-libadwaita-sys-0.6
+ (package
+ (name "rust-libadwaita-sys")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libadwaita-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a513qlanw6n8dksm1br20a7iz2x1ff5cgg9v5f2dq9bx7j4i9r3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.8)
+ ("rust-gio-sys" ,rust-gio-sys-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("rust-gtk4-sys" ,rust-gtk4-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.19)
+ ("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 libadwaita))
- (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs")
- (synopsis "Rust bindings for libadwaita")
- (description "Rust bindings for libadwaita.")
+ (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-libadwaita-sys-0.5
(package
+ (inherit rust-libadwaita-sys-0.6)
(name "rust-libadwaita-sys")
(version "0.5.3")
(source
@@ -2746,7 +4133,6 @@ library.")
(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)
@@ -2758,16 +4144,57 @@ library.")
("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))))
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
+(define-public rust-pango-0.20
+ (package
+ (name "rust-pango")
+ (version "0.20.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mpkjnxcgng8mjf7y55q5d1md4qxswf90m5784hxg50hn5aal9ma"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gio" ,rust-gio-0.20)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.20))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(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.")
+ (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.19
+ (package
+ (inherit rust-pango-0.20)
+ (name "rust-pango")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kffxkk7730csly86fkgja50k1184zj9lz49sv7qb0059233439z"))))
+ (arguments
+ `(#:cargo-inputs (("rust-gio" ,rust-gio-0.19)
+ ("rust-glib" ,rust-glib-0.19)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.19))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
(define-public rust-pango-0.18
(package
+ (inherit rust-pango-0.19)
(name "rust-pango")
(version "0.18.3")
(source
@@ -2777,7 +4204,6 @@ library.")
(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)
@@ -2785,13 +4211,7 @@ library.")
("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)))
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
(define-public rust-pango-0.17
(package
@@ -2920,23 +4340,23 @@ library.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-pango-sys-0.18
+(define-public rust-pango-sys-0.20
(package
(name "rust-pango-sys")
- (version "0.18.0")
+ (version "0.20.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "pango-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3"))))
+ (base32 "0f5qyap96f01h7xa122s798hmz7rmc0c5fz299a0cbzigf8nbzc4"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
- ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
("rust-libc" ,rust-libc-0.2)
- ("rust-system-deps" ,rust-system-deps-6))
+ ("rust-system-deps" ,rust-system-deps-7))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs (list pkg-config))
@@ -2946,6 +4366,46 @@ library.")
(description "This package provides FFI bindings to @code{libpango-1.0}.")
(license license:expat)))
+(define-public rust-pango-sys-0.19
+ (package
+ (inherit rust-pango-sys-0.20)
+ (name "rust-pango-sys")
+ (version "0.19.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "182bcd6255v5yvnskbhxnb6kwak240z7sn54si2b5h46l17xl0zz"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.19)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.19)
+ ("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.18
+ (package
+ (inherit rust-pango-sys-0.19)
+ (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"))))
+ (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))))))
+
(define-public rust-pango-sys-0.17
(package
(inherit rust-pango-sys-0.18)
@@ -3054,24 +4514,24 @@ library.")
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-pangocairo-0.18
+(define-public rust-pangocairo-0.19
(package
(name "rust-pangocairo")
- (version "0.18.0")
+ (version "0.19.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "pangocairo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "199qdgw5mf1vbqmslscy1qzz0szw2dcd21p6z61wzjngm64na0sp"))))
+ (base32 "1n8wrqy260zpfiifb2n10mbsv3kbrvxm1z7pv8b4w77c08yb9j74"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18)
- ("rust-glib" ,rust-glib-0.18)
+ `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.19)
+ ("rust-glib" ,rust-glib-0.19)
("rust-libc" ,rust-libc-0.2)
- ("rust-pango" ,rust-pango-0.18)
- ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.18))
+ ("rust-pango" ,rust-pango-0.19)
+ ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.19))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs (list pkg-config))
@@ -3082,6 +4542,27 @@ library.")
"This package provides Rust bindings for the @code{PangoCairo} library.")
(license license:expat)))
+(define-public rust-pangocairo-0.18
+ (package
+ (inherit rust-pangocairo-0.19)
+ (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"))))
+ (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))))))
+
(define-public rust-pangocairo-0.17
(package
(inherit rust-pangocairo-0.18)
@@ -3133,23 +4614,23 @@ library.")
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
-(define-public rust-pangocairo-sys-0.18
+(define-public rust-pangocairo-sys-0.19
(package
(name "rust-pangocairo-sys")
- (version "0.18.0")
+ (version "0.19.8")
(source
(origin
(method url-fetch)
(uri (crate-uri "pangocairo-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0cw82261ixgr9xw549rx11w74h0wz4lw0pqxxir7lzm3fvv8yg7w"))))
+ (base32 "1myq3p8qrd63nlacd4sba66c17lfqgvzv8mpyn2rg1rqhi4h86ar"))))
(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)
+ `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.19)
+ ("rust-glib-sys" ,rust-glib-sys-0.19)
("rust-libc" ,rust-libc-0.2)
- ("rust-pango-sys" ,rust-pango-sys-0.18)
+ ("rust-pango-sys" ,rust-pango-sys-0.19)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
@@ -3158,10 +4639,31 @@ library.")
;; 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")
+ (synopsis "FFI bindings to PangoCairo")
(description "This package provides FFI bindings to @code{PangoCairo}.")
(license license:expat)))
+(define-public rust-pangocairo-sys-0.18
+ (package
+ (inherit rust-pangocairo-sys-0.19)
+ (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"))))
+ (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))))))
+
(define-public rust-pangocairo-sys-0.17
(package
(inherit rust-pangocairo-sys-0.18)
@@ -3209,6 +4711,32 @@ library.")
(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-search-provider-0.8
+ (package
+ (name "rust-search-provider")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "search-provider" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a683ndxh99sin4lr919wc8aakzgjiqlic1xglf4qs6gfpvs2prq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19)
+ ("rust-gdk4" ,rust-gdk4-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zbus" ,rust-zbus-4))))
+ (home-page "https://gitlab.gnome.org/World/Rust/search-provider")
+ (synopsis "Rust wrapper around the GNOME Shell search provider API")
+ (description
+ "This package provides a Rust wrapper around the GNOME Shell search
+provider API.")
+ (license license:gpl3+)))
+
(define-public rust-soup-sys-0.10
(package
(name "rust-soup-sys")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16f7a0a389..db4edce680 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm