diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-02 14:13:39 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-12-02 14:13:39 +0200 |
commit | 541abedc0a0473d494ec22b05b6900f1d2b1c45d (patch) | |
tree | 6a86215dacf234bd1abcfcaff7b809e443e500c6 | |
parent | b764dbc3195c843ae9f7bebb94dcaa9b1bdd43e5 (diff) | |
parent | 31e7d5d0d7e7fea677ad18496b8b9d80683891f4 (diff) |
Merge remote-tracking branch 'origin/rust-team'
Change-Id: I6d5c28252f060eeb69eb02fd281e7268bb885b29
28 files changed, 14444 insertions, 2624 deletions
diff --git a/etc/teams/rust/rusty-packages.scm b/etc/teams/rust/rusty-packages.scm new file mode 100644 index 00000000000..07928b1c744 --- /dev/null +++ b/etc/teams/rust/rusty-packages.scm @@ -0,0 +1,46 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +;;; This file returns a manifest of packages built using the cargo-build-system +;;; which are NOT prefixed with 'rust-' and the packages which use rust itself +;;; as an input. This is a short list of packages which can be checked to see +;;; if a rust update has gone smoothly. It is used to assist continuous +;;; integration of the rust-team branch. + +(use-modules (guix packages) + (guix profiles) + (guix build-system) + (srfi srfi-1)) + +(manifest + (map package->manifest-entry + (fold-packages + (lambda (package lst) + (if (or + (and (eq? (build-system-name (package-build-system package)) + (quote cargo)) + (not (string-prefix? "rust-" (package-name package)))) + (any + (lambda (pkg) + (member (specification->package "rust") pkg)) + (append (package-native-inputs package) + (package-propagated-inputs package) + (package-inputs package)))) + (cons package lst) + lst)) + (list)))) diff --git a/gnu/local.mk b/gnu/local.mk index c89fd882824..1b699af259a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2132,6 +2132,8 @@ dist_patch_DATA = \ %D%/packages/patches/rustc-1.54.0-src.patch \ %D%/packages/patches/rust-1.64-fix-riscv64-bootstrap.patch \ %D%/packages/patches/rust-1.70-fix-rustix-build.patch \ + %D%/packages/patches/rust-1.78-unwinding-fix.patch \ + %D%/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch \ %D%/packages/patches/rust-cargo-edit-remove-ureq.patch \ %D%/packages/patches/rust-ring-0.17-ring-core.patch \ %D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch \ diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4e850ab562b..7e6701f2c78 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 11ceb517d36..6881ac2cf51 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 422edfbc1d1..150861fc4b5 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 0c1b9447361..757e23f81e2 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 9c01ce31426..de15413064e 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 16f7a0a3890..db4edce6805 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com> ;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr> -;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> +;;; Copyright © 2019, 2024 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> ;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> @@ -44,6 +44,7 @@ ;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca> ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org> ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org> +;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> ;;; ;;; This file is part of GNU Guix. ;;; @@ -95,6 +96,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages hardware) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages jemalloc) @@ -114,6 +116,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages rust) #:use-module (gnu packages rust-apps) + #:use-module (gnu packages security-token) #:use-module (gnu packages selinux) #:use-module (gnu packages sequoia) #:use-module (gnu packages serialization) @@ -121,6 +124,7 @@ #:use-module (gnu packages sqlite) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) + #:use-module (gnu packages valgrind) #:use-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages xml) @@ -534,8 +538,46 @@ syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") ("rust-sha2" ,rust-sha2-0.9) ("rust-tokio" ,rust-tokio-1)))))) +(define-public rust-addr2line-0.24 + (package + (name "rust-addr2line") + (version "0.24.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "addr2line" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xfkfsk45dwps3jq4n5ikk7v15i6g51cpnnivxgl1ga28j71vyzm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `auxiliary` + #:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-gimli" ,rust-gimli-0.31) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-object" ,rust-object-0.36) + ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-typed-arena" ,rust-typed-arena-2)) + #:cargo-development-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-findshlibs" ,rust-findshlibs-0.10) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7)))) + (home-page "https://github.com/gimli-rs/addr2line") + (synopsis "Symbolication library written in Rust, using gimli") + (description + "This package provides a cross-platform symbolication library written in +Rust, using gimli.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-addr2line-0.21 (package + (inherit rust-addr2line-0.24) (name "rust-addr2line") (version "0.21.0") (source @@ -545,7 +587,6 @@ syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1jx0k3iwyqr8klqbzk6kjvr496yd94aspis10vwsj5wy7gib4c4a")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `auxiliary` #:cargo-inputs @@ -563,13 +604,7 @@ syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") ("rust-clap" ,rust-clap-4) ("rust-findshlibs" ,rust-findshlibs-0.10) ("rust-libtest-mimic" ,rust-libtest-mimic-0.6) - ("rust-typed-arena" ,rust-typed-arena-2)))) - (home-page "https://github.com/gimli-rs/addr2line") - (synopsis "Symbolication library written in Rust, using gimli") - (description - "This package provides a cross-platform symbolication library written in -Rust, using gimli.") - (license (list license:asl2.0 license:expat)))) + ("rust-typed-arena" ,rust-typed-arena-2)))))) (define-public rust-addr2line-0.19 (package @@ -693,6 +728,30 @@ checksum, used in the zlib compression format.") (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf")))) (build-system cargo-build-system))) +(define-public rust-adler2-2 + (package + (name "rust-adler2") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "adler2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09r6drylvgy8vv8k20lnbvwq8gp09h7smfn6h1rxsy15pgh629si")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/oyvindln/adler2") + (synopsis "Implementation of the Adler-32 checksum") + (description + "This package provides a simple clean-room implementation of the Adler-32 +checksum.") + (license (list license:bsd-0 license:expat license:asl2.0)))) + (define-public rust-adler32-1 (package (name "rust-adler32") @@ -791,14 +850,14 @@ the Rust programming language.") (define-public rust-ahash-0.8 (package (name "rust-ahash") - (version "0.8.7") + (version "0.8.11") (source (origin (method url-fetch) (uri (crate-uri "ahash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "008xw6gigwnf0q01ic4ar2y4dqfnzn3kyys6vd4cvfa3imjakhvp")))) + "04chdfkls5xmhp1d48gnjsmglbqibizs3bpbj6rsj604m10si7g8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -814,12 +873,14 @@ the Rust programming language.") (("rust-criterion" ,rust-criterion-0.3) ("rust-fnv" ,rust-fnv-1) ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-hex" ,rust-hex-0.4) ("rust-no-panic" ,rust-no-panic-0.1) + ("rust-pcg-mwc" ,rust-pcg-mwc-0.2) ("rust-rand" ,rust-rand-0.8) ("rust-seahash" ,rust-seahash-4) - ("rust-serde-json" ,rust-serde-json-1)))) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1)))) (home-page "https://github.com/tkaitchuck/ahash") (synopsis "Non-cryptographic hash function using AES-NI") @@ -831,18 +892,19 @@ high performance.") (define-public rust-ahash-0.7 (package (name "rust-ahash") - (version "0.7.6") + (version "0.7.8") (source (origin (method url-fetch) (uri (crate-uri "ahash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0isw672fiwx8cjl040jrck6pi85xcszkz6q0xsqkiy6qjl31mdgw")))) + (base32 "1y9014qsy6gs9xld4ch7a6xi9bpki8vaciawxq4p75d8qvh7f549")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-const-random" ,rust-const-random-0.1) + (("rust-atomic-polyfill" ,rust-atomic-polyfill-1) + ("rust-const-random" ,rust-const-random-0.1) ("rust-getrandom" ,rust-getrandom-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-serde" ,rust-serde-1) @@ -866,7 +928,7 @@ using AES-NI for high performance.") (package (inherit rust-ahash-0.7) (name "rust-ahash") - (version "0.4.7") + (version "0.4.8") (source (origin (method url-fetch) @@ -874,7 +936,7 @@ using AES-NI for high performance.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vm13qaz4nzj0gd397d36wpyav05bflg6m2nbhs82nb0ns6lm7vk")))) + "129290b8lz7fw8gzdq7k2jrm6yqgv6dsb1sc1gfy1pl2rqm26lq4")))) (arguments `(#:cargo-inputs (("rust-const-random" ,rust-const-random-0.1)) @@ -941,14 +1003,14 @@ using AES-NI for high performance.") (define-public rust-aho-corasick-1 (package (name "rust-aho-corasick") - (version "1.1.2") + (version "1.1.3") (source (origin (method url-fetch) (uri (crate-uri "aho-corasick" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1w510wnixvlgimkx1zjbvlxh6xps2vjgfqgwf5a6adlbjp5rv5mj")))) + "05mrpkvdgp5d20y2p989f187ry9diliijgwrs254fs9s1m1x6q4f")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1217,6 +1279,25 @@ options to use calloc or a mutable global variable for pre-zeroed memory.") be used with the stdlib.") (license license:bsd-3))) +(define-public rust-alloc-traits-0.1 + (package + (name "rust-alloc-traits") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "alloc-traits" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10z4rmykwnp8ps5r5n34190h6gmzpj1f67fqildi1z8r6f2m8bbb")))) + (build-system cargo-build-system) + (home-page "https://github.com/HeroicKatora/static-alloc") + (synopsis "Traits to replace or supplement the alloc module in no_std") + (description + "This package provides Traits to replace or supplement the alloc module +in no_std.") + (license license:expat))) + (define-public rust-allocator-api2-0.2 (package (name "rust-allocator-api2") @@ -1428,8 +1509,43 @@ the code to interact with the underlying operating system ALSA interface.") sparse matrix prior to Cholesky factorization.") (license license:bsd-3))) +(define-public rust-android-activity-0.6 + (package + (name "rust-android-activity") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "android-activity" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0inh88x8x2fh62jg739s9hwyvdh8i920qf0qw7bhr802j9c7hsgg")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; error: ndk-sys only supports compiling for Android. + #:cargo-inputs (("rust-android-properties" ,rust-android-properties-0.2) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cc" ,rust-cc-1) + ("rust-cesu8" ,rust-cesu8-1) + ("rust-jni" ,rust-jni-0.21) + ("rust-jni-sys" ,rust-jni-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-ndk" ,rust-ndk-0.9) + ("rust-ndk-context" ,rust-ndk-context-0.1) + ("rust-ndk-sys" ,rust-ndk-sys-0.6) + ("rust-num-enum" ,rust-num-enum-0.7) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/rust-mobile/android-activity") + (synopsis "Glue for building Rust applications on Android") + (description + "This package provides the glue for building Rust applications on Android +with @code{NativeActivity} or @code{GameActivity}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-android-activity-0.5 (package + (inherit rust-android-activity-0.6) (name "rust-android-activity") (version "0.5.1") (source @@ -1439,7 +1555,6 @@ sparse matrix prior to Cholesky factorization.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fgl1jbzwbxrw4naw8bzjmphqj68q3hiylc05pakyz4p5a8h3f1r")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Only supports compiling for Android. #:cargo-inputs (("rust-android-properties" ,rust-android-properties-0.2) @@ -1454,12 +1569,7 @@ sparse matrix prior to Cholesky factorization.") ("rust-ndk-context" ,rust-ndk-context-0.1) ("rust-ndk-sys" ,rust-ndk-sys-0.5) ("rust-num-enum" ,rust-num-enum-0.7) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/rust-mobile/android-activity") - (synopsis "Glue for building Rust applications on Android") - (description "This package provides the glue needed for building Rust -applications on Android with NativeActivity or GameActivity.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-android-activity-0.4 (package @@ -1505,24 +1615,38 @@ applications on Android with NativeActivity or GameActivity.") (description "This package provides the glue for the Android JNI.") (license license:expat))) -(define-public rust-android-log-sys-0.2 +(define-public rust-android-log-sys-0.3 (package (name "rust-android-log-sys") - (version "0.2.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "android_log-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bhhs1cgzp9vzjvkn2q31ppc7w4am5s273hkvl5iac5475kmp5l5")))) - (arguments `(#:skip-build? #true)) ;XXX: Android only + (base32 "0dwrvwkx2xxqys6nrhfavbbqfx2rs61nq8akrlnqkfbapxb81k2y")))) (build-system cargo-build-system) - (home-page "https://github.com/nercury/android_log-sys-rs") + (arguments `(#:skip-build? #true)) ;XXX: Android only + (home-page "https://github.com/rust-mobile/android_log-sys-rs") (synopsis "FFI bindings to Android log Library") (description "This package provides FFI bindings to Android log Library.") (license (list license:expat license:asl2.0)))) +(define-public rust-android-log-sys-0.2 + (package + (inherit rust-android-log-sys-0.3) + (name "rust-android-log-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "android_log-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bhhs1cgzp9vzjvkn2q31ppc7w4am5s273hkvl5iac5475kmp5l5")))) + (arguments `(#:skip-build? #true)))) ;XXX: Android only + (define-public rust-android-log-sys-0.1 (package (inherit rust-android-log-sys-0.2) @@ -1537,20 +1661,20 @@ applications on Android with NativeActivity or GameActivity.") (base32 "0klq7cp4lm74gjf9p12zdjcr159blbicrfvadmaqvfxbi8njw1dq")))) (arguments `(#:skip-build? #true)))) ;XXX: Android only -(define-public rust-android-logger-0.11 +(define-public rust-android-logger-0.13 (package (name "rust-android-logger") - (version "0.11.3") + (version "0.13.3") (source (origin (method url-fetch) (uri (crate-uri "android_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fl8ix7q1cj73lzy6xcwyrqwpvnx5aaxszawidivv9ra4h6bh6c6")))) + (base32 "0bvp6lf39q0zykn70lys562kdb14r9dfm91m79jxq53cfi7i7564")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-android-log-sys" ,rust-android-log-sys-0.2) + `(#:cargo-inputs (("rust-android-log-sys" ,rust-android-log-sys-0.3) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1)))) @@ -1561,6 +1685,24 @@ applications on Android with NativeActivity or GameActivity.") it outputs messages to Android's logcat.") (license (list license:expat license:asl2.0)))) +(define-public rust-android-logger-0.11 + (package + (inherit rust-android-logger-0.13) + (name "rust-android-logger") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "android_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fl8ix7q1cj73lzy6xcwyrqwpvnx5aaxszawidivv9ra4h6bh6c6")))) + (arguments + `(#:cargo-inputs (("rust-android-log-sys" ,rust-android-log-sys-0.2) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1)))))) + (define-public rust-android-logger-0.10 (package (inherit rust-android-logger-0.11) @@ -1680,31 +1822,56 @@ it outputs messages to Android's logcat.") ;; The user can choose either license. (license (list license:expat license:asl2.0)))) -(define-public rust-annotate-snippets-0.10 +(define-public rust-annotate-snippets-0.11 (package (name "rust-annotate-snippets") - (version "0.10.2") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "annotate-snippets" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rmzxhi079d6j67x1dyv3sjkrc13x6av513cn27pwjl8i5bnd6vd")))) + (base32 "14frjyhpm41mn2rn70p9288xny1l0jx70k7d2iy9k9sy9vamxqr4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + #:cargo-development-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-criterion" ,rust-criterion-0.5) ("rust-difference" ,rust-difference-2) ("rust-glob" ,rust-glob-0.3) ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.5)))) + ("rust-snapbox" ,rust-snapbox-0.6) + ("rust-toml" ,rust-toml-0.5) + ("rust-tryfn" ,rust-tryfn-0.2)))) (home-page "https://github.com/rust-lang/annotate-snippets-rs") (synopsis "Library for building code annotations") - (description "Library for building code annotations.") + (description + "This package provides a library for building code annotations.") (license (list license:asl2.0 license:expat)))) +(define-public rust-annotate-snippets-0.10 + (package + (inherit rust-annotate-snippets-0.11) + (name "rust-annotate-snippets") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rmzxhi079d6j67x1dyv3sjkrc13x6av513cn27pwjl8i5bnd6vd")))) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-difference" ,rust-difference-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.5)))))) + (define-public rust-annotate-snippets-0.9 (package (inherit rust-annotate-snippets-0.10) @@ -1852,14 +2019,14 @@ with ANSI strings.") (define-public rust-anstream-0.6 (package (name "rust-anstream") - (version "0.6.13") + (version "0.6.18") (source (origin (method url-fetch) (uri (crate-uri "anstream" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yv2idkyf9mp9xwc684v0ywqiy86lwc9gvllwdishl7y6czx0syr")))) + (base32 "16sjk4x3ns2c3ya1x28a44kh6p47c7vhk27251i015hik1lm7k4a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1868,9 +2035,10 @@ with ANSI strings.") ("rust-anstyle-query" ,rust-anstyle-query-1) ("rust-anstyle-wincon" ,rust-anstyle-wincon-3) ("rust-colorchoice" ,rust-colorchoice-1) + ("rust-is-terminal-polyfill" ,rust-is-terminal-polyfill-1) ("rust-utf8parse" ,rust-utf8parse-0.2)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.5) + (("rust-divan" ,rust-divan-0.1) ("rust-lexopt" ,rust-lexopt-0.3) ("rust-owo-colors" ,rust-owo-colors-4) ("rust-proptest" ,rust-proptest-1) @@ -1912,14 +2080,14 @@ text to a terminal.") (define-public rust-anstyle-1 (package (name "rust-anstyle") - (version "1.0.6") + (version "1.0.8") (source (origin (method url-fetch) (uri (crate-uri "anstyle" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1g1ngvxrz9d6xsymxzzzg581jzyz1sn8d0jpjcwxks07cff2c0c9")))) + "1cfmkza63xpn1kkz844mgjwm9miaiz4jkyczmwxzivcsypk1vv0v")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -2131,17 +2299,39 @@ writing colored text to a terminal.") (license (list license:asl2.0 license:expat)))) +(define-public rust-any-all-workaround-0.1 + (package + (name "rust-any-all-workaround") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "any_all_workaround" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11ifmzawvvi6d4r1lk0dkdnbswf574npgkika4535k7j6l3s9zl8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)))) + (home-page "https://docs.rs/any_all_workaround/") + (synopsis "Workaround for bad LLVM codegen for boolean reductions on 32-bit ARM") + (description + "This package provides Workaround for bad LLVM codegen for boolean +reductions on 32-bit ARM.") + (license (list license:expat license:asl2.0)))) + (define-public rust-anyhow-1 (package (name "rust-anyhow") - (version "1.0.86") + (version "1.0.89") (source (origin (method url-fetch) (uri (crate-uri "anyhow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nk301x8qhpdaks6a9zvcp7yakjqnczjmqndbg7vk4494d3d1ldk")))) + (base32 "1xh1vg89n56h6nqikcmgbpmkixjds33492klrp9m96xrbmhgizc6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2531,23 +2721,23 @@ coverage-guided, mutation-based fuzzers.") (define-public rust-arc-swap-1 (package (name "rust-arc-swap") - (version "1.6.0") + (version "1.7.1") (source (origin (method url-fetch) (uri (crate-uri "arc-swap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19n9j146bpxs9phyh48gmlh9jjsdijr9p9br04qms0g9ypfsvp5x")))) + (base32 "0mrl9a9r9p9bln74q6aszvf22q1ijiw089jkrmabfqkbj31zixv9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-adaptive-barrier" ,rust-adaptive-barrier-1) - ("rust-criterion" ,rust-criterion-0.4) + ("rust-criterion" ,rust-criterion-0.5) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-itertools" ,rust-itertools-0.12) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-once-cell" ,rust-once-cell-1) ("rust-parking-lot" ,rust-parking-lot-0.12) @@ -2959,18 +3149,19 @@ structures.") (define-public rust-arrayvec-0.7 (package (name "rust-arrayvec") - (version "0.7.4") + (version "0.7.6") (source (origin (method url-fetch) (uri (crate-uri "arrayvec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04b7n722jij0v3fnm3qk072d5ysc2q30rl9fz33zpfhzah30mlwn")))) + (base32 "0l1fz4ccgv6pm609rif37sl5nv5k6lbzi7kkppgzqzh1vwix20kw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) + (("rust-borsh" ,rust-borsh-1) + ("rust-serde" ,rust-serde-1) ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) @@ -4689,8 +4880,36 @@ capacity and random or least recently used (LRU) replacement.") Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-async-broadcast-0.7 + (package + (name "rust-async-broadcast") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-broadcast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zia7z1y31awmxma9c89zmvkbj7mdkf7highkmz5z3pa4lp0xk90")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-5) + ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-easy-parallel" ,rust-easy-parallel-3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-futures-util" ,rust-futures-util-0.3)))) + (home-page "https://github.com/smol-rs/async-broadcast") + (synopsis "Async broadcast channels") + (description "This package provides async broadcast channels in Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-broadcast-0.6 (package + (inherit rust-async-broadcast-0.7) (name "rust-async-broadcast") (version "0.6.0") (source @@ -4700,7 +4919,6 @@ Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0d1xk2pr5khk1radkbaf7pp7pbjkb18m43n2rgkfsfxk177pak9k")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-3) @@ -4710,11 +4928,7 @@ Rust.") ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-futures-util" ,rust-futures-util-0.3)))) - (home-page "https://github.com/smol-rs/async-broadcast") - (synopsis "Async broadcast channels") - (description "This package provides async broadcast channels in Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-futures-util" ,rust-futures-util-0.3)))))) (define-public rust-async-broadcast-0.5 (package @@ -4742,20 +4956,19 @@ Rust.") (define-public rust-async-channel-2 (package (name "rust-async-channel") - (version "2.1.1") + (version "2.3.1") (source (origin (method url-fetch) (uri (crate-uri "async-channel" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1337ywc1paw03rdlwh100kh8pa0zyp0nrlya8bpsn6zdqi5kz8qw")))) + (base32 "0skvwxj6ysfc6d7bhczz9a2550260g62bm5gl0nmjxxyn007id49")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-concurrent-queue" ,rust-concurrent-queue-2) - ("rust-event-listener" ,rust-event-listener-4) - ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.4) + ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.5) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) #:cargo-development-inputs @@ -4948,52 +5161,52 @@ AsyncSeek if the inner type does.") (define-public rust-async-executor-1 (package (name "rust-async-executor") - (version "1.5.1") + (version "1.13.1") (source (origin (method url-fetch) (uri (crate-uri "async-executor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yrs723d4djhia5mimc85blrvly0kl8bj260b5vz0r4559gxr8vg")))) + (base32 "1v6w1dbvsmw6cs4dk4lxj5dvrikc6xi479wikwaab2qy3h09mjih")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-async-lock" ,rust-async-lock-2) - ("rust-async-task" ,rust-async-task-4) + (("rust-async-task" ,rust-async-task-4) ("rust-concurrent-queue" ,rust-concurrent-queue-2) - ("rust-fastrand" ,rust-fastrand-1) - ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-slab" ,rust-slab-0.4)) #:cargo-development-inputs - (("rust-async-channel" ,rust-async-channel-1) - ("rust-async-io" ,rust-async-io-1) - ("rust-criterion" ,rust-criterion-0.4) + (("rust-async-channel" ,rust-async-channel-2) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) + ("rust-criterion" ,rust-criterion-0.5) ("rust-easy-parallel" ,rust-easy-parallel-3) - ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-once-cell" ,rust-once-cell-1)))) (home-page "https://github.com/stjepang/async-executor") (synopsis "Async executor") (description "This library provides async executors.") (license (list license:asl2.0 license:expat)))) -(define-public rust-async-fs-1 +(define-public rust-async-fs-2 (package (name "rust-async-fs") - (version "1.6.0") + (version "2.1.2") (source (origin (method url-fetch) (uri (crate-uri "async-fs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01if2h77mry9cnm91ql2md595108i2c1bfy9gaivzvjfcl2gk717")))) + (base32 "0jp0p7lg9zqy2djgdmivbzx0yqmfn9sm2s9dkhaws3zlharhkkgb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-2) - ("rust-autocfg" ,rust-autocfg-1) + `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-3) ("rust-blocking" ,rust-blocking-1) - ("rust-futures-lite" ,rust-futures-lite-1)) + ("rust-futures-lite" ,rust-futures-lite-2)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/smol-rs/async-fs") @@ -5001,6 +5214,51 @@ AsyncSeek if the inner type does.") (description "This package provides async filesystem primitives.") (license (list license:asl2.0 license:expat)))) +(define-public rust-async-fs-1 + (package + (inherit rust-async-fs-2) + (name "rust-async-fs") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01if2h77mry9cnm91ql2md595108i2c1bfy9gaivzvjfcl2gk717")))) + (arguments + `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-2) + ("rust-autocfg" ,rust-autocfg-1) + ("rust-blocking" ,rust-blocking-1) + ("rust-futures-lite" ,rust-futures-lite-1)) + #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-async-generic-1 + (package + (name "rust-async-generic") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-generic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a8fd84qj7zw7sdk1qmaqcww5mhrg7jzr7fhx6wn00la37d8lm40")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1)))) + (home-page "https://github.com/scouten/async-generic") + (synopsis "Code that can be both async and synchronous without duplicating it") + (description + "This package provides a way to write code that can be both async and +synchronous without duplicating it.") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-global-executor-2 (package (name "rust-async-global-executor") @@ -5038,14 +5296,14 @@ AsyncSeek if the inner type does.") (define-public rust-async-io-2 (package (name "rust-async-io") - (version "2.3.1") + (version "2.3.4") (source (origin (method url-fetch) (uri (crate-uri "async-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rggn074kbqxxajci1aq14b17gp75rw9l6rpbazcv9q0bc6ap5wg")))) + (base32 "1s679l7x6ijh8zcxqn5pqgdiyshpy4xwklv86ldm1rhfjll04js4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-3) @@ -5058,7 +5316,7 @@ AsyncSeek if the inner type does.") ("rust-rustix" ,rust-rustix-0.38) ("rust-slab" ,rust-slab-0.4) ("rust-tracing" ,rust-tracing-0.1) - ("rust-windows-sys" ,rust-windows-sys-0.52)) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-async-channel" ,rust-async-channel-2) ("rust-async-net" ,rust-async-net-2) ("rust-blocking" ,rust-blocking-1) @@ -5118,23 +5376,24 @@ Timer, a future that expires at a point in time.") (define-public rust-async-lock-3 (package (name "rust-async-lock") - (version "3.3.0") + (version "3.4.0") (source (origin (method url-fetch) (uri (crate-uri "async-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yxflkfw46rad4lv86f59b5z555dlfmg1riz1n8830rgi0qb8d6h")))) + (base32 "060vh45i809wcqyxzs5g69nqiqah7ydz0hpkcjys9258vqn4fvpz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-event-listener" ,rust-event-listener-4) - ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.4) + (("rust-event-listener" ,rust-event-listener-5) + ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.5) + ("rust-loom" ,rust-loom-0.7) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) #:cargo-development-inputs - (("rust-async-channel" ,rust-async-channel-2) - ("rust-fastrand" ,rust-fastrand-2) + (("rust-fastrand" ,rust-fastrand-2) + ("rust-flume" ,rust-flume-0.11) ("rust-futures-lite" ,rust-futures-lite-2) ("rust-waker-fn" ,rust-waker-fn-1) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) @@ -5147,21 +5406,22 @@ Timer, a future that expires at a point in time.") (package (inherit rust-async-lock-3) (name "rust-async-lock") - (version "2.7.0") + (version "2.8.0") (source (origin (method url-fetch) (uri (crate-uri "async-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mrd4kai92fcgl9974dpmibiq6ja9drz41v3crvv0c27a8kzf97s")))) + (base32 "0asq5xdzgp3d5m82y5rg7a0k9q0g95jy6mgc7ivl334x7qlp4wi8")))) (arguments `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-2)) #:cargo-development-inputs (("rust-async-channel" ,rust-async-channel-1) - ("rust-fastrand" ,rust-fastrand-1) + ("rust-fastrand" ,rust-fastrand-2) ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-waker-fn" ,rust-waker-fn-1) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) (define-public rust-async-log-1 @@ -5412,17 +5672,17 @@ asynchronously (via the AsyncPidFd type).") delivered in order of priority.") (license (list license:asl2.0 license:expat)))) -(define-public rust-async-process-1 +(define-public rust-async-process-2 (package (name "rust-async-process") - (version "1.8.1") + (version "2.3.0") (source (origin (method url-fetch) (uri (crate-uri "async-process" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "126s968lvhg9rlwsnxp7wfzkfn7rl87p0dlvqqlibn081ax3hr7a")))) + (base32 "1fr6cpqdw7hrmzns1983lgx86cg8vyz7nlrn0h0125iqq8fmy9b3")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -5432,15 +5692,17 @@ delivered in order of priority.") "--skip=signal_reported_right" "--skip=stdin_works" "--skip=test_spawn_multiple_with_stdio") - #:cargo-inputs (("rust-async-io" ,rust-async-io-1) - ("rust-async-lock" ,rust-async-lock-2) + #:cargo-inputs (("rust-async-channel" ,rust-async-channel-2) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) ("rust-async-signal" ,rust-async-signal-0.2) + ("rust-async-task" ,rust-async-task-4) ("rust-blocking" ,rust-blocking-1) ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-event-listener" ,rust-event-listener-3) - ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-event-listener" ,rust-event-listener-5) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-rustix" ,rust-rustix-0.38) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-tracing" ,rust-tracing-0.1)) #:cargo-development-inputs (("rust-async-io" ,rust-async-io-1)))) (home-page "https://github.com/smol-rs/async-process") (synopsis "Async interface for working with processes") @@ -5454,6 +5716,37 @@ This is unlike the process API in the standard library, where dropping a running Child leaks its resources.") (license (list license:asl2.0 license:expat)))) +(define-public rust-async-process-1 + (package + (inherit rust-async-process-2) + (name "rust-async-process") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-process" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "126s968lvhg9rlwsnxp7wfzkfn7rl87p0dlvqqlibn081ax3hr7a")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=set_current_dir_works" ; assertion failed: p.is_ok() + ;; No such file or directory + "--skip=signal_reported_right" + "--skip=stdin_works" + "--skip=test_spawn_multiple_with_stdio") + #:cargo-inputs (("rust-async-io" ,rust-async-io-1) + ("rust-async-lock" ,rust-async-lock-2) + ("rust-async-signal" ,rust-async-signal-0.2) + ("rust-blocking" ,rust-blocking-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-event-listener" ,rust-event-listener-3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-async-io" ,rust-async-io-1)))))) + (define-public rust-async-ready-3 (package (name "rust-async-ready") @@ -5478,14 +5771,14 @@ futures.") (define-public rust-async-recursion-1 (package (name "rust-async-recursion") - (version "1.0.4") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "async-recursion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fhwz7jqgsakbjsr2nrsvgs245l1m5dkzir6f9fxw4ngwrywx5qf")))) + "04ac4zh8qz2xjc79lmfi4jlqj5f92xjvfaqvbzwkizyqd4pl4hrv")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; TODO: Tests unexpectedly pass. @@ -5495,6 +5788,7 @@ futures.") ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-macrotest" ,rust-macrotest-1) ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/dcchut/async-recursion") (synopsis "Recursion for async functions") @@ -5736,24 +6030,26 @@ crate.") (define-public rust-async-task-4 (package (name "rust-async-task") - (version "4.4.0") + (version "4.7.1") (source (origin (method url-fetch) (uri (crate-uri "async-task" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bis5aqnjw3gxridzpq2cwrlj4y8alrfqy19rly6ag2vh50spizc")))) + (base32 "1pp3avr4ri2nbh7s6y9ws0397nkx1zymmcr14sq761ljarh3axcb")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs + `(#:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1)) + #:cargo-development-inputs (("rust-atomic-waker" ,rust-atomic-waker-1) ("rust-easy-parallel" ,rust-easy-parallel-3) - ("rust-flaky-test" ,rust-flaky-test-0.1) - ("rust-flume" ,rust-flume-0.10) - ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-flaky-test" ,rust-flaky-test-0.2) + ("rust-flume" ,rust-flume-0.11) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-once-cell" ,rust-once-cell-1) - ("rust-smol" ,rust-smol-1)))) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-smol" ,rust-smol-2)))) (home-page "https://github.com/stjepang/async-task") (synopsis "Task abstraction for building executors") (description @@ -5800,7 +6096,7 @@ crate.") (define-public rust-async-trait-0.1 (package (name "rust-async-trait") - (version "0.1.77") + (version "0.1.83") (source (origin (method url-fetch) @@ -5808,7 +6104,7 @@ crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1adf1jh2yg39rkpmqjqyr9xyd6849p0d95425i6imgbhx0syx069")))) + "1p8q8gm4fv2fdka8hwy2w3f8df7p5inixqi7rlmbnky3wmysw73j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5982,6 +6278,26 @@ they're not available.") they're not available.") (license (list license:expat license:asl2.0)))) +(define-public rust-atomic-refcell-0.1 + (package + (name "rust-atomic-refcell") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic_refcell" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z04ng59y22mwf315wamx78ybhjag0x6k7isc36hdgcv63c7rrj1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/bholley/atomic_refcell") + (synopsis "Threadsafe RefCell") + (description "This package provides Threadsafe @code{RefCell}.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-atomic-take-1 (package (name "rust-atomic-take") @@ -6046,6 +6362,52 @@ they're not available.") "This package provides a synchronization primitive for task wakeup.") (license (list license:asl2.0 license:expat)))) +(define-public rust-atomig-0.4 + (package + (name "rust-atomig") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08f8mhww13dskj55rw37h9d2bwghqxvp7q70mg826y8zn4bjmbqf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-atomig-macro" ,rust-atomig-macro-0.3) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))) + (home-page "https://github.com/LukasKalbertodt/atomig/") + (synopsis + "Generic and lock-free `std` atomics via `Atomic<T>`") + (description + "This package provides Generic, convenient and lock-free `std` atomics via +@code{Atomic<T>}. Can be used with many primitive types (including floats) and +with custom types.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-atomig-macro-0.3 + (package + (name "rust-atomig-macro") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomig-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hvgrip2nqqlgpfz8p9zrs6iyrv8nyz0c5bgvm5mxim4ik4wh44s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/LukasKalbertodt/atomig/") + (synopsis "Helper crate for `atomig`") + (description "This package provides Helper crate for `atomig`.") + (license (list license:expat license:asl2.0)))) + (define-public rust-atty-0.2 (package (name "rust-atty") @@ -6187,7 +6549,7 @@ bytes or encoder from file extension.") (package (inherit rust-autocfg-1) (name "rust-autocfg") - (version "0.1.7") + (version "0.1.8") (source (origin (method url-fetch) @@ -6195,22 +6557,21 @@ bytes or encoder from file extension.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x")))) - (arguments '(#:skip-build? #t)))) + "0y4vw4l4izdxq1v0rrhvmlbqvalrqrmk60v1z0dqlgnlbzkl7phd")))) + (arguments `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)))))) (define-public rust-automod-1 (package (name "rust-automod") - (version "1.0.11") + (version "1.0.14") (source (origin (method url-fetch) (uri (crate-uri "automod" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "057sa45859nb8arbshkqc6va8b8jf5a8vx6zr739viibqbj989md")))) + "12rsa5barxi8v916hlvvpjyh43y5x2yjc2bg1xs6v960vccyxwzd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6549,7 +6910,7 @@ effort.") (define-public rust-backtrace-0.3 (package (name "rust-backtrace") - (version "0.3.69") + (version "0.3.74") (source (origin (method url-fetch) @@ -6557,22 +6918,20 @@ effort.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0dsq23dhw4pfndkx2nsa1ml2g31idm7ss7ljxp8d57avygivg290")))) + "06pfif7nwx66qf2zaanc2fcq7m64i91ki9imw9xd3bnz5hrwp0ld")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs - (("rust-addr2line" ,rust-addr2line-0.21) - ("rust-cc" ,rust-cc-1) + (("rust-addr2line" ,rust-addr2line-0.24) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) ("rust-libc" ,rust-libc-0.2) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.7) - ("rust-object" ,rust-object-0.32) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.8) + ("rust-object" ,rust-object-0.36) ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-windows-targets" ,rust-windows-targets-0.52)) #:cargo-development-inputs (("rust-libloading" ,rust-libloading-0.7)))) (home-page "https://github.com/rust-lang/backtrace-rs") @@ -6889,8 +7248,74 @@ c6e7d37. However, this package works only up to 128 bytes.") dependencies.") (license (list license:expat license:asl2.0)))) +(define-public rust-bat-0.24 + (package + (name "rust-bat") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11nc2iv2qhd1bs16yijqq934864ybnmg485rny70scy26xb9xk4x")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) + ("rust-bincode" ,rust-bincode-1) + ("rust-bugreport" ,rust-bugreport-0.5) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-clap" ,rust-clap-4) + ("rust-clircle" ,rust-clircle-0.4) + ("rust-console" ,rust-console-0.15) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-etcetera" ,rust-etcetera-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-git2" ,rust-git2-0.18) + ("rust-globset" ,rust-globset-0.4) + ("rust-grep-cli" ,rust-grep-cli-0.1) + ("rust-home" ,rust-home-0.5) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-os-str-bytes" ,rust-os-str-bytes-6) + ("rust-path-abs" ,rust-path-abs-0.5) + ("rust-plist" ,rust-plist-1) + ("rust-regex" ,rust-regex-1) + ("rust-run-script" ,rust-run-script-0.10) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-syntect" ,rust-syntect-5) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-wild" ,rust-wild-2)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-expect-test" ,rust-expect-test-1) + ("rust-nix" ,rust-nix-0.26) + ("rust-predicates" ,rust-predicates-3) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 openssl zlib)) + (home-page "https://github.com/sharkdp/bat") + (synopsis "Library providing syntax highlighting for text") + (description + "This package provides the @command{bat} syntax highlighter as a library to +use for syntax highlighting in other crates.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bat-0.22 (package + (inherit rust-bat-0.24) (name "rust-bat") (version "0.22.1") (source @@ -6900,7 +7325,6 @@ dependencies.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0pdnbblvf2dkmnf6yybmysgmlw4j79j7c6mylcc8317h0xsymzgv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) @@ -6939,13 +7363,7 @@ dependencies.") ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) (native-inputs (list pkg-config)) - (inputs (list libgit2 openssl zlib)) - (home-page "https://github.com/sharkdp/bat") - (synopsis "Library providing syntax highlighting for text") - (description - "This package provides the @command{bat} syntax highlighter as a library to -use for syntax highlighting in other crates.") - (license (list license:expat license:asl2.0)))) + (inputs (list libgit2 openssl zlib)))) (define-public rust-bat-0.18 (package @@ -6994,6 +7412,38 @@ use for syntax highlighting in other crates.") (inputs (list libgit2 zlib)))) +(define-public rust-battery-0.7 + (package + (name "rust-battery") + (version "0.7.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "battery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r1641dyks76p39i1iihswhc6iz5z51pihmpxniy1h1pi4k29dml")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;/sys/class/power_supply cannot be found + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-core-foundation" ,rust-core-foundation-0.7) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-mach" ,rust-mach-0.3) + ("rust-nix" ,rust-nix-0.19) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-uom" ,rust-uom-0.30) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.3) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/svartalf/rust-battery") + (synopsis "Cross-platform information about the notebook batteries") + (description + "This package provides Cross-platform information about the notebook batteries.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-beef-0.5 (package (name "rust-beef") @@ -7197,17 +7647,17 @@ base32 and base16 (hex)") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) -(define-public rust-bindgen-0.69 +(define-public rust-bindgen-0.70 (package (name "rust-bindgen") - (version "0.69.4") + (version "0.70.1") (source (origin (method url-fetch) (uri (crate-uri "bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18194611hn3k1dkxlha7a52sr8vmfhl9blc54xhj08cahd8wh3d0")))) + (base32 "0vyf0jp6apcy9kjyz4s8vldj0xqycnbzb6zv3skkwiqdi3nqz7gl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9) @@ -7215,8 +7665,6 @@ that uses Serde for transforming structs into bytes and vice versa!") ("rust-cexpr" ,rust-cexpr-0.6) ("rust-clang-sys" ,rust-clang-sys-1) ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lazycell" ,rust-lazycell-1) ("rust-log" ,rust-log-0.4) ("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-proc-macro2" ,rust-proc-macro2-1) @@ -7224,8 +7672,7 @@ that uses Serde for transforming structs into bytes and vice versa!") ("rust-regex" ,rust-regex-1) ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-shlex" ,rust-shlex-1) - ("rust-syn" ,rust-syn-2) - ("rust-which" ,rust-which-4)))) + ("rust-syn" ,rust-syn-2)))) (inputs (list clang)) (home-page "https://rust-lang.github.io/rust-bindgen/") (synopsis "Generate Rust FFI bindings to C and C++ libraries") @@ -7233,6 +7680,36 @@ that uses Serde for transforming structs into bytes and vice versa!") bindings to C and C++ libraries.") (license license:bsd-3))) +(define-public rust-bindgen-0.69 + (package + (inherit rust-bindgen-0.70) + (name "rust-bindgen") + (version "0.69.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1240snlcfj663k04bjsg629g4wx6f83flgbjh5rzpgyagk3864r7")))) + (arguments + `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cexpr" ,rust-cexpr-0.6) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-log" ,rust-log-0.4) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-syn" ,rust-syn-2) + ("rust-which" ,rust-which-4)))))) + (define-public rust-bindgen-0.68 (package (inherit rust-bindgen-0.69) @@ -8038,14 +8515,14 @@ types.") (define-public rust-bitflags-2 (package (name "rust-bitflags") - (version "2.5.0") + (version "2.6.0") (source (origin (method url-fetch) (uri (crate-uri "bitflags" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h91vdx1il069vdiiissj8ymzj130rbiic0dbs77yxjgjim9sjyg")))) + (base32 "1pkidwzn3hnxlsl8zizh0bncgbjnw7c41cx7bby26ncbzmiznj5h")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -8063,7 +8540,7 @@ types.") ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-test" ,rust-serde-test-1) ("rust-trybuild" ,rust-trybuild-1) - ("rust-zerocopy" ,rust-zerocopy-0.6)))) + ("rust-zerocopy" ,rust-zerocopy-0.7)))) (home-page "https://github.com/bitflags/bitflags") (synopsis "Macro to generate structures which behave like bitflags") (description "This package provides a macro to generate structures which @@ -8236,16 +8713,14 @@ bit-packing. It is a port of simdcomp C library to Rust.") (define-public rust-bitreader-0.3 (package (name "rust-bitreader") - (version "0.3.6") + (version "0.3.11") (source (origin (method url-fetch) (uri (crate-uri "bitreader" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0hcrn2s483si9j6v3gykn3029g4m2s5rifd9czz9iznihlfafknq")))) + (base32 "0rn010p46g7fv08la915yq4q1vjfpgz8baf3bdv6rmb3w6qmjrc8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -8628,16 +9103,15 @@ storage.") (package (inherit rust-block-padding-0.3) (name "rust-block-padding") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "block-padding" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0x6b2dgink7rc3755r8jl4kmndydy5563h3wz7z9jqrb25ygv2y9")))))) + "1bickjlmfw9iv63dp781n589rfybw879mik1va59833m1hvnqscd")))))) (define-public rust-block-padding-0.1 (package @@ -8660,27 +9134,25 @@ storage.") (define-public rust-blocking-1 (package (name "rust-blocking") - (version "1.4.1") + (version "1.6.1") (source (origin (method url-fetch) (uri (crate-uri "blocking" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0aiy8y524jvxl942hh5naxjjn7b5rjapsjqb6vfv6x45sk8a8dlc")))) + (base32 "1si99l8zp7c4zq87y35ayjgc5c9b60jb8h0k14zfcs679z2l2gvh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-async-channel" ,rust-async-channel-1) - ("rust-async-lock" ,rust-async-lock-2) + (("rust-async-channel" ,rust-async-channel-2) ("rust-async-task" ,rust-async-task-4) - ("rust-fastrand" ,rust-fastrand-2) ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-piper" ,rust-piper-0.2) ("rust-tracing" ,rust-tracing-0.1)) #:cargo-development-inputs - (("rust-futures-lite" ,rust-futures-lite-1)))) + (("rust-futures-lite" ,rust-futures-lite-2)))) (home-page "https://github.com/smol-rs/blocking") (synopsis "Thread pool for isolating blocking I/O in async programs") (description @@ -9074,10 +9546,39 @@ Bresenham's line algorithm.") @code{mpsc} pattern to enable broadcasting items.") (license (list license:expat license:asl2.0)))) +(define-public rust-brotli-7 + (package + (name "rust-brotli") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g99xay61mds9d23fnfj5gfbd6g11gihfgs3y1abljwldzqvi5yc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-4) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/dropbox/rust-brotli") + (synopsis "Brotli compressor and decompressor") + (description + "This package provides a brotli compressor and decompressor that with an +interface avoiding the rust stdlib. This makes it suitable for embedded devices +and kernels. It is designed with a pluggable allocator so that the standard +lib's allocator may be employed. The default build also includes a stdlib +allocator and stream interface. Disable this with --features=no-stdlib. All +included code is safe.") + (license (list license:bsd-3 license:expat)))) + (define-public rust-brotli-3 (package + (inherit rust-brotli-7) (name "rust-brotli") - (version "3.3.4") + (version "3.5.0") (source (origin (method url-fetch) @@ -9085,40 +9586,30 @@ Bresenham's line algorithm.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0s7z0nrv04wxniwijh5iig1w31sphc6lz38zc8lr7qlarkdv3851")))) - (build-system cargo-build-system) + "14f34ml3i8qbnh4hhlv5r6j10bkx420gspsl1cgznl1wqrdx4h6n")))) (arguments `(#:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) ("rust-brotli-decompressor" ,rust-brotli-decompressor-2) - ("rust-packed-simd" ,rust-packed-simd-0.3) - ("rust-sha2" ,rust-sha2-0.8)))) - (home-page "https://github.com/dropbox/rust-brotli") - (synopsis "Brotli compressor and decompressor") - (description "This package provides a brotli compressor and decompressor -with no dependency on the rust stdlib. This makes it suitable for embedded -devices and kernels.") - (license (list license:bsd-3 license:expat)))) + ("rust-sha2" ,rust-sha2-0.10)))))) -(define-public rust-brotli-decompressor-2 +(define-public rust-brotli-decompressor-4 (package (name "rust-brotli-decompressor") - (version "2.3.2") + (version "4.0.1") (source (origin (method url-fetch) (uri (crate-uri "brotli-decompressor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "102v89h9z0p45j5fsjna97761nxx9nxz9ccpwxma6p5zad32vbar")))) + (base32 "0qn39c7n6wm40i2bm0d3q2qslmaavlh804iv0ccbba4m80pbsics")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) - ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))) + #:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))) (home-page "https://github.com/dropbox/rust-brotli-decompressor") (synopsis "Brotli decompressor") (description "This package provides a brotli decompressor with no @@ -9126,6 +9617,25 @@ dependency on the rust stdlib. This makes it suitable for embedded devices and kernels.") (license (list license:bsd-3 license:expat)))) +(define-public rust-brotli-decompressor-2 + (package + (inherit rust-brotli-decompressor-4) + (name "rust-brotli-decompressor") + (version "2.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli-decompressor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kyyh9701dwqzwvn2frff4ww0zibikqd1s1xvl7n1pfpc3z4lbjf")))) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs + (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))))) + (define-public rust-brotli-sys-0.3 (package (name "rust-brotli-sys") @@ -9465,14 +9975,14 @@ UTF-8.") (define-public rust-buffered-reader-1 (package (name "rust-buffered-reader") - (version "1.3.0") + (version "1.3.1") (source (origin (method url-fetch) (uri (crate-uri "buffered-reader" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1m4hh3kv5lk4hx9lh6rh05r7m59v3rp86pcqpiwkbs06xcjhm6rb")))) + (base32 "1j0ffv5a50f1kk41808x2rz4lv8yfl6wz0wcg907jidnzmiqf2fd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -9796,7 +10306,7 @@ libraries and binaries.") (define-public rust-bumpalo-3 (package (name "rust-bumpalo") - (version "3.13.0") + (version "3.16.0") (source (origin (method url-fetch) @@ -9805,7 +10315,7 @@ libraries and binaries.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1h9zmxb9d14m2sx34daz88fsjw1lx7d5mhaqbldwqgl8xzdc7qm3")))) + "0b015qb4knwanbdlp1x48pkb4pm57b8gidbhhhxr900q2wb6fabr")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -9867,6 +10377,27 @@ reasonable.") library for wrapping text.") (license (list license:expat license:gpl3+)))) +(define-public rust-by-address-1 + (package + (name "rust-by-address") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "by_address" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01idmag3lcwnnqrnnyik2gmbrr34drsi97q15ihvcbbidf2kryk4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=tests::test_thin_ptr_fail"))) + (home-page "https://github.com/mbrubeck/by_address") + (synopsis "Wrapper for comparing and hashing pointers by address") + (description + "This package provides Wrapper for comparing and hashing pointers by address.") + (license (list license:expat license:asl2.0)))) + (define-public rust-byte-pool-0.2 (package (name "rust-byte-pool") @@ -10113,7 +10644,7 @@ high efficiency.") (define-public rust-bytemuck-1 (package (name "rust-bytemuck") - (version "1.14.0") + (version "1.19.0") (source (origin (method url-fetch) @@ -10121,7 +10652,7 @@ high efficiency.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ik1ma5n3bg700skkzhx50zjk7kj7mbsphi773if17l04pn2hk9p")))) + "0ka96agz9kqmsd71q7xpr08bnh2g8x4hivxqpnks0674h5dj2d43")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10135,7 +10666,7 @@ high efficiency.") (define-public rust-bytemuck-derive-1 (package (name "rust-bytemuck-derive") - (version "1.5.0") + (version "1.8.0") (source (origin (method url-fetch) @@ -10143,7 +10674,7 @@ high efficiency.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cgj75df2v32l4fmvnp25xxkkz4lp6hz76f7hfhd55wgbzmvfnln")))) + "1v5r33dgl12rqbvh440fdjxmxxr49qpzmg6vpw5jzdbcjk6w7z5w")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `bytemuck` @@ -10201,6 +10732,29 @@ little-endian.") (("rust-quickcheck" ,rust-quickcheck-0.2) ("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-byteorder-lite-0.1 + (package + (name "rust-byteorder-lite") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "byteorder-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15alafmz4b9az56z6x7glcbcb6a8bfgyd109qc3bvx07zx4fj7wg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7)))) + (home-page "https://github.com/image-rs/byteorder-lite") + (synopsis + "Library for reading/writing numbers in big-endian and little-endian") + (description + "This package provides a library for reading/writing numbers in big-endian +and little-endian.") + (license (list license:unlicense license:expat)))) + (define-public rust-bytes-1 (package (name "rust-bytes") @@ -10669,24 +11223,24 @@ spreadsheet file.") brightness between monitors.") (license license:gpl3))) -(define-public rust-calloop-0.12 +(define-public rust-calloop-0.13 (package (name "rust-calloop") - (version "0.12.3") + (version "0.13.0") (source (origin (method url-fetch) (uri (crate-uri "calloop" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gxd20zpys0q4v9fg3nrkyhrnjgpkgriidgfm5aqraar9njbal3v")))) + (base32 "1v5zgidnhsyml403rzr7vm99f8q6r5bxq5gxyiqkr8lcapwa57dr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-task" ,rust-async-task-4) ("rust-bitflags" ,rust-bitflags-2) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.26) + ("rust-nix" ,rust-nix-0.28) ("rust-pin-utils" ,rust-pin-utils-0.1) ("rust-polling" ,rust-polling-3) ("rust-rustix" ,rust-rustix-0.38) @@ -10699,6 +11253,32 @@ brightness between monitors.") (description "This package provides a callback-based event loop.") (license license:expat))) +(define-public rust-calloop-0.12 + (package + (inherit rust-calloop-0.13) + (name "rust-calloop") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "calloop" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gxd20zpys0q4v9fg3nrkyhrnjgpkgriidgfm5aqraar9njbal3v")))) + (arguments + `(#:cargo-inputs (("rust-async-task" ,rust-async-task-4) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-pin-utils" ,rust-pin-utils-0.1) + ("rust-polling" ,rust-polling-3) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-slab" ,rust-slab-0.4) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-rustix" ,rust-rustix-0.38)))))) + (define-public rust-calloop-0.10 (package (inherit rust-calloop-0.12) @@ -10794,20 +11374,20 @@ brightness between monitors.") #:cargo-development-inputs (("rust-lazycell" ,rust-lazycell-1)))))) -(define-public rust-calloop-wayland-source-0.2 +(define-public rust-calloop-wayland-source-0.3 (package (name "rust-calloop-wayland-source") - (version "0.2.0") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "calloop-wayland-source" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00lgxlqnkd150ylfn3wi4464ibif1qwbp38shj1aszvc8ywsj3hg")))) + (base32 "086x5mq16prrcwd9k6bw9an0sp8bj9l5daz4ziz5z4snf2c6m9lm")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-calloop" ,rust-calloop-0.12) + `(#:cargo-inputs (("rust-calloop" ,rust-calloop-0.13) ("rust-log" ,rust-log-0.4) ("rust-rustix" ,rust-rustix-0.38) ("rust-wayland-backend" ,rust-wayland-backend-0.3) @@ -10821,6 +11401,28 @@ brightness between monitors.") "This package provides a wayland-rs client event source for callloop.") (license license:expat))) +(define-public rust-calloop-wayland-source-0.2 + (package + (inherit rust-calloop-wayland-source-0.3) + (name "rust-calloop-wayland-source") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "calloop-wayland-source" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00lgxlqnkd150ylfn3wi4464ibif1qwbp38shj1aszvc8ywsj3hg")))) + (arguments + `(#:cargo-inputs (("rust-calloop" ,rust-calloop-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-wayland-backend" ,rust-wayland-backend-0.3) + ("rust-wayland-client" ,rust-wayland-client-0.31)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.31)))))) + (define-public rust-camino-1 (package (name "rust-camino") @@ -11194,14 +11796,14 @@ capabilities.") (define-public rust-cargo-credential-0.4 (package (name "rust-cargo-credential") - (version "0.4.4") + (version "0.4.6") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qvmiy683s4hq3fk9gz7bvshngjc2p1mn5arkw5fc5c7ygd04p2f")))) + (base32 "1kf4s49b7xrsy658k5jsm1wwrv4iqj42amcgskpwpskhari7qgis")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -11211,7 +11813,7 @@ capabilities.") ("rust-thiserror" ,rust-thiserror-1) ("rust-time" ,rust-time-0.3) ("rust-windows-sys" ,rust-windows-sys-0.52)) - #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.4)))) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.6)))) (home-page "https://github.com/rust-lang/cargo") (synopsis "Library to assist writing Cargo credential helpers") (description @@ -11245,14 +11847,14 @@ capabilities.") (define-public rust-cargo-credential-libsecret-0.4 (package (name "rust-cargo-credential-libsecret") - (version "0.4.3") + (version "0.4.8") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-libsecret" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mbqys6gv4my81zwxcf12mj5xkpvykd4254hfns1npzqwnmy3lv2")))) + (base32 "14v1rnk4pwsfqipllnlkb9vcf1xaj51mpw6i5l0mji82qhidv0vz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -11598,17 +12200,78 @@ optional dependency graph analysis.") supported by Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-toml-0.19 +(define-public rust-cargo-test-macro-0.3 + (package + (name "rust-cargo-test-macro") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-test-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15n83v5ffz4p3mjd03hwqlyaawp59bqwdg2amk3i45h6s5743flj")))) + (build-system cargo-build-system) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Helper proc-macro for Cargo's testsuite") + (description + "This package provides a helper proc-macro for Cargo's testsuite.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cargo-test-support-0.4 + (package + (name "rust-cargo-test-support") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-test-support" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z8gc10ylqpk5ap6lv4l46ngqmqfh9lz5n5sgjlrkhl2nk3k3m8i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-cargo-test-macro" ,rust-cargo-test-macro-0.3) + ("rust-cargo-util" ,rust-cargo-util-0.2) + ("rust-crates-io" ,rust-crates-io-0.40) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-git2" ,rust-git2-0.19) + ("rust-glob" ,rust-glob-0.3) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-pasetors" ,rust-pasetors-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snapbox" ,rust-snapbox-0.6) + ("rust-tar" ,rust-tar-0.4) + ("rust-time" ,rust-time-0.3) + ("rust-toml" ,rust-toml-0.8) + ("rust-url" ,rust-url-2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) + (native-inputs (list pkg-config)) + (inputs (list curl libgit2-1.8 libssh2 openssl zlib)) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Testing framework for Cargo's testsuite") + (description + "This package provides a testing framework for Cargo's testsuite.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cargo-toml-0.20 (package (name "rust-cargo-toml") - (version "0.19.2") + (version "0.20.5") (source (origin (method url-fetch) (uri (crate-uri "cargo_toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gljfkdjx07fisn5xkklv56ki3p49ppf8fkry7c1psx28bgmd0x9")))) + (base32 "1h0srl8n4s0xs6bq9z9zpkni3brzkkm0fmw4g00cmd10qq9mmnl8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) @@ -11619,6 +12282,22 @@ supported by Cargo.") parsing with Serde.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cargo-toml-0.19 + (package + (inherit rust-cargo-toml-0.20) + (name "rust-cargo-toml") + (version "0.19.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo_toml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gljfkdjx07fisn5xkklv56ki3p49ppf8fkry7c1psx28bgmd0x9")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.8)))))) + (define-public rust-cargo-toml-0.16 (package (inherit rust-cargo-toml-0.19) @@ -11638,14 +12317,14 @@ parsing with Serde.") (define-public rust-cargo-util-0.2 (package (name "rust-cargo-util") - (version "0.2.9") + (version "0.2.15") (source (origin (method url-fetch) (uri (crate-uri "cargo-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hp3sj7j9l5k771ayz1srm39gr21mcw9v3qpy3wc38akdqy2r1kl")))) + (base32 "08mi6jsxbf9s2q40bxm2jws4bx5hyk5vca41l1h55jir8ji6gpdn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -11663,7 +12342,7 @@ parsing with Serde.") ("rust-tempfile" ,rust-tempfile-3) ("rust-tracing" ,rust-tracing-0.1) ("rust-walkdir" ,rust-walkdir-2) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) (inputs (list openssl)) (native-inputs @@ -11704,17 +12383,17 @@ parsing with Serde.") ("rust-walkdir" ,rust-walkdir-2) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-cargo-util-schemas-0.2 +(define-public rust-cargo-util-schemas-0.6 (package (name "rust-cargo-util-schemas") - (version "0.2.0") + (version "0.6.0") (source (origin (method url-fetch) (uri (crate-uri "cargo-util-schemas" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jncrbsh5w8pl968a04893mwkaq0cgav19zyy6wpwj4lmj02fgg6")))) + (base32 "163x9cfg5g9ilz1ra3zr5nzk34qg8h4bxgsbrpgff6saaja2f19w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-semver" ,rust-semver-1) @@ -11724,12 +12403,35 @@ parsing with Serde.") ("rust-thiserror" ,rust-thiserror-1) ("rust-toml" ,rust-toml-0.8) ("rust-unicode-xid" ,rust-unicode-xid-0.2) - ("rust-url" ,rust-url-2)))) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.6)))) (home-page "https://github.com/rust-lang/cargo") (synopsis "Deserialization schemas for Cargo") (description "This package provides deserialization schemas for Cargo.") (license (list license:expat license:asl2.0)))) +(define-public rust-cargo-util-schemas-0.2 + (package + (inherit rust-cargo-util-schemas-0.6) + (name "rust-cargo-util-schemas") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-util-schemas" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jncrbsh5w8pl968a04893mwkaq0cgav19zyy6wpwj4lmj02fgg6")))) + (arguments + `(#:cargo-inputs (("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-untagged" ,rust-serde-untagged-0.1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) + ("rust-url" ,rust-url-2)))))) + (define-public rust-casey-0.4 (package (name "rust-casey") @@ -11881,7 +12583,7 @@ types that works on stable Rust.") (define-public rust-cc-1 (package (name "rust-cc") - (version "1.0.83") + (version "1.1.28") (source (origin (method url-fetch) @@ -11889,16 +12591,17 @@ types that works on stable Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1l643zidlb5iy1dskc5ggqs4wqa29a02f44piczqc8zcnsq4y5zi")))) + "1hdzh7161ixzmk6znpzdx0ldqw1rlrk0d6xf3h7881xblfvf701f")))) (build-system cargo-build-system) (arguments `(#:tests? #f #:cargo-inputs (("rust-jobserver" ,rust-jobserver-0.1) - ("rust-libc" ,rust-libc-0.2)) + ("rust-libc" ,rust-libc-0.2) + ("rust-shlex" ,rust-shlex-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/alexcrichton/cc-rs") + (home-page "https://github.com/rust-lang/cc-rs") (synopsis "Invoke the native C compiler") (description "This package provides a build-time dependency for Cargo build scripts to @@ -11985,17 +12688,17 @@ that need to represent UTF-16 data as 8-bit characters.") `(#:skip-build? #t #:cargo-inputs (("rust-nom" ,rust-nom-3)))))) -(define-public rust-cfg-aliases-0.1 +(define-public rust-cfg-aliases-0.2 (package (name "rust-cfg-aliases") - (version "0.1.1") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "cfg_aliases" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17p821nc6jm830vzl2lmwz60g3a30hcm33nk6l257i1rjdqw85px")))) + (base32 "092pxdc1dbgjb6qvh83gk56rkic2n2ybm4yvy76cgynmzi3zwfk1")))) (build-system cargo-build-system) (home-page "https://github.com/katharostech/cfg_aliases") (synopsis "Utility to help you with long winded @code{#[cfg()]} checks") @@ -12004,17 +12707,30 @@ that need to represent UTF-16 data as 8-bit characters.") winded @code{#[cfg()]} checks.") (license license:expat))) -(define-public rust-cfg-expr-0.15 +(define-public rust-cfg-aliases-0.1 + (package + (inherit rust-cfg-aliases-0.2) + (name "rust-cfg-aliases") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cfg_aliases" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17p821nc6jm830vzl2lmwz60g3a30hcm33nk6l257i1rjdqw85px")))))) + +(define-public rust-cfg-expr-0.17 (package (name "rust-cfg-expr") - (version "0.15.6") + (version "0.17.0") (source (origin (method url-fetch) (uri (crate-uri "cfg-expr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06m4hbpzgjn8m2r8sy5xywrd6ja8d1sjgjwmimwl1610nrbvq031")))) + "174y5f7035cx99d83hn1m97xd5xr83nd5fpkcxr3w8nkqihh12fh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12029,6 +12745,25 @@ winded @code{#[cfg()]} checks.") expressions.") (license (list license:expat license:asl2.0)))) +(define-public rust-cfg-expr-0.15 + (package + (inherit rust-cfg-expr-0.17) + (name "rust-cfg-expr") + (version "0.15.8") + (source (origin + (method url-fetch) + (uri (crate-uri "cfg-expr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00lgf717pmf5qd2qsxxzs815v6baqg38d6m5i6wlh235p14asryh")))) + (arguments + `(#:cargo-inputs + (("rust-smallvec" ,rust-smallvec-1) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)) + #:cargo-development-inputs + (("rust-similar-asserts" ,rust-similar-asserts-1)))))) + (define-public rust-cfg-expr-0.10 (package (inherit rust-cfg-expr-0.15) @@ -12277,18 +13012,18 @@ clauses.") (define-public rust-charset-0.1 (package (name "rust-charset") - (version "0.1.3") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "charset" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0iidr9d5a0jghkaj0888skm3c6368ff07nxmzwmwr8hj3afhgs8q")))) + (base32 "0zkwcw525qwcqsdf74l9d2r6m69yxfxb4kgywp3q9fklgjq2gygi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13) + (("rust-base64" ,rust-base64-0.22) ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs @@ -12307,14 +13042,14 @@ Encoding Standard.") (define-public rust-chrono-0.4 (package (name "rust-chrono") - (version "0.4.34") + (version "0.4.38") (source (origin (method url-fetch) (uri (crate-uri "chrono" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12zk0ja924f55va2fs0qj34xaygq46fy92blmc7qkmcj9dj1bh2v")))) + (base32 "009l8vc5p8750vn02z30mblg4pv2qhkbfizhfwmzc6vpy5nr67x2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12325,7 +13060,6 @@ Encoding Standard.") ("rust-num-traits" ,rust-num-traits-0.2) ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.8) ("rust-rkyv" ,rust-rkyv-0.7) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-windows-targets" ,rust-windows-targets-0.52)) @@ -12334,7 +13068,7 @@ Encoding Standard.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-windows-bindgen" ,rust-windows-bindgen-0.52)) + ("rust-windows-bindgen" ,rust-windows-bindgen-0.56)) #:features '("unstable-locales") #:tests? #f)) (home-page "https://github.com/chronotope/chrono") @@ -12383,23 +13117,23 @@ Encoding Standard.") Python @code{arrow.humanize}.") (license (list license:expat license:asl2.0)))) -(define-public rust-chrono-tz-0.8 +(define-public rust-chrono-tz-0.9 (package (name "rust-chrono-tz") - (version "0.8.5") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "chrono-tz" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dv0yqhr60wrhm4sdlralqw1jf5plcxc91q6v93hvamzk6gbgmwi")))) + (base32 "1fvicqrlmdsjkrgxr7bxfd62i9w2qi2b6iv4w85av5syvqlqnsck")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.2) + ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.3) ("rust-phf" ,rust-phf-0.11) ("rust-serde" ,rust-serde-1) ("rust-uncased" ,rust-uncased-0.9)) @@ -12407,12 +13141,37 @@ Python @code{arrow.humanize}.") (("rust-chrono" ,rust-chrono-0.4) ("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/chronotope/chrono-tz") - (synopsis "TimeZone implementations for rust-chrono from the IANA database") + (synopsis "TimeZone implementations for chrono from the IANA database") (description "Chrono-TZ is a library that provides implementors of the TimeZone trait for @code{rust-chrono}.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-0.8 + (package + (inherit rust-chrono-tz-0.9) + (name "rust-chrono-tz") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dv0yqhr60wrhm4sdlralqw1jf5plcxc91q6v93hvamzk6gbgmwi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.2) + ("rust-phf" ,rust-phf-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde-test" ,rust-serde-test-1)))))) + (define-public rust-chrono-tz-0.6 (package (inherit rust-chrono-tz-0.8) @@ -12458,17 +13217,17 @@ for @code{rust-chrono}.") ("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-chrono-tz-build-0.2 +(define-public rust-chrono-tz-build-0.3 (package (name "rust-chrono-tz-build") - (version "0.2.1") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "chrono-tz-build" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03rmzd69cn7fp0fgkjr5042b3g54s2l941afjm3001ls7kqkjgj3")))) + (base32 "1c8ixwwwsn9kgs1dr5mz963p0fgw9j9p7fzb3w2c7y8xhkp8l20c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12479,11 +13238,31 @@ for @code{rust-chrono}.") ("rust-uncased" ,rust-uncased-0.9)))) (home-page "https://github.com/chronotope/chrono-tz") (synopsis "Internal build script for chrono-tz Rust package") - (description - "This package contains the internal build script for -chrono-tz Rust crate.") + (description "This package contains the internal build script for +the chrono-tz Rust crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-build-0.2 + (package + (inherit rust-chrono-tz-build-0.3) + (name "rust-chrono-tz-build") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03rmzd69cn7fp0fgkjr5042b3g54s2l941afjm3001ls7kqkjgj3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-regex" ,rust-regex-1) + ("rust-uncased" ,rust-uncased-0.9)))))) + (define-public rust-chrono-tz-build-0.0.3 (package (inherit rust-chrono-tz-build-0.2) @@ -12526,14 +13305,14 @@ recovery.") (define-public rust-ciborium-0.2 (package (name "rust-ciborium") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "ciborium" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09p9gr3jxys51v0fzwsmxym2p7pcz9mhng2xib74lnlfqzv93zgg")))) + "03hgfw4674im1pdqblcp77m7rc8x2v828si5570ga5q9dzyrzrj2")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -12557,14 +13336,14 @@ recovery.") (define-public rust-ciborium-io-0.2 (package (name "rust-ciborium-io") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "ciborium-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0mi6ci27lpz3azksxrvgzl9jc4a3dfr20pjx7y2nkcrjalbikyfd")))) + "0my7s5g24hvp1rs1zd1cxapz94inrvqpdf1rslrvxj8618gfmbq5")))) (build-system cargo-build-system) (home-page "https://github.com/enarx/ciborium") (synopsis "Simplified Read/Write traits") @@ -12576,19 +13355,19 @@ usage.") (define-public rust-ciborium-ll-0.2 (package (name "rust-ciborium-ll") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "ciborium-ll" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0az2vabamfk75m74ylgf6nzqgqgma5yf25bc1ripfg09ri7a5yny")))) + "1n8g4j5rwkfs3rzfi6g1p7ngmz6m5yxsksryzf5k72ll7mjknrjp")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-hex" ,rust-hex-0.4)) - #:cargo-inputs (("rust-ciborium-io" ,rust-ciborium-io-0.2) - ("rust-half" ,rust-half-1)))) + `(#:cargo-inputs (("rust-ciborium-io" ,rust-ciborium-io-0.2) + ("rust-half" ,rust-half-2)) + #:cargo-development-inputs (("rust-hex" ,rust-hex-0.4)))) (home-page "https://github.com/enarx/ciborium") (synopsis "Low-level CBOR codec primitives") (description @@ -12813,27 +13592,44 @@ interoperation between crates in Rust.") (base32 "0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1")))))) -(define-public rust-clap-cargo-0.12 +(define-public rust-clap-cargo-0.14 (package (name "rust-clap-cargo") - (version "0.12.0") + (version "0.14.1") (source (origin (method url-fetch) (uri (crate-uri "clap-cargo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r2f4ad1vpaljrfbyfsv986qiwmll0iask4sdvwllka658s22grq")))) + (base32 "0gmlr0cahj7nfzcqfc16z76rb8ar3nnidm9snx4bi5psrrlymci3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.17) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) ("rust-clap" ,rust-clap-4)))) (home-page "https://github.com/crate-ci/clap-cargo") (synopsis "Re-usable CLI flags for `cargo` plugins") (description "This package provides re-usable CLI flags for `cargo` plugins.") (license (list license:expat license:asl2.0)))) +(define-public rust-clap-cargo-0.12 + (package + (inherit rust-clap-cargo-0.14) + (name "rust-clap-cargo") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-cargo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r2f4ad1vpaljrfbyfsv986qiwmll0iask4sdvwllka658s22grq")))) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.17) + ("rust-clap" ,rust-clap-4)))))) + (define-public rust-clap-complete-command-0.5 (package (name "rust-clap-complete-command") @@ -12864,14 +13660,14 @@ command to Clap.") (define-public rust-clap-complete-fig-4 (package (name "rust-clap-complete-fig") - (version "4.3.1") + (version "4.5.2") (source (origin (method url-fetch) (uri (crate-uri "clap_complete_fig" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17yfrdxy555fv56y0n69r4kgd2iwpq4mgz6k5rn5lc2i1b9y3zlr")))) + "0sy88ybw33ba7qj02caxr9jv03wq1f8rdbrbqw81i5gkiwn1156l")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12879,7 +13675,7 @@ command to Clap.") ("rust-clap-complete" ,rust-clap-complete-4)) #:cargo-development-inputs (("rust-clap" ,rust-clap-4) - ("rust-snapbox" ,rust-snapbox-0.4)))) + ("rust-snapbox" ,rust-snapbox-0.6)))) (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete_fig") (synopsis "Generator library used with clap for Fig completion scripts") (description @@ -12949,14 +13745,14 @@ how to behave across the three main input sources") (define-public rust-clap-derive-4 (package (name "rust-clap-derive") - (version "4.5.4") + (version "4.5.18") (source (origin (method url-fetch) (uri (crate-uri "clap_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r2gs2p10pb435w52xzsgz2mmx5qd3qfkmk29y4mbz9ph11k30aj")))) + (base32 "1ardb26bvcpg72q9myr7yir3a8c83gx7vxk1cccabsd9n73s1ija")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -12993,7 +13789,7 @@ how to behave across the three main input sources") (define-public rust-clap-4 (package (name "rust-clap") - (version "4.5.4") + (version "4.5.18") (source (origin (method url-fetch) @@ -13001,17 +13797,19 @@ how to behave across the three main input sources") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1828wm9qws5gh2xnimnvmp2vria6d6hsxnqmhnm84dwjcxm0dg4h")))) + "1lsxa59bgfxaag1q65ndp801h7vw9dffsly0zzx1mb13nd1nm5dh")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-clap-builder" ,rust-clap-builder-4) ("rust-clap-derive" ,rust-clap-derive-4)) #:cargo-development-inputs - `(("rust-humantime" ,rust-humantime-2) + `(("rust-automod" ,rust-automod-1) + ("rust-clap-cargo" ,rust-clap-cargo-0.14) + ("rust-humantime" ,rust-humantime-2) ("rust-rustversion" ,rust-rustversion-1) ("rust-shlex" ,rust-shlex-1) - ("rust-snapbox" ,rust-snapbox-0.5) + ("rust-snapbox" ,rust-snapbox-0.6) ("rust-trybuild" ,rust-trybuild-1) ("rust-trycmd" ,rust-trycmd-0.15)))) (home-page "https://clap.rs/") @@ -13099,14 +13897,14 @@ Command Line Argument Parser.") (define-public rust-clap-builder-4 (package (name "rust-clap-builder") - (version "4.5.2") + (version "4.5.18") (source (origin (method url-fetch) (uri (crate-uri "clap_builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1d7p4hph4fyhaphkf0v5zv0kq4lz25a9jq2f901yrq3afqp9w4mf")))) + "06wnncyif421qgrkd73hhhfych773avpx903b1nhhd0nsinicwjd")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -13137,28 +13935,26 @@ Command Line Argument Parser.") (define-public rust-clap-complete-4 (package (name "rust-clap-complete") - (version "4.4.8") + (version "4.5.29") (source (origin (method url-fetch) (uri (crate-uri "clap_complete" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05c2x5jb3qf5klsxm9kcmykwjdzl879z3q1f92ia330xqavxrxza")))) + (base32 "13ivddyrv6dsrf5w8ibh59wiyxrhkdgyxhxqf0c8fq2c7w67cdw9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) - ("rust-clap-lex" ,rust-clap-lex-0.6) + ("rust-clap-lex" ,rust-clap-lex-0.7) ("rust-is-executable" ,rust-is-executable-1) - ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-shlex" ,rust-shlex-1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2)) + ("rust-shlex" ,rust-shlex-1)) #:cargo-development-inputs (("rust-clap" ,rust-clap-4) ("rust-completest" ,rust-completest-0.4) ("rust-completest-pty" ,rust-completest-pty-0.5) - ("rust-snapbox" ,rust-snapbox-0.4) - ("rust-trycmd" ,rust-trycmd-0.14)))) + ("rust-snapbox" ,rust-snapbox-0.6) + ("rust-trycmd" ,rust-trycmd-0.15)))) (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete") (synopsis "Generate shell completion scripts for your @code{clap::Command}") (description @@ -13226,15 +14022,17 @@ with Clap to generate Fig completion scripts.") (define-public rust-clap-lex-0.7 (package (name "rust-clap-lex") - (version "0.7.0") + (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "clap_lex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kh1sckgq71kay2rrr149pl9gbsrvyccsq6xm5xpnq0cxnyqzk4q")))) + (base32 "15zcrc2fa6ycdzaihxghf48180bnvzsivhf0fmah24bnnaf76qhl")))) (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-automod" ,rust-automod-1)))) (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex") (synopsis "Command line parser for Clap") (description @@ -13261,14 +14059,14 @@ stream of tokens.") (package (inherit rust-clap-lex-0.6) (name "rust-clap-lex") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "clap_lex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06vcvpvp65qggc5agbirzqk2di00gxg6vazzc3qlwzkw70qxm9id")))))) + "0qgrlq509vr49wq91jh50f9pm5f8lxmv1rcbklxnsg4nprxcaz6d")))))) (define-public rust-clap-lex-0.3 (package @@ -13304,22 +14102,23 @@ stream of tokens.") (define-public rust-clap-mangen-0.2 (package (name "rust-clap-mangen") - (version "0.2.11") + (version "0.2.23") (source (origin (method url-fetch) (uri (crate-uri "clap_mangen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0cbp5cnh25qnd6l6mqs3v6ky524vxyyf7assfzg8ba83v48xkjvb")))) + "1ssfnb9fihhdf3xjlxslhqsrnlc4h8v8vkag4zildspv9pyiax7i")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) ("rust-roff" ,rust-roff-0.2)) #:cargo-development-inputs - (("rust-clap" ,rust-clap-4) - ("rust-snapbox" ,rust-snapbox-0.4)))) + (("rust-automod" ,rust-automod-1) + ("rust-clap" ,rust-clap-4) + ("rust-snapbox" ,rust-snapbox-0.6)))) (home-page "https://github.com/clap-rs/clap/tree/master/clap_mangen") (synopsis "Manpage generator for clap") (description "This package provides a manpage generator for clap.") @@ -13947,18 +14746,26 @@ sets of intervals.") (define-public rust-color-eyre-0.6 (package (name "rust-color-eyre") - (version "0.6.2") + (version "0.6.3") (source (origin (method url-fetch) (uri (crate-uri "color-eyre" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "014j49slcblg6cnsh974k9yjmi1khbm4dpmqdm1zii58rj1parjs")))) + (base32 "1m9shifr9sdw0drszzyhvaq5jysrsiki44bl7m1gfdzj8rg6y52m")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; https://github.com/eyre-rs/eyre/pull/175 + ;; gimli-symbolize was deprecated in backtrace in ~2022 + ;; and was folded into backtrace's std feature set. + (substitute* "Cargo.toml" + ((".*gimli-symbolize.*") "")))))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" - "--skip=test_error_backwards_compatibility") + "--skip=test_error_backwards_compatibility" + "--skip=test_panic_backwards_compatibility") #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-color-spantrace" ,rust-color-spantrace-0.2) ("rust-eyre" ,rust-eyre-0.6) @@ -13974,7 +14781,7 @@ sets of intervals.") ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/yaahc/color-eyre") + (home-page "https://github.com/eyre-rs/eyre") (synopsis "Error report handler for panics") (description "An error report handler for panics and eyre::Reports for colorful, consistent, @@ -13984,14 +14791,14 @@ and well formatted error reports for all kinds of errors.") (define-public rust-color-print-0.3 (package (name "rust-color-print") - (version "0.3.5") + (version "0.3.6") (source (origin (method url-fetch) (uri (crate-uri "color-print" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0p9xlsmpnahxsji2pr73ms14alxwlkr0998fnfqvkfhlzxr871bs")))) + "1h58sxz6nmx7p5q6cp529gnjgpclaks72mkshws8k27k1z347r8y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -14007,21 +14814,21 @@ and well formatted error reports for all kinds of errors.") (define-public rust-color-print-proc-macro-0.3 (package (name "rust-color-print-proc-macro") - (version "0.3.5") + (version "0.3.6") (source (origin (method url-fetch) (uri (crate-uri "color-print-proc-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0gq00lg9irnzag890m85w3j1p8rpmsns2fa48051swka8mk7iqsp")))) + "14yvvhlfsl1zskxl28f4jvwdimkdd8dxgzbgq2kirjzkqn01mzvp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-nom" ,rust-nom-7) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://gitlab.com/yolenoyer/color-print") (synopsis "Implementation for the package color-print") (description "Implementation for the package color-print.") @@ -14051,17 +14858,18 @@ colors.") (define-public rust-color-spantrace-0.2 (package (name "rust-color-spantrace") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "color-spantrace" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kldrjm5j3mzz6c84brxshnzm1qbvjglgg7c4z5xrv29jhymp9qv")))) + (base32 "1hkjgaqixrishwiq3lxxy1d4c3mvlv6avcj3ifwy50p3lyrf2syd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + `(#:cargo-test-flags '("--release" "--" "--skip=test_backwards_compatibility") + #:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) ("rust-owo-colors" ,rust-owo-colors-3) ("rust-tracing-core" ,rust-tracing-core-0.1) ("rust-tracing-error" ,rust-tracing-error-0.2)) @@ -14069,7 +14877,7 @@ colors.") (("rust-ansi-parser" ,rust-ansi-parser-0.8) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/yaahc/color-spantrace") + (home-page "https://github.com/eyre-rs/eyre") (synopsis "Pretty printer for tracing_error::SpanTrace based on color-backtrace") (description @@ -14774,14 +15582,14 @@ Rust compiler.") (define-public rust-completest-0.4 (package (name "rust-completest") - (version "0.4.0") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "completest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hag3094ybxv5m1fcj6mgzg36c6vrywszq8cgynk10cgr90y0ac2")))) + (base32 "1nsxyiz1dnwy2pk5n17lbhiijgcy9rc4g5sr1w2als0kwvzy23a1")))) (build-system cargo-build-system) (home-page "https://github.com/assert-rs/completest") (synopsis "Run completions for your program") @@ -14792,14 +15600,14 @@ Rust compiler.") (define-public rust-completest-pty-0.5 (package (name "rust-completest-pty") - (version "0.5.0") + (version "0.5.5") (source (origin (method url-fetch) (uri (crate-uri "completest-pty" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11fib7yly355yjkzjp8bj5rqvv83xlm7mrkbc6bqyq3zw9r14v9a")))) + (base32 "04s30kz6rvi4d7grx8my5siwmfiv6sm09ib152yj5ccxk4mg5lpv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-completest" ,rust-completest-0.4) @@ -15050,14 +15858,14 @@ capabilities, for example to find out about its colored console abilities.") (define-public rust-concurrent-queue-2 (package (name "rust-concurrent-queue") - (version "2.4.0") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "concurrent-queue" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0qvk23ynj311adb4z7v89wk3bs65blps4n24q8rgl23vjk6lhq6i")))) + "0wrr3mzq2ijdkxwndhf79k952cp4zkz35ray8hvsxl96xrx1k82c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -15065,9 +15873,10 @@ capabilities, for example to find out about its colored console abilities.") ("rust-loom" ,rust-loom-0.7) ("rust-portable-atomic" ,rust-portable-atomic-1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) + (("rust-criterion" ,rust-criterion-0.5) ("rust-easy-parallel" ,rust-easy-parallel-3) - ("rust-fastrand" ,rust-fastrand-2)))) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/smol-rs/concurrent-queue") (synopsis "Concurrent multi-producer multi-consumer queue") (description @@ -16061,14 +16870,14 @@ the standard library.") (define-public rust-copypasta-0.10 (package (name "rust-copypasta") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "copypasta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bk5dby9jyn20d628l0cqjij738q1nqdqp8378f9x7mz951kcdbd")))) + (base32 "0n58sfbahs49ar0qivz1sqz1ixhh1ifgp5bzifjkvabwhqi59f6y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-3) @@ -16076,7 +16885,7 @@ the standard library.") ("rust-objc-foundation" ,rust-objc-foundation-0.1) ("rust-objc-id" ,rust-objc-id-0.1) ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.7) - ("rust-x11-clipboard" ,rust-x11-clipboard-0.8)))) + ("rust-x11-clipboard" ,rust-x11-clipboard-0.9)))) (home-page "https://github.com/alacritty/copypasta") (synopsis "Get and set the contents of the OS-level clipboard") (description @@ -16681,6 +17490,32 @@ to the @code{is_x86_feature_detected!} macro.") (description "This package provides bindings to Google's cpu profiler.") (license license:bsd-2))) +(define-public rust-crabgrind-0.1 + (package + (name "rust-crabgrind") + (version "0.1.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "crabgrind" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06rn7ymna8i2d9sf8krshpffd5wzmk18gfrd5041bvclj71rxsfr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=tests::count_errors" + "--skip=tests::non_simd_call" + "--skip=tests::test_run_mode_under_valgrind" + "--skip=tests::wrong_monitor_command") + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (inputs (list valgrind)) + (home-page "https://github.com/2dav/crabgrind") + (synopsis "Rust bindings to \"Valgrind Client Request\" interface") + (description + "This package provides Rust bindings to \"Valgrind Client Request\" interface.") + (license license:expat))) + (define-public rust-cradle-0.2 (package (name "rust-cradle") @@ -16847,14 +17682,14 @@ to the @code{is_x86_feature_detected!} macro.") (define-public rust-crates-io-0.40 (package (name "rust-crates-io") - (version "0.40.0") + (version "0.40.5") (source (origin (method url-fetch) (uri (crate-uri "crates-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y4f7hjs7wq84qcmfcc5mflp00by9vk2ypkfc1wcz2c8zi6qp58r")))) + (base32 "1hzi7k6vcx1mdns3wmpdw16k8hv67rlg41axpqm252vjfw93y7sw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-curl" ,rust-curl-0.4) @@ -16951,14 +17786,15 @@ final xor value. It has many built-in CRC functions.") (define-public rust-crc32fast-1 (package (name "rust-crc32fast") - (version "1.4.0") + (version "1.4.2") (source (origin (method url-fetch) (uri (crate-uri "crc32fast" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ahy259ypc955l5ak24hdlgllb6vm6y2pvwr6qrlyisbg255m1dk")))) + (base32 + "1czp7vif73b8xslr3c9yxysmh9ws2r8824qda7j47ffs9pcnjxx9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)) @@ -17315,14 +18151,14 @@ criterion.") (define-public rust-critical-section-1 (package (name "rust-critical-section") - (version "1.1.2") - (source (origin - (method url-fetch) - (uri (crate-uri "critical-section" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05pj0pvkdyc9r30xxabam4n8zxdbzxcddr0gdypajcbqjgwgynbh")))) + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "critical-section" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hi289hs8kiyqmhwzsrlqrba559av3bzg71f4bs5mz28cf4hjh7n")))) (build-system cargo-build-system) (home-page "https://github.com/rust-embedded/critical-section") (synopsis "Critical section abstraction") @@ -17332,19 +18168,18 @@ criterion.") (define-public rust-crossbeam-0.8 (package (name "rust-crossbeam") - (version "0.8.2") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "crossbeam" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0b0s0ans81ja6gm7awlaw3k2rqywzmhq4mm9ra8yaak16q6sy098")))) + (base32 "1a5c7yacnk723x0hfycdbl91ks2nxhwbwy46b8y5vyy0gxzcsdqi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8) ("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.9) ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) @@ -17384,17 +18219,18 @@ criterion.") (define-public rust-crossbeam-channel-0.5 (package (name "rust-crossbeam-channel") - (version "0.5.11") + (version "0.5.13") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-channel" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16v48qdflpw3hgdik70bhsj7hympna79q7ci47rw0mlgnxsw2v8p")))) + (base32 "1wkx45r34v7g3wyi3lg2wz536lrrrab4h4hh741shfhr8rlhsj1k")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)) + `(#:cargo-test-flags '("--release" "--" "--skip=select2::main") + #:cargo-inputs (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)) #:cargo-development-inputs (("rust-num-cpus" ,rust-num-cpus-1) ("rust-rand" ,rust-rand-0.8) ("rust-signal-hook" ,rust-signal-hook-0.3)))) @@ -17548,21 +18384,20 @@ message passing.") (define-public rust-crossbeam-queue-0.3 (package (name "rust-crossbeam-queue") - (version "0.3.8") + (version "0.3.11") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-queue" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p9s6n4ckwdgxkb7a8ay9zjzmgc8ppfbxix2vr07rwskibmb7kyi")))) + (base32 "0d8y8y3z48r9javzj67v3p2yfswd278myz1j9vzc4sp7snslc0yz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)) + (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.6)))) + (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils") (synopsis "Concurrent queues in Rust") @@ -17614,14 +18449,14 @@ message passing.") (define-public rust-crossbeam-utils-0.8 (package (name "rust-crossbeam-utils") - (version "0.8.19") + (version "0.8.20") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0iakrb1b8fjqrag7wphl94d10irhbh2fw1g444xslsywqyn3p3i4")))) + (base32 "100fksq5mm1n7zj242cclkw6yf7a4a8ix3lvpfkhxvdhbda9kv12")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -17678,8 +18513,49 @@ message passing.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))))) +(define-public rust-crossfont-0.8 + (package + (name "rust-crossfont") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossfont" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g490ap42qm1258222azy70mmd6b16dk8lza0142bjgk438jhkn4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cocoa" ,rust-cocoa-0.25) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-core-text" ,rust-core-text-20) + ("rust-dwrote" ,rust-dwrote-0.11) + ("rust-foreign-types" ,rust-foreign-types-0.5) + ("rust-freetype-rs" ,rust-freetype-rs-0.36) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-objc" ,rust-objc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-5)))) + (inputs + (list expat fontconfig freetype)) + (native-inputs + (list pkg-config)) + (home-page "https://github.com/alacritty/crossfont") + (synopsis "Native font loading and rasterization") + (description + "Crossfont is a cross-platform Rust library for loading fonts and +rasterizing glyphs, using native font engines whenever possible.") + (license license:asl2.0))) + (define-public rust-crossfont-0.7 (package + (inherit rust-crossfont-0.8) (name "rust-crossfont") (version "0.7.0") (source @@ -17689,7 +18565,6 @@ message passing.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0g09b9rq51v3xdnswmvwpgv3yp2b75lqvx3mv1l864fddqq6b778")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.25) ("rust-core-foundation" ,rust-core-foundation-0.9) @@ -17705,17 +18580,7 @@ message passing.") ("rust-once-cell" ,rust-once-cell-1) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5) - ("rust-winapi" ,rust-winapi-0.3)))) - (inputs - (list expat fontconfig freetype)) - (native-inputs - (list pkg-config)) - (home-page "https://github.com/alacritty/crossfont") - (synopsis "Native font loading and rasterization") - (description - "Crossfont is a cross-platform Rust library for loading fonts and -rasterizing glyphs, using native font engines whenever possible.") - (license license:asl2.0))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-crossfont-0.5 (package @@ -17986,8 +18851,39 @@ abstractions around common WinAPI calls.") #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-crosstermion-0.14 + (package + (name "rust-crosstermion") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crosstermion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i7caxqlz174zj6pll85vp4avhhzzy00vfdivry3v5hq3phgzf1v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansiterm" ,rust-ansiterm-0.12) + ("rust-async-channel" ,rust-async-channel-2) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-ratatui" ,rust-ratatui-0.26) + ("rust-tui-react" ,rust-tui-react-0.23)))) + (home-page "https://github.com/Byron/tui-crates") + (synopsis + "Unification of crossterm and termion behind a common facade") + (description + "The unification of crossterm and termion behind a common facade for use with +feature flags.") + (license license:expat))) + (define-public rust-crosstermion-0.13 (package + (inherit rust-crosstermion-0.14) (name "rust-crosstermion") (version "0.13.0") (source @@ -17997,7 +18893,6 @@ abstractions around common WinAPI calls.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1q877s6rfm4n4amsg79ihxi583lhmlnq57hj9sg1ph2ddyw1a120")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ansiterm" ,rust-ansiterm-0.12) ("rust-async-channel" ,rust-async-channel-2) @@ -18007,11 +18902,6 @@ abstractions around common WinAPI calls.") ("rust-futures-lite" ,rust-futures-lite-2) ("rust-ratatui" ,rust-ratatui-0.25) ("rust-tui-react" ,rust-tui-react-0.22)))) - (home-page "https://github.com/Byron/tui-crates") - (synopsis "Unification of crossterm and termion behind a common facade") - (description - "The unification of crossterm and termion behind a common facade for use with -feature flags.") (license license:expat))) (define-public rust-crosstermion-0.11 @@ -18470,14 +19360,14 @@ use with sct crate.") (define-public rust-ctor-0.2 (package (name "rust-ctor") - (version "0.2.7") + (version "0.2.8") (source (origin (method url-fetch) (uri (crate-uri "ctor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0p289www67xwnxsqgvlh3mzi0zmdysxsqf4cx2kvgfcj96kiladd")))) + "17yxfh3qkj9l6a1rmb8crw8189f1rw4a5m5c2xdy8gigh9j93d7d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -18513,22 +19403,22 @@ use with sct crate.") (define-public rust-ctrlc-3 (package (name "rust-ctrlc") - (version "3.4.1") + (version "3.4.5") (source (origin (method url-fetch) (uri (crate-uri "ctrlc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pyglsl1j3b54mdgv1bkxnvgp823n11pkipxmxabh18rcaymzsc2")))) + (base32 "1lqdhyl8csq8l2011g4w3wjps84w2cmwfn7jhx79ngrgm45apvlh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.27) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + (("rust-nix" ,rust-nix-0.29) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) (home-page "https://github.com/Detegr/rust-ctrlc") (synopsis "Easy Ctrl-C handler for Rust projects") (description @@ -18641,7 +19531,7 @@ requests.") (define-public rust-curl-sys-0.4 (package (name "rust-curl-sys") - (version "0.4.72+curl-8.6.0") + (version "0.4.78+curl-8.11.0") (source (origin (method url-fetch) @@ -18649,7 +19539,7 @@ requests.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1sn97cah732ldcwkw5knm6kh57hx0gfxqmniiwgd2iy42j1xrjr9")) + "1bqyh8rlwhwj937d1md5chpg56ch8mncyldf26b7iiy5861pdv4f")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "curl"))))) @@ -18662,7 +19552,7 @@ requests.") ("rust-libz-sys" ,rust-libz-sys-1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-rustls-ffi" ,rust-rustls-ffi-0.8) + ("rust-rustls-ffi" ,rust-rustls-ffi-0.14) ("rust-vcpkg" ,rust-vcpkg-0.2) ("rust-windows-sys" ,rust-windows-sys-0.52)))) (native-inputs @@ -19565,34 +20455,59 @@ custom derives.") (description "This package provides a d-ary heap.") (license (list license:expat license:asl2.0)))) -(define-public rust-dashmap-5 +(define-public rust-dashmap-6 (package (name "rust-dashmap") - (version "5.5.3") + (version "6.1.0") (source (origin (method url-fetch) (uri (crate-uri "dashmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0miqnlxi501vfbv6mw5jbmzgnj0wjrch3p4abvpd59s9v30lg1wp")))) + (base32 "1kvnw859xvrqyd1lk89na6797yvl5bri4wi9j0viz2a4j54wqhah")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-lock-api" ,rust-lock-api-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-parking-lot-core" ,rust-parking-lot-core-0.9) ("rust-rayon" ,rust-rayon-1) - ("rust-serde" ,rust-serde-1)))) + ("rust-serde" ,rust-serde-1) + ("rust-typesize" ,rust-typesize-0.1)))) (home-page "https://github.com/xacrimon/dashmap") (synopsis "Blazing fast concurrent HashMap for Rust") - (description "This package implements a blazing fast concurrent HashMap -for Rust.") + (description + "This package provides Blazing fast concurrent @code{HashMap} for Rust.") (license license:expat))) +(define-public rust-dashmap-5 + (package + (inherit rust-dashmap-6) + (name "rust-dashmap") + (version "5.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "dashmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0miqnlxi501vfbv6mw5jbmzgnj0wjrch3p4abvpd59s9v30lg1wp")))) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-lock-api" ,rust-lock-api-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot-core" ,rust-parking-lot-core-0.9) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-dashmap-4 (package (inherit rust-dashmap-5) @@ -19881,6 +20796,24 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!") "This crate is a framework for writing D-Bus method handlers (legacy).") (license (list license:asl2.0 license:expat)))) +(define-public rust-dconf-rs-0.3 + (package + (name "rust-dconf-rs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dconf_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12swi0npq88kbdwnc3n324dzknir674agrh13h305876h654cikh")))) + (build-system cargo-build-system) + (home-page "https://github.com/kylecorry31/dconf_rs") + (synopsis "Rust API for interacting with dconf") + (description + "This package provides a Rust API for interacting with dconf.") + (license license:expat))) + (define-public rust-deadpool-0.9 (package (name "rust-deadpool") @@ -20123,22 +21056,37 @@ verifying the contents.") "Decimal floating point arithmetic for Rust.") (license license:asl2.0))) -(define-public rust-defer-0.1 +(define-public rust-defer-0.2 (package (name "rust-defer") - (version "0.1.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "defer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pmcz4av2wvw8zrccmac86dsyy34qlwacdhajp1qjpjx6jk0axk4")))) + (base32 "1s7qig25n27rajvsn013sb8k6bgdv67936yz5dwb37yzr1qp234k")))) (build-system cargo-build-system) (home-page "https://github.com/andrewhickman/defer/") - (synopsis "Utility to defer excecution of code") + (synopsis + "Utility to defer excecution of code") (description - "Utility to defer excecution of code, inspired by go's defer statement.") + "Utility to defer excecution of code, inspired by Go's defer statement.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-defer-0.1 + (package + (inherit rust-defer-0.2) + (name "rust-defer") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "defer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pmcz4av2wvw8zrccmac86dsyy34qlwacdhajp1qjpjx6jk0axk4")))) (license (list license:expat license:asl2.0)))) (define-public rust-defer-drop-1 @@ -20259,14 +21207,15 @@ written in rust.") (define-public rust-deflate64-0.1 (package (name "rust-deflate64") - (version "0.1.6") + (version "0.1.9") (source (origin (method url-fetch) (uri (crate-uri "deflate64" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1aagh5mmyr8p08if33hizqwiq2as90v9smla89nydq6pivsfy766")))) + (base32 + "06scix17pa7wzzfsnhkycpcc6s04shs49cdaxx2k1sl0226jnsfs")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) @@ -20313,14 +21262,14 @@ written in rust.") (define-public rust-defmt-0.3 (package (name "rust-defmt") - (version "0.3.6") + (version "0.3.8") (source (origin (method url-fetch) (uri (crate-uri "defmt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15a53435jpy9jj3g49mxp94g961zslggbin2nd9f2va20wlmaf9r")))) + (base32 "1q79ryg6q1i2nfhs5wcrc018y8sblvsjlryl45qqi2v6c8id57d9")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--features=unstable-test") @@ -20340,14 +21289,14 @@ resource-constrained devices, like micro-controllers.") (define-public rust-defmt-macros-0.3 (package (name "rust-defmt-macros") - (version "0.3.7") + (version "0.3.9") (source (origin (method url-fetch) (uri (crate-uri "defmt-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nmvni24vfrcqaaaa95ag278sfm7sdshw94mkvhi7i1ap6kwgg8q")))) + (base32 "1jrdbwcifbbsx0zmab3cqachai5fj16ralpjplz9pxzixw4z7ag3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -20359,7 +21308,7 @@ resource-constrained devices, like micro-controllers.") #:cargo-development-inputs (("rust-maplit" ,rust-maplit-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-rstest" ,rust-rstest-0.17)))) + ("rust-rstest" ,rust-rstest-0.19)))) (home-page "https://github.com/knurling-rs/defmt") (synopsis "Macros for rust-defmt") (description "This package provides macros for rust-defmt crate") @@ -20455,14 +21404,14 @@ strings.") (define-public rust-deranged-0.3 (package (name "rust-deranged") - (version "0.3.9") + (version "0.3.11") (source (origin (method url-fetch) (uri (crate-uri "deranged" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lqzxgxqa1jdsvh4r7fbckpxvvfr8b819vwzdzd2f166494x0chg")))) + (base32 "1d1ibqqnr5qdrpw8rclwrf1myn3wf0dygl04idf4j2s49ah6yaxl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2) @@ -21062,6 +22011,49 @@ structs and enums.") writing derives macros for enums.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-visitor-0.4 + (package + (name "rust-derive-visitor") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-visitor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17nacybndh0n2ayf0vchcrm5n4k6bmx605ijvax7qw5rhggnawfl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-derive-visitor-macros" ,rust-derive-visitor-macros-0.4)))) + (home-page "https://github.com/nikis05/derive-visitor") + (synopsis "Derive visitor pattern for arbitrary data structures") + (description "Derive visitor pattern for arbitrary data structures.") + (license license:expat))) + +(define-public rust-derive-visitor-macros-0.4 + (package + (name "rust-derive-visitor-macros") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-visitor-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xnyz3vxp2ph0y0h7zmlbvij440m6w2gbwx5n4bfmbzcbyl3jys2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-convert-case" ,rust-convert-case-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/nikis05/derive-visitor") + (synopsis "Macros for derive-visitor package") + (description "Macros for derive-visitor package.") + (license license:expat))) + (define-public rust-derive-where-1 (package (name "rust-derive-where") @@ -21110,6 +22102,42 @@ writing derives macros for enums.") (description "This package provides an Hjson deserializer for Serde.") (license license:expat))) +(define-public rust-detect-desktop-environment-1 + (package + (name "rust-detect-desktop-environment") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "detect-desktop-environment" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1crybsn50nax07zz2sxyi88nfq05yyqicqqa6ni03j8swfxs29yg")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + ''("--release" "--" + "--skip=DesktopEnvironment::from_freedesktop" + "--skip=DesktopEnvironment::from_xdg_name"))) + (home-page "https://github.com/demurgos/detect-desktop-environment") + (synopsis "Autodetect the desktop environment") + (description "This package provides autodetect for the desktop environment.") + (license license:expat))) + +(define-public rust-detect-desktop-environment-0.2 + (package + (inherit rust-detect-desktop-environment-1) + (name "rust-detect-desktop-environment") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "detect-desktop-environment" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0408nmfgb54wqigjpqxwcxy5jp4ni1fjvynqdgpa84svvmhavn11")))) + (arguments '()))) + (define-public rust-detone-1 (package (name "rust-detone") @@ -22119,14 +23147,14 @@ for intentionally leaking memory") (define-public rust-displaydoc-0.2 (package (name "rust-displaydoc") - (version "0.2.4") + (version "0.2.5") (source (origin (method url-fetch) (uri (crate-uri "displaydoc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0p8pyg10csc782qlwx3znr6qx46ni96m1qh597kmyrf6s3s8axa8")))) + "1q0alair462j21iiqwrr21iabkfnb13d6x5w95lkdg21q2xrqdlp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -22151,16 +23179,14 @@ via a doc comment and string interpolation.") (define-public rust-dissimilar-1 (package (name "rust-dissimilar") - (version "1.0.2") + (version "1.0.9") (source - (origin - (method url-fetch) - (uri (crate-uri "dissimilar" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fwa892hcf7y36b8w41p14b3ld3df389y9jpglkbz55vp7s2jjzw")))) + (origin + (method url-fetch) + (uri (crate-uri "dissimilar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bcn4s99ghigd3yadpd7i3gljv5z2hkr07ijvvxvsxmz3yfygy2r")))) (build-system cargo-build-system) (home-page "https://github.com/dtolnay/dissimilar") (synopsis "Diff library with semantic cleanup") @@ -22485,18 +23511,21 @@ from macros.") (define-public rust-document-features-0.2 (package (name "rust-document-features") - (version "0.2.7") + (version "0.2.10") (source (origin (method url-fetch) (uri (crate-uri "document-features" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mv1xg386as8zndw6kdgs4bwxwwlg42srdhkmgf00zz1zirwb4z4")))) + (base32 "182h528pjyv4ppil2pd2nir46qrb393x5kvm4y51yhnjmgm6jsfb")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Needs nightly features. - #:cargo-inputs (("rust-litrs" ,rust-litrs-0.2)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=self_doc" + "--skip=self_doc_with_custom_label") + #:cargo-inputs (("rust-litrs" ,rust-litrs-0.4)))) (home-page "https://slint-ui.com") (synopsis "Extract documentation for feature flags from Cargo.toml") (description "Extract documentation for the feature flags from comments in @@ -22755,14 +23784,14 @@ floating-point primitives to an @code{io::Write}.") (define-public rust-dtparse-2 (package (name "rust-dtparse") - (version "2.0.0") + (version "2.0.1") (source (origin (method url-fetch) (uri (crate-uri "dtparse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fg8h07m0z38c6i556dfmgnhl18i8w37cl235iyfzc9l3kz7r325")))) + (base32 "1mqz4164mc4xyq73c22wf900v8cn4sy63nalrkr5mlr614y41yr3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) @@ -22781,20 +23810,20 @@ Rust.") (package (inherit rust-dtparse-2) (name "rust-dtparse") - (version "1.3.0") + (version "1.5.0") (source (origin (method url-fetch) (uri (crate-uri "dtparse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1awhyy58c28fhr5nvvfpikdzraihichkz3w1mzdg7smyffldi4w2")))) + (base32 "00g423c3nw7ffhnvxlryg5hl721aib4b4dq3alpfib8lq3ims8v8")))) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-rust-decimal" ,rust-rust-decimal-1)) - #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13)))))) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21)))))) (define-public rust-duct-0.13 (package @@ -23653,21 +24682,19 @@ encodings.") (define-public rust-encoding-rs-0.8 (package (name "rust-encoding-rs") - (version "0.8.33") + (version "0.8.34") (source (origin (method url-fetch) (uri (crate-uri "encoding_rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1qa5k4a0ipdrxq4xg9amms9r9pnnfn7nfh2i9m3mw0ka563b6s3j")))) + (base32 "0nagpi1rjqdpvakymwmnlxzq908ncg868lml5b70n08bm82fjpdl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-packed-simd" ,rust-packed-simd-0.3) + (("rust-any-all-workaround" ,rust-any-all-workaround-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) @@ -23703,6 +24730,23 @@ Standard.") "Streaming transcoding for encoding_rs.") (license (list license:asl2.0 license:expat)))) +(define-public rust-endi-1 + (package + (name "rust-endi") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "endi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gxp388g2zzbncp3rdn60wxkr49xbhhx94nl9p4a6c41w4ma7n53")))) + (build-system cargo-build-system) + (home-page "https://github.com/zeenix/endi") + (synopsis "Simple endian-handling library") + (description "This package provides a simple endian-handling library.") + (license license:expat))) + (define-public rust-endian-type-0.1 (package (name "rust-endian-type") @@ -24096,14 +25140,14 @@ convert enum to u8 slice ref.") (define-public rust-enumflags2-0.7 (package (name "rust-enumflags2") - (version "0.7.7") + (version "0.7.10") (source (origin (method url-fetch) (uri (crate-uri "enumflags2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1lhvq084ylw3nvhgv1zyagavkj392zamydh5v6y352zn1l4zahf0")))) + "0g8kmhaqxq44v76wh971biljrgaqbjc8fbyw2d1z3wsnb5zxncnj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -24136,14 +25180,14 @@ convert enum to u8 slice ref.") (define-public rust-enumflags2-derive-0.7 (package (name "rust-enumflags2-derive") - (version "0.7.7") + (version "0.7.10") (source (origin (method url-fetch) (uri (crate-uri "enumflags2_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0iapq76azgkqxby4v117a3jssa9rz7n18vla4i09grc3gngiz6jy")))) + "1s29iqx3gj5l5s19a22lpn0nljhp5l9smqac99126n2qhfhlh3fy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -24508,17 +25552,18 @@ deserialized from environment variables.") (define-public rust-erased-serde-0.4 (package (name "rust-erased-serde") - (version "0.4.1") + (version "0.4.5") (source (origin (method url-fetch) (uri (crate-uri "erased-serde" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02kwm9a115ivksjsgv4l17mryf626yk7g14wq6jx6sz07ycg1nsa")))) + (base32 "13dirfj9972nvk05b20w3xyn3xp1j6qyfp9avhksnkxbcnfkiqi4")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-typeid" ,rust-typeid-1)) #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) ("rust-serde-cbor" ,rust-serde-cbor-0.11) ("rust-serde-derive" ,rust-serde-derive-1) @@ -24905,7 +25950,7 @@ abbreviation for Extended Unique Identifier.") (define-public rust-evdev-0.12 (package (name "rust-evdev") - (version "0.12.1") + (version "0.12.2") (source (origin (method url-fetch) @@ -24913,7 +25958,7 @@ abbreviation for Extended Unique Identifier.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ww35bkqf060nl6x2vfg0frd6ql470c90l2ah68b3mngr3y5kv9b")))) + "19qh6r1z4v8ja6qqigjbg9vckbhlycc6wkqgzfz9fcln7almaq5b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -24998,25 +26043,25 @@ erroneous ioctls, etc.") bindings are available in the @code{evdev} crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-event-listener-4 +(define-public rust-event-listener-5 (package (name "rust-event-listener") - (version "4.0.3") + (version "5.3.1") (source (origin (method url-fetch) (uri (crate-uri "event-listener" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vk4smw1vf871vi76af1zn7w69jg3zmpjddpby2qq91bkg21bck7")))) + (base32 "1fkm6q4hjn61wl52xyqyyxai0x9w0ngrzi0wf1qsf8vhsadvwck0")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-concurrent-queue" ,rust-concurrent-queue-2) - ("rust-parking" ,rust-parking-2) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-portable-atomic" ,rust-portable-atomic-1) - ("rust-portable-atomic-util" ,rust-portable-atomic-util-0.1)) + `(#:cargo-inputs (("rust-concurrent-queue" ,rust-concurrent-queue-2) + ("rust-loom" ,rust-loom-0.7) + ("rust-parking" ,rust-parking-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-portable-atomic-util" ,rust-portable-atomic-util-0.2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-futures-lite" ,rust-futures-lite-2) @@ -25030,6 +26075,31 @@ You can use this crate to turn non-blocking data structures into async or blocking data structures.") (license (list license:asl2.0 license:expat)))) +(define-public rust-event-listener-4 + (package + (inherit rust-event-listener-5) + (name "rust-event-listener") + (version "4.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "event-listener" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vk4smw1vf871vi76af1zn7w69jg3zmpjddpby2qq91bkg21bck7")))) + (arguments + `(#:cargo-inputs + (("rust-concurrent-queue" ,rust-concurrent-queue-2) + ("rust-parking" ,rust-parking-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-portable-atomic-util" ,rust-portable-atomic-util-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-waker-fn" ,rust-waker-fn-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) + (define-public rust-event-listener-3 (package (inherit rust-event-listener-4) @@ -25072,20 +26142,20 @@ blocking data structures.") (("rust-futures" ,rust-futures-0.3) ("rust-waker-fn" ,rust-waker-fn-1)))))) -(define-public rust-event-listener-strategy-0.4 +(define-public rust-event-listener-strategy-0.5 (package (name "rust-event-listener-strategy") - (version "0.4.0") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "event-listener-strategy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lwprdjqp2ibbxhgm9khw7s7y7k4xiqj5i5yprqiks6mnrq4v3lm")))) + (base32 "18f5ri227khkayhv3ndv7yl4rnasgwksl2jhwgafcxzr7324s88g")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-4) + `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-5) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) #:cargo-development-inputs (("rust-futures-lite" ,rust-futures-lite-2) @@ -25095,6 +26165,25 @@ blocking data structures.") (description "This package provides block and poll on event_listener.") (license (list license:asl2.0 license:expat)))) +(define-public rust-event-listener-strategy-0.4 + (package + (inherit rust-event-listener-strategy-0.5) + (name "rust-event-listener-strategy") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "event-listener-strategy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lwprdjqp2ibbxhgm9khw7s7y7k4xiqj5i5yprqiks6mnrq4v3lm")))) + (arguments + `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-4) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) + #:cargo-development-inputs + (("rust-futures-lite" ,rust-futures-lite-2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) + (define-public rust-event-listener-strategy-0.1 (package (inherit rust-event-listener-strategy-0.4) @@ -25379,6 +26468,31 @@ testing.") like Don libes expect.") (license license:expat))) +(define-public rust-extract-map-0.1 + (package + (name "rust-extract-map") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "extract_map" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s695n5yzs7wwyvaphkkscr8lfv7h94xsczg49a9qa37nnd51xxb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gat-lending-iterator" ,rust-gat-lending-iterator-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/GnomedDev/extract_map") + (synopsis "HashMap for memory efficent storage of value types") + (description + "This package provides a @code{HashMap} for memory efficent storage of value +types which contain their own keys.") + (license license:expat))) + (define-public rust-eyeball-0.8 (package (name "rust-eyeball") @@ -25465,32 +26579,29 @@ like Don libes expect.") (define-public rust-eyre-0.6 (package (name "rust-eyre") - (version "0.6.8") + (version "0.6.12") (source (origin (method url-fetch) (uri (crate-uri "eyre" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1sy7x8p74jfx1mvj4ifl0lxkxaqvmswdgdr84y1dqb6055d6nasc")))) + "1v1a3vb9gs5zkwp4jzkcfnpg0gvyp4ifydzx37f4qy14kzcibnbw")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags (list "--release" "--" - "--skip=macros::bail" - "--skip=macros::ensure") - #:cargo-inputs (("rust-indenter" ,rust-indenter-0.3) + `(#:cargo-inputs (("rust-indenter" ,rust-indenter-0.3) ("rust-once-cell" ,rust-once-cell-1) - ("rust-pyo3" ,rust-pyo3-0.13)) + ("rust-pyo3" ,rust-pyo3-0.20)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-backtrace" ,rust-backtrace-0.3) ("rust-futures" ,rust-futures-0.3) - ("rust-pyo3" ,rust-pyo3-0.13) + ("rust-pyo3" ,rust-pyo3-0.20) ("rust-rustversion" ,rust-rustversion-1) - ("rust-syn" ,rust-syn-1) + ("rust-syn" ,rust-syn-2) ("rust-thiserror" ,rust-thiserror-1) ("rust-trybuild" ,rust-trybuild-1)))) (native-inputs (list python)) - (home-page "https://github.com/yaahc/eyre") + (home-page "https://github.com/eyre-rs/eyre") (synopsis "Trait object based error handling type") (description "This library provides @code{eyre::Report}, a trait object based error @@ -25562,34 +26673,46 @@ handling type for easy idiomatic error handling and reporting in Rust.") "Crate for mimicking simd crate on stable Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-fallible-collections-0.4 +(define-public rust-fallible-collections-0.5 (package (name "rust-fallible-collections") - (version "0.4.6") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "fallible_collections" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ma7lga3zqbpzrhl76raljc6y69f38mb6j5yhkk6ldkh531wqmrz")))) + (base32 "0x6zmjkmr5ps2riylrrdvnds85qd3i31jmcjvghs76s19p8qaglb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-hashbrown" ,rust-hashbrown-0.12)))) + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14)))) (home-page "https://github.com/vcombey/fallible_collections") (synopsis "Fallible collections implementation in Rust") (description "This library extends the Rust standard collections to return a result when an allocation error occurs, ala -@url{https://github.com/rust-lang/rfcs/blob/master/text/2116-alloc-me-maybe.md,RFC -2116}. The API currently proposes a fallible interface for @code{Vec}, +@url{https://github.com/rust-lang/rfcs/blob/master/text/2116-alloc-me-maybe.md, +RFC 2116}. The API currently proposes a fallible interface for @code{Vec}, @code{Box}, @code{Arc}, @code{Btree} and @code{Rc}, as well as a @code{TryClone} trait which is implemented for primitive Rust traits and a fallible format macro.") (license (list license:expat license:asl2.0)))) +(define-public rust-fallible-collections-0.4 + (package + (inherit rust-fallible-collections-0.5) + (name "rust-fallible-collections") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "fallible_collections" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zf6ir26qbdwlywv9m266n19p6yzqqmi968qy8njc58aiiv6k358")))) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)))))) + (define-public rust-failure-0.1 (package (name "rust-failure") @@ -25944,14 +27067,14 @@ Rust.") (define-public rust-fastrand-2 (package (name "rust-fastrand") - (version "2.0.1") + (version "2.1.1") (source (origin (method url-fetch) (uri (crate-uri "fastrand" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19flpv5zbzpf0rk4x77z4zf25in0brg8l7m304d3yrf47qvwxjr5")))) + (base32 "19nyzdq3ha4g173364y2wijmd6jlyms8qx40daqkxsnl458jmh78")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -26615,6 +27738,28 @@ prime field implementations in rust.") "More ergonomic wrappers around @code{RawFd} and @code{RawHandle}.") (license license:expat))) +(define-public rust-filename-0.1 + (package + (name "rust-filename") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "filename" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s7byy8c939qrm6hsjqq0vicfv6rkxb3yrhslg7zkggyxw1xzr33")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/flier/rust-filename") + (synopsis "Get filename from a raw file descriptor") + (description + "This package provides a way to get the filename from a raw file descriptor.") + (license license:expat))) + (define-public rust-filesize-0.2 (package (name "rust-filesize") @@ -26642,7 +27787,7 @@ sparse files.") (define-public rust-filetime-0.2 (package (name "rust-filetime") - (version "0.2.23") + (version "0.2.25") (source (origin (method url-fetch) @@ -26650,14 +27795,14 @@ sparse files.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1za0sbq7fqidk8aaq9v7m9ms0sv8mmi49g6p5cphpan819q4gr0y")))) + "11l5zr86n5sr6g6k6sqldswk0jzklm0q95rzikxcns0yk0p55h1m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) - ("rust-redox-syscall" ,rust-redox-syscall-0.4) - ("rust-windows-sys" ,rust-windows-sys-0.52)) + ("rust-libredox" ,rust-libredox-0.1) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/alexcrichton/filetime") @@ -26691,6 +27836,30 @@ representation.") ("rust-libc" ,rust-libc-0.2) ("rust-redox-syscall" ,rust-redox-syscall-0.1)))))) +(define-public rust-filetime-creation-0.1 + (package + (name "rust-filetime-creation") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "filetime_creation" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10vk0zwwr91qypkkrhshvlw2zgjfyxhy29d5p15b8wrv5493n9sd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/czy-29/filetime_creation") + (synopsis "Enhanced version of filetime") + (description + "This package provides an enhanced version of filetime, which can set file +creation time on Windows before Rust 1.75.") + (license (list license:expat license:asl2.0)))) + (define-public rust-filetreelist-0.5 (package (name "rust-filetreelist") @@ -26960,8 +28129,31 @@ custom fixed-size hash types.") enumeration-based bit flags in rust.") (license license:asl2.0))) +(define-public rust-flaky-test-0.2 + (package + (name "rust-flaky-test") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (crate-uri "flaky_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nn8hddhl2vaxgfn0j87yrngr9bzlxlncgdd9vy53xyp4cgslv04")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-flaky-test-impl" ,rust-flaky-test-impl-0.2) + ("rust-future-utils" ,rust-futures-util-0.3)))) + (home-page "https://github.com/denoland/flaky_test") + (synopsis "Atttribute macro for running a flaky test multiple times") + (description "This package provides an atttribute macro for running a flaky +test multiple times.") + (license license:expat))) + (define-public rust-flaky-test-0.1 (package + (inherit rust-flaky-test-0.2) (name "rust-flaky-test") (version "0.1.0") (source (origin @@ -26971,16 +28163,39 @@ enumeration-based bit flags in rust.") (sha256 (base32 "14yvm0knhcx0xfwlykir2v198x5bpwf333yrdl2mmkv8n5gdx727")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-flaky-test-impl-0.2 + (package + (name "rust-flaky-test-impl") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (crate-uri "flaky_test_impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1glshs6wa5n229d4abqzijssy4nslyaiw3xlwpd2ymghq84mkqw5")))) + (build-system cargo-build-system) + (arguments + ;; Tests fail with + ;; 3 | use flaky_test::flaky_test; + ;; | ^^^^^^^^^^ use of undeclared crate or module `flaky_test` + `(#:tests? #f + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-flaky-test" ,rust-flaky-test-0.2)))) (home-page "https://github.com/denoland/flaky_test") - (synopsis "Atttribute macro for running a flaky test multiple times") - (description "This package provides an atttribute macro for running a flaky -test multiple times.") + (synopsis "Implementation details of the @code{flaky_test} macro") + (description "This package provides mplementation details of the +@code{flaky_test} macro.") (license license:expat))) (define-public rust-flame-0.2 @@ -27076,14 +28291,14 @@ test multiple times.") (define-public rust-flate2-1 (package (name "rust-flate2") - (version "1.0.28") + (version "1.0.34") (source (origin (method url-fetch) (uri (crate-uri "flate2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03llhsh4gqdirnfxxb9g2w9n0721dyn4yjir3pz7z4vjaxb3yc26")))) + (base32 "1w1nf2ap4q1sq1v6v951011wcvljk449ap7q7jnnjf8hvjs8kdd1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -27091,13 +28306,13 @@ test multiple times.") ("rust-crc32fast" ,rust-crc32fast-1) ("rust-libz-ng-sys" ,rust-libz-ng-sys-1) ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-libz-rs-sys" ,rust-libz-rs-sys-0.3) ("rust-miniz-oxide" ,rust-miniz-oxide-0.7)) #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/alexcrichton/flate2-rs") - (synopsis - "Bindings to miniz.c for DEFLATE compression and decompression") + (home-page "https://github.com/rust-lang/flate2-rs") + (synopsis "Bindings to miniz.c for DEFLATE compression and decompression") (description "Bindings to miniz.c for DEFLATE compression and decompression exposed as Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based @@ -27327,8 +28542,42 @@ collections for equality.") crate.") (license license:asl2.0))) +(define-public rust-flume-0.11 + (package + (name "rust-flume") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "flume" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10girdbqn77wi802pdh55lwbmymy437k7kklnvj12aaiwaflbb2m")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find value `_IS_BIASED` in this scope + #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-nanorand" ,rust-nanorand-0.7) + ("rust-spin" ,rust-spin-0.9)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-futures" ,rust-futures-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio" ,rust-tokio-1) + ("rust-waker-fn" ,rust-waker-fn-1)))) + (home-page "https://github.com/zesterer/flume") + (synopsis "Fast multi-producer channel") + (description + "This package provides a fast multi-producer channel.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-flume-0.10 (package + (inherit rust-flume-0.11) (name "rust-flume") (version "0.10.14") (source @@ -27338,7 +28587,6 @@ crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0xvm1wpzkjvf99jxy9jp3dxw5nipa9blg7j0ngvxj0rl3i2b8mqn")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) @@ -27354,12 +28602,7 @@ crate.") ("rust-futures" ,rust-futures-0.3) ("rust-rand" ,rust-rand-0.8) ("rust-tokio" ,rust-tokio-1) - ("rust-waker-fn" ,rust-waker-fn-1)))) - (home-page "https://github.com/zesterer/flume") - (synopsis "Fast multi-producer channel") - (description - "This package provides a fast multi-producer channel.") - (license (list license:asl2.0 license:expat)))) + ("rust-waker-fn" ,rust-waker-fn-1)))))) (define-public rust-flume-0.9 (package @@ -27400,6 +28643,33 @@ implementation that is more efficient for smaller hash keys.") (license (list license:asl2.0 license:expat)))) +(define-public rust-foldhash-0.1 + (package + (name "rust-foldhash") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "foldhash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18in1a8mjcg43pfrdkhwzr0w988zb2bmb6sqwi07snjlkhvcc7pq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-rand" ,rust-rand-0.8) + ("rust-uuid" ,rust-uuid-1)))) + (home-page "https://github.com/orlp/foldhash") + (synopsis "Non-cryptographic, minimally DoS-resistant hashing algorithm") + (description + "This package provides a fast, non-cryptographic, minimally +@code{DoS-resistant} hashing algorithm.") + (license license:zlib))) + (define-public rust-font-kit-0.11 (package (name "rust-font-kit") @@ -27675,18 +28945,17 @@ implementation that is more efficient for smaller hash keys.") (description "Unofficial implementation of Apache Arrow spec in safe Rust.") (license license:expat))) -(define-public rust-fork-0.1 +(define-public rust-fork-0.2 (package (name "rust-fork") - (version "0.1.22") + (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "fork" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "124fbfwqka5xh2jndmlpgbl2ya7a9yf7q6adxvkja510b5xajb5z")))) + (base32 "0vb5557b03ghb1xmn86w9v57k5zjy2g475769xzw58845qq8pp05")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) @@ -27698,6 +28967,22 @@ implementation that is more efficient for smaller hash keys.") the controling terminal (daemon) using the fork and setsid syscalls.") (license license:bsd-3))) +(define-public rust-fork-0.1 + (package + (inherit rust-fork-0.2) + (name "rust-fork") + (version "0.1.22") + (source + (origin + (method url-fetch) + (uri (crate-uri "fork" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "124fbfwqka5xh2jndmlpgbl2ya7a9yf7q6adxvkja510b5xajb5z")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-form-urlencoded-1 (package (name "rust-form-urlencoded") @@ -27776,23 +29061,22 @@ values to other threads.") (description "This package provides bindings for Freetype used by Servo.") (license (list license:asl2.0 license:expat)))) -(define-public rust-freetype-rs-0.32 +(define-public rust-freetype-rs-0.37 (package (name "rust-freetype-rs") - (version "0.32.0") + (version "0.37.0") (source (origin (method url-fetch) (uri (crate-uri "freetype-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q54jimjgzwdb3xsp7rsvdmp6w54cak7bvc379mdabc2ciz3776m")))) + (base32 "05albg00302i1w4fxijb5wil7bdnn4gcknw20q2df2azj8dzilfi")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-freetype-sys" ,rust-freetype-sys-0.17) - ("rust-libc" ,rust-libc-0.2)) + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-freetype-sys" ,rust-freetype-sys-0.21) + ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))) (inputs @@ -27802,6 +29086,64 @@ values to other threads.") (description "This package provides bindings for FreeType font library.") (license license:expat))) +(define-public rust-freetype-rs-0.36 + (package + (inherit rust-freetype-rs-0.37) + (name "rust-freetype-rs") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "freetype-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05rbdl18ks2rb0kz7giwpcv7k1hfg19hbp406l9h95m0dkixwhjl")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-freetype-sys" ,rust-freetype-sys-0.20) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))))) + +(define-public rust-freetype-rs-0.35 + (package + (inherit rust-freetype-rs-0.37) + (name "rust-freetype-rs") + (version "0.35.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "freetype-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gzfb9fax3d3s691ys99nfihpzwl7hacvxnwvlxg4sph1fzd5ymi")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-freetype-sys" ,rust-freetype-sys-0.20) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))))) + +(define-public rust-freetype-rs-0.32 + (package + (inherit rust-freetype-rs-0.35) + (name "rust-freetype-rs") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "freetype-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q54jimjgzwdb3xsp7rsvdmp6w54cak7bvc379mdabc2ciz3776m")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-freetype-sys" ,rust-freetype-sys-0.17) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))))) + (define-public rust-freetype-rs-0.26 (package (inherit rust-freetype-rs-0.32) @@ -27821,25 +29163,22 @@ values to other threads.") ("rust-freetype-sys" ,rust-freetype-sys-0.13) ("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-freetype-sys-0.17 +(define-public rust-freetype-sys-0.21 (package (name "rust-freetype-sys") - (version "0.17.0") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "freetype-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "127z6hbsfhsw0fg110zy9s65fzald0cvwbxmhk1vxmmsdk54hcb4")) + (base32 "1bsmjhjb26hzpzhj82c9196m0ls5m43zkgmqp67ambwjk6ylmf6x")) (snippet #~(begin (use-modules (guix build utils)) (delete-file-recursively "freetype2") ;; Inspired by Debian's patch for bzip2-sys. - (substitute* "Cargo.toml.orig" - (("cc = .*") "pkg-config = \"0.3\"\n")) - (copy-file "Cargo.toml.orig" "Cargo.toml") (delete-file "build.rs") (with-output-to-file "build.rs" (lambda _ @@ -27848,9 +29187,9 @@ values to other threads.") }~%"))))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) (inputs (list freetype)) (home-page "https://github.com/PistonDevelopers/freetype-sys") @@ -27859,6 +29198,65 @@ values to other threads.") "This package provides low level binding for FreeType font library.") (license license:expat))) +(define-public rust-freetype-sys-0.20 + (package + (inherit rust-freetype-sys-0.21) + (name "rust-freetype-sys") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "freetype-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d5iiv95ap3lwy7b0hxbc8caa9ng1fg3wlwrvb7rld39jrdxqzhf")) + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "freetype2") + ;; Inspired by Debian's patch for bzip2-sys. + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=freetype\");~@ + }~%"))))))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-freetype-sys-0.17 + (package + (inherit rust-freetype-sys-0.20) + (name "rust-freetype-sys") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "freetype-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "127z6hbsfhsw0fg110zy9s65fzald0cvwbxmhk1vxmmsdk54hcb4")) + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "freetype2") + ;; Inspired by Debian's patch for bzip2-sys. + (substitute* "Cargo.toml.orig" + (("cc = .*") "pkg-config = \"0.3\"\n")) + (copy-file "Cargo.toml.orig" "Cargo.toml") + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=freetype\");~@ + }~%"))))))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-freetype-sys-0.13 (package (inherit rust-freetype-sys-0.17) @@ -29213,6 +30611,25 @@ derived from an internal hasher used in FireFox and Rustc.") time, for nonorderable alphabets.") (license (list license:expat license:asl2.0)))) +(define-public rust-gat-lending-iterator-0.1 + (package + (name "rust-gat-lending-iterator") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "gat-lending-iterator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1is3jhr615ip1jiiwwh727xswilxssp8b58cgahgq5k20ms13by9")))) + (build-system cargo-build-system) + (home-page "https://github.com/Crazytieguy/gat-lending-iterator") + (synopsis "Library for iterators who's items can reference the iterator") + (description + "This package provides a library for iterators who's items can mutably +reference the iterator.") + (license license:expat))) + (define-public rust-gat-std-0.1 (package (name "rust-gat-std") @@ -29654,14 +31071,14 @@ platforms.") (define-public rust-getrandom-0.2 (package (name "rust-getrandom") - (version "0.2.12") + (version "0.2.15") (source (origin (method url-fetch) (uri (crate-uri "getrandom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1d8jb9bv38nkwlqqdjcav6gxckgwc9g30pm3qq506rvncpm9400r")))) + (base32 "1mzlnrb3dgyd1fb84gvw10pyr8wdqdl4ry4sr64i1s8an66pqmn4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -29912,17 +31329,17 @@ permitted in ordinary Rust.") ;; Either license can be chosen at the users option. (license (list license:expat license:asl2.0)))) -(define-public rust-gimli-0.28 +(define-public rust-gimli-0.31 (package (name "rust-gimli") - (version "0.28.1") + (version "0.31.0") (source (origin (method url-fetch) (uri (crate-uri "gimli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2")))) + (base32 "0r1d55xdi1k2l5ah9p0n23i93pm47cl8apjm8rwgqd1j7yi5w21j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -29940,18 +31357,41 @@ permitted in ordinary Rust.") debugging format.") (license (list license:expat license:asl2.0)))) +(define-public rust-gimli-0.28 + (package + (inherit rust-gimli-0.31) + (name "rust-gimli") + (version "0.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gimli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2")))) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)) + #:cargo-development-inputs + (("rust-test-assembler" ,rust-test-assembler-0.1)))))) + (define-public rust-gimli-0.27 (package (inherit rust-gimli-0.28) (name "rust-gimli") - (version "0.27.2") + (version "0.27.3") (source (origin (method url-fetch) (uri (crate-uri "gimli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1d5v6jjchf4872jynjsg5ni4vankm1341bas8qindygb6g9962md")))) + "0bpdnkyzi3vp2r0wglwrncbk451zhp46mdl83f6xj4gsmy20kj5n")))) (arguments `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) @@ -29963,7 +31403,7 @@ debugging format.") #:cargo-development-inputs (("rust-crossbeam" ,rust-crossbeam-0.8) ("rust-getopts" ,rust-getopts-0.2) - ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-memmap2" ,rust-memmap2-0.6) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-object" ,rust-object-0.30) ("rust-rayon" ,rust-rayon-1) @@ -30446,20 +31886,19 @@ shell style patterns.") (define-public rust-globset-0.4 (package (name "rust-globset") - (version "0.4.14") + (version "0.4.15") (source (origin (method url-fetch) (uri (crate-uri "globset" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qab0c1drpybgm4nc92lf8b46x0ap44c9y4k23rndgc5bfdkpnjp")))) + (base32 "06gv8a5mg5q724lhdq4hp6zmv923whzm7mgpkghz3rs6crlcxw8m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) ("rust-bstr" ,rust-bstr-1) - ("rust-fnv" ,rust-fnv-1) ("rust-log" ,rust-log-0.4) ("rust-regex-automata" ,rust-regex-automata-0.4) ("rust-regex-syntax" ,rust-regex-syntax-0.8) @@ -30724,14 +32163,14 @@ language and scheme definition language (sometimes called IDL).") (define-public rust-grep-0.3 (package (name "rust-grep") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (crate-uri "grep" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fa9x7q3l5z0bg91wzw1jfpk5rmh60h8bswbsxjcp1p6q5704avf")))) + (base32 "1rij3x9xi70xmiqgjcp3iib4hrvmgcn22cvgm14xfa2ffd4yg2ih")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-grep-cli" ,rust-grep-cli-0.1) @@ -30753,14 +32192,14 @@ language and scheme definition language (sometimes called IDL).") (package (inherit rust-grep-0.3) (name "rust-grep") - (version "0.2.8") + (version "0.2.13") (source (origin (method url-fetch) (uri (crate-uri "grep" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mw61v132ng0nbz5ygb6jvsx729772803w5bv3zs4i8baq689jsi")))) + (base32 "1i864d726laskszdpm3fdjdcmfipf9d5y4rjhaby6bzg348g0ydx")))) (arguments `(#:cargo-inputs (("rust-grep-cli" ,rust-grep-cli-0.1) @@ -30776,14 +32215,14 @@ language and scheme definition language (sometimes called IDL).") (define-public rust-grep-cli-0.1 (package (name "rust-grep-cli") - (version "0.1.10") + (version "0.1.11") (source (origin (method url-fetch) (uri (crate-uri "grep-cli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09fpb96qly8ipkm5ipg228lvvcxza0kp6x6hqhibdf4s0n67hh7a")))) + (base32 "1h6fwhkbxxvp4wpsh9vr6lms5lpwwcblryi697w7kwh61s7jiwa7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -30828,14 +32267,14 @@ the regex engine it uses pluggable.") (define-public rust-grep-pcre2-0.1 (package (name "rust-grep-pcre2") - (version "0.1.7") + (version "0.1.8") (source (origin (method url-fetch) (uri (crate-uri "grep-pcre2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zwb5acalq7rvy70z4gsarqmrfaqmf9016yvxz5f573434idai02")))) + (base32 "0imybpfr9vpwna4qw30gxp9bs9j52f5152p06ak6x1sz0dp8cvyq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-grep-matcher" ,rust-grep-matcher-0.1) @@ -30852,14 +32291,14 @@ the regex engine it uses pluggable.") (define-public rust-grep-printer-0.2 (package (name "rust-grep-printer") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "grep-printer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cnf70gjnybfql0lmpr32dslb4xhxgc6h0dxwnv3ivla7jh14g3l")))) + (base32 "1zhkw3agp0sy2y37chvg0rylj1xk6kvyr0mbhd6sm4d8wh5124n1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -30882,24 +32321,22 @@ provides standard printing of search results, similar to grep itself.") (package (inherit rust-grep-printer-0.2) (name "rust-grep-printer") - (version "0.1.6") + (version "0.1.7") (source (origin (method url-fetch) (uri (crate-uri "grep-printer" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wnw8khcvris8canv1dp58qh6vph18fml9qsnrsmdpxf9ni73hh5")))) + "0sjsv4v7a88arckc880ns3mbn2y2p38mpnkh9dviznj9ixbm2ig1")))) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-bstr" ,rust-bstr-0.2) + (("rust-base64" ,rust-base64-0.20) + ("rust-bstr" ,rust-bstr-1) ("rust-grep-matcher" ,rust-grep-matcher-0.1) ("rust-grep-searcher" ,rust-grep-searcher-0.1) ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-termcolor" ,rust-termcolor-1)) #:cargo-development-inputs @@ -30908,14 +32345,14 @@ provides standard printing of search results, similar to grep itself.") (define-public rust-grep-regex-0.1 (package (name "rust-grep-regex") - (version "0.1.12") + (version "0.1.13") (source (origin (method url-fetch) (uri (crate-uri "grep-regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0393d2ydvq8qdgss8k7pbnfdns7ramlhxjk7pifdldd8bh9vnj7p")))) + (base32 "0zhzz5hffx30ff7xi3p4m3amg5c4rr2i7a6kdfifg5ijgry19pcy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -30932,14 +32369,14 @@ provides standard printing of search results, similar to grep itself.") (define-public rust-grep-searcher-0.1 (package (name "rust-grep-searcher") - (version "0.1.13") + (version "0.1.14") (source (origin (method url-fetch) (uri (crate-uri "grep-searcher" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m1w35d9wnpv157g0adj3grqw0nkacqxv14mhgc65v4vyvj6llxs")))) + (base32 "1nici6klcniqph272i323rlrwl60vqqk4kb0sq3s3q627x5w3dmr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -31141,6 +32578,44 @@ of gzip files based on the gzip header implementation in the @code{flate2} crate `(#:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1)))))) +(define-public rust-gzp-0.11 + (package + (name "rust-gzp") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gzp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bvvz969c9kpyp7h6ry9mzhk7lb4hj4hpd810n0i26jjk4c5vip7")) + (snippet + #~(begin (use-modules ((guix build utils))) + ;; Switch the default from zlib-ng to zlib. + (substitute* "Cargo.toml" + (("\"deflate_zlib_ng\"") "\"deflate_zlib\"")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-core-affinity" ,rust-core-affinity-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-flume" ,rust-flume-0.10) + ("rust-libdeflater" ,rust-libdeflater-0.12) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-snap" ,rust-snap-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list zlib)) + (home-page "https://github.com/sstadick/gzp") + (synopsis "Parallel compression library") + (description "This package provides a library for parallel compression.") + (license (list license:unlicense license:expat)))) + (define-public rust-half-2 (package (name "rust-half") @@ -31302,6 +32777,46 @@ higher performance on different key space sizes.") ("rust-tiny-http" ,rust-tiny-http-0.11)))) (native-inputs (list protobuf)))) +(define-public rust-hifitime-3 + (package + (name "rust-hifitime") + (version "3.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hifitime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wy256hc7a33sag0hzz64ql1lpg5kvzyyknqpwalzf402bppln3w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--offline" "--" + "--skip=leap_seconds_file::leap_second_fetch" + "--skip=test_leap_seconds_file") + #:cargo-inputs + (("rust-der" ,rust-der-0.7) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tabled" ,rust-tabled-0.15) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-iai" ,rust-iai-0.1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://nyxspace.com/") + (synopsis "Ultra-precise date and time handling in Rust") + (description + "This package provides Ultra-precise date and time handling in Rust for +scientific applications with leap second support.") + (license license:asl2.0))) + (define-public rust-home-0.5 (package (name "rust-home") @@ -31467,8 +32982,44 @@ already-hashed or hash-like data.") "This crate implements an unordered multiset implementation using a hash bag.") (license (list license:expat license:asl2.0)))) +(define-public rust-hashbrown-0.15 + (package + (name "rust-hashbrown") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hashbrown" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1czsvasi3azv2079fcvbhvpisa16w6fi1mfk8zm2c5wbyqdgr6rs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-allocator-api2" ,rust-allocator-api2-0.2) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-equivalent" ,rust-equivalent-1) + ("rust-foldhash" ,rust-foldhash-0.1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bumpalo" ,rust-bumpalo-3) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-fnv" ,rust-fnv-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/rust-lang/hashbrown") + (synopsis "Rust port of Google's SwissTable hash map") + (description + "This package provides a Rust port of Google's @code{SwissTable} hash map.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hashbrown-0.14 (package + (inherit rust-hashbrown-0.15) (name "rust-hashbrown") (version "0.14.3") (source (origin @@ -31484,7 +33035,6 @@ already-hashed or hash-like data.") (substitute* "Cargo.toml" (("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version) (string-append "^" version))))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) @@ -31504,12 +33054,7 @@ already-hashed or hash-like data.") ("rust-rand" ,rust-rand-0.8) ("rust-rayon" ,rust-rayon-1) ("rust-rkyv" ,rust-rkyv-0.7) - ("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://github.com/rust-lang/hashbrown") - (synopsis "Rust port of Google's SwissTable hash map") - (description - "This package provides a Rust port of Google's SwissTable hash map.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-hashbrown-0.13 (package @@ -32034,30 +33579,47 @@ consistent, and reasonably well performing.") `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))))) +(define-public rust-hermit-abi-0.4 + (package + (name "rust-hermit-abi") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hermit-abi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k1zwllx6nfq417hy38x4akw1ivlv68ymvnzyxs76ffgsqcskxpv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Only doc tests, which all fail. + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://github.com/hermit-os/hermit-rs") + (synopsis "Hermit system calls definitions") + (description "This package provides Hermit system calls definitions.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + (define-public rust-hermit-abi-0.3 (package + (inherit rust-hermit-abi-0.4) (name "rust-hermit-abi") - (version "0.3.4") + (version "0.3.9") (source (origin (method url-fetch) (uri (crate-uri "hermit-abi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07v5vbwb9kx0yxgdpx15h38ynpzhaqx5ncriryipypi5707hwgax")))) - (build-system cargo-build-system) + "092hxjbjnq5fmz66grd9plxd0sh6ssg5fhgwwwqbrzgzkjwdycfj")))) (arguments `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) - (home-page "https://github.com/hermitcore/rusty-hermit") - (synopsis "Small interface to call functions from RustyHermit") - (description - "Hermit-abi is small interface to call functions from the unikernel RustyHermit. -It is used to build the target x86_64-unknown-hermit.") - ;; The user can choose either license. - (license (list license:expat license:asl2.0)))) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) (define-public rust-hermit-abi-0.2 (package @@ -32260,6 +33822,26 @@ compile time.") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) +(define-public rust-hex-slice-0.1 + (package + (name "rust-hex-slice") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hex-slice" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k3ck81m9lz5wz3c7qqj3j3m5xa5pr599n41gbq58i91w04a74al")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-suppositions" ,rust-suppositions-0.1)))) + (home-page "https://github.com/cstorey/hex-slice/") + (synopsis "Extends the std::fmt::*Hex traits to slices") + (description + "This package provides extends the std::fmt::*Hex traits to slices.") + (license license:expat))) + (define-public rust-hexf-parse-0.2 (package (name "rust-hexf-parse") @@ -32279,6 +33861,34 @@ float literals. Two functions @code{parse_hexf32} and @code{parse_hexf64} are provided for each type.") (license license:cc0))) +(define-public rust-hidapi-2 + (package + (name "rust-hidapi") + (version "2.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hidapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12ra7lh6fgxs8bya114qd0msbsy3dcvch5iwaxcv71kyygn7df03")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-udev" ,rust-udev-0.8) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (native-inputs (list pkg-config)) + (inputs (list eudev hidapi)) + (home-page "https://github.com/ruabmbua/hidapi-rs") + (synopsis "Rust-y wrapper around @code{hidapi}") + (description "This crate provides a Rust abstraction over the features of +the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") + (license license:expat))) + (define-public rust-hexf-parse-0.1 (package (inherit rust-hexf-parse-0.2) @@ -32292,32 +33902,49 @@ provided for each type.") (sha256 (base32 "1b2h0lvksn8748764x46729ygpz8grack24spin0k29ssmr6yabr")))))) +(define-public rust-hostname-0.4 + (package + (name "rust-hostname") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hostname" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fpjr3vgi64ly1ci8phdqjbha4k22c65c94a9drriiqnmk4cgizr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-windows" ,rust-windows-0.52)) + #:cargo-development-inputs (("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/svartalf/hostname") + (synopsis "Cross-platform system's host name functions") + (description + "This package provides Cross-platform system's host name functions.") + (license license:expat))) + (define-public rust-hostname-0.3 (package + (inherit rust-hostname-0.4) (name "rust-hostname") (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "hostname" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0rz8yf70cvzl3nry71m4bz9w6x4j9kdz3qng6pnwhk2h20z1qwrw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-match-cfg" ,rust-match-cfg-0.1) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.8)))) - (home-page "https://github.com/svartalf/hostname") - (synopsis "Get hostname for Rust") - (description - "Get hostname for Rust.") - (license license:expat))) + (("rust-version-sync" ,rust-version-sync-0.8)))))) (define-public rust-hostname-0.1 (package @@ -32337,6 +33964,24 @@ provided for each type.") (("rust-libc" ,rust-libc-0.2) ("rust-winutil" ,rust-winutil-0.1)))))) +(define-public rust-hostname-validator-1 + (package + (name "rust-hostname-validator") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hostname-validator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qh5sxkckalibc28029ndnfd7w0s8mwvb68d82xbb25gr55acn7m")))) + (build-system cargo-build-system) + (home-page "https://github.com/pop-os/hostname-validator") + (synopsis "Validate hostnames according to IETF RFC 1123") + (description + "This package provides a way to validate hostnames according to IETF RFC 1123.") + (license license:expat))) + (define-public rust-hound-3 (package (name "rust-hound") @@ -32761,6 +34406,24 @@ usable by code.") machines are still at bay.") (license license:expat))) +(define-public rust-human-sort-0.2 + (package + (name "rust-human-sort") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "human-sort" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06b2rj4hd4h4rf3mp5qk89ymlxh5iv3cpmrfgramwvay634hj2hl")))) + (build-system cargo-build-system) + (home-page "https://github.com/paradakh/human-sort") + (synopsis "Human sort (natural sort) implementation") + (description + "This package provides Human sort (natural sort) implementation.") + (license license:expat))) + (define-public rust-humantime-serde-1 (package (name "rust-humantime-serde") @@ -32926,7 +34589,7 @@ SystemTime}}.") (define-public rust-hyprland-0.3 (package (name "rust-hyprland") - (version "0.3.12") + (version "0.3.13") (source (origin (method url-fetch) @@ -32934,7 +34597,7 @@ SystemTime}}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01pvz7bpdwj6ja410mm2flrk43x6cq1xbp11mpf1ngwzi7klmafz")))) + "1s6xi0k93nxi4xgw09k14xxvdygwqc5nr4fk9n4m3m35q0f8yypq")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -32945,13 +34608,13 @@ SystemTime}}.") "--skip=data" "--skip=dispatch") #:cargo-inputs - (("rust-async-net" ,rust-async-net-1) + (("rust-async-net" ,rust-async-net-2) ("rust-async-std" ,rust-async-std-1) ("rust-async-trait" ,rust-async-trait-0.1) ("rust-derive-more" ,rust-derive-more-0.99) ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-futures" ,rust-futures-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-hex" ,rust-hex-0.4) ("rust-hyprland-macros" ,rust-hyprland-macros-0.3) ("rust-lazy-static" ,rust-lazy-static-1) @@ -32961,7 +34624,7 @@ SystemTime}}.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-repr" ,rust-serde-repr-0.1) - ("rust-strum" ,rust-strum-0.25) + ("rust-strum" ,rust-strum-0.26) ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/hyprland-community/hyprland-rs") (synopsis "An unofficial rust wrapper for Hyprland's IPC") @@ -33337,14 +35000,14 @@ let} expressions.") (define-public rust-ignore-0.4 (package (name "rust-ignore") - (version "0.4.22") + (version "0.4.23") (source (origin (method url-fetch) (uri (crate-uri "ignore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wcaqpi6djqgi1brghrdyw4d5qgnwzhqrqyn4mar4vp677gi0s5l")))) + (base32 "0jysggjfmlxbg60vhhiz4pb8jfb7cnq5swdsvxknbs7x18wgv2bd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8) @@ -33440,14 +35103,15 @@ variant of this library is available separately as @code{im}.") (define-public rust-imara-diff-0.1 (package (name "rust-imara-diff") - (version "0.1.5") + (version "0.1.7") (source (origin (method url-fetch) (uri (crate-uri "imara-diff" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f0caw8bizfhrvyvzqix7ffmfnaynlyz7caljs5ipj8gsw51v379")))) + (base32 + "008abq9x276wsak6xl27r309pz1f6li3f82p2qscsi5xaaia37gw")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Do not pull in old copies of rust-gix. @@ -33692,24 +35356,23 @@ a trait for tuples.") (description "The procedural macro used by include_dir.") (license license:expat))) -(define-public rust-include-flate-0.2 +(define-public rust-include-flate-0.3 (package (name "rust-include-flate") - (version "0.2.0") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "include-flate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c5dsx6j9jwrd6calhxdgip85qjy45hc8v1740fr61k46ilibqf2")))) + (base32 "0ghiy1f2ipzw71nggrv6chard023nyjmvq2dyg0qcm39a1kw2jfz")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel - #:cargo-inputs (("rust-include-flate-codegen-exports" - ,rust-include-flate-codegen-exports-0.1) + `(#:tests? #f ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-include-flate-codegen" ,rust-include-flate-codegen-0.2) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libflate" ,rust-libflate-1)))) + ("rust-libflate" ,rust-libflate-2)))) (home-page "https://github.com/SOF3/include-flate") (synopsis "Variant of @code{include_bytes!/include_str!} with compression") (description @@ -33717,6 +35380,25 @@ a trait for tuples.") with compile-time deflation and runtime lazy inflation.") (license license:asl2.0))) +(define-public rust-include-flate-0.2 + (package + (inherit rust-include-flate-0.3) + (name "rust-include-flate") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "include-flate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c5dsx6j9jwrd6calhxdgip85qjy45hc8v1740fr61k46ilibqf2")))) + (arguments + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-include-flate-codegen-exports" + ,rust-include-flate-codegen-exports-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libflate" ,rust-libflate-1)))))) + (define-public rust-include-flate-0.1 (package (inherit rust-include-flate-0.2) @@ -33736,8 +35418,32 @@ with compile-time deflation and runtime lazy inflation.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libflate" ,rust-libflate-1)))))) +(define-public rust-include-flate-codegen-0.2 + (package + (name "rust-include-flate-codegen") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "include-flate-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mz7zyalpn1f53zy12xnbjis93jfh23wy7n6hlxp5gk1c9n28nwc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libflate" ,rust-libflate-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/SOF3/include-flate") + (synopsis "Macro codegen for the @code{include-flate} crate") + (description + "This package provides macro codegen for the @code{include-flate} crate.") + (license license:asl2.0))) + (define-public rust-include-flate-codegen-0.1 (package + (inherit rust-include-flate-codegen-0.2) (name "rust-include-flate-codegen") (version "0.1.4") (source @@ -33747,7 +35453,6 @@ with compile-time deflation and runtime lazy inflation.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1s34ssq0l3d2sn8n3mxmkz3jbm600fbckd0213mjjcgs34a6wz9s")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel #:cargo-inputs @@ -33755,13 +35460,7 @@ with compile-time deflation and runtime lazy inflation.") ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/SOF3/include-flate") - (synopsis "Macro codegen for the @code{include-flate} crate") - (description - "This package provides macro codegen for the @code{include-flate} -crate.") - (license license:asl2.0))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-include-flate-codegen-exports-0.1 (package @@ -33810,14 +35509,14 @@ that efficiently appends and removes common indentation after every newline.") (define-public rust-indexmap-2 (package (name "rust-indexmap") - (version "2.2.5") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "indexmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1x4x9zdqvlkfks3y84dsynh1p8na3nn48nn454s26rqla6fr42vv")))) + "1r87dlvyg04fa9m4m6pkvwsdx54rx471fas66qff40bk5ym01fb8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -33832,7 +35531,7 @@ that efficiently appends and removes common indentation after every newline.") #:cargo-development-inputs (("rust-fnv" ,rust-fnv-1) ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-itertools" ,rust-itertools-0.12) + ("rust-itertools" ,rust-itertools-0.13) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) @@ -34054,14 +35753,14 @@ Rust.") (define-public rust-indoc-2 (package (name "rust-indoc") - (version "2.0.4") + (version "2.0.5") (source (origin (method url-fetch) (uri (crate-uri "indoc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n2z66b0y59rr6v4znpcijc2yd3yg6s40hpzv89yb140mvxnq60y")))) + (base32 "1dgjk49rkmx4kjy07k4b90qb5vl89smgb5rcw02n0q0x9ligaj5j")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -34139,19 +35838,21 @@ at compile time so the leftmost non-space character is in the first column.") "This package provides macros for use with the @code{rust-indoc} package. It is obsolete for indoc versions > 1."))) -(define-public rust-infer-0.2 +(define-public rust-infer-0.15 (package (name "rust-infer") - (version "0.2.3") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "infer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4")))) + (base32 "16d1b83h5m87h6kq4z8kwjrzll5dq6rijg2iz437m008m4nn4cyb")))) (build-system cargo-build-system) - (arguments `(#:tests? #false)) ;missing files + (arguments + `(#:tests? #false ;missing files + #:cargo-inputs (("rust-cfb" ,rust-cfb-0.7)))) (home-page "https://github.com/bojand/infer") (synopsis "Infer file types based on its magic number signature") (description @@ -34159,6 +35860,20 @@ package. It is obsolete for indoc versions > 1."))) signature.") (license license:expat))) +(define-public rust-infer-0.2 + (package + (inherit rust-infer-0.15) + (name "rust-infer") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "infer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b4ziqcv0d1wga5yfqf620dkgzijsdw3ylnzq61bfaxla2d85sb4")))) + (arguments `(#:tests? #false)))) + (define-public rust-inferno-0.11 (package (name "rust-inferno") @@ -34556,14 +36271,14 @@ over in-place and buffer-to-buffer modes of operation.") (define-public rust-insta-1 (package (name "rust-insta") - (version "1.34.0") + (version "1.40.0") (source (origin (method url-fetch) (uri (crate-uri "insta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1z7v6mzm1djv9sn1k9j796xl2i3llwzj82klcz1cybsbwc5n0r2x")) + (base32 "0q5b0ssw8ilj0ni6s2swpd1spv78q5yxp594fxl1i13kg8fa94v5")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -35369,6 +37084,25 @@ whether or not a given path points to an executable file.") stream runs in a TTY.") (license license:expat))) +(define-public rust-is-terminal-polyfill-1 + (package + (name "rust-is-terminal-polyfill") + (version "1.70.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "is_terminal_polyfill" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kwfgglh91z33kl0w5i338mfpa3zs0hidq5j4ny4rmjwrikchhvr")))) + (build-system cargo-build-system) + (home-page "https://github.com/polyfill-rs/is_terminal_polyfill") + (synopsis "Polyfill for `is_terminal` stdlib feature for use with older MSRVs") + (description + "This package provides Polyfill for `is_terminal` stdlib feature for use +with older MSRVs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-is-wsl-0.4 (package (name "rust-is-wsl") @@ -35392,6 +37126,32 @@ stream runs in a TTY.") Windows Subsystem for Linux.") (license license:expat))) +(define-public rust-iso7816-tlv-0.4 + (package + (name "rust-iso7816-tlv") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "iso7816-tlv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0immb18gxx8sycf4k3ks2qxhz8sl8ra5s9wa4a8dccd84j6x4q3n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-untrusted" ,rust-untrusted-0.9)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-static-alloc" ,rust-static-alloc-0.2)))) + (home-page "https://github.com/jkowalsk/iso7816-tlv") + (synopsis + "Tools and utilities for handling TLV data as defined in ISO/IEC 7816-4") + (description + "This package provides tools and utilities for handling TLV data as defined +in ISO/IEC 7816-4.") + (license license:isc))) + (define-public rust-iso8601-0.6 (package (name "rust-iso8601") @@ -35475,25 +37235,26 @@ Windows Subsystem for Linux.") language codes.") (license license:asl2.0))) -(define-public rust-itertools-0.12 +(define-public rust-itertools-0.13 (package (name "rust-itertools") - (version "0.12.1") + (version "0.13.0") (source (origin (method url-fetch) (uri (crate-uri "itertools" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s95jbb3ndj1lvfxyq5wanc0fm0r6hg6q4ngb92qlfdxvci10ads")))) + (base32 "11hiy3qzl643zcigknclh446qb9zlg4dpdzfkjaa9q9fqpgyfgj1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) - ("rust-paste" ,rust-paste-1) - ("rust-permutohedron" ,rust-permutohedron-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7)))) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-paste" ,rust-paste-1) + ("rust-permutohedron" ,rust-permutohedron-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7)))) (home-page "https://github.com/rust-itertools/itertools") (synopsis "Extra iterator adaptors, methods, free functions, and macros") (description @@ -35501,6 +37262,26 @@ language codes.") functions, and macros.") (license (list license:expat license:asl2.0)))) +(define-public rust-itertools-0.12 + (package + (inherit rust-itertools-0.13) + (name "rust-itertools") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "itertools" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s95jbb3ndj1lvfxyq5wanc0fm0r6hg6q4ngb92qlfdxvci10ads")))) + (arguments + `(#:cargo-inputs (("rust-either" ,rust-either-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-paste" ,rust-paste-1) + ("rust-permutohedron" ,rust-permutohedron-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7)))))) + (define-public rust-itertools-0.11 (package (inherit rust-itertools-0.12) @@ -36153,6 +37934,87 @@ strings and byte slices for sets of ASCII characters or bytes.") (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j")))) (arguments `(#:skip-build? #t)))) +(define-public rust-jiff-0.1 + (package + (name "rust-jiff") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "jiff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yrkf8l6w0vy289vh3l2w49p3ayg7wc1cq6ziw93q4m6hs8lhica")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;275 tests fail + #:cargo-inputs (("rust-jiff-tzdb" ,rust-jiff-tzdb-0.1) + ("rust-jiff-tzdb-platform" ,rust-jiff-tzdb-platform-0.1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.9) + ("rust-hifitime" ,rust-hifitime-3) + ("rust-insta" ,rust-insta-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde_json" ,rust-serde-json-1) + ("rust-tabwriter" ,rust-tabwriter-1) + ("rust-time" ,rust-time-0.3) + ("rust-tzfile" ,rust-tzfile-0.1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/BurntSushi/jiff") + (synopsis "Date-time library that provides high level datetime primitives") + (description + "This package provides a date-time library with high-level primitives that +are designed to be difficult to misuse and have reasonable performance. It's +heavily inspired by the Temporal project.") + (license (list license:unlicense license:expat)))) + +(define-public rust-jiff-tzdb-0.1 + (package + (name "rust-jiff-tzdb") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "jiff-tzdb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ls6mpzy0bhckpv681cxlm61cpq21rxldgdrfg3c9iahb1bmwcwi")))) + (build-system cargo-build-system) + (home-page "https://github.com/BurntSushi/jiff/tree/master/jiff-tzdb") + (synopsis "The entire Time Zone Database embedded into your binary") + (description + "This package provides The entire Time Zone Database embedded into your binary.") + (license (list license:unlicense license:expat)))) + +(define-public rust-jiff-tzdb-platform-0.1 + (package + (name "rust-jiff-tzdb-platform") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "jiff-tzdb-platform" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0aa3iwpvvl970180da9y2cisz9liairbqdq42sgyavv2183g0dcq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-jiff-tzdb" ,rust-jiff-tzdb-0.1)))) + (home-page + "https://github.com/BurntSushi/jiff/tree/master/jiff-tzdb-platform") + (synopsis "Entire embeddable Time Zone Database") + (description + "Provides the Time Zone Database for use in your binary on specific platforms.") + (license (list license:unlicense license:expat)))) + (define-public rust-jiter-0.0.6 (package (name "rust-jiter") @@ -36364,26 +38226,22 @@ the jni-bindgen code generator for binding to JVM APIs from Rust.") (define-public rust-jobserver-0.1 (package (name "rust-jobserver") - (version "0.1.28") + (version "0.1.32") (source (origin (method url-fetch) (uri (crate-uri "jobserver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1mji1wis4w76v3issgpah2x3j1k0ybq0cz3qgypg7pkdablscimb")))) + (base32 "1l2k50qmj84x9mn39ivjz76alqmx72jhm12rw33zx9xnpv5xpla8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tokio-core" ,rust-tokio-core-0.1) - ("rust-tokio-process" ,rust-tokio-process-0.2)))) - (home-page "https://github.com/alexcrichton/jobserver-rs") + (("rust-nix" ,rust-nix-0.28) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/rust-lang/jobserver-rs") (synopsis "GNU make jobserver for Rust") (description "An implementation of the GNU make jobserver for Rust.") @@ -37202,6 +39060,25 @@ generated by LALRPOP.") (description "The package provides wrappers for LAPACK (Fortran).") (license (list license:asl2.0 license:expat)))) +(define-public rust-layout-rs-0.1 + (package + (name "rust-layout-rs") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "layout-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a6y7wjc0p7cbawdwa9gkvb1c518697nchbk5aj9r0vc7a5b5pl4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/nadavrot/layout") + (synopsis "graph visualization program") + (description "This package provides a graph visualization program.") + (license license:expat))) + (define-public rust-lazy-bytes-cast-5 (package (name "rust-lazy-bytes-cast") @@ -37270,7 +39147,7 @@ generated by LALRPOP.") (define-public rust-lazy-static-1 (package (name "rust-lazy-static") - (version "1.4.0") + (version "1.5.0") (source (origin (method url-fetch) @@ -37278,14 +39155,15 @@ generated by LALRPOP.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0in6ikhw8mgl33wjv6q6xfrb5b9jr16q8ygjy803fay4zcisvaz2")))) + "1zk6dqqni0193xg6iijh7i3i44sryglwgvx20spdvwk3r6sbrlmv")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-spin" ,rust-spin-0.5)) + `(#:cargo-test-flags + '("--release" "--" "--skip=ui") + #:cargo-inputs (("rust-spin" ,rust-spin-0.9)) #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))) - (inputs - (list rust-spin-0.5)) + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/rust-lang-nursery/lazy-static.rs") (synopsis "Macro for declaring lazily evaluated statics in Rust") (description @@ -37792,14 +39670,14 @@ parser in Rust.") (define-public rust-libc-0.2 (package (name "rust-libc") - (version "0.2.153") + (version "0.2.162") (source (origin (method url-fetch) (uri (crate-uri "libc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw")))) + (base32 "1633a00yyx45kzx9r54fndvr8njsjqyr7zl12mzgsmgyczg8glhq")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -37882,6 +39760,20 @@ exposed as non-streaming buffer operations. It contains bindings for raw deflate, zlib, and gzip data.") (license license:asl2.0))) +(define-public rust-libdeflate-sys-0.12 + (package + (inherit rust-libdeflate-sys-1) + (name "rust-libdeflate-sys") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflate-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11a7nn3p73vw3cnra36vz7mz60wx9jzhzwwji1hbmql5gy0v1xz1")))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) + (define-public rust-libdeflate-sys-0.11 (package (inherit rust-libdeflate-sys-1) @@ -37936,6 +39828,24 @@ deflate, zlib, and gzip data.") for raw deflate, zlib, and gzip data.") (license license:asl2.0))) +(define-public rust-libdeflater-0.12 + (package + (inherit rust-libdeflater-1) + (name "rust-libdeflater") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflater" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cbrdvwhilvmk919izkp5bqgwfa7b8nj2ar9gp67nb345wl667k7")))) + (arguments + `(#:cargo-inputs + (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.12)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-flate2" ,rust-flate2-1)))))) + (define-public rust-libdeflater-0.11 (package (inherit rust-libdeflater-1) @@ -38112,14 +40022,14 @@ algorithm and related formats (ZLIB, GZIP).") (define-public rust-libloading-0.8 (package (name "rust-libloading") - (version "0.8.1") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "libloading" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q812zvfag4m803ak640znl6cf8ngdd0ilzky498r6pwvmvbcwf5")) + (base32 "194dvczq4sifwkzllfmw0qkgvilpha7m5xy90gd6i446vcpz4ya9")) (modules '((guix build utils))) (snippet '(begin (for-each delete-file @@ -38128,10 +40038,11 @@ algorithm and related formats (ZLIB, GZIP).") (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-targets" ,rust-windows-targets-0.48)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-static-assertions" ,rust-static-assertions-1)))) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://github.com/nagisa/rust_libloading/") (synopsis "Safer binding to dynamic library loading utilities") (description "This package provides a safer binding to dynamic library @@ -39035,17 +40946,17 @@ This package contains the protobuf logic.") (description "This package provides Rust bindings for libspa.") (license license:expat))) -(define-public rust-libsqlite3-sys-0.28 +(define-public rust-libsqlite3-sys-0.30 (package (name "rust-libsqlite3-sys") - (version "0.28.0") + (version "0.30.1") (source (origin (method url-fetch) (uri (crate-uri "libsqlite3-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gzwfw0n2wqgaihcgj65wzd3lclfxyy62gixq8sv6z04fi15h40c")))) + (base32 "0jcikvgbj84xc7ikdmpc8m4y5lyqgrb9aqblphwk67kv95xgp69f")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) @@ -39063,6 +40974,28 @@ This package contains the protobuf logic.") "This package provides native Rust bindings to the libsqlite3 library.") (license license:expat))) +(define-public rust-libsqlite3-sys-0.28 + (package + (inherit rust-libsqlite3-sys-0.30) + (name "rust-libsqlite3-sys") + (version "0.28.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gzwfw0n2wqgaihcgj65wzd3lclfxyy62gixq8sv6z04fi15h40c")))) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (define-public rust-libsqlite3-sys-0.27 (package (inherit rust-libsqlite3-sys-0.28) @@ -39218,7 +41151,7 @@ C parser and toolkit developed for the GNOME project.") (define-public rust-libz-sys-1 (package (name "rust-libz-sys") - (version "1.1.8") + (version "1.1.20") (source (origin (method url-fetch) @@ -39226,7 +41159,7 @@ C parser and toolkit developed for the GNOME project.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gqb8nk7j4ngvlcll8plm2fvjwic40p2g4qp20pwry1m74f7c0lp")) + "0wp4i6zl385ilmcqafv61jwsk1mpk6yb8gpws9nwza00x19n9lfj")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/zlib") @@ -39247,26 +41180,28 @@ C parser and toolkit developed for the GNOME project.") (description "This package provides bindings to the system @code{libz} library (also known as zlib).") - (license (list license:asl2.0 - license:expat)))) + (license (list license:asl2.0 license:expat)))) (define-public rust-libz-ng-sys-1 + ;; TODO: Unbundle zlib-ng. (package (name "rust-libz-ng-sys") - (version "1.1.8") - (source (origin - (method url-fetch) - (uri (crate-uri "libz-ng-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wp0aya5hh76h1acspvrrsvq2fl0kyb8dpi6wy0zaswnm6bax6a3")))) + (version "1.1.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-ng-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f54ffm7bzqdvmcxkv2as6ir9bgzhkaq0g1jgwkz2mns04d7adj4")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-cmake" ,rust-cmake-0.1) ("rust-libc" ,rust-libc-0.2)))) + (native-inputs + (list cmake-minimal pkg-config zlib)) (home-page "https://github.com/rust-lang/libz-sys") (synopsis "Low-level bindings to zlib-ng (libz-ng)") (description @@ -39274,6 +41209,43 @@ known as zlib).") high-performance zlib library.") (license (list license:expat license:asl2.0)))) +(define-public rust-libz-rs-sys-0.3 + (package + (name "rust-libz-rs-sys") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-rs-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vsnvkff9i4qxnid1xl7wrmhz8alvqw9z5lnpimpzzgrxr4r56q0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-zlib-rs" ,rust-zlib-rs-0.3)))) + (home-page "https://github.com/trifectatechfoundation/zlib-rs") + (synopsis "Memory-safe zlib implementation written in Rust") + (description + "This package provides a memory-safe zlib implementation written in Rust.") + (license license:zlib))) + +(define-public rust-libz-rs-sys-0.1 + (package + (inherit rust-libz-rs-sys-0.3) + (name "rust-libz-rs-sys") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-rs-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a1vx9gpyc6aizq7d1v76lribxchqkfxc3295a4z7q0b4lil8g6d")))) + (arguments + `(#:tests? #f ; zlib-ng isn't packaged. + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-zlib-rs" ,rust-zlib-rs-0.1)))))) + (define-public rust-lifeguard-0.6 (package (name "rust-lifeguard") @@ -39539,17 +41511,17 @@ facility. Provides a safe interface around the raw system calls allowing user-space programs to perform key manipulation.") (license (list license:asl2.0 license:expat)))) -(define-public rust-linux-raw-sys-0.4 +(define-public rust-linux-raw-sys-0.6 (package (name "rust-linux-raw-sys") - (version "0.4.12") + (version "0.6.5") (source (origin (method url-fetch) (uri (crate-uri "linux-raw-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mhlla3gk1jgn6mrq9s255rvvq8a1w3yk2vpjiwsd6hmmy1imkf4")))) + (base32 "1mv3c1zz51ydcj768zavm8g06gz5jb1p7yigmmif7hz5whdmnf1a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -39559,14 +41531,33 @@ user-space programs to perform key manipulation.") (("rust-libc" ,rust-libc-0.2) ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/sunfishcode/linux-raw-sys") - (synopsis "Generated bindings for Linux APIs") - (description - "This package provides automatically generated bindings for + (synopsis "Generated bindings for Linux's userspace API") + (description "This package provides automatically generated bindings for Linux userspace APIs.") ;; The user can choose either license, or a variant of ASL2.0 with ;; LLVM exception. See COPYRIGHT in the repository. (license (list license:asl2.0 license:expat)))) +(define-public rust-linux-raw-sys-0.4 + (package + (inherit rust-linux-raw-sys-0.6) + (name "rust-linux-raw-sys") + (version "0.4.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "linux-raw-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12gsjgbhhjwywpqcrizv80vrp7p7grsz5laqq773i33wphjsxcvq")))) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-static-assertions" ,rust-static-assertions-1)))))) + (define-public rust-linux-raw-sys-0.3 (package (inherit rust-linux-raw-sys-0.4) @@ -39689,14 +41680,14 @@ Linux userspace APIs.") (define-public rust-libtest-mimic-0.7 (package (name "rust-libtest-mimic") - (version "0.7.0") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "libtest-mimic" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02y7l5bcwli37hl625bp6l0m95mry8cavwj3nkl55zgc8iplq3vz")))) + (base32 "0n4vdf4wz4zglammhdzgwxqal9v1a8gbj6rc4q22jfjvxm2xl2yc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) @@ -39792,11 +41783,43 @@ harness used by @code{rustc --test}.") (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list eudev)) (home-page "https://github.com/dcuddeback/libudev-sys") (synopsis "FFI bindings to libudev") (description "This package provides FFI bindings to libudev.") (license license:expat))) +(define-public rust-libusb1-sys-0.7 + (package + (name "rust-libusb1-sys") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libusb1-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03yfx469d1ldpw2h21hy322f5a0h1ahlgy4s6yjipzy4gbg0l1fs")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "libusb"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=test_get_device_list" + "--skip=test_init_and_exit") + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (inputs (list libusb)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/a1ien/rusb") + (synopsis "FFI bindings for libusb") + (description "This package provides FFI bindings for libusb.") + (license license:expat))) + (define-public rust-listenfd-1 (package (name "rust-listenfd") @@ -40072,10 +42095,35 @@ network interfaces/adapters.") (("rust-scopeguard" ,rust-scopeguard-0.3) ("rust-owning-ref" ,rust-owning-ref-0.4)))))) +(define-public rust-lockfree-object-pool-0.1 + (package + (name "rust-lockfree-object-pool") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "lockfree-object-pool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bjm2g1g1avab86r02jb65iyd7hdi35khn1y81z4nba0511fyx4k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-criterion-plot" ,rust-criterion-plot-0.5) + ("rust-object-pool" ,rust-object-pool-0.5) + ("rust-sharded-slab" ,rust-sharded-slab-0.1)))) + (home-page "https://github.com/EVaillant/lockfree-object-pool") + (synopsis "Thread-safe object pool collection") + (description + "This package provides a thread-safe object pool collection with automatic return +and attach/detach semantics.") + (license license:boost1.0))) + (define-public rust-log-0.4 (package (name "rust-log") - (version "0.4.21") + (version "0.4.22") (source (origin (method url-fetch) @@ -40083,7 +42131,7 @@ network interfaces/adapters.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "074hldq1q8rlzq2s2qa8f25hj4s3gpw71w64vdwzjd01a4g8rvch")))) + "093vs0wkm1rgyykk7fjbqp2lwizbixac1w52gv109p5r4jh0p9x7")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all test files included in release. @@ -40370,17 +42418,17 @@ explosion.") image together with its neighboring pixels.") (license license:expat))) -(define-public rust-lopdf-0.31 +(define-public rust-lopdf-0.32 (package (name "rust-lopdf") - (version "0.31.0") + (version "0.32.0") (source (origin (method url-fetch) (uri (crate-uri "lopdf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0npqs454hz7z8ycldyi154fxmra0vkmp5xbjbzm346sb32vf3j07")))) + (base32 "0aw7diz39z3mk22k0mp7jk7qiaaagfvggzly1baqg2jf4vpf8xg7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) @@ -40408,6 +42456,39 @@ image together with its neighboring pixels.") "This package provides a Rust library for PDF document manipulation.") (license license:expat))) +(define-public rust-lopdf-0.31 + (package + (inherit rust-lopdf-0.32) + (name "rust-lopdf") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lopdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0npqs454hz7z8ycldyi154fxmra0vkmp5xbjbzm346sb32vf3j07")))) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-image" ,rust-image-0.24) + ("rust-itoa" ,rust-itoa-1) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-md5" ,rust-md5-0.7) + ("rust-nom" ,rust-nom-7) + ("rust-pom" ,rust-pom-3) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-time" ,rust-time-0.3) + ("rust-weezl" ,rust-weezl-0.1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-lopdf-0.29 (package (inherit rust-lopdf-0.31) @@ -40551,22 +42632,24 @@ image together with its neighboring pixels.") key-value pairs.") (license (list license:expat license:asl2.0)))) -(define-public rust-lscolors-0.17 +(define-public rust-lscolors-0.19 (package (name "rust-lscolors") - (version "0.17.0") + (version "0.19.0") (source (origin (method url-fetch) (uri (crate-uri "lscolors" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08z5jslgigvnpc1gj2i8r9pi8yn4m0pf8dzf3rk9grdidbzlyc2k")))) + (base32 "115bffi44w028n26vqxyknwn9pzp0axz8839846cg0dl32yg7xam")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-crossterm" ,rust-crossterm-0.27) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-owo-colors" ,rust-owo-colors-4)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/sharkdp/lscolors") (synopsis "Colorize paths using the LS_COLORS environment variable") @@ -40574,6 +42657,24 @@ key-value pairs.") "Colorize paths using the LS_COLORS environment variable.") (license (list license:expat license:asl2.0)))) +(define-public rust-lscolors-0.17 + (package + (inherit rust-lscolors-0.19) + (name "rust-lscolors") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lscolors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08z5jslgigvnpc1gj2i8r9pi8yn4m0pf8dzf3rk9grdidbzlyc2k")))) + (arguments + `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-lscolors-0.16 (package (inherit rust-lscolors-0.17) @@ -40867,6 +42968,79 @@ Server Protocol.") (description "This is the Rust LZ4 sys package.") (license license:expat))) +(define-public rust-rust-lzma-0.5 + (package + (name "rust-rust-lzma") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-lzma" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1njlmh9hq2qg5ssdangwbdkz1lrfj2brf8kfp65k7vmfmr6w0pc9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/fpgaminer/rust-lzma") + (synopsis + "Simple interface for LZMA compression and decompression") + (description + "This package provides Simple interface for LZMA compression and decompression.") + (license license:expat))) + +(define-public rust-lzma-rs-0.3 + (package + (name "rust-lzma-rs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0phif4pnjrn28zcxgz3a7z86hhx5gdajmkrndfw4vrkahd682zi9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-crc" ,rust-crc-3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs + (("rust-rust-lzma" ,rust-rust-lzma-0.5)))) ;; called rust-lzma in crates-io + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/gendx/lzma-rs") + (synopsis "Codec for LZMA, LZMA2 and XZ written in pure Rust") + (description + "This package provides a codec for LZMA, LZMA2 and XZ written in pure Rust.") + (license license:expat))) + +(define-public rust-lzma-rust-0.1 + (package + (name "rust-lzma-rust") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12dj3w2pnvx014pzjl8pc115rldgk6cbc7w6lwg24y2d3xfwzvfm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Only doc tests, which all fail. + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)))) + (home-page "https://github.com/dyz1990/sevenz-rust/tree/main/lzma-rust") + (synopsis "Codec LZMA/LZMA2") + (description + "This package provides LZMA/LZMA2 codec ported from tukaani xz for java'.") + (license license:asl2.0))) + (define-public rust-lzma-sys-0.1 (package (name "rust-lzma-sys") @@ -40921,14 +43095,14 @@ implementation of LZMA and xz stream encoding/decoding.") (define-public rust-lzzzz-1 (package (name "rust-lzzzz") - (version "1.0.4") + (version "1.1.0") (source (origin (method url-fetch) (uri (crate-uri "lzzzz" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g0kmzbbdsv9k4dbaxd0a1k1n3c3lwx5mhg4j5m6wxq440vd2540")))) + (base32 "1ggphn3ca5527jjq778z8hslqgmqymykgwcj63307b62r6hcr55c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1)) @@ -41089,23 +43263,22 @@ lexer.") (define-public rust-magic-crypt-3 (package (name "rust-magic-crypt") - (version "3.1.8") + (version "3.1.13") (source (origin (method url-fetch) (uri (crate-uri "magic-crypt" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jb4m8wqxm2qkg9gcflxa0sg1d33a1a0r876h47njg43h494zjfk")))) + (base32 "0lxh2yr4wynp8k7669hlaca1g2m6smz50pv6a35jsvr9kmgzjhkc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-aes-soft" ,rust-aes-soft-0.6) - ("rust-base64" ,rust-base64-0.13) - ("rust-block-modes" ,rust-block-modes-0.7) + (("rust-aes" ,rust-aes-0.7) + ("rust-base64" ,rust-base64-0.21) + ("rust-block-modes" ,rust-block-modes-0.8) ("rust-crc-any" ,rust-crc-any-2) - ("rust-des" ,rust-des-0.6) + ("rust-des" ,rust-des-0.7) ("rust-digest" ,rust-digest-0.9) ("rust-md-5" ,rust-md-5-0.9) ("rust-sha2" ,rust-sha2-0.9) @@ -41197,22 +43370,21 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, (define-public rust-mailparse-0.14 (package (name "rust-mailparse") - (version "0.14.0") + (version "0.14.1") (source (origin (method url-fetch) (uri (crate-uri "mailparse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1al0yb9wgy26ihd0gm4x1dk9rsv23wrmp2qw1lk4f04cbw7mfmkb")))) + "0mwpkxi41ak8pabknmvj49dpsbs0q6w7w12f0lp49avcjaa6a29d")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Doc tests fail. - #:cargo-inputs + `(#:cargo-inputs (("rust-charset" ,rust-charset-0.1) ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-quoted-printable" ,rust-quoted-printable-0.4)) - #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.14)))) + ("rust-quoted-printable" ,rust-quoted-printable-0.5)) + #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17)))) (home-page "https://github.com/staktrace/mailparse/blob/master/README.md") (synopsis "Simple parser for MIME e-mail messages") (description @@ -41223,20 +43395,23 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, (package (inherit rust-mailparse-0.14) (name "rust-mailparse") - (version "0.13.5") + (version "0.13.8") (source (origin (method url-fetch) (uri (crate-uri "mailparse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qacyzfl3wsl745b92w9gj0mjg43rcwg99l96rmg8l1sq5pm4vy0")))) + "0cka4vpk7dpyx22l3csff8c82wkwkz2py9wrjms5fmc3a257dblc")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=parse_mail") #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-charset" ,rust-charset-0.1) - ("rust-quoted-printable" ,rust-quoted-printable-0.4)))))) + (("rust-charset" ,rust-charset-0.1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-quoted-printable" ,rust-quoted-printable-0.4)) + #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.14)))))) (define-public rust-malloc-buf-1 (package @@ -41858,17 +44033,40 @@ async code in Rust.") "This package provides MaybeUninit for friends of backwards compatibility.") (license (list license:asl2.0 license:expat)))) +(define-public rust-mbox-0.7 + (package + (name "rust-mbox") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "mbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pn67fg52nwi2pk2j1nqlwgh477ygsz3znf6kxkqqkmwmnp45l96")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) + (home-page "https://github.com/kennytm/mbox") + (synopsis "Malloc-based box") + (description + "This package provides malloc-based box. Supports wrapping pointers or +null-terminated strings returned from malloc as a Rust type, which will be +free'd on drop.") + (license license:expat))) + (define-public rust-memchr-2 (package (name "rust-memchr") - (version "2.7.1") + (version "2.7.4") (source (origin (method url-fetch) (uri (crate-uri "memchr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jf1kicqa4vs9lyzj4v4y1p90q0dh87hvhsdd5xvhnp527sw8gaj")))) + (base32 "18z32bhxrax0fnjikv475z7ii718hq457qwmaryixfxsl2qrmjkq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -41990,14 +44188,14 @@ file IO.") (define-public rust-memmap2-0.9 (package (name "rust-memmap2") - (version "0.9.3") + (version "0.9.5") (source (origin (method url-fetch) (uri (crate-uri "memmap2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14kwkwh1cr790dhrdwzyjxp2f5k1jp7w1swc7z38py0vhdbkmza5")))) + (base32 "0krpvvkpg4i3l05cv3q2xk24a1vj5c86gbrli2wzhj1qkpnpwgzx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) @@ -42048,6 +44246,24 @@ file IO.") (("rust-owning-ref" ,rust-owning-ref-0.4) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-memmap2-0.6 + (package + (inherit rust-memmap2-0.9) + (name "rust-memmap2") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wm8avdjma6j3x5fjdqwxcj89h52pzmwanw46xkn9rnz9albna3d")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)) + #:cargo-development-inputs (("rust-owning-ref" ,rust-owning-ref-0.4) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-memmap2-0.5 (package (inherit rust-memmap2-0.7) @@ -42868,18 +45084,51 @@ file's MIME type by its extension.") ("rust-phf-codegen" ,rust-phf-codegen-0.7) ("rust-unicase" ,rust-unicase-1)))))) +(define-public rust-mini-moka-0.10 + (package + (name "rust-mini-moka") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "mini-moka" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00yqhslppnrl2a54rrrp03xb65d2knbb1s5yvs3g6qgjcnmxy9f3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-dashmap" ,rust-dashmap-5) + ("rust-skeptic" ,rust-skeptic-0.13) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tagptr" ,rust-tagptr-0.2) + ("rust-triomphe" ,rust-triomphe-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-skeptic" ,rust-skeptic-0.13) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/moka-rs/mini-moka") + (synopsis "Lighter edition of Moka, a fast and concurrent cache library") + (description + "This package provides a lighter edition of Moka, a fast and concurrent cache +library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-miniflux-api-0.3 (package (name "rust-miniflux-api") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "miniflux_api" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r0bd907v2abv40i0c0xaj87ik4w9d3syn1f4byy0ssv55dw7mdq")))) + (base32 "19lhzn3mmq5iifmld6lr81nx4yj4ll4k76gzpypb21p5b1xag667")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;tests use the network @@ -43068,21 +45317,21 @@ float parser.") (description "Rust bindings for the minimp3 library.") (license license:expat))) -(define-public rust-miniz-oxide-0.7 +(define-public rust-miniz-oxide-0.8 (package (name "rust-miniz-oxide") - (version "0.7.1") + (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "miniz_oxide" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ivl3rbbdm53bzscrd01g60l46lz5krl270487d8lhjvwl5hx0g7")))) + (base32 "1wadxkg6a6z4lr7kskapj5d8pxlx7cp1ifw4daqnkzqjxych5n72")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-adler" ,rust-adler-1) + (("rust-adler2" ,rust-adler2-2) ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) @@ -43095,6 +45344,26 @@ float parser.") streaming API for miniz_oxide.") (license (list license:expat license:zlib license:asl2.0)))) +(define-public rust-miniz-oxide-0.7 + (package + (inherit rust-miniz-oxide-0.8) + (name "rust-miniz-oxide") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "024wv14aa75cvik7005s5y2nfc8zfidddbd7g55g7sjgnzfl18mq")))) + (arguments + `(#:cargo-inputs + (("rust-adler" ,rust-adler-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) + (define-public rust-miniz-oxide-0.6 (package (inherit rust-miniz-oxide-0.7) @@ -43228,27 +45497,26 @@ streaming API for miniz_oxide.") library for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-mio-0.8 +(define-public rust-mio-1 (package (name "rust-mio") - (version "0.8.10") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "mio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02gyaxvaia9zzi4drrw59k9s0j6pa5d1y2kv7iplwjipdqlhngcg")))) + (base32 "1v1cnnn44awxbcfm4zlavwgkvbyg7gp5zzjm8mqf1apkrwflvq40")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs - `(("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-wasi" ,rust-wasi-0.11) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - `(("rust-env-logger" ,rust-env-logger-0.9) - ("rust-rand" ,rust-rand-0.8)))) + `(#:cargo-inputs (("rust-hermit-abi" ,rust-hermit-abi-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-wasi" ,rust-wasi-0.11) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/tokio-rs/mio") (synopsis "Lightweight non-blocking IO") (description @@ -43257,6 +45525,28 @@ APIs and event notification for building I/O apps with as little overhead as possible over the OS abstractions.") (license license:expat))) +(define-public rust-mio-0.8 + (package + (inherit rust-mio-1) + (name "rust-mio") + (version "0.8.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "mio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "034byyl0ardml5yliy1hmvx8arkmn9rv479pid794sm07ia519m4")))) + (arguments + (list #:cargo-inputs + `(("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-wasi" ,rust-wasi-0.11) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + `(("rust-env-logger" ,rust-env-logger-0.9) + ("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-mio-0.7 (package (inherit rust-mio-0.8) @@ -43311,26 +45601,26 @@ possible over the OS abstractions.") ("rust-env-logger" ,rust-env-logger-0.4) ("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-mio-aio-0.8 +(define-public rust-mio-aio-0.9 (package (name "rust-mio-aio") - (version "0.8.0") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "mio-aio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ynga39vd3r7i3bjqsiv8b6b9z8ympby88l7vkk5cvhp6kn3livj")))) + (base32 "1zrp159m5nc1j23awbrn9rmx7c5lh47z9szg65s3zj4h95b0v5wl")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; unresolved import `nix::sys::event` #:cargo-inputs (("rust-mio" ,rust-mio-0.8) - ("rust-nix" ,rust-nix-0.27) + ("rust-nix" ,rust-nix-0.29) ("rust-pin-utils" ,rust-pin-utils-0.1)) #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1) ("rust-mio" ,rust-mio-0.8) - ("rust-nix" ,rust-nix-0.27) + ("rust-nix" ,rust-nix-0.29) ("rust-sysctl" ,rust-sysctl-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/asomers/mio-aio") @@ -43338,6 +45628,29 @@ possible over the OS abstractions.") (description "This package provides POSIX AIO bindings for mio.") (license (list license:expat license:asl2.0)))) +(define-public rust-mio-aio-0.8 + (package + (inherit rust-mio-aio-0.9) + (name "rust-mio-aio") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mio-aio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ynga39vd3r7i3bjqsiv8b6b9z8ympby88l7vkk5cvhp6kn3livj")))) + (arguments + `(#:skip-build? #t ; unresolved import `nix::sys::event` + #:cargo-inputs (("rust-mio" ,rust-mio-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-pin-utils" ,rust-pin-utils-0.1)) + #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-mio" ,rust-mio-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-sysctl" ,rust-sysctl-0.1) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-mio-aio-0.7 (package (inherit rust-mio-aio-0.8) @@ -44094,29 +46407,41 @@ quick compile time, and minimal dependencies.") ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) ("rust-randomize" ,rust-randomize-4)))))) -(define-public rust-nasm-rs-0.2 +(define-public rust-nasm-rs-0.3 (package (name "rust-nasm-rs") - (version "0.2.0") + (version "0.3.0") (source - (origin - (method url-fetch) - (uri (crate-uri "nasm-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) + (origin + (method url-fetch) + (uri (crate-uri "nasm-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nfrmnfvc1rcpghi14zbrdx3x5jr7gl2pv873pn440wyshdzmz0j")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-rayon" ,rust-rayon-1)))) + `(#:cargo-inputs (("rust-jobserver" ,rust-jobserver-0.1)))) (home-page "https://github.com/medek/nasm-rs") (synopsis "Run NASM during your Cargo build") - (description "Run NASM during your Cargo build.") + (description "This package provides NASM during your Cargo build.") (license (list license:expat license:asl2.0)))) +(define-public rust-nasm-rs-0.2 + (package + (inherit rust-nasm-rs-0.3) + (name "rust-nasm-rs") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nasm-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-rayon" ,rust-rayon-1)))))) + (define-public rust-nalgebra-0.32 (package (name "rust-nalgebra") @@ -44849,29 +47174,29 @@ general elements and for numerics.") ("rust-quickcheck" ,rust-quickcheck-0.7) ("rust-rawpointer" ,rust-rawpointer-0.1)))))) -(define-public rust-ndk-0.8 +(define-public rust-ndk-0.9 (package (name "rust-ndk") - (version "0.8.0") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "ndk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dx5yyqh32bi161mipg4br4i33syjidw81qrq0w7mc8hf0ds6xi0")))) + (base32 "1m32zpmi5w1pf3j47k6k5fw395dc7aj8d0mdpsv53lqkprxjxx63")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; ndk-sys only supports compiling for Android + `(#:skip-build? #t ; error: ndk-sys only supports compiling for Android #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-jni" ,rust-jni-0.21) ("rust-jni-sys" ,rust-jni-sys-0.3) ("rust-log" ,rust-log-0.4) - ("rust-ndk-sys" ,rust-ndk-sys-0.5) + ("rust-ndk-sys" ,rust-ndk-sys-0.6) ("rust-num-enum" ,rust-num-enum-0.7) ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/rust-mobile/ndk") @@ -44880,6 +47205,32 @@ general elements and for numerics.") "This package provides safe Rust bindings to the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-0.8 + (package + (inherit rust-ndk-0.9) + (name "rust-ndk") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx5yyqh32bi161mipg4br4i33syjidw81qrq0w7mc8hf0ds6xi0")))) + (arguments + `(#:skip-build? #t ; ndk-sys only supports compiling for Android + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-jni" ,rust-jni-0.21) + ("rust-jni-sys" ,rust-jni-sys-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-ndk-sys" ,rust-ndk-sys-0.5) + ("rust-num-enum" ,rust-num-enum-0.7) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-ndk-0.7 (package (inherit rust-ndk-0.8) @@ -45132,26 +47483,42 @@ general elements and for numerics.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-ndk-sys-0.5 +(define-public rust-ndk-sys-0.6 (package (name "rust-ndk-sys") - (version "0.5.0+25.2.9519653") + (version "0.6.0+11769913") (source (origin (method url-fetch) (uri (crate-uri "ndk-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14bnxww0f17xl8pyn6j5kpkl98snjl9lin8i7qv4zzb0vmlnf6cc")))) + (base32 "0wx8r6pji20if4xs04g73gxl98nmjrfc73z0v6w1ypv6a4qdlv7f")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; ndk-sys only supports compiling for Android + `(#:skip-build? #t ; error: ndk-sys only supports compiling for Android #:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3)))) (home-page "https://github.com/rust-mobile/ndk") (synopsis "FFI bindings for the Android NDK") (description "This package provides FFI bindings for the Android NDK.") (license (list license:expat license:asl2.0)))) +(define-public rust-ndk-sys-0.5 + (package + (inherit rust-ndk-sys-0.6) + (name "rust-ndk-sys") + (version "0.5.0+25.2.9519653") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndk-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14bnxww0f17xl8pyn6j5kpkl98snjl9lin8i7qv4zzb0vmlnf6cc")))) + (arguments + `(#:skip-build? #t ; ndk-sys only supports compiling for Android + #:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3)))))) + (define-public rust-ndk-sys-0.4 (package (inherit rust-ndk-sys-0.5) @@ -46001,8 +48368,44 @@ nitrokey-test crate.") (description "Unified interface for Linux network state querying.") (license license:asl2.0))) +(define-public rust-nix-0.29 + (package + (name "rust-nix") + (version "0.29.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ikvn7s9r2lrfdm3mx1h7nbfjvcc6s9vxdzw7j5xfkd2qdnp9qki")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `nix::sys::aio` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cfg-aliases" ,rust-cfg-aliases-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-pin-utils" ,rust-pin-utils-0.1)) + #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-caps" ,rust-caps-0.5) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-sysctl" ,rust-sysctl-0.4) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/nix-rust/nix") + (synopsis "Rust friendly bindings to *nix APIs") + (description + "Nix seeks to provide friendly bindings to various *nix platform APIs. +The goal is to not provide a 100% unified interface, but to unify what can be +while still providing platform specific APIs.") + (license license:expat))) + (define-public rust-nix-0.28 (package + (inherit rust-nix-0.29) (name "rust-nix") (version "0.28.0") (source @@ -46012,7 +48415,6 @@ nitrokey-test crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--all-features" @@ -46048,14 +48450,7 @@ nitrokey-test crate.") ("rust-rand" ,rust-rand-0.8) ("rust-semver" ,rust-semver-1) ("rust-sysctl" ,rust-sysctl-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/nix-rust/nix") - (synopsis "Rust friendly bindings to *nix APIs") - (description - "Nix seeks to provide friendly bindings to various *nix platform APIs. -The goal is to not provide a 100% unified interface, but to unify what can be -while still providing platform specific APIs.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.27 (package @@ -46995,6 +49390,27 @@ tokens.") (description "Correct by construction non-empty vector.") (license license:expat))) +(define-public rust-nonmax-0.5 + (package + (name "rust-nonmax") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "nonmax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lfvyfz4falgmc9g1cbfi2wkys9wka2nfmdyga87zikf636ml2k1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bindcode" ,rust-bincode-1)))) + (home-page "https://github.com/LPGhatguy/nonmax") + (synopsis "Numeric types that cannot hold maximum values") + (description + "This package provides numeric types that cannot hold maximum values.") + (license (list license:expat license:asl2.0)))) + (define-public rust-noop-proc-macro-0.3 (package (name "rust-noop-proc-macro") @@ -47443,14 +49859,14 @@ notification library.") (define-public rust-ntest-0.9 (package (name "rust-ntest") - (version "0.9.0") + (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "ntest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04pmi0y7rzpkngv7lqw48c2831bn15lg8nkgj9z30i9xnz9cd3ns")))) + "0c03bhsbksx89cvk3maji8mzayvjvdz7pvp5fbv3gad73l53y67v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -47506,14 +49922,14 @@ enhances the built-in library with some useful features.") (define-public rust-ntest-test-cases-0.9 (package (name "rust-ntest-test-cases") - (version "0.9.0") + (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "ntest_test_cases" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08ifw9zhm1l93wh24k8zrk25sj3k9vpw29sfwq4lsvwwf6z36zdy")))) + "14xa1qalxn5lyl0x5ykf2l9sli0xgxp9kgpbd19jwnc8lkrd7l0n")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -47559,14 +49975,14 @@ enhances the built-in library with some useful features.") (define-public rust-ntest-timeout-0.9 (package (name "rust-ntest-timeout") - (version "0.9.0") + (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "ntest_timeout" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1948a5ps329acg8fy2c2dyjgc8f96l0gin271cpl0yjq420lcsq6")))) + "1db3dzgcj2xyr4vcji90mwh8937nvj0mwbrk9adzg5qc34pwkizw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -47774,19 +50190,18 @@ more.") (define-public rust-num-bigint-0.4 (package (name "rust-num-bigint") - (version "0.4.4") + (version "0.4.6") (source (origin (method url-fetch) (uri (crate-uri "num-bigint" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h6d8pd0h7grpva2pa78i7lhvl69kqdq156qcaicpmy3nmcpd3k0")))) + (base32 "1f903zd33i6hkjpsgwhqwi2wffnvkxbn6rv4mkgcjcqi7xr4zr55")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-autocfg" ,rust-autocfg-1) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-quickcheck" ,rust-quickcheck-1) @@ -48740,23 +51155,26 @@ form and deobfuscated locally.") "This package provides a package for loading Wavefront @code{.obj} files.") (license license:asl2.0))) -(define-public rust-object-0.32 +(define-public rust-object-0.36 (package (name "rust-object") - (version "0.32.2") + (version "0.36.4") (source (origin (method url-fetch) (uri (crate-uri "object" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hc4cjwyngiy6k51hlzrlsxgv5z25vv7c2cp0ky1lckfic0259m6")))) + (base32 "02h7k38dwi8rndc3y81n6yjxijbss99p2jm9c0b6ak5c45c1lkq8")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" ;; Not all files are included - "--skip=read::coff::coff_extended_relocations") + "--skip=read::coff::coff_extended_relocations" + "--skip=read::elf::get_buildid_bad_elf" + "--skip=read::elf::get_buildid_less_bad_elf" + "--skip=read::macho::test_go_macho") #:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-crc32fast" ,rust-crc32fast-1) @@ -48766,8 +51184,8 @@ form and deobfuscated locally.") ("rust-memchr" ,rust-memchr-2) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-ruzstd" ,rust-ruzstd-0.5) - ("rust-wasmparser" ,rust-wasmparser-0.118)))) + ("rust-ruzstd" ,rust-ruzstd-0.7) + ("rust-wasmparser" ,rust-wasmparser-0.216)))) (home-page "https://github.com/gimli-rs/object") (synopsis "Unified interface for reading and writing object file formats") (description @@ -48775,18 +51193,47 @@ form and deobfuscated locally.") file formats.") (license (list license:asl2.0 license:expat)))) +(define-public rust-object-0.32 + (package + (inherit rust-object-0.36) + (name "rust-object") + (version "0.32.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hc4cjwyngiy6k51hlzrlsxgv5z25vv7c2cp0ky1lckfic0259m6")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files are included + "--skip=read::coff::coff_extended_relocations") + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-memchr" ,rust-memchr-2) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-ruzstd" ,rust-ruzstd-0.5) + ("rust-wasmparser" ,rust-wasmparser-0.118)))))) + (define-public rust-object-0.30 (package (inherit rust-object-0.32) (name "rust-object") - (version "0.30.3") + (version "0.30.4") (source (origin (method url-fetch) (uri (crate-uri "object" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fdl7qjsz1j9kl3j7f4656fswzrqpyj2kgaizhknmjrx7mfjd1pa")))) + "11f3cfd7b54ij1rwvrp9837nhszjdndxr4f4iyxazkyrhq5nid03")))) (arguments `(#:cargo-test-flags '("--release" "--" @@ -48832,41 +51279,29 @@ file formats.") (package (inherit rust-object-0.29) (name "rust-object") - (version "0.28.2") + (version "0.28.4") (source (origin (method url-fetch) (uri (crate-uri "object" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89")))) + "0964501nlfh806mik3f9v6n05mx74qa0w7byvn0sqpwm5lprhb74")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + (list "--release" "--" + "--skip=read::coff::coff_extended_relocations") #:cargo-inputs - (("rust-compiler-builtins" - ,rust-compiler-builtins-0.1) + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-crc32fast" ,rust-crc32fast-1) ("rust-flate2" ,rust-flate2-1) ("rust-hashbrown" ,rust-hashbrown-0.11) ("rust-indexmap" ,rust-indexmap-1) ("rust-memchr" ,rust-memchr-2) - ("rust-rustc-std-workspace-alloc" - ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" - ,rust-rustc-std-workspace-core-1) - ("rust-wasmparser" ,rust-wasmparser-0.57)) - #:cargo-development-inputs - (("rust-memmap" ,rust-memmap-0.7)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("1.6.\\*") - ,(package-version rust-indexmap-1))) - #t))))))) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-wasmparser" ,rust-wasmparser-0.57)))))) (define-public rust-object-0.27 (package @@ -48892,6 +51327,32 @@ file formats.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-wasmparser" ,rust-wasmparser-0.57)))))) +(define-public rust-object-pool-0.5 + (package + (name "rust-object-pool") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "object-pool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s4d6bap4b4fazz4izgqvrc6si4fdrbz2fdr09hci7nhjrqkx6pf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags ; Skip the doctests. + '("--release" "--lib" "--bins" "--tests") + #:cargo-inputs (("rust-parking-lot" ,rust-parking-lot-0.11)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion-plot" ,rust-criterion-plot-0.4)))) + (home-page "https://github.com/CJP10/object-pool") + (synopsis + "Thread-safe object pool with automatic return and attach/detach semantics") + (description + "This package provides a thread-safe object pool with automatic return and +attach/detach semantics.") + (license (list license:expat license:asl2.0)))) + (define-public rust-object-store-0.9 (package (name "rust-object-store") @@ -49198,15 +51659,14 @@ other crates to create safe wrappers around Oniguruma.") (define-public rust-once-cell-1 (package (name "rust-once-cell") - (version "1.19.0") + (version "1.20.2") (source (origin (method url-fetch) (uri (crate-uri "once_cell" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "14kvw7px5z96dk4dwdm1r9cqhhy2cyj1l5n5b29mynbb8yr15nrz")))) + (base32 "0xb7rw1aqr7pa4z3b00y7786gyf8awx2gca3md73afy76dzgwq8j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -49372,8 +51832,33 @@ the system.") (("rust-pathdiff" ,rust-pathdiff-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-opener-0.7 + (package + (name "rust-opener") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "opener" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10bn0m6pfv9mvv9lky0l48fb6vflx9pkg8sir1aa73gh9mg2x0fh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-dbus" ,rust-dbus-0.9) + ("rust-normpath" ,rust-normpath-1) + ("rust-url" ,rust-url-2) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) + (home-page "https://github.com/Seeker14491/opener") + (synopsis "Open a file or link using the system default program") + (description "This crate provides the ability to open a file or link with +the default program configured on the system.") + (license (list license:expat license:asl2.0)))) + (define-public rust-opener-0.6 (package + (inherit rust-opener-0.7) (name "rust-opener") (version "0.6.1") (source @@ -49388,7 +51873,6 @@ the system.") ;; Don't demand vendored dbus. (substitute* "Cargo.toml" ((".*vendored.*") "")))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -49397,12 +51881,7 @@ the system.") ("rust-url" ,rust-url-2) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.9)))) - (home-page "https://github.com/Seeker14491/opener") - (synopsis "Open a file or link using the system default program") - (description "This crate provides the ability to open a file or link with -the default program configured on the system.") - (license (list license:expat license:asl2.0)))) + (("rust-version-sync" ,rust-version-sync-0.9)))))) (define-public rust-opener-0.5 (package @@ -49423,35 +51902,6 @@ the default program configured on the system.") #:cargo-development-inputs (("rust-version-sync" ,rust-version-sync-0.9)))))) -(define-public rust-openpgp-cert-d-0.1 - (package - (name "rust-openpgp-cert-d") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "openpgp-cert-d" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10sqs3k1cd2yrnbyqrpq0qfslzg3qq7jalspkkqxm9828lp2manc")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-dirs" ,rust-dirs-4) - ("rust-fd-lock" ,rust-fd-lock-3) - ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-assert-fs" ,rust-assert-fs-1) - ("rust-predicates" ,rust-predicates-2)))) - (home-page "https://gitlab.com/sequoia-pgp/pgp-cert-d") - (synopsis "Shared OpenPGP Certificate Directory") - (description "Shared OpenPGP Certificate Directory") - (license license:expat))) - (define-public rust-openssl-macros-0.1 (package (name "rust-openssl-macros") @@ -49572,14 +52022,14 @@ system for OpenSSL.") (define-public rust-openssl-sys-0.9 (package (name "rust-openssl-sys") - (version "0.9.101") + (version "0.9.104") (source (origin (method url-fetch) (uri (crate-uri "openssl-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zwd35nc5bq7m26vjsmja4hxf3fzk389blgpmhpzr3p78krv18nx")) + (base32 "0hf712xcxmycnlc09r8d446b3mwqchsbfrjv374fp7grrc3g7as5")) (snippet #~(begin (use-modules (guix build utils)) @@ -49764,17 +52214,17 @@ framework.") (description "Extends `Option` with additional operations") (license license:mpl2.0))) -(define-public rust-option-operations-0.4 +(define-public rust-option-operations-0.5 (package (name "rust-option-operations") - (version "0.4.1") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "option-operations" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22")))) + "1l13n9487gk6063zzjdwzqbig78n8mh6dxsbiq9nbaxfn5xx49kw")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-paste" ,rust-paste-1)))) @@ -49785,6 +52235,21 @@ framework.") usability when dealing with Rust Options.") (license (list license:expat license:asl2.0)))) +(define-public rust-option-operations-0.4 + (package + (inherit rust-option-operations-0.5) + (name "rust-option-operations") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (crate-uri "option-operations" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22")))) + (arguments + (list #:cargo-inputs `(("rust-paste" ,rust-paste-1)))))) + (define-public rust-option-set-0.2 (package (name "rust-option-set") @@ -49835,26 +52300,27 @@ usability when dealing with Rust Options.") (define-public rust-orbclient-0.3 (package (name "rust-orbclient") - (version "0.3.44") + (version "0.3.48") (source (origin (method url-fetch) (uri (crate-uri "orbclient" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zbn0kckbsa4bk3cik8gpfcir33zw4gsvqmmxya2w4aydkhjk60f")))) + (base32 "0hzxjsvvsl5i9d3aqzc6kdcsch1i6flij5dkignhhkz2qb72c2xs")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Building requires SDL2 inputs. #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) - ("rust-redox-syscall" ,rust-redox-syscall-0.2) + (("rust-libc" ,rust-libc-0.2) + ("rust-libredox" ,rust-libredox-0.1) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) ("rust-sdl2" ,rust-sdl2-0.35) - ("rust-sdl2-sys" ,rust-sdl2-sys-0.35) - ("rust-serde" ,rust-serde-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3)) + ("rust-sdl2-sys" ,rust-sdl2-sys-0.35)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) ("rust-toml" ,rust-toml-0.7)))) @@ -50176,23 +52642,23 @@ under its new name.") (define-public rust-os-info-3 (package (name "rust-os-info") - (version "3.7.0") + (version "3.8.2") (source (origin (method url-fetch) (uri (crate-uri "os_info" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pndk46gl8lnyjb89p0k4bnn9ryxzrqh78pdh0c6ydl8p3al4vh0")))) + (base32 "14hhnnln768z7zhdpc2rhqpmlmcg9y05w27cw6ppr36kdpxcg6df")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)) - #:cargo-inputs + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://github.com/stanislav-tkach/os_info") (synopsis "Detect the operating system type and version") (description @@ -50895,20 +53361,20 @@ sequence alignment library.") executable.") (license (list license:expat license:asl2.0)))) -(define-public rust-papergrid-0.10 +(define-public rust-papergrid-0.11 (package (name "rust-papergrid") - (version "0.10.0") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "papergrid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j6hhk8lgzz53rzrlpxqrsq9gqi7cis445l7m7wn5nxny8avxk52")))) + (base32 "1yzppnq3v1ivwqbrp4f7b13ijxirfykb64072vwngxsf083krm4s")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `testing_table` + `(#:tests? #f ; use of undeclared crate or module `testing_table` #:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) ("rust-ansitok" ,rust-ansitok-0.2) ("rust-bytecount" ,rust-bytecount-0.6) @@ -50917,9 +53383,32 @@ executable.") #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) (home-page "https://github.com/zhiburt/tabled") (synopsis "Core library to print a table") - (description "Papergrid is a core library to print a table.") + (description + "Papergrid is a core library to print a table.") (license license:expat))) +(define-public rust-papergrid-0.10 + (package + (inherit rust-papergrid-0.11) + (name "rust-papergrid") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "papergrid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j6hhk8lgzz53rzrlpxqrsq9gqi7cis445l7m7wn5nxny8avxk52")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testing_table` + #:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-ansitok" ,rust-ansitok-0.2) + ("rust-bytecount" ,rust-bytecount-0.6) + ("rust-fnv" ,rust-fnv-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))))) + (define-public rust-parasailors-0.3 (package (name "rust-parasailors") @@ -51095,17 +53584,20 @@ derive macro for Parity SCALE Codec.") (define-public rust-parking-lot-0.12 (package (name "rust-parking-lot") - (version "0.12.1") + (version "0.12.3") (source (origin (method url-fetch) (uri (crate-uri "parking_lot" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13r2xk7mnxfc5g0g6dkdxqdqad99j7s7z8zhzz4npw5r0g0v4hip")))) + (base32 "09ws9g6245iiq8z975h8ycf818a66q3c6zv4b5h8skpm7hc1igzi")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs + (list #:cargo-test-flags + '(list "--release" "--" + "--skip=issue_392") + #:cargo-inputs `(("rust-lock-api" ,rust-lock-api-0.4) ("rust-parking-lot-core" ,rust-parking-lot-core-0.9)) #:cargo-development-inputs @@ -51264,14 +53756,14 @@ synchronization primitives.") (define-public rust-parking-lot-core-0.9 (package (name "rust-parking-lot-core") - (version "0.9.9") + (version "0.9.10") (source (origin (method url-fetch) (uri (crate-uri "parking_lot_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13h0imw1aq86wj28gxkblhkzx6z1gk8q18n0v76qmmj6cliajhjc")))) + "1y3cf9ld9ijf7i4igwzffcn0xl16dxyn4c5bwgjck1dkgabiyh0y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -51279,10 +53771,10 @@ synchronization primitives.") ("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-redox-syscall" ,rust-redox-syscall-0.4) + ("rust-redox-syscall" ,rust-redox-syscall-0.5) ("rust-smallvec" ,rust-smallvec-1) ("rust-thread-id" ,rust-thread-id-4) - ("rust-windows-targets" ,rust-windows-targets-0.48)))) + ("rust-windows-targets" ,rust-windows-targets-0.52)))) (home-page "https://github.com/Amanieu/parking_lot") (synopsis "API for creating custom synchronization primitives") (description "This package provides an advanced API for creating custom @@ -51892,14 +54384,14 @@ Format (MCF).") (define-public rust-paste-1 (package (name "rust-paste") - (version "1.0.14") + (version "1.0.15") (source (origin (method url-fetch) (uri (crate-uri "paste" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k7d54zz8zrz0623l3xhvws61z5q2wd3hkwim6gylk8212placfy")))) + (base32 "02pxffpdqkapy292harq6asfjvadgp1s005fip9ljfsn9fvxgh2p")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Can't compile rust-paste-test-suite @@ -52176,6 +54668,27 @@ path.") library.") (license license:expat))) +(define-public rust-pcg-mwc-0.2 + (package + (name "rust-pcg-mwc") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcg-mwc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z6cpz8x387iqcx8kjnqfihgggi0yngqx73zwjz132y56f38a5i2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/tkaitchuck/Mwc256XXA64") + (synopsis "Non-cryptographic psudo random number generator") + (description + "This package provides a fast non-cryptographic psudo random number generator.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pciid-parser-0.6 (package (name "rust-pciid-parser") @@ -52204,14 +54717,14 @@ library.") (define-public rust-pcre2-0.2 (package (name "rust-pcre2") - (version "0.2.6") + (version "0.2.9") (source (origin (method url-fetch) (uri (crate-uri "pcre2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19w80j4f87hzdxbh5iilhbmx0vv02aybxr1ximbd7hszxal577ac")))) + (base32 "0avb52h3ppw6kp9ynlw988c745am9j7px2cdsm0la10qmi1mrr9v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) @@ -52228,14 +54741,14 @@ library.") (define-public rust-pcre2-sys-0.2 (package (name "rust-pcre2-sys") - (version "0.2.8") + (version "0.2.9") (source (origin (method url-fetch) (uri (crate-uri "pcre2-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bl6bjivwdpc3di1klymxrbilmpcsvlff7m2ffw6ai1s4nssgf15")) + (base32 "12hxy54i8amdnmcm034hqdc7iryd20n8aqg1hw5w540vzcc5s3sm")) (snippet #~(begin (use-modules (guix build utils)) (delete-file-recursively "upstream"))))) @@ -52251,6 +54764,55 @@ library.") (description "Low level bindings to PCRE2.") (license (list license:expat license:unlicense)))) +(define-public rust-pcsc-2 + (package + (name "rust-pcsc") + (version "2.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcsc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "027a2s8lp6w025aa758s84qszcwkyg92s1mhvplrqzbbh5zrvva5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-pcsc-sys" ,rust-pcsc-sys-1)))) + (native-inputs + (list pkg-config)) + (inputs + (list pcsc-lite)) + (home-page "https://github.com/bluetech/pcsc-rust") + (synopsis "Bindings to the PC/SC API for smart card communication") + (description + "This package provides Bindings to the PC/SC API for smart card communication.") + (license license:expat))) + +(define-public rust-pcsc-sys-1 + (package + (name "rust-pcsc-sys") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcsc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00vlrfv3kcr49ajbzzr1b4ls7g28f97mj9vdjdzick9c1yl9p7mh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs + (list pkg-config)) + (inputs + (list pcsc-lite)) + (home-page "https://github.com/bluetech/pcsc-rust") + (synopsis "Low-level bindings to the PC/SC C API") + (description + "This package provides Low-level bindings to the PC/SC C API.") + (license license:expat))) + (define-public rust-pdcurses-sys-0.7 (package (name "rust-pdcurses-sys") @@ -53958,7 +56520,7 @@ along with strong support for variations and the core header tables.") (define-public rust-pkg-config-0.3 (package (name "rust-pkg-config") - (version "0.3.27") + (version "0.3.31") (source (origin (method url-fetch) @@ -53966,7 +56528,7 @@ along with strong support for variations and the core header tables.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0r39ryh1magcq4cz5g9x88jllsnxnhcqr753islvyk4jp9h2h1r6")))) + "1wk6yp2phl91795ia0lwkr3wl4a9xkrympvhqq8cxk4d75hwhglm")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -54126,21 +56688,20 @@ sourced from the Rust compiler.") (define-public rust-plist-1 (package (name "rust-plist") - (version "1.6.0") + (version "1.7.0") (source (origin (method url-fetch) (uri (crate-uri "plist" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vscdjj7xy1pz80n3lwcg1jhsydcf2nvj4lfxsqs46ixlv49qsg5")))) + (base32 "05hh3s44km2hyig48xjq580mj6s1r4yijzf6dcwmy3w0l7ligks2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.21) + (("rust-base64" ,rust-base64-0.22) ("rust-indexmap" ,rust-indexmap-2) - ("rust-line-wrap" ,rust-line-wrap-0.1) - ("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-quick-xml" ,rust-quick-xml-0.32) ("rust-serde" ,rust-serde-1) ("rust-time" ,rust-time-0.3)) #:cargo-development-inputs @@ -55272,26 +57833,28 @@ convert SQL to Polars logical plans.") (define-public rust-polling-3 (package (name "rust-polling") - (version "3.3.1") + (version "3.7.3") (source (origin (method url-fetch) (uri (crate-uri "polling" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17hwk4g8qbdsyr0kqjddhw0l2v64pxhakkdlaqbc24xk99iglqyg")))) + (base32 "04b5zdgz0m9ydbzcr3f9a55749gqbj0y89d0nz9nrv0x636r09yc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-concurrent-queue" ,rust-concurrent-queue-2) + ("rust-hermit-abi" ,rust-hermit-abi-0.4) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-rustix" ,rust-rustix-0.38) ("rust-tracing" ,rust-tracing-0.1) - ("rust-windows-sys" ,rust-windows-sys-0.52)) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-fastrand" ,rust-fastrand-2) ("rust-libc" ,rust-libc-0.2) - ("rust-signal-hook" ,rust-signal-hook-0.3)))) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-socket2" ,rust-socket2-0.5)))) (home-page "https://github.com/smol-rs/polling") (synopsis "Portable interface to epoll, kqueue, event ports, and IOCP") (description @@ -55415,13 +57978,19 @@ overloading without macros in Rust.") (define-public rust-portable-atomic-1 (package (name "rust-portable-atomic") - (version "1.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "portable-atomic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h77x9qx7pns0d66vdrmdbmwpi7586h7ysnkdnhrn5mwi2cyyw3i")))) + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "portable-atomic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cmd87qj90panwsi350djb8lsxdryqkkxmimjcz7a1nsysini76c")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all test dependencies declared. @@ -55442,25 +58011,41 @@ overloading without macros in Rust.") 128-bit atomics, atomic float, etc.") (license (list license:asl2.0 license:expat)))) -(define-public rust-portable-atomic-util-0.1 +(define-public rust-portable-atomic-util-0.2 (package (name "rust-portable-atomic-util") - (version "0.1.5") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "portable-atomic-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16s4ag42sjkkas49fnlj99kx9zxdfqwk7ii12js533dk4lb439x1")))) + (base32 "0v105n6yyvzwvfgsvfm5cqb818avlk3hbpfnahdljan5xjzdb9wh")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1)))) + `(#:cargo-inputs (("rust-build-context" ,rust-build-context-0.1) + ("rust-portable-atomic" ,rust-portable-atomic-1)))) (home-page "https://github.com/taiki-e/portable-atomic") (synopsis "Synchronization primitives built with portable-atomic") (description "Synchronization primitives built with portable-atomic.") (license (list license:asl2.0 license:expat)))) +(define-public rust-portable-atomic-util-0.1 + (package + (inherit rust-portable-atomic-util-0.2) + (name "rust-portable-atomic-util") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "portable-atomic-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16s4ag42sjkkas49fnlj99kx9zxdfqwk7ii12js533dk4lb439x1")))) + (arguments + `(#:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1)))))) + (define-public rust-portaudio-rs-0.3 (package (name "rust-portaudio-rs") @@ -56261,14 +58846,14 @@ replacements, adding colorful diffs.") (define-public rust-prettyplease-0.2 (package (name "rust-prettyplease") - (version "0.2.16") + (version "0.2.25") (source (origin (method url-fetch) (uri (crate-uri "prettyplease" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dfbq98rkq86l9g8w1l81bdvrz4spcfl48929n0pyz79clhzc754")))) + (base32 "0cw0n68wb2d0qgcqm2w00af3zbidkclyrd2darylbl34bj4frlb4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -56287,13 +58872,13 @@ replacements, adding colorful diffs.") (package (inherit rust-prettyplease-0.2) (name "rust-prettyplease") - (version "0.1.23") + (version "0.1.25") (source (origin (method url-fetch) (uri (crate-uri "prettyplease" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y2wbmflbkgp13ywd7qyq7hyi59x5zazmljnw8gg09wnfwak4zp9")))) + (base32 "11lskniv8pf8y8bn4dc3nmjapfhnibxbm5gamp2ad9qna3lld1kc")))) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -56301,25 +58886,40 @@ replacements, adding colorful diffs.") #:cargo-development-inputs (("rust-syn" ,rust-syn-1)))))) -(define-public rust-pretty-hex-0.3 +(define-public rust-pretty-hex-0.4 (package (name "rust-pretty-hex") - (version "0.3.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "pretty-hex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6")))) + (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v")))) (build-system cargo-build-system) (arguments - (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5)))) + (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.8)))) (home-page "https://github.com/wolandr/pretty-hex") (synopsis "Prettified output of hexadecimal byte slices") (description "Pretty hex dump of byte slices in the common style.") (license license:expat))) +(define-public rust-pretty-hex-0.3 + (package + (inherit rust-pretty-hex-0.4) + (name "rust-pretty-hex") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6")))) + (arguments + (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5)))))) + (define-public rust-prettytable-rs-0.8 (package (name "rust-prettytable-rs") @@ -56727,14 +59327,14 @@ in your code.") (define-public rust-proc-macro2-1 (package (name "rust-proc-macro2") - (version "1.0.79") + (version "1.0.89") (source (origin (method url-fetch) (uri (crate-uri "proc-macro2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bn004ybzdqid81cqppr5c9jrvqsxv50x60sxc41cwpmk0igydg8")))) + (base32 "0vlq56v41dsj69pnk7lil7fxvbfid50jnzdn3xnr31g05mkb0fgi")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--lib") @@ -57007,8 +59607,61 @@ pseudo-filesystem.") information.") (license (list license:expat license:asl2.0)))) +(define-public rust-prodash-29 + (package + (name "rust-prodash") + (version "29.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "prodash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09g3zx6bhp96inzvgny7hlcqwn1ph1hmwk3hpqvs8q8c0bbdhrm2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-io" ,rust-async-io-2) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crosstermion" ,rust-crosstermion-0.14) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dashmap" ,rust-dashmap-6) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-human-format" ,rust-human-format-1) + ("rust-humantime" ,rust-humantime-2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-jiff" ,rust-jiff-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-ratatui" ,rust-ratatui-0.26) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-tui-react" ,rust-tui-react-0.23) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-argh" ,rust-argh-0.1) + ("rust-async-executor" ,rust-async-executor-1) + ("rust-async-io" ,rust-async-io-2) + ("rust-blocking" ,rust-blocking-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/Byron/prodash") + (synopsis + "Dashboard for visualizing progress of asynchronous and possibly blocking tasks") + (description + "This package provides a dashboard for visualizing progress of asynchronous and +possibly blocking tasks.") + (license license:expat))) + (define-public rust-prodash-28 (package + (inherit rust-prodash-29) (name "rust-prodash") (version "28.0.0") (source @@ -57018,7 +59671,6 @@ information.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0y9d16s79168rc5k2djjb16vjcx27yargbfb6xz6m2mq4r6jcjkl")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-io" ,rust-async-io-2) ("rust-bytesize" ,rust-bytesize-1) @@ -57049,12 +59701,6 @@ information.") ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/Byron/prodash") - (synopsis - "Dashboard for visualizing progress of asynchronous and possibly blocking tasks") - (description - "This package provides a dashboard for visualizing the progress of asynchronous -and possibly blocking tasks.") (license license:expat))) (define-public rust-prodash-26 @@ -57323,14 +59969,19 @@ property-based testing and fuzzing.") (define-public rust-proptest-1 (package (name "rust-proptest") - (version "1.4.0") + (version "1.5.0") (source (origin (method url-fetch) (uri (crate-uri "proptest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gzmw40pgmwzb7x6jsyr88z5w151snv5rp1g0dlcp1iw3h9pdd1i")))) + (base32 "13gm7mphs95cw4gbgk5qiczkmr68dvcwhp58gmiz33dq2ccm3hml")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -57339,6 +59990,7 @@ property-based testing and fuzzing.") ("rust-bitflags" ,rust-bitflags-2) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest-macro" ,rust-proptest-macro-0.1) ("rust-rand" ,rust-rand-0.8) ("rust-rand-chacha" ,rust-rand-chacha-0.3) ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) @@ -57348,7 +60000,8 @@ property-based testing and fuzzing.") ("rust-unarray" ,rust-unarray-0.1) ("rust-x86" ,rust-x86-0.52)) #:cargo-development-inputs - (("rust-regex" ,rust-regex-1)))) + (("rust-regex" ,rust-regex-1) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://altsysrq.github.io/proptest-book/proptest/index.html") (synopsis "Hypothesis-like property-based testing and shrinking") (description @@ -57535,6 +60188,32 @@ trait of proptest.") ("rust-criterion" ,rust-criterion-0.2) ("rust-proptest" ,rust-proptest-0.9)))))) +(define-public rust-proptest-macro-0.1 + (package + (name "rust-proptest-macro") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "proptest-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dri79rqsf08vk5zhch0q4vls90pqxkfhqdpab8iw0g1zyvrxwip")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-convert-case" ,rust-convert-case-0.6) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-insta" ,rust-insta-1) + ("rust-prettyplease" ,rust-prettyplease-0.2)))) + (home-page "https://proptest-rs.github.io/proptest/proptest/index.html") + (synopsis "Procedural macros for the proptest crate") + (description + "This package provides Procedural macros for the proptest crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-prost-0.12 (package (name "rust-prost") @@ -59498,8 +62177,70 @@ to write.") (base32 "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51")))))) +(define-public rust-quick-xml-0.36 + (package + (name "rust-quick-xml") + (version "0.36.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zj3sjcjk6sn544wb2wvhr1km5f9cy664vzclygfsnph9mxrlr7p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-memchr" ,rust-memchr-2) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) + (home-page "https://github.com/tafia/quick-xml") + (synopsis "High performance xml reader and writer") + (description + "This package provides a high performance XML reader and writer.") + (license license:expat))) + +(define-public rust-quick-xml-0.32 + (package + (inherit rust-quick-xml-0.36) + (name "rust-quick-xml") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hk9x4fij5kq1mnn7gmxz1hpv8s9wnnj4gx4ly7hw3mn71c6wfhx")))) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-memchr" ,rust-memchr-2) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) + (define-public rust-quick-xml-0.31 (package + (inherit rust-quick-xml-0.32) (name "rust-quick-xml") (version "0.31.0") (source @@ -59509,7 +62250,6 @@ to write.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0cravqanylzh5cq2v6hzlfqgxcid5nrp2snnb3pf4m0and2a610h")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) @@ -59525,12 +62265,7 @@ to write.") ("rust-serde-value" ,rust-serde-value-0.7) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-test" ,rust-tokio-test-0.4)))) - (home-page "https://github.com/tafia/quick-xml") - (synopsis "High performance xml reader and writer") - (description - "This package provides a high performance XML reader and writer.") - (license license:expat))) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) (define-public rust-quick-xml-0.30 (package @@ -60169,14 +62904,14 @@ transport protocol in Rust.") (define-public rust-quote-1 (package (name "rust-quote") - (version "1.0.35") + (version "1.0.37") (source (origin (method url-fetch) (uri (crate-uri "quote" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vv8r2ncaz4pqdr78x7f138ka595sp2ncr1sa2plm4zxbsmwj7i9")))) + "1brklraw2g34bxy9y4q1nbrccn7bv36ylihv12c9vlcii55x7fdm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -60239,25 +62974,37 @@ transport protocol in Rust.") "0yhnnix4dzsv8y4wwz4csbnqjfh73al33j35msr10py6cl5r4vks")))) (arguments '()))) -(define-public rust-quoted-printable-0.4 +(define-public rust-quoted-printable-0.5 (package (name "rust-quoted-printable") - (version "0.4.8") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "quoted_printable" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jcyi10gh2xzjvxls8r58gwc9yavw3iighkgnb1jwrjij8hncf2s")))) + (base32 "0wvwq6w6rdsx1yxzr7ckspff0qk0q9252dzmxrd4c0kv97c9n334")))) (build-system cargo-build-system) (home-page "https://github.com/staktrace/quoted-printable") (synopsis "Simple encoder/decoder for quoted-printable data") (description - "This package provides a simple encoder/decoder for quoted-printable -data.") + "This package provides a simple encoder/decoder for quoted-printable data.") (license license:bsd-0))) +(define-public rust-quoted-printable-0.4 + (package + (inherit rust-quoted-printable-0.5) + (name "rust-quoted-printable") + (version "0.4.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "quoted_printable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jcyi10gh2xzjvxls8r58gwc9yavw3iighkgnb1jwrjij8hncf2s")))))) + (define-public rust-r2d2-0.8 (package (name "rust-r2d2") @@ -61576,8 +64323,41 @@ interfaces.") #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-raw-cpuid-11 + (package + (name "rust-raw-cpuid") + (version "11.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "raw-cpuid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "138dm4mqmmkdd1g5gkf90dlj2bnlxp0yy4d56r5xbyz3rwby77nb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-clap" ,rust-clap-4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-termimad" ,rust-termimad-0.25)) + #:cargo-development-inputs (("rust-core-affinity" ,rust-core-affinity-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-phf" ,rust-phf-0.11) + ("rust-rustversion" ,rust-rustversion-1)))) + (home-page "https://github.com/gz/rust-cpuid") + (synopsis "Library to parse the x86 CPUID instruction, written in Rust") + (description + "This package provides a library to parse the x86 CPUID instruction, +written in Rust with no external dependencies. The implementation closely +resembles the Intel CPUID manual description. The library does only depend on +libcore.") + (license license:expat))) + (define-public rust-raw-cpuid-10 (package + (inherit rust-raw-cpuid-11) (name "rust-raw-cpuid") (version "10.7.0") (source (origin @@ -61587,7 +64367,6 @@ interfaces.") (sha256 (base32 "0ckkg47m8wbdinqg4z4dx7ipi3d7fjxdnrwzikx70x46rdwpcabc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -61600,15 +64379,7 @@ interfaces.") (("rust-core-affinity" ,rust-core-affinity-0.5) ("rust-libc" ,rust-libc-0.2) ("rust-phf" ,rust-phf-0.11) - ("rust-rustversion" ,rust-rustversion-1)))) - (home-page "https://github.com/gz/rust-cpuid") - (synopsis "Library to parse the x86 CPUID instruction, written in Rust") - (description - "This package provides a library to parse the x86 CPUID instruction, -written in Rust with no external dependencies. The implementation closely -resembles the Intel CPUID manual description. The library does only depend on -libcore.") - (license license:expat))) + ("rust-rustversion" ,rust-rustversion-1)))))) (define-public rust-raw-cpuid-8 (package @@ -61821,24 +64592,37 @@ Rust.") Arc and Rc APIs.") (license (list license:expat license:asl2.0)))) -(define-public rust-rctree-0.5 +(define-public rust-rctree-0.6 (package (name "rust-rctree") - (version "0.5.0") + (version "0.6.0") (source (origin (method url-fetch) (uri (crate-uri "rctree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kvzahkwriawhjjb08ai7rfi77px7rpx5h83hjcx6dccyxzf4hiv")))) + (base32 "1sd6vsa5p3j27v6f1v0l0afl3hn4an1jr3psky3024gcmdk7hgp0")))) (build-system cargo-build-system) (home-page "https://github.com/RazrFalcon/rctree") - (synopsis "DOM-like tree implemented using reference counting") + (synopsis "'DOM-like' tree implemented using reference counting") (description "This package provides a @code{DOM-like} tree implemented using reference counting.") (license license:expat))) +(define-public rust-rctree-0.5 + (package + (inherit rust-rctree-0.6) + (name "rust-rctree") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rctree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kvzahkwriawhjjb08ai7rfi77px7rpx5h83hjcx6dccyxzf4hiv")))))) + (define-public rust-rctree-0.4 (package (inherit rust-rctree-0.5) @@ -62345,14 +65129,14 @@ memory to speed up reallocation.") (define-public rust-regex-1 (package (name "rust-regex") - (version "1.10.4") + (version "1.11.0") (source (origin (method url-fetch) (uri (crate-uri "regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k5sb0h2mkwf51ab0gvv3x38jp1q7wgxf63abfbhi0wwvvgxn5y1")))) + (base32 "1n5imk7yxam409ik5nagsjpwqvbg3f0g0mznd5drf549x1g0w81q")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -62433,14 +65217,14 @@ uses finite automata and guarantees linear time matching on all inputs.") (define-public rust-regex-automata-0.4 (package (name "rust-regex-automata") - (version "0.4.6") + (version "0.4.8") (source (origin (method url-fetch) (uri (crate-uri "regex-automata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1spaq7y4im7s56d1gxa2hi4hzf6dwswb1bv8xyavzya7k25kpf46")))) + (base32 "18wd530ndrmygi6xnz3sp345qi0hy2kdbsa89182nwbl6br5i1rn")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -62543,14 +65327,14 @@ size and compilation time.") (define-public rust-regex-syntax-0.8 (package (name "rust-regex-syntax") - (version "0.8.2") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "regex-syntax" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17rd2s8xbiyf6lb4aj2nfi44zqlj98g2ays8zzj2vfs743k79360")))) + (base32 "0p41p3hj9ww7blnbwbj9h7rwxzxg0c1hvrdycgys8rxyhqqw859b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)))) @@ -62647,21 +65431,21 @@ size and compilation time.") (define-public rust-regex-test-0.1 (package (name "rust-regex-test") - (version "0.1.0") + (version "0.1.1") (source (origin (method url-fetch) (uri (crate-uri "regex-test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "012nj2qjkxlv5zmnk53hc5a95kdsz8ss469s0a6fp5xdqbpi9f8l")))) + "0qjf6j8fvwzwmqj5cvjjs11sm1w978vbpgba6as9iif4kf9z0h6s")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-bstr" ,rust-bstr-1) ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.7)))) + ("rust-toml" ,rust-toml-0.8)))) (home-page "https://github.com/rust-lang/regex/tree/master/regex-test") (synopsis "Infrastructure for testing regexes") (description @@ -63966,8 +66750,99 @@ contains the API endpoint response objects.") ("rust-rand-hc" ,rust-rand-hc-0.2) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-rstest-0.21 + (package + (name "rust-rstest") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10inb7hv1p42i981bf6705dakbgfbdgl2qaim4sf9mk9f2k5bzcs")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `rstest_test` + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.21) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.20) + ("rust-temp-testdir" ,rust-temp-testdir-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-unindent" ,rust-unindent-0.2)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Rust fixture based test framework") + (description + "This package provides a Rust fixture based test framework. It uses a +procedural macro to implement fixtures and table based tests.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rstest-0.20 + (package + (inherit rust-rstest-0.21) + (name "rust-rstest") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w7nkivvbvz2nvlr926w2pc6sfdcq3ki35gplsb88pwcjm8ry197")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `rstest_test` + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.20) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.19) + ("rust-temp-testdir" ,rust-temp-testdir-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-unindent" ,rust-unindent-0.2)))))) + +(define-public rust-rstest-0.19 + (package + (inherit rust-rstest-0.21) + (name "rust-rstest") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c43nsxpm1b74jxc73xwg94is6bwqvfzkrr1xbqyx7j7l791clwx")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `set_default_timeout` + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.19) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) + ("rust-rstest-test" ,rust-rstest-test-0.11) + ("rust-temp-testdir" ,rust-temp-testdir-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-unindent" ,rust-unindent-0.2)))))) + (define-public rust-rstest-0.18 (package + (inherit rust-rstest-0.21) (name "rust-rstest") (version "0.18.2") (source @@ -63977,7 +66852,6 @@ contains the API endpoint response objects.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1681ncnlzhc8894idm3pqf40nndn4k4kcp0kpv29n68a7hpspvlp")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; no method named `set_default_timeout` #:cargo-inputs (("rust-futures" ,rust-futures-0.3) @@ -63993,13 +66867,7 @@ contains the API endpoint response objects.") ("rust-rstest-test" ,rust-rstest-test-0.11) ("rust-temp-testdir" ,rust-temp-testdir-0.2) ("rust-tokio" ,rust-tokio-1) - ("rust-unindent" ,rust-unindent-0.2)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Rust fixture based test framework") - (description - "@code{rstest} uses procedural macros to help you write fixtures and -table-based tests.") - (license (list license:expat license:asl2.0)))) + ("rust-unindent" ,rust-unindent-0.2)))))) (define-public rust-rstest-0.17 (package @@ -64167,8 +67035,105 @@ table-based tests.") (base32 "0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y")))))) +(define-public rust-rstest-macros-0.21 + (package + (name "rust-rstest-macros") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13brqq64wp8gjaiq1d7g8jbzcwdwpwy0swpcilfx97d3b6pdyra1")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `rstest` + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Procedural macros for @code{rstest}.") + (description + "This package provides the procedural macro crate for @code{rstest}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rstest-macros-0.20 + (package + (inherit rust-rstest-macros-0.21) + (name "rust-rstest-macros") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fmgmwkd95ljsm6czad4fgbpnn1zlik7gbd6lwz0nk0hvxj2s4z6")))) + (arguments + `(#:tests? #f ; unresolved import `rstest` + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-rstest-macros-0.19 + (package + (inherit rust-rstest-macros-0.21) + (name "rust-rstest-macros") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09ackagv8kc2v4xy0s7blyg4agij9bz9pbb31l5h4rqzrirdza84")))) + (arguments + `(#:cargo-test-flags '("--release" "--" "--skip=rstest") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) + ("rust-rstest-test" ,rust-rstest-test-0.11)))))) + (define-public rust-rstest-macros-0.18 (package + (inherit rust-rstest-macros-0.21) (name "rust-rstest-macros") (version "0.18.2") (source @@ -64178,7 +67143,6 @@ table-based tests.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01g6rg60snmscipc9xiili7nsn0v25sv64713gp99y2jg0jgha6l")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=rstest") @@ -64198,12 +67162,7 @@ table-based tests.") ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-rstest" ,rust-rstest-0.18) ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) - ("rust-rstest-test" ,rust-rstest-test-0.11)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Procedural macros for @code{rstest}.") - (description - "This package provides the procedural macro crate for @code{rstest}.") - (license (list license:expat license:asl2.0)))) + ("rust-rstest-test" ,rust-rstest-test-0.11)))))) (define-public rust-rstest-macros-0.17 (package @@ -64704,17 +67663,17 @@ please consider using @code{async-std} or @code{tokio}.") (description "This package provides a Tokio-based asynchronous runtime.") (license (list license:expat license:asl2.0)))) -(define-public rust-rusqlite-0.31 +(define-public rust-rusqlite-0.32 (package (name "rust-rusqlite") - (version "0.31.0") + (version "0.32.1") (source (origin (method url-fetch) (uri (crate-uri "rusqlite" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) + (base32 "0vlx040bppl414pbjgbp7qr4jdxwszi9krx0m63zzf2f2whvflvp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -64724,8 +67683,8 @@ please consider using @code{async-std} or @code{tokio}.") ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) ("rust-hashlink" ,rust-hashlink-0.9) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.30) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.3) ("rust-serde-json" ,rust-serde-json-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-time" ,rust-time-0.3) @@ -64744,6 +67703,41 @@ please consider using @code{async-std} or @code{tokio}.") (description "This crate provides a wrapper for SQLite.") (license license:expat))) +(define-public rust-rusqlite-0.31 + (package + (inherit rust-rusqlite-0.32) + (name "rust-rusqlite") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + (define-public rust-rusqlite-0.30 (package (inherit rust-rusqlite-0.31) @@ -64846,28 +67840,45 @@ please consider using @code{async-std} or @code{tokio}.") ("rust-url" ,rust-url-2) ("rust-uuid" ,rust-uuid-0.8)))))) -(define-public rust-rusqlite-macros-0.2 +(define-public rust-rusqlite-macros-0.3 (package (name "rust-rusqlite-macros") - (version "0.2.0") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "rusqlite-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) + (base32 "0i8fiv3jqwjcq2rdbwd5wycvh6fyfrw0y2wazinr2wpicifmxp7c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) ("rust-litrs" ,rust-litrs-0.4) - ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.13)))) (home-page "https://github.com/rusqlite/rusqlite") (synopsis "Private implementation detail of rusqlite crate") (description "This package provides a private implementation detail of the @code{rusqlite} crate.") (license license:expat))) +(define-public rust-rusqlite-macros-0.2 + (package + (inherit rust-rusqlite-macros-0.3) + (name "rust-rusqlite-macros") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-litrs" ,rust-litrs-0.4) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) + (define-public rust-rusqlite-macros-0.1 (package (inherit rust-rusqlite-macros-0.2) @@ -65039,14 +68050,14 @@ suitable for financial calculations.") (define-public rust-rust-embed-8 (package (name "rust-rust-embed") - (version "8.3.0") + (version "8.5.0") (source (origin (method url-fetch) (uri (crate-uri "rust-embed" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ic70vd4lh6dhjnxaq8wywq3bg23jf78jyyashb3s1b601nz8y7v")))) + (base32 "1h2k15ajsq9x70l11h61m4wlg8qias4mw4bg4yy7wpnx9x5ayrps")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -65056,7 +68067,7 @@ suitable for financial calculations.") #:cargo-inputs (("rust-actix-web" ,rust-actix-web-4) ("rust-axum" ,rust-axum-0.7) ("rust-hex" ,rust-hex-0.4) - ("rust-include-flate" ,rust-include-flate-0.2) + ("rust-include-flate" ,rust-include-flate-0.3) ("rust-mime-guess" ,rust-mime-guess-2) ("rust-poem" ,rust-poem-1) ("rust-rocket" ,rust-rocket-0.5) @@ -65105,14 +68116,14 @@ the file-system during development.") (define-public rust-rust-embed-impl-8 (package (name "rust-rust-embed-impl") - (version "8.3.0") + (version "8.5.0") (source (origin (method url-fetch) (uri (crate-uri "rust-embed-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j2gqh8dl6c26y9iicjfgj9r5in3fw8k52fxnczhlln0qsiw46mr")))) + (base32 "0y0lfrvpqnh98lngf6z6crjwkhp9yhvl2ac7xig14lbrhv4dn9b1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -65153,14 +68164,14 @@ the file-system during development.") (define-public rust-rust-embed-utils-8 (package (name "rust-rust-embed-utils") - (version "8.3.0") + (version "8.5.0") (source (origin (method url-fetch) (uri (crate-uri "rust-embed-utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10am6j29b5p7na45cz6vqxkg8gy47xbir95d9vzzyrr50f4r1xl6")))) + (base32 "17aj29y2xis2fhp4i1wyf0xqm6ljhn3z5qdh75hbbb4sgrvlflrf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-globset" ,rust-globset-0.4) @@ -65301,6 +68312,32 @@ based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-proptest" ,rust-proptest-0.9)))))) +(define-public rust-rusb-0.9 + (package + (name "rust-rusb") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1905rijhabvylblh24379229hjmkfhxr80jc79aqd9v3bgq9z7xb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-libusb1-sys" ,rust-libusb1-sys-0.7) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-regex" ,rust-regex-1) + ("rust-usb-ids" ,rust-usb-ids-1)))) + (inputs (list libusb)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/a1ien/rusb") + (synopsis "Library for accessing USB devices") + (description + "This package provides a Rust library for accessing USB devices.") + (license license:expat))) + (define-public rust-rust-hawktracer-0.7 (package (name "rust-rust-hawktracer") @@ -65536,7 +68573,7 @@ It is automatically published using the compiler repository at (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") - (version "0.1.23") + (version "0.1.24") (source (origin (method url-fetch) @@ -65544,7 +68581,7 @@ It is automatically published using the compiler repository at (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0xnbk2bmyzshacjm2g1kd4zzv2y2az14bw3sjccq5qkpmsfvn9nn")))) + "07zysaafgrkzy2rjgwqdj2a8qdpsm6zv6f5pgpk9x0lm40z9b6vi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -65588,27 +68625,39 @@ It is automatically published using the compiler repository at @code{rustc-demangle} crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-rustc-hash-1 +(define-public rust-rustc-hash-2 (package (name "rust-rustc-hash") - (version "1.1.0") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "rustc-hash" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1qkc5khrmv5pqi5l5ca9p5nl5hs742cagrndhbrlk3dhlrx3zm08")))) + (base32 "0lni0lf846bzrf3jvci6jaf4142n1mdqxvcpczk5ch9pfgyk8c2q")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments `(#:cargo-inputs (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/rust-lang/rustc-hash") (synopsis "Speedy, non-cryptographic hash used in rustc") (description "This package provides a speedy, non-cryptographic hash used in rustc.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-hash-1 + (package + (inherit rust-rustc-hash-2) + (name "rust-rustc-hash") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qkc5khrmv5pqi5l5ca9p5nl5hs742cagrndhbrlk3dhlrx3zm08")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-rustc-hex-2 (package (name "rust-rustc-hex") @@ -66020,14 +69069,14 @@ rustc compiler.") (define-public rust-rustfix-0.8 (package (name "rust-rustfix") - (version "0.8.1") + (version "0.8.6") (source (origin (method url-fetch) (uri (crate-uri "rustfix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1975qnw1rdd1bsj8qzii0vx0mdxv4946xp4gfprmvnj6f04lp1l1")))) + (base32 "09d3jy7c7zzqsphj836shjp55qq30lkj404wnfhlhvas81kb1clg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) @@ -66163,14 +69212,14 @@ rustc compiler.") (define-public rust-rustix-0.38 (package (name "rust-rustix") - (version "0.38.31") ;XXX drop rust-rustix-for-bcachefs-tools when updating + (version "0.38.40") (source (origin (method url-fetch) (uri (crate-uri "rustix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jg9yj3i6qnzk1y82hng7rb1bwhslfbh57507dxcs9mgcakf38vf")) + (base32 "1h33ilqk4psn6kqfmd232df3x3lrwp4gjl2nisdmajyw3hzfmr4r")) (snippet #~(begin (use-modules (guix build utils)) (for-each delete-file (find-files "." "\\.a$")) @@ -66202,7 +69251,6 @@ rustc compiler.") ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) - ("rust-ctor" ,rust-ctor-0.2) ("rust-errno" ,rust-errno-0.3) ("rust-flate2" ,rust-flate2-1) ("rust-libc" ,rust-libc-0.2) @@ -66217,20 +69265,6 @@ rustc compiler.") ;; Apache 2.0, Apache 2.0 with LLVM exception, or Expat. (license (list license:asl2.0 license:expat)))) -(define-public rust-rustix-for-bcachefs-tools - ;; The package above is too old; too many dependents to update it directly. - (package - (inherit rust-rustix-0.38) - (name (package-name rust-rustix-0.38)) - (version "0.38.34") - (source - (origin - (inherit (package-source rust-rustix-0.38)) - (uri (crate-uri "rustix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03vkqa2ism7q56rkifyy8mns0wwqrk70f4i4fd53r97p8b05xp3h")))))) - (define-public rust-rustix-0.37 (package (inherit rust-rustix-0.38) @@ -66494,14 +69528,14 @@ font rendering.") (define-public rust-rustversion-1 (package (name "rust-rustversion") - (version "1.0.14") + (version "1.0.17") (source (origin (method url-fetch) (uri (crate-uri "rustversion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x1pz1yynk5xzzrazk2svmidj69jhz89dz5vrc28sixl20x1iz3z")))) + (base32 "1mm3fckyvb0l2209in1n2k05sws5d9mpkszbnwhq3pkq8apjhpcm")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -66911,8 +69945,36 @@ sub-processes using a fork-like interface.") (("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-ruzstd-0.7 + (package + (name "rust-ruzstd") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruzstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08ffshmfmmcgijcg4w517clpsxwknga89inxjw4hgb1s2f797hwr")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/KillingSpark/zstd-rs") + (synopsis "Decoder for the zstd compression format") + (description + "This package provides a decoder for the zstd compression format.") + (license license:expat))) + (define-public rust-ruzstd-0.5 (package + (inherit rust-ruzstd-0.7) (name "rust-ruzstd") (version "0.5.0") (source @@ -66922,7 +69984,6 @@ sub-processes using a fork-like interface.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ga8jciw7ka3mxrzl39skmsbdslajghzglcil10g0z4rh65fpi2q")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -66940,12 +70001,7 @@ sub-processes using a fork-like interface.") ("rust-derive-more" ,rust-derive-more-0.99) ("rust-twox-hash" ,rust-twox-hash-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/KillingSpark/zstd-rs") - (synopsis "Decoder for the zstd compression format") - (description - "This package provides a decoder for the zstd compression format.") - (license license:expat))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-ruzstd-0.4 (package @@ -67077,7 +70133,7 @@ deserialization framework.") (define-public rust-ryu-1 (package (name "rust-ryu") - (version "1.0.15") + (version "1.0.18") (source (origin (method url-fetch) @@ -67085,7 +70141,7 @@ deserialization framework.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hfphpn1xnpzxwj8qg916ga1lyc33lc03lnf1gb3wwpglj6wrm0s")))) + "17xx2s8j1lln7iackzd9p0sv546vjq71i779gphjq923vjh5pjzk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -67647,6 +70703,38 @@ encodable types.") (description "This package provides a simple scanf()-like input for Rust.") (license license:expat))) +(define-public rust-scc-2 + (package + (name "rust-scc") + (version "2.1.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "scc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rhy3pxjhmhh2f2ab9mk8y8nw53zz18zjywwzkjzr2ls23dpm50c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-loom" ,rust-loom-0.7) + ("rust-sdd" ,rust-sdd-3) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/wvwwvwwv/scalable-concurrent-containers/") + (synopsis + "Containers and utilities for concurrent and asynchronous programming") + (description + "This package provides High performance containers and utilities for +concurrent and asynchronous programming.") + (license license:asl2.0))) + (define-public rust-sce-0.1 (package (name "rust-sce") @@ -67698,14 +70786,14 @@ single-cell matrices.") (define-public rust-schemars-0.8 (package (name "rust-schemars") - (version "0.8.20") + (version "0.8.21") (source (origin (method url-fetch) (uri (crate-uri "schemars" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0aby31lm1jwlj5hlw5lqq7xyzhc6vrmghdjq995f5asbl7p8q8dh")))) + (base32 "14lyx04388wgbilgcm0nl75w6359nw16glswfqv7x2rpi9329h09")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -67769,21 +70857,21 @@ Rust code.") (define-public rust-schemars-derive-0.8 (package (name "rust-schemars-derive") - (version "0.8.20") + (version "0.8.21") (source (origin (method url-fetch) (uri (crate-uri "schemars_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lzlj36qcjjpynadbi4x152i5pd2wbv42p8n3bin5ycgrv6a3m9y")))) + (base32 "03ncmrkldfmdc9skmlyysx2vqdlyyz91r5mbavw77zwaay4fbvmi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.29) - ("rust-syn" ,rust-syn-1)) + ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://graham.cool/schemars/") @@ -68243,31 +71331,52 @@ Pwrite traits from the scroll crate.") (("rust-ring" ,rust-ring-0.13) ("rust-untrusted" ,rust-untrusted-0.6)))))) -(define-public rust-sctk-adwaita-0.8 +(define-public rust-sctk-adwaita-0.10 (package (name "rust-sctk-adwaita") - (version "0.8.1") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "sctk-adwaita" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0l35njnl25axhkg2r5jg1iqdyhp788qfgcl8p4hsar5jlprymcl2")))) + (base32 "1v14vqp7k39jk7pgaibwc06qq9vcmi82k7zlv3qpfvq52w17y9xn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ab-glyph" ,rust-ab-glyph-0.2) - ("rust-crossfont" ,rust-crossfont-0.7) + ("rust-crossfont" ,rust-crossfont-0.8) ("rust-log" ,rust-log-0.4) ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19) ("rust-tiny-skia" ,rust-tiny-skia-0.11)))) (home-page "https://github.com/PolyMeilex/sctk-adwaita") (synopsis "Adwaita-like SCTK Frame") - (description "Adwaita-like SCTK Frame.") + (description "This package provides Adwaita-like SCTK Frame.") (license license:expat))) +(define-public rust-sctk-adwaita-0.8 + (package + (inherit rust-sctk-adwaita-0.10) + (name "rust-sctk-adwaita") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sctk-adwaita" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l35njnl25axhkg2r5jg1iqdyhp788qfgcl8p4hsar5jlprymcl2")))) + (arguments + `(#:cargo-inputs + (("rust-ab-glyph" ,rust-ab-glyph-0.2) + ("rust-crossfont" ,rust-crossfont-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-tiny-skia" ,rust-tiny-skia-0.11)))))) + (define-public rust-sctk-adwaita-0.5 (package (inherit rust-sctk-adwaita-0.8) @@ -68340,6 +71449,29 @@ notifications.") (sha256 (base32 "1j1ff6hhzcyh3m9c0adxnnjrasnvl1v6qaiv5vj2zgajz0hqml0c")))))) +(define-public rust-sdd-3 + (package + (name "rust-sdd") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sdd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g4alppkxrabhqfh9dfwngswnlhsv4jn6ys11dr9j04vbndbb9v0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-loom" ,rust-loom-0.7)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/wvwwvwwv/scalable-delayed-dealloc/") + (synopsis "Scalable lock-free delayed memory reclaimer") + (description + "This package provides Scalable lock-free delayed memory reclaimer.") + (license license:asl2.0))) + (define-public rust-seahash-3 (package (name "rust-seahash") @@ -68405,6 +71537,51 @@ statistical guarantees.") (description "This package provides low-level bindings to libseccomp.") (license license:lgpl2.1))) +(define-public rust-secfmt-0.1 + (package + (name "rust-secfmt") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "secfmt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0710fwskvbgz5kzsa3c29j47bs5lbhkn27qabmy9j48phqr39iy8")))) + (build-system cargo-build-system) + (home-page "https://crates.io/crates/secfmt") + (synopsis "Converts seconds into a human readable format") + (description + "This package provides a way to convert seconds into a human readable +format (struct) containing years, days, hours, minutes and seconds.") + (license license:expat))) + +(define-public rust-secrecy-0.8 + (package + (name "rust-secrecy") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "secrecy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/iqlusioninc/crates/") + (synopsis + "Wrapper types and traits for secret management") + (description + "This package provides wrapper types and traits for secret management which +help ensure they aren't accidentally copied, logged, or otherwise exposed (as +much as possible), and also ensure secrets are securely wiped from memory when +dropped.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-secret-service-3 (package (name "rust-secret-service") @@ -68440,7 +71617,7 @@ statistical guarantees.") (description "Library to interface with Secret Service API.") (license (list license:expat license:asl2.0)))) -(define-public rust-section-testing-0.0 +(define-public rust-section-testing-0.0.5 (package (name "rust-section-testing") (version "0.0.5") @@ -68460,8 +71637,38 @@ statistical guarantees.") "This package provides a library for section-style testing.") (license license:expat))) +(define-public rust-selectors-0.25 + (package + (name "rust-selectors") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "selectors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01kvl1r7plzlb665r64p11djabhsrd88si2zh7vci3v3ydshbcsf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cssparser" ,rust-cssparser-0.31) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-new-debug-unreachable" ,rust-new-debug-unreachable-1) + ("rust-phf" ,rust-phf-0.10) + ("rust-phf-codegen" ,rust-phf-codegen-0.10) + ("rust-precomputed-hash" ,rust-precomputed-hash-0.1) + ("rust-servo-arc" ,rust-servo-arc-0.3) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/servo/servo") + (synopsis "CSS Selectors matching for Rust") + (description "This package provides CSS Selectors matching for Rust.") + (license license:mpl2.0))) + (define-public rust-selectors-0.24 (package + (inherit rust-selectors-0.25) (name "rust-selectors") (version "0.24.0") (source @@ -68471,7 +71678,6 @@ statistical guarantees.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05il06smqbhf7p18fawm5fd0pmdkysvmyih455lh17cnh20mfdqc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -68485,11 +71691,7 @@ statistical guarantees.") ("rust-servo-arc" ,rust-servo-arc-0.2) ("rust-smallvec" ,rust-smallvec-1) ("rust-to-shmem" ,rust-to-shmem-0.0.0) - ("rust-to-shmem-derive" ,rust-to-shmem-derive-0.0.0)))) - (home-page "https://github.com/servo/servo") - (synopsis "CSS Selectors matching for Rust") - (description "This package provides CSS Selectors matching for Rust.") - (license license:mpl2.0))) + ("rust-to-shmem-derive" ,rust-to-shmem-derive-0.0.0)))))) (define-public rust-selectors-0.23 (package @@ -68633,14 +71835,14 @@ Mandatory Access Control for Linux.") (define-public rust-semver-1 (package (name "rust-semver") - (version "1.0.22") + (version "1.0.23") (source (origin (method url-fetch) (uri (crate-uri "semver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jir6q2ps4s5v52bqxpvwj35p0m0ahl5pf62ppwksbv5kvk3zm4j")))) + (base32 "12wqpxfflclbq4dv8sa6gchdh92ahhwn4ci1ls22wlby3h57wsb1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68892,7 +72094,7 @@ formats: (define-public rust-serde-1 (package (name "rust-serde") - (version "1.0.197") + (version "1.0.215") (source (origin (method url-fetch) @@ -68900,7 +72102,7 @@ formats: (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qjcxqd3p4yh5cmmax9q4ics1zy34j5ij32cvjj5dc5rw5rwic9z")))) + "13xqkw93cw9rnbkm0zy1apnilzq7l2xf1qw8m1nkga8i1fnw24v5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69113,15 +72315,14 @@ formats: (define-public rust-serde-bytes-0.11 (package (name "rust-serde-bytes") - (version "0.11.11") + (version "0.11.15") (source (origin (method url-fetch) (uri (crate-uri "serde_bytes" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yj2kj2hcphabzrydpa4dndfm9clh8cy6iv4fc4dw2ijwm7vw5js")))) + (base32 "0sjwczchd9p4ak4m644jpkv4r181zr8yj14fdjll1fq6rc2caz1q")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69329,7 +72530,7 @@ TOML/JSON/MessagePack strings and serializable values.") (define-public rust-serde-derive-1 (package (name "rust-serde-derive") - (version "1.0.197") + (version "1.0.215") (source (origin (method url-fetch) @@ -69337,7 +72538,7 @@ TOML/JSON/MessagePack strings and serializable values.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02v1x0sdv8qy06lpr6by4ar1n3jz3hmab15cgimpzhgd895v7c3y")))) + "1h2nswy0rmzblil38h12wxsgni1ik63rk22wy19g48v9hrpqc7md")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69442,14 +72643,14 @@ derive macros.") (define-public rust-serde-ignored-0.1 (package (name "rust-serde-ignored") - (version "0.1.9") + (version "0.1.10") (source (origin (method url-fetch) (uri (crate-uri "serde_ignored" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "199c91ddk6p132xavn6hm3idw55j1c5a5xbhww4g4fgxadf1vhw0")))) + (base32 "1psdv0ahmxgw4l3dg341j5q2k09d7glj93v01mm14lhvdniikqx8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69467,19 +72668,20 @@ data. This crate provides a wrapper that works with any existing Serde (define-public rust-serde-json-1 (package (name "rust-serde-json") - (version "1.0.114") + (version "1.0.128") (source (origin (method url-fetch) (uri (crate-uri "serde_json" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q4saigxwkf8bw4y5kp6k33dnavlvvwa2q4zmag59vrjsqdrpw65")))) + (base32 "1n43nia50ybpcfmh3gcw4lcc627qsg9nyakzwgkk9pm10xklbxbg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) ("rust-itoa" ,rust-itoa-1) + ("rust-memchr" ,rust-memchr-2) ("rust-ryu" ,rust-ryu-1) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs @@ -69566,6 +72768,32 @@ programs in rust.") ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)))))) +(define-public rust-serde-norway-0.9 + (package + (name "rust-serde-norway") + (version "0.9.38") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_norway" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ddyv4chvy60bnih4d8kx302a4a1qkjkj1fjk8qq290iyq4p3va6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-unsafe-libyaml" ,rust-unsafe-libyaml-0.2)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-indoc" ,rust-indoc-2) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/cafkafk/serde-yaml") + (synopsis "YAML data format for Serde") + (description "This package provides YAML data format for Serde.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-path-to-error-0.1 (package (name "rust-serde-path-to-error") @@ -69682,14 +72910,14 @@ commonly used by Ruby on Rails via Rack.") (define-public rust-serde-repr-0.1 (package (name "rust-serde-repr") - (version "0.1.18") + (version "0.1.19") (source (origin (method url-fetch) (uri (crate-uri "serde_repr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nyzz7ph9nwmjrx6f7s37m9y7y5gc10f4vjxnqkgfgcxbsa6nbhb")))) + (base32 "1sb4cplc33z86pzlx38234xr141wr3cmviqgssiadisgl8dlar3c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69712,13 +72940,13 @@ of a C-like enum.") (define-public rust-serde-spanned-0.6 (package (name "rust-serde-spanned") - (version "0.6.5") + (version "0.6.7") (source (origin (method url-fetch) (uri (crate-uri "serde_spanned" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hgh6s3jjwyzhfk3xwb6pnnr1misq9nflwq0f026jafi37s24dpb")))) + (base32 "0v9h2nlg8r7n7dkbgj1aw59g35kl869l652wc6zi2f4zawqinnzb")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `toml` @@ -69764,16 +72992,15 @@ by dynamically growing the stack.") (define-public rust-serde-test-1 (package (name "rust-serde-test") - (version "1.0.171") + (version "1.0.176") (source (origin (method url-fetch) (uri (crate-uri "serde_test" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fjsdcxx1ig10qf73dqwgyy7ksjwmmi3657aaybyqj8l9qphlj5n")))) + "1ar0sqlahx33l0qzw7alk61dp14ma52q42vy9z8i51j9w6n4jbss")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69859,18 +73086,19 @@ format to another.") (define-public rust-serde-untagged-0.1 (package (name "rust-serde-untagged") - (version "0.1.4") + (version "0.1.6") (source (origin (method url-fetch) (uri (crate-uri "serde-untagged" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b2x30zczv16q6xakjlh1mhn6y1m2ww994szxfhlnryqfc1y13jc")))) + (base32 "1dn5nmkmbpc0x50ai3lp307pdf50dzd8wb5xbjp5rxw2pncvlxi6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-erased-serde" ,rust-erased-serde-0.4) - ("rust-serde" ,rust-serde-1)) + ("rust-serde" ,rust-serde-1) + ("rust-typeid" ,rust-typeid-1)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-toml" ,rust-toml-0.8)))) @@ -70016,6 +73244,46 @@ for later processing.") Rust's serde.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-with-2 + (package + (inherit rust-serde-with-3) + (name "rust-serde-with") + (version "2.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_with" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gmgl2raxxnpvjgcvkrimgv55kbjywi5xbffc9rvb9s7q7973zq7")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; could not find `Deserializer` in `serde_test` + #:cargo-inputs (("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with-macros" ,rust-serde-with-macros-2) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs + (("rust-expect-test" ,rust-expect-test-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-mime" ,rust-mime-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-ron" ,rust-ron-0.8) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde-xml-rs" ,rust-serde-xml-rs-0.6) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-version-sync" ,rust-version-sync-0.9)))))) + (define-public rust-serde-with-1 (package (inherit rust-serde-with-3) @@ -70091,6 +73359,36 @@ Rust's serde.") @code{serde_with}.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-with-macros-2 + (package + (inherit rust-serde-with-macros-3) + (name "rust-serde-with-macros") + (version "2.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_with_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pv9wy1aihsaklg83qac4q0ksimbxcwwk56lwla35l8p3f46y6w8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=test_serde_with_dependency") + #:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-expect-test" ,rust-expect-test-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-version-sync" ,rust-version-sync-0.9)))))) + (define-public rust-serde-with-macros-1 (package (inherit rust-serde-with-macros-3) @@ -70283,23 +73581,24 @@ Rust's serde.") (define-public rust-serial-test-3 (package (name "rust-serial-test") - (version "3.0.0") + (version "3.1.1") (source (origin (method url-fetch) (uri (crate-uri "serial_test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1381b9z83a0a39sx0jrrf1q91m08s1yhjp648g5sgb1s5csdjflm")))) + (base32 "0zfpzr8jl7dpf4m8dk8fr9w1wfwhnjrccmyg46h41wmcw9zlhjsb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) - ("rust-document-features" ,rust-document-features-0.2) + `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-env-logger" ,rust-env-logger-0.10) ("rust-fslock" ,rust-fslock-0.2) ("rust-futures" ,rust-futures-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-scc" ,rust-scc-2) ("rust-serial-test-derive" ,rust-serial-test-derive-3)) #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) ("rust-tokio" ,rust-tokio-1)))) @@ -70443,14 +73742,14 @@ Rust's serde.") (define-public rust-serial-test-derive-3 (package (name "rust-serial-test-derive") - (version "3.0.0") + (version "3.1.1") (source (origin (method url-fetch) (uri (crate-uri "serial_test_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04i240k9ml91nz2knj2qxaksm6qnqj65xm7p8wdsq880qynv8gxr")))) + (base32 "0rrx13r2kdahbgs9qfvbx63zgzafrjjpiq42vsy1zvxw4nrrvzl2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -70587,23 +73886,21 @@ Rust's serde.") (("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) -(define-public rust-servo-arc-0.2 +(define-public rust-servo-arc-0.3 (package (name "rust-servo-arc") - (version "0.2.0") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "servo_arc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hgp453zvrj7ry501jhxlcph0hc42gc26zyfwn8ys3yziwps8anm")))) + (base32 "0i0s9786np106yl6w29bfzwnj29rqak912skcdxcf04yjlddfdnh")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-nodrop" ,rust-nodrop-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) (home-page "https://github.com/servo/servo") (synopsis "Fork of std::sync::Arc with some extra functionality") (description @@ -70611,6 +73908,24 @@ Rust's serde.") functionality and without weak references.") (license (list license:expat license:asl2.0)))) +(define-public rust-servo-arc-0.2 + (package + (inherit rust-servo-arc-0.3) + (name "rust-servo-arc") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "servo_arc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hgp453zvrj7ry501jhxlcph0hc42gc26zyfwn8ys3yziwps8anm")))) + (arguments + `(#:cargo-inputs + (("rust-nodrop" ,rust-nodrop-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) + (define-public rust-servo-arc-0.1 (package (inherit rust-servo-arc-0.2) @@ -70754,6 +74069,46 @@ functionality and without weak references.") "This package provides a Rust-friendly interface to lm-sensors.") (license license:miros))) +(define-public rust-sevenz-rust-0.5 + (package + (name "rust-sevenz-rust") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sevenz-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0na67bs0ff01vicwwlc26sbh9jh4wpqn7988k31cixn5s231wfi3")) + (snippet + #~(begin (delete-file "tests/resources/decompress_x86.exe"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=decompress_lzma2_bcj_x86_file") + #:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-bit-set" ,rust-bit-set-0.5) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-crc" ,rust-crc-3) + ("rust-filetime-creation" ,rust-filetime-creation-0.1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lzma-rust" ,rust-lzma-rust-0.1) + ("rust-nt-time" ,rust-nt-time-0.6) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/dyz1990/sevenz-rust") + (synopsis "7z decompressor/compressor") + (description + "This package provides a 7z decompressor/compressor written in pure rust.") + (license license:asl2.0))) + (define-public rust-shadow-rs-0.26 (package (name "rust-shadow-rs") @@ -71493,14 +74848,14 @@ extensions.") (define-public rust-similar-2 (package (name "rust-similar") - (version "2.4.0") + (version "2.6.0") (source (origin (method url-fetch) (uri (crate-uri "similar" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08gspd5a2w21k9s641z6fxvrzj34611rcjbjr5685vh9r8da9zij")))) + "0vk89dx2mmjp81pmszsa1s3mpzvbiy4krvfbq3s3mc3k27wd9q8x")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72698,8 +76053,37 @@ control on the fields.") monotone matrix.") (license license:expat))) +(define-public rust-smol-2 + (package + (name "rust-smol") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "smol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17srgkyzswns43cnqcfb1846a8nsna47qj7wrk1rj8c9c3id6fx3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-async-channel" ,rust-async-channel-2) + ("rust-async-executor" ,rust-async-executor-1) + ("rust-async-fs" ,rust-async-fs-2) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) + ("rust-async-net" ,rust-async-net-2) + ("rust-async-process" ,rust-async-process-2) + ("rust-blocking" ,rust-blocking-1) + ("rust-futures-lite" ,rust-futures-lite-2)))) + (home-page "https://github.com/stjepang/smol") + (synopsis "Small and fast async runtime") + (description "This package provides a small and fast async runtime.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-smol-1 (package + (inherit rust-smol-2) (name "rust-smol") (version "1.2.5") (source @@ -72709,7 +76093,6 @@ monotone matrix.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r45zng0hymqx1kb2dmxkapbin7f9rhgrdcssz0q7rzka59kpkw5")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -72722,11 +76105,7 @@ monotone matrix.") ("rust-async-process" ,rust-async-process-1) ("rust-blocking" ,rust-blocking-1) ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/stjepang/smol") - (synopsis "Small and fast async runtime") - (description "This package provides a small and fast async runtime.") - (license (list license:asl2.0 license:expat)))) + ("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-smol-0.1 (package @@ -72969,14 +76348,14 @@ algorithm. Includes streaming compression and decompression.") (define-public rust-snapbox-macros-0.3 (package (name "rust-snapbox-macros") - (version "0.3.8") + (version "0.3.10") (source (origin (method url-fetch) (uri (crate-uri "snapbox-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0h6yy5h83y17bghi1lq9pw3knbqba1rwns20flian5axn0wbii71")))) + "1bv4lq1kw1vrd9lk7yk79a0z8q8nma2502ifysv1p913r99rymhn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)))) @@ -73008,40 +76387,42 @@ It is also flexible enough to build your own test harness like @code{trycmd}.") (base32 "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0")))))) -(define-public rust-snapbox-0.5 +(define-public rust-snapbox-0.6 (package (name "rust-snapbox") - (version "0.5.9") + (version "0.6.17") (source (origin (method url-fetch) (uri (crate-uri "snapbox" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ajnz1yv53jh667gdj4jpapy3g7sadnkfzyl4f2gcy7nxkhl3i4a")))) + (base32 "0jnndxckagxzvi52q0ldclz075kdpk4hxq7b22y3rg2867mp62w4")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) - ("rust-anstyle" ,rust-anstyle-1) - ("rust-anstyle-svg" ,rust-anstyle-svg-0.1) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-content-inspector" ,rust-content-inspector-0.2) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-dunce" ,rust-dunce-1) - ("rust-escargot" ,rust-escargot-0.5) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-libc" ,rust-libc-0.2) - ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) - ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) - ("rust-os-pipe" ,rust-os-pipe-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-similar" ,rust-similar-2) - ("rust-snapbox-macros" ,rust-snapbox-macros-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-wait-timeout" ,rust-wait-timeout-0.2) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) + `(#:cargo-inputs + (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anstyle-svg" ,rust-anstyle-svg-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-dunce" ,rust-dunce-1) + ("rust-escargot" ,rust-escargot-0.5) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-similar" ,rust-similar-2) + ("rust-snapbox-macros" ,rust-snapbox-macros-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-wait-timeout" ,rust-wait-timeout-0.2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows-sys" ,rust-windows-sys-0.59)) + #:cargo-development-inputs (("rust-automod" ,rust-automod-1)))) (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox") (synopsis "Snapshot testing toolbox") (description @@ -73057,18 +76438,56 @@ output from It is also flexible enough to build your own test harness like @code{trycmd}.") (license (list license:expat license:asl2.0)))) +(define-public rust-snapbox-0.5 + (package + (inherit rust-snapbox-0.6) + (name "rust-snapbox") + (version "0.5.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "snapbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16rppi1ick3jswkp1l9g6wyzjyariw2bg8fqixs773pwr8gi0zgk")))) + (arguments + `(#:cargo-inputs + (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anstyle-svg" ,rust-anstyle-svg-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-dunce" ,rust-dunce-1) + ("rust-escargot" ,rust-escargot-0.5) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-similar" ,rust-similar-2) + ("rust-snapbox-macros" ,rust-snapbox-macros-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-wait-timeout" ,rust-wait-timeout-0.2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-automod" ,rust-automod-1)))))) + (define-public rust-snapbox-0.4 (package (inherit rust-snapbox-0.5) (name "rust-snapbox") - (version "0.4.16") + (version "0.4.17") (source (origin (method url-fetch) (uri (crate-uri "snapbox" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1v732vpzkjyawwvcq2xdf5q4s6bxrqmqih8kgc5gada9vwq5l53k")))) + "114xa4v5icljaacmyj9i2jc8apq04ifihnx7xy4jikgvh1p1p0sb")))) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) @@ -73081,7 +76500,7 @@ It is also flexible enough to build your own test harness like @code{trycmd}.") ("rust-filetime" ,rust-filetime-0.2) ("rust-ignore" ,rust-ignore-0.4) ("rust-libc" ,rust-libc-0.2) - ("rust-libtest-mimic" ,rust-libtest-mimic-0.6) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) ("rust-os-pipe" ,rust-os-pipe-1) ("rust-serde-json" ,rust-serde-json-1) @@ -73456,7 +76875,9 @@ initializers are available.") (uri (crate-uri "spin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qjips9f6fsvkyd7wj3a4gzaqknn2q4kkb19957pl86im56pna0k")))))) + (base32 "0qjips9f6fsvkyd7wj3a4gzaqknn2q4kkb19957pl86im56pna0k")))) + (arguments + `(#:cargo-inputs (("rust-lock-api" ,rust-lock-api-0.4)))))) (define-public rust-spin-0.5 (package @@ -73469,7 +76890,8 @@ initializers are available.") (uri (crate-uri "spin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf")))))) + (base32 "0b84m6dbzrwf2kxylnw82d3dr8w06av7rfkr8s85fb5f43rwyqvf")))) + (arguments '()))) (define-public rust-spin-0.4 (package @@ -73809,17 +77231,17 @@ SPIR-V.") (("rust-libc" ,rust-libc-0.2) ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13)))))) -(define-public rust-sqlite3-parser-0.12 +(define-public rust-sqlite3-parser-0.13 (package (name "rust-sqlite3-parser") - (version "0.12.0") + (version "0.13.0") (source (origin (method url-fetch) (uri (crate-uri "sqlite3-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dx8j16ki2fsrwn1p36wnf079pvcs17549rin29x99vhkcpjbpcs")))) + (base32 "02sjybc8r2nwpgi54bcp2vjmzyaczxbdxvxxx067716bsvd0flzb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -73831,15 +77253,41 @@ SPIR-V.") ("rust-phf" ,rust-phf-0.11) ("rust-phf-codegen" ,rust-phf-codegen-0.11) ("rust-phf-shared" ,rust-phf-shared-0.11) - ("rust-smallvec" ,rust-smallvec-1) ("rust-uncased" ,rust-uncased-0.9) ("rust-uncased" ,rust-uncased-0.9)) - #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11)))) (home-page "https://github.com/gwenn/lemon-rs") (synopsis "SQL parser (as understood by SQLite)") (description "This package provides an SQL parser (as understood by SQLite).") (license (list license:asl2.0 license:expat)))) +(define-public rust-sqlite3-parser-0.12 + (package + (inherit rust-sqlite3-parser-0.13) + (name "rust-sqlite3-parser") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx8j16ki2fsrwn1p36wnf079pvcs17549rin29x99vhkcpjbpcs")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cc" ,rust-cc-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-phf-shared" ,rust-phf-shared-0.11) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))))) + (define-public rust-sqlite3-src-0.5 (package (name "rust-sqlite3-src") @@ -74256,6 +77704,28 @@ management.") #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)))))) +(define-public rust-static-alloc-0.2 + (package + (name "rust-static-alloc") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "static-alloc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07p6s9njqc1v6jpr0vlw55ps4v32wp3df27fxjg565nf6ph7aacb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-alloc-traits" ,rust-alloc-traits-0.1) + ("rust-atomic-polyfill" ,rust-atomic-polyfill-1)))) + (home-page "https://github.com/HeroicKatora/static-alloc") + (synopsis "Bump allocator on static memory for the alloc-traits crate") + (description + "This package provides a bump allocator on static memory for the alloc-traits +crate.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-static-assertions-1 (package (name "rust-static-assertions") @@ -76104,6 +79574,29 @@ values without proliferating generics.") (arguments `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4)))))) +(define-public rust-suppositions-0.1 + (package + (name "rust-suppositions") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "suppositions" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n03ipkqgpvdmjcz9xp9d6yyf58rq7c5g4ki76k848a18r59m9qm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hex-slice" ,rust-hex-slice-0.1) + ("rust-log" ,rust-log-0.3) + ("rust-rand" ,rust-rand-0.3)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.4)))) + (home-page "https://github.com/cstorey/suppositions") + (synopsis "Property testing with automagic shrinking") + (description + "This package provides property testing with automagic shrinking.") + (license license:asl2.0))) + (define-public rust-sval-2 (package (name "rust-sval") @@ -76446,6 +79939,27 @@ references") (description "This package provides a Rust XML XPath library.") (license (list license:expat license:asl2.0)))) +(define-public rust-swaybar-types-3 + (package + (name "rust-swaybar-types") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "swaybar-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hz1ialgs4l0ki5s9gqhsdlfy0v3fph7mkw2z1rdi29bjlsv9h52")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/jaycefayne/swaybar-types") + (synopsis "Library for building swaybar status commands in rust") + (description + "This package provides a library for building swaybar status commands in rust.") + (license license:expat))) + (define-public rust-swayipc-3 (package (name "rust-swayipc") @@ -76979,13 +80493,13 @@ codecs and formats.") (define-public rust-syn-2 (package (name "rust-syn") - (version "2.0.48") + (version "2.0.87") (source (origin (method url-fetch) (uri (crate-uri "syn" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gqgfygmrxmp8q32lia9p294kdd501ybn6kn2h4gqza0irik2d8g")))) + (base32 "0bd3mfcswvn4jkrp7ich5kk58kmpph8412yxd36nsfnh8vilrai5")))) (build-system cargo-build-system) (arguments ;; Tests fail to compile @@ -77011,7 +80525,7 @@ codecs and formats.") ("rust-insta" ,rust-insta-1) ("rust-rayon" ,rust-rayon-1) ("rust-ref-cast" ,rust-ref-cast-1) - ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-reqwest" ,rust-reqwest-0.12) ("rust-rustversion" ,rust-rustversion-1) ("rust-syn-test-suite" ,rust-syn-test-suite-0.0.0) ("rust-tar" ,rust-tar-0.4) @@ -77307,8 +80821,33 @@ the absence of concurrency.") "Stripped-down Nom parser used by Syn.") (license (list license:expat license:asl2.0)))) +(define-public rust-synstructure-0.13 + (package + (name "rust-synstructure") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "synstructure" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wc9f002ia2zqcbj0q2id5x6n7g1zjqba7qkg2mr0qvvmdk7dby8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1)))) + (home-page "https://github.com/mystor/synstructure") + (synopsis "Helper methods and macros for custom derives") + (description + "This package provides helper methods and macros for custom derives.") + (license license:expat))) + (define-public rust-synstructure-0.12 (package + (inherit rust-synstructure-0.13) (name "rust-synstructure") (version "0.12.6") (source @@ -77320,7 +80859,6 @@ the absence of concurrency.") (sha256 (base32 "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -77336,12 +80874,7 @@ the absence of concurrency.") (add-after 'unpack 'fix-test (lambda _ (substitute* "src/lib.rs" - (("non_upper_case_globals )") "non_upper_case_globals)"))))))) - (home-page "https://github.com/mystor/synstructure") - (synopsis "Helper methods and macros for custom derives") - (description - "This package provides helper methods and macros for custom derives.") - (license license:expat))) + (("non_upper_case_globals )") "non_upper_case_globals)"))))))))) (define-public rust-synstructure-test-traits-0.1 (package @@ -77719,8 +81252,51 @@ information to the kernel using the sysctl interface.") ("rust-errno" ,rust-errno-0.2) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-sysinfo-0.31 + (package + (name "rust-sysinfo") + (version "0.31.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gm1d4pxwnx4gmh6kwawchv8v8djb7y0a3qvbsq09cwrhx7vwp9m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags (list "--release" "--" + ;; These files aren't available in the build environment. + "--skip=test::check_system_info" + "--skip=test::check_uid_gid" + "--skip=test_networks" + "--skip=test_wait_non_child" + "--skip=test_process_disk_usage" + ;; I don't know why these fail + "--skip=common::network::tests::check_ip_networks" + "--skip=test_components" + "--skip=test_refresh_tasks" + "--skip=test_refresh_memory") + #:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-windows" ,rust-windows-0.57)) + #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/GuillaumeGomez/sysinfo") + (synopsis "System handler to interact with processes") + (description + "This package is a library to get system information such as processes, +processors, disks, components and networks.") + (license license:expat))) + (define-public rust-sysinfo-0.30 (package + (inherit rust-sysinfo-0.31) (name "rust-sysinfo") (version "0.30.7") (source @@ -77730,7 +81306,6 @@ information to the kernel using the sysctl interface.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "064d267hiqnj2jd9rmkki3fra9yjza6gr6i02qm8a2iqxy45hf0c")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -77749,13 +81324,39 @@ information to the kernel using the sysctl interface.") ("rust-serde" ,rust-serde-1) ("rust-windows" ,rust-windows-0.52)) #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/GuillaumeGomez/sysinfo") - (synopsis "System handler to interact with processes") - (description - "This package is a library to get system information such as processes, -processors, disks, components and networks.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-sysinfo-0.29 + (package + (inherit rust-sysinfo-0.30) + (name "rust-sysinfo") + (version "0.29.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rp6911qqjppvvbh72j27znscrawfvplqlyrj9n0y1n24g27ywnd")))) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; These files aren't available in the build environment. + "--skip=test::check_system_info" + "--skip=test::check_uid_gid" + "--skip=test_networks" + "--skip=test_wait_non_child" + "--skip=test_process_disk_usage") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-sysinfo-0.28 (package @@ -77825,29 +81426,49 @@ processors, disks, components and networks.") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-syslog-6 +(define-public rust-syslog-7 (package (name "rust-syslog") - (version "6.1.0") + (version "7.0.0") (source (origin (method url-fetch) (uri (crate-uri "syslog" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vzrwwv3v9bwfinp7yz4kcdxxs00ikz89gzl61fj3qfcridyjd3l")))) + (base32 "044z9mq055a9k6k8i8d725ixww2pqybz6pa5a78bfy9kl401b7q1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12) - ("rust-hostname" ,rust-hostname-0.3) + `(#:cargo-inputs (("rust-hostname" ,rust-hostname-0.4) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-time" ,rust-time-0.3)))) (home-page "https://github.com/Geal/rust-syslog") - (synopsis "Send log messages to syslog") - (description "Rust crate to send messages to Syslog.") + (synopsis "Syslog message formatter and writer") + (description + "This package provides Syslog message formatter and writer, supporting +UNIX sockets, UDP and TCP exporters.") (license license:expat))) +(define-public rust-syslog-6 + (package + (inherit rust-syslog-7) + (name "rust-syslog") + (version "6.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "syslog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lvs8ld2ps38yll29fryqwr45axm55vf46b5zvx24lbrbddykiyz")))) + (arguments + `(#:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12) + ("rust-hostname" ,rust-hostname-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-time" ,rust-time-0.3)))))) + (define-public rust-syslog-4 (package (inherit rust-syslog-6) @@ -77892,31 +81513,31 @@ processors, disks, components and networks.") ("rust-log" ,rust-log-0.3) ("rust-unix-socket" ,rust-unix-socket-0.5)))))) -(define-public rust-system-deps-6 +(define-public rust-system-deps-7 (package (name "rust-system-deps") - (version "6.2.0") + (version "7.0.3") (source (origin (method url-fetch) (uri (crate-uri "system-deps" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0c836abhh3k8yn5ymg8wx383ay7n731gkrbbp3gma352yq7mhb9a")) + (base32 "01d0fllzpkfybzadyaq1vlx70imzj56dxs4rk9w2f4ikkypkmlk6")) (snippet #~(begin (delete-file "src/tests/lib/libteststatic.a"))))) (build-system cargo-build-system) (arguments `(#:tests? #f ;source is missing some test files #:cargo-inputs - (("rust-cfg-expr" ,rust-cfg-expr-0.15) - ("rust-heck" ,rust-heck-0.4) + (("rust-cfg-expr" ,rust-cfg-expr-0.17) + ("rust-heck" ,rust-heck-0.5) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-toml" ,rust-toml-0.8) - ("rust-version-compare" ,rust-version-compare-0.1)) + ("rust-version-compare" ,rust-version-compare-0.2)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) - ("rust-itertools" ,rust-itertools-0.11) + ("rust-itertools" ,rust-itertools-0.13) ("rust-lazy-static" ,rust-lazy-static-1)))) (home-page "https://github.com/gdesmott/system-deps") (synopsis "Define system dependencies in @file{Cargo.toml}") @@ -77926,6 +81547,33 @@ This makes those dependencies declarative, so other tools can read them as well.") (license (list license:expat license:asl2.0)))) +(define-public rust-system-deps-6 + (package + (inherit rust-system-deps-7) + (name "rust-system-deps") + (version "6.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-deps" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j93ryw031n3h8b0nfpj5xwh3ify636xmv8kxianvlyyipmkbrd3")) + (snippet + #~(begin (delete-file "src/tests/lib/libteststatic.a"))))) + (arguments + `(#:tests? #f ;source is missing some test files + #:cargo-inputs + (("rust-cfg-expr" ,rust-cfg-expr-0.15) + ("rust-heck" ,rust-heck-0.5) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-toml" ,rust-toml-0.8) + ("rust-version-compare" ,rust-version-compare-0.2)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-lazy-static" ,rust-lazy-static-1)))))) + (define-public rust-system-deps-3 (package (inherit rust-system-deps-6) @@ -77987,8 +81635,37 @@ well.") #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.9)))))) +(define-public rust-tabled-0.15 + (package + (name "rust-tabled") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tabled" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03h5j83pp5pp0hbf6dh1fvh8pwhzj3qvmaj8d8cra54jic68p6ac")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testing_table` + #:cargo-inputs + (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-ansitok" ,rust-ansitok-0.2) + ("rust-papergrid" ,rust-papergrid-0.11) + ("rust-tabled-derive" ,rust-tabled-derive-0.7) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + (home-page "https://github.com/zhiburt/tabled") + (synopsis + "Library for pretty printing tables of Rust `struct`s and `enum`s") + (description "This package provides a library for pretty printing tables of +Rust @code{struct}s and @code{enum}s.") + (license license:expat))) + (define-public rust-tabled-0.14 (package + (inherit rust-tabled-0.15) (name "rust-tabled") (version "0.14.0") (source @@ -78006,15 +81683,36 @@ well.") ("rust-papergrid" ,rust-papergrid-0.10) ("rust-tabled-derive" ,rust-tabled-derive-0.6) ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))))) + +(define-public rust-tabled-derive-0.7 + (package + (name "rust-tabled-derive") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tabled_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05sbyjc8warywzldz1bn8v4cyd2nc5ix5nhw6wx6apby6ycqy4sc")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/zhiburt/tabled") - (synopsis "Library for pretty print tables of Rust `struct`s and `enum`s") - (description "This package provides a library for pretty print tables of -Rust @code{struct}s and @code{enum}s.") + (synopsis "Derive macros which are used by the Tabled crate") + (description + "Provides Derive macros which are used by Tabled crate.") (license license:expat))) (define-public rust-tabled-derive-0.6 (package + (inherit rust-tabled-derive-0.7) (name "rust-tabled-derive") (version "0.6.0") (source @@ -78030,17 +81728,12 @@ Rust @code{struct}s and @code{enum}s.") ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/zhiburt/tabled") - (synopsis "Derive macros which is used by tabled crate") - (description - "This package provides derive macros which is used by tabled crate.") - (license license:expat))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-tabwriter-1 (package (name "rust-tabwriter") - (version "1.2.1") + (version "1.4.0") (source (origin (method url-fetch) @@ -78049,7 +81742,7 @@ Rust @code{struct}s and @code{enum}s.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "048i0mj3b07zlry9m5fl706y5bzdzgrswymqn32drakzk7y5q81n")))) + "1xp5j7v8jsk92zcmiyh4ya9akhrchjvc595vwcvxrxk49wn2h9x3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -78064,6 +81757,24 @@ provides both a library for wrapping Rust @code{Writer}s and a small program that exposes the same functionality at the command line.") (license (list license:unlicense license:expat)))) +(define-public rust-tagptr-0.2 + (package + (name "rust-tagptr") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tagptr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05r4mwvlsclx1ayj65hpzjv3dn4wpi8j4xm695vydccf9k7r683v")))) + (build-system cargo-build-system) + (home-page "https://github.com/oliver-giersch/tagptr") + (synopsis "Strongly typed atomic and non-atomic tagged pointers") + (description + "This package provides strongly typed atomic and non-atomic tagged pointers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-take-mut-0.2 (package (name "rust-take-mut") @@ -78137,7 +81848,7 @@ that exposes the same functionality at the command line.") (define-public rust-tar-0.4 (package (name "rust-tar") - (version "0.4.40") + (version "0.4.43") (source (origin (method url-fetch) @@ -78145,7 +81856,7 @@ that exposes the same functionality at the command line.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1nrd3v2kfhb2zh0a44ag0s2348xjcdxiqx8cl14ir2923zmgqsmi")))) + "1xm1l6gg180wq9xrq9vhyyxxpr4kvyh933yjagax05wf7wqrhnf6")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Test tarballs not included in crate. @@ -78228,14 +81939,14 @@ with `miette`.") (define-public rust-target-lexicon-0.12 (package (name "rust-target-lexicon") - (version "0.12.13") + (version "0.12.16") (source (origin (method url-fetch) (uri (crate-uri "target-lexicon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bmgpdq766zn61f16py0x9139fv314d054xkrkj9iw3q5vd8nxb9")))) + (base32 "1cg3bnx1gdkdr5hac1hzxy64fhw4g7dqkd0n3dxy5lfngpr1mi31")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -79016,14 +82727,14 @@ deleting all contents when it's dropped.") (define-public rust-tempfile-3 (package (name "rust-tempfile") - (version "3.10.1") + (version "3.14.0") (source (origin (method url-fetch) (uri (crate-uri "tempfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wdzz35ri168jn9al4s1g2rnsrr5ci91khgarc2rvpb3nappzdw5")))) + (base32 "037f9jm13bmfc6xq9w86dp0nylrddh6ynvl6db4gm1xwzi8y5k18")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -79285,6 +82996,26 @@ template language.") (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) ("rust-winapi" ,rust-winapi-0.2)))))) +(define-public rust-term-grid-0.1 + (package + (name "rust-term-grid") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "term_grid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kq2sy3b8329jrsrpcvijvyz4gbqjyvyy6c3n0wmmvda9y03w393")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/ogham/rust-term-grid") + (synopsis "Library for formatting strings into a grid layout") + (description + "This package provides Library for formatting strings into a grid layout.") + (license license:expat))) + (define-public rust-term-size-1 (package (name "rust-term-size") @@ -79467,6 +83198,33 @@ writing colored text to a terminal.") ("rust-thiserror" ,rust-thiserror-1) ("rust-unicode-width" ,rust-unicode-width-0.1)))))) +(define-public rust-terminal-colorsaurus-0.4 + (package + (name "rust-terminal-colorsaurus") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "terminal-colorsaurus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bm4pxzhj2qnyifnf799angmp78g4i0ncilgbbdfmsfdqlfvp6az")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-mio" ,rust-mio-1) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-terminal-trx" ,rust-terminal-trx-0.2)))) + (home-page "https://github.com/bash/terminal-colorsaurus") + (synopsis "Determines the background and foreground color of the terminal") + (description + "This package provides code to determine the background and foreground +color of the terminal.") + (license (list license:expat license:asl2.0)))) + (define-public rust-terminal-size-0.3 (package (name "rust-terminal-size") @@ -79525,6 +83283,30 @@ writing colored text to a terminal.") `(("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-terminal-trx-0.2 + (package + (name "rust-terminal-trx") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "terminal-trx" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cvq92v3px99dskhjw6lrznjakvpxsg3kkdmc7z1my7lwwvbi9ap")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.59)) + #:cargo-development-inputs + (("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/bash/terminal-trx") + (synopsis "Provides a handle to the terminal of the current process") + (description + "This package provides a handle to the terminal of the current process.") + (license (list license:expat license:asl2.0)))) + (define-public rust-terminfo-0.8 (package (name "rust-terminfo") @@ -80041,27 +83823,26 @@ each resource matching the specific resource location pattern.") (define-public rust-test-log-0.2 (package (name "rust-test-log") - (version "0.2.11") + (version "0.2.16") (source (origin (method url-fetch) (uri (crate-uri "test-log" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03pmvrg6lc2qgnby9w2fhn1vzqysbl643p7jy14a0s7bz9aciw1q")))) + "14xv5d7b3w072hh78xafsc795ygrg6s7ck8mg3i7np1b7kbcxzrx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) + (("rust-env-logger" ,rust-env-logger-0.11) + ("rust-test-log-macros" ,rust-test-log-macros-0.2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)) #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.9) + (("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) + ("rust-test-case" ,rust-test-case-3) ("rust-tokio" ,rust-tokio-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + ("rust-tracing" ,rust-tracing-0.1)))) (home-page "https://github.com/d-e-s-o/test-log") (synopsis "Replacement of the #[test] attribute that initializes logging") (description @@ -80069,8 +83850,58 @@ each resource matching the specific resource location pattern.") logging and/or tracing infrastructure before running tests.") (license (list license:asl2.0 license:expat)))) +(define-public rust-test-log-macros-0.2 + (package + (name "rust-test-log-macros") + (version "0.2.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "test-log-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xd3490hvpa6fk5sqnmyzbz5xwndfpmmshjfpa8k221jm97f56ar")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/d-e-s-o/test-log.git") + (synopsis "Supporting procedural macro crate for test-log") + (description + "This package provides supporting procedural macro crate for test-log.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-test-strategy-0.3 + (package + (name "rust-test-strategy") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "test-strategy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nf11267xdcflg1ir25na0s8mbrwh9f0zmzykg88l8jlhn01qdmq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-structmeta" ,rust-structmeta-0.2) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/frozenlib/test-strategy") + (synopsis "Macro to write higher-order strategies in proptest") + (description + "This package provides a procedural macro to easily write higher-order +strategies in proptest.") + (license (list license:expat license:asl2.0)))) + (define-public rust-test-strategy-0.2 (package + (inherit rust-test-strategy-0.3) (name "rust-test-strategy") (version "0.2.1") (source (origin @@ -80080,7 +83911,6 @@ logging and/or tracing infrastructure before running tests.") (sha256 (base32 "105lxqs0vnqff5821sgns8q1scvrwfx1yw6iz7i7nr862j6l1mk2")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -80089,13 +83919,7 @@ logging and/or tracing infrastructure before running tests.") ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/frozenlib/test-strategy") - (synopsis "Macro to write higher-order strategies in proptest") - (description - "This package provides a procedural macro to easily write higher-order -strategies in proptest.") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-test-with-0.8 (package @@ -80453,14 +84277,15 @@ handle Unicode characters correctly.") (define-public rust-thiserror-1 (package (name "rust-thiserror") - (version "1.0.56") + (version "1.0.64") (source (origin (method url-fetch) (uri (crate-uri "thiserror" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b9hnzngjan4d89zjs16i01bcpcnvdwklyh73lj16xk28p37hhym")))) + (base32 + "114s8lmssxl0c2480s671am88vzlasbaikxbvfv8pyqrq6mzh2nm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -80523,14 +84348,15 @@ handle Unicode characters correctly.") (define-public rust-thiserror-impl-1 (package (name "rust-thiserror-impl") - (version "1.0.56") + (version "1.0.64") (source (origin (method url-fetch) (uri (crate-uri "thiserror-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w9ldp8fa574ilz4dn7y7scpcq66vdjy59qal8qdpwsh7faal3zs")))) + (base32 + "1hvzmjx9iamln854l74qyhs0jl2pg3hhqzpqm9p8gszmf9v4x408")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -80803,62 +84629,114 @@ system.") ("rust-ordered-float" ,rust-ordered-float-1) ("rust-threadpool" ,rust-threadpool-1)))))) +(define-public rust-tikv-jemalloc-sys-0.6 + (package + (name "rust-tikv-jemalloc-sys") + (version "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7") + (source + (origin + (method url-fetch) + (uri (crate-uri "tikv-jemalloc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0baf5vjpg9ipa388md4yxim77rdblnk8r95mnp1akbqjcj860g6d")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "jemalloc"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + ;; This flag is needed when not using the bundled jemalloc. + ;; https://github.com/tikv/jemallocator/issues/19 + (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1") + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a")))))))) + (inputs (list jemalloc)) + (home-page "https://github.com/tikv/jemallocator") + (synopsis "Rust FFI bindings to jemalloc") + (description "This package provides a Rust FFI bindings to jemalloc.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tikv-jemalloc-sys-0.4 (package + (inherit rust-tikv-jemalloc-sys-0.6) (name "rust-tikv-jemalloc-sys") (version "0.4.1+5.2.1-patched") (source (origin (method url-fetch) (uri (crate-uri "tikv-jemalloc-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1lw6gy9gzk7g7h71nm8a5ybrilhqgr583mn80nslr78p0ldk69la")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "jemalloc"))))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-cc" ,rust-cc-1) ("rust-fs-extra" ,rust-fs-extra-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page - "https://github.com/tikv/jemallocator") - (synopsis "Rust FFI bindings to jemalloc") - (description "This package provides a Rust FFI bindings to jemalloc.") + ("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-tikv-jemallocator-0.6 + (package + (name "rust-tikv-jemallocator") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tikv-jemallocator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r985npb7d9hrbs3mb0bkfbv0nvzjpgvzsbpyj21bn0qhpqmzv2c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `tikv_jemalloc_ctl` + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-tikv-jemalloc-sys" ,rust-tikv-jemalloc-sys-0.6)) + #:cargo-development-inputs (("rust-paste" ,rust-paste-1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + ;; This flag is needed when not using the bundled jemalloc. + ;; https://github.com/tikv/jemallocator/issues/19 + (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1") + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a")))))))) + (inputs (list jemalloc)) + (home-page "https://github.com/tikv/jemallocator") + (synopsis "Rust allocator backed by jemalloc") + (description "This package provides a Rust allocator backed by jemalloc.") (license (list license:expat license:asl2.0)))) (define-public rust-tikv-jemallocator-0.4 (package + (inherit rust-tikv-jemallocator-0.6) (name "rust-tikv-jemallocator") (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "tikv-jemallocator" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pyc94yx74s3vxnr22gnpj0b2f87s0vql0c5ayy1b1zb0jkaa51w")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-tikv-jemalloc-sys" - ,rust-tikv-jemalloc-sys-0.4)))) - (home-page - "https://github.com/tikv/jemallocator") - (synopsis - "Rust allocator backed by jemalloc") - (description - "This package provides a Rust allocator backed by jemalloc.") - (license (list license:expat license:asl2.0)))) + ("rust-tikv-jemalloc-sys" ,rust-tikv-jemalloc-sys-0.4)))))) (define-public rust-tikv-jemalloc-ctl-0.4 (package @@ -80896,14 +84774,14 @@ introspection APIs.") (define-public rust-time-0.3 (package (name "rust-time") - (version "0.3.34") + (version "0.3.36") (source (origin (method url-fetch) (uri (crate-uri "time" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jc7wgprzqjhzd0nqkbmdlnjwyddnswmjw86ni2vq55v45jqn968")))) + (base32 "11g8hdpahgrf1wwl2rpsg5nxq3aj7ri6xr672v4qcij6cgjqizax")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included @@ -81055,14 +84933,14 @@ should not be relied upon directly.") (define-public rust-time-macros-0.2 (package (name "rust-time-macros") - (version "0.2.17") + (version "0.2.18") (source (origin (method url-fetch) (uri (crate-uri "time-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0x3pahhk2751c6kqqq9dk6lz0gydbnxr44q01wpjlrz687ps78vv")))) + (base32 "1kqwxvfh2jkpg38fy673d6danh1bhcmmbsmffww3mphgail2l99z")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-num-conv" ,rust-num-conv-0.1) @@ -81484,6 +85362,24 @@ Fireball''.") #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) ("rust-regex" ,rust-regex-1)))))) +(define-public rust-to-method-1 + (package + (name "rust-to-method") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "to_method" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s72l06fnb5kv6vm5ds0lilg1dyciyyis09ypi5kij0mrbpcxi67")))) + (build-system cargo-build-system) + (home-page "https://github.com/whentze/to_method") + (synopsis "utility micro-crate for using Into more ergonomically.") + (description + "This package provides a utility micro-crate for using Into more ergonomically.") + (license license:cc0))) + (define-public rust-to-shmem-0.0.0 (package (name "rust-to-shmem") @@ -81566,45 +85462,47 @@ tinyobjloader.") (define-public rust-tokio-1 (package (name "rust-tokio") - (version "1.36.0") + (version "1.40.0") (source (origin (method url-fetch) (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0c89p36zbd4abr1z3l5mipp43x7z4c9b4vp4s6r8y0gs2mjmya31")))) + (base32 "166rllhfkyqp0fs7sxn6crv74iizi4wzd3cvxkcpmlk52qip1c72")))) (build-system cargo-build-system) (arguments - (list #:tests? #f ; unresolved imports `crate::runtime::task` + (list #:cargo-test-flags + '(list "--release" "--features=full") + ;; no method named `start_paused` found for struct `tokio::runtime::Builder` + #:tests? #f #:cargo-inputs `(("rust-backtrace" ,rust-backtrace-0.3) ("rust-bytes" ,rust-bytes-1) ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.8) - ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-mio" ,rust-mio-1) ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-socket2" ,rust-socket2-0.5) ("rust-tokio-macros" ,rust-tokio-macros-2) ("rust-tracing" ,rust-tracing-0.1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs `(("rust-async-stream" ,rust-async-stream-0.3) ("rust-futures" ,rust-futures-0.3) ("rust-libc" ,rust-libc-0.2) ("rust-loom" ,rust-loom-0.7) - ("rust-mio-aio" ,rust-mio-aio-0.8) + ("rust-mio-aio" ,rust-mio-aio-0.9) ("rust-mockall" ,rust-mockall-0.11) - ("rust-nix" ,rust-nix-0.27) + ("rust-nix" ,rust-nix-0.29) ("rust-rand" ,rust-rand-0.8) ("rust-socket2" ,rust-socket2-0.5) ("rust-tempfile" ,rust-tempfile-3) ("rust-tokio-stream" ,rust-tokio-stream-0.1) ("rust-tokio-test" ,rust-tokio-test-0.4) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://tokio.rs") (synopsis "Event-driven, non-blocking I/O platform") (description @@ -82051,14 +85949,14 @@ operations.") (define-public rust-tokio-macros-2 (package (name "rust-tokio-macros") - (version "2.2.0") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "tokio-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fwjy4vdx1h9pi4g2nml72wi0fr27b5m954p13ji9anyy8l1x2jv")))) + (base32 "0lnpg14h1v3fh2jvnc8cz7cjf0m7z1xgkwfpcyy632g829imjgb9")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--lib") @@ -83521,8 +87419,39 @@ stream-based WebSocket implementation.") ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-test" ,rust-tokio-test-0.2)))))) +(define-public rust-tokio-vsock-0.4 + (package + (name "rust-tokio-vsock") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-vsock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p88jaypkjicj5rfkj7hmx1jcs2v7cbgyzil084zk4dwn4amr8aj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=test_vsock_server") + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tonic" ,rust-tonic-0.8) + ("rust-vsock" ,rust-vsock-0.3)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-vsock/tokio-vsock") + (synopsis "Asynchronous Virtio socket support for Rust") + (description + "This package provides asynchronous Virtio socket support for Rust.") + (license license:asl2.0))) + (define-public rust-tokio-vsock-0.3 (package + (inherit rust-tokio-vsock-0.4) (name "rust-tokio-vsock") (version "0.3.4") (source (origin @@ -83532,7 +87461,6 @@ stream-based WebSocket implementation.") (sha256 (base32 "1g1fhsibfdgsqayjr9gxkd5npgxh8rj36pcb9pi1c7ci51l5acwv")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=test_vsock_server") @@ -83546,24 +87474,19 @@ stream-based WebSocket implementation.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) ("rust-sha2" ,rust-sha2-0.9) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/rust-vsock/tokio-vsock") - (synopsis "Asynchronous Virtio socket support for Rust") - (description - "This package provides asynchronous Virtio socket support for Rust.") - (license license:asl2.0))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-toml-0.8 (package (name "rust-toml") - (version "0.8.12") + (version "0.8.19") (source (origin (method url-fetch) (uri (crate-uri "toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18rs8cbzmapwcxf0lpdwz84fmsgp9h5vv6xay5d4m2r0x12ibpg9")))) + (base32 "0knjd3mkxyb87qcs2dark3qkpadidap3frqfj5nqvhpxwfc1zvd1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) @@ -83574,7 +87497,7 @@ stream-based WebSocket implementation.") #:cargo-development-inputs (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-snapbox" ,rust-snapbox-0.6) ("rust-toml-test-data" ,rust-toml-test-data-1) ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))) (home-page "https://github.com/toml-rs/toml") @@ -83710,13 +87633,13 @@ serializing Rust structures.") (define-public rust-toml-datetime-0.6 (package (name "rust-toml-datetime") - (version "0.6.5") + (version "0.6.8") (source (origin (method url-fetch) (uri (crate-uri "toml_datetime" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wds4pm2cn6agd38f0ivm65xnc7c7bmk9m0fllcaq82nd3lz8l1m")))) + (base32 "0hgv7v9g35d7y9r2afic58jvlwnf73vgd1mz2k8gihlgrf73bmqd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) @@ -83745,14 +87668,14 @@ serializing Rust structures.") (define-public rust-toml-edit-0.22 (package (name "rust-toml-edit") - (version "0.22.9") + (version "0.22.21") (source (origin (method url-fetch) (uri (crate-uri "toml_edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i3lhd5krd4ah3mgn4m73yla01l7rdlfpl5asy7jb1sikivvnh4f")))) + (base32 "1ky5dncf4g4l8hpqizws2ccp37rsvvc2pwynzwvacjf4fgp2q1rv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) @@ -83763,8 +87686,9 @@ serializing Rust structures.") ("rust-winnow" ,rust-winnow-0.6)) #:cargo-development-inputs (("rust-libtest-mimic" ,rust-libtest-mimic-0.7) + ("rust-proptest" ,rust-proptest-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-snapbox" ,rust-snapbox-0.6) ("rust-toml-test-data" ,rust-toml-test-data-1) ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))) (home-page "https://github.com/toml-rs/toml") @@ -83936,14 +87860,14 @@ parser.") (define-public rust-toml-test-1 (package (name "rust-toml-test") - (version "1.0.0") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "toml-test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h0lfd4bsix6c7mqlqg9r73dgc34b8kmh5vym20y2cgv6ll8khqy")))) + (base32 "1adb1yqg5nph2k9x6rz3y7zdfvjg6yxvc6a00i0gnkqmx60ndqpr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) @@ -83978,13 +87902,13 @@ parser.") (define-public rust-toml-test-data-1 (package (name "rust-toml-test-data") - (version "1.8.0") + (version "1.12.1") (source (origin (method url-fetch) (uri (crate-uri "toml-test-data" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pf13igrg0rm5fmy1sj57y9m313wyfwwjrqxgp3fhg41kvcvmdf6")))) + (base32 "06ps59h02w3g6z6741scv2r2jb7ryhlzga1qwynh6wqhcbwnpfqk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-include-dir" ,rust-include-dir-0.7)))) @@ -83996,18 +87920,18 @@ parser.") (define-public rust-toml-test-harness-0.4 (package (name "rust-toml-test-harness") - (version "0.4.8") + (version "0.4.10") (source (origin (method url-fetch) (uri (crate-uri "toml-test-harness" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pd02rdsq2bdw5cm89mqm0sw3yfpl4iddwg9ji31prfyc7bvir0v")))) + (base32 "1cpj0bcvddvk9vd84xkrk3lyibacxgi4dcxgn4klfp9jp5qm5mha")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ignore" ,rust-ignore-0.4) - ("rust-libtest-mimic" ,rust-libtest-mimic-0.6) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) ("rust-toml-test" ,rust-toml-test-1) ("rust-toml-test-data" ,rust-toml-test-data-1)))) (home-page "https://github.com/epage/toml-test-rs") @@ -84101,20 +88025,20 @@ automatically instrumenting functions.") (define-public rust-tracing-chrome-0.7 (package (name "rust-tracing-chrome") - (version "0.7.1") + (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "tracing-chrome" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06pl66wzskcb0wkl2z99vw500ajlmmqv06dzpckzazvz8kakqss9")))) + (base32 "0977zy46gpawva2laffigxr2pph8v0xa51kfp6ghlifnsn7762mz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde-json" ,rust-serde-json-1) ("rust-tracing-core" ,rust-tracing-core-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-rayon" ,rust-rayon-1) ("rust-tracing" ,rust-tracing-0.1)))) (home-page "https://github.com/thoren-d/tracing-chrome") @@ -84170,6 +88094,40 @@ Chrome-style traces.") (description "Utilities for enriching errors with `tracing`.") (license license:expat))) +(define-public rust-tracing-forest-0.1 + (package + (name "rust-tracing-forest") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-forest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bsr88f4shanjr86ajrx9p8dmsfxxmr24a8llhxixpadn5fq6h7f")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `uuid` + #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/QnnOkabayashi/tracing-forest") + (synopsis + "Preserving contextual coherence among trace data from concurrent tasks") + (description + "This package preserves contextual coherence among trace data from +concurrent tasks.") + (license license:expat))) + (define-public rust-tracing-futures-0.2 (package (name "rust-tracing-futures") @@ -84449,6 +88407,32 @@ application authors using tracing to instrument their applications.") events.") (license (list license:expat license:asl2.0)))) +(define-public rust-tracing-web-0.1 + (package + (name "rust-tracing-web") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-web" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z7yvr0v38yacqhqb1hbawy25jhgymd7izgbj66izmgbzr0s3rmr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/WorldSEnder/tracing-web") + (synopsis "Tracing compatible subscriber layer for web platforms") + (description + "This package provides a tracing compatible subscriber layer for web platforms.") + (license (list license:expat license:asl2.0)))) + (define-public rust-trackable-1 (package (name "rust-trackable") @@ -84818,10 +88802,32 @@ etc. distance calculations and string search.") (sha256 (base32 "0v795l496crk3h6yff9zh1cjyrh5s9v23fbgccc4dpz25z70jav2")))))) +(define-public rust-tryfn-0.2 + (package + (name "rust-tryfn") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tryfn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15n34ga7a1qyhfz45kph0yqx2gjlx10cb9bkmg4wwsk4kvp45qjz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ignore" ,rust-ignore-0.4) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) + ("rust-snapbox" ,rust-snapbox-0.6)))) + (home-page "https://github.com/assert-rs/trycmd") + (synopsis "File-driven snapshot testing for a function") + (description + "This package provides file-driven snapshot testing for a function.") + (license (list license:expat license:asl2.0)))) + (define-public rust-try-lock-0.2 (package (name "rust-try-lock") - (version "0.2.4") + (version "0.2.5") (source (origin (method url-fetch) @@ -84829,7 +88835,7 @@ etc. distance calculations and string search.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vc15paa4zi06ixsxihwbvfn24d708nsyg1ncgqwcrn42byyqa1m")))) + "0jqijrrvm1pyq34zn1jmy2vihd4jcrjlvsh4alkjahhssjnsn8g4")))) (build-system cargo-build-system) (home-page "https://github.com/seanmonstar/try-lock") (synopsis "Lightweight atomic lock") @@ -84840,14 +88846,14 @@ etc. distance calculations and string search.") (define-public rust-trybuild-1 (package (name "rust-trybuild") - (version "1.0.91") + (version "1.0.99") (source (origin (method url-fetch) (uri (crate-uri "trybuild" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nkxwbgpvpkkbxwkd40vv0yvfm5wjddgiwdc7p5fpbgb35iypmwa")))) + (base32 "1s4i2hpyb66676xkg6b6fxm2qdsawj5lfad8ds68vgn46q6sayi0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -84869,14 +88875,14 @@ etc. distance calculations and string search.") (define-public rust-trybuild2-1 (package (name "rust-trybuild2") - (version "1.1.0") + (version "1.2.0") (source (origin (method url-fetch) (uri (crate-uri "trybuild2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0z5nv6skmzz4d74sbrsrd7smyhs76sh8dwz4pd1kbvjpzq2l3v8i")))) + "1hnvvi9f2l2x7xi92ca3mw58hm58qsk8ak9znrb2xsfr3k1v2yly")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -84888,7 +88894,8 @@ etc. distance calculations and string search.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-termcolor" ,rust-termcolor-1)) - #:cargo-development-inputs (("rust-automod" ,rust-automod-1)))) + #:cargo-development-inputs (("rust-automod" ,rust-automod-1) + ("rust-rustversion" ,rust-rustversion-1)))) (home-page "https://github.com/GuillaumeGomez/trybuild2") (synopsis "Test harness for ui tests of compiler diagnostics") (description @@ -84899,17 +88906,18 @@ etc. distance calculations and string search.") (define-public rust-trycmd-0.15 (package (name "rust-trycmd") - (version "0.15.0") + (version "0.15.7") (source (origin (method url-fetch) (uri (crate-uri "trycmd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05sklyyprn2a365jzby0zn7z97p6mpgi2yzlr2s506m80cvdnkj6")))) + (base32 "0p26ya9vrwc8063lxhsfafb308lc4hh7gzxkld9arx80pvcjb318")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-automod" ,rust-automod-1) ("rust-escargot" ,rust-escargot-0.5) ("rust-glob" ,rust-glob-0.3) ("rust-humantime" ,rust-humantime-2) @@ -84919,7 +88927,7 @@ etc. distance calculations and string search.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-shlex" ,rust-shlex-1) - ("rust-snapbox" ,rust-snapbox-0.5) + ("rust-snapbox" ,rust-snapbox-0.6) ("rust-toml-edit" ,rust-toml-edit-0.22)))) (home-page "https://github.com/assert-rs/trycmd") (synopsis "Snapshot testing for a herd of CLI tests") @@ -84932,13 +88940,13 @@ and run them to verify the results, taking inspiration from @code{trybuild} and (package (inherit rust-trycmd-0.15) (name "rust-trycmd") - (version "0.14.19") + (version "0.14.21") (source (origin (method url-fetch) (uri (crate-uri "trycmd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yz4prkmnb1y406p0aq3r8yf11alj8i94yvnz3k07c9glir9607d")))) + (base32 "1mb8x5xi79gjbrahw6l3i9llxcgcn070wy1vrmkzybwk2kv1846l")))) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) @@ -84952,7 +88960,7 @@ and run them to verify the results, taking inspiration from @code{trybuild} and ("rust-serde-json" ,rust-serde-json-1) ("rust-shlex" ,rust-shlex-1) ("rust-snapbox" ,rust-snapbox-0.4) - ("rust-toml-edit" ,rust-toml-edit-0.20)))))) + ("rust-toml-edit" ,rust-toml-edit-0.22)))))) (define-public rust-trycmd-0.13 (package @@ -84980,6 +88988,69 @@ and run them to verify the results, taking inspiration from @code{trybuild} and ("rust-snapbox" ,rust-snapbox-0.4) ("rust-toml-edit" ,rust-toml-edit-0.14)))))) +(define-public rust-tss-esapi-7 + (package + (name "rust-tss-esapi") + (version "7.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tss-esapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pxfa790qp71dny4nca7bi9d88bc7xqx7z4gkx9wnffpvsa6bfm9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Unclear how to run the tests inside the build container. + #:cargo-inputs (("rust-bitfield" ,rust-bitfield-0.14) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hostname-validator" ,rust-hostname-validator-1) + ("rust-log" ,rust-log-0.4) + ("rust-mbox" ,rust-mbox-0.7) + ("rust-num-derive" ,rust-num-derive-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oid" ,rust-oid-0.2) + ("rust-picky-asn1" ,rust-picky-asn1-0.8) + ("rust-picky-asn1-x509" ,rust-picky-asn1-x509-0.12) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-tss-esapi-sys" ,rust-tss-esapi-sys-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sha2" ,rust-sha2-0.10)))) + (native-inputs (list pkg-config)) + (inputs (list tpm2-tss)) + (home-page "https://github.com/parallaxsecond/rust-tss-esapi") + (synopsis "Rust-native wrapper around TSS 2.0 Enhanced System API") + (description + "This package provides Rust-native wrapper around TSS 2.0 Enhanced System API.") + (license license:asl2.0))) + +(define-public rust-tss-esapi-sys-0.5 + (package + (name "rust-tss-esapi-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tss-esapi-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dfmrbbm2834hzimvj78rhya59mv7wfhnrrfz3aw8bhwb29d2p2k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))) + (native-inputs (list pkg-config)) + (inputs (list tpm2-tss)) + (home-page "https://github.com/parallaxsecond/rust-tss-esapi") + (synopsis "FFI wrapper around TSS 2.0 Enhanced System API") + (description + "This package provides FFI wrapper around TSS 2.0 Enhanced System API.") + (license license:asl2.0))) + (define-public rust-tstr-0.2 (package (name "rust-tstr") @@ -85180,8 +89251,34 @@ or dashboards.") #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-tui-react-0.23 + (package + (name "rust-tui-react") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tui-react" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1inc78yngwkambrpcs1alallndysnzdq6p8pd7c12cqgw00sf519")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-ratatui" ,rust-ratatui-0.26) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/Byron/tui-crates") + (synopsis "TUI widgets using a React-like paradigm") + (description + "This package provides TUI widgets using a React-like paradigm, that allows +mutable component state and render properties.") + (license license:expat))) + (define-public rust-tui-react-0.22 (package + (inherit rust-tui-react-0.23) (name "rust-tui-react") (version "0.22.0") (source @@ -85191,18 +89288,11 @@ or dashboards.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "04b5av7fpg46bz3zbgqxdwkrx42lcfcap1afxhd6qrnlw9rwvyig")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-ratatui" ,rust-ratatui-0.25) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/Byron/tui-crates") - (synopsis "TUI widgets using a react-like paradigm") - (description - "TUI widgets using a react-like paradigm, allowing mutable component state and -render properties.") - (license license:expat))) + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-tui-react-0.20 (package @@ -85584,6 +89674,24 @@ and XXH3 algorithms.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))))) +(define-public rust-typeid-1 + (package + (name "rust-typeid") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "typeid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vi32jv3s3nbybbl4r317wi2bk8j4fx4d8p88jji8pnd1hpdn4qf")))) + (build-system cargo-build-system) + (home-page "https://github.com/dtolnay/typeid") + (synopsis "Const TypeId and non-'static TypeId") + (description + "This package provides @code{TypeId} and non-'static @code{TypeId}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-typemap-0.3 (package (name "rust-typemap") @@ -85630,6 +89738,66 @@ implementation is incomplete.") (license (list license:asl2.0 license:expat)))) +(define-public rust-typesize-0.1 + (package + (name "rust-typesize") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "typesize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nv4p49nyrrxf5zkbyzbzy2442jn3rh8h5slyjgnmbv8cb0fbv2x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-dashmap" ,rust-dashmap-5) + ("rust-extract-map" ,rust-extract-map-0.1) + ("rust-halfbrown" ,rust-halfbrown-0.2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-mini-moka" ,rust-mini-moka-0.10) + ("rust-nonmax" ,rust-nonmax-0.5) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-secrecy" ,rust-secrecy-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simd-json" ,rust-simd-json-0.13) + ("rust-time" ,rust-time-0.3) + ("rust-typesize-derive" ,rust-typesize-derive-0.1) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/GnomedDev/typesize") + (synopsis + "Library to fetch an accurate estimate of the total memory usage of a value") + (description + "This package provides a library to fetch an accurate estimate of the total +memory usage of a value.") + (license license:expat))) + +(define-public rust-typesize-derive-0.1 + (package + (name "rust-typesize-derive") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "typesize-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a0ypva9lwmyfgvng2iq87j2gw2ishhm2jbysmmnh9yclk18hplh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/GnomedDev/typesize") + (synopsis "Internal proc-macro crate for typesize") + (description + "This package provides internal proc-macro Crate for the Typesize crate.") + (license license:expat))) + (define-public rust-typetag-0.2 (package (name "rust-typetag") @@ -85787,6 +89955,33 @@ localtime, gmtime and mktime.") "This package provides static, #![no_std] time zone information for tz-rs.") (license license:expat-0))) +(define-public rust-tzfile-0.1 + (package + (name "rust-tzfile") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tzfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bjrlhi0wy5560vwjszksyzbxidvfdr01911mp3y8dr55b22577m")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; 31 online tests fail + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.5) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/kennytm/tzfile") + (synopsis "chrono::TimeZone implementation using system time-zone database") + (description + "This package provides a chrono::@code{TimeZone} implementation using +system tz database.") + (license license:expat))) + (define-public rust-ubyte-0.10 (package (name "rust-ubyte") @@ -85878,30 +90073,87 @@ with the Unicode character database.") (license (list license:asl2.0 license:expat)))) -(define-public rust-udev-0.7 +(define-public rust-udev-0.8 (package (name "rust-udev") - (version "0.7.0") + (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "udev" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06hr927z0fdn7ay0p817b9x19i5fagmpmvz95yhl4d1pf3bbpgaf")))) + (base32 "18f5vkhjcljw1p5gfvy61p1837n27d7h2l3x45pywa5y49p1q1ah")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + `(#:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=device::Device::from_devnum") + #:cargo-inputs (("rust-io-lifetimes" ,rust-io-lifetimes-1) + ("rust-libc" ,rust-libc-0.2) ("rust-libudev-sys" ,rust-libudev-sys-0.1) ("rust-mio" ,rust-mio-0.6) ("rust-mio" ,rust-mio-0.7) ("rust-mio" ,rust-mio-0.8) ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (inputs (list eudev)) + (native-inputs (list pkg-config)) (home-page "https://github.com/Smithay/udev-rs") (synopsis "libudev bindings for Rust") (description "This package provides libudev bindings for Rust.") (license license:expat))) +(define-public rust-udev-0.7 + (package + (inherit rust-udev-0.8) + (name "rust-udev") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "udev" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06hr927z0fdn7ay0p817b9x19i5fagmpmvz95yhl4d1pf3bbpgaf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-libudev-sys" ,rust-libudev-sys-0.1) + ("rust-mio" ,rust-mio-0.6) + ("rust-mio" ,rust-mio-0.7) + ("rust-mio" ,rust-mio-0.8) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-udevrs-0.3 + (package + (name "rust-udevrs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "udevrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "028s1sk1ym919z0w6p8mnvgh9d35c9zzrlaxlmvfrppi6fx5kjdx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Error: UdevHwdb("unable to find hwdb.bin database file") + "--skip=parse_hwdb") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-heapless" ,rust-heapless-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.27)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/cr8t/udev") + (synopsis "Pure Rust implementation of the user-land udev library") + (description + "This package provides Pure Rust implementation of the user-land udev library.") + (license license:lgpl2.0+))) + (define-public rust-ufmt-0.2 (package (name "rust-ufmt") @@ -86781,7 +91033,7 @@ in terms of displayed width.") (define-public rust-unicode-width-0.1 (package (name "rust-unicode-width") - (version "0.1.11") + (version "0.1.13") (source (origin (method url-fetch) @@ -86789,7 +91041,7 @@ in terms of displayed width.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "11ds4ydhg8g7l06rlmh712q41qsrd0j0h00n1jm74kww3kqk65z5")))) + "0p92vl8n7qc8mxz45xn6qbgi0259z96n32a158l6vj5bywwdadh3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -86930,6 +91182,52 @@ clear display in the output.") (description "This package provides unix domain socket bindings.") (license (list license:expat license:asl2.0)))) +(define-public rust-unrar-0.5 + (package + (name "rust-unrar") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "unrar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a8cd2l2hgmc7h5vjkvsl71vas5l7xqjwmx4kh8z48m26mvnm7f9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-regex" ,rust-regex-1) + ("rust-unrar-sys" ,rust-unrar-sys-0.5) + ("rust-widestring" ,rust-widestring-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/muja/unrar.rs") + (synopsis "List and extract RAR archives") + (description + "This package provides functionality to list and extract RAR archives.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-unrar-sys-0.5 + (package + (name "rust-unrar-sys") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "unrar_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1npkjbqx77rsls2f2nhi6x83ass4cw9d27xl647gmzvr6h82b0rz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/muja/unrar.rs") + (synopsis "FFI bindings to unrar") + (description + "This package provides FFI bindings to unrar (with minimal abstractions).") + (license license:expat))) + (define-public rust-unreachable-1 (package (name "rust-unreachable") @@ -86995,14 +91293,14 @@ clear display in the output.") (define-public rust-unsafe-libyaml-0.2 (package (name "rust-unsafe-libyaml") - (version "0.2.10") + (version "0.2.11") (source (origin (method url-fetch) (uri (crate-uri "unsafe-libyaml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jsyc1kqc536wpgx1js61lwj86crniqw16lyvh02va4m1f9r0k5b")))) + "0qdq69ffl3v5pzx9kzxbghzn0fzn266i1xn70y88maybz9csqfk7")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `unsafe_libyaml_test_suite` @@ -87134,6 +91432,30 @@ conversion factors for even more numerous measurement units (meter, kilometer, f mile, ...).") (license (list license:expat license:asl2.0)))) +(define-public rust-uom-0.30 + (package + (inherit rust-uom-0.34) + (name "rust-uom") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "uom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7")))) + (arguments + `(#:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-num-rational" ,rust-num-rational-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-typenum" ,rust-typenum-1)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.3) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-assertions-1)))))) + (define-public rust-ureq-2 (package (name "rust-ureq") @@ -87183,10 +91505,50 @@ mile, ...).") (description "This package provides minimal request library in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-urid-0.1 + (package + (name "rust-urid") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "urid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "195672gs136vczn1r4hkjg5vfa7vdzr26bzv6lwhk0z7cvbvaa38")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-urid-derive" ,rust-urid-derive-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Library for idiomatic URID support") + (description "This package provides Library for idiomatic URID support.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-urid-derive-0.1 + (package + (name "rust-urid-derive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "urid-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i1nf0sgq4ai051h17s9msaavl3jfzdmdlsy8455pr88y0pfx7l1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Procedural macros for urid") + (description "This package provides procedural macros for urid.") + (license (list license:expat license:asl2.0)))) + (define-public rust-url-2 (package (name "rust-url") - (version "2.5.0") + (version "2.5.2") (source (origin (method url-fetch) @@ -87194,7 +91556,7 @@ mile, ...).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0cs65961miawncdg2z20171w0vqrmraswv2ihdpd8lxp7cp31rii")))) + "0v2dx50mx7xzl9454cl5qmpjnhkbahmn59gd3apyipbgyyylsy12")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -87205,7 +91567,8 @@ mile, ...).") #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/servo/rust-url") (synopsis "URL library for Rust, based on the WHATWG URL Standard") (description @@ -87274,6 +91637,30 @@ mile, ...).") (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9")))) (arguments `(#:skip-build? #t)))) +(define-public rust-usb-ids-1 + (package + (name "rust-usb-ids") + (version "1.2024.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "usb-ids" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qsgk1i2h5ngpbf17rx9m9c9pdfwli6psz8b4vxvcr1rhy0zmflg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) + (home-page "https://github.com/woodruffw/usb-ids.rs") + (synopsis "Rust wrappers for the USB ID Repository") + (description + "This package provides Rust wrappers for the USB ID Repository.") + (license license:expat))) + (define-public rust-users-0.11 (package (name "rust-users") @@ -87664,20 +92051,21 @@ of help files.") (define-public rust-uuid-1 (package (name "rust-uuid") - (version "1.6.1") + (version "1.11.0") (source (origin (method url-fetch) (uri (crate-uri "uuid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0q45jxahvysldn3iy04m8xmr8hgig80855y9gq9di8x72v7myfay")))) + "0sj4l28lif2wm4xrafdfgqjywjzv43wzp8nii9a4i539myhg1igq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-atomic" ,rust-atomic-0.5) - ("rust-borsh" ,rust-borsh-0.10) + ("rust-atomic" ,rust-atomic-0.6) + ("rust-borsh" ,rust-borsh-1) + ("rust-borsh-derive" ,rust-borsh-derive-1) ("rust-bytemuck" ,rust-bytemuck-1) ("rust-getrandom" ,rust-getrandom-0.2) ("rust-md-5" ,rust-md-5-0.10) @@ -87687,7 +92075,7 @@ of help files.") ("rust-slog" ,rust-slog-2) ("rust-uuid-macro-internal" ,rust-uuid-macro-internal-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-zerocopy" ,rust-zerocopy-0.6)) + ("rust-zerocopy" ,rust-zerocopy-0.8)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) ("rust-rustversion" ,rust-rustversion-1) @@ -87696,8 +92084,7 @@ of help files.") ("rust-serde-test" ,rust-serde-test-1) ("rust-trybuild" ,rust-trybuild-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/uuid-rs/uuid") (synopsis "Library to generate and parse UUIDs") (description @@ -87791,14 +92178,14 @@ of help files.") (define-public rust-uuid-macro-internal-1 (package (name "rust-uuid-macro-internal") - (version "1.6.1") + (version "1.11.0") (source (origin (method url-fetch) (uri (crate-uri "uuid-macro-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0pl474ljbn40f08a8asy26bhdlwz4cr1k88h0w80l15q7lzpz7pl")))) + "024s8hxxjwgc218kfx9xs274dhnkv1ik9818kv7d0f1sw5zzb4bb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -87849,22 +92236,23 @@ for formatting strings into a grid layout.") (arguments `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))))) -(define-public rust-uzers-0.11 +(define-public rust-uzers-0.12 (package (name "rust-uzers") - (version "0.11.3") + (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "uzers" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qrzbhncbv4s52lgyzs2pxn1b6gmx9k7h1rdwdwix44cgvf87lkn")))) + (base32 "1pcpi9v90nr3q2y3i4pkac9c20r1nzaimvcm7vajmn770ksizy2d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4)) - #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7)))) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11) + ("rust-serial-test" ,rust-serial-test-3)))) (home-page "https://github.com/rustadopt/uzers-rs") (synopsis "Library for getting information on Unix users and groups") (description @@ -87872,6 +92260,23 @@ for formatting strings into a grid layout.") and groups. A more maintained fork of the @code{rust-users} crate.") (license license:expat))) +(define-public rust-uzers-0.11 + (package + (inherit rust-uzers-0.12) + (name "rust-uzers") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "uzers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qrzbhncbv4s52lgyzs2pxn1b6gmx9k7h1rdwdwix44cgvf87lkn")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7)))))) + (define-public rust-v-frame-0.3 (package (name "rust-v-frame") @@ -88331,8 +92736,28 @@ If that fails, no determination is made, and calls return None.") (base32 "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi")))))) +(define-public rust-version-compare-0.2 + (package + (name "rust-version-compare") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "version-compare" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12y9262fhjm1wp0aj3mwhads7kv0jz8h168nn5fb8b43nwf9abl5")))) + (build-system cargo-build-system) + (home-page "https://timvisee.com/projects/version-compare/") + (synopsis "Rust library to easily compare version numbers") + (description + "This package provides a Rust library to easily compare version numbers, +and test them against various comparison operators.") + (license license:expat))) + (define-public rust-version-compare-0.1 (package + (inherit rust-version-compare-0.2) (name "rust-version-compare") (version "0.1.0") (source (origin @@ -88341,14 +92766,7 @@ If that fails, no determination is made, and calls return None.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wyasmnqqngvm54x0gsxbwpxznvn747jkp0dx1nnppy1j9xj927y")))) - (build-system cargo-build-system) - (home-page "https://github.com/timvisee/version-compare") - (synopsis "Rust library to easily compare version numbers") - (description - "This package provides a Rust library to easily compare version -numbers, and test them against various comparison operators.") - (license license:expat))) + "0wyasmnqqngvm54x0gsxbwpxznvn747jkp0dx1nnppy1j9xj927y")))))) (define-public rust-version-compare-0.0.11 (package @@ -88491,8 +92909,33 @@ updated when the crate version changes.") "The uninhabited void type for use in statically impossible cases.") (license license:expat))) +(define-public rust-vsock-0.5 + (package + (name "rust-vsock") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "vsock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1276xvg0jadqvxw26m2018fbsi8lvgx3i5x0hvy4gwbjwq04v2sf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests not runnable from the build environment. + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.29)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/rust-vsock/vsock-rs") + (synopsis "Virtio socket support for Rust") + (description "This package provdies virtio socket support for Rust.") + (license license:asl2.0))) + (define-public rust-vsock-0.3 (package + (inherit rust-vsock-0.5) (name "rust-vsock") (version "0.3.0") (source (origin @@ -88502,7 +92945,6 @@ updated when the crate version changes.") (sha256 (base32 "0mwwcjk2yd3fi5ryv5xhd7569bmcj0dlsmi4bh4jh6qypzq1v3jc")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests not runnable from the build environment. #:cargo-inputs @@ -88510,11 +92952,7 @@ updated when the crate version changes.") ("rust-nix" ,rust-nix-0.24)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/rust-vsock/vsock-rs") - (synopsis "Virtio socket support for Rust") - (description "This package provdies virtio socket support for Rust.") - (license license:asl2.0))) + ("rust-sha2" ,rust-sha2-0.10)))))) (define-public rust-vsock-0.2 (package @@ -88537,6 +92975,23 @@ updated when the crate version changes.") (("rust-rand" ,rust-rand-0.8) ("rust-sha2" ,rust-sha2-0.10)))))) +(define-public rust-vsort-0.2 + (package + (name "rust-vsort") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "vsort" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y7b0x18a2mpn7hk3qfybl2ksy08klwl3bps4yxsd7pr90dilcqi")))) + (build-system cargo-build-system) + (home-page "https://github.com/juansc/vsort/") + (synopsis "GNU Version Sort Rust implementation") + (description "This package provides GNU Version Sort Rust implementation.") + (license license:expat))) + (define-public rust-vswhom-0.1 (package (name "rust-vswhom") @@ -89425,29 +93880,32 @@ attribute that is not in the shared backend crate.") and native running processes.") (license (list license:expat license:asl2.0)))) -(define-public rust-wasmparser-0.118 +(define-public rust-wasmparser-0.216 (package (name "rust-wasmparser") - (version "0.118.2") + (version "0.216.0") (source (origin (method url-fetch) (uri (crate-uri "wasmparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0365n7dd01fh2jklq6q41nszhyyaz82shd4q3nhf4s5q397ibwbp")))) + (base32 "1qr8j1c15r208d9nsjw01x3w71m9i4g756djnhgk37b1lfzfdpmw")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; failed to resolve: use of undeclared crate or module `wat` - #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) - ("rust-semver" ,rust-semver-1)) + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-wasm-encoder" ,rust-wasm-encoder-0.38)))) + ("rust-rayon" ,rust-rayon-1)))) (home-page "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser") (synopsis "Simple event-driven library for parsing WebAssembly binary files") @@ -89456,6 +93914,30 @@ and native running processes.") @code{WebAssembly} binary files.") (license license:asl2.0))) +(define-public rust-wasmparser-0.118 + (package + (inherit rust-wasmparser-0.216) + (name "rust-wasmparser") + (version "0.118.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasmparser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0365n7dd01fh2jklq6q41nszhyyaz82shd4q3nhf4s5q397ibwbp")))) + (arguments + `(#:tests? #f ; failed to resolve: use of undeclared crate or module `wat` + #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-semver" ,rust-semver-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-wasm-encoder" ,rust-wasm-encoder-0.38)))))) + (define-public rust-wasmparser-0.57 (package (inherit rust-wasmparser-0.118) @@ -89968,14 +94450,14 @@ available on a platform.") (define-public rust-weezl-0.1 (package (name "rust-weezl") - (version "0.1.7") + (version "0.1.8") (source (origin (method url-fetch) (uri (crate-uri "weezl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1frdbq6y5jn2j93i20hc80swpkj30p1wffwxj1nr4fp09m6id4wi")))) + (base32 "10lhndjgs6y5djpg3b420xngcr6jkmv70q8rb1qcicbily35pa2k")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -90544,14 +95026,14 @@ multi-character wildcard operator.") (define-public rust-winnow-0.6 (package (name "rust-winnow") - (version "0.6.5") + (version "0.6.18") (source (origin (method url-fetch) (uri (crate-uri "winnow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f0m48kfdvds456b1i1qd6ia9w3mckk2jf4q6z94snpdcw741ynz")))) + (base32 "0vrsrnf2nm9jsk1161x1vacmi3ns4h3h10fib91rs28zd6jbvab8")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Cut the dependency graph. @@ -90607,6 +95089,23 @@ combinators library.") ("rust-memchr" ,rust-memchr-2) ("rust-terminal-size" ,rust-terminal-size-0.2)))))) +(define-public rust-wmidi-3 + (package + (name "rust-wmidi") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wmidi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kxnbs18nmpzm2hfwaaa5h2s77cmk5w53srzxqmrqlkdpdcrjafa")))) + (build-system cargo-build-system) + (home-page "https://github.com/RustAudio/wmidi") + (synopsis "Midi parsing library") + (description "This package provides a Midi parsing library.") + (license license:expat))) + (define-public rust-wycheproof-0.5 (package (name "rust-wycheproof") @@ -90895,23 +95394,23 @@ to XDG Base Directory specification.") (define-public rust-xdg-home-1 (package (name "rust-xdg-home") - (version "1.0.0") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "xdg-home" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kbd1ks8bvpsay6lgk60yaf1w13daaf75ghmslan031ss4y20s97")))) + (base32 "1xm122zz0wjc8p8cmchij0j9nw34hwncb39jc7dc0mgvb2rdl77c")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) - ("rust-winapi" ,rust-winapi-0.3)) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda _ - (setenv "HOME" (getcwd))))))) + (setenv "HOME" "/")))))) (home-page "https://github.com/zeenix/xdg-home") (synopsis "User home directory per XDG Specification") (description "The user's home directory as per the XDG Specification.") @@ -91384,24 +95883,23 @@ library.") #:cargo-development-inputs (("rust-num-traits" ,rust-num-traits-0.2)))))) -(define-public rust-yeslogic-fontconfig-sys-4 +(define-public rust-yeslogic-fontconfig-sys-5 (package (name "rust-yeslogic-fontconfig-sys") - (version "4.0.1") + (version "5.0.0") (source (origin (method url-fetch) (uri (crate-uri "yeslogic-fontconfig-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wsgzlvgknvkjw3m02nvp3x47ccmvfri13mwqzssxgmw5g9pyrgc")))) + (base32 "0yiwnf2gapqaprp3icvv6b1jjh5d356vpis7pybskcd8k4wv5dpz")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-const-cstr" ,rust-const-cstr-0.3) - ("rust-dlib" ,rust-dlib-0.5) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) + `(#:cargo-inputs (("rust-cstr" ,rust-cstr-0.2) + ("rust-dlib" ,rust-dlib-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) (native-inputs (list pkg-config)) (inputs @@ -91413,6 +95911,25 @@ library.") for locating fonts.") (license license:expat))) +(define-public rust-yeslogic-fontconfig-sys-4 + (package + (inherit rust-yeslogic-fontconfig-sys-5) + (name "rust-yeslogic-fontconfig-sys") + (version "4.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "yeslogic-fontconfig-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wsgzlvgknvkjw3m02nvp3x47ccmvfri13mwqzssxgmw5g9pyrgc")))) + (arguments + `(#:cargo-inputs + (("rust-const-cstr" ,rust-const-cstr-0.3) + ("rust-dlib" ,rust-dlib-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-yeslogic-fontconfig-sys-3 (package (inherit rust-yeslogic-fontconfig-sys-4) @@ -91494,19 +96011,81 @@ for locating fonts.") (description "This package provides an implementation of zbase32.") (license license:lgpl3+))) -(define-public rust-zbus-3 +(define-public rust-zbus-4 (package (name "rust-zbus") - (version "3.14.1") + (version "4.4.0") (source (origin (method url-fetch) (uri (crate-uri "zbus" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j5rxgszrmkk5pbpwccrvj3gflwqw8jv8wfx9v84qbl75l53kpii")))) + (base32 "09f7916lp7haxv1y5zgcg99ny15whi6dn3waf1afcafxx8mh35xv")))) (build-system cargo-build-system) (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-async-broadcast" ,rust-async-broadcast-0.7) + ("rust-async-executor" ,rust-async-executor-1) + ("rust-async-fs" ,rust-async-fs-2) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) + ("rust-async-process" ,rust-async-process-2) + ("rust-async-recursion" ,rust-async-recursion-1) + ("rust-async-task" ,rust-async-task-4) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-blocking" ,rust-blocking-1) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-event-listener" ,rust-event-listener-5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-ordered-stream" ,rust-ordered-stream-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-vsock" ,rust-tokio-vsock-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-uds-windows" ,rust-uds-windows-1) + ("rust-vsock" ,rust-vsock-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.52) + ("rust-xdg-home" ,rust-xdg-home-1) + ("rust-zbus-macros" ,rust-zbus-macros-4) + ("rust-zbus-names" ,rust-zbus-names-3) + ("rust-zbus-xml" ,rust-zbus-xml-4) + ("rust-zvariant" ,rust-zvariant-4)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-ntest" ,rust-ntest-0.9) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-log" ,rust-test-log-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "API for D-Bus communication") + (description "This package provides an API for D-Bus communication.") + (license license:expat))) + +(define-public rust-zbus-3 + (package + (inherit rust-zbus-4) + (name "rust-zbus") + (version "3.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ri5gklhh3kl9gywym95679xs7n3sw2j3ky80jcd8siacc5ifpb7")))) + (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-async-broadcast" ,rust-async-broadcast-0.5) @@ -91555,11 +96134,7 @@ for locating fonts.") ("rust-tempfile" ,rust-tempfile-3) ("rust-test-log" ,rust-test-log-0.2) ("rust-tokio" ,rust-tokio-1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "API for D-Bus communication") - (description "This package provides an API for D-Bus communication.") - (license license:expat))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-zbus-1 (package @@ -91597,20 +96172,55 @@ for locating fonts.") ("rust-ntest" ,rust-ntest-0.7) ("rust-zbus-polkit" ,rust-zbus-polkit-1)))))) -(define-public rust-zbus-macros-3 +(define-public rust-zbus-macros-4 (package (name "rust-zbus-macros") - (version "3.14.1") + (version "4.4.0") (source (origin (method url-fetch) (uri (crate-uri "zbus_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17dwc1vvvwxlgn78cpds72hcf7y1hxqkjnpm0zlc0y38ji57kla1")))) + (base32 "0glqn6ddgv4ra734p343a41rrxb0phy1v13dljzhpsc1f10bjz96")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests need a running dbus instance. + #:cargo-inputs (("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) + ("rust-zvariant-utils" ,rust-zvariant-utils-2)) + #:cargo-development-inputs + (("rust-async-io" ,rust-async-io-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "Proc-macros for zbus") + (description "This package provides proc-macros for zbus.") + (license license:expat))) + +(define-public rust-zbus-macros-3 + (package + (inherit rust-zbus-macros-4) + (name "rust-zbus-macros") + (version "3.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19g0d7d4b8l8ycw498sz8pwkplv300j31i9hnihq0zl81xxljcbi")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:tests? #f ; Tests need a running dbus instance. #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) @@ -91622,11 +96232,7 @@ for locating fonts.") ("rust-futures-util" ,rust-futures-util-0.3) ("rust-rustversion" ,rust-rustversion-1) ("rust-serde" ,rust-serde-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "proc-macros for zbus") - (description "This package provides proc-macros for zbus.") - (license license:expat))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-zbus-macros-1 (package @@ -91654,27 +96260,44 @@ for locating fonts.") ("rust-zbus" ,rust-zbus-1) ("rust-zvariant" ,rust-zvariant-2)))))) +(define-public rust-zbus-names-3 + (package + (name "rust-zbus-names") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus_names" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v1f0ajwafj47bf11yp0xdgp26r93lslr9nb2v6624h2gppiz6sb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-zvariant" ,rust-zvariant-4)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "Collection of D-Bus bus names types") + (description "This package provides a collection of D-Bus bus names types.") + (license license:expat))) + (define-public rust-zbus-names-2 (package + (inherit rust-zbus-names-3) (name "rust-zbus-names") - (version "2.6.0") + (version "2.6.1") (source (origin (method url-fetch) (uri (crate-uri "zbus_names" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1adl0acl39flk4jnrv7axg29kpwm7cy15w2wf0yy59mxdmvvp07v")))) - (build-system cargo-build-system) + "13achs6jbrp4l0jy5m6nn7v89clfgb63qhldkg5ddgjh6y6p6za3")))) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-static-assertions" ,rust-static-assertions-1) - ("rust-zvariant" ,rust-zvariant-3)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "Collection of D-Bus bus names types") - (description "This package provides a collection of D-Bus bus names types.") - (license license:expat))) + ("rust-zvariant" ,rust-zvariant-3)))))) (define-public rust-zbus-polkit-1 (package @@ -91700,17 +96323,42 @@ for locating fonts.") (description "@code{PolicyKit} binding.") (license license:expat))) -(define-public rust-zerocopy-0.7 +(define-public rust-zbus-xml-4 + (package + (name "rust-zbus-xml") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus_xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cx2yg4p0vkrgn5ccz6ds2wqzcy9wrwyjv5xnjmzcm5ra92kfgxb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.30) + ("rust-serde" ,rust-serde-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-zbus-names" ,rust-zbus-names-3) + ("rust-zvariant" ,rust-zvariant-4)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "API to handle D-Bus introspection XML") + (description + "This package provides API to handle D-Bus introspection XML.") + (license license:expat))) + +(define-public rust-zerocopy-0.8 (package (name "rust-zerocopy") - (version "0.7.32") + (version "0.8.9") (source (origin (method url-fetch) (uri (crate-uri "zerocopy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l")) + (base32 "170h9r9cz0cfdfka04v4dl6zsbzl45cqr6k7x2g4lbrmiw7nk7pl")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -91718,22 +96366,58 @@ for locating fonts.") (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `testutil` - #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7)) - #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) - ("rust-elain" ,rust-elain-0.3) - ("rust-itertools" ,rust-itertools-0.11) - ("rust-rand" ,rust-rand-0.8) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-static-assertions" ,rust-static-assertions-1) - ("rust-trybuild" ,rust-trybuild-1) - ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=error::tests::alignment_display" + "--skip=error::tests::size_display" + "--skip=error::tests::validity_display" + "--skip=layout::tests::test_validate_cast_and_convert_metadata" + "--skip=util::tests::test_round_down_to_next_multiple_of_alignment_zerocopy_panic_in_const_and_vec_try_reserve") + #:cargo-inputs (("rust-zerocopy-derive" ,rust-zerocopy-derive-0.8)) + #:cargo-development-inputs + (("rust-elain" ,rust-elain-0.3) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.8)))) (home-page "https://github.com/google/zerocopy") (synopsis "Utilities for zero-copy parsing and serialization") (description "Utilities for zero-copy parsing and serialization.") (license (list license:bsd-2 license:asl2.0 license:expat)))) +(define-public rust-zerocopy-0.7 + (package + (inherit rust-zerocopy-0.8) + (name "rust-zerocopy") + (version "0.7.35") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w36q7b9il2flg0qskapgi9ymgg7p985vniqd09vi0mwib8lz6qv")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testutil` + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-elain" ,rust-elain-0.3) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7)))))) + (define-public rust-zerocopy-0.6 (package (inherit rust-zerocopy-0.7) @@ -91771,17 +96455,17 @@ for locating fonts.") ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2)))) (license license:bsd-3))) -(define-public rust-zerocopy-derive-0.7 +(define-public rust-zerocopy-derive-0.8 (package (name "rust-zerocopy-derive") - (version "0.7.32") + (version "0.8.9") (source (origin (method url-fetch) (uri (crate-uri "zerocopy-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw")) + (base32 "1cd712qs5ccn6diy53ymk8vkprgcmnx1gvg3x3xsdxqxi362ywzs")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -91794,7 +96478,11 @@ for locating fonts.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs - (("rust-static-assertions" ,rust-static-assertions-1) + (("rust-dissimilar" ,rust-dissimilar-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/google/zerocopy") (synopsis "Custom derive for traits from the zerocopy Rust crate") @@ -91803,6 +96491,32 @@ for locating fonts.") crate.") (license (list license:bsd-2 license:asl2.0 license:expat)))) +(define-public rust-zerocopy-derive-0.7 + (package + (inherit rust-zerocopy-derive-0.8) + (name "rust-zerocopy-derive") + (version "0.7.35") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gnf2ap2y92nwdalzz3x7142f2b83sni66l39vxp2ijd6j080kzs")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:tests? #f ; unresolved import `zerocopy` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-zerocopy-derive-0.3 (package (inherit rust-zerocopy-derive-0.7) @@ -91854,14 +96568,15 @@ crate.") (define-public rust-zeroize-1 (package (name "rust-zeroize") - (version "1.7.0") + (version "1.8.1") (source (origin (method url-fetch) (uri (crate-uri "zeroize" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bfvby7k9pdp6623p98yz2irqnamcyzpn7zh20nqmdn68b0lwnsj")))) + (base32 + "1pjdrmjwmszpxfd7r860jx54cyk94qk59x13sc307cvr5256glyf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -91900,8 +96615,67 @@ implementation that works everywhere, even WASM!") (description "This crate provides custom derive support for Zeroize.") (license (list license:asl2.0 license:expat)))) +(define-public rust-zip-2 + (package + (name "rust-zip") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zip" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "151lrzswjkhwzlr6dkmgbi4s51sa8dr496n6mwiswms0xa444pnw")) + (modules '((guix build utils))) + (snippet + ;; loosen version requirement for rust-clap-4 + '(begin (substitute* "Cargo.toml" + (("version = \"=") "version = \"^")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;;tests missing + #:cargo-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-deflate64" ,rust-deflate64-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-lzma-rs" ,rust-lzma-rs-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1) + ("rust-zopfli" ,rust-zopfli-0.8) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-time" ,rust-time-0.3) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://github.com/zip-rs/zip2") + (synopsis "Library to support reading and writing Zip files") + (description + "Rust library for reading and writing Zip files.") + (license license:expat))) + (define-public rust-zip-0.6 (package + (inherit rust-zip-2) (name "rust-zip") (version "0.6.6") (source @@ -91911,7 +96685,6 @@ implementation that works everywhere, even WASM!") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qcjbqfvbwxi5g9wbymf2r05cvziic2qqj4xy64q3hp48vi980vn")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aes" ,rust-aes-0.8) @@ -91932,13 +96705,7 @@ implementation that works everywhere, even WASM!") ("rust-time" ,rust-time-0.3) ("rust-walkdir" ,rust-walkdir-2)))) (native-inputs (list pkg-config)) - (inputs (list (list zstd "lib"))) - (home-page "https://github.com/zip-rs/zip") - (synopsis - "Library to support the reading and writing of zip files") - (description - "Library to support the reading and writing of zip files.") - (license license:expat))) + (inputs (list (list zstd "lib"))))) (define-public rust-zip-0.5 (package @@ -91966,6 +96733,98 @@ implementation that works everywhere, even WASM!") (native-inputs '()) (inputs '()))) +(define-public rust-zlib-rs-0.4 + (package + (name "rust-zlib-rs") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zlib-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rbyn2bd0mi7b60bx7qgxslz90dxfxaxrpk1q5625jb6cpfak91c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-quickcheck" ,rust-quickcheck-1)) + #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/trifectatechfoundation/zlib-rs") + (synopsis "Memory-safe zlib implementation written in Rust") + (description + "This package provides a memory-safe zlib implementation written in Rust.") + (license license:zlib))) + +(define-public rust-zlib-rs-0.3 + (package + (inherit rust-zlib-rs-0.4) + (name "rust-zlib-rs") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zlib-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06kkjpqddvb5n8c24mmd3lmmcsy2yfwfsjyni8dggysayfd7r50b")))) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-quickcheck" ,rust-quickcheck-1)))))) + +(define-public rust-zlib-rs-0.1 + (package + (inherit rust-zlib-rs-0.3) + (name "rust-zlib-rs") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zlib-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18a49npwcrpbvsxs3dzk51kizd81qffnaxjqfn4fqq37vki0a8f5")))) + (arguments + `(#:tests? #f ; zlib-ng isn't packaged. + #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-quickcheck" ,rust-quickcheck-1)) + #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-libz-ng-sys" ,rust-libz-ng-sys-1)))))) + +(define-public rust-zopfli-0.8 + (package + (name "rust-zopfli") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zopfli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ip9azz9ldk19m0m1hdppz3n5zcz0cywbg1vx59g4p5c3cwry0g5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bumpalo" ,rust-bumpalo-3) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-lockfree-object-pool" ,rust-lockfree-object-pool-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)) + #:cargo-development-inputs + (("rust-miniz-oxide" ,rust-miniz-oxide-0.7) + ("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive", rust-proptest-derive-0.4)))) + (home-page "https://github.com/zopfli-rs/zopfli") + (synopsis + "Rust implementation of the Zopfli compression algorithm") + (description + "This package provides a Rust implementation of the Zopfli compression algorithm.") + (license license:asl2.0))) + (define-public rust-zoneinfo-compiled-0.5 (package (name "rust-zoneinfo-compiled") @@ -91993,14 +96852,15 @@ implementation that works everywhere, even WASM!") (define-public rust-zstd-0.13 (package (name "rust-zstd") - (version "0.13.0") + (version "0.13.2") (source (origin (method url-fetch) (uri (crate-uri "zstd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0401q54s9r35x2i7m1kwppgkj79g0pb6xz3xpby7qlkdb44k7yxz")))) + (base32 + "1ygkr6wspm9clbp7ykyl0rv69cfsf9q4lic9wcqiwn34lrwbgwpw")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -92094,14 +96954,15 @@ implementation that works everywhere, even WASM!") (define-public rust-zstd-safe-7 (package (name "rust-zstd-safe") - (version "7.0.0") + (version "7.2.1") (source (origin (method url-fetch) (uri (crate-uri "zstd-safe" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gpav2lcibrpmyslmjkcn3w0w64qif3jjljd2h8lr4p249s7qx23")))) + (base32 + "0nch85m5cr493y26yvndm6a8j6sd9mxpr2awrim3dslcnr6sp8sl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-zstd-sys" ,rust-zstd-sys-2)))) @@ -92216,6 +97077,29 @@ compression library.") ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) +(define-public rust-zune-core-0.4 + (package + (name "rust-zune-core") + (version "0.4.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "zune-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jj1ra86klzlcj9aha9als9d1dzs7pqv3azs1j3n96822wn3lhiz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/etemesi254/zune-image") + (synopsis + "Core utilities for image processing in the zune family of crates") + (description + "This package provides core utilities for image processing in the zune +family of crates.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-zune-inflate-0.2 (package (name "rust-zune-inflate") @@ -92242,21 +97126,82 @@ compression library.") in Pure Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-zune-jpeg-0.4 + (package + (name "rust-zune-jpeg") + (version "0.4.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "zune-jpeg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s07igp839yy66hs5f8g6gzvvanywgv3zxr2hq18yk8bc0c9828n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-zune-core" ,rust-zune-core-0.4)))) + (home-page + "https://github.com/etemesi254/zune-image/tree/dev/crates/zune-jpeg") + (synopsis "fast, correct and safe jpeg decoder") + (description + "This package provides a fast, correct and safe jpeg decoder.") + (license (list license:expat license:asl2.0 license:zlib)))) + +(define-public rust-zvariant-4 + (package + (name "rust-zvariant") + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zvariant" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zl1ika7zd9bxkd0bqc78h9bykvk6xc98965iz1p3i51p452k110")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; overflow evaluating the requirement `PhantomData<Vec<u8>>: + #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-endi" ,rust-endi-1) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-heapless" ,rust-heapless-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1) + ("rust-zvariant-derive" ,rust-zvariant-derive-4)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-glib" ,rust-glib-0.20) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-repr" ,rust-serde-repr-0.1)))) + (native-inputs + (list pkg-config)) + (inputs + (list glib)) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "D-Bus & GVariant encoding & decoding") + (description "D-Bus & GVariant encoding & decoding") + (license license:expat))) + (define-public rust-zvariant-3 (package + (inherit rust-zvariant-4) (name "rust-zvariant") - (version "3.15.0") + (version "3.15.2") (source (origin (method url-fetch) (uri (crate-uri "zvariant" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "131kaczf10psc8clzlndcc52dym5vi4g22kqf0qwaq6rw2z93cj4")))) - (build-system cargo-build-system) + "1nxj9x187jl32fd32zvq8hfn6lyq3kjadb2q7f6kb6x0igl2pvsf")))) (arguments - `(#:tests? #f ; overflow evaluating the requirement `PhantomData<Vec<u8>>: - #:cargo-inputs + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) ("rust-byteorder" ,rust-byteorder-1) ("rust-chrono" ,rust-chrono-0.4) @@ -92274,15 +97219,7 @@ in Pure Rust.") ("rust-glib" ,rust-glib-0.17) ("rust-rand" ,rust-rand-0.8) ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-repr" ,rust-serde-repr-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list glib)) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "D-Bus & GVariant encoding & decoding") - (description "D-Bus & GVariant encoding & decoding") - (license license:expat))) + ("rust-serde-repr" ,rust-serde-repr-0.1)))))) (define-public rust-zvariant-2 (package @@ -92313,20 +97250,54 @@ in Pure Rust.") ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-repr" ,rust-serde-repr-0.1)))))) +(define-public rust-zvariant-derive-4 + (package + (name "rust-zvariant-derive") + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zvariant_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jf408h0s83krxwm7wl62fnssin1kcklmb1bcn83ls6sddabmqkk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `zvariant` + #:cargo-inputs (("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) + ("rust-zvariant-utils" ,rust-zvariant-utils-2)) + #:cargo-development-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-repr" ,rust-serde-repr-0.1)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "D-Bus & GVariant encoding & decoding") + (description "This package provides D-Bus & GVariant encoding & decoding.") + (license license:expat))) + (define-public rust-zvariant-derive-3 (package + (inherit rust-zvariant-derive-4) (name "rust-zvariant-derive") - (version "3.15.0") + (version "3.15.2") (source (origin (method url-fetch) (uri (crate-uri "zvariant_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1kcfgpqshggr5v7dwldjggix79zcyj7fizw7dkh6w39iziyplkck")))) - (build-system cargo-build-system) + "1nbydrkawjwxan12vy79qsrn7gwc483mpfzqs685ybyppv04vhip")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (arguments - `(#:tests? #f ; Needs unstable features. + `(#:tests? #f ; use of undeclared crate or module `zvariant` #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro2" ,rust-proc-macro2-1) @@ -92337,11 +97308,7 @@ in Pure Rust.") (("rust-byteorder" ,rust-byteorder-1) ("rust-enumflags2" ,rust-enumflags2-0.7) ("rust-serde" ,rust-serde-1) - ("rust-serde-repr" ,rust-serde-repr-0.1)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "D-Bus & GVariant encoding & decoding") - (description "D-Bus & GVariant encoding & decoding") - (license license:expat))) + ("rust-serde-repr" ,rust-serde-repr-0.1)))))) (define-public rust-zvariant-derive-2 (package @@ -92368,27 +97335,44 @@ in Pure Rust.") ("rust-serde-repr" ,rust-serde-repr-0.1) ("rust-zvariant" ,rust-zvariant-2)))))) +(define-public rust-zvariant-utils-2 + (package + (name "rust-zvariant-utils") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zvariant_utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h43h3jcw8rmjr390rdqnhkb9nn3913pgkvb75am1frxrkvwy6y5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/dbus2/zbus/") + (synopsis "Utilities used internally by the zvariant crate") + (description "Various utilities used internally by the zvariant crate.") + (license license:expat))) + (define-public rust-zvariant-utils-1 (package + (inherit rust-zvariant-utils-2) (name "rust-zvariant-utils") - (version "1.0.1") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "zvariant_utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "00625h3240rixvfhq6yhws1d4bwf3vrf74v8s69b97aq27cg0d3j")))) - (build-system cargo-build-system) + "0nkxvv1g9vrajjncgpsnb0q9cvgirdw9vk4p9wyd336npn8p5ykm")))) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/dbus2/zbus/") - (synopsis "Utilities used internally by the zvariant crate") - (description "Various utilities used internally by the zvariant crate.") - (license license:expat))) + ("rust-syn" ,rust-syn-1)))))) ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index 61ce82cda80..ec6c1c0e4c8 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -40,10 +40,12 @@ #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages golang) + #:use-module (gnu packages jemalloc) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages rust-apps) - #:use-module (gnu packages tls)) + #:use-module (gnu packages tls) + #:use-module (gnu packages valgrind)) (define-public rust-asn1-0.15 (package @@ -129,8 +131,44 @@ ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-asn1-rs-0.6 + (package + (name "rust-asn1-rs") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j5h437ycgih5hnrma6kmaxi4zb8csynnd66h9rzvxxcvfzc74sl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.5) + ("rust-asn1-rs-impl" ,rust-asn1-rs-impl-0.2) + ("rust-bitvec" ,rust-bitvec-1) + ("rust-colored" ,rust-colored-2) + ("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-nom" ,rust-nom-7) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rusticata-macros" ,rust-rusticata-macros-4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-colored" ,rust-colored-2) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-pem" ,rust-pem-3) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/rusticata/asn1-rs") + (synopsis "Parser/encoder for ASN.1 BER/DER data") + (description + "This package provides a parser/encoder for ASN.1 BER/DER data.") + (license (list license:expat license:asl2.0)))) + (define-public rust-asn1-rs-0.5 (package + (inherit rust-asn1-rs-0.6) (name "rust-asn1-rs") (version "0.5.2") (source (origin @@ -140,7 +178,6 @@ (sha256 (base32 "1w7zq0392qs7kkv0nzw50bfqvq7q9zxv48fsp3sxyl83mzfxavvz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.4) @@ -159,11 +196,7 @@ ("rust-hex-literal" ,rust-hex-literal-0.3) ("rust-oid-registry" ,rust-oid-registry-0.6) ("rust-pem" ,rust-pem-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/rusticata/asn1-rs") - (synopsis "Parser/encoder for ASN.1 BER/DER data") - (description "Parser/encoder for ASN.1 BER/DER data") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-asn1-rs-0.3 (package @@ -195,8 +228,32 @@ ("rust-pem" ,rust-pem-1) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-asn1-rs-derive-0.5 + (package + (name "rust-asn1-rs-derive") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "140ldl0vp1d0090bpm0w9j8g80dwc03wp928w5kv5diwwlrjsp4n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-synstructure" ,rust-synstructure-0.13)))) + (home-page "https://github.com/rusticata/asn1-rs") + (synopsis "Derive macros for the `asn1-rs` crate") + (description + "This package provides derive macros for the @code{asn1-rs} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-asn1-rs-derive-0.4 (package + (inherit rust-asn1-rs-derive-0.5) (name "rust-asn1-rs-derive") (version "0.4.0") (source (origin @@ -206,18 +263,12 @@ (sha256 (base32 "0v7fgmnzk7jjxv51grhwzcx5bf167nlqwk3vcmq7xblf5s4karbj")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/rusticata/asn1-rs") - (synopsis "Derive macros for the `asn1-rs` crate") - (description - "This package provides derive macros for the @code{asn1-rs} crate.") - (license (list license:expat license:asl2.0)))) + ("rust-synstructure" ,rust-synstructure-0.12)))))) (define-public rust-asn1-rs-derive-0.1 (package @@ -237,8 +288,31 @@ ("rust-syn" ,rust-syn-1) ("rust-synstructure" ,rust-synstructure-0.12)))))) +(define-public rust-asn1-rs-impl-0.2 + (package + (name "rust-asn1-rs-impl") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xv56m0wrwix4av3w86sih1nsa5g1dgfz135lz1qdznn5h60a63v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/rusticata/asn1-rs") + (synopsis "Implementation details for the `asn1-rs` crate") + (description + "This package provides implementation details for the @code{asn1-rs} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-asn1-rs-impl-0.1 (package + (inherit rust-asn1-rs-impl-0.2) (name "rust-asn1-rs-impl") (version "0.1.0") (source (origin @@ -248,17 +322,11 @@ (sha256 (base32 "1va27bn7qxqp4wanzjlkagnynv6jnrhnwmcky2ahzb1r405p6xr7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/rusticata/asn1-rs") - (synopsis "Implementation details for the `asn1-rs` crate") - (description - "This package provides implementation details for the @code{asn1-rs} crate.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-async-native-tls-0.3 (package @@ -362,27 +430,37 @@ version of AWS-LC.") (define-public rust-aws-lc-rs-1 (package (name "rust-aws-lc-rs") - (version "1.6.1") + (version "1.11.0") (source (origin (method url-fetch) (uri (crate-uri "aws-lc-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jmwpin66yibpq0ha7i61g2ryz9gp4y6by4337fdjj2ckhwbm55v")))) + (base32 "0ifz8z5y4qg94ri9vybyv2pq0hr7ds3da1r6rmd08dk2nr02hz7y")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"[=~] ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-aws-lc-fips-sys" ,rust-aws-lc-fips-sys-0.12) - ("rust-aws-lc-sys" ,rust-aws-lc-sys-0.13) + ("rust-aws-lc-sys" ,rust-aws-lc-sys-0.23) ("rust-mirai-annotations" ,rust-mirai-annotations-1) ("rust-paste" ,rust-paste-1) ("rust-untrusted" ,rust-untrusted-0.7) ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs (("rust-clap" ,rust-clap-4) ("rust-hex" ,rust-hex-0.4) + ("rust-home" ,rust-home-0.5) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1)))) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-regex" ,rust-regex-1) + ("rust-regex-automata" ,rust-regex-automata-0.3) + ("rust-regex-syntax" ,rust-regex-syntax-0.7) + ("rust-which" ,rust-which-5)))) (native-inputs (list cmake-minimal)) (home-page "https://github.com/awslabs/aws-lc-rs") (synopsis "AWS-LC is a general-purpose cryptographic library") @@ -392,21 +470,21 @@ cryptographic operations. This library strives to be API-compatible with the popular Rust library named ring.") (license (list license:isc license:openssl license:asl2.0)))) -;; TODO: Unbundle aws-lc. -(define-public rust-aws-lc-sys-0.13 +(define-public rust-aws-lc-sys-0.23 (package (name "rust-aws-lc-sys") - (version "0.13.0") + (version "0.23.0") (source (origin (method url-fetch) (uri (crate-uri "aws-lc-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn")))) + (base32 "15igggl0xvzx212di0z4l1hxcvjhlk5ns67iw5yis7p8knd62fmd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) ("rust-cmake" ,rust-cmake-0.1) ("rust-dunce" ,rust-dunce-1) ("rust-fs-extra" ,rust-fs-extra-1) @@ -421,6 +499,27 @@ Cryptography team for AWS and their customers. It is based on code from the Google @code{BoringSSL} project and the @code{OpenSSL} project.") (license (list license:isc license:openssl license:asl2.0)))) +;; TODO: Unbundle aws-lc. +(define-public rust-aws-lc-sys-0.13 + (package + (inherit rust-aws-lc-sys-0.23) + (name "rust-aws-lc-sys") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aws-lc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn")))) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cmake" ,rust-cmake-0.1) + ("rust-dunce" ,rust-dunce-1) + ("rust-fs-extra" ,rust-fs-extra-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-paste" ,rust-paste-1)))))) + (define-public rust-der-0.7 (package (name "rust-der") @@ -631,8 +730,40 @@ targets") "This crate provides a macro to encode DER oids at compile time.") (license (list license:expat license:asl2.0)))) +(define-public rust-der-parser-9 + (package + (name "rust-der-parser") + (version "9.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lxmykajggvaq5mvpm2avgzwib4n9nyxii0kqaz2d5k88g3abl2w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.6) + ("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-nom" ,rust-nom-7) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rusticata-macros" ,rust-rusticata-macros-4)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-test-case" ,rust-test-case-3)))) + (home-page "https://github.com/rusticata/der-parser") + (synopsis "Parser/encoder for ASN.1 BER/DER data") + (description "This crate provides a parser for Basic Encoding Rules (BER +[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the +@code{nom} parser combinator framework.") + (license (list license:expat license:asl2.0)))) + (define-public rust-der-parser-8 (package + (inherit rust-der-parser-9) (name "rust-der-parser") (version "8.2.0") (source (origin @@ -642,7 +773,6 @@ targets") (sha256 (base32 "07mnz9y395zyxwj7nam2dbzkqdngfraxp2i7y2714dxmpbxpdmnv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5) @@ -655,13 +785,7 @@ targets") #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-test-case" ,rust-test-case-3)))) - (home-page "https://github.com/rusticata/der-parser") - (synopsis "BER/DER parser written in pure Rust") - (description "This crate provides a parser for Basic Encoding Rules (BER -[X.690]) and Distinguished Encoding Rules(DER [X.690]), implemented with the -@code{nom} parser combinator framework.") - (license (list license:expat license:asl2.0)))) + ("rust-test-case" ,rust-test-case-3)))))) (define-public rust-der-parser-7 (package @@ -753,8 +877,55 @@ targets") implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-oid-0.2 + (package + (name "rust-oid") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "oid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hh61lx2kr0ca2rvkhf5j94asxxvb6pfwfxm06hdn4w8b4y906cw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-serde-xml-rs" ,rust-serde-xml-rs-0.4) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://labs.unnecessary.engineering/oid") + (synopsis + "Library for building, parsing, and formating Object Identifiers (OIDs)") + (description + "This package provides a Rust-native library for building, parsing, and +formating Object Identifiers (OIDs).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-oid-registry-0.7 + (package + (name "rust-oid-registry") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "oid-registry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1navxdy0gx7f92ymwr6n02x35fypp2izdfcf49wszkc9ji6h7n58")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.6)))) + (home-page "https://github.com/rusticata/oid-registry") + (synopsis "Object Identifier (OID) database") + (description "This crate is a helper crate, containing a database of +OID objects. These objects are intended for use when manipulating ASN.1 +grammars and BER/DER encodings, for example.") + (license (list license:expat license:asl2.0)))) + (define-public rust-oid-registry-0.6 (package + (inherit rust-oid-registry-0.7) (name "rust-oid-registry") (version "0.6.1") (source (origin @@ -764,15 +935,8 @@ implementation.") (sha256 (base32 "1zwvjp3ad6gzn8g8w2hcn9a2xdap0lkzckhlnwp6rabbzdpz7vcv")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5)))) - (home-page "https://github.com/rusticata/oid-registry") - (synopsis "Object Identifier (OID) database") - (description "This crate is a helper crate, containing a database of -OID objects. These objects are intended for use when manipulating ASN.1 -grammars and BER/DER encodings, for example.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5)))))) (define-public rust-oid-registry-0.4 (package @@ -820,8 +984,137 @@ grammars and BER/DER encodings, for example.") `(#:skip-build? #t #:cargo-inputs (("rust-der-parser" ,rust-der-parser-6)))))) +(define-public rust-picky-asn1-0.8 + (package + (name "rust-picky-asn1") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "picky-asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04mjb35z1g3dny8hjj6893fh8g6pskyhifcq58gf4sy16c7ylpi9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `picky_asn1_der` + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-oid" ,rust-oid-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/Devolutions/picky-rs") + (synopsis "Provide ASN.1 simple types") + (description "This package provides ASN.1 simple types.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-picky-asn1-der-0.4 + (package + (name "rust-picky-asn1-der") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "picky-asn1-der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gvrhb2nx17cnigsvbvjq69xg0zy27iabglknfnjvm1nkqx8gxsx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-picky-asn1" ,rust-picky-asn1-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-oid" ,rust-oid-0.2) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) + (home-page "https://github.com/Devolutions/picky-rs") + (synopsis "ASN.1-DER subset for serde") + (description "This package provides an ASN.1-DER subset for serde.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-picky-asn1-x509-0.12 + (package + (name "rust-picky-asn1-x509") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "picky-asn1-x509" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0232vn4i6x2w1hzysn983an6x0fqzak1ix0h4grryjb83bvj0prc")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-oid" ,rust-oid-0.2) + ("rust-picky-asn1" ,rust-picky-asn1-0.8) + ("rust-picky-asn1-der" ,rust-picky-asn1-der-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-widestring" ,rust-widestring-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-expect-test" ,rust-expect-test-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/Devolutions/picky-rs") + (synopsis "Provides ASN1 types defined by X.509 related RFCs") + (description + "This package provides ASN1 types defined by X.509 related RFCs.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rcgen-0.13 + (package + (name "rust-rcgen") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yb7lg0pd1j66jr0kacs5z8q66fb9izkvsp11ma8hry4f8c7w1sl")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) + ("rust-pem" ,rust-pem-3) + ("rust-ring" ,rust-ring-0.17) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.16) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-botan" ,rust-botan-0.10) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.17) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-x509-parser" ,rust-x509-parser-0.16)))) + (native-inputs (list pkg-config)) + (inputs (list botan openssl)) + (home-page "https://github.com/rustls/rcgen") + (synopsis "Rust X.509 certificate generator") + (description "This package provides Rust X.509 certificate generator.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rcgen-0.12 (package + (inherit rust-rcgen-0.13) (name "rust-rcgen") (version "0.12.1") (source (origin @@ -837,7 +1130,6 @@ grammars and BER/DER encodings, for example.") ;; Don't use a vendored botan. (substitute* "Cargo.toml" ((".*vendored.*") "")))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) @@ -854,15 +1146,7 @@ grammars and BER/DER encodings, for example.") ("rust-ring" ,rust-ring-0.17) ("rust-rsa" ,rust-rsa-0.9) ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) - ("rust-x509-parser" ,rust-x509-parser-0.15)))) - (native-inputs - (list pkg-config)) - (inputs - (list botan openssl)) - (home-page "https://github.com/rustls/rcgen") - (synopsis "Rust X.509 certificate generator") - (description "Rust X.509 certificate generator.") - (license (list license:expat license:asl2.0)))) + ("rust-x509-parser" ,rust-x509-parser-0.15)))))) (define-public rust-rcgen-0.11 (package @@ -997,8 +1281,67 @@ grammars and BER/DER encodings, for example.") ("rust-webpki" ,rust-webpki-0.22) ("rust-x509-parser" ,rust-x509-parser-0.12)))))) +(define-public rust-rustls-0.23 + (package + (name "rust-rustls") + (version "0.23.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07lg2b56s3gp3acd8a6yaqbpji8vv3xmv3ay8vaacjy525ap86kz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) + ("rust-brotli" ,rust-brotli-7) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-4) + ("rust-hashbrown" ,rust-hashbrown-0.15) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-ring" ,rust-ring-0.17) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1) + ("rust-zlib-rs" ,rust-zlib-rs-0.4)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.22) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-hex" ,rust-hex-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-rcgen" ,rust-rcgen-0.13) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tikv-jemallocator" ,rust-tikv-jemallocator-0.6) + ("rust-time" ,rust-time-0.3) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'override-jemalloc + (lambda* (#:key inputs #:allow-other-keys) + (let ((jemalloc (assoc-ref inputs "jemalloc"))) + ;; This flag is needed when not using the bundled jemalloc. + ;; https://github.com/tikv/jemallocator/issues/19 + (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1") + (setenv "JEMALLOC_OVERRIDE" + (string-append jemalloc "/lib/libjemalloc_pic.a")))))))) + (inputs (list jemalloc)) + (home-page "https://github.com/rustls/rustls") + (synopsis "Modern TLS library written in Rust") + (description + "This package provides a modern TLS library written in Rust.") + (license (list license:asl2.0 license:isc license:expat)))) + (define-public rust-rustls-0.22 (package + (inherit rust-rustls-0.23) (name "rust-rustls") (version "0.22.2") (source @@ -1008,7 +1351,6 @@ grammars and BER/DER encodings, for example.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hcxyhq6ynvws9v5b2h81s1nwmijmya7a3vyyyhsy1wqpmb9jz78")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) @@ -1024,12 +1366,7 @@ grammars and BER/DER encodings, for example.") ("rust-env-logger" ,rust-env-logger-0.10) ("rust-log" ,rust-log-0.4) ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) - ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) - (home-page "https://github.com/rustls/rustls") - (synopsis "Modern TLS library written in Rust") - (description - "This package provides a modern TLS library written in Rust.") - (license (list license:asl2.0 license:isc license:expat)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))))) (define-public rust-rustls-0.21 (package @@ -1249,8 +1586,41 @@ grammars and BER/DER encodings, for example.") ("rust-untrusted" ,rust-untrusted-0.6) ("rust-webpki" ,rust-webpki-0.18)))))) +(define-public rust-rustls-ffi-0.14 + (package + (name "rust-rustls-ffi") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cdpnx205m3bc7sn6gvaizlsb8ayipf1l061das37mf7n4sw157s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=acceptor::tests::test_acceptor_success") + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-rustls-platform-verifier" ,rust-rustls-platform-verifier-0.3) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102)) + #:cargo-development-inputs (("rust-regex" ,rust-regex-1) + ("rust-toml" ,rust-toml-0.6)))) + (home-page "https://github.com/rustls/rustls-ffi") + (synopsis "Rustls bindings for non-Rust languages") + (description + "This package provides Rustls bindings for non-Rust languages.") + (license (list license:asl2.0 license:isc license:expat)))) + (define-public rust-rustls-ffi-0.8 (package + (inherit rust-rustls-ffi-0.14) (name "rust-rustls-ffi") (version "0.8.2") (source (origin @@ -1259,7 +1629,6 @@ grammars and BER/DER encodings, for example.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06kqrvm1d5ps9pml26zdd2hm8hh20j6svwvqibpnx7m5rh3jg9cx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) @@ -1278,11 +1647,7 @@ grammars and BER/DER encodings, for example.") ;; a version requirement for cbindgen. (lambda _ (substitute* "Cargo.toml" - (("0\\.19\\.0") "*"))))))) - (home-page "https://github.com/rustls/rustls-ffi") - (synopsis "Rustls bindings for non-Rust languages") - (description "Rustls bindings for non-Rust languages") - (license (list license:asl2.0 license:isc license:expat)))) + (("0\\.19\\.0") "*"))))))))) (define-public rust-rustls-native-certs-0.7 (package @@ -1452,47 +1817,122 @@ PEM-encodings commonly used to store keys and certificates at rest.") (define-public rust-rustls-pki-types-1 (package (name "rust-rustls-pki-types") - (version "1.7.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (crate-uri "rustls-pki-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0banlc9xzwqrx8n0h4bd0igmq3z5hc72rn941lf22cp3gkkraqlp")))) + (base32 "0jv78c32pgf1i0bn7rzf4xdr9qh5wsvigp6akc1yhzls7hdj1w8n")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-web-time" ,rust-web-time-1)))) + (("rust-web-time" ,rust-web-time-1)) + #:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1)))) + (native-inputs (list valgrind)) (home-page "https://github.com/rustls/pki-types") (synopsis "Shared types for the rustls PKI ecosystem") (description "This crate provides shared types for the rustls PKI ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustls-platform-verifier-0.3 + (package + (name "rust-rustls-platform-verifier") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-platform-verifier" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "145lhjn9w5khp0fn4lagaa8qqyjyhfqn2dg6llva6qyzvy5qgfxg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::verification_mock::test_verification_without_mock_root" + "--skip=tests::verification_real_world::tests::_1password_com_valid" + "--skip=tests::verification_real_world::tests::letsencrypt" + "--skip=tests::verification_real_world::tests::my_1password_com_valid" + "--skip=tests::verification_real_world::tests::my_1password_com_valid_no_stapled" + "--skip=tests::verification_real_world::tests::unrelated_chain_not_valid_for_my_1password_com" + "--skip=tests::verification_real_world::tests::unrelated_chain_valid_for_unrelated_domain" + "--skip=tests::verification_real_world::tests::unrelated_domain_invalid") + #:cargo-inputs + (("rust-android-logger" ,rust-android-logger-0.13) + ("rust-base64" ,rust-base64-0.22) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-jni" ,rust-jni-0.19) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-platform-verifier-android" ,rust-rustls-platform-verifier-android-0.1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-security-framework" ,rust-security-framework-2) + ("rust-security-framework-sys" ,rust-security-framework-sys-2) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-rustls" ,rust-rustls-0.23) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) + (home-page "https://github.com/rustls/rustls-platform-verifier") + (synopsis + "Verify TLS certificates in rustls with the operating system verifier") + (description + "This package provides rustls-platform-verifier a way to support verifying +TLS certificates in rustls with the operating system verifier.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustls-platform-verifier-android-0.1 + (package + (name "rust-rustls-platform-verifier-android") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-platform-verifier-android" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13vq6sxsgz9547xm2zbdxiw8x7ad1g8n8ax6xvxsjqszk7q6awgq")))) + (build-system cargo-build-system) + (home-page "https://github.com/rustls/rustls-platform-verifier") + (synopsis "JVM support component of the rustls-platform-verifier crate") + (description + "This package provides the internal JVM support component of the +rustls-platform-verifier crate. You shouldn't depend on this directly.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustls-webpki-0.102 (package (name "rust-rustls-webpki") - (version "0.102.1") + (version "0.102.8") (source (origin (method url-fetch) (uri (crate-uri "rustls-webpki" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nz9d3xhy8cg6anmvq64scyiva8bglrc6j3v6bdxw2f96xha4k7g")))) + (base32 "1sdy8ks86b7jpabpnb2px2s7f1sq8v0nqf6fnlvwzm4vfk41pjk4")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; file not found for module `test_utils` #:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) ("rust-ring" ,rust-ring-0.17) ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) ("rust-untrusted" ,rust-untrusted-0.9)) - #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.22) ("rust-bencher" ,rust-bencher-0.1) ("rust-bzip2" ,rust-bzip2-0.4) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rcgen" ,rust-rcgen-0.12) + ("rust-rcgen" ,rust-rcgen-0.13) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/rustls/webpki") @@ -1619,8 +2059,39 @@ PEM-encodings commonly used to store keys and certificates at rest.") Public Key Infrastructure Certificate format as described in RFC 5280.") (license (list license:asl2.0 license:expat)))) +(define-public rust-x509-parser-0.16 + (package + (name "rust-x509-parser") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s8zyl6fafkzpylcpcn08bmcmrzzcb6gfjx2h8zny3bh60pidg7w")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests not included in release tarball + #:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.6) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-der-parser" ,rust-der-parser-9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-oid-registry" ,rust-oid-registry-0.7) + ("rust-ring" ,rust-ring-0.17) + ("rust-rusticata-macros" ,rust-rusticata-macros-4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)))) + (home-page "https://github.com/rusticata/x509-parser") + (synopsis "Parser for the X.509 v3 format (RFC 5280 certificates)") + (description "This crate provides a parser for the X.509 v3 format (RFC +5280 certificates).") + (license (list license:expat license:asl2.0)))) + (define-public rust-x509-parser-0.15 (package + (inherit rust-x509-parser-0.16) (name "rust-x509-parser") (version "0.15.1") (source (origin @@ -1630,7 +2101,6 @@ Public Key Infrastructure Certificate format as described in RFC 5280.") (sha256 (base32 "1nk3ryam7yzsza735xdypkv1i4c35gqlygax5jyr74bbnsjznsbh")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5) @@ -1642,12 +2112,7 @@ Public Key Infrastructure Certificate format as described in RFC 5280.") ("rust-ring" ,rust-ring-0.16) ("rust-rusticata-macros" ,rust-rusticata-macros-4) ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3)))) - (home-page "https://github.com/rusticata/x509-parser") - (synopsis "X.509 parser written in pure Rust") - (description "This crate provides a parser for the X.509 v3 format (RFC -5280 certificates).") - (license (list license:expat license:asl2.0)))) + ("rust-time" ,rust-time-0.3)))))) (define-public rust-x509-parser-0.14 (package diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index e6aa0ddf10a..18288049823 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -213,24 +213,24 @@ dirty state into your program.") "This is an internal macro crate for git-version.") (license license:bsd-2))) -(define-public rust-git2-0.18 +(define-public rust-git2-0.19 (package (name "rust-git2") - (version "0.18.3") + (version "0.19.0") (source (origin (method url-fetch) (uri (crate-uri "git2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w7gcq6v9kdlh0vcv27xrk09c1bhkarqhnp52pvnnximzrxnlbi3")))) + (base32 "091pv7866z1qjq800ys0wjv8n73wrv7fqdrddxcnq36w8lzbf0xr")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" "--skip=cred::test::credential_helper5") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.16) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.17) ("rust-log" ,rust-log-0.4) ("rust-openssl-probe" ,rust-openssl-probe-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) @@ -239,7 +239,7 @@ dirty state into your program.") ("rust-tempfile" ,rust-tempfile-3) ("rust-time" ,rust-time-0.1)))) (native-inputs (list pkg-config)) - (inputs (list libgit2-1.7 libssh2 openssl zlib)) + (inputs (list libgit2-1.8 libssh2 openssl zlib)) (home-page "https://github.com/rust-lang/git2-rs") (synopsis "Rust bindings to libgit2") (description @@ -248,6 +248,34 @@ repositories. This library is both threadsafe and memory safe and allows both reading and writing git repositories.") (license (list license:expat license:asl2.0)))) +(define-public rust-git2-0.18 + (package + (inherit rust-git2-0.19) + (name "rust-git2") + (version "0.18.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w7gcq6v9kdlh0vcv27xrk09c1bhkarqhnp52pvnnximzrxnlbi3")))) + (arguments + `(#:cargo-test-flags (list "--release" "--" + "--skip=cred::test::credential_helper5") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.16) + ("rust-log" ,rust-log-0.4) + ("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 libssh2 openssl zlib)))) + (define-public rust-git2-0.17 (package (inherit rust-git2-0.18) @@ -403,22 +431,22 @@ reading and writing git repositories.") ("rust-thread-id" ,rust-thread-id-3) ("rust-time" ,rust-time-0.1)))))) -(define-public rust-git2-curl-0.19 +(define-public rust-git2-curl-0.20 (package (name "rust-git2-curl") - (version "0.19.0") + (version "0.20.0") (source (origin (method url-fetch) (uri (crate-uri "git2-curl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hzp64h1x8kr2vvf3bx195s1999sh8d0cygw4vykymwcc1hnpqkq")))) + (base32 "17q7p4xdmvzn8jy75cdpl6bncy70z1v864wv0ch2690wg9919zv8")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ;need rust-civet and others #:cargo-inputs (("rust-curl" ,rust-curl-0.4) - ("rust-git2" ,rust-git2-0.18) + ("rust-git2" ,rust-git2-0.19) ("rust-log" ,rust-log-0.4) ("rust-url" ,rust-url-2)))) (home-page "https://github.com/rust-lang/git2-rs") @@ -427,6 +455,25 @@ reading and writing git repositories.") libcurl, which is intended to be used with the @code{git2} crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-git2-curl-0.19 + (package + (inherit rust-git2-curl-0.20) + (name "rust-git2-curl") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2-curl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hzp64h1x8kr2vvf3bx195s1999sh8d0cygw4vykymwcc1hnpqkq")))) + (arguments + `(#:skip-build? #t ;need rust-civet and others + #:cargo-inputs (("rust-curl" ,rust-curl-0.4) + ("rust-git2" ,rust-git2-0.18) + ("rust-log" ,rust-log-0.4) + ("rust-url" ,rust-url-2)))))) + (define-public rust-git2-curl-0.18 (package (inherit rust-git2-curl-0.19) @@ -495,8 +542,168 @@ libcurl, which is intended to be used with the @code{git2} crate.") (description "This crate adds git hooks support based on git2-rs.") (license license:expat))) +(define-public rust-gix-0.66 + (package + (name "rust-gix") + (version "0.66.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1swmi6l1ph9rqyzqd4v04apxima9zi8c9r9prd2z0111mv8vhj4h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.32) + ("rust-gix-archive" ,rust-gix-archive-0.15) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-config" ,rust-gix-config-0.40) + ("rust-gix-credentials" ,rust-gix-credentials-0.24) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-diff" ,rust-gix-diff-0.46) + ("rust-gix-dir" ,rust-gix-dir-0.8) + ("rust-gix-discover" ,rust-gix-discover-0.35) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.13) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.35) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.24) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.15) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-odb" ,rust-gix-odb-0.63) + ("rust-gix-pack" ,rust-gix-pack-0.53) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-protocol" ,rust-gix-protocol-0.45) + ("rust-gix-ref" ,rust-gix-ref-0.47) + ("rust-gix-refspec" ,rust-gix-refspec-0.25) + ("rust-gix-revision" ,rust-gix-revision-0.29) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.15) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.13) + ("rust-gix-submodule" ,rust-gix-submodule-0.14) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.42) + ("rust-gix-traverse" ,rust-gix-traverse-0.41) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.9) + ("rust-gix-worktree" ,rust-gix-worktree-0.36) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.13) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.15) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-29) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "Interact with Git repositories using a pure Rust implementation") + (description "Gitoxide is a pure Rust implementation of Git that aims to be lean +and correct. Interact with Git repositories just like Git would.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-0.64 + (package + (inherit rust-gix-0.66) + (name "rust-gix") + (version "0.64.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kv3w87h8gbwg16k7nqzalb417v8yzh7fq0nh28350nckz91916p")))) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.31) + ("rust-gix-archive" ,rust-gix-archive-0.13) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-config" ,rust-gix-config-0.38) + ("rust-gix-credentials" ,rust-gix-credentials-0.24) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-diff" ,rust-gix-diff-0.44) + ("rust-gix-dir" ,rust-gix-dir-0.6) + ("rust-gix-discover" ,rust-gix-discover-0.33) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-macros" ,rust-gix-macros-0.1) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.23) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.13) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-odb" ,rust-gix-odb-0.61) + ("rust-gix-pack" ,rust-gix-pack-0.51) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-protocol" ,rust-gix-protocol-0.45) + ("rust-gix-ref" ,rust-gix-ref-0.45) + ("rust-gix-refspec" ,rust-gix-refspec-0.23) + ("rust-gix-revision" ,rust-gix-revision-0.27) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.13) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.11) + ("rust-gix-submodule" ,rust-gix-submodule-0.12) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.42) + ("rust-gix-traverse" ,rust-gix-traverse-0.39) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.11) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.13) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-28) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-walkdir" ,rust-walkdir-2)))))) + (define-public rust-gix-0.57 (package + (inherit rust-gix-0.66) (name "rust-gix") (version "0.57.1") (source @@ -506,7 +713,6 @@ libcurl, which is intended to be used with the @code{git2} crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0pnprvkywvzqqzlm5zsawjzjx71zh36q45ffm40bbiwj50w2bl3d")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) ("rust-curl" ,rust-curl-0.4) @@ -571,16 +777,11 @@ libcurl, which is intended to be used with the @code{git2} crate.") ("rust-async-std" ,rust-async-std-1) ("rust-is-ci" ,rust-is-ci-1) ("rust-serial-test" ,rust-serial-test-2) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Interact with Git repositories using a pure Rust implementation") - (description "Gitoxide is a pure Rust implementation of Git that aims to be lean -and correct. Interact with Git repositories just like Git would.") - (license (list license:expat license:asl2.0)))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-gix-0.56 (package - (inherit rust-gix-0.57) + (inherit rust-gix-0.66) (name "rust-gix") (version "0.56.0") (source @@ -877,8 +1078,65 @@ and correct. Interact with Git repositories just like Git would.") ("rust-serial-test" ,rust-serial-test-2) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-gix-actor-0.32 + (package + (name "rust-gix-actor") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rc662dyhxipvz3c181h7rif3y627lb0ky83s1nadi25rl9f66gw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, a way to identify Git actors") + (description "Part of Gitoxide, a pure Rust implementation of Git. This +package provides a way to identify Git actors.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-actor-0.31 + (package + (inherit rust-gix-actor-0.32) + (name "rust-gix-actor") + (version "0.31.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wm3i9g69hkfhwiw1c4z9fr1hkfxsfxyzdh07b637f1lgqsm9r50")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + (define-public rust-gix-actor-0.29 (package + (inherit rust-gix-actor-0.32) (name "rust-gix-actor") (version "0.29.1") (source @@ -901,12 +1159,7 @@ and correct. Interact with Git repositories just like Git would.") ("rust-thiserror" ,rust-thiserror-1) ("rust-winnow" ,rust-winnow-0.5)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, a way to identify Git actors") - (description "Part of Gitoxide, a pure Rust implementation of Git. This -package provides a way to identify Git actors.") - (license (list license:expat license:asl2.0)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-gix-actor-0.28 (package @@ -988,8 +1241,66 @@ package provides a way to identify Git actors.") #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-archive-0.15 + (package + (name "rust-gix-archive") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02m6n14jpvz61rwf1rg5lbjgz47n7zbcvqiramsqnff1an5c0iwi")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.15) + ("rust-jiff" ,rust-jiff-0.1) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-zip" ,rust-zip-2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Archive generation from of a worktree stream") + (description + "This package provides archive generation from of a worktree stream.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-archive-0.13 + (package + (inherit rust-gix-archive-0.15) + (name "rust-gix-archive") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m4nwxcfrivnf74kx38sxgcalba8nbl2fq4xlvad28q2vzmvpdk3")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.13) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-zip" ,rust-zip-2)))))) + (define-public rust-gix-archive-0.8 (package + (inherit rust-gix-archive-0.15) (name "rust-gix-archive") (version "0.8.1") (source @@ -1012,11 +1323,12 @@ package provides a way to identify Git actors.") ("rust-thiserror" ,rust-thiserror-1) ("rust-time" ,rust-time-0.3) ("rust-zip" ,rust-zip-0.6)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Archive generation of a Git worktree") - (description "Archive generation of a worktree. Part of Gitoxide a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ;(home-page "https://github.com/Byron/gitoxide") + ;(synopsis "Archive generation of a Git worktree") + ;(description "Archive generation of a worktree. Part of Gitoxide a pure +;Rust implementation of Git.") + ; (license (list license:expat license:asl2.0)) + )) (define-public rust-gix-archive-0.7 (package @@ -1095,8 +1407,41 @@ Rust implementation of Git.") ("rust-time" ,rust-time-0.3) ("rust-zip" ,rust-zip-0.6)))))) +(define-public rust-gix-attributes-0.22 + (package + (name "rust-gix-attributes") + (version "0.22.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-attributes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "048k2c9kgh6bv7d1d2iyca8cmvb9mw090jjnab9kv5sam8jvzk7b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-kstring" ,rust-kstring-2) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this crate deals with .gitattributes") + (description + "This package provides a crate from the Gitoxide project dealing with +@code{.gitattributes} files.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-attributes-0.21 (package + (inherit rust-gix-attributes-0.22) (name "rust-gix-attributes") (version "0.21.1") (source @@ -1118,13 +1463,7 @@ Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this crates deals with .gitattributes") - (description - "This package provides a crate from the Gitoxide project dealing with -@code{.gitattributes} files.") - (license (list license:expat license:asl2.0)))) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) (define-public rust-gix-attributes-0.20 (package @@ -1247,14 +1586,14 @@ commit-graph files.") (define-public rust-gix-command-0.3 (package (name "rust-gix-command") - (version "0.3.6") + (version "0.3.9") (source (origin (method url-fetch) (uri (crate-uri "gix-command" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xsbllakppwpn3z5qzyivlqa7q068wry2a7dpr3xxcy41l10j07r")))) + (base32 "1rwjxaw0lyiipr8f879i39amdzd3dh006267hs9g1g3bnf9fdwnz")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `gix_testtools` @@ -1285,8 +1624,38 @@ command execution.") `(#:tests? #f ; use of undeclared crate or module `gix_testtools` #:cargo-inputs (("rust-bstr" ,rust-bstr-1)))))) +(define-public rust-gix-commitgraph-0.24 + (package + (name "rust-gix-commitgraph") + (version "0.24.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-commitgraph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y7wc0y0xb0kh3c22pj3ns04zdqglqb22gj71kn3cn2ngzv0cfqk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Read only access to the Git commitgraph file format") + (description + "Part of the Gitoxide project, a pure Rust implementation of Git. This +package provides read only access to Git's commitgraph file format.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-commitgraph-0.23 (package + (inherit rust-gix-commitgraph-0.24) (name "rust-gix-commitgraph") (version "0.23.2") (source @@ -1296,7 +1665,6 @@ command execution.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1z0hn19phbwcwmvp6mn21pvmlq92jyjzw19y0rvs87wm6kscp3by")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -1305,12 +1673,7 @@ command execution.") ("rust-gix-hash" ,rust-gix-hash-0.14) ("rust-memmap2" ,rust-memmap2-0.9) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Read only access to Git the commitgraph file format") - (description "Part of Gitoxide, a pure Rust implementation of Git. This -package provides read only access to git commitgraph file.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-commitgraph-0.22 (package @@ -1379,26 +1742,26 @@ package provides read only access to git commitgraph file.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-config-0.33 +(define-public rust-gix-config-0.40 (package (name "rust-gix-config") - (version "0.33.1") + (version "0.40.0") (source (origin (method url-fetch) (uri (crate-uri "gix-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y8h4j2rzdvh20a0clchsy6kga8dlaivapzfqk5av71nbf2h8wrn")))) + (base32 "1c1bnijxf1j4qfqriw9kzf1g40i2yys324fyj4j5b8vcgr49grvq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) ("rust-gix-config-value" ,rust-gix-config-value-0.14) - ("rust-gix-features" ,rust-gix-features-0.37) - ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-glob" ,rust-gix-glob-0.16) ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-ref" ,rust-gix-ref-0.40) + ("rust-gix-ref" ,rust-gix-ref-0.47) ("rust-gix-sec" ,rust-gix-sec-0.10) ("rust-memchr" ,rust-memchr-2) ("rust-once-cell" ,rust-once-cell-1) @@ -1406,15 +1769,75 @@ package provides read only access to git commitgraph file.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-unicode-bom" ,rust-unicode-bom-2) - ("rust-winnow" ,rust-winnow-0.5)) + ("rust-winnow" ,rust-winnow-0.6)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) - (home-page "https://github.com/Byron/gitoxide") + (home-page "https://github.com/GitoxideLabs/gitoxide") (synopsis "Git-config file parser and editor from the Gitoxide project") (description "This package provides a git-config file parser and editor from the Gitoxide project. Gitoxide is a pure Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-config-0.38 + (package + (inherit rust-gix-config-0.40) + (name "rust-gix-config") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n768fy37w3wy8jsjk34draw8fcljq44yrf8qay9xw0v7p83zx98")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.45) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))))) + +(define-public rust-gix-config-0.33 + (package + (inherit rust-gix-config-0.40) + (name "rust-gix-config") + (version "0.33.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y8h4j2rzdvh20a0clchsy6kga8dlaivapzfqk5av71nbf2h8wrn")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.40) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))))) + (define-public rust-gix-config-0.32 (package (inherit rust-gix-config-0.33) @@ -1543,14 +1966,14 @@ Gitoxide project. Gitoxide is a pure Rust implementation of Git.") (define-public rust-gix-config-value-0.14 (package (name "rust-gix-config-value") - (version "0.14.6") + (version "0.14.8") (source (origin (method url-fetch) (uri (crate-uri "gix-config-value" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0158q089kc151h3n0wk43fg4s28v0cjscll2r1w3mcx9n41n5l7v")))) + (base32 "133gpqyrg22c2kxsiv4ncp0rwwyxzkbq63y6xaccbpm0z9ln3xq3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -1589,17 +2012,17 @@ Gitoxide a Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-credentials-0.23 +(define-public rust-gix-credentials-0.24 (package (name "rust-gix-credentials") - (version "0.23.1") + (version "0.24.5") (source (origin (method url-fetch) (uri (crate-uri "gix-credentials" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07wpl3ahldcaa44iscr8ashbym0x51rw8gj0wqx78qqpqfkz631q")))) + (base32 "0y6f5g8ny3rh80vw12qxzzvisw6588yll71hmvqq51wn0p9r3qwc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -1610,16 +2033,42 @@ Gitoxide a Rust implementation of Git.") ("rust-gix-prompt" ,rust-gix-prompt-0.8) ("rust-gix-sec" ,rust-gix-sec-0.10) ("rust-gix-trace" ,rust-gix-trace-0.1) - ("rust-gix-url" ,rust-gix-url-0.26) + ("rust-gix-url" ,rust-gix-url-0.27) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/Byron/gitoxide") - (synopsis "Git credentials handlers for Gitoxide") + (synopsis + "Git credentials handlers for Gitoxide") (description "Gitoxide is a Rust implementation of Git. This package provides helpers to interact with Git credentials helpers.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-credentials-0.23 + (package + (inherit rust-gix-credentials-0.24) + (name "rust-gix-credentials") + (version "0.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07wpl3ahldcaa44iscr8ashbym0x51rw8gj0wqx78qqpqfkz631q")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-url" ,rust-gix-url-0.26) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-credentials-0.22 (package (inherit rust-gix-credentials-0.23) @@ -1721,17 +2170,44 @@ to interact with Git credentials helpers.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-date-0.9 + (package + (name "rust-gix-date") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-date" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19f8qg9rcnis0r1iyvrjwhydnppzq44vk2xvlvvxls0yy1x4pj1m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-itoa" ,rust-itoa-1) + ("rust-jiff" ,rust-jiff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this crate parses dates the way Git does") + (description + "Part of Gitoxide, this crate parses dates the way Git does.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-date-0.8 (package + (inherit rust-gix-date-0.9) (name "rust-gix-date") - (version "0.8.5") + (version "0.8.7") (source (origin (method url-fetch) (uri (crate-uri "gix-date" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1755v9rxk388x8ypinlmw5qcl2q9qxll3kinppghx1s1985162qq")))) + (base32 "1h5qygjxr8p2g2vdrzpvx0plnyy9gsym29wjxc5fx48ly8qnkvcy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -1740,12 +2216,7 @@ to interact with Git credentials helpers.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-time" ,rust-time-0.3)) - #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this crate parses dates the way Git does") - (description - "Part of Gitoxide, this crate parses dates the way git does.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-gix-date-0.5 (package @@ -1770,8 +2241,74 @@ to interact with Git credentials helpers.") #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-gix-diff-0.46 + (package + (name "rust-gix-diff") + (version "0.46.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v1k7ld1b4xinq3dhvia4g9dck7b5x22h68wifrzh07z1zcazjcj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-filter" ,rust-gix-filter-0.13) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.36) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Calculate differences between various Git objects") + (description + "Calculate differences between various Git objects. This +package is a part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-diff-0.44 + (package + (inherit rust-gix-diff-0.46) + (name "rust-gix-diff") + (version "0.44.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17bci0q2d4bhm6g1gx6ibzbxjj6ykxy6303x8q4rgd85lg4db5hr")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-diff-0.39 (package + (inherit rust-gix-diff-0.46) (name "rust-gix-diff") (version "0.39.1") (source @@ -1781,7 +2318,6 @@ to interact with Git credentials helpers.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0fmrkrs2d3sfkrr0k0mvglmhhz3igh2q9w772xpnhbf4z1a08spx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -1797,12 +2333,7 @@ to interact with Git credentials helpers.") ("rust-gix-worktree" ,rust-gix-worktree-0.29) ("rust-imara-diff" ,rust-imara-diff-0.1) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Calculate differences between various Git objects") - (description "Calculate differences between various Git objects. This -package is a part of Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-diff-0.38 (package @@ -1896,8 +2427,135 @@ package is a part of Gitoxide, a pure Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-dir-0.8 + (package + (name "rust-gix-dir") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-dir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "166xgf5i4z5bi1jazh5kp2bdvqpbqgb2mh97b8f9ldb1cq3sklqf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;looking for undeclared gix-testtools + #:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-discover" ,rust-gix-discover-0.35) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.35) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.36) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "Gitoxide project crate that deals with directory walks") + (description + "This package is part of the Gitoxide project. This crate deals with +directory walking.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-dir-0.6 + (package + (inherit rust-gix-dir-0.8) + (name "rust-gix-dir") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-dir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r8kif2i622saw068c63jh08q64a5qixnggxgdsjvp80m9wmd5qc")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-discover" ,rust-gix-discover-0.33) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-gix-discover-0.35 + (package + (name "rust-gix-discover") + (version "0.35.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ljnv5c2q1xpwpw45qhli0hydl7ba52dfpw1dv16ndv7jmmkcxq5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.47) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-defer" ,rust-defer-0.2) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis + "Discover Git repositories and check if a directory is a Git repository") + (description + "Discover Git repositories and check if a directory is a repository. +This package is part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-discover-0.33 + (package + (inherit rust-gix-discover-0.35) + (name "rust-gix-discover") + (version "0.33.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03j52f646q05igg4bln6svjxhxiz944khinj7sx33jy3rqqjfrk7")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.45) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-defer" ,rust-defer-0.2) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-gix-discover-0.28 (package + (inherit rust-gix-discover-0.35) (name "rust-gix-discover") (version "0.28.1") (source @@ -1907,7 +2565,6 @@ package is a part of Gitoxide, a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1mj29906cd3qn9q6am0fc2k2g63jvz3cqim652fqjgfwds4v5mxq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-dunce" ,rust-dunce-1) @@ -1919,14 +2576,7 @@ package is a part of Gitoxide, a pure Rust implementation of Git.") #:cargo-development-inputs (("rust-defer" ,rust-defer-0.1) ("rust-is-ci" ,rust-is-ci-1) ("rust-serial-test" ,rust-serial-test-2) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Discover Git repositories and check if a directory is a Git repository") - (description - "Discover Git repositories and check if a directory is a repository. -This package is part of Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-discover-0.27 (package @@ -2035,14 +2685,14 @@ This package is part of Gitoxide, a pure Rust implementation of Git.") (define-public rust-gix-features-0.38 (package (name "rust-gix-features") - (version "0.38.1") + (version "0.38.2") (source (origin (method url-fetch) (uri (crate-uri "gix-features" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0drbqqn7bxf4zqbnc34zf5ls6ih1flrr79vs6sh4g8i0gl1m8hnv")))) + (base32 "0sfw6zs3qgmlqjkj4cvyfz6q6dgdlw1d16c7yckwgyg5kyn4aw5c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -2201,8 +2851,73 @@ compile-time feature flags.") #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)))))) +(define-public rust-gix-filter-0.13 + (package + (name "rust-gix-filter") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17hi8c47n1mmccpbwfcjs4w829wnfhpcgv1vjmdnw1j0w457j8a1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-0.17) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this package implements Git filters") + (description + "This package provides a crate from the Gitoxide project implementing +Git filters in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-filter-0.11 + (package + (inherit rust-gix-filter-0.13) + (name "rust-gix-filter") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06m6ph3b67696ckq5gfn9pwm77sh507km7sfzx6my9r8v8w7fm76")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-0.17) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-3)))))) + (define-public rust-gix-filter-0.8 (package + (inherit rust-gix-filter-0.13) (name "rust-gix-filter") (version "0.8.1") (source @@ -2212,7 +2927,6 @@ compile-time feature flags.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05p5yr0syd91k0yfn6pdqw66yvbq7q6ffzpd53s5g7dzi3bc367m")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-encoding-rs" ,rust-encoding-rs-0.8) @@ -2227,13 +2941,7 @@ compile-time feature flags.") ("rust-gix-utils" ,rust-gix-utils-0.1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this package implements Git filters in Rust") - (description - "This package provides a crate from the Gitoxide project implementing -Git filters in Rust.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-2)))))) (define-public rust-gix-filter-0.7 (package @@ -2319,8 +3027,33 @@ Git filters in Rust.") ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-gix-fs-0.11 + (package + (name "rust-gix-fs") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xc5z6w5s9rr0rgf7aab8hqg0dnblhk543crw30d19pykhjfdgzj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "File system specific utilities to Gitoxide`") + (description + "Gitoxide is a pure Rust implementation of Git. This package provides +file system utilities for Gitoxide.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-fs-0.9 (package + (inherit rust-gix-fs-0.11) (name "rust-gix-fs") (version "0.9.1") (source @@ -2330,16 +3063,10 @@ Git filters in Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pgcmp17qizq2zk0s7cn08kd9jhq9rlkk2fbpx5l6dsm00xc4mbm")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.37) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "File system utilities for Gitoxide") - (description - "Gitoxide is a pure Rust implementation of Git. This package provides -file system utilities for Gitoxide.") (license (list license:expat license:asl2.0)))) (define-public rust-gix-fs-0.8 @@ -2391,8 +3118,58 @@ file system utilities for Gitoxide.") `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.30)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-fsck-0.4 + (package + (name "rust-gix-fsck") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fsck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a3ybr321f7p1qv37hvylihcqjxxqlf3jll8wcm0q6nhwpy2i0mv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.42)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "Verifies the connectivity and validity of objects in the database") + (description "This package verifies the connectivity and validity of objects +in the database.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-glob-0.16 + (package + (name "rust-gix-glob") + (version "0.16.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04gijbam0k2vdshm2m0d6hg0hvv7ky4dgr9p4y2l02hapi5qp43l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Gitoxide project crate dealing with pattern matching") + (description + "This package provides a crate from the Gitoxide project dealing with pattern +matching.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-glob-0.15 (package + (inherit rust-gix-glob-0.16) (name "rust-gix-glob") (version "0.15.1") (source @@ -2409,13 +3186,7 @@ file system utilities for Gitoxide.") ("rust-document-features" ,rust-document-features-0.2) ("rust-gix-features" ,rust-gix-features-0.37) ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Gitoxide project crate dealing with pattern matching") - (description - "This package provides a crate of the gitoxide project dealing with pattern -matching.") - (license (list license:expat license:asl2.0)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-gix-glob-0.14 (package @@ -2600,23 +3371,24 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-parking-lot" ,rust-parking-lot-0.12)))))) -(define-public rust-gix-ignore-0.10 +(define-public rust-gix-ignore-0.11 (package (name "rust-gix-ignore") - (version "0.10.1") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "gix-ignore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hr6zmh9gx1qx0rwzj1m44sn8plw5wspyi7kf9zdpbk01i2cwmpk")))) + (base32 "1dzs6zlwj8105ynmbiszf319i7x3a3lpav0gda8gaq44b6bcsiz4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-glob" ,rust-gix-glob-0.16) ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-trace" ,rust-gix-trace-0.1) ("rust-serde" ,rust-serde-1) ("rust-unicode-bom" ,rust-unicode-bom-2)))) (home-page "https://github.com/Byron/gitoxide") @@ -2625,6 +3397,26 @@ keys. Part of Gitoxide a Rust implementation of Git.") "This crate is part of Gitoxide, it handles @code{.gitignore} files.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-ignore-0.10 + (package + (inherit rust-gix-ignore-0.11) + (name "rust-gix-ignore") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hr6zmh9gx1qx0rwzj1m44sn8plw5wspyi7kf9zdpbk01i2cwmpk")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) + (define-public rust-gix-ignore-0.9 (package (inherit rust-gix-ignore-0.10) @@ -2686,8 +3478,95 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-unicode-bom" ,rust-unicode-bom-2)))))) +(define-public rust-gix-index-0.35 + (package + (name "rust-gix-index") + (version "0.35.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bfjbrwmg8w9hi5bv47db272ks8b3385zrkn45l1fh248hr21m0c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + "--skip=access::tests::entry_by_path_with_conflicting_file") + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-fnv" ,rust-fnv-1) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-traverse" ,rust-gix-traverse-0.41) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.9) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Part of Gitoxide, this crate implements the Git index file") + (description + "Part of Gitoxide, a pure Rust implementation of Rust. This package's +crate implements the Git index file.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-index-0.33 + (package + (inherit rust-gix-index-0.35) + (name "rust-gix-index") + (version "0.33.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gyply1fzp0wbl8jvckiw4hyv34na7lq0jd4z14bp15xapml96ls")))) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + "--skip=access::tests::entry_by_path_with_conflicting_file") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-fnv" ,rust-fnv-1) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-traverse" ,rust-gix-traverse-0.39) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-index-0.28 (package + (inherit rust-gix-index-0.35) (name "rust-gix-index") (version "0.28.2") (source @@ -2697,7 +3576,6 @@ keys. Part of Gitoxide a Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0y47r8830i6fw7djq6la8rn7badk8dvg50mqgxzi7m68yqyycl4y")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -2720,13 +3598,7 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-rustix" ,rust-rustix-0.38) ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this crate implements the Git index file") - (description - "Part of Gitoxide, a pure Rust implementation of Rust. This package's -crate implements the Git index file.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-index-0.27 (package @@ -2863,29 +3735,47 @@ crate implements the Git index file.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-lock-12 +(define-public rust-gix-lock-14 (package (name "rust-gix-lock") - (version "12.0.1") + (version "14.0.0") (source (origin (method url-fetch) (uri (crate-uri "gix-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "001bh0yx1xnkhnbkfj3p3v649sp5hypm4pgq9jsk1qpijy9l62pl")))) + (base32 "17g1sknpvjqaq2s29c693mbmkp8sign0174qfi3n3x7ijzi7zg73")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-12) + `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-14) ("rust-gix-utils" ,rust-gix-utils-0.1) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/Byron/gitoxide") - (synopsis "Git style lock files implemented in Rust") + (synopsis "Git style lock files implementation in Rust") (description "Part of Gitoxide, a pure rust implementation of Git. This package provides git style lock files.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-lock-12 + (package + (inherit rust-gix-lock-14) + (name "rust-gix-lock") + (version "12.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "001bh0yx1xnkhnbkfj3p3v649sp5hypm4pgq9jsk1qpijy9l62pl")))) + (arguments + `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-gix-lock-11 (package (inherit rust-gix-lock-12) @@ -2945,14 +3835,14 @@ package provides git style lock files.") (define-public rust-gix-macros-0.1 (package (name "rust-gix-macros") - (version "0.1.4") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "gix-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cj048i0a5xzqbv99514xfvhxwn833yzaclkmc9pfzp62j7l7zqx")))) + (base32 "05ycxnh5sxjsn4lvay309n6knr8ksvkb6zx6f50ik24zc4iyk74r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -2965,8 +3855,56 @@ package provides git style lock files.") implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-mailmap-0.24 + (package + (name "rust-gix-mailmap") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-mailmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xsj6w3azbcd3qx3pln9f4jabndm7kl59jxlnajy2095xk425mfp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.32) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Functions for parsing mailmap files in Gitoxide") + (description + "This package contains functions for parsing mailmap files. It's part of +Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-mailmap-0.23 + (package + (inherit rust-gix-mailmap-0.24) + (name "rust-gix-mailmap") + (version "0.23.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-mailmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "024jy339znwi11pz826favmn6in5fn73ygskq33r19dnxnkaqvgg")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.31) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-mailmap-0.21 (package + (inherit rust-gix-mailmap-0.24) (name "rust-gix-mailmap") (version "0.21.1") (source @@ -2976,20 +3914,13 @@ implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05sscbs0qzn40syp0v7s2xrjx10pdfqqg53axr8xrggcmv1mm1dv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) ("rust-gix-actor" ,rust-gix-actor-0.29) ("rust-gix-date" ,rust-gix-date-0.8) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Functions for parsing mailmap files in Gitoxide") - (description - "This package contains functions for parsing mailmap files. It's part of -Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-mailmap-0.20 (package @@ -3053,8 +3984,61 @@ Gitoxide, a pure Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-negotiate-0.15 + (package + (name "rust-gix-negotiate") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ns7p4m1skzfkhb5wzr9h01qqsgnrhbqm53g9giak4d157rkn1ml")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.15) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Implements Git's negotiation algorithms as part of Gixoxide") + (description + "Gitoxide is a pure Rust implementation of Git. This package consists of +Git's negotiation algorithms.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-negotiate-0.13 + (package + (inherit rust-gix-negotiate-0.15) + (name "rust-gix-negotiate") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0962x6gxhwp55kyr26hzsswv8qbg9h1f16x8kd8n7fq7cgxpkj4y")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.13) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-negotiate-0.11 (package + (inherit rust-gix-negotiate-0.15) (name "rust-gix-negotiate") (version "0.11.1") (source @@ -3064,7 +4048,6 @@ Gitoxide, a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10nmbml8jz86rq6p2pcc4i7ks0naa9s069i80nnzcng2x6shp0p6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.23) @@ -3073,13 +4056,7 @@ Gitoxide, a pure Rust implementation of Git.") ("rust-gix-object" ,rust-gix-object-0.40) ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements Git's negotiation algorithms as part of Gixoxide") - (description - "Gitoxide is a pure Rust implementation of Git. This package consists of -Git's negotiation algorithms.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-negotiate-0.10 (package @@ -3172,8 +4149,78 @@ Git's negotiation algorithms.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-object-0.44 + (package + (name "rust-gix-object") + (version "0.44.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ylfp09gzy42b1m1day41m49b3d8dggw480qfd07dppi6hc80nrg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.32) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.9) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Immutable and mutable Git objects with decoding and encoding support") + (description + "Part of Gitoxide, a pure Rust Git implementation. This package contains +functions to handle immutable and mutable git objects with decoding and encoding +support.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-object-0.42 + (package + (inherit rust-gix-object-0.44) + (name "rust-gix-object") + (version "0.42.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11p3pynmriglj5j3hzh5qa4sz7pnhzxxzr1w85xzmhp7ni32zni5")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.31) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + (define-public rust-gix-object-0.40 (package + (inherit rust-gix-object-0.44) (name "rust-gix-object") (version "0.40.1") (source @@ -3200,15 +4247,7 @@ Git's negotiation algorithms.") ("rust-winnow" ,rust-winnow-0.5)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Immutable and mutable Git objects with decoding and encoding support") - (description - "Part of Gitoxide, a pure Rust Git implementation. This package contains -functions to handle immutable and mutable git objects with decoding and encoding -support.") - (license (list license:expat license:asl2.0)))) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-gix-object-0.39 (package @@ -3330,8 +4369,72 @@ support.") #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-odb-0.63 + (package + (name "rust-gix-odb") + (version "0.63.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0iy7grqs5h73nz781zfmiyisr9pm4yjxsamby1ady5qwf1l805d3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-pack" ,rust-gix-pack-0.53) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements various Git object databases") + (description + "Implements various Git object databases for Gitoxide. +Gitoxide is a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-odb-0.61 + (package + (inherit rust-gix-odb-0.63) + (name "rust-gix-odb") + (version "0.61.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16xwwfjna9m3rd66hkhcyps6s3bq23r5wpbxpfixi4qxakz89lr0")))) + (arguments + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-pack" ,rust-gix-pack-0.51) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-odb-0.56 (package + (inherit rust-gix-odb-0.63) (name "rust-gix-odb") (version "0.56.1") (source @@ -3341,7 +4444,6 @@ support.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c9kgiv8frpwz9nz9n6wai8xys8vawnfhw1mnz1cchfyffl6vbj6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) ("rust-document-features" ,rust-document-features-0.2) @@ -3355,12 +4457,7 @@ support.") ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-serde" ,rust-serde-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements various Git object databases") - (description "Implements various Git object databases for Gitoxide. -Gitoxide is a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-odb-0.55 (package @@ -3476,8 +4573,80 @@ Gitoxide is a pure Rust implementation of Git.") ("rust-maplit" ,rust-maplit-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-pack-0.53 + (package + (name "rust-gix-pack") + (version "0.53.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m6rdxkq21ni71vk8k7qbsjxr7mgkjpdijh3wkhf28gf5qsal8rj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;use of undeclared crate gix_testtools + #:cargo-inputs + (("rust-clru" ,rust-clru-0.6) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-diff" ,rust-gix-diff-0.46) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-traverse" ,rust-gix-traverse-0.41) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uluru" ,rust-uluru-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements Git packs and related data structures") + (description + "Git packs and related data structures. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-pack-0.51 + (package + (inherit rust-gix-pack-0.53) + (name "rust-gix-pack") + (version "0.51.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0aajbwpmfzg7a33yzqfjz2rmczvbask13hd19gwmvrgz3x4r819y")))) + (arguments + `(#:tests? #f ; use of undeclared crate gix_testtools + #:cargo-inputs (("rust-clru" ,rust-clru-0.6) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-diff" ,rust-gix-diff-0.44) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-traverse" ,rust-gix-traverse-0.39) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uluru" ,rust-uluru-3)))))) + (define-public rust-gix-pack-0.46 (package + (inherit rust-gix-pack-0.53) (name "rust-gix-pack") (version "0.46.1") (source @@ -3487,7 +4656,6 @@ Gitoxide is a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16jsy3b1rnp0xinwlaz71zsnamqzhnlys3a0bhnhf50ag514savq")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared create gix_testtools #:cargo-inputs (("rust-clru" ,rust-clru-0.6) @@ -3506,13 +4674,7 @@ Gitoxide is a pure Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-uluru" ,rust-uluru-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements Git packs and related data structures") - (description - "Git packs and related data structures for Gitoxide. Gitoxide is a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-uluru" ,rust-uluru-3)))))) (define-public rust-gix-pack-0.45 (package @@ -3646,14 +4808,15 @@ Rust implementation of Git.") (define-public rust-gix-packetline-0.17 (package (name "rust-gix-packetline") - (version "0.17.5") + (version "0.17.6") (source (origin (method url-fetch) (uri (crate-uri "gix-packetline" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05d5airkhk7pykgs4p1nwvscv62hb106xyjxnvavc0q9vaz8c15p")))) + (base32 + "0jay9kgy8fgc809xcipgwhz430a4pyywhcb7c0n25yp2bx6yyhwc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -3704,14 +4867,14 @@ pkt-line serialization format.") (define-public rust-gix-packetline-blocking-0.17 (package (name "rust-gix-packetline-blocking") - (version "0.17.3") + (version "0.17.5") (source (origin (method url-fetch) (uri (crate-uri "gix-packetline-blocking" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xx2kd51hbrrhsrixka0sc2chcyh6k090bjppzrjc3m57vfzd3na")))) + (base32 "0h3bansw7mp2p6id78lwlrs4pm8nclmql07qbxpxv657p822705r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -3750,22 +4913,27 @@ feature pre-selected.") (define-public rust-gix-path-0.10 (package (name "rust-gix-path") - (version "0.10.7") + (version "0.10.11") (source (origin (method url-fetch) (uri (crate-uri "gix-path" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10w7abk2wcp0w2y943sdlsic3xc91d6qr29zjinilsbmykq3qqi3")))) + (base32 "1by7zbdccrqpb824164hyqs7lyz3axp8jihjkyydraw8s3mlzz7b")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + `(#:tests? #f ;undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-gix-trace" ,rust-gix-trace-0.1) ("rust-home" ,rust-home-0.5) ("rust-once-cell" ,rust-once-cell-1) ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + #:cargo-development-inputs + (("rust-known-folders" ,rust-known-folders-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-windows" ,rust-windows-0.58) + ("rust-winreg" ,rust-winreg-0.52)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Part of the Gitoxide project, this crate deals with paths and their conversions") @@ -3796,8 +4964,39 @@ Git. This crate deals with paths and their conversions") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-pathspec-0.7 + (package + (name "rust-gix-pathspec") + (version "0.7.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pathspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ssw9k2kq7hcn5xn9nby4gvq2628clxapf331r6l3d1jjlivy8sx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-serial-test" ,rust-serial-test-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Capabilities to handle Git's pathspecs") + (description + "This package provides capabilities for handling Git's pathspecs. It is +part of Gitoxide, a Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-pathspec-0.5 (package + (inherit rust-gix-pathspec-0.7) (name "rust-gix-pathspec") (version "0.5.1") (source @@ -3807,7 +5006,6 @@ Git. This crate deals with paths and their conversions") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0iqj3l4z29sg2z4bb21dn3n58wd1jgl6ydpnradzh13wa7lhxnqc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-bstr" ,rust-bstr-1) @@ -3817,13 +5015,7 @@ Git. This crate deals with paths and their conversions") ("rust-gix-path" ,rust-gix-path-0.10) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) - ("rust-serial-test" ,rust-serial-test-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Capabilities to handle Git's pathspecs") - (description - "This package provides capabilities for handling Git's pathspecs. It is -part of Gitoxide, a Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-serial-test" ,rust-serial-test-2)))))) (define-public rust-gix-pathspec-0.4 (package @@ -3875,14 +5067,14 @@ part of Gitoxide, a Rust implementation of Git.") (define-public rust-gix-prompt-0.8 (package (name "rust-gix-prompt") - (version "0.8.4") + (version "0.8.7") (source (origin (method url-fetch) (uri (crate-uri "gix-prompt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n2m39if2wkxdgs3p2w8p5arv822sqaj6p7cbp9fbdg7gjqmwcpm")))) + (base32 "1cg6dw1an3bxwsz43gwwlg9riydwv62k6afivbc30sxlrmjyizbl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.3) @@ -3891,7 +5083,7 @@ part of Gitoxide, a Rust implementation of Git.") ("rust-rustix" ,rust-rustix-0.38) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-expectrl" ,rust-expectrl-0.7) - ("rust-serial-test" ,rust-serial-test-2)))) + ("rust-serial-test" ,rust-serial-test-3)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Handles prompts in the terminal as part of Gitoxide") (description @@ -3943,8 +5135,45 @@ terminals prompt.") (("rust-expectrl" ,rust-expectrl-0.7) ("rust-serial-test" ,rust-serial-test-2)))))) +(define-public rust-gix-protocol-0.45 + (package + (name "rust-gix-protocol") + (version "0.45.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gjf2s9ssch79jfyv7bpa8pxwgdqks6940x04bpfzd81dw0a2hyc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-gix-credentials" ,rust-gix-credentials-0.24) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-transport" ,rust-gix-transport-0.42) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-maybe-async" ,rust-maybe-async-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implementation of Git protocols that's part of Gitoxide") + (description + "This package implements Git protocols for Gitoxide. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-protocol-0.43 (package + (inherit rust-gix-protocol-0.45) (name "rust-gix-protocol") (version "0.43.1") (source @@ -3954,7 +5183,6 @@ terminals prompt.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pfg4b0b6a753mxrp2x7jaclry6d88x3lzxx7dgi14ar8cw2g9gc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-bstr" ,rust-bstr-1) @@ -3973,13 +5201,7 @@ terminals prompt.") ("rust-winnow" ,rust-winnow-0.5)) #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-gix-packetline" ,rust-gix-packetline-0.17)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implementation of Git protocols that's part of Gitoxide") - (description - "This package implements Git protocols for Gitoxide. Gitoxide is a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-gix-packetline" ,rust-gix-packetline-0.17)))))) (define-public rust-gix-protocol-0.42 (package @@ -4133,8 +5355,76 @@ Rust implementation of Git.") quotations used by git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-ref-0.47 + (package + (name "rust-gix-ref") + (version "0.47.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r8i8fj7xgmp88qk1w7xc2gs7l8sb8y0azx5algskaprxc3883df")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;use of undeclared crate gix_testtools + #:cargo-inputs + (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.32) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.9) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "Part of Gitoxide, this crate handles Git references") + (description "This package provides a crate to handle git references. +Part of Gitoxide, a project to create a pure Rust Git implementation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-ref-0.45 + (package + (inherit rust-gix-ref-0.47) + (name "rust-gix-ref") + (version "0.45.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dcv2pgaz6gzhx38zw0qh9pkmhqhf4hqq2gf7waia9snlnh9cvk3")))) + (arguments + `(#:tests? #f ; use of undeclared crate gix_testtools + #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.31) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs (("rust-gix-date" ,rust-gix-date-0.8)))))) + (define-public rust-gix-ref-0.40 (package + (inherit rust-gix-ref-0.47) (name "rust-gix-ref") (version "0.40.1") (source @@ -4144,7 +5434,6 @@ quotations used by git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0j96yj1j6mr06qspgxjdssssbf7dzj2bxz5224sqz3b3hhcvvnb4")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; undeclared crate gix_testtools #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) @@ -4161,12 +5450,7 @@ quotations used by git.") ("rust-memmap2" ,rust-memmap2-0.9) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-winnow" ,rust-winnow-0.5)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this crate handles Git references") - (description "This package provides a crate to handle git references. -Part of Gitoxide, a project to create a pure Rust Git implementation.") - (license (list license:expat license:asl2.0)))) + ("rust-winnow" ,rust-winnow-0.5)))))) (define-public rust-gix-ref-0.39 (package @@ -4290,8 +5574,57 @@ Part of Gitoxide, a project to create a pure Rust Git implementation.") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-refspec-0.25 + (package + (name "rust-gix-refspec") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-refspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19lwhs10cg9rg040k20w8i27ay475isggngxbxhngfj14gw0bc7b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-revision" ,rust-gix-revision-0.29) + ("rust-gix-validate" ,rust-gix-validate-0.9) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Parsing and representing refspecs for Gitoxide") + (description + "This package parses and represents Git refspecs. It's part of Gitoxide +a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-refspec-0.23 + (package + (inherit rust-gix-refspec-0.25) + (name "rust-gix-refspec") + (version "0.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-refspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0drzc1p43mc8nprxlqm4s86y9b23rsz89dvqghgmsmb25v6zhs38")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-revision" ,rust-gix-revision-0.27) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-refspec-0.21 (package + (inherit rust-gix-refspec-0.25) (name "rust-gix-refspec") (version "0.21.1") (source @@ -4301,20 +5634,13 @@ Part of Gitoxide, a project to create a pure Rust Git implementation.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01771g6dr5jqg9p1pvl6d7m5x52yfzgwqgm5namka5rc17srs8dy")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-gix-hash" ,rust-gix-hash-0.14) ("rust-gix-revision" ,rust-gix-revision-0.25) ("rust-gix-validate" ,rust-gix-validate-0.8) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Parsing and representing refspecs to Gitoxide") - (description - "This package parses and represents Git refspecs. It's part of Gitoxide -a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-refspec-0.20 (package @@ -4397,8 +5723,65 @@ a pure Rust implementation of Git.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-revision-0.29 + (package + (name "rust-gix-revision") + (version "0.29.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revision" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07jyh9vabfbkva99m0mavsk68v3asp1k0c48as9dn35c36r22ims")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.15) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "This Gitoxide crate finds names for revisions and parsing specifications") + (description + "This package is part of Gitoxide, a pure Rust implementation of Git. It +handles finding names and parsing specifications.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-revision-0.27 + (package + (inherit rust-gix-revision-0.29) + (name "rust-gix-revision") + (version "0.27.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revision" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kmd96vky58yf46g5nxqny8gl3df4447vb6x6w2lp30iq91kxc81")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.13) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-revision-0.25 (package + (inherit rust-gix-revision-0.29) (name "rust-gix-revision") (version "0.25.1") (source @@ -4408,7 +5791,6 @@ a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "17ydyj6f75zsz6ygmh3im4631cdx5b58spxi9myr7g1k6vgy2y5a")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -4419,14 +5801,7 @@ a pure Rust implementation of Git.") ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) ("rust-gix-trace" ,rust-gix-trace-0.1) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "This Gitoxide crate finds names for revisions and parsing specifications") - (description - "This package is part of Gitoxide, a pure Rust implementation of Git. It -handles finding names and parsing specifications.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-revision-0.24 (package @@ -4526,8 +5901,58 @@ handles finding names and parsing specifications.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-revwalk-0.15 + (package + (name "rust-gix-revwalk") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "111r3ddls12y1s884x01gai8ykdsn4qmnggghbk4w24k9da747ml")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Utilities for walking Git's revision graph") + (description + "Utilities for walking Git's revision graph. This crate is part of +Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-revwalk-0.13 + (package + (inherit rust-gix-revwalk-0.15) + (name "rust-gix-revwalk") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q23mcf4ji5q8qi3g86vxxgz4x4ykgqja0kyacgi9bvimg50q0qv")))) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-revwalk-0.11 (package + (inherit rust-gix-revwalk-0.15) (name "rust-gix-revwalk") (version "0.11.1") (source @@ -4640,14 +6065,14 @@ Gitoxide, a pure Rust implementation of Git.") (define-public rust-gix-sec-0.10 (package (name "rust-gix-sec") - (version "0.10.6") + (version "0.10.8") (source (origin (method url-fetch) (uri (crate-uri "gix-sec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18brd8k370ddq19fbq04fkq8ry84b1ar0xz90gfj0fv49ac2gp7x")))) + (base32 "0pvs9viknryhjgi67y8dcp16s9wb79fsnvr7wpnbndx760pxbr0g")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -4686,8 +6111,77 @@ Gitoxide, a pure Rust implementation of Git.") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-status-0.13 + (package + (name "rust-gix-status") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1spznjc0s41cnyzfhvm37yr0fpx0fjiima6cwjk1c34zcfx3a3gp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-diff" ,rust-gix-diff-0.46) + ("rust-gix-dir" ,rust-gix-dir-0.8) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.13) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.35) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-worktree" ,rust-gix-worktree-0.36) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis + "Gitoxide project crate that provides @code{git status} functionality") + (description + "This Gitoxide project crate provides @code{git status} functionality. +Gitoxide is a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-status-0.11 + (package + (inherit rust-gix-status-0.13) + (name "rust-gix-status") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dipwd6r0nbyipqc94fdlcn60gd1bispkd3brq3x1hv5rf2b1xw3")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-diff" ,rust-gix-diff-0.44) + ("rust-gix-dir" ,rust-gix-dir-0.6) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-status-0.4 (package + (inherit rust-gix-status-0.13) (name "rust-gix-status") (version "0.4.1") (source @@ -4697,7 +6191,6 @@ Gitoxide, a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07diw4dvb49m3ip1vh1vn7fx4sdapysbwc5vhzxmc15c9dl70gwh")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-filetime" ,rust-filetime-0.2) @@ -4709,13 +6202,7 @@ Gitoxide, a pure Rust implementation of Git.") ("rust-gix-object" ,rust-gix-object-0.40) ("rust-gix-path" ,rust-gix-path-0.10) ("rust-gix-worktree" ,rust-gix-worktree-0.29) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Provides @code{git status} functionality") - (description - "This package provides @code{git status} functionality to Gitoxide, a -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-status-0.3 (package @@ -4792,8 +6279,59 @@ Rust implementation of Git.") ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-submodule-0.14 + (package + (name "rust-gix-submodule") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jw7rb181z5ns0njxh9pi4fa4d8n7lgfn5cg46rp5wy2ikvhm7aj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-refspec" ,rust-gix-refspec-0.25) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis + "Functions for dealing with Git submodules") + (description + "Functions for dealing with Git submodules. Part of Gitoxide a pure Rust +implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-submodule-0.12 + (package + (inherit rust-gix-submodule-0.14) + (name "rust-gix-submodule") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zalx2cc2b2sj8kqncbkbpnj1np9lxr09j4yscwmx000m9lhybhg")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-refspec" ,rust-gix-refspec-0.23) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-submodule-0.7 (package + (inherit rust-gix-submodule-0.14) (name "rust-gix-submodule") (version "0.7.1") (source @@ -4803,7 +6341,6 @@ Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0day1xp9pfxki9cmp0z4kyhh6ygrm427z2f9zkgj9pi2j903im11")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-gix-config" ,rust-gix-config-0.33) @@ -4811,13 +6348,7 @@ Rust implementation of Git.") ("rust-gix-pathspec" ,rust-gix-pathspec-0.5) ("rust-gix-refspec" ,rust-gix-refspec-0.21) ("rust-gix-url" ,rust-gix-url-0.26) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Functions for dealing with Git submodules") - (description - "Functions for dealing with Git submodules. Part of Gitoxide a pure Rust -implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-submodule-0.6 (package @@ -4884,8 +6415,40 @@ implementation of Git.") ("rust-gix-url" ,rust-gix-url-0.24) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-tempfile-14 + (package + (name "rust-gix-tempfile") + (version "14.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-tempfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ah8y51fbx6x9m71ihxk3zhny0c05kka5kd0a2hida4zjqkljsq4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dashmap" ,rust-dashmap-6) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Rust tempfile implementation with assured cleanup") + (description + "Part of Gitoxide a Rust implementation of Git. This package provides a +tempfile capability with a global registry to assure clean-up.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-tempfile-12 (package + (inherit rust-gix-tempfile-14) (name "rust-gix-tempfile") (version "12.0.1") (source @@ -4895,7 +6458,6 @@ implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1aiypbizzx997lw8yvz2sk4nnmxz1yq233j5kc8my7wbf5nkgvx8")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) ("rust-document-features" ,rust-document-features-0.2) @@ -4905,13 +6467,7 @@ implementation of Git.") ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Rust tempfile implementation with assured clean-up") - (description - "Part of Gitoxide a Rust implementation of Git. This package provides a -tempfile capability with a global registry to assure clean-up.") - (license (list license:expat license:asl2.0)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-tempfile-11 (package @@ -4986,14 +6542,14 @@ tempfile capability with a global registry to assure clean-up.") (define-public rust-gix-trace-0.1 (package (name "rust-gix-trace") - (version "0.1.8") + (version "0.1.10") (source (origin (method url-fetch) (uri (crate-uri "gix-trace" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ay5zplv97jysfs2ra214zizwrqv4n6w5943si3r8b7np0nqp0wv")))) + (base32 "06s3mc2ig8k16vlvp4llp8m33yryic2vij71iil95zy3c630xbkc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5006,8 +6562,54 @@ tempfile capability with a global registry to assure clean-up.") can be turned off to zero cost.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-transport-0.42 + (package + (name "rust-gix-transport") + (version "0.42.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07s8lsq97r0hgg9znd2f0jaj49prm2bss9mjjxfs2h8vn35cq7a2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.22) + ("rust-bstr" ,rust-bstr-1) + ("rust-curl" ,rust-curl-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-credentials" ,rust-gix-credentials-0.24) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-packetline" ,rust-gix-packetline-0.17) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-reqwest" ,rust-reqwest-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-blocking" ,rust-blocking-1) + ("rust-maybe-async" ,rust-maybe-async-0.2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Implements the Git transport layer for Gitoxide") + (description + "This package is part of Gitoxide a Rust implementation of Git. It +provides an implementation of the Git transport layer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-transport-0.40 (package + (inherit rust-gix-transport-0.42) (name "rust-gix-transport") (version "0.40.1") (source @@ -5196,8 +6798,61 @@ provides an implementation of the Git transport layer.") ("rust-blocking" ,rust-blocking-1) ("rust-maybe-async" ,rust-maybe-async-0.2)))))) +(define-public rust-gix-traverse-0.41 + (package + (name "rust-gix-traverse") + (version "0.41.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "105prigk1pq7g3i3hvwh4y9rhc35ycl84cg9f9ag6kafz6da6383")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-date" ,rust-gix-date-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.15) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Ways to traverse Git commit graphs and trees for Gix") + (description "Part of Gitoxide, a pure Rust implementation of Git. This +package is used to traverse Git commit graphs and trees.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-traverse-0.39 + (package + (inherit rust-gix-traverse-0.41) + (name "rust-gix-traverse") + (version "0.39.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h48bbjym6fkdhy9q7p8v6rn9ksvkwxp8fs1415cyw8ya66a36g4")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.13) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-traverse-0.36 (package + (inherit rust-gix-traverse-0.41) (name "rust-gix-traverse") (version "0.36.2") (source @@ -5207,7 +6862,6 @@ provides an implementation of the Git transport layer.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qbiq230wj8ak60zzg613pgflwnvsyj71x9liys0k957bd29w435")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.23) ("rust-gix-date" ,rust-gix-date-0.8) @@ -5216,12 +6870,7 @@ provides an implementation of the Git transport layer.") ("rust-gix-object" ,rust-gix-object-0.40) ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Ways to traverse Git commit graphs and trees for Gix") - (description "Part of Gitoxide, a pure Rust implementation of Git. This -package is used to traverse Git commit graphs and trees.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-traverse-0.35 (package @@ -5308,8 +6957,41 @@ package is used to traverse Git commit graphs and trees.") ("rust-gix-object" ,rust-gix-object-0.30) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-url-0.27 + (package + (name "rust-gix-url") + (version "0.27.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "128c2rp6780qspiqasmyd6a3gdmcmq6kl19axllf28pvhig0qa7x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-home" ,rust-home-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "This crate implements parsing and serialization of gix-url for Gitoxide") + (description + "This package is part of Gitoxide a Rust implementation of Git. It +provides a crate for parsing and serialization of gix-url's.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-url-0.26 (package + (inherit rust-gix-url-0.27) (name "rust-gix-url") (version "0.26.1") (source @@ -5319,7 +7001,6 @@ package is used to traverse Git commit graphs and trees.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0i6wjjaq1yhxqk9gbriv9raldhs04yy91ipys4qs4lkmxg61f3wg")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -5330,14 +7011,7 @@ package is used to traverse Git commit graphs and trees.") ("rust-thiserror" ,rust-thiserror-1) ("rust-url" ,rust-url-2)) #:cargo-development-inputs - (("rust-assert-matches" ,rust-assert-matches-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "This crate implements parsing and serialization of gix-url for Gitoxide") - (description - "This package is part of Gitoxide a Rust implementation of Git. It -provides a crate for parsing and serialization of gix-url's.") - (license (list license:expat license:asl2.0)))) + (("rust-assert-matches" ,rust-assert-matches-1)))))) (define-public rust-gix-url-0.25 (package @@ -5414,14 +7088,14 @@ provides a crate for parsing and serialization of gix-url's.") (define-public rust-gix-utils-0.1 (package (name "rust-gix-utils") - (version "0.1.11") + (version "0.1.12") (source (origin (method url-fetch) (uri (crate-uri "gix-utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14lg6k6v3pqb9y3zq3j1r9l1ycx5grcrl9wiy1vrhzr79hnl6rh0")))) + (base32 "1p6lschmdrg1j9cd3rm6q96dyrvivzi2305d7ck1588gzpvjs69m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5436,27 +7110,45 @@ provides a crate for parsing and serialization of gix-url's.") feature toggles.") (license (list license:expat license:asl2.0)))) -(define-public rust-gix-validate-0.8 +(define-public rust-gix-validate-0.9 (package (name "rust-gix-validate") - (version "0.8.4") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "gix-validate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i8m4jv53yn8nhp2niifb03p6lcyj1sd8d6x36n5x624c3hcd7z3")))) + (base32 "11kckcqaihbik9pzx08dzl81k6965isnpqiyb42b8msfnvdvmwl1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-thiserror" ,rust-thiserror-1)))) + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/Byron/gitoxide") - (synopsis "Rust validation functions for various kinds of names in Git") + (synopsis "Validation functions for various kinds of names in Git") (description "Part of Gitoxide, a pure Rust implementation of Git. This package contains validation functions for various kinds of names in Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-validate-0.8 + (package + (inherit rust-gix-validate-0.9) + (name "rust-gix-validate") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-validate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kqad8a2wdz69ma7hspi21pazgpkrc5hg4iw37gsvca99b9pvhl2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-validate-0.7 (package (inherit rust-gix-validate-0.8) @@ -5474,8 +7166,71 @@ package contains validation functions for various kinds of names in Git.") (("rust-bstr" ,rust-bstr-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-worktree-0.36 + (package + (name "rust-gix-worktree") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16hl0gckhybirv86vv3ds5qhjrh4marmq39nbf38xfpjldvas4n3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.35) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-validate" ,rust-gix-validate-0.9) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Gitoxide functions for handling shared Git worktree types and utilities") + (description + "This package provides functions for handling shared Git worktree related +types and utilities. Part of Gitoxide a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-worktree-0.34 + (package + (inherit rust-gix-worktree-0.36) + (name "rust-gix-worktree") + (version "0.34.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19p7xzrl1i4jw2fhzywqkfd00dn58k9nksll0qi7548bprp35xr6")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-gix-worktree-0.29 (package + (inherit rust-gix-worktree-0.36) (name "rust-gix-worktree") (version "0.29.1") (source @@ -5485,7 +7240,6 @@ package contains validation functions for various kinds of names in Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0lld035lsx3y0d2qxpnys2j63nhl36510i76k6arly7hpy52z62k")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -5498,14 +7252,7 @@ package contains validation functions for various kinds of names in Git.") ("rust-gix-index" ,rust-gix-index-0.28) ("rust-gix-object" ,rust-gix-object-0.40) ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Gitoxide functions for handling shared Git worktree types and utilities") - (description - "This package provides functions for handling shared Git worktree related -types and utilities. Part of Gitoxide a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-gix-worktree-0.28 (package @@ -5619,8 +7366,69 @@ types and utilities. Part of Gitoxide a pure Rust implementation of Git.") ("rust-tempfile" ,rust-tempfile-3) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-gix-worktree-state-0.13 + (package + (name "rust-gix-worktree-state") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hyyhvigwnb8cybxxyiqp5rxlw8nw39qs1nmmh5jqw7s2frw81bv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.13) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.35) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.36) + ("rust-io-close" ,rust-io-close-0.3) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Gitoxide project library to set a Git worktree to a particular state") + (description + "This crate sets the Git worktree to a particular state. Part of Gitoxide +a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-worktree-state-0.11 + (package + (inherit rust-gix-worktree-state-0.13) + (name "rust-gix-worktree-state") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n2wv2fgdryxn1pa0rg2k43lqc7kpjx4665ihnj6f47mnl2n5v9r")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-io-close" ,rust-io-close-0.3) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-worktree-state-0.6 (package + (inherit rust-gix-worktree-state-0.13) (name "rust-gix-worktree-state") (version "0.6.1") (source @@ -5630,7 +7438,6 @@ types and utilities. Part of Gitoxide a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1890rq778ac6va1pki0d4379mpinirs892z71hvm3h1449rlxiyq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-gix-features" ,rust-gix-features-0.37) @@ -5644,12 +7451,6 @@ types and utilities. Part of Gitoxide a pure Rust implementation of Git.") ("rust-gix-worktree" ,rust-gix-worktree-0.29) ("rust-io-close" ,rust-io-close-0.3) ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Gitoxide project functions that set Git's worktree to a particular state") - (description - "This package provides functions for setting the Git worktree to a particular -state. Used by Gitoxide a pure Rust implementation of Git.") (license (list license:expat license:asl2.0)))) (define-public rust-gix-worktree-state-0.5 @@ -5730,8 +7531,65 @@ state. Used by Gitoxide a pure Rust implementation of Git.") ("rust-io-close" ,rust-io-close-0.3) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-worktree-stream-0.15 + (package + (name "rust-gix-worktree-stream") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jnvzmsp3h2yzv575a9d2dvkkfvzqgyxd0mnahmf5v53q63ips38")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.13) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-traverse" ,rust-gix-traverse-0.41) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Gitoxide library to generate a byte-stream from a git-tree") + (description + "This crate provides the ability to generate a byte-stream from a git-tree. +It's part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-worktree-stream-0.13 + (package + (inherit rust-gix-worktree-stream-0.15) + (name "rust-gix-worktree-stream") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08gd3fca4jjaygsawpm7s6f3p7rvb3br87ap8ipqahcs4jb4hpg3")))) + (arguments + `(#:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-traverse" ,rust-gix-traverse-0.39) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-worktree-stream-0.8 (package + (inherit rust-gix-worktree-stream-0.15) (name "rust-gix-worktree-stream") (version "0.8.1") (source @@ -5741,7 +7599,6 @@ state. Used by Gitoxide a pure Rust implementation of Git.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05qb9603wdv15l3h27i9s657j6yrpdnnli0x9x9jvkcas98jk1mg")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.21) ("rust-gix-features" ,rust-gix-features-0.37) @@ -5752,12 +7609,7 @@ state. Used by Gitoxide a pure Rust implementation of Git.") ("rust-gix-path" ,rust-gix-path-0.10) ("rust-gix-traverse" ,rust-gix-traverse-0.36) ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "This crate generates a byte-stream from a git-tree") - (description "This crate provides the ability to generate a byte-stream -from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-worktree-stream-0.7 (package @@ -5833,17 +7685,17 @@ from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.") ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-libgit2-sys-0.16 +(define-public rust-libgit2-sys-0.17 (package (name "rust-libgit2-sys") - (version "0.16.2+1.7.2") + (version "0.17.0+1.8.1") (source (origin (method url-fetch) (uri (crate-uri "libgit2-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s149nkximw3n42925rp0jax1sf1zmf8gpcim2g9sp7fnkc2chgf")) + (base32 "093jxfl2i9vxdlgf7vk9d040sjwy0nq4fid640y7qix6m0k26iqh")) (modules '((guix build utils))) (snippet #~(begin (delete-file-recursively "libgit2"))))) @@ -5856,7 +7708,7 @@ from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.") ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3)))) (native-inputs (list pkg-config)) - (inputs (list libgit2-1.7 openssl zlib)) + (inputs (list libgit2-1.8 openssl zlib)) (home-page "https://github.com/rust-lang/git2-rs") (synopsis "Native bindings to the libgit2 library") (description @@ -5864,6 +7716,31 @@ from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.") library.") (license (list license:expat license:asl2.0)))) +(define-public rust-libgit2-sys-0.16 + (package + (inherit rust-libgit2-sys-0.17) + (name "rust-libgit2-sys") + (version "0.16.2+1.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s149nkximw3n42925rp0jax1sf1zmf8gpcim2g9sp7fnkc2chgf")) + (modules '((guix build utils))) + (snippet + #~(begin (delete-file-recursively "libgit2"))))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libssh2-sys" ,rust-libssh2-sys-0.3) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 openssl zlib)))) + (define-public rust-libgit2-sys-0.15 (package (inherit rust-libgit2-sys-0.16) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index ee32c99374f..c17402e335b 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2812,14 +2812,14 @@ transfer coding.") (define-public rust-hickory-client-0.24 (package (name "rust-hickory-client") - (version "0.24.0") + (version "0.24.1") (source (origin (method url-fetch) (uri (crate-uri "hickory-client" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bj6g69h86d7mbclrwaj7cgl1plr6pvllv8qn69xmpgh9h90hgkz")))) + (base32 "0m8vnqgqg9vaanpphqccm9p8iqc0bm2kc0kvhmx9by6q10xnifds")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -2860,14 +2860,14 @@ into other software that also use those libraries.") (define-public rust-hickory-proto-0.24 (package (name "rust-hickory-proto") - (version "0.24.0") + (version "0.24.1") (source (origin (method url-fetch) (uri (crate-uri "hickory-proto" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kxvdzmwwi1d6wsp9bcs91ipmwxcyhpwbvz3an9h0q28ryy6y6h9")))) + (base32 "04p5jqp4mb1cp0vxgfwqlgrgpn45xjcsjss3g92ddw724228ns87")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) @@ -2925,14 +2925,14 @@ DNS protocol library for all Hickory DNS projects.") (define-public rust-hickory-recursor-0.24 (package (name "rust-hickory-recursor") - (version "0.24.0") + (version "0.24.1") (source (origin (method url-fetch) (uri (crate-uri "hickory-recursor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "146ifrml22hjydrw16qgfw32kv3v9wvvl4dqh45pg6fymxvw8xgi")))) + (base32 "1a44l02v2ymxj10zkf46iak4y872zgwi9wyjp0710655jp1wgpg2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-recursion" ,rust-async-recursion-1) @@ -2968,14 +2968,14 @@ performing recursive lookups.") (define-public rust-hickory-resolver-0.24 (package (name "rust-hickory-resolver") - (version "0.24.0") + (version "0.24.1") (source (origin (method url-fetch) (uri (crate-uri "hickory-resolver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s3486qczv9gaw8dap06c0bwb2bpqm23a0ihj169hsjf2qhz1f1m")))) + (base32 "0hzjn5wpchljcsk51c1156rk3f15iinmwh7h9hjqzjbmm8ipyx98")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -2996,25 +2996,25 @@ performing recursive lookups.") "--skip=resolver::tests::test_lookup" "--skip=system_conf::unix::tests::test_read_resolv_conf") #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hickory-proto" ,rust-hickory-proto-0.24) - ("rust-ipconfig" ,rust-ipconfig-0.3) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-rand" ,rust-rand-0.8) - ("rust-resolv-conf" ,rust-resolv-conf-0.7) - ("rust-rustls" ,rust-rustls-0.21) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hickory-proto" ,rust-hickory-proto-0.24) + ("rust-ipconfig" ,rust-ipconfig-0.3) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-resolv-conf" ,rust-resolv-conf-0.7) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) #:cargo-development-inputs (("rust-futures-executor" ,rust-futures-executor-0.3) ("rust-tokio" ,rust-tokio-1) @@ -3032,14 +3032,14 @@ intended to be a high-level library for any DNS record resolution, see (define-public rust-hickory-server-0.24 (package (name "rust-hickory-server") - (version "0.24.0") + (version "0.24.1") (source (origin (method url-fetch) (uri (crate-uri "hickory-server" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dbwsrmxgf9nxkn3cp5fpjw96wywrzihbirjax25dd6wqidv9fsg")))) + (base32 "0dqcwk7vy87517l3v7j109fjg8jk46isjwbwdkdkz6vbalyf9q4v")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -3081,7 +3081,7 @@ intended to be a high-level library for any DNS record resolution, see ("rust-hickory-resolver" ,rust-hickory-resolver-0.24) ("rust-http" ,rust-http-0.2) ("rust-openssl" ,rust-openssl-0.10) - ("rust-rusqlite" ,rust-rusqlite-0.29) + ("rust-rusqlite" ,rust-rusqlite-0.31) ("rust-rustls" ,rust-rustls-0.21) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1) @@ -4685,14 +4685,14 @@ in the Rust programming language.") (package (inherit rust-reqwest-0.12) (name "rust-reqwest") - (version "0.11.23") + (version "0.11.27") (source (origin (method url-fetch) (uri (crate-uri "reqwest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hgvzb7r46656r9vqhl5qk1kbr2xzjb91yr2cb321160ka6sxc9p")))) + (base32 "0qjary4hpplpgdi62d2m0xvbn6lnzckwffm0rgkm2x51023m6ryx")))) (arguments `(#:cargo-test-flags '("--release" "--" @@ -4707,8 +4707,8 @@ in the Rust programming language.") (("rust-async-compression" ,rust-async-compression-0.4) ("rust-base64" ,rust-base64-0.21) ("rust-bytes" ,rust-bytes-1) - ("rust-cookie" ,rust-cookie-0.16) - ("rust-cookie-store" ,rust-cookie-store-0.16) + ("rust-cookie" ,rust-cookie-0.17) + ("rust-cookie-store" ,rust-cookie-store-0.20) ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) @@ -4716,6 +4716,7 @@ in the Rust programming language.") ("rust-h2" ,rust-h2-0.3) ("rust-h3" ,rust-h3-0.0.3) ("rust-h3-quinn" ,rust-h3-quinn-0.0.4) + ("rust-hickory-resolver" ,rust-hickory-resolver-0.24) ("rust-http" ,rust-http-0.2) ("rust-http-body" ,rust-http-body-0.4) ("rust-hyper" ,rust-hyper-0.14) @@ -4737,6 +4738,7 @@ in the Rust programming language.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-sync-wrapper" ,rust-sync-wrapper-0.1) ("rust-system-configuration" ,rust-system-configuration-0.5) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) @@ -4744,18 +4746,18 @@ in the Rust programming language.") ("rust-tokio-socks" ,rust-tokio-socks-0.5) ("rust-tokio-util" ,rust-tokio-util-0.7) ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.23) ("rust-url" ,rust-url-2) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-wasm-streams" ,rust-wasm-streams-0.3) + ("rust-wasm-streams" ,rust-wasm-streams-0.4) ("rust-web-sys" ,rust-web-sys-0.3) ("rust-webpki-roots" ,rust-webpki-roots-0.25) ("rust-winreg" ,rust-winreg-0.50)) #:cargo-development-inputs (("rust-brotli" ,rust-brotli-3) ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures-util" ,rust-futures-util-0.3) ("rust-hyper" ,rust-hyper-0.14) ("rust-libflate" ,rust-libflate-1) ("rust-serde" ,rust-serde-1) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index ef91db0e964..7437ce91c76 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch> ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,18 +45,18 @@ (define-public rust-anstyle-wincon-3 (package (name "rust-anstyle-wincon") - (version "3.0.2") + (version "3.0.6") (source (origin (method url-fetch) (uri (crate-uri "anstyle-wincon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19v0fv400bmp4niqpzxnhg83vz12mmqv7l2l8vi80qcdxj0lpm8w")))) + (base32 "099ir0w3lbpsp1nxdzbf4anq98ww8ykyc9pd1g03xgkj1v7dn291")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-windows-sys" ,rust-windows-sys-0.52)) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))) (home-page "https://github.com/rust-cli/anstyle") (synopsis "Styling legacy Windows terminals") @@ -101,18 +102,18 @@ (define-public rust-cargo-credential-wincred-0.4 (package (name "rust-cargo-credential-wincred") - (version "0.4.3") + (version "0.4.8") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-wincred" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bb9yczmk3ral2r20v5c4jzf3l9qp0nmm11i20s0w5inprp9b228")))) + (base32 "1idydvigr3car3czf0mm27a5qq6qmci5dilskqh238fpyx8i7z2v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) (home-page "https://github.com/rust-lang/cargo") (synopsis "Cargo credential process that stores tokens with Windows Credential Manager") @@ -138,6 +139,33 @@ Windows Credential Manager.") (("rust-cargo-credential" ,rust-cargo-credential-0.3) ("rust-windows-sys" ,rust-windows-sys-0.48)))))) +(define-public rust-cfb-0.7 + (package + (name "rust-cfb") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cfb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03y6p3dlm7gfds19bq4ba971za16rjbn7q2v0vqcri52l2kjv3yk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-pcg" ,rust-rand-pcg-0.3) + ("rust-time" ,rust-time-0.3)))) + (home-page "https://github.com/mdsteele/rust-cfb") + (synopsis "Read/write Compound File Binary files") + (description + "This package provides Read/write functionality for Compound File Binary +(structured storage) files.") + (license license:expat))) + (define-public rust-clipboard-win-5 (package (name "rust-clipboard-win") @@ -337,6 +365,28 @@ inclusion of Windows resources in the most resilient fashion imaginable.") API library @code{gdi32}.") (license license:expat))) +(define-public rust-implib-0.3 + (package + (name "rust-implib") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "implib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n1bcfcsnng54ssf4hjknx87amz61j0kdis94f9kk7gnva07v9r7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-memoffset" ,rust-memoffset-0.9) + ("rust-object" ,rust-object-0.36)))) + (home-page "https://github.com/messense/implib-rs") + (synopsis "Generate Windows import library from module definition file") + (description + "This package provides a way to generate a Windows import library from a +module definition file.") + (license license:expat))) + (define-public rust-ipconfig-0.3 (package (name "rust-ipconfig") @@ -407,6 +457,26 @@ network configuration for Windows.") kernel32.") (license license:expat))) +(define-public rust-known-folders-1 + (package + (name "rust-known-folders") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "known-folders" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z4jlxfqv1jqp9g5m1dr23zpjpl5kpbqgdqfk8jnxd681isa3ndp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.59)))) + (home-page "https://github.com/artichoke/known-folders-rs") + (synopsis "Safe wrapper around the Known Folders API on Windows") + (description + "This package provides a safe wrapper around the Known Folders API on Windows.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-miow-0.6 (package (name "rust-miow") @@ -512,6 +582,33 @@ IOCP and Async I/O abstractions.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-nt-time-0.6 + (package + (name "rust-nt-time") + (version "0.6.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "nt-time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02sikab4va5gv2ja5rjd7fp1g1dh6l1pryjlsprxh0hcq247fmkf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-time" ,rust-time-0.3) + ("rust-zip" ,rust-zip-2)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/sorairolake/nt-time") + (synopsis "Windows file time library") + (description "This package provides a Windows file time library.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-output-vt100-0.1 (package (name "rust-output-vt100") @@ -1309,22 +1406,20 @@ for Rust.") "Contains function definitions for the Windows API library ws2_32.") (license license:expat))) -(define-public rust-windows-0.52 +(define-public rust-windows-0.58 (package (name "rust-windows") - (version "0.52.0") + (version "0.58.0") (source (origin (method url-fetch) (uri (crate-uri "windows" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4")))) + (base32 "1dkjj94b0gn91nn1n22cvm4afsj98f5qrhcl3112v6f4jcfx816x")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.52) - ("rust-windows-implement" ,rust-windows-implement-0.52) - ("rust-windows-interface" ,rust-windows-interface-0.52) + `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.58) ("rust-windows-targets" ,rust-windows-targets-0.52)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Rust for Windows") @@ -1334,6 +1429,41 @@ describing the API and right into your Rust package where you can call them as if they were just another Rust module.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-0.57 + (package + (inherit rust-windows-0.58) + (name "rust-windows") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hqid10bqvxa3pbpgvrh2cilf950lxsd9zqfv3rldc73v2s2qd0j")))) + (arguments + `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.57) + ("rust-windows-targets" ,rust-windows-targets-0.52)))))) + +(define-public rust-windows-0.52 + (package + (inherit rust-windows-0.58) + (name "rust-windows") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.52) + ("rust-windows-implement" ,rust-windows-implement-0.52) + ("rust-windows-interface" ,rust-windows-interface-0.52) + ("rust-windows-targets" ,rust-windows-targets-0.52)))))) + (define-public rust-windows-0.48 (package (inherit rust-windows-0.52) @@ -1389,6 +1519,30 @@ if they were just another Rust module.") ("rust-windows-interface" ,rust-windows-interface-0.44) ("rust-windows-targets" ,rust-windows-targets-0.42)))))) +(define-public rust-windows-0.43 + (package + (inherit rust-windows-0.44) + (name "rust-windows") + (version "0.43.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i32alvc4n4l7abmv1fsvnd1lzw17f1cpr16kgx0sqz5wg82wrh4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.43) + ("rust-windows-interface" ,rust-windows-interface-0.43) + ("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.42) + ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.42) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.42) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.42) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.42) + ("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.42) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.42)))))) + (define-public rust-windows-0.39 (package (inherit rust-windows-0.46) @@ -1454,14 +1608,14 @@ if they were just another Rust module.") (define-public rust-windows-aarch64-gnullvm-0.52 (package (name "rust-windows-aarch64-gnullvm") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_aarch64_gnullvm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1shmn1kbdc0bpphcxz0vlph96bxz0h1jlmh93s9agf2dbpin8xyb")) + (base32 "1lrcq38cr2arvmz19v32qaggvj8bh1640mdm9c2fr877h0hn591j")) (snippet '(delete-file "lib/libwindows.0.52.0.a")))) (build-system cargo-build-system) @@ -1508,14 +1662,14 @@ if they were just another Rust module.") (define-public rust-windows-aarch64-msvc-0.52 (package (name "rust-windows-aarch64-msvc") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_aarch64_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vvmy1ypvzdvxn9yf0b8ygfl85gl2gpcyvsvqppsmlpisil07amv")) + "0sfl0nysnz32yyfh773hpi49b1q700ah6y7sacmjbqjjn5xjmv09")) (snippet '(delete-file "lib/windows.0.52.0.lib")))) (build-system cargo-build-system) @@ -1616,28 +1770,68 @@ crate.") (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) -(define-public rust-windows-bindgen-0.52 +(define-public rust-windows-bindgen-0.57 (package (name "rust-windows-bindgen") - (version "0.52.0") + (version "0.57.0") (source (origin (method url-fetch) (uri (crate-uri "windows-bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp")))) + (base32 "1d67wwhbdwf3rmdbiyfsz55hky2a972y2xqg7iablxv27l8rdjqw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) ("rust-syn" ,rust-syn-2) - ("rust-windows-metadata" ,rust-windows-metadata-0.52)))) + ("rust-windows-metadata" ,rust-windows-metadata-0.57)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Windows metadata compiler") - (description "Windows metadata compiler.") + (description "This package provides Windows metadata compiler.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-bindgen-0.56 + (package + (inherit rust-windows-bindgen-0.57) + (name "rust-windows-bindgen") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0inv2w78qv6375ndrgm9vilkgscwak80igz8vkf7zw8c6fk3x3m2")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-windows-metadata" ,rust-windows-metadata-0.56)))))) + +(define-public rust-windows-bindgen-0.52 + (package + (inherit rust-windows-bindgen-0.56) + (name "rust-windows-bindgen") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "071lrbhbvh0l8m1wf5000xxmcry1gjpqdxcqm23qmss9d05zn3lp")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-syn" ,rust-syn-2) + ("rust-windows-metadata" ,rust-windows-metadata-0.52)))))) + (define-public rust-windows-bindgen-0.51 (package (inherit rust-windows-bindgen-0.52) @@ -1656,8 +1850,53 @@ crate.") ("rust-syn" ,rust-syn-2) ("rust-windows-metadata" ,rust-windows-metadata-0.51)))))) +(define-public rust-windows-core-0.58 + (package + (name "rust-windows-core") + (version "0.58.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16czypy425jzmiys4yb3pwsh7cm6grxn9kjp889iqnf2r17d99kb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.58) + ("rust-windows-interface" ,rust-windows-interface-0.58) + ("rust-windows-result" ,rust-windows-result-0.2) + ("rust-windows-strings" ,rust-windows-strings-0.1) + ("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Rust for Windows") + (description "This package provides Rust for Windows.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-core-0.57 + (package + (inherit rust-windows-core-0.58) + (name "rust-windows-core") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bc3jxw2jw76xkk3ddvnp5b2m76qmbzv1qncgvb6qrlhl8wj9vfj")))) + (arguments + `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.57) + ("rust-windows-interface" ,rust-windows-interface-0.57) + ("rust-windows-result" ,rust-windows-result-0.1) + ("rust-windows-targets" ,rust-windows-targets-0.52)) + #:cargo-development-inputs + (("rust-windows-bindgen" ,rust-windows-bindgen-0.57)))))) + (define-public rust-windows-core-0.52 (package + (inherit rust-windows-core-0.58) (name "rust-windows-core") (version "0.52.0") (source @@ -1678,14 +1917,14 @@ crate.") (define-public rust-windows-i686-gnu-0.52 (package (name "rust-windows-i686-gnu") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_i686_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04zkglz4p3pjsns5gbz85v4s5aw102raz4spj4b0lmm33z5kg1m2")) + "02zspglbykh1jh9pi7gn8g1f97jh1rrccni9ivmrfbl0mgamm6wf")) (snippet '(delete-file "lib/libwindows.0.52.0.a")))) (build-system cargo-build-system) @@ -1786,17 +2025,36 @@ crate.") (base32 "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm")))))) +(define-public rust-windows-i686-gnullvm-0.52 + (package + (name "rust-windows-i686-gnullvm") + (version "0.52.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_i686_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rpdx1537mw6slcpqa0rm3qixmsb79nbhqy5fsm3q2q9ik9m5vhf")) + (snippet + '(delete-file "lib/libwindows.0.52.0.a")))) + (build-system cargo-build-system) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Import lib for Windows") + (description "This package provides Import lib for Windows.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-i686-msvc-0.52 (package (name "rust-windows-i686-msvc") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_i686_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "16kvmbvx0vr0zbgnaz6nsks9ycvfh5xp05bjrhq65kj623iyirgz")) + "0rkcqmp4zzmfvrrrx01260q3xkpzi6fzi2x2pgdcdry50ny4h294")) (snippet '(delete-file "lib/windows.0.52.0.lib")))) (build-system cargo-build-system) @@ -1896,8 +2154,50 @@ crate.") (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai")))))) +(define-public rust-windows-implement-0.58 + (package + (name "rust-windows-implement") + (version "0.58.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16spr5z65z21qyv379rv2mb1s5q2i9ibd1p2pkn0dr9qr535pg9b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "The implement macro for the windows crate") + (description + "This package provides The @code{implement} macro for the +Windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-implement-0.57 + (package + (inherit rust-windows-implement-0.58) + (name "rust-windows-implement") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mqs7qypclnmx5r8yq5jy3g2d8i27vzag9yzzzxzpdnmb70ds1wi")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-windows-implement-0.52 (package + (inherit rust-windows-implement-0.58) (name "rust-windows-implement") (version "0.52.0") (source @@ -1911,12 +2211,7 @@ crate.") (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "The implement macro for the windows crate") - (description "This package provides the @code{implement} macro for the -windows crate.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-2)))))) (define-public rust-windows-implement-0.48 (package @@ -1973,6 +2268,24 @@ windows crate.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-windows-implement-0.43 + (package + (inherit rust-windows-implement-0.48) + (name "rust-windows-implement") + (version "0.43.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01zqmrdnz2j5qd4ahqjsz724mdabi577f400yywcahy7dl2rpqmp")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-windows-implement-0.39 (package (inherit rust-windows-implement-0.46) @@ -2007,28 +2320,62 @@ windows crate.") (("rust-syn" ,rust-syn-1) ("rust-windows-tokens" ,rust-windows-tokens-0.32)))))) -(define-public rust-windows-interface-0.52 +(define-public rust-windows-interface-0.58 (package (name "rust-windows-interface") - (version "0.52.0") + (version "0.58.0") (source (origin (method url-fetch) (uri (crate-uri "windows-interface" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx")))) + (base32 "059mxmfvx3x88q74ms0qlxmj2pnidmr5mzn60hakn7f95m34qg05")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/microsoft/windows-rs") - (synopsis "The interface macro for the windows crate") - (description "This package provides the interface macro for the windows -crate.") + (synopsis "The interface macro for the Windows crate") + (description + "This package provides the interface macro for the Windows crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-interface-0.57 + (package + (inherit rust-windows-interface-0.58) + (name "rust-windows-interface") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19zwlzr0q1z9s692681yb5w2lhvwcyx4v95s25hfdkd3isry9gi9")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + +(define-public rust-windows-interface-0.52 + (package + (inherit rust-windows-interface-0.58) + (name "rust-windows-interface") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-windows-interface-0.48 (package (inherit rust-windows-interface-0.52) @@ -2084,6 +2431,24 @@ crate.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-windows-interface-0.43 + (package + (inherit rust-windows-interface-0.44) + (name "rust-windows-interface") + (version "0.43.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06drakcacg4d680qa2sk62kqn7ini00xw3zz0hwqwx1my2z4z3dw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-windows-interface-0.39 (package (inherit rust-windows-interface-0.46) @@ -2097,23 +2462,49 @@ crate.") (sha256 (base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2")))))) -(define-public rust-windows-metadata-0.52 +(define-public rust-windows-metadata-0.57 (package (name "rust-windows-metadata") - (version "0.52.0") + (version "0.57.0") (source (origin (method url-fetch) (uri (crate-uri "windows-metadata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1")))) + (base32 "1z1xl76p0zjwsvyj16w6pbp2layhjqz13y34pid9x7avh9vd0243")))) (build-system cargo-build-system) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Windows metadata reader") - (description "Windows metadata reader.") + (description "This package provides Windows metadata reader.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-metadata-0.56 + (package + (inherit rust-windows-metadata-0.57) + (name "rust-windows-metadata") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d1vizbp6b1wjh3qnjrh120w1iwqal3lfj52wdac847zgy1gg4rr")))))) + +(define-public rust-windows-metadata-0.52 + (package + (inherit rust-windows-metadata-0.56) + (name "rust-windows-metadata") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vz49s2mm74fmjabh3kxxhzbz16ys41b78jgi6xwssp2069db3r1")))))) + (define-public rust-windows-metadata-0.51 (package (inherit rust-windows-metadata-0.52) @@ -2127,8 +2518,88 @@ crate.") (sha256 (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))))) +(define-public rust-windows-result-0.2 + (package + (name "rust-windows-result") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-result" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03mf2z1xcy2slhhsm15z24p76qxgm2m74xdjp8bihyag47c4640x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows error handling") + (description "This package provides Windows error handling.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-result-0.1 + (package + (inherit rust-windows-result-0.2) + (name "rust-windows-result") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-result" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y274q1v0vy21lhkgslpxpq1m08hvr1mcs2l88h1b1gcx0136f2y")))) + (arguments + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)) + #:cargo-development-inputs + (("rust-windows-bindgen" ,rust-windows-bindgen-0.57)))))) + +(define-public rust-windows-strings-0.1 + (package + (name "rust-windows-strings") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-strings" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "042dxvi3133f7dyi2pgcvknwkikk47k8bddwxbq5s0l6qhjv3nac")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-result" ,rust-windows-result-0.2) + ("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Rust for Windows strings provides common string types") + (description "This package provides common string types when using +Rust for Windows.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-sys-0.59 + (package + (name "rust-windows-sys") + (version "0.59.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fw5672ziw8b3zpmnbp9pdv1famk74f1l9fcbc3zsrzdg56vqf0y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Rust for Windows") + (description "The windows crate lets you call any Windows API past, +present, and future using code generated on the fly directly from the metadata +describing the API and right into your Rust package where you can call them as +if they were just another Rust module.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-sys-0.52 (package + (inherit rust-windows-sys-0.59) (name "rust-windows-sys") (version "0.52.0") (source (origin @@ -2138,17 +2609,9 @@ crate.") (sha256 (base32 "0gd3v4ji88490zgb6b5mq5zgbvwv7zx1ibn8v3x83rwcdbryaar8")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Rust for Windows") - (description "The windows crate lets you call any Windows API past, -present, and future using code generated on the fly directly from the metadata -describing the API and right into your Rust package where you can call them as -if they were just another Rust module.") - (license (list license:expat license:asl2.0)))) + #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))))) (define-public rust-windows-sys-0.48 (package @@ -2289,20 +2752,21 @@ if they were just another Rust module.") (define-public rust-windows-targets-0.52 (package (name "rust-windows-targets") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows-targets" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1kg7a27ynzw8zz3krdgy6w5gbqcji27j1sz4p7xk2j5j8082064a")))) + "0wwrx625nwlfp7k93r2rra568gad1mwd888h1jwnl0vfg5r4ywlv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.52) ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.52) ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.52) + ("rust-windows-i686-gnullvm" ,rust-windows-i686-gnullvm-0.52) ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.52) ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.52) ("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.52) @@ -2415,14 +2879,14 @@ windows crate.") (define-public rust-windows-x86-64-gnu-0.52 (package (name "rust-windows-x86-64-gnu") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_x86_64_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1zdy4qn178sil5sdm63lm7f0kkcjg6gvdwmcprd2yjmwn8ns6vrx")) + "0y0sifqcb56a56mvn7xjgs8g43p33mfqkd8wj1yhrgxzma05qyhl")) (snippet '(delete-file "lib/libwindows.0.52.0.a")))) (build-system cargo-build-system) @@ -2526,14 +2990,14 @@ windows crate.") (define-public rust-windows-x86-64-gnullvm-0.52 (package (name "rust-windows-x86-64-gnullvm") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_x86_64_gnullvm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17lllq4l2k1lqgcnw1cccphxp9vs7inq99kjlm2lfl9zklg7wr8s")) + "03gda7zjx1qh8k9nnlgb7m3w3s1xkysg55hkd1wjch8pqhyv5m94")) (snippet '(delete-file "lib/libwindows.0.52.0.a")))) (build-system cargo-build-system) @@ -2579,14 +3043,14 @@ windows crate.") (define-public rust-windows-x86-64-msvc-0.52 (package (name "rust-windows-x86-64-msvc") - (version "0.52.0") + (version "0.52.6") (source (origin (method url-fetch) (uri (crate-uri "windows_x86_64_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz")) + "1v7rb5cibyzx8vak29pdrk8nx9hycsjs4w0jgms08qk49jl6v7sq")) (snippet '(delete-file "lib/windows.0.52.0.lib")))) (build-system cargo-build-system) diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index e36751e774a..46febebb0d7 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -664,7 +664,7 @@ from a mounted file system.") ("rust-log" ,rust-log-0.4) ("rust-memoffset" ,rust-memoffset-0.8) ("rust-owo-colors" ,rust-owo-colors-4) - ("rust-rustix" ,rust-rustix-for-bcachefs-tools) + ("rust-rustix" ,rust-rustix-0.38) ("rust-strum" ,rust-strum-0.26) ("rust-strum-macros" ,rust-strum-macros-0.26) ("rust-udev" ,rust-udev-0.7) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 772d33df12a..73b0b6b895e 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3577,7 +3577,7 @@ for dealing with different structured file formats.") (define-public librsvg (package (name "librsvg") - (version "2.56.4") + (version "2.58.5") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/librsvg/" @@ -3585,7 +3585,7 @@ for dealing with different structured file formats.") "librsvg-" version ".tar.xz")) (sha256 (base32 - "1xa0cxdvc6vis5ssh1i0vi2rwgcx3bll6k5i135qyd2ra77zv1za")))) + "0ym2yg94sc7ralh1kwqqrhz3wcc51079z90mbx0qrls7wfh36hi2")))) (build-system cargo-build-system) (outputs '("out" "doc" "debug")) (arguments @@ -3597,60 +3597,57 @@ for dealing with different structured file formats.") ((guix build gnu-build-system) #:prefix gnu:)) #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-cairo-rs" ,rust-cairo-rs-0.17) + ("rust-cairo-rs" ,rust-cairo-rs-0.19) ("rust-cast" ,rust-cast-0.3) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-cssparser" ,rust-cssparser-0.29) - ("rust-data-url" ,rust-data-url-0.2) + ("rust-cssparser" ,rust-cssparser-0.31) + ("rust-cstr" ,rust-cstr-0.2) + ("rust-data-url" ,rust-data-url-0.3) ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-float-cmp" ,rust-float-cmp-0.9) - ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.17) - ("rust-gio" ,rust-gio-0.17) - ("rust-glib" ,rust-glib-0.17) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.19) + ("rust-gio" ,rust-gio-0.19) + ("rust-glib" ,rust-glib-0.19) + ("rust-image" ,rust-image-0.24) + ("rust-itertools" ,rust-itertools-0.12) ("rust-language-tags" ,rust-language-tags-0.3) ("rust-libc" ,rust-libc-0.2) ("rust-locale-config" ,rust-locale-config-0.3) ("rust-markup5ever" ,rust-markup5ever-0.11) ("rust-nalgebra" ,rust-nalgebra-0.32) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pango" ,rust-pango-0.17) - ("rust-pangocairo" ,rust-pangocairo-0.17) + ("rust-pango" ,rust-pango-0.19) + ("rust-pangocairo" ,rust-pangocairo-0.19) ("rust-rayon" ,rust-rayon-1) - ("rust-rctree" ,rust-rctree-0.5) + ("rust-rctree" ,rust-rctree-0.6) ("rust-regex" ,rust-regex-1) ("rust-rgb" ,rust-rgb-0.8) - ("rust-selectors" ,rust-selectors-0.24) + ("rust-selectors" ,rust-selectors-0.25) ("rust-string-cache" ,rust-string-cache-0.8) ("rust-system-deps" ,rust-system-deps-6) ("rust-thiserror" ,rust-thiserror-1) ("rust-tinyvec" ,rust-tinyvec-1) ("rust-url" ,rust-url-2) - ("rust-xml5ever" ,rust-xml5ever-0.17)) + ("rust-xml5ever" ,rust-xml5ever-0.17) + ("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-5)) #:cargo-development-inputs `(("rust-anyhow" ,rust-anyhow-1) ("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-cairo-rs" ,rust-cairo-rs-0.17) - ("rust-cast" ,rust-cast-0.3) ("rust-chrono" ,rust-chrono-0.4) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-glib" ,rust-glib-0.17) - ("rust-libc" ,rust-libc-0.2) - ("rust-lopdf" ,rust-lopdf-0.29) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-float-cmp" ,rust-float-cmp-0.9) + ("rust-lopdf" ,rust-lopdf-0.32) ("rust-matches" ,rust-matches-0.1) - ("rust-pango" ,rust-pango-0.17) - ("rust-pangocairo" ,rust-pangocairo-0.17) ("rust-png" ,rust-png-0.17) - ("rust-predicates" ,rust-predicates-2) + ("rust-predicates" ,rust-predicates-3) ("rust-proptest" ,rust-proptest-1) + ("rust-quick-error" ,rust-quick-error-2) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-4)) + ("rust-url" ,rust-url-2)) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-gdk-pixbuf-thumbnailer @@ -3682,9 +3679,9 @@ for dealing with different structured file formats.") ;; Increase reftest tolerance a bit to account for different ;; harfbuzz, pango, etc. (setenv "RSVG_TEST_TOLERANCE" "20") - ;; This test fails even after loosening the tolerance. - (substitute* "tests/src/reference.rs" - ((".*svg1_1_text_align_03_b_svg.*") "")))) + ;; These tests fail even after loosening the tolerance. + (substitute* "rsvg/tests/reference.rs" + ((".*svg1_1_filters_conv_0[24]_f_svg.*") "")))) (add-before 'configure 'pre-configure (lambda* (#:key outputs #:allow-other-keys) (substitute* "gdk-pixbuf-loader/Makefile.in" diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index c339469e63d..29a442903fa 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -775,7 +775,7 @@ variable defined below. It requires guile-json to be installed." ;; ,(search-patch "icecat-use-system-media-libs.patch")) rust `(,rust "cargo") - rust-cbindgen + rust-cbindgen-0.24 llvm-17 clang-17 perl @@ -815,7 +815,8 @@ variable defined below. It requires guile-json to be installed." "--disable-debug" "--disable-debug-symbols" - "--enable-rust-simd" + ;; TODO: Re-enable after updating to the 128 ESR. + ;"--enable-rust-simd" "--enable-release" "--enable-optimize" "--enable-strip" @@ -1588,7 +1589,7 @@ ca495991b7852b855")) pkg-config python-wrapper rust - rust-cbindgen + rust-cbindgen-0.24 which yasm)) (home-page "https://www.thunderbird.net") diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index aaa98485014..50993c3eea7 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013-2019, 2023 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2021 Mark H Weaver <mhw@netris.org> -;;; Copyright © 2016-2019, 2021-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016-2019, 2021-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de> @@ -387,26 +387,32 @@ PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This package tracks the Rapid Release channel, which updates frequently."))) + (define-public nsncd (package (name "nsncd") - (version "2024-04-09") + (version "1.5.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/twosigma/nsncd") - (commit "7605e330d5a313a8656e6fcaf1c10cd6b5cdd427"))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1hk8bh2a02nyk3rpzbjx1a2iiz15d0vx3ysa180wmr8gsc9ymph5")))) + (base32 "1qiphwlwbnni2vfqjbdzv2a1qgqv2ycmygmyrbx8pgaak9gl5hfi")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--" + '("--release" "--" ;; These tests fail with the current builder network setup "--skip=ffi::test_gethostbyaddr_r" - "--skip=ffi::test_gethostbyname2_r") + "--skip=ffi::test_gethostbyname2_r" + "--skip=handlers::test::test_handle_getservbyname_name" + "--skip=handlers::test::test_handle_getservbyname_name_proto" + "--skip=handlers::test::test_handle_getservbyport_port" + "--skip=handlers::test::test_handle_getservbyport_port_proto" + "--skip=handlers::test::test_handle_getservbyport_port_proto_aliases") #:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) diff --git a/gnu/packages/patches/rust-1.78-unwinding-fix.patch b/gnu/packages/patches/rust-1.78-unwinding-fix.patch new file mode 100644 index 00000000000..8e98d6d7d95 --- /dev/null +++ b/gnu/packages/patches/rust-1.78-unwinding-fix.patch @@ -0,0 +1,29 @@ +From ce49a9d9e52ca6062fe0894e72d954511fa8820f Mon Sep 17 00:00:00 2001 +From: Shmuel Hazan <ShmuelHazan0@gmail.com> +Date: Sat, 1 Jun 2024 08:49:44 +0300 +Subject: [PATCH] Add UWTable attr to functions with a personality function + +Adding a personality function forces LLVM to generate unwinding info that might be incorrect. +To solve it, always apply the UWTable attribute when setting a personality function. + +Fixes #123733 +--- + compiler/rustc_codegen_llvm/src/builder.rs | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs +index 72ff9ea118e28..668f0a33a4e80 100644 +--- a/compiler/rustc_codegen_llvm/src/builder.rs ++++ b/compiler/rustc_codegen_llvm/src/builder.rs +@@ -1029,6 +1029,11 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> { + } + + fn set_personality_fn(&mut self, personality: &'ll Value) { ++ // Work around for https://github.com/rust-lang/rust/issues/123733 ++ // add the UWTable attribute to every function with a personality function. ++ let uwtable = attributes::uwtable_attr(self.llcx, None); ++ attributes::apply_to_llfn(self.llfn(), llvm::AttributePlace::Function, &[uwtable]); ++ + unsafe { + llvm::LLVMSetPersonalityFn(self.llfn(), personality); + } diff --git a/gnu/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch b/gnu/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch new file mode 100644 index 00000000000..39a79a9628e --- /dev/null +++ b/gnu/packages/patches/rust-1.81-fix-riscv64-bootstrap.patch @@ -0,0 +1,40 @@ +From 99e6a28804eac57faa37134d61a2bb17069996a2 Mon Sep 17 00:00:00 2001 +From: Nicholas Bishop <nicholasbishop@google.com> +Date: Thu, 30 May 2024 18:32:46 -0400 +Subject: [PATCH] Add f16/f128 handling in a couple places + +--- + compiler/rustc_codegen_llvm/src/abi.rs | 2 ++ + compiler/rustc_target/src/abi/call/mod.rs | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/compiler/rustc_codegen_llvm/src/abi.rs b/compiler/rustc_codegen_llvm/src/abi.rs +index a6a3f0f964611..2e52d3f426a83 100644 +--- a/compiler/rustc_codegen_llvm/src/abi.rs ++++ b/compiler/rustc_codegen_llvm/src/abi.rs +@@ -121,8 +121,10 @@ impl LlvmType for Reg { + match self.kind { + RegKind::Integer => cx.type_ix(self.size.bits()), + RegKind::Float => match self.size.bits() { ++ 16 => cx.type_f16(), + 32 => cx.type_f32(), + 64 => cx.type_f64(), ++ 128 => cx.type_f128(), + _ => bug!("unsupported float: {:?}", self), + }, + RegKind::Vector => cx.type_vector(cx.type_i8(), self.size.bytes()), +diff --git a/compiler/rustc_target/src/abi/call/mod.rs b/compiler/rustc_target/src/abi/call/mod.rs +index fc79c9232d1bd..f83d0492004a2 100644 +--- a/compiler/rustc_target/src/abi/call/mod.rs ++++ b/compiler/rustc_target/src/abi/call/mod.rs +@@ -236,8 +236,10 @@ impl Reg { + _ => panic!("unsupported integer: {self:?}"), + }, + RegKind::Float => match self.size.bits() { ++ 16 => dl.f16_align.abi, + 32 => dl.f32_align.abi, + 64 => dl.f64_align.abi, ++ 128 => dl.f128_align.abi, + _ => panic!("unsupported float: {self:?}"), + }, + RegKind::Vector => dl.vector_align(self.size).abi, diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5d9d98e4c32..cba99cce62a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1327,7 +1327,7 @@ into dataclasses.") (propagated-inputs (list python-numpy)) (native-inputs - (list cmake + (list cmake-minimal meson-python pkg-config pybind11 diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index e6cce4d3723..0de04126b4e 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca> +;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-crypto) @@ -72,6 +74,7 @@ #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) + #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages emacs) @@ -86,6 +89,7 @@ #:use-module (gnu packages image) #:use-module (gnu packages jemalloc) #:use-module (gnu packages kde) + #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages networking) @@ -108,14 +112,14 @@ (define-public aardvark-dns (package (name "aardvark-dns") - (version "1.10.0") + (version "1.12.2") (source (origin (method url-fetch) (uri (crate-uri "aardvark-dns" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x")) + (base32 "1np7n7hiawllrmli4h0m7vvap10pghyr1rzz09gl4fi93janznn6")) (modules '((guix build utils))) (snippet '(begin (substitute* (find-files "." "^Cargo\\.toml$") @@ -124,20 +128,19 @@ (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-async-broadcast" ,rust-async-broadcast-0.6) + #:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) + ("rust-flume" ,rust-flume-0.11) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-hickory-client" ,rust-hickory-client-0.24) ("rust-hickory-proto" ,rust-hickory-proto-0.24) ("rust-hickory-server" ,rust-hickory-server-0.24) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.27) + ("rust-nix" ,rust-nix-0.29) ("rust-resolv-conf" ,rust-resolv-conf-0.7) - ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-syslog" ,rust-syslog-6) + ("rust-syslog" ,rust-syslog-7) ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/containers/aardvark-dns") (synopsis "Container-focused DNS A/AAAA record server") @@ -367,30 +370,44 @@ paging.") (define-public cargo-machete (package (name "cargo-machete") - (version "0.6.1") + (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri name version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1an8d88njnk8hfsnwnx52zlzdmijscv7m20as1ci986rxz3vgpcl")))) + (base32 "0ha5z1xr26mjprk4vbiy2v9wcwr7ww2jxiamlc8fqwi3d5hvhk1n")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ;Error: No such file or directory (os error 2) + `(#:cargo-test-flags + '("--release" "--" + "--skip=search_unused::test_crate_renaming_works" + "--skip=search_unused::test_false_positive_macro_use" + "--skip=search_unused::test_ignore_deps_works" + "--skip=search_unused::test_ignore_deps_workspace_works" + "--skip=search_unused::test_just_unused" + "--skip=search_unused::test_just_unused_with_manifest" + "--skip=search_unused::test_unused_kebab_spec" + "--skip=search_unused::test_unused_renamed_in_registry" + "--skip=search_unused::test_unused_renamed_in_spec" + "--skip=search_unused::test_unused_transitive" + "--skip=search_unused::test_with_bench" + "--skip=test_ignore_target") #:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-argh" ,rust-argh-0.1) ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) - ("rust-cargo-toml" ,rust-cargo-toml-0.19) + ("rust-cargo-toml" ,rust-cargo-toml-0.20) ("rust-grep" ,rust-grep-0.3) + ("rust-ignore" ,rust-ignore-0.4) ("rust-log" ,rust-log-0.4) ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1) ("rust-toml-edit" ,rust-toml-edit-0.22) ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/est31/cargo-udeps") + (home-page "https://github.com/bnjbvr/cargo-machete") (synopsis "Find unused dependencies in Cargo.toml") (description "@code{cargo-machete} finds unused dependencies in Cargo.toml.") (license (list license:expat license:asl2.0)))) @@ -411,6 +428,7 @@ paging.") (build-system cargo-build-system) (arguments (list + #:install-source? #f #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) ("rust-bumpalo" ,rust-bumpalo-3) ("rust-chic" ,rust-chic-1) @@ -429,7 +447,7 @@ paging.") ("rust-thiserror" ,rust-thiserror-1) ("rust-ustr" ,rust-ustr-0.9)) #:cargo-development-inputs `(("rust-proptest" ,rust-proptest-1)))) - (native-inputs (list git)) + (native-inputs (list git-minimal)) (home-page "https://github.com/adaszko/complgen") (synopsis "Declarative bash/fish/zsh completions without writing shell scripts") @@ -439,6 +457,81 @@ completion scripts for all major shells (@code{bash}, @code{fish}, @code{zsh}) from a single, concise, @code{EBNF}-like grammar.") (license license:asl2.0))) +(define-public cyme + (package + (name "cyme") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cyme" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qss8cpsdbxlljscd046a14d624k5kcawwlw9n9r60shk9gljqpj")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-test-flags '("--release" "--" + ;; Disable tests as they try to access host USB. + "--skip=test_list" + "--skip=test_list_filtering" + "--skip=test_run" + "--skip=test_tree" + "--skip=test_tree_filtering" + "--skip=test_lsusb_device" + "--skip=test_lsusb_list" + "--skip=test_lsusb_show" + "--skip=test_lsusb_tree" + "--skip=test_lsusb_tree_verbose" + "--skip=test_lsusb_vidpid" + ;; unable to find hwdb.bin database file + "--skip=udev::hwdb::get") + #:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-colored" ,rust-colored-2) + ("rust-dirs" ,rust-dirs-4) + ("rust-heck" ,rust-heck-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rusb" ,rust-rusb-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-2) + ("rust-simple-logger" ,rust-simple-logger-4) + ("rust-strum" ,rust-strum-0.24) + ("rust-strum-macros" ,rust-strum-macros-0.24) + ("rust-terminal-size" ,rust-terminal-size-0.2) + ("rust-udev" ,rust-udev-0.8) + ("rust-udevrs" ,rust-udevrs-0.3) + ("rust-usb-ids" ,rust-usb-ids-1)) + #:cargo-development-inputs + (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-diff" ,rust-diff-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "doc/cyme.1" (string-append out "/share/man/man1")) + (mkdir-p (string-append out "/etc/bash_completion.d")) + (copy-file "doc/cyme.bash" + (string-append out "/etc/bash_completion.d/cyme")) + (install-file "doc/cyme.fish" + (string-append out "/share/fish/vendor_completions.d")) + (install-file "doc/_cyme" + (string-append out "/share/zsh/site-functions")))))))) + (inputs (list libusb)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/tuna-f1sh/cyme") + (synopsis "List system USB buses and devices") + (description + "This package provides a CLI tool to list system USB buses and devices +similar to lsusb.") + (license license:gpl3+))) + (define-public diffr (package (name "diffr") @@ -638,27 +731,29 @@ console.") (define-public eza (package (name "eza") - (version "0.18.7") + (version "0.19.4") (source (origin (method url-fetch) (uri (crate-uri "eza" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wnkbzaza0bcw5rld3baikpwwvnajz3j6nbpaic5mhv86rshqlcq")))) + (base32 "16zc0j1x7clbjlrg1kc1szy0x1lbsfshij0qhdq8vx0zj6b7dlys")))) (build-system cargo-build-system) (arguments (list #:install-source? #f #:cargo-inputs `(("rust-ansi-width" ,rust-ansi-width-0.1) - ("rust-ansiterm" ,rust-ansiterm-0.12) ("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.18) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-dirs" ,rust-dirs-5) + ("rust-git2" ,rust-git2-0.19) ("rust-glob" ,rust-glob-0.3) ("rust-libc" ,rust-libc-0.2) ("rust-locale" ,rust-locale-0.2) ("rust-log" ,rust-log-0.4) ("rust-natord" ,rust-natord-1) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) ("rust-number-prefix" ,rust-number-prefix-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-palette" ,rust-palette-0.7) @@ -668,12 +763,14 @@ console.") ("rust-plist" ,rust-plist-1) ("rust-proc-mounts" ,rust-proc-mounts-0.3) ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-norway" ,rust-serde-norway-0.9) ("rust-terminal-size" ,rust-terminal-size-0.3) ("rust-timeago" ,rust-timeago-0.4) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-uutils-term-grid" ,rust-uutils-term-grid-0.6) - ("rust-uzers" ,rust-uzers-0.11) - ("rust-windows-sys" ,rust-windows-sys-0.52) + ("rust-uzers" ,rust-uzers-0.12) + ("rust-windows-sys" ,rust-windows-sys-0.59) ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5)) #:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.5) ("rust-trycmd" ,rust-trycmd-0.15)) @@ -724,7 +821,7 @@ console.") (if (supported-package? pandoc) (list pandoc) '()))) - (inputs (list libgit2-1.7 zlib)) + (inputs (list libgit2-1.8 zlib)) (home-page "https://github.com/eza-community/eza") (synopsis "Modern replacement for ls") (description @@ -740,16 +837,15 @@ This package is the community maintained fork of @code{exa}.") (define-public fd (package (name "fd") - (version "9.0.0") + (version "10.2.0") (source (origin (method url-fetch) (uri (crate-uri "fd-find" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1is6xrsnbiy4la3lrmxzl3pzzkygnx9mp8h5k8gfrc29bq8m7891")))) + "0d5zv6pmxxsblbvk4pzxjbj072d2bg3byhss57699y2s37xdw26y")))) (build-system cargo-build-system) (arguments (list @@ -774,10 +870,10 @@ This package is the community maintained fork of @code{exa}.") ("rust-ignore" ,rust-ignore-0.4) ("rust-jemallocator" ,rust-jemallocator-0.5) ("rust-libc" ,rust-libc-0.2) - ("rust-lscolors" ,rust-lscolors-0.16) - ("rust-nix" ,rust-nix-0.27) + ("rust-lscolors" ,rust-lscolors-0.19) + ("rust-nix" ,rust-nix-0.29) ("rust-normpath" ,rust-normpath-1) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) ("rust-regex" ,rust-regex-1) ("rust-regex-syntax" ,rust-regex-syntax-0.8) ("rust-version-check" ,rust-version-check-0.9)) @@ -821,6 +917,158 @@ While it does not seek to mirror all of find's powerful functionality, it provid defaults for 80% of the use cases.") (license (list license:expat license:asl2.0)))) +(define-public gitoxide + (package + (name "gitoxide") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gitoxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lhnra6xsp1bk67ixzjdxwpbs40ylc71vnyigikx867lbs96sd2l")))) + (build-system cargo-build-system) + (arguments + `(#:features '("gix-features/zlib-stock") + #:install-source? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-crosstermion" ,rust-crosstermion-0.13) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-gitoxide-core" ,gitoxide-core) + ("rust-gix" ,rust-gix-0.64) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-prodash" ,rust-prodash-28) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-time" ,rust-time-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-forest" ,rust-tracing-forest-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (man1 (string-append share "/man/man1")) + (bash-completions-dir + (string-append out "/etc/bash_completion.d/")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib")) + (gix (if ,(%current-target-system) + (search-input-file native-inputs "/bin/gix") + (string-append out "/bin/gix"))) + (ein (if ,(%current-target-system) + (search-input-file native-inputs "/bin/ein") + (string-append out "/bin/ein")))) + (for-each mkdir-p + (list bash-completions-dir + zsh-completions-dir + fish-completions-dir + elvish-completions-dir)) + (with-output-to-file + (string-append bash-completions-dir "/gix") + (lambda _ (invoke gix "completions" "--shell" "bash"))) + (with-output-to-file + (string-append bash-completions-dir "/ein") + (lambda _ (invoke ein "completions" "--shell" "bash"))) + (with-output-to-file + (string-append zsh-completions-dir "/_gix") + (lambda _ (invoke gix "completions" "--shell" "zsh"))) + (with-output-to-file + (string-append zsh-completions-dir "/_ein") + (lambda _ (invoke ein "completions" "--shell" "zsh"))) + (with-output-to-file + (string-append fish-completions-dir "/gix.fish") + (lambda _ (invoke gix "completions" "--shell" "fish"))) + (with-output-to-file + (string-append fish-completions-dir "/ein.fish") + (lambda _ (invoke ein "completions" "--shell" "fish"))) + (with-output-to-file + (string-append elvish-completions-dir "/gix") + (lambda _ (invoke gix "completions" "--shell" "elvish"))) + (with-output-to-file + (string-append elvish-completions-dir "/ein") + (lambda _ (invoke ein "completions" "--shell" "elvish"))))))))) + (native-inputs + (append + (if (%current-target-system) + (list this-package) + '()) + (list cmake-minimal pkg-config))) + (inputs (list curl openssl zlib)) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "command-line application for interacting with git repositories") + (description + "This package provides a command-line application for interacting with git +repositories.") + (license (list license:expat license:asl2.0)))) + +(define-public gitoxide-core + (package + (name "gitoxide-core") + (version "0.39.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gitoxide-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "005lbpwifm3450952p22q21rycclqp33xwnyfgbb0mnbs8s68rp9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-net" ,rust-async-net-2) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-blocking" ,rust-blocking-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-fs-err" ,rust-fs-err-2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-gix" ,rust-gix-0.64) + ("rust-gix-archive" ,rust-gix-archive-0.13) + ("rust-gix-fsck" ,rust-gix-fsck-0.4) + ("rust-gix-pack" ,rust-gix-pack-0.51) + ("rust-gix-status" ,rust-gix-status-0.11) + ("rust-gix-transport" ,rust-gix-transport-0.42) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-jwalk" ,rust-jwalk-0.8) + ("rust-layout-rs" ,rust-layout-rs-0.1) + ("rust-open" ,rust-open-5) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rusqlite" ,rust-rusqlite-0.31) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-forest" ,rust-tracing-forest-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/GitoxideLabs/gitoxide") + (synopsis "The library implementing all capabilities of the gitoxide CLI") + (description + "This package provides the library implementing all capabilities of the +gitoxide CLI.") + ;; Only used as an implementation detail for gitoxide. + (properties `((hidden? . #t))) + (license (list license:expat license:asl2.0)))) + (define-public gitui (package (name "gitui") @@ -1046,16 +1294,20 @@ characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (define-public hyperfine (package (name "hyperfine") - (version "1.11.0") + (version "1.18.0") (source (origin (method url-fetch) (uri (crate-uri "hyperfine" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0m5lrvx6wwkxqdc5digm1k4diiaqcg5j4pia77s5nw1aam7k51hy")))) + "146064gf713pwbhpwypa70921bvc62p1px5w1fq3h7zj1alzl7ay")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* (find-files "." "^Cargo\\.toml$") + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:modules ((guix build cargo-build-system) @@ -1063,22 +1315,29 @@ characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (srfi srfi-26)) #:install-source? #f #:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-clap" ,rust-clap-2) + (("rust-anyhow" ,rust-anyhow-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) ("rust-colored" ,rust-colored-2) ("rust-csv" ,rust-csv-1) - ("rust-indicatif" ,rust-indicatif-0.15) + ("rust-indicatif" ,rust-indicatif-0.17) ("rust-libc" ,rust-libc-0.2) - ("rust-rand" ,rust-rand-0.7) + ("rust-nix" ,rust-nix-0.26) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) ("rust-rust-decimal" ,rust-rust-decimal-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) + ("rust-shell-words" ,rust-shell-words-1) ("rust-statistical" ,rust-statistical-1) - ("rust-version-check" ,rust-version-check-0.9) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.3)) + (("rust-approx" ,rust-approx-0.5) + ("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-predicates" ,rust-predicates-3) + ("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-after 'install 'install-more @@ -1086,7 +1345,7 @@ characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share/")) (man (string-append share "man/man1")) - (bash (string-append share "bash-completion/completions")) + (bash (string-append out "/etc/bash_completion.d/")) (fish (string-append share "fish/vendor_completions.d")) (zsh (string-append share "zsh/site-functions"))) (install-file "doc/hyperfine.1" man) @@ -1247,56 +1506,62 @@ bar. It is also compatible with sway.") (define-public just (package (name "just") - (version "1.23.0") + (version "1.35.0") (source (origin (method url-fetch) (uri (crate-uri "just" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wpjv098a2yymsb41h6104cdia4gb6hwwh05pkwj5fx7b7g41a2q")))) + (base32 "0q5a94wrkvb01q0rcz59w0qzsdh7wp698nk0crdqn0j1vwwy7r50")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" + "--skip=backticks::trailing_newlines_are_stripped" + "--skip=completions::bash" + "--skip=completions::replacements" "--skip=functions::env_var_functions" "--skip=string::shebang_backtick") #:install-source? #f #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) + ("rust-blake3" ,rust-blake3-1) ("rust-camino" ,rust-camino-1) - ("rust-clap" ,rust-clap-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) ("rust-ctrlc" ,rust-ctrlc-3) ("rust-derivative" ,rust-derivative-2) ("rust-dirs" ,rust-dirs-5) ("rust-dotenvy" ,rust-dotenvy-0.15) ("rust-edit-distance" ,rust-edit-distance-2) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-heck" ,rust-heck-0.4) + ("rust-heck" ,rust-heck-0.5) ("rust-lexiclean" ,rust-lexiclean-0.0.1) ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) ("rust-regex" ,rust-regex-1) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha2" ,rust-sha2-0.10) + ("rust-shellexpand" ,rust-shellexpand-3) ("rust-similar" ,rust-similar-2) ("rust-snafu" ,rust-snafu-0.8) - ("rust-strum" ,rust-strum-0.25) + ("rust-strum" ,rust-strum-0.26) ("rust-target" ,rust-target-2) ("rust-tempfile" ,rust-tempfile-3) ("rust-typed-arena" ,rust-typed-arena-2) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-uuid" ,rust-uuid-1)) #:cargo-development-inputs - (("rust-cradle" ,rust-cradle-0.2) - ("rust-executable-path" ,rust-executable-path-1) + (("rust-executable-path" ,rust-executable-path-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-temptree" ,rust-temptree-0.2) - ("rust-which" ,rust-which-5) - ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + ("rust-which" ,rust-which-6)) #:phases (modify-phases %standard-phases (add-after 'unpack 'replace-hardcoded-paths @@ -1317,7 +1582,7 @@ bar. It is also compatible with sway.") (share (string-append out "/share")) (man1 (string-append share "/man/man1")) (bash-completions-dir - (string-append share "/bash-completion/completions")) + (string-append out "/etc/bash_completion.d/")) (zsh-completions-dir (string-append share "/zsh/site-functions")) (fish-completions-dir @@ -1327,7 +1592,11 @@ bar. It is also compatible with sway.") (just (if ,(%current-target-system) (search-input-file native-inputs "/bin/just") (string-append out "/bin/just")))) + (mkdir "man") + (with-output-to-file "man/just.1" + (lambda _ (invoke just "--man"))) (install-file "man/just.1" man1) + (mkdir-p bash-completions-dir) (with-output-to-file (string-append bash-completions-dir "/just") @@ -1399,6 +1668,92 @@ editor in less than 1024 lines of code with syntax higlighting, search and more.") (license (list license:expat license:asl2.0)))) +(define-public lsd + (package + (name "lsd") + (version "1.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "lsd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06l0ynhny43q74dyb8m4r2j1w9xz29m0xrqmnpysm1f09bx3dzrj")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't depend on a specific minor version. + (substitute* "Cargo.toml" + (("([[:digit:]]\\.[[:digit:]]+)\\.\\*" _ version) + version)))))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-dirs" ,rust-dirs-5) + ("rust-git2" ,rust-git2-0.18) + ("rust-globset" ,rust-globset-0.4) + ("rust-human-sort" ,rust-human-sort-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-lscolors" ,rust-lscolors-0.16) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-sys-locale" ,rust-sys-locale-0.3) + ("rust-term-grid" ,rust-term-grid-0.1) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-url" ,rust-url-2) + ("rust-uzers" ,rust-uzers-0.11) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-vsort" ,rust-vsort-0.2) + ("rust-wild" ,rust-wild-2) + ("rust-windows" ,rust-windows-0.43) + ("rust-xattr" ,rust-xattr-1) + ("rust-xdg" ,rust-xdg-2) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-assert-fs" ,rust-assert-fs-1) + ("rust-predicates" ,rust-predicates-3) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-shell-completion-dir + (lambda _ + (setenv "SHELL_COMPLETIONS_DIR" "target/assets"))) + (add-after 'install 'install-more + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append out "/etc/bash_completion.d")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d"))) + ;; The completions are generated in build.rs. + (install-file "target/assets/_lsd" zsh-completions-dir) + (install-file "target/assets/lsd.fish" fish-completions-dir) + (mkdir-p bash-completions-dir) + (copy-file "target/assets/lsd.bash" + (string-append bash-completions-dir "/lsd")))))))) + (native-inputs (list libgit2-1.7 + pkg-config + zlib + ;; for tests + git-minimal)) + (home-page "https://github.com/lsd-rs/lsd") + (synopsis "Mostly ls compatible command with pretty colors") + (description + "This package provides An ls command with a lot of pretty colors +and some other stuff.") + (license license:asl2.0))) + (define-public macchina (package (name "macchina") @@ -1683,17 +2038,105 @@ is being designed to work with Podman but is also applicable for other OCI container management applications.") (license license:asl2.0))) +(define-public ouch + (package + (name "ouch") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r5wi3bmks4m7izyyqgvwdxz4qp60b2yy9c5igdq49hkz0m9dzp6")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-bstr" ,rust-bstr-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-filetime-creation" ,rust-filetime-creation-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-fs-err" ,rust-fs-err-2) + ("rust-gzp" ,rust-gzp-0.11) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-is-executable" ,rust-is-executable-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-lz4-flex" ,rust-lz4-flex-0.11) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-same-file" ,rust-same-file-1) + ("rust-sevenz-rust" ,rust-sevenz-rust-0.5) + ("rust-snap" ,rust-snap-1) + ("rust-tar" ,rust-tar-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-unrar" ,rust-unrar-0.5) + ("rust-xz2" ,rust-xz2-0.1) + ("rust-zip" ,rust-zip-0.6) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-infer" ,rust-infer-0.15) + ("rust-insta" ,rust-insta-1) + ("rust-parse-display" ,rust-parse-display-0.8) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-test-strategy" ,rust-test-strategy-0.3)) + #:phases + (modify-phases %standard-phases + (add-before 'build 'pre-build + (lambda _ + (setenv "OUCH_ARTIFACTS_FOLDER" "target"))) + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append out "/etc/bash-completion.d")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib")) + (man1 (string-append share "/man/man1"))) + (mkdir-p bash-completions-dir) + (mkdir-p elvish-completions-dir) + (copy-file "target/ouch.bash" + (string-append bash-completions-dir "/ouch")) + (install-file "target/_ouch" + (string-append zsh-completions-dir "/_ouch")) + (install-file "target/ouch.fish" + fish-completions-dir) + (copy-file "target/ouch.elv" + (string-append elvish-completions-dir "/ouch")) + (for-each (lambda (manpage) + (install-file manpage man1)) + (find-files "target" "\\.1$")))))))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib") zlib)) + (home-page "https://github.com/ouch-org/ouch") + (synopsis "Compression and decompression utility") + (description + "This package provides a command-line utility for easily compressing and +decompressing files and directories.") + (license license:expat))) + (define-public ripgrep (package (name "ripgrep") - (version "14.1.0") + (version "14.1.1") (source (origin (method url-fetch) (uri (crate-uri "ripgrep" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n3zb5jfb8pv65jm4zmrcxlgpppkpd9pmcpg1ifvv13sqhxbrg6p")))) + (base32 "1n81lnfzy556f63pgnizay2sgx8fgn4mmailbybjfiaqvhr80yzp")))) (build-system cargo-build-system) (arguments (list @@ -1718,7 +2161,7 @@ container management applications.") (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) (bash-completions-dir - (string-append share "/bash-completion/completions")) + (string-append out "/etc/bash_completion.d/")) (zsh-completions-dir (string-append share "/zsh/site-functions")) (fish-completions-dir @@ -2051,8 +2494,43 @@ by modifying your @file{Cargo.toml} file from the command line.") rebase.") (license license:gpl3+))) +(define-public rust-cbindgen-0.27 + (package + (name "rust-cbindgen") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cbindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sqm3axr678d72yihgmpr9d17mj99ccibxfqhw53mgzwzkbqvkiz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-heck" ,rust-heck-0.4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-toml" ,rust-toml-0.8)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serial-test" ,rust-serial-test-2)))) + (native-inputs (list python-cython)) + (home-page "https://github.com/eqrion/cbindgen") + (synopsis "Tool for generating C bindings to Rust code") + (description + "This package provides a tool for generating C/C++ bindings to Rust code.") + (license license:mpl2.0))) + (define-public rust-cbindgen-0.26 (package + (inherit rust-cbindgen-0.27) (name "rust-cbindgen") (version "0.26.0") (source @@ -2062,7 +2540,6 @@ rebase.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0jdbxmn5h5nlr4bifx85gny309djv5djs9q78fa1d7sj0wdw2sys")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-3) ("rust-heck" ,rust-heck-0.4) @@ -2075,13 +2552,7 @@ rebase.") ("rust-syn" ,rust-syn-1) ("rust-tempfile" ,rust-tempfile-3) ("rust-toml" ,rust-toml-0.5)) - #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-0.5)))) - (native-inputs (list python-cython)) - (home-page "https://github.com/eqrion/cbindgen/") - (synopsis "Tool for generating C bindings to Rust code") - (description - "This package provides a tool for generating C/C++ bindings to Rust code.") - (license license:mpl2.0))) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-0.5)))))) (define-public rust-cbindgen-0.24 (package @@ -2109,23 +2580,23 @@ rebase.") (base32 "006rn3fn4njayjxr2vd24g1awssr9i3894nbmfzkybx07j728vav")))))) -(define-public rust-cbindgen rust-cbindgen-0.26) +(define-public rust-cbindgen rust-cbindgen-0.27) (define-public rust-bindgen-cli (package (name "rust-bindgen-cli") - (version "0.69.4") + (version "0.70.1") (source (origin (method url-fetch) (uri (crate-uri "bindgen-cli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00dfny07m4xfnqbfn7yr7cqwilj6935lbyg5d39yxjfj8jglfcax")))) + (base32 "1anm1gci1ycbv6sz4a5dan7phqbypcnw48xribxmm1wdsm39wgrk")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.70) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) ("rust-env-logger" ,rust-env-logger-0.10) @@ -2147,9 +2618,9 @@ rebase.") (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) (bindgen (string-append out "/bin/bindgen"))) - (mkdir-p (string-append share "/bash-completion/completions")) + (mkdir-p (string-append out "/etc/bash_completion.d/")) (with-output-to-file - (string-append share "/bash-completion/completions/bindgen") + (string-append out "/etc/bash_completion.d/bindgen") (lambda _ (invoke bindgen "--generate-shell-completions" "bash"))) (mkdir-p (string-append share "/fish/vendor_completions.d")) (with-output-to-file @@ -2421,7 +2892,8 @@ colorized view to stdout.") (base32 "000w549v1bpw7r57xw656p40ywf1gimvxxx5cjnri2js0xg927x4")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-0.7) ("rust-clap" ,rust-clap-2) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) @@ -2464,23 +2936,25 @@ blanks grouped by language.") (define-public vivid (package (name "vivid") - (version "0.7.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "vivid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01fds6dm19bqgqydaa6n051v9l4wh9rb5d6sr9akwp2cc0fs43b7")))) + (base32 "1xynznf7drvhjhhnwdxrbjgr6qgfa5lzwxxqdclnjvzwkbhl2i2q")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) - ("rust-clap" ,rust-clap-2) - ("rust-dirs" ,rust-dirs-3) + ("rust-clap" ,rust-clap-4) + ("rust-etcetera" ,rust-etcetera-0.8) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rust-embed" ,rust-rust-embed-5) - ("rust-yaml-rust" ,rust-yaml-rust-0.4)))) + ("rust-rust-embed" ,rust-rust-embed-8) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2)))) (home-page "https://github.com/sharkdp/vivid") (synopsis "LS_COLORS environment variable manager") (description @@ -2675,23 +3149,28 @@ background agent taking care of maintaining the necessary state.") (define-public rust-cargo (package (name "rust-cargo") - (version "0.78.1") + (version "0.83.0") (source (origin (method url-fetch) (uri (crate-uri "cargo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p6564hg38xxbpjiiqxmnm1kmysxfjh0kbm5g56n85c3s0wmwc6n")))) + (base32 "0yvb3vh87ngrfsgvl6r2drjrq5h1yw07yhq6c6kc39wmigc1z4l2")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `cargo_test_support` + `(#:tests? #f ; Some of the tests tests hang. #:cargo-inputs - (("rust-annotate-snippets" ,rust-annotate-snippets-0.10) + (("rust-annotate-snippets" ,rust-annotate-snippets-0.11) ("rust-anstream" ,rust-anstream-0.6) ("rust-anstyle" ,rust-anstyle-1) ("rust-anyhow" ,rust-anyhow-1) - ("rust-base64" ,rust-base64-0.21) + ("rust-base64" ,rust-base64-0.22) ("rust-bytesize" ,rust-bytesize-1) ("rust-cargo-credential" ,rust-cargo-credential-0.4) ("rust-cargo-credential-libsecret" ,rust-cargo-credential-libsecret-0.4) @@ -2699,7 +3178,7 @@ background agent taking care of maintaining the necessary state.") ("rust-cargo-credential-wincred" ,rust-cargo-credential-wincred-0.4) ("rust-cargo-platform" ,rust-cargo-platform-0.1) ("rust-cargo-util" ,rust-cargo-util-0.2) - ("rust-cargo-util-schemas" ,rust-cargo-util-schemas-0.2) + ("rust-cargo-util-schemas" ,rust-cargo-util-schemas-0.6) ("rust-clap" ,rust-clap-4) ("rust-color-print" ,rust-color-print-0.3) ("rust-crates-io" ,rust-crates-io-0.40) @@ -2707,10 +3186,9 @@ background agent taking care of maintaining the necessary state.") ("rust-curl-sys" ,rust-curl-sys-0.4) ("rust-filetime" ,rust-filetime-0.2) ("rust-flate2" ,rust-flate2-1) - ("rust-git2" ,rust-git2-0.18) - ("rust-git2-curl" ,rust-git2-curl-0.19) - ("rust-gix" ,rust-gix-0.57) - ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-git2" ,rust-git2-0.19) + ("rust-git2-curl" ,rust-git2-curl-0.20) + ("rust-gix" ,rust-gix-0.64) ("rust-glob" ,rust-glob-0.3) ("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12) @@ -2720,21 +3198,22 @@ background agent taking care of maintaining the necessary state.") ("rust-ignore" ,rust-ignore-0.4) ("rust-im-rc" ,rust-im-rc-15) ("rust-indexmap" ,rust-indexmap-2) - ("rust-itertools" ,rust-itertools-0.12) + ("rust-itertools" ,rust-itertools-0.13) ("rust-jobserver" ,rust-jobserver-0.1) ("rust-lazycell" ,rust-lazycell-1) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.16) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.17) ("rust-memchr" ,rust-memchr-2) - ("rust-opener" ,rust-opener-0.6) + ("rust-opener" ,rust-opener-0.7) ("rust-openssl" ,rust-openssl-0.10) ("rust-os-info" ,rust-os-info-3) ("rust-pasetors" ,rust-pasetors-0.6) ("rust-pathdiff" ,rust-pathdiff-0.2) ("rust-rand" ,rust-rand-0.8) ("rust-regex" ,rust-regex-1) - ("rust-rusqlite" ,rust-rusqlite-0.30) + ("rust-rusqlite" ,rust-rusqlite-0.32) ("rust-rustfix" ,rust-rustfix-0.8) + ("rust-same-file" ,rust-same-file-1) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-untagged" ,rust-serde-untagged-0.1) @@ -2742,25 +3221,31 @@ background agent taking care of maintaining the necessary state.") ("rust-serde-json" ,rust-serde-json-1) ("rust-sha1" ,rust-sha1-0.10) ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-2) + ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-3) + ("rust-supports-unicode" ,rust-supports-unicode-3) ("rust-tar" ,rust-tar-0.4) ("rust-tempfile" ,rust-tempfile-3) ("rust-time" ,rust-time-0.3) ("rust-toml" ,rust-toml-0.8) - ("rust-toml-edit" ,rust-toml-edit-0.21) + ("rust-toml-edit" ,rust-toml-edit-0.22) ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-chrome" ,rust-tracing-chrome-0.7) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-unicase" ,rust-unicase-2) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-url" ,rust-url-2) ("rust-walkdir" ,rust-walkdir-2) - ("rust-windows-sys" ,rust-windows-sys-0.52)) - #:cargo-development-inputs (("rust-same-file" ,rust-same-file-1) - ("rust-snapbox" ,rust-snapbox-0.4)))) + ("rust-windows-sys" ,rust-windows-sys-0.59)) + #:cargo-development-inputs + (("rust-annotate-snippets" ,rust-annotate-snippets-0.11) + ("rust-cargo-test-support" ,rust-cargo-test-support-0.4) + ("rust-gix" ,rust-gix-0.64) + ("rust-same-file" ,rust-same-file-1) + ("rust-snapbox" ,rust-snapbox-0.6)))) (native-inputs (list pkg-config)) (inputs - (list curl libssh2 libgit2-1.7 openssl zlib)) + (list curl libssh2 libgit2-1.8 openssl zlib)) (home-page "https://crates.io") (synopsis "Package manager for Rust") (description "Cargo, a package manager for Rust. This package provides @@ -2770,37 +3255,38 @@ the library crate of Cargo.") (define-public rust-cargo-c (package (name "rust-cargo-c") - (version "0.9.31+cargo-0.78.0") + (version "0.10.5+cargo-0.83.0") (source (origin (method url-fetch) (uri (crate-uri "cargo-c" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y60hhjikkzk5s36gskgbxbyzr6ik7w0dn5j84mvqlilcs3ab0lj")))) + (base32 "02ppkpwngksz22vk66sn8xm0lviihp0zpnki1sa4sf0672lrpyjv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cargo" ,rust-cargo) ("rust-cargo-util" ,rust-cargo-util-0.2) - ("rust-cbindgen" ,rust-cbindgen-0.26) + ("rust-cbindgen" ,rust-cbindgen-0.27) ("rust-cc" ,rust-cc-1) ("rust-clap" ,rust-clap-4) ("rust-glob" ,rust-glob-0.3) - ("rust-itertools" ,rust-itertools-0.12) + ("rust-implib" ,rust-implib-0.3) + ("rust-itertools" ,rust-itertools-0.13) ("rust-log" ,rust-log-0.4) + ("rust-object" ,rust-object-0.36) ("rust-regex" ,rust-regex-1) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-toml" ,rust-toml-0.8) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) + ("rust-toml" ,rust-toml-0.8)))) (native-inputs (list pkg-config)) (inputs - (list curl libgit2-1.7 libssh2 openssl zlib)) + (list curl libgit2-1.8 libssh2 openssl zlib)) (home-page "https://github.com/lu-zero/cargo-c") (synopsis "Build and install C-compatible libraries") (description @@ -3091,6 +3577,75 @@ JSON IPC interface. The swayr client offers subcommands, and sends them to the daemon which executes them.") (license license:gpl3+))) +(define-public swayrbar + (package + (name "swayrbar") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "swayrbar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05jpa87i6q1cpikyqqliy3q2ksslj79kgin8jq9ls6073yk5q6z7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=config::test_load_swayrbar_config") + #:install-source? #f + #:cargo-inputs (("rust-battery" ,rust-battery-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-directories" ,rust-directories-5) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-rt-format" ,rust-rt-format-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-swaybar-types" ,rust-swaybar-types-3) + ("rust-swayipc" ,rust-swayipc-3) + ("rust-sysinfo" ,rust-sysinfo-0.31) + ("rust-toml" ,rust-toml-0.8)))) + (home-page "https://sr.ht/~tsdh/swayr/#swayrbar") + (synopsis "Swaybar-protocol implementation for sway/swaybar") + (description + "This package provides a swaybar-protocol implementation for sway/swaybar.") + (license license:gpl3+))) + +(define-public swaysome + (package + (name "swaysome") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "swaysome" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12rqvjj9d12nm9zppgp4hvfw5l308gn9ljbbgbhi0cglpg11rnjk")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-clap" ,rust-clap-4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-more + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man1 (string-append out "/share/man/man1"))) + (install-file "swaysome.1" man1))))))) + (home-page "https://gitlab.com/hyask/swaysome") + (synopsis "Manage your multiple outputs with the sway window manager") + (description + "This package provides a way to manage your multiple outputs with the sway +window manager.") + (license license:expat))) + (define-public tealdeer (package (name "tealdeer") @@ -3227,14 +3782,14 @@ It will then write @code{fixup!} commits for each of those changes.") (define-public git-delta (package (name "git-delta") - (version "0.16.5") + (version "0.18.2") (source (origin (method url-fetch) (uri (crate-uri "git-delta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pvy5jcpj3xzf2b8k9d5xwwamwlv9pzsx6p2yq61am38igafg9qb")) + (base32 "1bmjan13lm1d6vcy8mh0iryl2rnvh39ml5y4alf6s728xdzc2yhj")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -3244,26 +3799,40 @@ It will then write @code{fixup!} commits for each of those changes.") (arguments (list #:install-source? #f + #:cargo-test-flags + '(list "--release" "--" + "--skip=ansi::tests::test_measure_text_width" + "--skip=features::line_numbers::tests::test_line_numbers_continue_correctly_after_wrapping" + "--skip=features::side_by_side::tests::test_two_plus_lines_exact_fit" + "--skip=handlers::diff_header::tests::test_diff_header_relative_paths" + "--skip=tests::test_example_diffs::tests::test_binary_file_added" + "--skip=tests::test_example_diffs::tests::test_binary_file_removed" + "--skip=tests::test_example_diffs::tests::test_binary_files_differ" + "--skip=tests::test_example_diffs::tests::test_binary_files_differ_after_other" + "--skip=wrapping::tests::test_alignment_1_line_vs_3_lines" + "--skip=wrapping::tests::test_alignment_2_lines_vs_3_lines" + "--skip=wrapping::tests::test_wrap_line_newlines") #:cargo-inputs `(("rust-ansi-colours" ,rust-ansi-colours-1) ("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-anstyle-parse" ,rust-anstyle-parse-0.2) ("rust-anyhow" ,rust-anyhow-1) - ("rust-atty" ,rust-atty-0.2) - ("rust-bat" ,rust-bat-0.22) + ("rust-bat" ,rust-bat-0.24) ("rust-bitflags" ,rust-bitflags-2) ("rust-box-drawing" ,rust-box-drawing-0.1) ("rust-bytelines" ,rust-bytelines-2) ("rust-chrono" ,rust-chrono-0.4) ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) ("rust-console" ,rust-console-0.15) ("rust-ctrlc" ,rust-ctrlc-3) - ("rust-dirs" ,rust-dirs-4) - ("rust-git2" ,rust-git2-0.16) + ("rust-dirs" ,rust-dirs-5) + ("rust-git2" ,rust-git2-0.18) ("rust-grep-cli" ,rust-grep-cli-0.1) ("rust-itertools" ,rust-itertools-0.10) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-palette" ,rust-palette-0.6) + ("rust-palette" ,rust-palette-0.7) ("rust-pathdiff" ,rust-pathdiff-0.2) ("rust-regex" ,rust-regex-1) ("rust-serde" ,rust-serde-1) @@ -3271,11 +3840,13 @@ It will then write @code{fixup!} commits for each of those changes.") ("rust-shell-words" ,rust-shell-words-1) ("rust-smol-str" ,rust-smol-str-0.1) ("rust-syntect" ,rust-syntect-5) - ("rust-sysinfo" ,rust-sysinfo-0.28) + ("rust-sysinfo" ,rust-sysinfo-0.29) + ("rust-terminal-colorsaurus" ,rust-terminal-colorsaurus-0.4) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-vte" ,rust-vte-0.11) ("rust-xdg" ,rust-xdg-2)) + #:cargo-development-inputs `(("rust-insta" ,rust-insta-1) + ("rust-rstest" ,rust-rstest-0.21)) #:phases #~(modify-phases %standard-phases (add-after 'install 'install-extras @@ -3283,7 +3854,7 @@ It will then write @code{fixup!} commits for each of those changes.") (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) (bash-completions-dir - (string-append share "/bash-completion/completions")) + (string-append out "/etc/bash-completion.d")) (zsh-completions-dir (string-append share "/zsh/site-functions")) (fish-completions-dir @@ -3298,7 +3869,7 @@ It will then write @code{fixup!} commits for each of those changes.") (copy-file "etc/completion/completion.fish" (string-append fish-completions-dir "/delta.fish")))))))) (native-inputs (list git-minimal pkg-config)) - (inputs (list libgit2 openssl zlib)) + (inputs (list libgit2-1.7 openssl zlib)) (home-page "https://github.com/dandavison/delta") (synopsis "Syntax-highlighting pager for git") (description @@ -3311,7 +3882,7 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for (define-public rust-xremap (package (name "rust-xremap") - (version "0.10.0") + (version "0.10.2") (source (origin (method url-fetch) @@ -3319,7 +3890,7 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13pvlc40zha7c9ma30s32x65c8qciqcnsznw43crx3wymlaqc9sn")))) + "1chh8lcwx167f0bnd1w99rww54g9k9axf7qnxwcgzmg6m0adyx8d")))) (build-system cargo-build-system) (arguments `(#:features '() @@ -3331,7 +3902,8 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for ("rust-derive-where" ,rust-derive-where-1) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-evdev" ,rust-evdev-0.12) - ("rust-fork" ,rust-fork-0.1) + ("rust-fork" ,rust-fork-0.2) + ("rust-hyprland" ,rust-hyprland-0.3) ("rust-indoc" ,rust-indoc-2) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) @@ -3353,21 +3925,21 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) (xremap (string-append out "/bin/xremap"))) - (mkdir-p (string-append share "/bash-completion/completions")) + (mkdir-p (string-append out "/etc/bash_completion.d")) (with-output-to-file - (string-append share "/bash-completion/completions/xremap") + (string-append out "/etc/bash_completion.d/xremap") (lambda _ (invoke xremap "--completions" "bash"))) (mkdir-p (string-append share "/fish/vendor_completions.d")) (with-output-to-file - (string-append share "/fish/vendor_completions.d/xremap.fish") + (string-append share "/fish/vendor_completions.d/xremap.fish") (lambda _ (invoke xremap "--completions" "fish"))) (mkdir-p (string-append share "/zsh/site-functions")) (with-output-to-file - (string-append share "/zsh/site-functions/_xremap") + (string-append share "/zsh/site-functions/_xremap") (lambda _ (invoke xremap "--completions" "zsh"))) (mkdir-p (string-append share "/elvish/lib")) (with-output-to-file - (string-append share "/elvish/lib/xremap") + (string-append share "/elvish/lib/xremap") (lambda _ (invoke xremap "--completions" "elvish"))))))))) (home-page "https://github.com/k0kubun/xremap") (synopsis "Dynamic key remapp for X and Wayland") @@ -3382,6 +3954,14 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for (substitute-keyword-arguments (package-arguments rust-xremap) ((#:features _) '(list "gnome")))))) +(define-public xremap-kde + (package + (inherit rust-xremap) + (name "xremap-kde") + (arguments + (substitute-keyword-arguments (package-arguments rust-xremap) + ((#:features _) '(list "kde")))))) + (define-public xremap-wlroots (package (inherit rust-xremap) @@ -3391,7 +3971,12 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for ((#:features _) '(list "wlroots")))))) (define-public xremap-hyprland - (deprecated-package "xremap-hyprland" xremap-wlroots)) + (package + (inherit rust-xremap) + (name "xremap-hyprland") + (arguments + (substitute-keyword-arguments (package-arguments rust-xremap) + ((#:features _) '(list "hyprland")))))) (define-public xremap-sway (deprecated-package "xremap-sway" xremap-wlroots)) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index cb58a4b4b32..e6efd094e9f 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -987,8 +987,15 @@ safety and thread safety guarantees.") "[build]\noptimized-compiler-builtins = false"))))))))))) (define-public rust-1.78 - (rust-bootstrapped-package - rust-1.77 "1.78.0" "1afmj5g3bz7439w4i8zjhd68zvh0gqg7ymr8h5rz49ybllilhm7z")) + (let ((base-rust (rust-bootstrapped-package rust-1.77 "1.78.0" + "1afmj5g3bz7439w4i8zjhd68zvh0gqg7ymr8h5rz49ybllilhm7z"))) + (package + (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + ;; see https://github.com/rust-lang/rust/pull/125844 + (patches (search-patches "rust-1.78-unwinding-fix.patch"))))))) (define-public rust-1.79 (let ((base-rust (rust-bootstrapped-package rust-1.78 "1.79.0" @@ -1016,6 +1023,74 @@ safety and thread safety guarantees.") (("features = \\[\"fs\"" all) (string-append all ", \"use-libc\"")))))))))) +(define-public rust-1.80 + (let ((base-rust (rust-bootstrapped-package rust-1.79 "1.80.1" + "1i1dbpwnv6ak244lapsxvd26w6sbas9g4l6crc8bip2275j8y2rc"))) + (package + (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/jemalloc-sys-0.5.3+5.3.0-patched/jemalloc" + "vendor/jemalloc-sys-0.5.4+5.3.0-patched/jemalloc" + "vendor/openssl-src-111.28.2+1.1.1w/openssl" + "vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/jemalloc")) + ;; Remove vendored dynamically linked libraries. + ;; find . -not -type d -executable -exec file {} \+ | grep ELF + ;; Also remove the bundled (mostly Windows) libraries. + (for-each delete-file + (find-files "vendor" "\\.(a|dll|exe|lib)$")) + ;; Adjust vendored dependency to explicitly use rustix with libc backend. + (substitute* '("vendor/tempfile-3.7.1/Cargo.toml" + "vendor/tempfile-3.10.1/Cargo.toml") + (("features = \\[\"fs\"" all) + (string-append all ", \"use-libc\"")))))))))) + +(define-public rust-1.81 + (let ((base-rust (rust-bootstrapped-package rust-1.80 "1.81.0" + "19yggj1qivdhf68gx2652cfi7nxjkdgy39wh7h6facpzppz4h947"))) + (package + (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + ;; see https://github.com/rust-lang/rust/issues/129268#issuecomment-2430133779 + (patches (search-patches "rust-1.81-fix-riscv64-bootstrap.patch"))))))) + +(define-public rust-1.82 + (let ((base-rust (rust-bootstrapped-package rust-1.81 "1.82.0" + "0ajiryki2aqsg3ydx3nfhrb5i1mmxvasfszs9qblw66skr8g8lvw"))) + (package + (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + (patches '()))) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (replace 'patch-cargo-checksums + (lambda _ + (substitute* (cons* "Cargo.lock" + "src/bootstrap/Cargo.lock" + "library/Cargo.lock" + (filter + ;; Don't mess with the lock files in the + ;; Cargo testsuite; it messes up the tests. + (lambda (path) + (not (string-contains + path "cargo/tests/testsuite"))) + (find-files "src/tools" "Cargo.lock"))) + (("(checksum = )\".*\"" all name) + (string-append name "\"" ,%cargo-reference-hash "\""))) + (generate-all-checksums "vendor")))))))))) + + (define (make-ignore-test-list strs) "Function to make creating a list to ignore tests a bit easier." (map (lambda (str) @@ -1030,7 +1105,7 @@ safety and thread safety guarantees.") ;;; Here we take the latest included Rust, make it public, and re-enable tests ;;; and extra components such as rustfmt. (define-public rust - (let ((base-rust rust-1.77)) + (let ((base-rust rust-1.82)) (package (inherit base-rust) (properties (append @@ -1044,33 +1119,50 @@ safety and thread safety guarantees.") '(begin (for-each delete-file-recursively '("src/llvm-project" - "vendor/jemalloc-sys/jemalloc" - "vendor/openssl-src/openssl" - "vendor/tikv-jemalloc-sys/jemalloc" + "vendor/jemalloc-sys-0.5.3+5.3.0-patched/jemalloc" + "vendor/jemalloc-sys-0.5.4+5.3.0-patched/jemalloc" + "vendor/openssl-src-111.17.0+1.1.1m/openssl" + "vendor/openssl-src-111.28.2+1.1.1w/openssl" + "vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/jemalloc" ;; These are referenced by the cargo output ;; so we unbundle them. - "vendor/curl-sys/curl" - "vendor/curl-sys-0.4.63+curl-8.1.2/curl" - "vendor/libffi-sys/libffi" - "vendor/libnghttp2-sys/nghttp2" - "vendor/libz-sys/src/zlib" - "vendor/libz-sys-1.1.9/src/zlib")) + "vendor/curl-sys-0.4.52+curl-7.81.0/curl" + "vendor/curl-sys-0.4.74+curl-8.9.0/curl" + "vendor/libffi-sys-2.3.0/libffi" + "vendor/libz-sys-1.1.3/src/zlib" + "vendor/libz-sys-1.1.18/src/zlib" + "vendor/libz-sys-1.1.19/src/zlib")) ;; Use the packaged nghttp2 - (delete-file "vendor/libnghttp2-sys/build.rs") - (with-output-to-file "vendor/libnghttp2-sys/build.rs" - (lambda _ - (format #t "fn main() {~@ + (for-each + (lambda (ver) + (let ((vendored-dir (format #f "vendor/libnghttp2-sys-~a/nghttp2" ver)) + (build-rs (format #f "vendor/libnghttp2-sys-~a/build.rs" ver))) + (delete-file-recursively vendored-dir) + (delete-file build-rs) + (with-output-to-file build-rs + (lambda _ + (format #t "fn main() {~@ println!(\"cargo:rustc-link-lib=nghttp2\");~@ - }~%"))) + }~%"))))) + '("0.1.10+1.61.0" + "0.1.7+1.45.0")) ;; Remove vendored dynamically linked libraries. ;; find . -not -type d -executable -exec file {} \+ | grep ELF ;; Also remove the bundled (mostly Windows) libraries. (for-each delete-file (find-files "vendor" "\\.(a|dll|exe|lib)$")) ;; Adjust vendored dependency to explicitly use rustix with libc backend. - (substitute* "vendor/tempfile/Cargo.toml" - (("features = \\[\"fs\"" all) - (string-append all ", \"use-libc\""))))))) + (for-each + (lambda (ver) + (let ((f (format #f "vendor/tempfile-~a/Cargo.toml" ver))) + (substitute* f + (("features = \\[\"fs\"" all) + (string-append all ", \"use-libc\""))))) + '("3.3.0" + "3.4.0" + "3.7.1" + "3.10.1" + "3.12.0")))))) (arguments (substitute-keyword-arguments (strip-keyword-arguments '(#:tests?) @@ -1095,7 +1187,13 @@ safety and thread safety guarantees.") (lambda _ (substitute* "src/tools/cargo/tests/testsuite/git.rs" ,@(make-ignore-test-list - '("fn fetch_downloads_with_git2_first_"))))) + '("fn fetch_downloads_with_git2_first_"))) + (substitute* "src/tools/cargo/tests/testsuite/build.rs" + ,@(make-ignore-test-list + '("fn build_with_symlink_to_path_dependency_with_build_script_in_git"))) + (substitute* "src/tools/cargo/tests/testsuite/publish_lockfile.rs" + ,@(make-ignore-test-list + '("fn note_resolve_changes"))))) (add-after 'unpack 'disable-tests-requiring-mercurial (lambda _ (with-directory-excursion "src/tools/cargo/tests/testsuite/cargo_init" @@ -1170,6 +1268,31 @@ safety and thread safety guarantees.") (substitute* "features2.rs" ,@(make-ignore-test-list '("fn dep_with_optional_host_deps_activated")))))) + (add-after 'unpack 'disable-tests-requiring-crates.io + (lambda _ + (substitute* "src/tools/cargo/tests/testsuite/install.rs" + ,@(make-ignore-test-list + '("fn install_global_cargo_config"))) + (substitute* "src/tools/cargo/tests/testsuite/cargo_info/within_ws_with_alternative_registry/mod.rs" + ,@(make-ignore-test-list + '("fn case"))) + (substitute* "src/tools/cargo/tests/testsuite/package.rs" + ,@(make-ignore-test-list + '("fn workspace_with_local_deps_index_mismatch"))))) + (add-after 'unpack 'disable-miscellaneous-broken-tests + (lambda _ + (substitute* "src/tools/cargo/tests/testsuite/check_cfg.rs" + ;; These apparently get confused by the fact that + ;; we're building in a directory containing the + ;; string "rustc" + ,@(make-ignore-test-list + '("fn config_fingerprint" + "fn features_fingerprint"))) + (substitute* "src/tools/cargo/tests/testsuite/git_auth.rs" + ;; This checks for a specific networking error message + ;; that's different from the one we see in the builder + ,@(make-ignore-test-list + '("fn net_err_suggests_fetch_with_cli"))))) (add-after 'unpack 'patch-command-exec-tests ;; This test suite includes some tests that the stdlib's ;; `Command` execution properly handles in situations where @@ -1228,7 +1351,7 @@ safety and thread safety guarantees.") ((" = rpath.*" all) (string-append all " " - "rustflags.arg(\"-Clink-args=-Wl,-rpath=" + "self.rustflags.arg(\"-Clink-args=-Wl,-rpath=" out "/lib\");\n")))))) (add-after 'unpack 'unpack-profiler-rt ;; Copy compiler-rt sources to where libprofiler_builtins looks @@ -1327,7 +1450,7 @@ exec -a \"$0\" \"~a\" \"$@\"" (prepend curl libffi `(,nghttp2 "lib") zlib))) (native-inputs (cons* ;; Keep in sync with the llvm used to build rust. - `("clang-source" ,(package-source clang-runtime-15)) + `("clang-source" ,(package-source clang-runtime-17)) ;; Add test inputs. `("gdb" ,gdb/pinned) `("procps" ,procps) @@ -1356,10 +1479,10 @@ exec -a \"$0\" \"~a\" \"$@\"" #~(modify-phases #$phases (add-after 'unpack 'unbundle-xz (lambda _ - (delete-file-recursively "vendor/lzma-sys/xz-5.2") + (delete-file-recursively "vendor/lzma-sys-0.1.20/xz-5.2") ;; Remove the option of using the static library. ;; This is necessary for building the sysroot. - (substitute* "vendor/lzma-sys/build.rs" + (substitute* "vendor/lzma-sys-0.1.20/build.rs" (("!want_static && ") "")))) #$@(if (target-mingw? target) `((add-after 'set-env 'patch-for-mingw @@ -1384,7 +1507,9 @@ exec -a \"$0\" \"~a\" \"$@\"" ":")) ;; When building a rust-sysroot this crate is only used for ;; the rust-installer. - (substitute* "vendor/num_cpus/src/linux.rs" + (substitute* '("vendor/num_cpus-1.13.0/src/linux.rs" + "vendor/num_cpus-1.13.1/src/linux.rs" + "vendor/num_cpus-1.16.0/src/linux.rs") (("\\.ceil\\(\\)") "")) ;; gcc doesn't recognize this flag. (substitute* @@ -1474,6 +1599,7 @@ ar = \"" (search-input-file inputs (string-append "/bin/" #$(ar-for-target targe (replace 'install (lambda _ (invoke "./x.py" "install" "library/std"))) + (delete 'enable-profiling) (delete 'install-rust-src) (delete 'wrap-rust-analyzer) (delete 'wrap-rustc))))) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 8cec446daa8..085f20f61c9 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -32,25 +32,106 @@ #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages hardware) #:use-module (gnu packages llvm) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages security-token) #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls)) +(define-public rust-card-backend-0.2 + (package + (name "rust-card-backend") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "card-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ra2zfcs0n4msw4j0hmv8f3bpfz49x5c704i93f6a844k2if6gmx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://gitlab.com/openpgp-card/openpgp-card") + (synopsis "Card backend trait, for use with the openpgp-card crate") + (description + "This package provides the card backend trait, for use with the +openpgp-card crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-card-backend-pcsc-0.5 + (package + (name "rust-card-backend-pcsc") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "card-backend-pcsc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ddv3jkcyy2vfc6jmlsh87yxcgkhcppp1g9sv670asqvgdq0pfv8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-card-backend" ,rust-card-backend-0.2) + ("rust-iso7816-tlv" ,rust-iso7816-tlv-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-pcsc" ,rust-pcsc-2)))) + (native-inputs + (list pkg-config)) + (inputs + (list pcsc-lite)) + (home-page "https://gitlab.com/openpgp-card/openpgp-card") + (synopsis "PCSC card backend, e.g. for use with the openpgp-card crate") + (description + "This package provides a PCSC card backend, e.g. for use with the +openpgp-card crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-openpgp-card-0.5 + (package + (name "rust-openpgp-card") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "openpgp-card" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hdlzziz9d8i55hj55jbvzidwp9q45krhb1pmz2f52hpq1mv302y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-card-backend" ,rust-card-backend-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-hex-slice" ,rust-hex-slice-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-nom" ,rust-nom-7) + ("rust-secrecy" ,rust-secrecy-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) + (home-page "https://gitlab.com/openpgp-card/openpgp-card") + (synopsis "Client implementation for the OpenPGP card specification") + (description + "This package provides a client implementation for the @code{OpenPGP} card +specification.") + (license (list license:expat license:asl2.0)))) + (define-public rust-openpgp-cert-d-0.3 (package (name "rust-openpgp-cert-d") - (version "0.3.1") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "openpgp-cert-d" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kk2mr4rsib04cygv7jg55wvdxivakggqsfrn4apnaxxl5aknb0c")))) + (base32 "01b3wac69jz0wkf9lq8a3rlh502glw31k8daba1j0vwclln06yvw")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -101,23 +182,24 @@ and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more than just headers; it requires tight integration with the MUA.") (license license:lgpl2.0+))) -(define-public rust-sequoia-cert-store-0.5 +(define-public rust-sequoia-cert-store-0.6 (package (name "rust-sequoia-cert-store") - (version "0.5.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-cert-store" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rjakcnhwdvwrm0952rpi9ky8cxvv5bnmylval49s3a087jqcm76")))) + (base32 "14f3zhkh0hrjmkv6ksvyr29z6mfq1hadqzqsvhp3xwlf9y66bhjg")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-crossbeam" ,rust-crossbeam-0.8) ("rust-dirs" ,rust-dirs-5) + ("rust-gethostname" ,rust-gethostname-0.4) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3) ("rust-rayon" ,rust-rayon-1) @@ -126,8 +208,11 @@ than just headers; it requires tight integration with the MUA.") ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-rusty-fork" ,rust-rusty-fork-0.3) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list clang pkg-config)) @@ -138,28 +223,94 @@ than just headers; it requires tight integration with the MUA.") (description "This package provides a certificate database interface.") (license license:lgpl2.0+))) -(define-public rust-sequoia-ipc-0.33 +(define-public rust-sequoia-directories-0.1 + (package + (name "rust-sequoia-directories") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-directories" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m9plvzm61571y1vzsp3jkba2mgbxgwckrbpmcbqdky5c24x87dh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-directories" ,rust-directories-5) + ("rust-same-file" ,rust-same-file-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" (getcwd))))))) + (home-page "https://sequoia-pgp.org/") + (synopsis "Directories used by Sequoia") + (description "This package provides Directories used by Sequoia.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-gpg-agent-0.4 + (package + (name "rust-sequoia-gpg-agent") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-gpg-agent" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "119njpmhg0is0vlba199bmyp7fi19w8y555i89njkyrfv7yvakds")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-lalrpop" ,rust-lalrpop-0.17) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-stfu8" ,rust-stfu8-0.2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) + (native-inputs (list clang gnupg pkg-config)) + (inputs (list nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Library for interacting with GnuPG's gpg-agent") + (description + "This package provides a library for interacting with @code{GnuPG's} gpg-agent.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-ipc-0.35 (package (name "rust-sequoia-ipc") - (version "0.33.0") + (version "0.35.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-ipc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h4b675m6r9r64ibv472fsyqkfh9xbx2wz4jaa4v01ivgsd7k3r1")))) + (base32 "1qryibvxs7fgbfi55sxsmh6kpim41rz06sslfb0n2cr3jn5cpbl9")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-buffered-reader" ,rust-buffered-reader-1) ("rust-capnp-rpc" ,rust-capnp-rpc-0.19) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) ("rust-ctor" ,rust-ctor-0.2) ("rust-dirs" ,rust-dirs-5) ("rust-fs2" ,rust-fs2-0.4) - ("rust-futures" ,rust-futures-0.3) ("rust-lalrpop" ,rust-lalrpop-0.17) ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) ("rust-lazy-static" ,rust-lazy-static-1) @@ -173,10 +324,9 @@ than just headers; it requires tight integration with the MUA.") ("rust-tokio" ,rust-tokio-1) ("rust-tokio-util" ,rust-tokio-util-0.7) ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs (("rust-clap" ,rust-clap-4) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-tokio" ,rust-tokio-1)))) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) (native-inputs (list clang pkg-config)) (inputs @@ -187,22 +337,23 @@ than just headers; it requires tight integration with the MUA.") "This package provides interprocess communication infrastructure for Sequoia.") (license license:lgpl2.0+))) -(define-public rust-sequoia-keystore-0.2 +(define-public rust-sequoia-keystore-0.6 (package (name "rust-sequoia-keystore") - (version "0.2.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-keystore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11rb2k5v2mc5nf2bafp78nydgcx4gizyxqa9b9lc3d1b73mqv2ad")))) + (base32 "168scr1nv5h1fm67p1p59ym267db07kg3fw3shrramaq0af2smx8")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-generic" ,rust-async-generic-1) ("rust-capnp" ,rust-capnp-0.19) ("rust-capnpc" ,rust-capnpc-0.19) ("rust-dirs" ,rust-dirs-5) @@ -210,9 +361,13 @@ than just headers; it requires tight integration with the MUA.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) ("rust-paste" ,rust-paste-1) - ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.33) - ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2) - ("rust-sequoia-keystore-softkeys" ,rust-sequoia-keystore-softkeys-0.2) + ("rust-sequoia-directories" ,rust-sequoia-directories-0.1) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6) + ("rust-sequoia-keystore-gpg-agent" ,rust-sequoia-keystore-gpg-agent-0.4) + ("rust-sequoia-keystore-openpgp-card" ,rust-sequoia-keystore-openpgp-card-0.1) + ("rust-sequoia-keystore-softkeys" ,rust-sequoia-keystore-softkeys-0.6) + ("rust-sequoia-keystore-tpm" ,rust-sequoia-keystore-tpm-0.1) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-tokio" ,rust-tokio-1) @@ -231,24 +386,30 @@ than just headers; it requires tight integration with the MUA.") (description "This package contains sequoia's private key store server.") (license license:lgpl2.0+))) -(define-public rust-sequoia-keystore-backend-0.2 +(define-public rust-sequoia-keystore-backend-0.6 (package (name "rust-sequoia-keystore-backend") - (version "0.2.0") + (version "0.6.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-keystore-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07v6rc27v0di2v59mixshhc4fkkf1ig0yqkzgqz0v2si4z8slv3s")))) + (base32 "15nzpqgpnnbmpcdldzgzx5v0ifgm1njqhvzsh40cg3c02p7xyz40")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-blanket" ,rust-blanket-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-thiserror" ,rust-thiserror-1)) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) (native-inputs (list clang pkg-config)) @@ -258,31 +419,114 @@ than just headers; it requires tight integration with the MUA.") (description "This package contains traits for private key store backends.") (license license:lgpl2.0+))) -(define-public rust-sequoia-keystore-softkeys-0.2 +(define-public rust-sequoia-keystore-gpg-agent-0.4 + (package + (name "rust-sequoia-keystore-gpg-agent") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore-gpg-agent" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s5spxk7v6cdcfzrya4y1n29m09kkrlmqacnrq2azik92kwva1mk")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3) + ("rust-sequoia-gpg-agent" ,rust-sequoia-gpg-agent-0.4) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list clang gnupg pkg-config)) + (inputs (list nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "GPG-agent backend for Sequoia's private key store") + (description + "This package provides a gpg-agent backend for Sequoia's private key store.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-keystore-openpgp-card-0.1 + (package + (name "rust-sequoia-keystore-openpgp-card") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore-openpgp-card" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sr3hyxvq6nc319k134iwf4z3m9lx48r40j44xbsrp7mcknxz7w8")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-card-backend-pcsc" ,rust-card-backend-pcsc-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-openpgp-card" ,rust-openpgp-card-0.5) + ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list clang pkg-config)) + (inputs (list nettle pcsc-lite)) + (home-page "https://sequoia-pgp.org/") + (synopsis "OpenPGP card backend for Sequoia's private key store") + (description + "This package provides an @code{OpenPGP} card backend for Sequoia's +private key store.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-keystore-softkeys-0.6 (package (name "rust-sequoia-keystore-softkeys") - (version "0.2.0") + (version "0.6.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-keystore-softkeys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "151f1ai0bxvab8fi314qcybilv4vq26gfdcs3yp7r28xqn9hldw0")))) + (base32 "1zyapjfadgmy5fnk1kwxr0dq7i4qmj4614r0g0z68dawpp8mdflr")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) ("rust-dirs" ,rust-dirs-5) + ("rust-futures" ,rust-futures-0.3) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) - ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)) #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.10) + (("rust-dircpy" ,rust-dircpy-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-test-log" ,rust-test-log-0.2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) (native-inputs (list clang pkg-config)) @@ -294,6 +538,46 @@ than just headers; it requires tight integration with the MUA.") private key store.") (license license:lgpl2.0+))) +(define-public rust-sequoia-keystore-tpm-0.1 + (package + (name "rust-sequoia-keystore-tpm") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore-tpm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00cc468mf9wvkrkdzc1lhjg8a1a0qgfdj046kk09x1nfzlbm5ggh")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-sequoia-tpm" ,rust-sequoia-tpm-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list clang pkg-config)) + (inputs (list nettle tpm2-tss)) + (home-page "https://sequoia-pgp.org/") + (synopsis "TPM backend for Sequoia's private key store") + (description + "This package provides a TPM backend for Sequoia's private key store.") + (license license:lgpl2.0+))) + (define-public rust-sequoia-net-0.28 (package (name "rust-sequoia-net") @@ -342,19 +626,20 @@ HKP protocol, and searching and publishing Web Key Directories.") (define-public rust-sequoia-openpgp-1 (package (name "rust-sequoia-openpgp") - (version "1.19.0") + (version "1.21.2") (source (origin (method url-fetch) (uri (crate-uri "sequoia-openpgp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x3d4yj8mhra8yhcxz6z73pb77pzk0zl1vgxx0yrimzk9b759wgb")))) + (base32 "1mh2rc7briyggsvwbg34g3vvx6aisisllb9vz4p96kdl2vi1w9hk")))) (build-system cargo-build-system) (arguments `(#:features '("crypto-nettle") #:cargo-test-flags (list "--release" "--" + "--skip=leak_tests::test_aes_256_decryption" "--skip=leak_tests::test_ed25519") #:cargo-inputs (("rust-aes" ,rust-aes-0.8) @@ -396,6 +681,8 @@ HKP protocol, and searching and publishing Web Key Directories.") ("rust-openssl" ,rust-openssl-0.10) ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-p256" ,rust-p256-0.13) + ("rust-p384" ,rust-p384-0.13) + ("rust-p521" ,rust-p521-0.13) ("rust-rand" ,rust-rand-0.8) ("rust-rand-core" ,rust-rand-core-0.6) ("rust-regex" ,rust-regex-1) @@ -529,17 +816,50 @@ Although the above appear simple to parse, RFC 2822's whitespace and comment rules are rather complex. This crate implements the whole grammar." ) (license license:gpl3))) -(define-public rust-sequoia-wot-0.11 +(define-public rust-sequoia-tpm-0.1 + (package + (name "rust-sequoia-tpm") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-tpm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xh0m7yybkwpc0f858da27y82a2vlsdfch35hjaykih5lf4xmdri")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-hex" ,rust-hex-0.4) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tss-esapi" ,rust-tss-esapi-7) + ("rust-tss-esapi-sys" ,rust-tss-esapi-sys-0.5)) + #:cargo-development-inputs + (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) + (native-inputs (list clang pkg-config)) + (inputs (list nettle tpm2-tss)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Machinery for working with TPM from Sequoia") + (description + "This package provides machinery for working with TPM from Sequoia.") + (license (list license:lgpl2.0+ license:asl2.0)))) + +(define-public rust-sequoia-wot-0.12 (package (name "rust-sequoia-wot") - (version "0.11.0") + (version "0.12.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-wot" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hb17adcqz357ci3d4v57pmywy4giq8591p1vb7p83h56zdk0sfi")))) + (base32 "1nrx1cn58d8lkp2g0ahw2320zmil3ryxl13inpwf61v4vqi5svj8")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") @@ -547,17 +867,15 @@ rules are rather complex. This crate implements the whole grammar." ) ;; Not all files included. "--skip=gpg_trust_roots") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-anyhow" ,rust-anyhow-1) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) - ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) ("rust-clap-mangen" ,rust-clap-mangen-0.2) ("rust-crossbeam" ,rust-crossbeam-0.8) ("rust-dot-writer" ,rust-dot-writer-0.1) ("rust-enumber" ,rust-enumber-0.3) ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.5) + ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.6) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) ("rust-thiserror" ,rust-thiserror-1)) @@ -578,14 +896,14 @@ rules are rather complex. This crate implements the whole grammar." ) (define-public sequoia-sq (package (name "sequoia-sq") - (version "0.34.0") + (version "0.38.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-sq" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0394xr4wxf5ymc8difnih5s9dpw7rpz9b0n7nnp6782gw65ch6lx")))) + (base32 "060dsh7ws9mwamc1jcp093j2g54sm9v5fy1mdhlw8kw2wybqybrj")))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -601,36 +919,35 @@ rules are rather complex. This crate implements the whole grammar." ) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) ("rust-dirs" ,rust-dirs-5) - ("rust-dot-writer" ,rust-dot-writer-0.1) + ("rust-fs-extra" ,rust-fs-extra-1) ("rust-humantime" ,rust-humantime-2) ("rust-indicatif" ,rust-indicatif-0.17) - ("rust-itertools" ,rust-itertools-0.10) ("rust-once-cell" ,rust-once-cell-1) ("rust-roff" ,rust-roff-0.2) ("rust-rpassword" ,rust-rpassword-7) ("rust-sequoia-autocrypt" ,rust-sequoia-autocrypt-0.25) - ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.5) - ("rust-sequoia-keystore" ,rust-sequoia-keystore-0.2) + ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.6) + ("rust-sequoia-directories" ,rust-sequoia-directories-0.1) + ("rust-sequoia-keystore" ,rust-sequoia-keystore-0.6) ("rust-sequoia-net" ,rust-sequoia-net-0.28) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) - ("rust-sequoia-wot" ,rust-sequoia-wot-0.11) + ("rust-sequoia-wot" ,rust-sequoia-wot-0.12) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) ("rust-subplot-build" ,rust-subplot-build-0.7) + ("rust-subplotlib" ,rust-subplotlib-0.7) ("rust-tempfile" ,rust-tempfile-3) ("rust-termcolor" ,rust-termcolor-1) ("rust-terminal-size" ,rust-terminal-size-0.2) ("rust-textwrap" ,rust-textwrap-0.15) + ("rust-thiserror" ,rust-thiserror-1) ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-dircpy" ,rust-dircpy-0.3) ("rust-fehler" ,rust-fehler-1) ("rust-libc" ,rust-libc-0.2) ("rust-predicates" ,rust-predicates-2) - ("rust-regex" ,rust-regex-1) - ("rust-subplotlib" ,rust-subplotlib-0.7)) + ("rust-regex" ,rust-regex-1)) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-asset-out-dir @@ -678,14 +995,14 @@ This Guix package is built to use the nettle cryptographic library.") (define-public sequoia-sqv (package (name "sequoia-sqv") - (version "1.1.0") + (version "1.2.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-sqv" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vzqahx7dk1wh2vp7lbzjgah8v7fqpvdf0dq0dydi9695ffm99lc")))) + (base32 "0nizac02bwl5cdmcvn3vjjxdhcy431mnsijyswnq101p764dlkl2")))) (build-system cargo-build-system) (inputs (list nettle openssl)) @@ -696,10 +1013,46 @@ This Guix package is built to use the nettle cryptographic library.") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6)) #:cargo-development-inputs - (("rust-assert-cli" ,rust-assert-cli-0.6)))) + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-predicates" ,rust-predicates-3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-asset-out-dir + (lambda _ + (setenv "ASSET_OUT_DIR" "target/assets"))) + (add-after 'install 'install-more + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append out "/etc/bash_completion.d")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib")) + (man1 (string-append share "/man/man1"))) + ;; The completions are generated in build.rs. + (mkdir-p bash-completions-dir) + (mkdir-p elvish-completions-dir) + (for-each (lambda (file) + (install-file file man1)) + (find-files "target/assets/man-pages" "\\.1$")) + (copy-file "target/assets/shell-completions/sqv.bash" + (string-append bash-completions-dir "/sqv")) + (install-file "target/assets/shell-completions/_sqv" + zsh-completions-dir) + (install-file "target/assets/shell-completions/sqv.fish" + fish-completions-dir) + (copy-file "target/assets/shell-completions/sqv.elv" + (string-append elvish-completions-dir "/sqv")))))))) (home-page "https://sequoia-pgp.org/") (synopsis "Simple OpenPGP signature verification program") (description "@code{sqv} verifies detached OpenPGP signatures. It is a @@ -711,10 +1064,10 @@ This Guix package is built to use the nettle cryptographic library.") (define-public sequoia-wot (package - (inherit rust-sequoia-wot-0.11) + (inherit rust-sequoia-wot-0.12) (name "sequoia-wot") (arguments - (substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.11) + (substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.12) ((#:install-source? _ #t) #f) ((#:phases phases '%standard-phases) `(modify-phases ,phases @@ -748,7 +1101,7 @@ This Guix package is built to use the nettle cryptographic library."))) (define-public sequoia (package (name "sequoia") - (version "1.19.0") + (version "1.21.2") (source #f) (build-system trivial-build-system) (arguments diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 43a1fbb540f..93cf94b9a78 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -1159,18 +1159,18 @@ of commands called a ``pipeline''.") (define-public rust-nu-ansi-term-0.50 (package (name "rust-nu-ansi-term") - (version "0.50.0") + (version "0.50.1") (source (origin (method url-fetch) (uri (crate-uri "nu-ansi-term" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "057zhc62hcaxc73zfjwq7gir5bfilmx652hnh9krdp0babhh0a6x")))) + (base32 "16a3isvbxx8pa3lk71h3cq2fsx2d17zzq42j4mhpxy81gl2qx8nl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/nushell/nu-ansi-term") diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index b058469f8e1..825ea106213 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -228,14 +228,14 @@ cards.") (define-public newsboat (package (name "newsboat") - (version "2.35") + (version "2.36.1") (source (origin (method url-fetch) (uri (string-append "https://newsboat.org/releases/" version "/newsboat-" version ".tar.xz")) (sha256 - (base32 "1i5nil0lwa621ixxp1vwkic56sxsqp46pyq1xw7lrr1qrbv07w7l")))) + (base32 "1pgi19y1ym5dhh0szs0w0cjbvx83bzq30af24h73nwdalkwb3nhl")))) (build-system cargo-build-system) (native-inputs `(("gettext" ,gettext-minimal) @@ -278,7 +278,7 @@ cards.") #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3) ("rust-proptest" ,rust-proptest-1) - ("rust-section-testing" ,rust-section-testing-0.0)) + ("rust-section-testing" ,rust-section-testing-0.0.5)) #:phases (modify-phases %standard-phases ,@(if (not (assoc-ref inputs "asciidoctor")) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 932fcf0e3af..3a717114a76 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1525,7 +1525,7 @@ basic input/output.") (define-public alacritty (package (name "alacritty") - (version "0.13.1") + (version "0.14.0") (source (origin ;; XXX: The crate at "crates.io" contains only the alacritty subproject @@ -1537,26 +1537,22 @@ basic input/output.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1y5xc9ryn9r0adygq53vrbpb8lazkmcqw38q978pbf0i57nwczrn")))) + (base32 "0wfrj3h6rp90mclvssansh6p48q394xa8pzw74pjznzi2jxjw6b6")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-test-flags - '("--release" "--" - ;; Completions generated with a different minor version of clap? - "--skip=cli::tests::completions") #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) - ("rust-base64" ,rust-base64-0.21) + ("rust-base64" ,rust-base64-0.22) ("rust-bitflags" ,rust-bitflags-2) ("rust-clap" ,rust-clap-4) ("rust-cocoa" ,rust-cocoa-0.25) ("rust-copypasta" ,rust-copypasta-0.10) - ("rust-crossfont" ,rust-crossfont-0.7) + ("rust-crossfont" ,rust-crossfont-0.8) ("rust-dirs" ,rust-dirs-5) ("rust-embed-resource" ,rust-embed-resource-2) ("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-glutin" ,rust-glutin-0.31) + ("rust-glutin" ,rust-glutin-0.32) ("rust-home" ,rust-home-0.5) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) @@ -1569,7 +1565,6 @@ basic input/output.") ("rust-png" ,rust-png-0.17) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) ("rust-regex-automata" ,rust-regex-automata-0.4) ("rust-rustix-openpty" ,rust-rustix-openpty-0.1) ("rust-serde" ,rust-serde-1) @@ -1577,11 +1572,13 @@ basic input/output.") ("rust-serde-yaml" ,rust-serde-yaml-0.9) ("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-syn" ,rust-syn-2) + ("rust-tempfile" ,rust-tempfile-3) ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.22) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-vte" ,rust-vte-0.13) - ("rust-windows-sys" ,rust-windows-sys-0.48) - ("rust-winit" ,rust-winit-0.29) + ("rust-windows-sys" ,rust-windows-sys-0.52) + ("rust-winit" ,rust-winit-0.30) ("rust-xdg" ,rust-xdg-2)) #:cargo-development-inputs (("rust-clap-complete" ,rust-clap-complete-4) diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm index e517f9b214e..3d74a32e8f5 100644 --- a/gnu/packages/tor-browsers.scm +++ b/gnu/packages/tor-browsers.scm @@ -268,7 +268,7 @@ Browser.") (list rust `(,rust "cargo") - rust-cbindgen + rust-cbindgen-0.26 lld-as-ld-wrapper-16 ; for cargo rustc llvm-16 clang-16 @@ -321,7 +321,9 @@ Browser.") "--disable-debug" "--disable-debug-symbols" - "--enable-rust-simd" + ;; TODO: Re-enable after updating to the 128 ESR. + ;"--enable-rust-simd" + "--disable-rust-simd" "--enable-release" "--enable-optimize" "--enable-strip" diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index c54833a8ec7..f64bc808e01 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1823,7 +1823,7 @@ lot easier.") (define-public stgit-2 (package (name "stgit") - (version "2.4.0") + (version "2.4.12") (source (origin (method git-fetch) @@ -1832,7 +1832,7 @@ lot easier.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj")) + (base32 "0kp3gwmxcjvphg1s0san0vyis8dsdaf02xsflc2b7kkg8m0r0mi3")) (modules '((guix build utils))) (snippet '(begin (substitute* (find-files "." "^Cargo\\.toml$") @@ -1849,10 +1849,10 @@ lot easier.") ("rust-curl" ,rust-curl-0.4) ("rust-encoding_rs" ,rust-encoding-rs-0.8) ("rust-flate2" ,rust-flate2-1) - ("rust-gix" ,rust-gix-0.54) + ("rust-gix" ,rust-gix-0.66) ("rust-indexmap" ,rust-indexmap-2) ("rust-is-terminal" ,rust-is-terminal-0.4) - ("rust-nom" ,rust-nom-7) + ("rust-jiff" ,rust-jiff-0.1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-strsim" ,rust-strsim-0.10) @@ -1860,7 +1860,7 @@ lot easier.") ("rust-tempfile" ,rust-tempfile-3) ("rust-termcolor" ,rust-termcolor-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3)) + ("rust-winnow" ,rust-winnow-0.6)) #:install-source? #f #:phases (modify-phases %standard-phases diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 03d44dc9a24..20ec3794258 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1681,9 +1681,7 @@ operate properly.") (build-system gnu-build-system) (inputs (append - ;; XXX: rav1e depends on rust, which currently only works on x86_64. - ;; See also the related configure flag when changing this. - (if (target-x86-64?) (list rav1e) '()) + (if (supported-package? rav1e) (list rav1e) '()) (list dav1d fontconfig freetype @@ -1796,7 +1794,7 @@ operate properly.") "--enable-libmp3lame" "--enable-libopus" "--enable-libpulse" - #$@(if (target-x86-64?) + #$@(if (this-package-input "rav1e") '("--enable-librav1e") '()) "--enable-libsoxr" @@ -6122,7 +6120,7 @@ and audio capture, network stream playback, and many more.") (define-public dav1d (package (name "dav1d") - (version "1.3.0") + (version "1.5.0") (source (origin (method git-fetch) @@ -6131,7 +6129,7 @@ and audio capture, network stream playback, and many more.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "17r6qdijdnqfciqa0ia2y4gyhaav6y5gc4d9xj4dg9h7xnpyxc3k")))) + (base32 "0rn8zvmqapjq4r9s9hlpz1866war4ap7hzp5h8qhm5igry7i1qvq")))) (build-system meson-build-system) (native-inputs (if (target-x86?) @@ -6479,7 +6477,40 @@ result in several formats: (invoke "cargo" "cinstall" "--release" ;; Only build the dynamic library. "--library-type" "cdylib" - (string-append "--prefix=" out)))))))) + (string-append "--prefix=" out))))) + (add-after 'install 'install-completions + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (unless ,(%current-target-system) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append out "/etc/bash_completion.d")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib")) + (rav1e (string-append out "/bin/rav1e")) + (common-flags '("-" "-o" "-" "advanced" "--completion"))) + (mkdir-p bash-completions-dir) + (with-output-to-file + (string-append bash-completions-dir "/rav1e") + (lambda _ (apply invoke rav1e (append common-flags '("bash"))))) + (mkdir-p zsh-completions-dir) + ;; This one currently fails to build. + ;(with-output-to-file + ; (string-append zsh-completions-dir "/_rav1e") + ; (lambda _ (apply invoke rav1e (append common-flags '("zsh"))))) + (mkdir-p fish-completions-dir) + (with-output-to-file + (string-append fish-completions-dir "/rav1e.fish") + (lambda _ (apply invoke rav1e (append common-flags '("fish"))))) + (mkdir-p elvish-completions-dir) + (with-output-to-file + (string-append elvish-completions-dir "/rav1e") + (lambda _ + (apply invoke rav1e (append common-flags '("elvish")))))))))))) (native-inputs (append (if (target-x86?) (list nasm) |