diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-02-28 12:18:45 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-28 12:18:45 +0200 |
commit | f29f80c194d0c534a92354b2bc19022a9b70ecf8 (patch) | |
tree | adc3c4114f59ef88ed3e097a8ec8517979f71562 | |
parent | c034088e37b51018d5bfeb88d822c559b38d51db (diff) | |
parent | 7947d47c9b891d2461ca9e7c53048d0e44294b5d (diff) |
Merge branch 'rust-team'
Change-Id: Iee31c5de29c357c822f60df4fa8ce758779eb349
40 files changed, 37860 insertions, 26709 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 725093fb09..208d74ef3e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -201,9 +201,15 @@ GNU_SYSTEM_MODULES = \ %D%/packages/cpp.scm \ %D%/packages/cppi.scm \ %D%/packages/cran.scm \ + %D%/packages/crates-apple.scm \ + %D%/packages/crates-crypto.scm \ %D%/packages/crates-io.scm \ %D%/packages/crates-graphics.scm \ %D%/packages/crates-gtk.scm \ + %D%/packages/crates-tls.scm \ + %D%/packages/crates-vcs.scm \ + %D%/packages/crates-web.scm \ + %D%/packages/crates-windows.scm \ %D%/packages/cross-base.scm \ %D%/packages/cross-toolchain.scm \ %D%/packages/crypto.scm \ @@ -2000,13 +2006,14 @@ 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-ring-0.16-missing-files.patch \ - %D%/packages/patches/rust-ring-0.16-test-files.patch \ - %D%/packages/patches/i3status-rust-enable-unstable-features.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 \ %D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch \ %D%/packages/patches/rust-ndarray-0.14-remove-blas-src.patch \ %D%/packages/patches/rust-nettle-disable-vendor.patch \ + %D%/packages/patches/rust-rspec-1-remove-clippy.patch \ + %D%/packages/patches/rust-trash-2-update-windows.patch \ %D%/packages/patches/rust-webbrowser-remove-unsupported-os.patch \ %D%/packages/patches/rust-wl-clipboard-rs-newer-wl.patch \ %D%/packages/patches/rw-igraph-0.10.patch \ diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 601c3b8fac..023a85f136 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -114,6 +114,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages cryptsetup) #:use-module (gnu packages curl) diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm new file mode 100644 index 0000000000..1c06ab4ad8 --- /dev/null +++ b/gnu/packages/crates-apple.scm @@ -0,0 +1,1469 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019, 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> +;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> +;;; Copyright © 2020 John Soo <jsoo1@asu.edu> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu> +;;; +;;; 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/>. + +(define-module (gnu packages crates-apple) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls)) + +(define-public rust-block-0.1 + (package + (name "rust-block") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "block" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16k9jgll25pzsq14f244q22cdv0zb4bqacldg3kx6h89d7piz30d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-objc-test-utils" ,rust-objc-test-utils-0.0)))) + (home-page "https://github.com/SSheldon/rust-block") + (synopsis "Rust interface for Apple's C language extension of blocks") + (description "This package provides a rust interface for Apple's C language +extension of blocks.") + (license license:expat))) + +(define-public rust-block2-0.3 + (package + (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")))) + (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)))) + (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.2 + (package + (inherit rust-block2-0.3) + (name "rust-block2") + (version "0.2.0-alpha.6") + (source (origin + (method url-fetch) + (uri (crate-uri "block2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hpcdl81rmwvhfni9413hrg1wd4xwf6vhch3yv15bxs42wyfdncd")))) + (arguments + `(#:tests? #f ; Tests require gcc-objc. + #:cargo-inputs + (("rust-block-sys" ,rust-block-sys-0.1) + ("rust-objc2-encode" ,rust-objc2-encode-2)))))) + +(define-public rust-block-sys-0.2 + (package + (name "rust-block-sys") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rzp0218mwigdmfd5rhmj5h7c1vp0bq0nxaklhsvi8vydrls11df")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Needs to bind to MacOS libraries. + #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.3)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Raw bindings to Apple's C language extension of blocks") + (description "This package contains raw bindings to Apple's C language +extension of blocks.") + (license license:expat))) + +(define-public rust-block-sys-0.1 + (package + (inherit rust-block-sys-0.2) + (name "rust-block-sys") + (version "0.1.0-beta.1") + (source (origin + (method url-fetch) + (uri (crate-uri "block-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ihiar08hk0das4q0ii1gsmql975z3rslli1h13jb44hxr0mg98g")))) + (arguments + `(#:tests? #f ; Tests require gcc-objc. + #:cargo-inputs + (("rust-objc-sys" ,rust-objc-sys-0.2)))))) + +(define-public rust-cargo-credential-macos-keychain-0.4 + (package + (name "rust-cargo-credential-macos-keychain") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-macos-keychain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1df098axn8pab6l2mljbkxg3bw1v4mcr4k42x6xy6j15854nsz70")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) + ("rust-security-framework" ,rust-security-framework-2)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Cargo credential process that stores tokens in a macOS keychain") + (description + "This package provides a Cargo credential process that stores tokens in a +@code{macOS} keychain.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cargo-credential-macos-keychain-0.3 + (package + (inherit rust-cargo-credential-macos-keychain-0.4) + (name "rust-cargo-credential-macos-keychain") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-macos-keychain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15i7gq5z6a3896aq2bci9mc9h77g91ziij87c2zhhd91g1pf41rs")))) + (arguments + `(#:cargo-inputs + (("rust-cargo-credential" ,rust-cargo-credential-0.3) + ("rust-security-framework" ,rust-security-framework-2)))))) + +(define-public rust-cocoa-0.25 + (package + (name "rust-cocoa") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g1pl5hq28arqmvsswf2ib7smj445miwa58qa7wrfvksz54h857n")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-foreign-types" ,rust-foreign-types-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))) + (home-page "https://github.com/servo/core-foundation-rs") + (synopsis "Bindings to Cocoa for macOS") + (description "This package provides bindings to Cocoa for macOS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cocoa-0.24 + (package + (inherit rust-cocoa-0.25) + (name "rust-cocoa") + (version "0.24.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0flg2cwpqxyvsr1v3f54vi3d3qmbr1sn7gf3mr6nhb056xwxn9gl")))) + (arguments + `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))))) + +(define-public rust-cocoa-0.23 + (package + (inherit rust-cocoa-0.24) + (name "rust-cocoa") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cj4c2axmg7aiid2786mpzj7wxpd582biv7c7yimqfnggp002hn5")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))))) + +(define-public rust-cocoa-0.22 + (package + (inherit rust-cocoa-0.23) + (name "rust-cocoa") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19qyyv01yzrm6aahn6cdxvb4jhl6v4fj0cgqkxmq38i7hq3dqzv6")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.21) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))))) + +(define-public rust-cocoa-0.20 + (package + (inherit rust-cocoa-0.25) + (name "rust-cocoa") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y0wd1lyiz8cgbsf0fwyw06gb1akg6rvg5jr3wah8mvdqdpyhj8c")))) + (arguments + `(#:skip-build? #t ; only for macOS + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.7) + ("rust-core-graphics" ,rust-core-graphics-0.19) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))))) + +(define-public rust-cocoa-0.19 + (package + (inherit rust-cocoa-0.22) + (name "rust-cocoa") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0034vahbfv574q4b63rj241b8rnka5cjiqsqc6wiggnin9l7g7zj")))) + (arguments + `(#:skip-build? #t ; only for macOS + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.6) + ("rust-core-graphics" ,rust-core-graphics-0.17) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))))) + +(define-public rust-cocoa-0.18 + (package + (inherit rust-cocoa-0.19) + (name "rust-cocoa") + (version "0.18.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0m6fgdr4d2fp8jhkqvwr23hrqqqjv72g0j9vdgijc58k05j9j1hp")))))) + +(define-public rust-cocoa-foundation-0.1 + (package + (name "rust-cocoa-foundation") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cocoa-foundation" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xwk1khdyqw3dwsl15vr8p86shdcn544fr60ass8biz4nb5k8qlc")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.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.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-objc" ,rust-objc-0.2)))) + (home-page "https://github.com/servo/core-foundation-rs") + (synopsis "Bindings to Cocoa Foundation for macOS") + (description + "This package provides bindings to Cocoa Foundation for macOS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-commoncrypto-0.2 + (package + (name "rust-commoncrypto") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "commoncrypto" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01whnqcziclsj1gwavvqhrw2r5cmwh00j2fbc56iwnm2ddcahmnh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-clippy" ,rust-clippy-0.0) + ("rust-commoncrypto-sys" ,rust-commoncrypto-sys-0.2)))) + (home-page "https://github.com/malept/rust-commoncrypto") + (synopsis "Idiomatic Rust wrappers for Mac OS X's CommonCrypto library") + (description "The @{commoncrypto} library provides Rust FFI bindings and +idiomatic wrappers for Mac OS X's CommonCrypto library.") + (license license:expat))) + +(define-public rust-commoncrypto-sys-0.2 + (package + (name "rust-commoncrypto-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "commoncrypto-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ql381ziqh594a7z6m9bvs583lkrhbynk02pmbgp7aj7czs39v8z")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;requires the Mac OS library + #:cargo-inputs + (("rust-clippy" ,rust-clippy-0.0) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/malept/rust-commoncrypto") + (synopsis "FFI bindings to Mac OS X's CommonCrypto library") + (description "This package is a component of the @code{commoncrypto} +library which provides Rust FFI bindings and idiomatic wrappers for Mac OS X's +CommonCrypto library.") + (license license:expat))) + +(define-public rust-coreaudio-rs-0.10 + (package + (name "rust-coreaudio-rs") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (crate-uri "coreaudio-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "125d4zr3n363ybga4629p41ym7iqjfb2alnwrc1zj7zyxch4p28i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only builds for macos or ios. + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-coreaudio-sys" ,rust-coreaudio-sys-0.2)))) + (home-page "https://github.com/RustAudio/coreaudio-rs") + (synopsis "Rust interface for Apple's CoreAudio API") + (description + "This package provides a rust interface for Apple's CoreAudio API.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-coreaudio-sys-0.2 + (package + (name "rust-coreaudio-sys") + (version "0.2.15") + (source (origin + (method url-fetch) + (uri (crate-uri "coreaudio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1agmf1idf5m08rgkvsdxqni985acmrs629xzlpqgazq54x85h0bz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only builds for macos or ios. + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)))) + (home-page "https://github.com/RustAudio/coreaudio-sys") + (synopsis + "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen") + (description + "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.") + (license license:expat))) + +(define-public rust-core-foundation-0.9 + (package + (name "rust-core-foundation") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation" version)) + (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)))) + +(define-public rust-core-foundation-0.7 + (package + (inherit rust-core-foundation-0.9) + (name "rust-core-foundation") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-uuid" ,rust-uuid-0.5)))))) + +(define-public rust-core-foundation-0.6 + (package + (inherit rust-core-foundation-0.7) + (name "rust-core-foundation") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95")))) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-uuid" ,rust-uuid-0.5)))))) + +(define-public rust-core-foundation-0.2 + (package + (inherit rust-core-foundation-0.6) + (name "rust-core-foundation") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) + ("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-core-foundation-sys-0.8 + (package + (name "rust-core-foundation-sys") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13w6sdf06r0hn7bx2b45zxsg1mm2phz34jikm6xc5qrbr6djpsh6")))) + (build-system cargo-build-system) + (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-sys-0.7 + (package + (inherit rust-core-foundation-sys-0.8) + (name "rust-core-foundation-sys") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b5qfnnmg49sawwfsb0c0wbj81bqi7h7lh68pmhbidf0jjs1m9xk")))))) + +(define-public rust-core-foundation-sys-0.6 + (package + (inherit rust-core-foundation-sys-0.7) + (name "rust-core-foundation-sys") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7")))))) + +(define-public rust-core-foundation-sys-0.2 + (package + (inherit rust-core-foundation-sys-0.6) + (name "rust-core-foundation-sys") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-core-text-20 + (package + (name "rust-core-text") + (version "20.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-text" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mffma8w0ic11ydv6zclamw4dslzmsych1fwz14msih8bh5pkln9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets + #:cargo-inputs (("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-foreign-types" ,rust-foreign-types-0.5) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/servo/core-foundation-rs") + (synopsis "Bindings to the Core Text framework") + (description "This package provides bindings to the Core Text framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-core-text-19 + (package + (inherit rust-core-text-20) + (name "rust-core-text") + (version "19.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-text" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09aa9gfw0zvjwncskr721ljnyj2vfsxbz2lgl7piqz70cvd4mmwr")))) + (arguments + `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets + #:cargo-inputs + (("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-dispatch-0.2 + (package + (name "rust-dispatch") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dispatch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fwjr9b7582ic5689zxj8lf7zl94iklhlns3yivrnv8c9fxr635x")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/SSheldon/rust-dispatch") + (synopsis "Rust wrapper for Apple's Grand Central Dispatch") + (description "This package provides a Rust wrapper for Apple's Grand +Central Dispatch.") + (license license:expat))) + +(define-public rust-dispatch-0.1 + (package + (inherit rust-dispatch-0.2) + (name "rust-dispatch") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "dispatch" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "019nzy993hxaiazcdnayx3csv2iki34i535asw11ki96hakkrs84")))) + (arguments '(#:tests? #f)))) ; Tests only run on Mac. + +(define-public rust-fat-macho-0.4 + (package + (name "rust-fat-macho") + (version "0.4.8") + (source (origin + (method url-fetch) + (uri (crate-uri "fat-macho" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pqsjf13pdbhki2sdh70575hwqd18gm3vp8hpir3vl5djgrr6k0d")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "tests/fixtures"))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Test files removed. + #:cargo-inputs + (("rust-goblin" ,rust-goblin-0.8) + ("rust-llvm-bitcode" ,rust-llvm-bitcode-0.1)))) + (home-page "https://github.com/messense/fat-macho-rs.git") + (synopsis "Mach-O Fat Binary Reader and Writer") + (description "This package provides a Mach-O Fat Binary Reader and Writer.") + (license license:expat))) + +(define-public rust-fsevent-2 + (package + (name "rust-fsevent") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsevent" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pvpz0n4yl64yvx3acchxnfd28vhx88x4pvsa6zrb8d08zqx2dl8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-fsevent-sys" ,rust-fsevent-sys-4)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.2)))) + (home-page "https://github.com/octplane/fsevent-rust") + (synopsis "Rust bindings to the fsevent-sys macOS API") + (description + "This package provides Rust bindings to the @code{fsevent-sys} macOS API +for file changes notifications") + (license license:expat))) + +(define-public rust-fsevent-0.4 + (package + (inherit rust-fsevent-2) + (name "rust-fsevent") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsevent" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1djxnc2fmv265xqf1iyfz56smh13v9r1p0w9125wjg6k3fyx3dss")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; only available on macOS + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-fsevent-sys" ,rust-fsevent-sys-2)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3) + ("rust-time" ,rust-time-0.1)))))) + +(define-public rust-fsevent-sys-4 + (package + (name "rust-fsevent-sys") + (version "4.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsevent-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1liz67v8b0gcs8r31vxkvm2jzgl9p14i78yfqx81c8sdv817mvkn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys") + (synopsis "Rust bindings to the fsevent macOS API") + (description "This package provides Rust bindings to the @code{fsevent} +macOS API for file changes notifications") + (license license:expat))) + +(define-public rust-fsevent-sys-3 + (package + (inherit rust-fsevent-sys-4) + (name "rust-fsevent-sys") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsevent-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-fsevent-sys-2 + (package + (inherit rust-fsevent-sys-3) + (name "rust-fsevent-sys") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsevent-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18246vxk7rqn52m0sfrhivxq802i34p2wqqx5zsa0pamjj5086zl")))) + (arguments + `(#:skip-build? #t ; only available on macOS + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-icrate-0.0.4 + (package + (name "rust-icrate") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "icrate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06d3g8n6xw3f0ai84mya0dlknp2n33zqdxpxp8272mslibzsmlwr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-block2" ,rust-block2-0.3) + ("rust-dispatch" ,rust-dispatch-0.2) + ("rust-objc2" ,rust-objc2-0.4)) + #:cargo-development-inputs + (("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Bindings to Apple's frameworks") + (description "This package provides bindings to Apple's frameworks.") + (license license:expat))) + +(define-public rust-mach-0.3 + (package + (name "rust-mach") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mach" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yksa8lwzqh150gr4417rls1wk20asy9vhp8kq5g9n7z58xyh8xq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://github.com/fitzgen/mach") + (synopsis "Rust interface to the Mach 3.0 kernel that underlies OSX") + (description + "This package provides a Rust interface to the user-space API of the +Mach 3.0 kernel that underlies OSX.") + (license (list license:asl2.0 license:expat license:bsd-2)))) + +(define-public rust-mach-0.2 + (package + (inherit rust-mach-0.3) + (name "rust-mach") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "mach" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qdhs16cl1j3w7kvy6ak7h8lbyqmr6i3i15qfzpnv9gyrn3j9pc6")))))) + +(define-public rust-mach-o-sys-0.1 + (package + (name "rust-mach-o-sys") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "mach_o_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09l8p7nmzq37450x2h6nb7dzg1sk6dk36a5rkcrcy81zm21lb19y")))) + (build-system cargo-build-system) + (home-page "https://github.com/fitzgen/mach_o_sys") + (synopsis "Bindings to the OSX mach-o system library") + (description "This package provides bindings to the OSX mach-o system +library") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-mach2-0.4 + (package + (name "rust-mach2") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mach2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02gpyq89rcrqdbz4hgp5bpjas21dllxfc70jgw8vj0iaxg6mbf8r")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; compile_error!("mach requires macOS or iOS"); + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/JohnTitor/mach2") + (synopsis "Rust interface to the user-space API of the Mach 3.0 kernel") + (description + "This package provides a Rust interface to the user-space API of the Mach +3.0 kernel that underlies OSX.") + (license (list license:bsd-2 license:expat license:asl2.0)))) + +(define-public rust-metal-0.18 + (package + (name "rust-metal") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "metal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h1dx42sdkn4jl1rnjisv687vd5jyck982wxq3r9xgmx8bpa1671")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-block" ,rust-block-0.1) + ("rust-cocoa" ,rust-cocoa-0.20) + ("rust-core-graphics" ,rust-core-graphics-0.19) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-objc" ,rust-objc-0.2)))) + (home-page "https://github.com/gfx-rs/metal-rs") + (synopsis "Rust bindings for Metal") + (description "This package provides Rust bindings for Metal.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-objc-0.2 + (package + (name "rust-objc") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cbpf6kz8a244nn1qzl3xyhmp05gsg4n313c9m3567625d3innwi")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests require gcc-objc. + #:cargo-inputs + (("rust-malloc-buf" ,rust-malloc-buf-0.0) + ("rust-objc-exception" ,rust-objc-exception-0.1)))) + (home-page "https://github.com/SSheldon/rust-objc") + (synopsis "Objective-C Runtime bindings and wrapper for Rust") + (description "This package provides an Objective-C Runtime bindings and +wrapper for Rust.") + (license license:expat))) + +(define-public rust-objc-exception-0.1 + (package + (name "rust-objc-exception") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc_exception" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "191cmdmlypp6piw67y4m8y5swlxf5w0ss8n1lk5xd2l1ans0z5xd")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/SSheldon/rust-objc-exception") + (synopsis "Rust interface for Objective-C's throw and try/catch statements") + (description + "This package provides a Rust interface for Objective-C's throw and +try/catch statements.") + (license license:expat))) + +(define-public rust-objc-foundation-0.1 + (package + (name "rust-objc-foundation") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc-foundation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1y9bwb3m5fdq7w7i4bnds067dhm4qxv4m1mbg9y61j9nkrjipp8s")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only available on macOS. + #:cargo-inputs + (("rust-block" ,rust-block-0.1) + ("rust-objc" ,rust-objc-0.2) + ("rust-objc-id" ,rust-objc-id-0.1)))) + (home-page "https://github.com/SSheldon/rust-objc-foundation") + (synopsis "Rust wrapper for Objective-C's Foundation framework") + (description "This package provides a rust wrapper for Objective-C's +Foundation framework.") + (license license:expat))) + +(define-public rust-objc-id-0.1 + (package + (name "rust-objc-id") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc_id" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fq71hnp2sdblaighjc82yrac3adfmqzhpr11irhvdfp9gdlsbf9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests require gcc-objc. + #:cargo-inputs (("rust-objc" ,rust-objc-0.2)))) + (home-page "https://github.com/SSheldon/rust-objc-id") + (synopsis "Rust smart pointers for Objective-C reference counting") + (description + "This package provides Rust smart pointers for Objective-C reference counting.") + (license license:expat))) + +(define-public rust-objc-sys-0.3 + (package + (name "rust-objc-sys") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (crate-uri "objc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nbl4p4dmajhm0ji1z09jrlrxhqs4jfkvj1zjschh38qwhj17iy7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Needs gcc-objc + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Raw bindings to the Objective-C runtime and ABI") + (description + "This package provides raw bindings to the Objective-C runtime and ABI.") + (license license:expat))) + +(define-public rust-objc-sys-0.2 + (package + (inherit rust-objc-sys-0.3) + (name "rust-objc-sys") + (version "0.2.0-beta.2") + (source (origin + (method url-fetch) + (uri (crate-uri "objc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1msm1bwv69k12ikxm71mi1ifrbx2bzsmk2w2bah98mp9q4s9hfyz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Needs gcc-objc + #:cargo-inputs (("rust-cc" ,rust-cc-1)))))) + +(define-public rust-objc-test-utils-0.0 + (package + (name "rust-objc-test-utils") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc_test_utils" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09rckmp5h9bbns08xzicdlk7y5lxj2ygbg3yqk1cszfnzd5n8kzx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-gcc" ,rust-gcc-0.3)))) + (home-page "https://github.com/SSheldon/rust-objc") + (synopsis "Utilities for testing Objective-C interop") + (description + "This package provides utilities for testing Objective-C interop.") + (license license:expat))) + +(define-public rust-objc2-0.4 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis + "Objective-C interface and bindings to the Cocoa Foundation framework") + (description "This package provides Objective-C interface and bindings to +the Cocoa Foundation framework.") + (license license:expat))) + +(define-public rust-objc2-0.3 + (package + (inherit rust-objc2-0.4) + (name "rust-objc2") + (version "0.3.0-beta.3") + (source (origin + (method url-fetch) + (uri (crate-uri "objc2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jfnrwmp6n2d6snlpcyfk9l41nhm50wj9h42b6hqj2rxbm1facgy")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-block2" ,rust-block2-0.2) ; 0.2.0-alpha.6 + ("rust-objc-sys" ,rust-objc-sys-0.2) ; 0.2.0-beta.2 + ("rust-objc2-encode" ,rust-objc2-encode-2) ; 2.0.0-pre.2 + ("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1) + ("rust-uuid" ,rust-uuid-1)))))) + +(define-public rust-objc2-encode-3 + (package + (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")))) + (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.") + (license license:expat))) + +(define-public rust-objc2-encode-2 + (package + (inherit rust-objc2-encode-3) + (name "rust-objc2-encode") + (version "2.0.0-pre.2") + (source (origin + (method url-fetch) + (uri (crate-uri "objc2-encode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04h5wns3hxmc9g652hr9xqzrijs4ij9sdnlgc0ha202v050srz5b")))) + (arguments + `(#:tests? #f ; Test suite wants gcc-objc + #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2)))))) + +(define-public rust-objc2-proc-macros-0.1 + (package + (name "rust-objc2-proc-macros") + (version "0.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "objc2-proc-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07j3snswvj6532x32zgn4llc2xaf31rj4iw18n6dsrf2p0jvh1xr")))) + (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-readkey-0.1 + (package + (name "rust-readkey") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "readkey" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0iiip8bq4yhal5rv6wlws0xgz798blki7s5ly5cmlwm1ssv03m46")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/segeljakt/readkey") + (synopsis "Library for finding out if a key is currently pressed on macOS") + (description + "This package provides a very small library for finding out if a key is +currently pressed on macOS.") + (license license:expat))) + +(define-public rust-security-framework-2 + (package + (name "rust-security-framework") + (version "2.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pplxk15s5yxvi2m1sz5xfmjibp96cscdcl432w9jzbk0frlzdh5")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing files + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-security-framework-sys" ,rust-security-framework-sys-2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("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)))) + (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 +macOS and iOS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-security-framework-1 + (package + (inherit rust-security-framework-2) + (name "rust-security-framework") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0axwlax65j1f79rsm4ylc8rc6p2knbi3dgnpbdq7a1bzh5k2hl5d")))) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-core-foundation" ,rust-core-foundation-0.7) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-security-framework-sys" ,rust-security-framework-sys-1)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-security-framework-0.3 + (package + (inherit rust-security-framework-1) + (name "rust-security-framework") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pqn79cl9njnnhsmjvvphkzx8is5jhfd8bhxpllgvrgggjfl5wlf")))) + (arguments + `(#:tests? #f ; Some test files not included in release. + #:cargo-inputs + (("rust-core-foundation" ,rust-core-foundation-0.6) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-security-framework-sys" ,rust-security-framework-sys-0.3)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-security-framework-0.2 + (package + (inherit rust-security-framework-0.3) + (name "rust-security-framework") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gw3xxg8yzbjb4ny5cy07gky177c1nbgpxqjsw3hfzpfgrxji9bz")))) + (arguments + `(#:skip-build? #t ; MacOS specific + #:cargo-inputs + (("rust-core-foundation" + ,rust-core-foundation-0.6) + ("rust-core-foundation-sys" + ,rust-core-foundation-sys-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-security-framework-sys" + ,rust-security-framework-sys-0.2)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.3) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-security-framework-sys-2 + (package + (name "rust-security-framework-sys") + (version "2.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yhciwlsy9dh0ps1gw3197kvyqx1bvc4knrhiznhid6kax196cp9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://lib.rs/crates/security-framework-sys") + (synopsis "Low-level FFI bindings to Apple @code{Security.framework}") + (description "This package provides low level FFI bindings to Apple +@code{Security.framework}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-security-framework-sys-1 + (package + (inherit rust-security-framework-sys-2) + (name "rust-security-framework-sys") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1iynsjz53lqkkw4zbq8l99xn799chbx90lsmrlfnsyxii14v1kji")))) + (arguments + `(#:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) + ("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-security-framework-sys-0.3 + (package + (inherit rust-security-framework-sys-1) + (name "rust-security-framework-sys") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15gqhhi206lzynd0pcbswxhvqc4p9bmpl2h9qnwfnpb16zy96573")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)))))) + +(define-public rust-security-framework-sys-0.2 + (package + (inherit rust-security-framework-sys-0.3) + (name "rust-security-framework-sys") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj")))) + (arguments + `(#:skip-build? #t ; MacOS specific + #:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) + ("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-system-configuration-0.5 + (package + (name "rust-system-configuration") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-configuration" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rz0r30xn7fiyqay2dvzfy56cvaa3km74hnbz2d72p97bkf3lfms")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; struct `sockaddr_in` has no field named `sin_len` + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-system-configuration-sys" ,rust-system-configuration-sys-0.5)))) + (home-page "https://github.com/mullvad/system-configuration-rs") + (synopsis "Bindings to SystemConfiguration framework for macOS") + (description + "Bindings to @code{SystemConfiguration} framework for @code{macOS}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-system-configuration-sys-0.5 + (package + (name "rust-system-configuration-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-configuration-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jckxvdr37bay3i9v52izgy52dg690x5xfg3hd394sv2xf4b2px7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/mullvad/system-configuration-rs") + (synopsis "Low level bindings to SystemConfiguration framework for macOS") + (description + "Low level bindings to @code{SystemConfiguration} framework for @code{macOS}.") + (license (list license:expat license:asl2.0)))) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm new file mode 100644 index 0000000000..d4205f7d70 --- /dev/null +++ b/gnu/packages/crates-crypto.scm @@ -0,0 +1,5859 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> +;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> +;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2021 Domagoj Stolfa <domagoj.stolfa@gmail.com> +;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr> +;;; Copyright © 2022 Attila Lendvai <attila@lendvai.name> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2022 Marius Bakke <marius@gnu.org> +;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 VÖRÖSKŐI András <voroskoi@gmail.com> +;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu> +;;; +;;; 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/>. + +(define-module (gnu packages crates-crypto) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages assembly) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages crypto) + #:use-module (gnu packages golang) + #:use-module (gnu packages llvm) + #:use-module (gnu packages multiprecision) + #:use-module (gnu packages nettle) + #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages tls)) + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-public rust-aead-0.5 + (package + (name "rust-aead") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "aead" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j6pmc8pk4ha64bj9l6xzbhd85s2y1dblna2zsq83h0zy6w2w6aw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-bytes" ,rust-bytes-1) + ("rust-crypto-common" ,rust-crypto-common-0.1) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-heapless" ,rust-heapless-0.7)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis + "Traits for Authenticated Encryption with Associated Data (AEAD) algorithms") + (description + "This package provides traits for Authenticated Encryption with Associated +Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a +high-level API.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-aead-0.4 + (package + (inherit rust-aead-0.5) + (name "rust-aead") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "aead" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xw8kp9j1whfdxhgmr2qf9xgslkg52zh6gzmhsh13y9w3s73nq8b")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-heapless" ,rust-heapless-0.7) + ("rust-rand-core" ,rust-rand-core-0.6)))))) + +(define-public rust-aead-0.3 + (package + (name "rust-aead") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "aead" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c8388alvivcj4qkxgh4s4l6fbczn3p8wc0pnar6crlfvcdmvjbz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-heapless" ,rust-heapless-0.5)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for Authenticated Encryption with Associated Data (AEAD) +algorithms") + (description "This package provides traits for Authenticated Encryption +with Associated Data (AEAD) algorithms.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-aead-0.2 + (package + (inherit rust-aead-0.3) + (name "rust-aead") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aead" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r3ijikx9h117q0xgkc56yb0501kifjr3gsfp5bvnrz7asdipw2c")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.12) + ("rust-heapless" ,rust-heapless-0.5)))))) + +(define-public rust-aes-0.8 + (package + (name "rust-aes") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qi7z96wf3zd6alg116nh2myp34bw2574jwly4zrhpz9k19887xc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Facade for AES (Rijndael) block ciphers implementations") + (description "This package provides a facade for AES (Rijndael) block +ciphers implementations.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-aes-0.7 + (package + (inherit rust-aes-0.8) + (name "rust-aes") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f0sdx2fsa8w3l7xzsyi9ry3shvnnsgc0znh50if9fm95vslg2wy")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-ctr" ,rust-ctr-0.8) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)))))) + +(define-public rust-aes-0.6 + (package + (inherit rust-aes-0.7) + (name "rust-aes") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8")))) + (arguments + `(#:cargo-inputs + (("rust-aes-soft" ,rust-aes-soft-0.6) + ("rust-aesni" ,rust-aesni-0.10) + ("rust-cipher" ,rust-cipher-0.2)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.2)))))) + +(define-public rust-aes-0.4 + (package + (inherit rust-aes-0.6) + (name "rust-aes") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p")))) + (arguments + `(#:cargo-inputs + (("rust-aes-soft" ,rust-aes-soft-0.4) + ("rust-aesni" ,rust-aesni-0.7) + ("rust-block-cipher" ,rust-block-cipher-0.7)) + #:cargo-development-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7)))))) + +(define-public rust-aes-0.3 + (package + (inherit rust-aes-0.4) + (name "rust-aes") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aes-soft" ,rust-aes-soft-0.3) + ("rust-aesni" ,rust-aesni-0.6) + ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))))) + +(define-public rust-aes-ctr-0.6 + (package + (name "rust-aes-ctr") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-ctr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-aesni" ,rust-aesni-0.10) + ("rust-aes-soft" ,rust-aes-soft-0.6) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-ctr" ,rust-ctr-0.6)) + #:cargo-development-inputs `(("rust-cipher" ,rust-cipher-0.2)))) + (home-page "https://github.com/RustCrypto/block-ciphers/tree/master/aes") + (synopsis "Pure Rust implementation of AES") + (description + "A pure Rust implementation of the @acronym{AES, Advanced Encryption +Standard}. Use the AES crate if possible, as the aes-ctr has been into it.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-aes-gcm-0.10 + (package + (name "rust-aes-gcm") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-gcm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z2429v2d2wyf809h2wc4vwwibwypz3y4p7sn4kzkjb91ip3dqc2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aead" ,rust-aead-0.5) + ("rust-aes" ,rust-aes-0.8) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-ctr" ,rust-ctr-0.9) + ("rust-ghash" ,rust-ghash-0.5) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-aead" ,rust-aead-0.5) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/AEADs") + (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption") + (description "This package provides a pure Rust implementation of the +AES-GCM (Galois/Counter Mode) Authenticated Encryption with Associated +Data (AEAD) Cipher with optional architecture-specific hardware +acceleration.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-aes-gcm-0.8 + (package + (inherit rust-aes-gcm-0.10) + (name "rust-aes-gcm") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-gcm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j")))) + (arguments + `(#:cargo-inputs + (("rust-aead" ,rust-aead-0.3) + ("rust-aes" ,rust-aes-0.6) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-ctr" ,rust-ctr-0.6) + ("rust-ghash" ,rust-ghash-0.3) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-aes-gcm-0.6 + (package + (inherit rust-aes-gcm-0.8) + (name "rust-aes-gcm") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-gcm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lga8my3zlc0b1nhcpc1hrbykfm014fqs6d64bwrjqii05w01xc6")))) + (arguments + `(#:cargo-inputs + (("rust-aead" ,rust-aead-0.3) + ("rust-aes" ,rust-aes-0.4) + ("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-ghash" ,rust-ghash-0.3) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion-cycles-per-byte" + ,rust-criterion-cycles-per-byte-0.1) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-aes-gcm-0.5 + (package + (inherit rust-aes-gcm-0.6) + (name "rust-aes-gcm") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-gcm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f66b5bmyj38r1hj55wzamlzw3y1aql34lgwr2vxn93073d6njl3")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aead" ,rust-aead-0.2) + ("rust-aes" ,rust-aes-0.3) + ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) + ("rust-ghash" ,rust-ghash-0.2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-aes-soft-0.6 + (package + (name "rust-aes-soft") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-soft" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #:cargo-development-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers") + (description "This package provides a bit-sliced implementation of +AES (Rijndael) block ciphers. + +This package is deprecated and was replaced by the @code{aes} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-aes-soft-0.4 + (package + (inherit rust-aes-soft-0.6) + (name "rust-aes-soft") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-soft" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9")))) + (arguments + `(#:cargo-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #:cargo-development-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7)))))) + +(define-public rust-aes-soft-0.3 + (package + (inherit rust-aes-soft-0.4) + (name "rust-aes-soft") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-soft" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)))))) + +(define-public rust-aesni-0.10 + (package + (name "rust-aesni") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aesni" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cipher" ,rust-cipher-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "AES (Rijndael) block ciphers implementation using AES-NI") + (description "This package provides an implementation of AES (Rijndael) +block ciphers using AES-NI. + +This package is deprecated and was replaced by the @code{aes} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-aesni-0.7 + (package + (inherit rust-aesni-0.10) + (name "rust-aesni") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aesni" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-opaque-debug" ,rust-opaque-debug-0.2) + ("rust-stream-cipher" ,rust-stream-cipher-0.4)) + #:cargo-development-inputs + (("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-stream-cipher" ,rust-stream-cipher-0.4)))))) + +(define-public rust-aesni-0.6 + (package + (inherit rust-aesni-0.7) + (name "rust-aesni") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aesni" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) + ("rust-opaque-debug" ,rust-opaque-debug-0.2) + ("rust-stream-cipher" ,rust-stream-cipher-0.3)))))) + +(define-public rust-argon2-0.5 + (package + (name "rust-argon2") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "argon2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y820hkza66lfliaxg49zskz7agj8wf7aak528livg261an4rfhp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-blake2" ,rust-blake2-0.10) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-password-hash" ,rust-password-hash-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-password-hash" ,rust-password-hash-0.5)))) + (home-page + "https://github.com/RustCrypto/password-hashes/tree/master/argon2") + (synopsis "Rust argon2 library") + (description + "Pure Rust implementation of the Argon2 password hashing function with support +for the Argon2d, Argon2i, and Argon2id algorithmic variants.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-base16ct-0.2 + (package + (name "rust-base16ct") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "base16ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kylrjhdzk7qpknrvlphw8ywdnvvg39dizw9622w3wk5xba04zsc")))) + (build-system cargo-build-system) + (home-page "https://github.com/RustCrypto/formats/tree/master/base16ct") + (synopsis "Rust implementation of Base16 a.k.a hexadecimal") + (description + "This package provides a pure Rust implementation of Base16 a.k.a +hexadecimal (RFC 4648) which avoids any usages of data-dependent branches/LUTs +and thereby provides portable \"best effort\" constant-time operation and +embedded-friendly no_std support.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-base16ct-0.1 + (package + (inherit rust-base16ct-0.2) + (name "rust-base16ct") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base16ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1klccxr7igf73wpi0x3asjd8n0xjg0v6a7vxgvfk5ybvgh1hd6il")))))) + +(define-public rust-base64ct-1 + (package + (name "rust-base64ct") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nvdba4jb8aikv60az40x2w1y96sjdq8z3yp09rwzmkhiwv1lg4c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/base64ct") + (synopsis "Implementation of Base64 (RFC 4648)") + (description + "This package is a pure Rust implementation of Base64 (RFC 4648) which +avoids any usages of data-dependent branches/LUTs and thereby provides +portable \"best effort\" constant-time operation and embedded-friendly +@code{no_std} support.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-base64ct-1.0.1 + (package + (inherit rust-base64ct-1) + (name "rust-base64ct") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64ct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sx4a44c2n450lsmi0q1mgfbjhkw1sx57462cv77p0mmy9mgscla")))) + (arguments '()))) + +(define-public rust-blake2-0.10 + (package + (name "rust-blake2") + (version "0.10.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "blake2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zlf7w7gql12v61d9jcbbswa3dw8qxsjglylsiljp9f9b3a2ll26")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "BLAKE2 hash functions") + (description "This package provides BLAKE2 hash functions in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-blake2-0.9 + (package + (inherit rust-blake2-0.10) + (name "rust-blake2") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "blake2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x7i67c0hn3bzcwny08rgjrrnarqnqw10qpmh2blbx9hd78kfkha")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-digest" ,rust-digest-0.9) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-blake2-0.8 + (package + (inherit rust-blake2-0.10) + (name "rust-blake2") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "blake2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c4k11j04kqhkci6i9b7lz6p13kpcv228pdqixgrawvavaq0gjwl")))) + (arguments + `(#:tests? #f ; Not all tests compile. + #:cargo-inputs + (("rust-byte-tools" ,rust-byte-tools-0.3) + ("rust-crypto-mac" ,rust-crypto-mac-0.7) + ("rust-digest" ,rust-digest-0.8) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.7) + ("rust-digest" ,rust-digest-0.8) + ("rust-hex-literal" ,rust-hex-literal-0.1)))))) + +(define-public rust-blake2b-simd-1 + (package + (name "rust-blake2b-simd") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "blake2b_simd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g04mc4gf6jyymyj41749jhhplm3ymnc6z7rhkc1fqwclv4hsbrw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.2)))) + (home-page "https://github.com/oconnor663/blake2_simd") + (synopsis "Pure Rust BLAKE2b implementation with dynamic SIMD") + (description + "This package provides a pure Rust implementation of the BLAKE2b and +BLAKE2bp hash functions.") + (license license:expat))) + +(define-public rust-blake2b-simd-0.5 + (package + (inherit rust-blake2b-simd-1) + (name "rust-blake2b-simd") + (version "0.5.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "blake2b_simd" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)))))) + +(define-public rust-blakeout-0.3 + (package + (name "rust-blakeout") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "blakeout" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dxcg3sjxd82mn7mq4ammrfpidqf9zsagvhfzgblsi8g4b2fgvw1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blake2" ,rust-blake2-0.9) + ("rust-digest" ,rust-digest-0.9)))) + (home-page "https://github.com/Revertron/Blakeout") + (synopsis "Memory hard hashing algorithm based on Blake2s") + (description "This package provides memory hard hashing algorithm +based on Blake2s.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-block-cipher-0.7 + (package + (name "rust-block-cipher") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-cipher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "043zgfz1x4sxkdcsyabrcr440fcwhfpcqqa54jm7zp35wx4n84zs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for description of block ciphers") + (description "This package provides traits for description of block +ciphers.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-block-cipher-trait-0.6 + (package + (name "rust-block-cipher-trait") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-cipher-trait" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.12)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Block cipher algorithms") + (description "This package provides a collection of block cipher +algorithms. This package is deprecated. Please use block-cipher instead.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-block-cipher-trait-0.4 + (package + (inherit rust-block-cipher-trait-0.6) + (name "rust-block-cipher-trait") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-cipher-trait" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10qmg8vphqmfllb9a2yx6s7r66jh1wh33clhsawq7ikg2wgz2p6q")))) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.8)))))) + +(define-public rust-block-modes-0.8 + (package + (name "rust-block-modes") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-modes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13id7rw1lhi83i701za8w5is3a8qkf4vfigqw3f8jp8mxldkvc1c")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-block-padding" ,rust-block-padding-0.2) + ("rust-cipher" ,rust-cipher-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Block cipher modes of operation") + (description "This package provides a collection of block ciphers +and block modes.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-block-modes-0.7 + (package + (inherit rust-block-modes-0.8) + (name "rust-block-modes") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-modes" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p")))) + (arguments + `(#:cargo-inputs + (("rust-block-padding" ,rust-block-padding-0.2) + ("rust-cipher" ,rust-cipher-0.2)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.6) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-blowfish-0.9 + (package + (name "rust-blowfish") + (version "0.9.1") + (source (origin + (method url-fetch) + (uri (crate-uri "blowfish" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mw7bvj3bg5w8vh9xw9xawqh7ixk2xwsxkj34ph96b9b1z6y44p4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Blowfish block cipher") + (description "Blowfish block cipher") + (license (list license:expat license:asl2.0)))) + +(define-public rust-botan-0.10 + (package + (name "rust-botan") + (version "0.10.3") + (source (origin + (method url-fetch) + (uri (crate-uri "botan" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vzl5pdysh848zpphsgvj9c40zdi3ynl32zzixsd8vg4vaflhb49")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-botan-sys" ,rust-botan-sys-0.10)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4) + ("rust-wycheproof" ,rust-wycheproof-0.5)))) + (inputs (list botan)) + (home-page "https://botan.randombit.net/") + (synopsis "Rust wrapper for Botan cryptography library") + (description "Rust wrapper for Botan cryptography library") + (license license:expat))) + +(define-public rust-botan-0.8 + (package + (inherit rust-botan-0.10) + (name "rust-botan") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "botan" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik")))) + (arguments + `(#:cargo-inputs + (("rust-botan-sys" ,rust-botan-sys-0.8) + ("rust-cstr-core" ,rust-cstr-core-0.2) + ("rust-cty" ,rust-cty-0.2)))))) + +(define-public rust-botan-sys-0.10 + (package + (name "rust-botan-sys") + (version "0.10.3") + (source (origin + (method url-fetch) + (uri (crate-uri "botan-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cbjr44gc5dhmgl43sfiqzbsma4anfi3h26m4yzsli23yd1lmyf8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-botan-src" ,rust-botan-src-0.21903)))) + (inputs (list botan)) + (home-page "https://botan.randombit.net/") + (synopsis "FFI wrapper for Botan cryptography library") + (description "FFI wrapper for Botan cryptography library") + (license license:expat))) + +(define-public rust-botan-sys-0.8 + (package + (inherit rust-botan-sys-0.10) + (name "rust-botan-sys") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "botan-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m11zblxfanrhl97j7z3ap7n17rr8j0rg91sr7f9j6y2bsniaz1x")))) + (arguments + `(#:cargo-inputs + (("rust-botan-src" ,rust-botan-src-0.21703) + ("rust-cty" ,rust-cty-0.2)))))) + +(define-public rust-botan-src-0.21903 + (package + (name "rust-botan-src") + (version "0.21903.1") + (source (origin + (method url-fetch) + (uri (crate-uri "botan-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19fhll4g0v8hbyjxg8c790l9ln5xgf4r6xdcnw438mpy81hvrdxy")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "botan"))))) + (build-system cargo-build-system) + (arguments '(#:skip-build? #t)) + (home-page "https://botan.randombit.net/") + (synopsis "Sources of Botan cryptography library") + (description "Sources of Botan cryptography library") + (license license:expat))) + +(define-public rust-botan-src-0.21703 + (package + (inherit rust-botan-src-0.21903) + (name "rust-botan-src") + (version "0.21703.0") + (source (origin + (method url-fetch) + (uri (crate-uri "botan-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s2ad9q84qsrllfsbj7hjhn7gr3hab9ng6lwzwqmimia6yvja8y8")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "botan"))))))) + +(define-public rust-c2-chacha-0.2 + (package + (name "rust-c2-chacha") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "c2-chacha" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00a11qdc8mg3z0k613rhprkc9p6xz0y7b1681x32ixg0hr3x0r3x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-ppv-lite86" ,rust-ppv-lite86-0.2) + ("rust-stream-cipher" ,rust-stream-cipher-0.3)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/cryptocorrosion/cryptocorrosion") + (synopsis "The ChaCha family of stream ciphers") + (description + "The ChaCha family of stream ciphers.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-cast5-0.11 + (package + (name "rust-cast5") + (version "0.11.1") + (source (origin + (method url-fetch) + (uri (crate-uri "cast5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04crg8dj6lxbp3lmdc3filsahxcyvccvhm0gx40g1k5i7mkpvc16")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "CAST5 block cipher") + (description "CAST5 block cipher") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cbc-0.1 + (package + (name "rust-cbc") + (version "0.1.2") + (source (origin + (method url-fetch) + (uri (crate-uri "cbc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19l9y9ccv1ffg6876hshd123f2f8v7zbkc4nkckqycxf8fajmd96")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-modes") + (synopsis "Cipher Block Chaining (CBC) block cipher mode of operation") + (description "Cipher Block Chaining (CBC) block cipher mode of operation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cfb-mode-0.8 + (package + (name "rust-cfb-mode") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "cfb-mode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c6kd34jk4p52vr0qgn9slj6zdgmc42gfcqr6mqhmy37g138v2vk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-modes") + (synopsis "Cipher Feedback (CFB) block cipher mode of operation") + (description "Cipher Feedback (CFB) block cipher mode of operation") + (license (list license:expat license:asl2.0)))) + +(define-public rust-chacha20-0.9 + (package + (name "rust-chacha20") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0678wipx6kghp71hpzhl2qvx80q7caz3vm8vsvd07b1fpms3yqf3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-cpufeatures" ,rust-cpufeatures-0.2)) + #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/stream-ciphers") + (synopsis "ChaCha20 stream cipher implemented in pure Rust") + (description + "The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits +from the RustCrypto @code{cipher} crate, with optional architecture-specific +hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12, +XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional +@code{rand_core-compatible} RNGs based on those ciphers.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-chacha20-0.8 + (package + (inherit rust-chacha20-0.9) + (name "rust-chacha20") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \">=1, <1.5\"") "version = \"^1\"")))))) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-chacha20poly1305-0.9 + (package + (name "rust-chacha20poly1305") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xfgn306nfch4a4wwddha8lz6qpnhng50iy4prxlagg6kfq4d151")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \">=1, <1.5\"") "version = \"^1\"")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aead" ,rust-aead-0.4) + ("rust-chacha20" ,rust-chacha20-0.8) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-poly1305" ,rust-poly1305-0.7) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-aead" ,rust-aead-0.4)))) + (home-page "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305") + (synopsis + "Pure Rust implementation of ChaCha20Poly1305 Authenticated Encryption") + (description + "Pure Rust implementation of the ChaCha20Poly1305 Authenticated +Encryption with Additional Data Cipher (RFC 8439) with optional +architecture-specific hardware acceleration. Also contains implementations of +the XChaCha20Poly1305 extended nonce variant of ChaCha20Poly1305, and the +reduced-round ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-cipher-0.4 + (package + (name "rust-cipher") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b9x9agg67xq5nq879z66ni4l08m6m3hqcshk37d4is4ysd3ngvp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-crypto-common" ,rust-crypto-common-0.1) + ("rust-inout" ,rust-inout-0.1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://docs.rs/cipher/") + (synopsis "Traits for describing block ciphers and stream ciphers") + (description "This package provides traits which define the functionality +of block ciphers and stream ciphers. See RustCrypto/block-ciphers and +RustCrypto/stream-ciphers for algorithm implementations which use these +traits.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cipher-0.3 + (package + (inherit rust-cipher-0.4) + (name "rust-cipher") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-generic-array" ,rust-generic-array-0.14)))))) + +(define-public rust-cipher-0.2 + (package + (inherit rust-cipher-0.3) + (name "rust-cipher") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j")))))) + +(define-public rust-cmac-0.7 + (package + (name "rust-cmac") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (crate-uri "cmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1an1vcala24grlyhvk71ikxk2kmgcbal9kgrzzpjcl9z7i74ahw5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-dbl" ,rust-dbl-0.3) + ("rust-digest" ,rust-digest-0.10)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-des" ,rust-des-0.8) + ("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-kuznyechik" ,rust-kuznyechik-0.8) + ("rust-magma" ,rust-magma-0.8)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis "Generic implementation of Cipher-based Message Authentication Code") + (description "This package provides a pure Rust implementation of the +Cipher-based Message Authentication Code.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-crypto-secretbox-0.1 + (package + (name "rust-crypto-secretbox") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto_secretbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qa1w5s8dbyb88269zrmvbnillqahz394pl07bsds6gpmn3wzmmr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) + ("rust-chacha20" ,rust-chacha20-0.9) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-poly1305" ,rust-poly1305-0.8) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) + (home-page + "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox") + (synopsis + "Pure Rust implementation of the XSalsa20Poly1305") + (description + "Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. @code{NaCl} +crypto_secretbox) authenticated encryption cipher as well as the libsodium +variant of X@code{ChaCha20Poly1305}.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-crypto-bigint-0.5 + (package + (name "rust-crypto-bigint") + (version "0.5.2") + (source (origin + (method url-fetch) + (uri (crate-uri "crypto-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05gy7sqkxg65bj1wrgq1pbh8iwn1kmfysvzx1g22p4gx3972yk6g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-der" ,rust-der-0.7) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rlp" ,rust-rlp-0.5) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-core" ,rust-rand-core-0.6)))) + (home-page "https://github.com/RustCrypto/crypto-bigint") + (synopsis "Big integer library designed for use in cryptography") + (description + "This crate is a pure Rust implementation of a big integer library which +has been designed from the ground-up for use in cryptographic applications. +Provides constant-time, no_std-friendly implementations of modern formulas +using const generics.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-crypto-bigint-0.4 + (package + (inherit rust-crypto-bigint-0.5) + (name "rust-crypto-bigint") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vqprgj0aj1340w186zyspi58397ih78jsc0iydvhs6zrlilnazg")))) + (arguments + `(#:cargo-inputs (("rust-der" ,rust-der-0.6) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rlp" ,rust-rlp-0.5) + ("rust-serdect" ,rust-serdect-0.1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-core" ,rust-rand-core-0.6)))))) + +(define-public rust-crypto-bigint-0.3 + (package + (inherit rust-crypto-bigint-0.5) + (name "rust-crypto-bigint") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08gx92sj93hk2smqy4nvk8lmpjjjqm7a9ps22q3pxqqxzbas3ih3")))) + (arguments + `(#:cargo-inputs (("rust-generic-array" ,rust-generic-array-0.14) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rlp" ,rust-rlp-0.5) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-core" ,rust-rand-core-0.6)))))) + +(define-public rust-crypto-bigint-0.2 + (package + (inherit rust-crypto-bigint-0.5) + (name "rust-crypto-bigint") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-bigint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00qckh65nzb7s7vd60wylw6alxf9g37xh31lirb1qw0l8fxx6fzq")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.14) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rlp" ,rust-rlp-0.5) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-crypto-common-0.1 + (package + (name "rust-crypto-common") + (version "0.1.6") + (source (origin + (method url-fetch) + (uri (crate-uri "crypto-common" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cvby95a6xg7kxdz5ln3rl9xh66nz66w46mm3g56ri1z5x815yqv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.14) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-typenum" ,rust-typenum-1)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Common cryptographic traits") + (description + "This package contains a collection of traits which describe functionality +of cryptographic primitives.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + +(define-public rust-crypto-mac-0.11 + (package + (name "rust-crypto-mac") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Trait for Message Authentication Code (MAC) algorithms") + (description "This package provides trait for @dfn{Message Authentication +Code} (MAC) algorithms.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-crypto-mac-0.10 + (package + (inherit rust-crypto-mac-0.11) + (name "rust-crypto-mac") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))))) + +(define-public rust-crypto-mac-0.8 + (package + (inherit rust-crypto-mac-0.10) + (name "rust-crypto-mac") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))))) + +(define-public rust-crypto-mac-0.7 + (package + (inherit rust-crypto-mac-0.10) + (name "rust-crypto-mac") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.12) + ("rust-subtle" ,rust-subtle-1)))))) + +(define-public rust-crypto-mac-0.4 + (package + (inherit rust-crypto-mac-0.11) + (name "rust-crypto-mac") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-mac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p")))) + (arguments + `(#:cargo-inputs + (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-generic-array" ,rust-generic-array-0.8)))))) + +(define-public rust-crypto-tests-0.5 + (package + (name "rust-crypto-tests") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-tests" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08yrh40a9ll4k29ppizg2yjf96i6s3i9pbkhxp60y8arar93134v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.4) + ("rust-crypto-mac" ,rust-crypto-mac-0.4) + ("rust-digest" ,rust-digest-0.6) + ("rust-generic-array" ,rust-generic-array-0.8)))) + (home-page "https://github.com/RustCrypto/utils") + (synopsis "Test helpers for cryptographic algorithms") + (description "This package provides test helpers for cryptographic +algorithms.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-crypto-hash-0.3 + (package + (name "rust-crypto-hash") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto-hash" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jnxgpk0j29hzcv42viq5dckyfjnxdjsar55366j95zx80i1cxwa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-commoncrypto" ,rust-commoncrypto-0.2) + ("rust-hex" ,rust-hex-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-winapi" ,rust-winapi-0.3)))) + (inputs + (list openssl)) + (home-page "https://github.com/malept/crypto-hash") + (synopsis "Wrapper for OS-level cryptographic hash functions") + (description "This package provides a wrapper for OS-level cryptographic +hash functions.") + (license license:expat))) + +(define-public rust-ctr-0.9 + (package + (name "rust-ctr") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ctr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d88b73waamgpfjdml78icxz45d95q7vi2aqa604b0visqdfws83")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-kuznyechik" ,rust-kuznyechik-0.8) + ("rust-magma" ,rust-magma-0.8)))) + (home-page "https://docs.rs/ctr/") + (synopsis "CTR block mode of operation") + (description "This package provides a generic implementations of CTR mode +for block ciphers. Mode functionality is accessed using traits from +re-exported cipher crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ctr-0.8 + (package + (inherit rust-ctr-0.9) + (name "rust-ctr") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ctr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sk1aykwhkny92cnvl6s75dx3fyvfzw5xkd6xz3y7w5anhgvk6q4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cipher" ,rust-cipher-0.3)))))) + +(define-public rust-ctr-0.6 + (package + (inherit rust-ctr-0.8) + (name "rust-ctr") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ctr" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cipher" ,rust-cipher-0.2)))))) + +(define-public rust-curve25519-dalek-3 + (package + (name "rust-curve25519-dalek") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "curve25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.9) + ("rust-fiat-crypto" ,rust-fiat-crypto-0.1) + ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-rand" ,rust-rand-0.7) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://dalek.rs/curve25519-dalek") + (synopsis "Group operations on ristretto255 and Curve25519") + (description + "This package provides a pure-Rust implementation of group operations on +ristretto255 and Curve25519.") + (license license:bsd-3))) + +(define-public rust-curve25519-dalek-ng-4 + (package + (name "rust-curve25519-dalek-ng") + (version "4.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "curve25519-dalek-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j6y6dsqdfp26ifyygibsrm1a8f9f7870i4053xlczil95r9nd8w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.9) + ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-subtle-ng" ,rust-subtle-ng-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/zkcrypto/curve25519-dalek-ng") + (synopsis "Implementation of group operations on ristretto255 and Curve25519") + (description + "This package provides a pure-Rust implementation of group operations on +ristretto255 and Curve25519.") + (license license:bsd-3))) + +(define-public rust-des-0.8 + (package + (name "rust-des") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "des" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07kshslxanmg0g6007scvglfhg6mli2a8qzhx4kxx4z9ik781pgz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.4)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "DES and Triple DES block ciphers implementation") + (description "This package provides DES and Triple DES (3DES, TDES) block +ciphers implementations.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-des-0.7 + (package + (inherit rust-des-0.8) + (name "rust-des") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "des" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pbsfkkwfqnd4nsv3ik4z09h248f57y7bj2j1l134i2mzd4xshdc")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)))))) + +(define-public rust-des-0.6 + (package + (inherit rust-des-0.7) + (name "rust-des") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "des" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-cipher" ,rust-cipher-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.2)))))) + +(define-public rust-digest-0.10 + (package + (name "rust-digest") + (version "0.10.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14p2n6ih29x81akj097lvz7wi9b6b9hvls0lwrv7b6xwyy0s5ncy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-block-buffer" ,rust-block-buffer-0.10) + ("rust-const-oid" ,rust-const-oid-0.9) + ("rust-crypto-common" ,rust-crypto-common-0.1) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for cryptographic hash functions") + (description + "Traits for cryptographic hash functions.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-digest-0.9 + (package + (inherit rust-digest-0.10) + (name "rust-digest") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk")))) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.14)))))) + +(define-public rust-digest-0.8 + (package + (inherit rust-digest-0.9) + (name "rust-digest") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.12)))))) + +(define-public rust-digest-0.6 + (package + (name "rust-digest") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "digest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02mgf8z4hi96w9nl2zb5w3k6lqbhjgv5z8hhyv2b7x7kavqrpcp5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.8)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Traits for cryptographic hash functions") + (description "This package provides traits for cryptographic hash +functions.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-eax-0.5 + (package + (name "rust-eax") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "eax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a5cpzk577f1lw3wkk20iqvavnbdr5yzjrcglvbvk0ivj2yzlm4r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aead" ,rust-aead-0.5) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-cmac" ,rust-cmac-0.7) + ("rust-ctr" ,rust-ctr-0.9) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-aead" ,rust-aead-0.5) + ("rust-aes" ,rust-aes-0.8)))) + (home-page "https://github.com/RustCrypto/AEADs") + (synopsis "Pure Rust implementation of the EAX Authenticated Encryption with +Associated Data (AEAD)") + (description + "Pure Rust implementation of the EAX Authenticated Encryption with Associated +Data (AEAD) Cipher with optional architecture-specific hardware acceleration +This scheme is only based on a block cipher. It uses counter mode (CTR) for +encryption and CBC mode for generating a OMAC/CMAC/CBCMAC (all names for the +same thing).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-ecdsa-0.16 + (package + (name "rust-ecdsa") + (version "0.16.6") + (source (origin + (method url-fetch) + (uri (crate-uri "ecdsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zapr75j8w1b7bdnijppb94f2jrk2qdrhv8i4fqc0c4agd9mv3m4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-der" ,rust-der-0.7) + ("rust-digest" ,rust-digest-0.10) + ("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-rfc6979" ,rust-rfc6979-0.4) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2)) + #:cargo-development-inputs + (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/RustCrypto/signatures/tree/master/ecdsa") + (synopsis "Pure Rust implementation of the ECDSA algorithm") + (description + "This package provides a pure Rust implementation of the @dfn{Elliptic +Curve Digital Signature Algorithm} (ECDSA) as specified in FIPS 186-4 (Digital +Signature Standard), providing RFC6979 deterministic signatures as well as +support for added entropy.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-ecdsa-0.14 + (package + (inherit rust-ecdsa-0.16) + (name "rust-ecdsa") + (version "0.14.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "ecdsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p1wxap2s6jm06y2w3cal8dkz6p9223ir9wws70rgx8h929h2cs1")))) + (arguments + `(#:cargo-inputs (("rust-der" ,rust-der-0.6) + ("rust-elliptic-curve" ,rust-elliptic-curve-0.12) + ("rust-rfc6979" ,rust-rfc6979-0.3) + ("rust-serdect" ,rust-serdect-0.1) + ("rust-signature" ,rust-signature-1)) + #:cargo-development-inputs (("rust-elliptic-curve" ,rust-elliptic-curve-0.12) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-sha2" ,rust-sha2-0.10)))))) + +(define-public rust-ecies-ed25519-0.5 + (package + (name "rust-ecies-ed25519") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ecies-ed25519" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nrmam79mn2y6b235rpq6lhlsfl63275j2yxps86424gh99j720a")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aes-gcm" ,rust-aes-gcm-0.8) + ("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-digest" ,rust-digest-0.9) + ("rust-hex" ,rust-hex-0.4) + ("rust-hkdf" ,rust-hkdf-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-ring" ,rust-ring-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/phayes/ecies-ed25519") + (synopsis + "Integrated encryption scheme on Twisted Edwards Curve25519") + (description + "ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ed25519-1 + (package + (name "rust-ed25519") + (version "1.5.3") + (source (origin + (method url-fetch) + (uri (crate-uri "ed25519" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rzydm5wd8szkddx3g55w4vm86y1ika8qp8qwckada5vf1fg7kwi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pkcs8" ,rust-pkcs8-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-signature" ,rust-signature-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-rand-core" ,rust-rand-core-0.5)))) + (home-page "https://github.com/RustCrypto/signatures/tree/master/ed25519") + (synopsis "Edwards Digital Signature Algorithm (EdDSA) over Curve25519") + (description + "EdDSA over Curve25519 is specified in RFC 8032. This package contains +an ed25519::Signature type which other packages can use in conjunction with +the signature::Signer and signature::Verifier traits It doesn't contain an +implementation of Ed25519. + +These traits allow packages which produce and consume Ed25519 signatures to be +written abstractly in such a way that different signer/verifier providers can +be plugged in, enabling support for using different Ed25519 implementations, +including HSMs or Cloud KMS services.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-ed25519-compact-2 + (package + (name "rust-ed25519-compact") + (version "2.0.4") + (source (origin + (method url-fetch) + (uri (crate-uri "ed25519-compact" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k4y7bjl5g0l871iav4zj35qx047n0a4qsvhr28p6434hhp3hgba")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ct-codecs" ,rust-ct-codecs-1) + ("rust-ed25519" ,rust-ed25519-1) + ("rust-getrandom" ,rust-getrandom-0.2)) + #:cargo-development-inputs + (("rust-ct-codecs" ,rust-ct-codecs-1) + ("rust-getrandom" ,rust-getrandom-0.2)))) + (home-page "https://github.com/jedisct1/rust-ed25519-compact") + (synopsis "Wasm-friendly Ed25519 implementation") + (description + "This package provides a small, self-contained, wasm-friendly Ed25519 +implementation.") + (license license:expat))) + +(define-public rust-ed25519-dalek-1 + (package + (name "rust-ed25519-dalek") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17bsriciv93nkm39z22w7mr0h2a3hnbmgf378v4c895gvkkblqn7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-ed25519" ,rust-ed25519-1) + ("rust-merlin" ,rust-merlin-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://dalek.rs") + (synopsis "Ed25519 EdDSA key generations, signing, and verification") + (description + "This package provides fast and efficient ed25519 EdDSA key generations, +signing, and verification in pure Rust.") + (license license:bsd-3))) + +(define-public rust-elliptic-curve-0.13 + (package + (name "rust-elliptic-curve") + (version "0.13.4") + (source (origin + (method url-fetch) + (uri (crate-uri "elliptic-curve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rqn7yq9rgfs7r0dcj4phxf9hqmw2alfxa0lciamsbkz6sm1xivm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base16ct" ,rust-base16ct-0.2) + ("rust-base64ct" ,rust-base64ct-1) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.5) + ("rust-digest" ,rust-digest-0.10) + ("rust-ff" ,rust-ff-0.13) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-group" ,rust-group-0.13) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sec1" ,rust-sec1-0.7) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))) + (home-page + "https://github.com/RustCrypto/traits/tree/master/elliptic-curve") + (synopsis "General purpose Elliptic Curve Cryptography (ECC) support") + (description + "This package provides general purpose @dfn{Elliptic Curve Cryptography} +(ECC) support, including types and traits for representing various elliptic +curve forms, scalars, points, and public/secret keys composed thereof.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-elliptic-curve-0.12 + (package + (inherit rust-elliptic-curve-0.13) + (name "rust-elliptic-curve") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "elliptic-curve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lwi108mh6drw5nzqzlz7ighdba5qxdg5vmwwnw1j2ihnn58ifz7")))) + (arguments + `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) + ("rust-base64ct" ,rust-base64ct-1) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.4) + ("rust-der" ,rust-der-0.6) + ("rust-digest" ,rust-digest-0.10) + ("rust-ff" ,rust-ff-0.12) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-group" ,rust-group-0.12) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) + ("rust-pkcs8" ,rust-pkcs8-0.9) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sec1" ,rust-sec1-0.3) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serdect" ,rust-serdect-0.1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))))) + +(define-public rust-ghash-0.5 + (package + (name "rust-ghash") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ghash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h1y3v3kj8xxkf2snv1yly0lr20fdh3jrm60p382szbiwl6pac6r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-polyval" ,rust-polyval-0.6) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/universal-hashes") + (synopsis "Universal hash over GF(2^128)") + (description "This package provides a universal hash over GF(2^128) useful +for constructing a Message Authentication Code (MAC), as in the AES-GCM +authenticated encryption cipher.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ghash-0.3 + (package + (inherit rust-ghash-0.5) + (name "rust-ghash") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ghash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xd362xh17hadc2194dd6kjjq0ak1j4x7kkmfmpq9hw2s564wc4p")))) + (arguments + `(#:cargo-inputs + (("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-polyval" ,rust-polyval-0.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-ghash-0.2 + (package + (inherit rust-ghash-0.3) + (name "rust-ghash") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ghash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lijv1y6qcysnxv45ny5fjvc4v9gmpggxlj6xa4l065737nk02cz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-polyval" ,rust-polyval-0.3) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-hkdf-0.12 + (package + (name "rust-hkdf") + (version "0.12.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xxxzcarz151p1b858yn5skmhyrvn8fs4ivx5km3i1kjmnr8wpvv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hmac" ,rust-hmac-0.12)) + #:cargo-development-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.2) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/RustCrypto/KDFs/") + (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)") + (description "This package provides a HMAC-based Extract-and-Expand Key +Derivation Function (HKDF).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hkdf-0.11 + (package + (inherit rust-hkdf-0.12) + (name "rust-hkdf") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01")))) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.11)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-blobby" ,rust-blobby-0.3) + ("rust-crypto-tests" ,rust-crypto-tests-0.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-hkdf-0.10 + (package + (inherit rust-hkdf-0.11) + (name "rust-hkdf") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi")))) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.10)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-crypto-tests" ,rust-crypto-tests-0.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-hkdf-0.9 + (package + (inherit rust-hkdf-0.11) + (name "rust-hkdf") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.8)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-crypto-tests" ,rust-crypto-tests-0.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-hkdf-0.8 + (package + (inherit rust-hkdf-0.9) + (name "rust-hkdf") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qzsmqrvcmgnrb109qr2mvsmr5c4psm1702vrpcqnj02c408m81z")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.8) + ("rust-hmac" ,rust-hmac-0.7)))))) + +(define-public rust-hmac-0.12 + (package + (name "rust-hmac") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pmbr069sfg76z7wsssfk5ddcqd9ncp79fyz6zcm6yn115yc6jbc")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-digest" ,rust-digest-0.10)))) + (home-page "https://github.com/RustCrypto/MACs") + (synopsis "Generic implementation of Hash-based Message Authentication Code") + (description + "This package provides a generic implementation of @acronym{HMAC, +Hash-based Message Authentication Code}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hmac-0.11 + (package + (inherit rust-hmac-0.12) + (name "rust-hmac") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-streebog" ,rust-streebog-0.9)))))) + +(define-public rust-hmac-0.10 + (package + (inherit rust-hmac-0.11) + (name "rust-hmac") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-hmac-0.8 + (package + (inherit rust-hmac-0.11) + (name "rust-hmac") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.8) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-hmac-0.7 + (package + (inherit rust-hmac-0.8) + (name "rust-hmac") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15cnwpssp2n1kdm9x7abir67f2hp3q6rdfj1mcck3hm4rmj5xjsx")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.7) + ("rust-digest" ,rust-digest-0.8)) + #:cargo-development-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.7) + ("rust-md-5" ,rust-md-5-0.8) + ("rust-sha2" ,rust-sha2-0.8)))))) + +(define-public rust-hmac-sha1-0.1 + (package + (name "rust-hmac-sha1") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hmac-sha1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08k7aylc0v8x3abmxn3h73dkad3anfq2i94xk2mjrf4linnkycz1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-sha1" ,rust-sha1-0.2)))) + (home-page "https://github.com/pantsman0/rust-hmac-sha1") + (synopsis "Minimal implementation of HMAC-SHA1 in Rust") + (description + "This package is a pure Rust implementation of the @acronym{HMAC, +Hash-based Message Authentication Code algorithm} for SHA1.") + (license license:bsd-3))) + +(define-public rust-kuznyechik-0.8 + (package + (name "rust-kuznyechik") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "kuznyechik" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0av39qh65xchvpfjkcwh861h9bzmmrgcrzl5h0sa5b692xabd0w4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Kuznyechik (GOST R 34.12-2015) block cipher") + (description "Kuznyechik (GOST R 34.12-2015) block cipher") + (license (list license:expat license:asl2.0)))) + +(define-public rust-md-5-0.10 + (package + (name "rust-md-5") + (version "0.10.5") + (source (origin + (method url-fetch) + (uri (crate-uri "md-5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jmrykh705dfclkgxwjysj5y8l1nyrn1gddw5xpgyjyla1l50rb3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-md5-asm" ,rust-md5-asm-0.5)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "MD5 hash function") + (description + "This library provides a MD5 hash function for Rust.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + +(define-public rust-md-5-0.9 + (package + (inherit rust-md-5-0.10) + (name "rust-md-5") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "md-5" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "059ajjacz1q3cms7vl6cvhdqs4qdw2nnwj9dq99ryzv0p6djfnkv")))) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.9) + ("rust-digest" ,rust-digest-0.9) + ("rust-md5-asm" ,rust-md5-asm-0.4) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-md-5-0.8 + (package + (inherit rust-md-5-0.9) + (name "rust-md-5") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "md-5" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j5rfxy2p76xf5f1lgaw85xla0b1bbv2lknvdhv1j0ibmzfg72m1")))) + (arguments + `(#:tests? #f ; cannot find macro `proc_macro_call` in this scope + #:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.7) + ("rust-digest" ,rust-digest-0.8) + ("rust-md5-asm" ,rust-md5-asm-0.4) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.8) + ("rust-hex-literal" ,rust-hex-literal-0.1)))))) + +(define-public rust-md5-0.7 + (package + (name "rust-md5") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "md5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wcps37hrhz59fkhf8di1ppdnqld6l1w5sdy7jp7p51z0i4c8329")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/stainless-steel/md5") + (synopsis "MD5 hash function in Rust") + (description "The package provides the MD5 hash function.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-md5-0.6 + (package + (inherit rust-md5-0.7) + (name "rust-md5") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "md5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy")))))) + +(define-public rust-md5-0.3 + (package + (inherit rust-md5-0.6) + (name "rust-md5") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "md5" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0j2s8aqdkhwhy7awga2bmv5n8qq8bgy8672iha9f3y871dm6vibr")))))) + +(define-public rust-md5-asm-0.5 + (package + (name "rust-md5-asm") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "md5-asm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ixmkg8j7sqy9zln6pz9xi2dl2d9zpm8pz6p49za47n1bvradfbk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/RustCrypto/asm-hashes") + (synopsis "Assembly implementation of MD5 compression function") + (description + "This package contains an assembly implementation of the MD5 +compression function.") + (supported-systems '("x86_64-linux" "i686-linux")) + (license license:expat))) + +(define-public rust-md5-asm-0.4 + (package + (inherit rust-md5-asm-0.5) + (name "rust-md5-asm") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "md5-asm" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gpk5647js1k084jc7pg2gji0cvl6hjkkbfia6lnpk8y4shyairv")))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)))))) + +(define-public rust-nettle-7 + (package + (name "rust-nettle") + (version "7.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nettle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dk36l90p79c3xgmrzp8489h8dfaal0jzaid1n8n3cg7xbrwrzdr")))) + (build-system cargo-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list clang gmp nettle)) + (arguments + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-nettle-sys" ,rust-nettle-sys-2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-typenum" ,rust-typenum-1)))) + (home-page "https://gitlab.com/sequoia-pgp/nettle-rs") + (synopsis "Rust bindings for the Nettle cryptographic library") + (description "This package provides Rust bindings for the Nettle +cryptographic library.") + (license (list license:lgpl3 license:gpl2 license:gpl3)))) + +(define-public rust-nettle-5 + (package + (inherit rust-nettle-7) + (version "5.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "nettle" version)) + (file-name + (string-append (package-name rust-nettle-7) "-" version ".tar.gz")) + (sha256 + (base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4")) + (patches (search-patches "rust-nettle-disable-vendor.patch")))) + (arguments + `(#:cargo-inputs + (("rust-failure" ,rust-failure-0.1) + ("rust-getrandom" ,rust-getrandom-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nettle-sys" ,rust-nettle-sys-2)))))) + +(define-public rust-nettle-sys-2 + (package + (name "rust-nettle-sys") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nettle-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wwa7pmxdz7yl9jwybml2kmrj3i87jcn0h0cdc5xl0lhgcs1rs5m")))) + (build-system cargo-build-system) + (native-inputs + (list clang pkg-config)) + (inputs + (list nettle)) + (arguments + `(#:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.63) + ("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (home-page "https://gitlab.com/sequoia-pgp/nettle-sys") + (synopsis "Low-level Rust bindings for the Nettle cryptographic library") + (description "This package provides low-level Rust bindings for the Nettle +cryptographic library.") + (license ;; licensed under either of these, at your option + (list license:lgpl3 license:gpl2 license:gpl3)))) + +(define-public rust-orion-0.17 + (package + (name "rust-orion") + (version "0.17.4") + (source (origin + (method url-fetch) + (uri (crate-uri "orion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ri0b0vyd9vqwlzlcv0q4i7r9pga23q7nnnvd5z4zycjc9v4mryb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ct-codecs" ,rust-ct-codecs-1) + ("rust-fiat-crypto" ,rust-fiat-crypto-0.1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-hex" ,rust-hex-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/orion-rs/orion") + (synopsis "Pure-Rust crypto") + (description + "Orion is a cryptography library written in pure Rust. It aims to provide +easy and usable crypto while trying to minimize the use of unsafe code.") + (license license:expat))) + +(define-public rust-p256-0.13 + (package + (name "rust-p256") + (version "0.13.2") + (source (origin + (method url-fetch) + (uri (crate-uri "p256" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jyd3c3k239ybs59ixpnl7dqkmm072fr1js8kh7ldx58bzc3m1n9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("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-serdect" ,rust-serdect-0.2) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-criterion" ,rust-criterion-0.4) + ("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/p256") + (synopsis "Pure Rust implementation of the NIST P-256") + (description + "This package provides a pure Rust implementation of the NIST P-256 (a.k.a. +secp256r1, prime256v1) elliptic curve as defined in SP 800-186, with support for +ECDH, ECDSA signing/verification, and general purpose curve arithmetic.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-p384-0.13 + (package + (name "rust-p384") + (version "0.13.0") + (source (origin + (method url-fetch) + (uri (crate-uri "p384" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02cjlxdvxwvhmnckqnydqpvrwhf5raj67q300d66m7y6pi8nyy3h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-primeorder" ,rust-primeorder-0.13) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-blobby" ,rust-blobby-0.3) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand-core" ,rust-rand-core-0.6)))) + (home-page + "https://github.com/RustCrypto/elliptic-curves/tree/master/p384") + (synopsis "Pure Rust implementation of the NIST P-384 elliptic curve") + (description + "This package provides a pure Rust implementation of the NIST P-384 (a.k.a. +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-pbkdf2-0.12 + (package + (name "rust-pbkdf2") + (version "0.12.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wms79jh4flpy1zi8xdp4h8ccxv4d85adc6zjagknvppc5vnmvgq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-password-hash" ,rust-password-hash-0.5) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-streebog" ,rust-streebog-0.10)))) + (home-page + "https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2") + (synopsis "Generic implementation of PBKDF2") + (description "This package contains a collection of password hashing +algorithms, otherwise known as password-based key derivation functions, written +in pure Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pbkdf2-0.11 + (package + (inherit rust-pbkdf2-0.12) + (name "rust-pbkdf2") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843")))) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-password-hash" ,rust-password-hash-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-streebog" ,rust-streebog-0.10)))) + (home-page "https://github.com/RustCrypto/password-hashing"))) + +(define-public rust-pbkdf2-0.10 + (package + (inherit rust-pbkdf2-0.11) + (name "rust-pbkdf2") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1myz799hi58qxdxc9cch3q2sl0vs68vmgrd3j7dmc6aqbgrpj5r7")))) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-password-hash" ,rust-password-hash-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-streebog" ,rust-streebog-0.10)))))) + +(define-public rust-pbkdf2-0.9 + (package + (inherit rust-pbkdf2-0.10) + (name "rust-pbkdf2") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h")))) + (arguments + `(#:cargo-inputs + (("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-password-hash" ,rust-password-hash-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-streebog" ,rust-streebog-0.9)))))) + +(define-public rust-pbkdf2-0.8 + (package + (inherit rust-pbkdf2-0.10) + (name "rust-pbkdf2") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr")))) + (arguments + (list #:cargo-inputs + `(("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-base64ct" ,rust-base64ct-1) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-password-hash" ,rust-password-hash-0.2) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs + `(("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-pkcs1-0.7 + (package + (name "rust-pkcs1") + (version "0.7.5") + (source (origin + (method url-fetch) + (uri (crate-uri "pkcs1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zz4mil3nchnxljdfs2k5ab1cjqn7kq5lqp62n9qfix01zqvkzy8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-der" ,rust-der-0.7) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-spki" ,rust-spki-0.7)) + #:cargo-development-inputs + (("rust-const-oid" ,rust-const-oid-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs1") + (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #1") + (description + "This package provides a pure Rust implementation of Public-Key +Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 +(RFC 8017).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-pkcs1-0.3 + (package + (inherit rust-pkcs1-0.7) + (name "rust-pkcs1") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0813szfx13n4xl6l19m3lwj7pqgljqwc6ipxhr2dv0yc9k06d3x7")))) + (arguments + `(#:cargo-inputs (("rust-der" ,rust-der-0.5) + ("rust-pkcs8" ,rust-pkcs8-0.8) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + +(define-public rust-pkcs1-0.2 + (package + (inherit rust-pkcs1-0.7) + (name "rust-pkcs1") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b2f1a0lf5h53zrjvcqbxzjhh89gcfa1myhf6z7w10ypg61fwsqi")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-der" ,rust-der-0.4) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.2) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-pkcs5-0.7 + (package + (name "rust-pkcs5") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "pkcs5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19k9igzay529fqj90qdkgnvmvwp65wzw73h2vn3sigqq3b4y4iz8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-der" ,rust-der-0.7) + ("rust-des" ,rust-des-0.8) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) + ("rust-scrypt" ,rust-scrypt-0.11) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-spki" ,rust-spki-0.7)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs5") + (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #5") + (description + "This package is a pure Rust implementation of Public-Key Cryptography +Standards (PKCS) #5: Password-Based Cryptography Specification Version +2.1 (RFC 8018).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-pkcs5-0.5 + (package + (inherit rust-pkcs5-0.7) + (name "rust-pkcs5") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pkcs5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x81m285ijqi0fqkgym6a6ax02mfzdx87zfvqgrjsc2w3wn8c3fi")))) + (arguments + `(#:cargo-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-der" ,rust-der-0.6) + ("rust-des" ,rust-des-0.8) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-pbkdf2" ,rust-pbkdf2-0.11) + ("rust-scrypt" ,rust-scrypt-0.10) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-spki" ,rust-spki-0.6)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + +(define-public rust-pkcs5-0.4 + (package + (inherit rust-pkcs5-0.7) + (name "rust-pkcs5") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xhyi3k5p6lxb28ivcd1f3skdbmhzk0gamfry7q56pifx9xi8g6n")))) + (arguments + `(#:cargo-inputs (("rust-aes" ,rust-aes-0.7) + ("rust-block-modes" ,rust-block-modes-0.8) + ("rust-der" ,rust-der-0.5) + ("rust-des" ,rust-des-0.7) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-pbkdf2" ,rust-pbkdf2-0.9) + ("rust-scrypt" ,rust-scrypt-0.8) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-spki" ,rust-spki-0.5)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + +(define-public rust-pkcs5-0.3 + (package + (inherit rust-pkcs5-0.7) + (name "rust-pkcs5") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-aes" ,rust-aes-0.7) + ("rust-block-modes" ,rust-block-modes-0.8) + ("rust-der" ,rust-der-0.4) + ("rust-des" ,rust-des-0.7) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-pbkdf2" ,rust-pbkdf2-0.9) + ("rust-scrypt" ,rust-scrypt-0.8) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-spki" ,rust-spki-0.4)))))) + +(define-public rust-pkcs8-0.10 + (package + (name "rust-pkcs8") + (version "0.10.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pkcs8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dx7w21gvn07azszgqd3ryjhyphsrjrmq5mmz1fbxkj5g0vv4l7r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-der" ,rust-der-0.7) + ("rust-pkcs5" ,rust-pkcs5-0.7) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-spki" ,rust-spki-0.7) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs8") + (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #8") + (description + "This package is a pure Rust implementation of Public-Key Cryptography +Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), +with additional support for PKCS#8v2 asymmetric key packages (RFC 5958).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-pkcs8-0.9 + (package + (inherit rust-pkcs8-0.10) + (name "rust-pkcs8") + (version "0.9.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pkcs8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fm4sigvcd0zpzg9jcp862a8p272kk08b9lgcs1dm1az19cjrjly")))) + (arguments + `(#:cargo-inputs + (("rust-der" ,rust-der-0.6) + ("rust-pkcs5" ,rust-pkcs5-0.5) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-spki" ,rust-spki-0.6) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-pkcs8-0.8 + (package + (inherit rust-pkcs8-0.10) + (name "rust-pkcs8") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l29h4mrgi2kpsl98jzky3ni5by3xa1sc6db9yd8l1i1p0zxmavw")))) + (arguments + `(#:cargo-inputs (("rust-der" ,rust-der-0.5) + ("rust-pkcs5" ,rust-pkcs5-0.4) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-spki" ,rust-spki-0.5) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + +(define-public rust-pkcs8-0.7 + (package + (inherit rust-pkcs8-0.10) + (name "rust-pkcs8") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0iq46p6fa2b8xy6pj52zpmdy8ya3fg31dj4rc19x1fi69nvgjgpf")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-der" ,rust-der-0.4) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.2) + ("rust-pkcs1" ,rust-pkcs1-0.2) + ("rust-pkcs5" ,rust-pkcs5-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-spki" ,rust-spki-0.4) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-pem-rfc7468-0.7 + (package + (name "rust-pem-rfc7468") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") + (synopsis + "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding") + (description + "This package provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS +Structures, implementing a strict subset of the original Privacy-Enhanced Mail +encoding intended specifically for use with cryptographic keys, certificates, +and other messages. It provides a no_std-friendly, constant-time +implementation suitable for use with cryptographic private keys.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-pem-rfc7468-0.6 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b5d8rvc4lgwxhs72m99fnrg0wq7bqh4x4wq0c7501ci7a1mkl94")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-pem-rfc7468-0.3 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c7vrrksg8fqzxb7q4clzl14f0qnqky7jqspjqi4pailiybmvph1")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-pem-rfc7468-0.2 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-poly1305-0.8 + (package + (name "rust-poly1305") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1grs77skh7d8vi61ji44i8gpzs3r9x7vay50i6cg8baxfa8bsnc1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-universal-hash" ,rust-universal-hash-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/universal-hashes") + (synopsis "Poly1305 universal hash") + (description + "Poly1305 is a universal hash function which, when combined with +a cipher, can be used as a Message Authentication Code (MAC).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-poly1305-0.7 + (package + (inherit rust-poly1305-0.8) + (name "rust-poly1305") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pkf4jlriskq9rvz8y5fjj9dw42q6yg5djijlin4n6p1dd3yp2h4")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("version = \">=1, <1\\.4\"") "version = \"^1\"")))))) + (arguments + `(#:cargo-inputs + (("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-universal-hash" ,rust-universal-hash-0.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + +(define-public rust-polyval-0.6 + (package + (name "rust-polyval") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polyval" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iihmpn1h1ag5zl368yfq0jz1drfdw7xg7zpaqpcppqiikh39wky")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-universal-hash" ,rust-universal-hash-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/universal-hashes") + (synopsis "GHASH-like universal hash") + (description "POLYVAL is a GHASH-like universal hash over GF(2^128) useful +for constructing a Message Authentication Code (MAC).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-polyval-0.4 + (package + (inherit rust-polyval-0.6) + (name "rust-polyval") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "polyval" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kdpcjhc3666g8xaqichsyf6fhn8rry3z70dqhmvv6hb2jmc9g7f")))) + (arguments + `(#:cargo-inputs + (("rust-cpuid-bool" ,rust-cpuid-bool-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-universal-hash" ,rust-universal-hash-0.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-polyval-0.3 + (package + (inherit rust-polyval-0.4) + (name "rust-polyval") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "polyval" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 (base32 "04m2wf4pk6gglvl12fj7ylc2iqhxmzqj46rds6zy73cpk0a39hvy")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-universal-hash" ,rust-universal-hash-0.3) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-ppv-lite86-0.2 + (package + (name "rust-ppv-lite86") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "ppv-lite86" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1shj4q7jwj0azssr8cg51dk3kh7d4lg9rmbbz1kbqk971vc5wyi3")))) + (build-system cargo-build-system) + (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 +for x86.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-primeorder-0.13 + (package + (name "rust-primeorder") + (version "0.13.1") + (source (origin + (method url-fetch) + (uri (crate-uri "primeorder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ddz0d0fzzcpdlsj6c6989va8ykf702g3zmf7dszfa0y6rski3fg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-serdect" ,rust-serdect-0.2)))) + (home-page + "https://github.com/RustCrypto/elliptic-curves/tree/master/primeorder") + (synopsis + "Rust implementation of addition formulas for prime order elliptic curves") + (description + "This package contains a pure Rust implementation of complete addition +formulas for prime order elliptic curves (Renes-Costello-Batina 2015). It +provides a generic over field elements and curve equation coefficients.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-rfc6979-0.4 + (package + (name "rust-rfc6979") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (crate-uri "rfc6979" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1chw95jgcfrysyzsq6a10b1j5qb7bagkx8h0wda4lv25in02mpgq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hmac" ,rust-hmac-0.12) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/RustCrypto/signatures/tree/master/rfc6979") + (synopsis "Pure Rust implementation of RFC6979") + (description + "This package provides a pure Rust implementation of RFC6979: Deterministic +Usage of the @dfn{Digital Signature Algorithm} (DSA) and @dfn{Elliptic Curve +Digital Signature Algorithm} (ECDSA).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-rfc6979-0.3 + (package + (inherit rust-rfc6979-0.4) + (name "rust-rfc6979") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rfc6979" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fzsp705b5lhwd2r9il9grc3lj6rm3b2r89vh0xv181gy5xg2hvp")))) + (arguments + `(#:cargo-inputs (("rust-crypto-bigint" ,rust-crypto-bigint-0.4) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-sha2" ,rust-sha2-0.10)))))) + +(define computed-origin-method (@@ (guix packages) computed-origin-method)) +(define rust-ring-0.17-sources + (let* ((version "0.17.7") + (upstream-source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/briansmith/ring") + (commit "2be687bebdf76648ce85109d40c015412e14b0da"))) + (file-name (git-file-name "rust-ring" version)) + (sha256 + (base32 "1i3b7sha8yj990v2s5yk2a5dx3v4x9b8ckzm6bgiyi6wk4vnid69")) + (patches (search-patches "rust-ring-0.17-ring-core.patch"))))) + (origin + (method computed-origin-method) + (file-name (string-append "rust-ring-" version ".tar.gz")) + (sha256 #f) + (uri + (delay + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + (set-path-environment-variable + "PATH" '("bin") + (list #+(canonical-package gzip) + #+(canonical-package tar) + #+perl + #+nasm + #+go + #+clang ; clang-format + #+python-minimal)) + (setenv "HOME" (getcwd)) + (copy-recursively #+upstream-source + (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + ;; It turns out Guix's nasm works just fine here. + (substitute* "build.rs" + (("./target/tools/windows/nasm/nasm") "nasm")) + ;; Files which would be deleted in a snippet: + (delete-file "crypto/curve25519/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/p256-nistz-table.h") + (delete-file "crypto/fipsmodule/ec/p256_table.h") + ;; This file causes problems during the 'package phase and + ;; is not distributed with the packaged crate. + (substitute* "Cargo.toml" + (("\"bench\",") "")) + (delete-file "bench/Cargo.toml") + ;; Files to be generated in the sources: + (format #t "Generating the missing files ...~%") + (force-output) + (with-directory-excursion "crypto/curve25519" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python3" "make_curve25519_tables.py"))) + ;; As seen in git between 0.17.0 and 0.17.1. + (substitute* "curve25519_tables.h" + (("static const uint8_t k25519Precomp") + "const uint8_t k25519Precomp"))) + (with-directory-excursion "crypto/fipsmodule/ec" + (invoke "go" "run" "make_tables.go") + (invoke "go" "run" "make_ec_scalar_base_mult_tests.go")) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp/ring_core_generated") + + ;; We generate all the files which upstream would normally be + ;; generate by using 'RING_PREGENERATE_ASM=1 cargo build + ;; --target-dir=target/pregenerate_asm' in order to not include + ;; a dependency on cargo when generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S")) + (invoke "perl" script "win64" + (string-append (prefix script) "-win64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv8.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/fipsmodule/ec/asm/p256-armv8-asm.pl" + "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (for-each + (lambda (arch) + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + arch (string-append + "pregenerated/sha256-armv8-" arch ".S"))) + '("ios64" "linux64" "win64")) + + (for-each + (lambda (script) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl")) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + ;; TODO: Extract ring_core_generated/prefix_symbols_nasm.inc + ;; and ring_core_generated/prefix_symbols_asm.h from build.rs. + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "o") + "-f" "win32" "-i" "include/" "-i" "pregenerated/tmp/" + "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "o") + "-f" "win64" "-i" "include/" "-i" "pregenerated/tmp/" + "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "nasm\\.asm")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))))))) + +(define-public rust-ring-0.17 + (package + (name "rust-ring") + (version "0.17.7") + (source rust-ring-0.17-sources) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-spin" ,rust-spin-0.9) + ("rust-untrusted" ,rust-untrusted-0.9) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/briansmith/ring") + (synopsis "Safe, fast, small crypto using Rust") + (description "This package provided safe, fast, small crypto using Rust.") + (license (list license:isc license:openssl)))) + +(define rust-ring-0.16-sources + (let* ((version "0.16.20") + (upstream-source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/briansmith/ring") + (commit "9cc0d45f4d8521f467bb3a621e74b1535e118188"))) + (file-name (git-file-name "rust-ring" version)) + (sha256 + (base32 "1aps05i5308ka03968glnnqr4kdkk2x4ghlg5vrqhl78jm6ivvby"))))) + (origin + (method computed-origin-method) + (file-name (string-append "rust-ring-" version ".tar.gz")) + (sha256 #f) + (uri + (delay + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + (set-path-environment-variable + "PATH" '("bin") + (list #+(canonical-package gzip) + #+(canonical-package tar) + #+perl + #+nasm + #+go + #+clang ; clang-format + #+python2-minimal)) + (setenv "HOME" (getcwd)) + (copy-recursively #+upstream-source + (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + ;; It turns out Guix's nasm works just fine here. + (substitute* "build.rs" + (("./target/tools/nasm") "nasm")) + ;; Files which would be deleted in a snippet: + (delete-file "crypto/curve25519/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") + ;; Files to be generated in the sources: + (format #t "Generating the missing files ...~%") + (force-output) + (with-directory-excursion "crypto/curve25519" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + (with-output-to-file "ecp_nistz256_table.inl" + (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp") + + ;; We generate all the files which upstream would normally be + ;; generate by using '(cd pregenerate_asm && cargo clean && + ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' + ;; in order to not include a dependency on cargo when + ;; generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "obj") + "-f" "win64" "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv8.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" + "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "ios64" "pregenerated/sha256-armv8-ios64.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "linux64" "pregenerated/sha256-armv8-linux64.S") + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl")) + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "obj") + "-f" "win32" "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "-win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios32" + (string-append (prefix script) "-ios32.S")) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))))))) + +(define-public rust-ring-0.16 + (package + (inherit rust-ring-0.17) + (name "rust-ring") + (version "0.16.20") + (source rust-ring-0.16-sources) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-spin" ,rust-spin-0.5) + ("rust-untrusted" ,rust-untrusted-0.7) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-winapi" ,rust-winapi-0.3) + ;; build dependencies + ("rust-cc" ,rust-cc-1)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + ;; For a mostly complete list of supported systems see: + ;; https://github.com/briansmith/ring/blob/main/.github/workflows/ci.yml#L170 + (supported-systems (list "aarch64-linux" "armhf-linux" + "i686-linux" "x86_64-linux")))) + +(define rust-ring-0.14-sources + (let* ((version "0.14.6") + (upstream-source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/briansmith/ring") + (commit "ef85df478152aa3fe06c811309379efa08f8a529"))) + (file-name (git-file-name "rust-ring" version)) + (sha256 + (base32 "12dgw2spvmkdypgzymw3bxpv4bbpnlq8s10sdggral31x597n6xx"))))) + (origin + (method computed-origin-method) + (file-name (string-append "rust-ring-" version ".tar.gz")) + (sha256 #f) + (uri + (delay + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + (set-path-environment-variable + "PATH" '("bin") + (list #+(canonical-package gzip) + #+(canonical-package tar) + #+perl + #+yasm + #+go + #+clang ; clang-format + #+python2-minimal)) + (setenv "HOME" (getcwd)) + (copy-recursively #+upstream-source + (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + ;; It turns out Guix's yasm works just fine here. + (substitute* "build.rs" + (("yasm.exe") "yasm")) + ;; Files which would be deleted in a snippet: + (delete-file "third_party/fiat/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") + (delete-file "util/ar/testdata/linux/libsample.a") + (delete-file "util/ar/testdata/mac/libsample.a") + (delete-file "util/ar/testdata/windows/sample.lib") + ;; Fix the doc tests. + (substitute* "src/ec/curve25519/ed25519/verification.rs" + ((";;") ";")) + ;; Files to be generated in the sources: + (format #t "Generating the missing files ...~%") + (force-output) + (with-directory-excursion "third_party/fiat" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + ;; This one seems to have been changed elsewhere in the + ;; sources but not in the script generating the definition. + (substitute* "make_p256-x86_64-table.go" + (("ecp_nistz256_precomputed") "GFp_nistz256_precomputed")) + (with-output-to-file "ecp_nistz256_table.inl" + (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp") + + ;; We generate all the files which upstream would normally be + ;; generate by using '(cd pregenerate_asm && cargo clean && + ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' + ;; in order to not include a dependency on cargo when + ;; generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/fipsmodule/aes/asm/aes-x86_64.pl" + "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/poly1305/asm/poly1305-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win64" "--machine=amd64" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" + "crypto/poly1305/asm/poly1305-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "ios64" "pregenerated/sha256-armv8-ios64.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "linux64" "pregenerated/sha256-armv8-linux64.S") + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aes-586.pl" + "crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl" + "crypto/poly1305/asm/poly1305-x86.pl" + "crypto/fipsmodule/sha/asm/sha256-586.pl" + "crypto/fipsmodule/sha/asm/sha512-586.pl")) + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win32" "--machine=x86" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "-win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios32" + (string-append (prefix script) "-ios32.S")) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/aes-armv4.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/poly1305/asm/poly1305-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))))))) +(define-public rust-ring-0.14 + (package + (inherit rust-ring-0.16) + (name "rust-ring") + (version "0.14.6") + (source rust-ring-0.14-sources) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-spin" ,rust-spin-0.5) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define rust-ring-0.13-sources + (let* ((version "0.13.5") + (upstream-source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/briansmith/ring") + (commit "704e4216a397bd830479bcd6d7dd67fc62cdbe67"))) + (file-name (git-file-name "rust-ring" version)) + (sha256 + (base32 "0iqwf8i2i0a46ymrqss1ngbd2lqphk0mw74c65pxb8skyn2n7csi"))))) + (origin + (method computed-origin-method) + (file-name (string-append "rust-ring-" version ".tar.gz")) + (sha256 #f) + (uri + (delay + (with-imported-modules '((guix build utils)) + #~(begin + (use-modules (guix build utils)) + (set-path-environment-variable + "PATH" '("bin") + (list #+(canonical-package gzip) + #+(canonical-package tar) + #+perl + #+yasm + #+go + #+clang ; clang-format + #+python2-minimal)) + (setenv "HOME" (getcwd)) + (copy-recursively #+upstream-source + (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + ;; Make some adjustments for newer versions of rust + ;; error: `...` range patterns are deprecated + (substitute* "src/digest/sha1.rs" + (("0\\.\\.\\.") "0..=")) + (substitute* "build.rs" + (("out_dir\\.clone\\(\\)") "out_dir") + (("libs\\.into_iter\\(\\)") "libs.iter()")) + ;; It turns out Guix's yasm works just fine here. + (substitute* "build.rs" + (("yasm.exe") "yasm")) + ;; Files which would be deleted in a snippet: + (delete-file "third_party/fiat/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") + ;; Files to be generated in the sources: + (format #t "Generating the missing files ...~%") + (force-output) + (with-directory-excursion "third_party/fiat" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + ;; This one seems to have been changed elsewhere in the + ;; sources but not in the script generating the definition. + (substitute* "make_p256-x86_64-table.go" + (("ecp_nistz256_precomputed") "GFp_nistz256_precomputed")) + (with-output-to-file "ecp_nistz256_table.inl" + (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp") + + ;; We generate all the files which upstream would normally be + ;; generate by using '(cd pregenerate_asm && cargo clean && + ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' + ;; in order to not include a dependency on cargo when + ;; generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/fipsmodule/aes/asm/aes-x86_64.pl" + "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/poly1305/asm/poly1305-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win64" "--machine=amd64" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" + "crypto/poly1305/asm/poly1305-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "ios64" "pregenerated/sha256-armv8-ios64.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "linux64" "pregenerated/sha256-armv8-linux64.S") + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aes-586.pl" + "crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl" + "crypto/poly1305/asm/poly1305-x86.pl" + "crypto/fipsmodule/sha/asm/sha256-586.pl" + "crypto/fipsmodule/sha/asm/sha512-586.pl")) + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win32" "--machine=x86" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "-win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios32" + (string-append (prefix script) "-ios32.S")) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/aes-armv4.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/poly1305/asm/poly1305-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))))))) +(define-public rust-ring-0.13 + (package + (inherit rust-ring-0.14) + (name "rust-ring") + (version "0.13.5") + (source rust-ring-0.13-sources) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-untrusted" ,rust-untrusted-0.6) + ;; build dependencies + ("rust-cc" ,rust-cc-1)))))) + +(define-public rust-ripemd-0.1 + (package + (name "rust-ripemd") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (crate-uri "ripemd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17xh5yl9wjjj2v18rh3m8ajlmdjg1yj13l6r9rj3mnbss4i444mx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "Pure Rust implementation of the RIPEMD hash functions") + (description "Pure Rust implementation of the RIPEMD hash functions") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rsa-0.9 + (package + (name "rust-rsa") + (version "0.9.6") + (source (origin + (method url-fetch) + (uri (crate-uri "rsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z0d1aavfm0v4pv8jqmqhhvvhvblla1ydzlvwykpc3mkzhj523jx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-const-oid" ,rust-const-oid-0.9) + ("rust-digest" ,rust-digest-0.10) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkcs1" ,rust-pkcs1-0.7) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-spki" ,rust-spki-0.7) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))) + (home-page "https://github.com/RustCrypto/RSA") + (synopsis "Pure Rust RSA implementation") + (description "This package provides a pure Rust RSA implementation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rsa-0.6 + (package + (inherit rust-rsa-0.9) + (name "rust-rsa") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02viiiylxpk2hx5h5qrpm4lcd8ildvafbw0rn6rx44wnqia2gwjc")))) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.10) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkcs1" ,rust-pkcs1-0.3) + ("rust-pkcs8" ,rust-pkcs8-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-base64ct" ,rust-base64ct-1) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10)))))) + +(define-public rust-rsa-0.5 + (package + (inherit rust-rsa-0.9) + (name "rust-rsa") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "039676a4mj0875phdi7vc0bd37hv84dh0dql6fmk8dl2w81jcp70")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("version = \">=1, <1.5\"") "version = \"^1\"")))))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.7) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkcs1" ,rust-pkcs1-0.2) + ("rust-pkcs8" ,rust-pkcs8-0.7) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-hex" ,rust-hex-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-sha3" ,rust-sha3-0.9)))))) + +(define-public rust-rust-argon2-0.8 + (package + (name "rust-rust-argon2") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("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)))) + +(define-public rust-rust-argon2-0.7 + (package + (inherit rust-rust-argon2-0.8) + (name "rust-rust-argon2") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-argon2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-base64" ,rust-base64-0.11) + ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)))))) + +(define-public rust-salsa20-0.10 + (package + (name "rust-salsa20") + (version "0.10.2") + (source (origin + (method url-fetch) + (uri (crate-uri "salsa20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04w211x17xzny53f83p8f7cj7k2hi8zck282q5aajwqzydd2z8lp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/stream-ciphers") + (synopsis "Salsa20 Stream Cipher") + (description "Salsa20 is a collection of stream cipher algorithms written +in pure Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-salsa20-0.9 + (package + (inherit rust-salsa20-0.10) + (name "rust-salsa20") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "salsa20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cipher" ,rust-cipher-0.3) + ("rust-zeroize" ,rust-zeroize-1)))))) + +(define-public rust-salsa20-0.7 + (package + (inherit rust-salsa20-0.10) + (name "rust-salsa20") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "salsa20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0")))) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.2)))))) + +(define-public rust-scrypt-0.11 + (package + (name "rust-scrypt") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "scrypt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07zxfaqpns9jn0mnxm7wj3ksqsinyfpirkav1f7kc2bchs2s65h5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-password-hash" ,rust-password-hash-0.5) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-password-hash" ,rust-password-hash-0.5)))) + (home-page + "https://github.com/RustCrypto/password-hashes/tree/master/scrypt") + (synopsis "Scrypt password-based key derivation function") + (description + "This package provides a Scrypt password-based key derivation +function.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-scrypt-0.10 + (package + (inherit rust-scrypt-0.11) + (name "rust-scrypt") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (crate-uri "scrypt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pglmppcl8mdzfxdv2x9dsjrwxhc1bm9zvxjibnlv59jnv9297lz")))) + (arguments + `(#:cargo-inputs + (("rust-hmac" ,rust-hmac-0.12) + ("rust-password-hash" ,rust-password-hash-0.4) + ("rust-pbkdf2" ,rust-pbkdf2-0.11) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-password-hash" ,rust-password-hash-0.4)))))) + +(define-public rust-scrypt-0.8 + (package + (inherit rust-scrypt-0.11) + (name "rust-scrypt") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "scrypt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09fkz5sc7qx97dyi1nkv69z36diggd2c9mja33cxpsqicdy6sgg7")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-hmac" ,rust-hmac-0.12) + ("rust-password-hash" ,rust-password-hash-0.3) + ("rust-pbkdf2" ,rust-pbkdf2-0.10) + ("rust-salsa20" ,rust-salsa20-0.9) + ("rust-sha2" ,rust-sha2-0.10)))))) + +(define-public rust-sec1-0.7 + (package + (name "rust-sec1") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (crate-uri "sec1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vh4pvdfnghbjglh6k74vs93jj337jpli28bbyqr0srxh67c9bph")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base16ct" ,rust-base16ct-0.2) + ("rust-der" ,rust-der-0.7) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/sec1") + (synopsis + "Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats") + (description + "This package procides a pure Rust implementation of SEC1: Elliptic Curve +Cryptography encoding formats including ASN.1 DER-serialized private keys as +well as the Elliptic-Curve-Point-to-Octet-String encoding.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-sec1-0.3 + (package + (inherit rust-sec1-0.7) + (name "rust-sec1") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sec1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a09lk5w3nyggpyz54m10nnlg9v8qbh6kw3v1bgla31988c4rqiv")))) + (arguments + `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) + ("rust-der" ,rust-der-0.6) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-pkcs8" ,rust-pkcs8-0.9) + ("rust-serdect" ,rust-serdect-0.1) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-secp256k1-0.21 + (package + (name "rust-secp256k1") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "secp256k1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09gia5hjf1hb9jgac9nzq0s0ijbsdjfflh40xw8z08avgl0q6y5b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-core" ,rust-rand-core-0.4) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") + (synopsis + "Rust wrapper library for Pieter Wuille's @code{libsecp256k1}") + (description + "This package is a Rust wrapper library for Pieter Wuille's +@code{libsecp256k1}. It implements ECDSA and BIP 340 signatures for the +SECG elliptic curve group secp256k1 and related utilities.") + (license license:cc0))) + +(define-public rust-secp256k1-sys-0.4 + (package + (name "rust-secp256k1-sys") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "secp256k1-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dk0as7qdlvg5vkcsihndzg1jgqb9amhwmz3xiip94fy7ibs4zcm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") + (synopsis "FFI for Pieter Wuille's @code{libsecp256k1} library") + (description "This package is a Rust FFI for Pieter Wuille's +@code{libsecp256k1} library.") + (license license:cc0))) + +(define-public rust-serdect-0.2 + (package + (name "rust-serdect") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "serdect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xw1b6acw6nd0jchzyxzr97f0s4shbcqh92iyjwln0cskshi8kx8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base16ct" ,rust-base16ct-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json-core" ,rust-serde-json-core-0.5) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.7)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/serdect") + (synopsis "Constant-time serde serializer/deserializer helpers") + (description + "This package provides constant-time serde serializer/deserializer helpers +for data that potentially contains secrets (e.g. cryptographic keys).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-serdect-0.1 + (package + (inherit rust-serdect-0.2) + (name "rust-serdect") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serdect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b6krqs77vzwzdjcrcywlmlwd3msfpgmkkbxx8q9njypyhdwx3q3")))) + (arguments + `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json-core" ,rust-serde-json-core-0.4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.5)))))) + +(define-public rust-sha-1-0.10 + (package + (name "rust-sha-1") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha-1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1700fs5aiiailpd5h0ax4sgs2ngys0mqf3p4j0ry6j2p2zd8l1gm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-digest" ,rust-digest-0.10) + ("rust-sha1-asm" ,rust-sha1-asm-0.5)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "SHA-1 hash function") + (description "This crate provides a SHA-1 hash function.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sha-1-0.9 + (package + (inherit rust-sha-1-0.10) + (name "rust-sha-1") + (version "0.9.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha-1" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19jibp8l9k5v4dnhj5kfhaczdfd997h22qz0hin6pw9wvc9ngkcr")))) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.9) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-digest" ,rust-digest-0.9) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-sha1-asm" ,rust-sha1-asm-0.5)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-sha-1-0.8 + (package + (inherit rust-sha-1-0.9) + (name "rust-sha-1") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha-1" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pv387q0r7llk2cqzyq0nivzvkgqgzsiygqzlv7b68z9xl5lvngp")))) + (arguments + `(#:cargo-test-flags + '("--release" "--lib" "--bins" "--tests") + #:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.7) + ("rust-digest" ,rust-digest-0.8) + ("rust-fake-simd" ,rust-fake-simd-0.1) + ("rust-opaque-debug" ,rust-opaque-debug-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-sha1-asm" ,rust-sha1-asm-0.4)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.8) + ("rust-hex-literal" ,rust-hex-literal-0.1)))))) + +(define-public rust-sha1-0.10 + (package + (name "rust-sha1") + (version "0.10.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fnnxlfg08xhkmwf2ahv634as30l1i3xhlhkvxflmasi5nd85gz3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-digest" ,rust-digest-0.10) + ("rust-sha1-asm" ,rust-sha1-asm-0.5)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/mitsuhiko/rust-sha1") + (synopsis "Minimal implementation of SHA1 for Rust") + (description + "This package provides a minimal implementation of SHA1 for Rust.") + (license license:bsd-3))) + +(define-public rust-sha1-0.6 + (package + (inherit rust-sha1-0.10) + (name "rust-sha1") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-sha1-0.2 + (package + (inherit rust-sha1-0.6) + (name "rust-sha1") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c")))) + (arguments + `(#:tests? #f ; Tests require openssl-1.0 + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.7) + ("rust-rand" ,rust-rand-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-cargo-toml + (lambda _ + (substitute* "Cargo.toml" + ((", path =.*}") "}")) + #t))))))) + +(define-public rust-sha1-asm-0.5 + (package + (name "rust-sha1-asm") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1-asm" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b7ab7f4n87pqdmbl1a5jrc2axf27pvbndsz9qiwwgxw01qlygan")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/RustCrypto/asm-hashes") + (synopsis "Assembly implementation of SHA-1 compression function") + (description + "Assembly implementation of SHA-1 compression function.") + (license license:expat))) + +(define-public rust-sha1-asm-0.4 + (package + (inherit rust-sha1-asm-0.5) + (name "rust-sha1-asm") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1-asm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z5vdimd7l0vmr2p7kjibi0rghf5frb1ld0gzdkxrxfmkllf5nmr")))))) + +(define-public rust-sha1-smol-1 + (package + (name "rust-sha1-smol") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (crate-uri "sha1_smol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04nhbhvsk5ms1zbshs80iq5r1vjszp2xnm9f0ivj38q3dhc4f6mf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/mitsuhiko/sha1-smol") + (synopsis "Dependency free SHA1 implementation") + (description + "This package provides a minimal dependency free implementation of +SHA1 for Rust.") + (license license:bsd-3))) + +(define-public rust-sha1collisiondetection-0.2 + (package + (name "rust-sha1collisiondetection") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1collisiondetection" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-libc" ,rust-libc-0.2) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-structopt" ,rust-structopt-0.3)))) + (home-page "https://docs.rs/sha1collisiondetection") + (synopsis "SHA-1 hash function with collision detection and mitigation") + (description + "This package implementation of the SHA-1 cryptographic hash algorithm. + +This is a port of Marc Stevens' sha1collisiondetection algorithm to Rust. The +code is translated from C to Rust using c2rust.") + (license license:expat))) + +(define-public rust-sha2-0.10 + (package + (name "rust-sha2") + (version "0.10.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j1x78zk9il95w9iv46dh9wm73r6xrgj32y6lzzw7bxws9dbfgbr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-digest" ,rust-digest-0.10) + ("rust-sha2-asm" ,rust-sha2-asm-0.6)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "SHA-2 hash functions") + (description + "This package provides a pure Rust implementation of the SHA-2 hash +function family including SHA-224, SHA-256, SHA-384, and SHA-512.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sha2-0.9 + (package + (inherit rust-sha2-0.10) + (name "rust-sha2") + (version "0.9.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "006q2f0ar26xcjxqz8zsncfgz86zqa5dkwlwv03rhx1rpzhs2n2d")))) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.9) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-digest" ,rust-digest-0.9) + ("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-sha2-asm" ,rust-sha2-asm-0.6)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-sha2-0.8 + (package + (inherit rust-sha2-0.9) + (name "rust-sha2") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s9yddvyg6anaikdl86wmwfim25c0d4m0xq0y2ghs34alxpg8mm2")))) + (arguments + `(#:cargo-test-flags + '("--release" "--lib" "--bins" "--tests") + #:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.7) + ("rust-digest" ,rust-digest-0.8) + ("rust-fake-simd" ,rust-fake-simd-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-opaque-debug" ,rust-opaque-debug-0.2) + ("rust-sha2-asm" ,rust-sha2-asm-0.5)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.8) + ("rust-hex-literal" ,rust-hex-literal-0.1)))))) + +(define-public rust-sha2-asm-0.6 + (package + (name "rust-sha2-asm") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha2-asm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kp480744vkwg3fqx98379nsdw1lzzzimd88v0qgpqqic03afyzj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)))) ;build dependency + (home-page "https://github.com/RustCrypto/asm-hashes") + (synopsis "Assembly implementation of SHA-2") + (description "This package provides an assembly implementations of hash +functions core functionality.") + (license license:expat))) + +(define-public rust-sha2-asm-0.5 + (package + (inherit rust-sha2-asm-0.6) + (name "rust-sha2-asm") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha2-asm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))))) + +(define-public rust-sha3-0.10 + (package + (name "rust-sha3") + (version "0.10.8") + (source (origin + (method url-fetch) + (uri (crate-uri "sha3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0q5s3qlwnk8d5j34jya98j1v2p3009wdmnqdza3yydwgi8kjv1vm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-keccak" ,rust-keccak-0.1)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "SHA-3 (Keccak) hash function") + (description "This package provides a pure Rust implementation of the SHA-3 +(Keccak) hash function.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sha3-0.9 + (package + (inherit rust-sha3-0.10) + (name "rust-sha3") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq")))) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.9) + ("rust-digest" ,rust-digest-0.9) + ("rust-keccak" ,rust-keccak-0.1) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-signature-2 + (package + (name "rust-signature") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "signature" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00457czdia5gvll3a1vzf2ffsdpgcz2dz0h56z7zk28nsbp8h5sy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-signature-derive" ,rust-signature-derive-2)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/RustCrypto/traits/tree/master/signature") + (synopsis + "Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)") + (description + "This package contains traits which provide generic, object-safe APIs +for generating and verifying digital signatures.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-signature-1 + (package + (inherit rust-signature-2) + (name "rust-signature") + (version "1.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "signature" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z3xg405pg827g6hfdprnszsdqkkbrsfx7f1dl04nv9g7cxks8vl")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-signature-derive" ,rust-signature-derive-1)))))) + +(define-public rust-signature-derive-2 + (package + (name "rust-signature-derive") + (version "2.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "signature_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1z0mjjg3fpj08kc3nkax4lczgp7sfzbcm8q2qgim865510wkgpxc")))) + (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/RustCrypto/traits/tree/master/signature/derive") + (synopsis "Custom derive support for the 'signature' crate") + (description "This package provides proc macros used by the signature +crate. + +It's not intended to be used directly. See the signature crate's documentation +for additional details.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-signature-derive-1 + (package + (inherit rust-signature-derive-2) + (name "rust-signature-derive") + (version "1.0.0-pre.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "signature_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03wj342zvljknqwg3qbc9acrcsrzhdp1d2d6pfrh4p1b087k3rln")))) + (arguments + `(#:skip-build? #t + #: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)))))) + +(define-public rust-spki-0.7 + (package + (name "rust-spki") + (version "0.7.3") + (source (origin + (method url-fetch) + (uri (crate-uri "spki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17fj8k5fmx4w9mp27l970clrh5qa7r5sjdvbsln987xhb34dc7nr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-base64ct" ,rust-base64ct-1) + ("rust-der" ,rust-der-0.7) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/spki") + (synopsis + "X.509 Subject Public Key Info (RFC5280) describing public keys") + (description + "This package provides X.509 Subject Public Key Info (RFC5280) +describing public keys as well as their associated AlgorithmIdentifiers (i.e. +OIDs)") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-spki-0.6 + (package + (inherit rust-spki-0.7) + (name "rust-spki") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "spki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ar1ldkl7svp8l3gfw2hyiiph7n2nqynjnjgdv1pscvsmjxh5kv7")))) + (arguments + `(#:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-der" ,rust-der-0.6) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-spki-0.5 + (package + (inherit rust-spki-0.7) + (name "rust-spki") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "spki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09qaddm4kw01xm9638910bm4yqnshzh2p38lvc3kxkvc5b01ml24")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1) + ("rust-der" ,rust-der-0.5) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + +(define-public rust-spki-0.4 + (package + (inherit rust-spki-0.7) + (name "rust-spki") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "spki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw")))) + (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" ,rust-der-0.4)))))) + +(define-public rust-stream-cipher-0.4 + (package + (name "rust-stream-cipher") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "stream-cipher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "120y04k3d2jyfnvyrlf38x6bf0yckyk30c7zf8v8qaq4fjcyvy09")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-block-cipher" ,rust-block-cipher-0.7) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Stream cipher traits") + (description "This package provides stream cipher traits.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stream-cipher-0.3 + (package + (inherit rust-stream-cipher-0.4) + (name "rust-stream-cipher") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "stream-cipher" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-blobby" ,rust-blobby-0.1) + ("rust-generic-array" ,rust-generic-array-0.13)))))) + +(define-public rust-streebog-0.10 + (package + (name "rust-streebog") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "streebog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "Streebog (GOST R 34.11-2012) hash function") + (description + "This package provides a streebog (GOST R 34.11-2012) hash function.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-streebog-0.9 + (package + (inherit rust-streebog-0.10) + (name "rust-streebog") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "streebog" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr")))) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.9) + ("rust-digest" ,rust-digest-0.9) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + +(define-public rust-subtle-2 + (package + (name "rust-subtle") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subtle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g2yjs7gffgmdvkkq0wrrh0pxds3q0dv6dhkw9cdpbib656xdkc1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://dalek.rs/") + (synopsis + "Pure-Rust traits and utilities for cryptographic implementations") + (description + "This package provides Pure-Rust traits and utilities for constant-time +cryptographic implementations.") + (license license:bsd-3))) + +(define-public rust-subtle-1 + (package + (inherit rust-subtle-2) + (name "rust-subtle") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subtle" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd")))))) + +(define-public rust-subtle-ng-2 + (package + (name "rust-subtle-ng") + (version "2.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "subtle-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hj1wp8xl64bjhbvlfffmllqy7wdw2b505f32gn3qqic4vmpcikk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.7)))) + (home-page "https://dalek.rs/") + (synopsis "Pure-Rust for constant-time cryptographic implementations") + (description + "This package provides pure-Rust traits and utilities for constant-time +cryptographic implementations.") + (license license:bsd-3))) + +(define-public rust-tiger-0.1 + (package + (name "rust-tiger") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01bhc7h8kxc5kjqx9sqrb3g8h4f9av6hpxzyihjq7pprphf56gj4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-buffer" ,rust-block-buffer-0.9) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-digest" ,rust-digest-0.9)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hex-literal" ,rust-hex-literal-0.2)))) + (home-page "https://github.com/RustCrypto/hashes") + (synopsis "Tiger hash function") + (description + "This package provides the Tiger cryptographic hash function.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-totp-lite-2 + (package + (name "rust-totp-lite") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "totp-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hvnpv7nl79jp96w6g2j7l6xskl5qlx3h0qqf9zry68pvcs33r7q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-koibumi-base32" ,rust-koibumi-base32-0.0.2) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/fosskers/totp-lite") + (synopsis "Simple, correct TOTP library") + (description "Rust-totp-lite provides a simple, correct time-based +One-Time Password library.") + (license license:expat))) + +(define-public rust-totp-lite-1 + (package + (name "rust-totp-lite") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "totp-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-digest" ,rust-digest-0.9) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))) + (home-page "https://github.com/fosskers/totp-lite") + (synopsis "Simple, correct TOTP library") + (description "Rust-totp-lite provides a simple, correct time-based +One-Time Password library.") + (license license:expat))) + +(define-public rust-twofish-0.7 + (package + (name "rust-twofish") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "twofish" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04w0ii2c0c9ws08aw6c7illh9zql22il9lbwjk1mgir30aiq73m7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Twofish block cipher") + (description "Twofish block cipher") + (license (list license:expat license:asl2.0)))) + +(define-public rust-universal-hash-0.5 + (package + (name "rust-universal-hash") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "universal-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sh79x677zkncasa95wz05b36134822w6qxmi1ck05fwi33f47gw")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("=2\\.4\\.1") "^2.4.1")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crypto-common" ,rust-crypto-common-0.1) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/traits") + (synopsis "Trait for universal hash functions") + (description "This package provides traits for universal hash functions.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-universal-hash-0.4 + (package + (inherit rust-universal-hash-0.5) + (name "rust-universal-hash") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "universal-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00hljq64l0p68yrncvyww4cdgkzpzl49vrlnj57kwblkak3b49l3")))) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.14) + ("rust-subtle" ,rust-subtle-2)))))) + +(define-public rust-universal-hash-0.3 + (package + (inherit rust-universal-hash-0.4) + (name "rust-universal-hash") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "universal-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00aa241pab99z66f0s464vdrxnk3igs8z1qm6j01chcv5w7r036z")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.12) + ("rust-subtle" ,rust-subtle-2)))))) + +(define-public rust-x25519-dalek-1 + (package + (name "rust-x25519-dalek") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xz0m1pczss9r25d1r52420dl2picdypbcn5ycmlwssp9awvd4i3")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \"=1.3\"") "version = \"^1.3\"")))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://dalek.rs/") + (synopsis "X25519 elliptic curve Diffie-Hellman key exchange") + (description + "This crate provides a pure-Rust implementation of x25519 elliptic curve +Diffie-Hellman key exchange, with curve operations provided by +@code{curve25519-dalek}.") + (license license:bsd-3))) + +(define-public rust-x25519-dalek-ng-1 + (package + (name "rust-x25519-dalek-ng") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "x25519-dalek-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09n35vgrryjy0m6ascfaykc8s0i517rzgj64qdq2jrlri7g78w5z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-curve25519-dalek-ng" ,rust-curve25519-dalek-ng-4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://dalek.rs/") + (synopsis "Fork of x25519-dalek") + (description "This package provides a fork x25519-dalek, with an updated +rand_core.") + (license license:bsd-3))) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 15b54b7f95..f95a4a65cd 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> -;;; Copyright © 2020, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 John Soo <jsoo1@asu.edu> ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com> ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org> @@ -13,7 +13,8 @@ ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> -;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,19 +34,28 @@ (define-module (gnu packages crates-graphics) #:use-module (guix build-system cargo) #:use-module (guix download) + #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages assembly) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) #:use-module (gnu packages llvm) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages version-control) - #:use-module (gnu packages video)) + #:use-module (gnu packages video) + #:use-module (gnu packages vulkan) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg)) ;;; ;;; Please: Try to add new module packages in alphabetic order. @@ -107,25 +117,33 @@ shapes, lines and text to buffers.") (define-public rust-ansi-colours-1 (package (name "rust-ansi-colours") - (version "1.1.1") + (version "1.2.2") (source (origin (method url-fetch) (uri (crate-uri "ansi_colours" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03b2365y0ffkvqw61bc4imz6661jvi39vcs4q6q5d43znqrq4rrj")))) + (base32 "104aj4fi8nxdb9c5ahpwn53afmfcdzmwi3k9rawl3lvm42ymh5ba")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">= ([[:digit:]]+\\.[[:digit:]]+)," + " <= ([[:digit:]]+\\.[[:digit:]]+)") + _ version _) + (string-append ">=" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-rgb" ,rust-rgb-0.8)) + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-termcolor" ,rust-termcolor-1)) #:cargo-development-inputs - (("rust-crc64" ,rust-crc64-1) - ("rust-criterion" ,rust-criterion-0.3) + (("rust-crc64" ,rust-crc64-2) + ("rust-criterion" ,rust-criterion-0.5) ("rust-empfindung" ,rust-empfindung-0.2) - ("rust-lab" ,rust-lab-0.11)))) + ("rust-lab" ,rust-lab-0.11) + ("rust-rgb" ,rust-rgb-0.8)))) (home-page "https://github.com/mina86/ansi_colours") (synopsis "Palette converter between true-colour and ANSI terminal") (description @@ -199,6 +217,32 @@ text or blue underlined text, on ANSI terminals.") "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) (arguments `()))) +(define-public rust-ansi-to-tui-2 + (package + (name "rust-ansi-to-tui") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi-to-tui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l43nyj2difngwjbiy6vd5p8bw96w06swgw5hx6vi9zvqzs8wyqm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tui" ,rust-tui-0.16)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)))) + (home-page "https://github.com/uttarayan21/ansi-to-tui") + (synopsis + "Library to convert ansi color coded text into @code{ratatui::text::Text}") + (description + "This package provides a library to convert ansi color coded text into +@code{ratatui::text::Text} type from the ratatui library.") + (license license:expat))) + (define-public rust-ansiterm-0.12 (package (name "rust-ansiterm") @@ -228,24 +272,20 @@ styles (bold, underline).") (define-public rust-aom-sys-0.3 (package (name "rust-aom-sys") - (version "0.3.2") + (version "0.3.3") (source - (origin - (method url-fetch) - (uri (crate-uri "aom-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0swg90iwypakh7vq77zwh34238c1r7vd5smj0vza7dv7xa22wh0g")))) + (origin + (method url-fetch) + (uri (crate-uri "aom-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bc1dzl3c95s44q7c1i0vnj7fhiqf44in8w22nw5vmp1vgbpadk2")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.61) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs - (list pkg-config)) - (inputs - (list clang libaom llvm)) + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-system-deps" ,rust-system-deps-6)))) + (native-inputs (list pkg-config)) + (inputs (list clang libaom llvm)) (home-page "https://github.com/rust-av/aom-rs") (synopsis "FFI bindings to aom") (description "This package provides FFI bindings to aom.") @@ -276,6 +316,54 @@ the term library to handle the ANSI nonsense and hence it works on Windows, Mac, and Unix.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ash-0.37 + (package + (name "rust-ash") + (version "0.37.3+1.3.251") + (source + (origin + (method url-fetch) + (uri (crate-uri "ash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jndbsi5c8xifh4fdp378xpbyzdhs7y38hmbhih0lsv8bn1w7s9r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=entry::Entry::try_enumerate_instance_version" + "--skip=src/lib.rs") + #:cargo-inputs (("rust-libloading" ,rust-libloading-0.7)))) + (home-page "https://github.com/MaikKlein/ash") + (synopsis "Vulkan bindings for Rust") + (description "Vulkan bindings for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ash-window-0.12 + (package + (name "rust-ash-window") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ash-window" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1armbqzr0x905yypvh9ywgjj91kn93y5mxd6gkwaiwr9gid2h4mr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ash" ,rust-ash-0.37) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-raw-window-metal" ,rust-raw-window-metal-0.3)) + #:cargo-development-inputs (("rust-ash" ,rust-ash-0.37) + ("rust-winit" ,rust-winit-0.27)))) + (native-inputs (list pkg-config vulkan-loader)) + (inputs (list expat fontconfig freetype)) + (home-page "https://github.com/MaikKlein/ash") + (synopsis "Interop library between ash and raw-window-handle") + (description "Interop library between ash and raw-window-handle.") + (license (list license:expat license:asl2.0)))) + (define-public rust-avif-parse-1 (package (name "rust-avif-parse") @@ -330,19 +418,20 @@ untrusted data.") (("rust-env-logger" ,rust-env-logger-0.8) ("rust-walkdir" ,rust-walkdir-2)))))) -(define-public rust-avif-serialize-0.7 +(define-public rust-avif-serialize-0.8 (package (name "rust-avif-serialize") - (version "0.7.7") - (source (origin - (method url-fetch) - (uri (crate-uri "avif-serialize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0d2makdw756978i8s3qhlhh1h91y5maxriay6r4kmsmk8pky2qfc")))) + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "avif-serialize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1llnwlj11wcifdlny8x8yksl3zmz8i6a35il0cd4ar335yj7av47")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Undeclared dependencies + `(#: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)))) (home-page "https://lib.rs/avif-serialize") @@ -354,6 +443,22 @@ MPEG/HEIF/MIAF/ISO-BMFF ``boxes'' as appropriate for AVIF files. It supports alpha channel embedding.") (license license:bsd-3))) +(define-public rust-avif-serialize-0.7 + (package + (inherit rust-avif-serialize-0.8) + (name "rust-avif-serialize") + (version "0.7.7") + (source (origin + (method url-fetch) + (uri (crate-uri "avif-serialize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d2makdw756978i8s3qhlhh1h91y5maxriay6r4kmsmk8pky2qfc")))) + (arguments + `(#:tests? #f ; Undeclared dependencies + #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) + #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1)))))) + (define-public rust-avif-serialize-0.6 (package (inherit rust-avif-serialize-0.7) @@ -371,6 +476,25 @@ alpha channel embedding.") #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)))))) +(define-public rust-box-drawing-0.1 + (package + (name "rust-box-drawing") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "box_drawing" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jx4rrxy4xmgmplmgl398vrng67sfl8qny7n7d91fyw6zpaxh9za")))) + (build-system cargo-build-system) + (home-page "https://gitlab.com/chronos.alfa/box_drawing.git") + (synopsis "Simple library containing constants for UTF-8 box drawing") + (description + "This package provides a simple library containing constants for UTF-8 box +drawing.") + (license license:expat))) + (define-public rust-cgl-0.3 (package (name "rust-cgl") @@ -497,8 +621,80 @@ for computer graphics.") (;("rust-glium" ,rust-glium-0.19) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-color-to-tui-0.2 + (package + (name "rust-color-to-tui") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "color-to-tui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-tui" ,rust-tui-0.16)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://git.uttarayan.me/uttarayan/color-to-tui") + (synopsis + "Parse colors and convert them to @code{ratatui::style::Colors}") + (description + "This package provides parsing colors and converting them to +@code{ratatui::style::Colors}.") + (license license:expat))) + +(define-public rust-colorous-1 + (package + (name "rust-colorous") + (version "1.0.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "colorous" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1crqxkhpvwjcnjggp2qjs2mzyd1xrv3drgqq4bzlhi9ggj687c3y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-dejavu" ,rust-dejavu-2) + ("rust-image" ,rust-image-0.24) + ("rust-imageproc" ,rust-imageproc-0.23) + ("rust-rusttype" ,rust-rusttype-0.9)))) + (home-page "https://github.com/dtolnay/colorous") + (synopsis "Professional color schemes ported from d3-scale-chromatic") + (description "Professional color schemes ported from d3-scale-chromatic.") + (license license:asl2.0))) + +(define-public rust-core-graphics-0.23 + (package + (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")))) + (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) + ("rust-foreign-types" ,rust-foreign-types-0.5) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/servo/core-foundation-rs") + (synopsis "Bindings to Core Graphics for macOS") + (description + "This package provides bindings to Core Graphics for @code{macOS}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-core-graphics-0.22 (package + (inherit rust-core-graphics-0.23) (name "rust-core-graphics") (version "0.22.3") (source @@ -508,7 +704,6 @@ for computer graphics.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1yz4xzbz36vbmlra0viazzlicp8kap1ldgshsp5nzz4g7fmvp095")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -516,12 +711,7 @@ for computer graphics.") ("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.3) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/servo/core-graphics-rs") - (synopsis "Bindings to Core Graphics for macOS") - (description - "This package provides bindings to Core Graphics for macOS.") - (license (list license:expat license:asl2.0)))) + ("rust-libc" ,rust-libc-0.2)))))) (define-public rust-core-graphics-0.21 (package @@ -640,6 +830,50 @@ types.") and iOS.") (license license:expat))) +(define-public rust-cursor-icon-1 + (package + (name "rust-cursor-icon") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cursor-icon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14brf4vd6az9hnszwzqj7xyfaymqx9806d4i7xmwlaja3wjsr9ln")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-wayland-client" ,rust-wayland-client-0.31) + ("rust-wayland-cursor" ,rust-wayland-cursor-0.31)))) + (home-page "https://github.com/rust-windowing/cursor-icon") + (synopsis "Cross platform cursor icon type") + (description "This package provides a cross platform cursor icon type.") + (license (list license:expat license:asl2.0 license:zlib)))) + +(define-public rust-d3d12-0.7 + (package + (name "rust-d3d12") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "d3d12" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "084z4nz0ddmsjn6qbrgxygr55pvpi3yjrrkvmzyxs79b56ml8vp1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; unresolved imports `winapi::shared`, `winapi::um` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/gfx-rs/d3d12-rs") + (synopsis "Low level D3D12 API wrapper") + (description "Low level D3D12 API wrapper.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dav1d-0.6 (package (name "rust-dav1d") @@ -667,16 +901,17 @@ and iOS.") (define-public rust-dav1d-sys-0.7 (package (name "rust-dav1d-sys") - (version "0.7.0") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "dav1d-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16gzjsfnvfd5zr8mrx5n9mdd4vjvwfwpk9hfscgz7sjyzjdjzcm0")))) + (base32 "13z5qvf35lkda67l6l1bkdp1gmqg75cqfblldxh4n8rbmn4zsj9s")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#: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 @@ -737,6 +972,125 @@ and iOS.") "This package provides a library to perform image color model conversion.") (license license:expat-0))) +(define-public rust-drm-0.10 + (package + (name "rust-drm") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm" version)) + (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) + ("rust-drm-ffi" ,rust-drm-ffi-0.6) + ("rust-drm-fourcc" ,rust-drm-fourcc-2) + ("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)))) + (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-ffi-0.6 + (package + (name "rust-drm-ffi") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-ffi" version)) + (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))) + +(define-public rust-drm-fourcc-2 + (package + (name "rust-drm-fourcc") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-fourcc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x76v9a0pkgym4n6cah4barnai9gsssm7gjzxskw2agwibdvrbqa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.57) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/danielzfranklin/drm-fourcc-rs") + (synopsis "Enum with every valid Direct Rendering Manager format fourcc") + (description "This package provides an enum with every valid @acronym{DRM, +Direct Rendering Manager} format fourcc.") + (license license:expat))) + +(define-public rust-drm-sys-0.5 + (package + (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")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) + ("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.") + (license license:expat))) + +(define-public rust-enterpolation-0.2 + (package + (name "rust-enterpolation") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enterpolation" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ah41msghasm0i97awa67rv3mg6p3j0xijswy1gpdipprg4gbb8z")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-assert-float-eq" ,rust-assert-float-eq-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-topology-traits" ,rust-topology-traits-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-image" ,rust-image-0.24) + ("rust-palette" ,rust-palette-0.7)))) + (home-page "https://github.com/NicolasKlenert/enterpolation") + (synopsis "Library for create and compute interpolations and extrapolations") + (description + "This package provides a library for creating and computing interpolations, +extrapolations and smoothing of generic data points.") + (license (list license:expat license:asl2.0)))) + (define-public rust-euclid-0.22 (package (name "rust-euclid") @@ -810,6 +1164,35 @@ EUI-64, also known as MAC-48 media access control addresses.") (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-1)))))) +(define-public rust-evdev-0.11 + (package + (name "rust-evdev") + (version "0.11.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "evdev" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zknxkgkyh9fx3mq4div9kcgvgsiy91vzd5sq7bdinsn467sfx65")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitvec" ,rust-bitvec-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.23) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/cmr/evdev") + (synopsis "Evdev interface for Linux") + (description "This package provides an evdev interface for Linux.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-exr-1 (package (name "rust-exr") @@ -843,6 +1226,60 @@ EUI-64, also known as MAC-48 media access control addresses.") (description "Read and write OpenEXR files without any unsafe code") (license license:bsd-3))) +(define-public rust-fast-image-resize-2 + (package + (name "rust-fast-image-resize") + (version "2.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast_image_resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nnm59h7dl2bpi5k2wcd7zz14nl00sa33jiipbjbn48f0i09ly6c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Unresolved import `testing' + #:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-image" ,rust-image-0.24) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-nix" ,rust-nix-0.26) + ("rust-png" ,rust-png-0.17) + ("rust-resize" ,rust-resize-0.7) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/cykooz/fast_image_resize") + (synopsis + "Fast image resizing with using of SIMD instructions") + (description + "This package provides fast image resizing with using of SIMD instructions.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-fast-srgb8-1 + (package + (name "rust-fast-srgb8") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast-srgb8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18g6xwwh4gnkyx1352hnvwagpv0n4y98yp2llm8vyvwxh487abnx")))) + (build-system cargo-build-system) + (home-page "https://github.com/thomcc/fast-srgb8") + (synopsis "Conversions between linear float and 8-bit @code{sRGB}") + (description + "This package provides very fast conversions between linear float and +8-bit @code{sRGB} (with @code{no_std} support).") + (license (list license:expat license:asl2.0 license:cc0)))) + (define-public rust-gfx-0.18 (package (name "rust-gfx") @@ -897,8 +1334,33 @@ 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 + (package + (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")))) + (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) + ("rust-glob" ,rust-glob-0.3) + ("rust-png" ,rust-png-0.17)))) + (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.11 (package + (inherit rust-gif-0.12) (name "rust-gif") (version "0.11.3") (source @@ -908,16 +1370,11 @@ EUI-64, also known as MAC-48 media access control addresses.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0nsfd5qvp69z8kn17ziiq8zv4mclfycyxppf5k9fm2h8g1z1i9y3")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-color-quant" ,rust-color-quant-1) - ("rust-weezl" ,rust-weezl-0.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)))) + ("rust-weezl" ,rust-weezl-0.1)))))) (define-public rust-gif-0.10 (package @@ -1019,6 +1476,28 @@ EUI-64, also known as MAC-48 media access control addresses.") (base32 "1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir")))))) +(define-public rust-gl-loader-0.1 + (package + (name "rust-gl-loader") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gl_loader" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lwr1gd7hrb2nk67zw4pc04vl4h868r5a7846zjr0548bzfrcbg3")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; missing `gl` crate + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/maeln/gl_loader") + (synopsis "Simple OpenGL function pointer loader based on Glad") + (description + "Simple @code{OpenGL} function pointer loader based on Glad.") + (license license:cecill))) + (define-public rust-gleam-0.6 (package (name "rust-gleam") @@ -1042,8 +1521,68 @@ EUI-64, also known as MAC-48 media access control addresses.") "Generated OpenGL bindings and wrapper for Servo.") (license (list license:asl2.0 license:expat)))) +(define-public rust-glow-0.12 + (package + (name "rust-glow") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "glow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a1p6c9nff09m4gn0xnnschcpjq35y7c12w69ar8l2mnwj0fa3ya")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-slotmap" ,rust-slotmap-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/grovesNL/glow.git") + (synopsis "Bindings to run GL anywhere") + (description + "GL on Whatever: a set of bindings to run GL (Open GL, @code{OpenGL} ES, and +@code{WebGL}) anywhere, and avoid target-specific code.") + (license (list license:expat license:asl2.0 license:zlib)))) + +(define-public rust-glutin-0.31 + (package + (name "rust-glutin") + (version "0.31.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin" version)) + (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) + ("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.6) + ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.5) + ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.5) + ("rust-icrate" ,rust-icrate-0.0.4) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-objc2" ,rust-objc2-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("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))) + (define-public rust-glutin-0.30 (package + (inherit rust-glutin-0.31) (name "rust-glutin") (version "0.30.7") (source @@ -1053,7 +1592,6 @@ EUI-64, also known as MAC-48 media access control addresses.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05gzw9icj4s0p9db9srnwrd3m3plcs7260jlblyy2pbiqygap6zq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -1070,11 +1608,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.30) ("rust-windows-sys" ,rust-windows-sys-0.45) - ("rust-x11-dl" ,rust-x11-dl-2)))) - (home-page "https://github.com/tomaka/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.28 (package @@ -1107,9 +1641,7 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-wayland-egl" ,rust-wayland-egl-0.29) ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.26)))) - (inputs - (list rust-wayland-client-0.29 rust-wayland-egl-0.29)))) + ("rust-winit" ,rust-winit-0.26)))))) (define-public rust-glutin-0.26 (package @@ -1142,15 +1674,13 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-wayland-egl" ,rust-wayland-egl-0.28) ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.24)))) - (inputs - (list rust-wayland-client-0.28 rust-wayland-egl-0.28)))) + ("rust-winit" ,rust-winit-0.24)))))) -(define-public rust-glutin-0.22 +(define-public rust-glutin-0.21 (package (inherit rust-glutin-0.26) (name "rust-glutin") - (version "0.22.0-alpha5") + (version "0.21.2") (source (origin (method url-fetch) @@ -1159,14 +1689,14 @@ EUI-64, also known as MAC-48 media access control addresses.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0lilr4f335m1fq1acmshd51zblfaglw1hha6lhalnc1fw3cg0aag")))) + "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak")))) (arguments `(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests") #:cargo-inputs (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-cgl" ,rust-cgl-0.3) - ("rust-cocoa" ,rust-cocoa-0.19) + ("rust-cgl" ,rust-cgl-0.2) + ("rust-cocoa" ,rust-cocoa-0.18) ("rust-core-foundation" ,rust-core-foundation-0.6) ("rust-core-graphics" ,rust-core-graphics-0.17) ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) @@ -1176,53 +1706,36 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libloading" ,rust-libloading-0.5) - ("rust-log" ,rust-log-0.4) ("rust-objc" ,rust-objc-0.2) ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-wayland-client" ,rust-wayland-client-0.23) + ("rust-wayland-client" ,rust-wayland-client-0.21) ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.20)))))) + ("rust-winit" ,rust-winit-0.19)))))) -(define-public rust-glutin-0.21 +(define-public rust-glutin-egl-sys-0.6 (package - (inherit rust-glutin-0.22) - (name "rust-glutin") - (version "0.21.2") + (name "rust-glutin-egl-sys") + (version "0.6.0") (source (origin (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "glutin_egl_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ggyyqn7dvz4yx5ygqfvnxwfb78wvdm5y6xqw5my1b4x61dv6wak")))) + (base32 "1kcv5pdpdsyhzpiahga15kk7yd4m64ia2k6xqcrz97ihylimdk3p")))) + (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-cgl" ,rust-cgl-0.2) - ("rust-cocoa" ,rust-cocoa-0.18) - ("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) - ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) - ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libloading" ,rust-libloading-0.5) - ("rust-objc" ,rust-objc-0.2) - ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-wayland-client" ,rust-wayland-client-0.21) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.19)))))) + `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/rust-windowing/glutin") + (synopsis "Egl bindings for glutin") + (description "The egl bindings for glutin.") + (license license:asl2.0))) (define-public rust-glutin-egl-sys-0.4 (package + (inherit rust-glutin-egl-sys-0.6) (name "rust-glutin-egl-sys") (version "0.4.0") (source @@ -1234,15 +1747,10 @@ EUI-64, also known as MAC-48 media access control addresses.") (sha256 (base32 "0z9nm3d6qcgqg7f6qkbnsfs4cy90d8raw09inf2qc564nnmz1ap5")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-windows-sys" ,rust-windows-sys-0.45)))) - (home-page "https://github.com/rust-windowing/glutin") - (synopsis "Egl bindings for glutin") - (description "The egl bindings for glutin.") - (license license:asl2.0))) + ("rust-windows-sys" ,rust-windows-sys-0.45)))))) (define-public rust-glutin-egl-sys-0.1 (package @@ -1301,8 +1809,29 @@ 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 + (package + (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")))) + (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.") + (license license:asl2.0))) + (define-public rust-glutin-glx-sys-0.4 (package + (inherit rust-glutin-glx-sys-0.5) (name "rust-glutin-glx-sys") (version "0.4.0") (source @@ -1312,15 +1841,10 @@ EUI-64, also known as MAC-48 media access control addresses.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "150l397l64p4r46wshh8zdlwifpcqpm93fm3csh4m5k8wmgwnlqv")))) - (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/tomaka/glutin") - (synopsis "Glx bindings for glutin") - (description "This package provides glx bindings for glutin.") - (license license:asl2.0))) + ("rust-x11-dl" ,rust-x11-dl-2)))))) (define-public rust-glutin-glx-sys-0.1 (package @@ -1340,26 +1864,41 @@ 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.4 +(define-public rust-glutin-wgl-sys-0.5 (package (name "rust-glutin-wgl-sys") - (version "0.4.0") + (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 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg")))) + (base32 "1b9f6qjc8gwhfxac4fpxkvv524l493f6b6q764nslpwmmjnri03c")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-gl-generator" ,rust-gl-generator-0.14)))) - (home-page "https://github.com/tomaka/glutin") + `(#: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.") (license license:asl2.0))) +(define-public rust-glutin-wgl-sys-0.4 + (package + (inherit rust-glutin-wgl-sys-0.5) + (name "rust-glutin-wgl-sys") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin_wgl_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rc1c585ai9gav2nvdd5pn1x9gxv57yl5gg9cnyccgq3j273k2gg")))) + (arguments + `(#:cargo-inputs + (("rust-gl-generator" ,rust-gl-generator-0.14)))))) + (define-public rust-glutin-wgl-sys-0.1 (package (inherit rust-glutin-wgl-sys-0.4) @@ -1377,6 +1916,48 @@ EUI-64, also known as MAC-48 media access control addresses.") #:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14)))))) +(define-public rust-gpu-alloc-0.6 + (package + (name "rust-gpu-alloc") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gpu-alloc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wd1wq7qs8ja0cp37ajm9p1r526sp6w0kvjp3xx24jsrjfx2vkgv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-gpu-alloc-types" ,rust-gpu-alloc-types-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/zakarumych/gpu-alloc") + (synopsis "Implementation agnostic memory allocator for Vulkan like APIs") + (description + "Implementation agnostic memory allocator for Vulkan like APIs.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gpu-alloc-types-0.3 + (package + (name "rust-gpu-alloc-types") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gpu-alloc-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "190wxsp9q8c59xybkfrlzqqyrxj6z39zamadk1q7v0xad2s07zwq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)))) + (home-page "https://github.com/zakarumych/gpu-alloc") + (synopsis "Core types of gpu-alloc crate") + (description "Core types of gpu-alloc crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ical-0.7 (package (name "rust-ical") @@ -1403,13 +1984,13 @@ similar formats like VCard.") (define-public rust-image-0.24 (package (name "rust-image") - (version "0.24.5") + (version "0.24.7") (source (origin (method url-fetch) (uri (crate-uri "image" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0iarjrn9rimnri1g0hagdzljq3v9fy6gy7qlmz80yyskkfafmdv9")))) + (base32 "04d7f25b8nlszfv9a474n4a0al4m2sv9gqj3yiphhqr0syyzsgbg")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -1420,20 +2001,20 @@ similar formats like VCard.") ("rust-dav1d" ,rust-dav1d-0.6) ("rust-dcv-color-primitives" ,rust-dcv-color-primitives-0.4) ("rust-exr" ,rust-exr-1) - ("rust-gif" ,rust-gif-0.11) + ("rust-gif" ,rust-gif-0.12) ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) - ("rust-mp4parse" ,rust-mp4parse-0.12) + ("rust-mp4parse" ,rust-mp4parse-0.17) ("rust-num-rational" ,rust-num-rational-0.4) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-png" ,rust-png-0.17) - ("rust-ravif" ,rust-ravif-0.8) + ("rust-qoi" ,rust-qoi-0.4) + ("rust-ravif" ,rust-ravif-0.11) ("rust-rgb" ,rust-rgb-0.8) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-tiff" ,rust-tiff-0.8) + ("rust-tiff" ,rust-tiff-0.9) ("rust-webp" ,rust-webp-0.2)) #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion" ,rust-criterion-0.4) ("rust-glob" ,rust-glob-0.3) ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) ("rust-num-complex" ,rust-num-complex-0.4) @@ -1568,6 +2149,42 @@ 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-imageproc-0.23 + (package + (name "rust-imageproc") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "imageproc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mszh0jz8208r9h62aq61mda7xf6pwldcmcnl80n6ihx6n9ykbmn")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-conv" ,rust-conv-0.3) + ("rust-image" ,rust-image-0.24) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-nalgebra" ,rust-nalgebra-0.30) + ("rust-num" ,rust-num-0.4) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-distr" ,rust-rand-distr-0.2) + ("rust-rayon" ,rust-rayon-1) + ("rust-rusttype" ,rust-rusttype-0.9) + ("rust-sdl2" ,rust-sdl2-0.35)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-image" ,rust-image-0.24) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/image-rs/imageproc") + (synopsis "Image processing operations") + (description "Image processing operations.") + (license license:expat))) + (define-public rust-imgref-1 (package (name "rust-imgref") @@ -1641,6 +2258,66 @@ pixel buffers with width, height and stride.") ("rust-png" ,rust-png-0.14) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-keyframe-1 + (package + (name "rust-keyframe") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "keyframe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1afr5ffns3k79xaqnw6rw3qn8sngwly6gxfnjn8d060mk3vqnw30")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Done to avoid dev dependency on ggez, a game engine. + #:cargo-inputs (("rust-mint" ,rust-mint-0.5) + ("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/HannesMann/keyframe") + (synopsis "Simple library for animation in Rust") + (description + "This package provides a simple library for animation in Rust. +It's features include: + +@enumerate +@item Several easing functions, including user-defined Bézier curves and keyframable curves. +@item Animation sequences (like CSS keyframes). +@item @code{mint} integration for 2D/3D/4D support (points, rectangles, colors, etc). +@end enumerate") + (license license:expat))) + +(define-public rust-libdav1d-sys-0.6 + (package + (name "rust-libdav1d-sys") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libdav1d-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wh5jgdm33ld6djxsc7cmwd1ifqys145zlbsf8516n625lscrj8j")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "vendor") + ;; Force linking to our packaged dav1d. + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=dav1d\");~@ + }~%"))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (inputs (list dav1d)) + (home-page "https://github.com/njaard/libavif-rs") + (synopsis "Link to dav1d AV1 decoder") + (description + "This package builds and links to the dav1d AV1 decoder.") + (license license:bsd-2))) + (define-public rust-libwebp-sys-0.4 (package (name "rust-libwebp-sys") @@ -1693,8 +2370,32 @@ pixel buffers with width, height and stride.") graphics and video games.") (license license:expat))) +(define-public rust-lyon-geom-1 + (package + (name "rust-lyon-geom") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "lyon_geom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ydzjz8lh2jlg9gjcpmkix0yxfgkv76yn0mb67h0nasa4f6zpv7d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-euclid" ,rust-euclid-0.22) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/nical/lyon") + (synopsis "2D graphics rendering on the GPU using tessellation") + (description + "This package provides 2D graphics rendering on the GPU using tessellation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lyon-geom-0.17 (package + (inherit rust-lyon-geom-1) (name "rust-lyon-geom") (version "0.17.6") (source @@ -1706,19 +2407,13 @@ graphics and video games.") (sha256 (base32 "12al92qsh0f8ci3qf3533r4y5hxzzyfp972vm4wqzz9bq9vwx6ff")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) ("rust-euclid" ,rust-euclid-0.22) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/nical/lyon") - (synopsis "2D graphics rendering on the GPU using tessellation") - (description - "This package provides 2D graphics rendering on the GPU using tessellation.") - (license (list license:expat license:asl2.0)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-lyon-path-0.17 (package @@ -1768,8 +2463,39 @@ graphics and video games.") (description "This package provides SVG helpers for the lyon crates.") (license (list license:expat license:asl2.0)))) +(define-public rust-mp4parse-0.17 + (package + (name "rust-mp4parse") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mp4parse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w654hv04w1zi2m9b1kji2610mrfrc554xqw4par5kn6sc1m58v3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=overflow_protection" + "--skip=public") + #:cargo-inputs (("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-num-traits" ,rust-num-traits-0.2) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-test-assembler" ,rust-test-assembler-0.1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/mozilla/mp4parse-rust") + (synopsis "Parser for ISO base media file format (mp4)") + (description "Parser for ISO base media file format (mp4).") + (license license:mpl2.0))) + (define-public rust-mp4parse-0.12 (package + (inherit rust-mp4parse-0.17) (name "rust-mp4parse") (version "0.12.1") (source (origin @@ -1778,7 +2504,6 @@ graphics and video games.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1scynvlmiy6xv2rrzzpijd812amh6a863na8i0xrcw5d9d08kl8h")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -1792,11 +2517,7 @@ graphics and video games.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/mozilla/mp4parse-rust") - (synopsis "Parser for ISO base media file format (mp4)") - (description "Parser for ISO base media file format (mp4)") - (license license:mpl2.0))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-osmesa-sys-0.1 (package @@ -1820,6 +2541,148 @@ graphics and video games.") (description "This package provides OSMesa library bindings for Rust.") (license license:cc0))) +(define-public rust-palette-0.7 + (package + (name "rust-palette") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "palette" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p2inf23vsqy06w7vp7rcxmb9vk91asib534m9cafykn8x0z7qmj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Regression tests not included. + #:cargo-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-fast-srgb8" ,rust-fast-srgb8-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-palette-derive" ,rust-palette-derive-0.7) + ("rust-phf" ,rust-phf-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-wide" ,rust-wide-0.7)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-3) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-enterpolation" ,rust-enterpolation-0.2) + ("rust-image" ,rust-image-0.23) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand-mt" ,rust-rand-mt-4) + ("rust-ron" ,rust-ron-0.8) + ("rust-scad" ,rust-scad-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/Ogeon/palette") + (synopsis "Convert and manage colors") + (description + "This package provides converting and managing colors in Rust with a focus +on correctness, flexibility and ease of use.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-palette-0.6 + (package + (inherit rust-palette-0.7) + (name "rust-palette") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "palette" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jay4zbxfnz6hj9f78inb3n3hmaamivnrrapy4ri0n0jf67xd74g")))) + (arguments + `(#:cargo-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-palette-derive" ,rust-palette-derive-0.6) + ("rust-phf" ,rust-phf-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-csv" ,rust-csv-1) + ("rust-image" ,rust-image-0.23) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand-mt" ,rust-rand-mt-4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-palette-derive-0.7 + (package + (name "rust-palette-derive") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "palette_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02ps239sxcr5v294qf89d87sv7fdm9pr2cziwj2l6ggzql703nxp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("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)))) + (home-page "https://github.com/Ogeon/palette") + (synopsis "Automatically implement traits from the @code{palette} crate") + (description "This package allows automatically implements traits from the +@code{palette} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-palette-derive-0.6 + (package + (inherit rust-palette-derive-0.7) + (name "rust-palette-derive") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "palette_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09z4nd4sbmzqd1pqr48vrdca3v2c03dzr70cmxs7zhp7m13dzvh5")))) + (arguments + `(#:cargo-inputs + (("rust-find-crate" ,rust-find-crate-0.6) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-pbr-1 + (package + (name "rust-pbr") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "056mqvw168ziig1dgl2kq4vmkamv6gk3hv1x9696r6ynl3gjfn7d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=tty::unix::compare_with_stty") + #:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/a8m/pb") + (synopsis "Console progress bar for Rust") + (description "This package provides a console progress bar for Rust.") + (license license:expat))) + (define-public rust-piston-float-1 (package (name "rust-piston-float") @@ -2177,8 +3040,67 @@ interactive applications.") ("rust-glob" ,rust-glob-0.2) ("rust-term" ,rust-term-0.4)))))) +(define-public rust-qoi-0.4 + (package + (name "rust-qoi") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "qoi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00c0wkb112annn2wl72ixyd78mf56p4lxkhlmsggx65l3v3n8vbz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `libqoi` + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-png" ,rust-png-0.17) + ("rust-rand" ,rust-rand-0.8) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/aldanor/qoi-rust") + (synopsis "Encoder/decoder for QOI (Quite Okay Image) format") + (description + "VERY fast encoder/decoder for the @acronym{QOI, Quite Okay Image} format.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ravif-0.11 + (package + (name "rust-ravif") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ravif" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vhn2p31z31c01j6i28slgbi01wq1hmyqjidwfkqy430hh16kp5s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-avif-serialize" ,rust-avif-serialize-0.8) + ("rust-imgref" ,rust-imgref-1) + ("rust-loop9" ,rust-loop9-0.1) + ("rust-quick-error" ,rust-quick-error-2) + ("rust-rav1e" ,rav1e) + ("rust-rayon" ,rust-rayon-1) + ("rust-rgb" ,rust-rgb-0.8)) + #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1)))) + (native-inputs + (list nasm pkg-config)) + (inputs + (list libgit2 zlib)) + (home-page "https://lib.rs/ravif") + (synopsis "Rust library for encoding images in AVIF format") + (description + "This package provides a rav1e-based pure Rust library for encoding images +in AVIF format (powers the @code{cavif} tool).") + (license license:bsd-3))) + (define-public rust-ravif-0.8 (package + (inherit rust-ravif-0.11) (name "rust-ravif") (version "0.8.10+rust-1.67.0") (source (origin @@ -2187,7 +3109,6 @@ interactive applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r3s78781kb9lwysdvpdc80gavly33dcs4inhhp2dawml9g3rjss")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-avif-serialize" ,rust-avif-serialize-0.7) @@ -2199,17 +3120,7 @@ interactive applications.") ("rust-rayon" ,rust-rayon-1) ("rust-rgb" ,rust-rgb-0.8)) #:cargo-development-inputs - (("rust-avif-parse" ,rust-avif-parse-1)))) - (native-inputs - (list nasm pkg-config)) - (inputs - (list libgit2 zlib)) - (home-page "https://lib.rs/ravif") - (synopsis "Rust library for encoding images in AVIF format") - (description - "This package provides a rav1e-based pure Rust library for encoding images in -AVIF format (powers the `cavif` tool).") - (license license:bsd-3))) + (("rust-avif-parse" ,rust-avif-parse-1)))))) (define-public rust-ravif-0.6 (package @@ -2239,24 +3150,40 @@ AVIF format (powers the `cavif` tool).") (list nasm)) ;for building rav1e (inputs '()))) -(define-public rust-raw-window-handle-0.5 +(define-public rust-raw-window-handle-0.6 (package (name "rust-raw-window-handle") - (version "0.5.2") + (version "0.6.0") (source (origin (method url-fetch) (uri (crate-uri "raw-window-handle" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj")))) + (base32 "0i5mxxfcgqmvmzg4f0lcz68g4xfd9jybhrdkxd2v37qv1q587aa2")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) (home-page "https://github.com/rust-windowing/raw-window-handle") (synopsis "Interoperability library for Rust Windowing applications") (description "Interoperability library for Rust Windowing applications.") - (license license:expat))) + (license (list license:expat license:asl2.0 license:zlib)))) + +(define-public rust-raw-window-handle-0.5 + (package + (inherit rust-raw-window-handle-0.6) + (name "rust-raw-window-handle") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "raw-window-handle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1f9k10fgda464ia1b2hni8f0sa8i0bphdsbs3di032x80qgrmzzj")))) + (arguments '()))) (define-public rust-raw-window-handle-0.4 (package @@ -2292,25 +3219,66 @@ AVIF format (powers the `cavif` tool).") (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-resize-0.4 +(define-public rust-raw-window-metal-0.3 + (package + (name "rust-raw-window-metal") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "raw-window-metal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xlfy69chky5gxk67p9h7zmf4n4y15fk9abani6c4m4d4n9s8kmc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.25) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-objc" ,rust-objc-0.2) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)))) + (home-page "https://github.com/norse-rs/raw-window-metal") + (synopsis "Interop library between Metal and raw-window-handle") + (description "Interop library between Metal and raw-window-handle.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-resize-0.7 (package (name "rust-resize") - (version "0.4.3") + (version "0.7.4") (source (origin (method url-fetch) (uri (crate-uri "resize" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84")))) + (base32 "0hdd5r2m1700y6r88v5hq3q28xixrsbfhbzqz26409jyy3zvvrw7")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16)))) + `(#:cargo-inputs + (("rust-fallible-collections" ,rust-fallible-collections-0.4) + ("rust-rgb" ,rust-rgb-0.8)) + #:cargo-development-inputs + (("rust-png" ,rust-png-0.17)))) (home-page "https://github.com/PistonDevelopers/resize") (synopsis "Image resampling library in pure Rust") (description "This package provides an image resampling library in pure Rust.") (license license:expat))) +(define-public rust-resize-0.4 + (package + (inherit rust-resize-0.7) + (name "rust-resize") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84")))) + (arguments + `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16)))))) + (define-public rust-rgb-0.8 (package (name "rust-rgb") @@ -2340,6 +3308,39 @@ implements standard Rust traits to make `RGB`/`RGBA` pixels and slices first-class Rust objects.") (license license:expat))) +(define-public rust-scad-1 + (package + (name "rust-scad") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "scad" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yvy7ckfd7r261iywm75na1ykd9cl8h0q8ajb1iwg1jmnbs6vry6")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "docs") + ;; The very next commit in the repository updates nalgebra + (substitute* "Cargo.toml" + (("0\\.16\\.8") "0.27.1")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=common_objects::tests::cube_center_x" + "--skip=common_objects::tests::cube_center_yz") + #:cargo-inputs + (("rust-nalgebra" ,rust-nalgebra-0.27)))) + (home-page "https://github.com/thezoq2/Rust-Scad") + (synopsis "Crate for generating OpenSCAD models using Rust") + (description + "This package provides a crate for generating @code{OpenSCAD} models +using Rust.") + (license license:lgpl2.0+))) + (define-public rust-sdl2-0.35 (package (name "rust-sdl2") @@ -2396,8 +3397,50 @@ first-class Rust objects.") internally rust-sdl2.") (license license:expat))) +(define-public rust-smithay-client-toolkit-0.18 + (package + (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")))) + (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-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)))) + (home-page "https://github.com/smithay/client-toolkit") + (synopsis "Toolkit for making client Wayland applications") + (description + "This package provides a toolkit for making client Wayland applications.") + (license license:expat))) + (define-public rust-smithay-client-toolkit-0.16 (package + (inherit rust-smithay-client-toolkit-0.18) (name "rust-smithay-client-toolkit") (version "0.16.0") (source (origin @@ -2407,7 +3450,6 @@ internally rust-sdl2.") (sha256 (base32 "0m7l0zhl9s3321yj8z6hf1g0w3l2ay85irgcw2r5wwfj69yw81zk")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -2421,12 +3463,7 @@ internally rust-sdl2.") ("rust-wayland-client" ,rust-wayland-client-0.29) ("rust-wayland-cursor" ,rust-wayland-cursor-0.29) ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) - #:cargo-development-inputs (("rust-image" ,rust-image-0.24)))) - (home-page "https://github.com/smithay/client-toolkit") - (synopsis "Toolkit for making client Wayland applications") - (description - "This package provides a toolkit for making client Wayland applications.") - (license license:expat))) + #:cargo-development-inputs (("rust-image" ,rust-image-0.24)))))) (define-public rust-smithay-client-toolkit-0.15 (package @@ -2483,11 +3520,11 @@ internally rust-sdl2.") ("rust-wayland-cursor" ,rust-wayland-cursor-0.28) ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))))) -(define-public rust-smithay-client-toolkit-0.6 +(define-public rust-smithay-client-toolkit-0.4 (package (inherit rust-smithay-client-toolkit-0.12) (name "rust-smithay-client-toolkit") - (version "0.6.4") + (version "0.4.6") (source (origin (method url-fetch) @@ -2496,7 +3533,7 @@ internally rust-sdl2.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0m20687zs36l6xak2s5k9s7qp78ly8xfjpbmrhacp7whfn4hx5lk")))) + "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc")))) (arguments `(#:cargo-inputs (("rust-andrew" ,rust-andrew-0.2) @@ -2505,45 +3542,45 @@ internally rust-sdl2.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-memmap" ,rust-memmap-0.7) ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-client" ,rust-wayland-client-0.23) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.23)) + ("rust-wayland-client" ,rust-wayland-client-0.21) + ("rust-wayland-commons" ,rust-wayland-commons-0.21) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.21)) #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-image" ,rust-image-0.21) - ("rust-wayland-client" ,rust-wayland-client-0.23)))))) + ("rust-image" ,rust-image-0.20) + ("rust-wayland-client" ,rust-wayland-client-0.21)))))) -(define-public rust-smithay-client-toolkit-0.4 +(define-public rust-smithay-clipboard-0.7 (package - (inherit rust-smithay-client-toolkit-0.6) - (name "rust-smithay-client-toolkit") - (version "0.4.6") + (name "rust-smithay-clipboard") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "smithay-client-toolkit" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "smithay-clipboard" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1yj8yzd0lhqpsgq0x4iikl9a02q2hnkky81brk938alv0ibqrjrc")))) + (base32 "19m1rqw4fsp9x92cji9qz169004djjh376b68ylcp9g51hl2pdhb")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-andrew" ,rust-andrew-0.2) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-dlib" ,rust-dlib-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-nix" ,rust-nix-0.14) - ("rust-wayland-client" ,rust-wayland-client-0.21) - ("rust-wayland-commons" ,rust-wayland-commons-0.21) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.21)) + (("rust-libc" ,rust-libc-0.2) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-wayland-backend" ,rust-wayland-backend-0.3)) #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-image" ,rust-image-0.20) - ("rust-wayland-client" ,rust-wayland-client-0.21)))))) + (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list libxkbcommon)) + (home-page "https://github.com/smithay/smithay-clipboard") + (synopsis "Access to the Wayland clipboard for client applications") + (description + "This package provides access to the Wayland clipboard for client +applications.") + (license license:expat))) (define-public rust-smithay-clipboard-0.6 (package + (inherit rust-smithay-clipboard-0.7) (name "rust-smithay-clipboard") (version "0.6.6") (source @@ -2553,22 +3590,124 @@ internally rust-sdl2.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1s5hyhbmnk75i0sm14wy4dy7c576a4dyi1chfwdhpbhz1a3mqd0a")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) ("rust-wayland-client" ,rust-wayland-client-0.29)) #:cargo-development-inputs - (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16)))) - (home-page "https://github.com/smithay/smithay-clipboard") - (synopsis "Access to the Wayland clipboard for client applications") + (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16)))))) + +(define-public rust-softbuffer-0.3 + (package + (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")))) + (build-system cargo-build-system) + (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 " &")))))))) + (inputs (list libx11 + libxcursor + libxext + libxft + libxi + libxinerama + libxmu + libxpresent + libxrandr + libxscrnsaver + libxt + libxtst)) + (native-inputs (list xorg-server-for-tests)) + (home-page "https://github.com/rust-windowing/softbuffer") + (synopsis "Cross-platform software buffer") + (description "Cross-platform software buffer.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tiff-0.9 + (package + (name "rust-tiff") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04b2fd3clxm0pmdlfip8xj594zyrsfwmh641i6x1gfiz9l7jn5vd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-flate2" ,rust-flate2-1) + ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) + ("rust-weezl" ,rust-weezl-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/image-rs/image-tiff") + (synopsis "TIFF decoding and encoding library in pure Rust") (description - "This package provides access to the Wayland clipboard for client -applications.") + "This package provides TIFF decoding and encoding library in pure Rust.") (license license:expat))) (define-public rust-tiff-0.8 (package + (inherit rust-tiff-0.9) (name "rust-tiff") (version "0.8.1") (source (origin @@ -2577,7 +3716,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0wg4a6w8sakyy0mggblg340mx8bgglx9hwsxsn8g5fpjkx7k6jbl")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included #:cargo-inputs @@ -2585,12 +3723,7 @@ applications.") ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) ("rust-weezl" ,rust-weezl-0.1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/image-rs/image-tiff") - (synopsis "TIFF decoding and encoding library in pure Rust") - (description - "This package provides TIFF decoding and encoding library in pure Rust.") - (license license:expat))) + (("rust-criterion" ,rust-criterion-0.3)))))) (define-public rust-tiff-0.6 (package @@ -2677,8 +3810,73 @@ applications.") ("rust-num-derive" ,rust-num-derive-0.2) ("rust-num-traits" ,rust-num-traits-0.2)))))) +(define-public rust-tiny-xlib-0.2 + (package + (name "rust-tiny-xlib") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny-xlib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vgbk1n6mk9vrvd228bpila359cz7vb9pbhyim507alv4r4qs2fl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=error_handling" + "--skip=remove_and_re_insert" + "--skip=smoke" + "--skip=replace_old_handler") + #:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-ctor" ,rust-ctor-0.2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-x11-dl" ,rust-x11-dl-2) + ("rust-x11rb" ,rust-x11rb-0.12)))) + (inputs + (list libx11)) + (home-page "https://github.com/notgull/tiny-xlib") + (synopsis "Tiny Xlib wrapper for Rust") + (description "This package provides a tiny Xlib wrapper for Rust.") + (license (list license:expat license:asl2.0 license:zlib)))) + +(define-public rust-wayland-backend-0.3 + (package + (name "rust-wayland-backend") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r7vz56z6ixfbljraxl4q59g43jfb6i9qkaksi704pzlfgfjs58r")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `wayland_scanner` + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-downcast-rs" ,rust-downcast-rs-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-wayland-sys" ,rust-wayland-sys-0.31)) + #:cargo-development-inputs (("rust-concat-idents" ,rust-concat-idents-1) + ("rust-env-logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/smithay/wayland-rs") + (synopsis "Low-level bindings to the Wayland protocol") + (description "This package provides low-level bindings to the Wayland +protocol.") + (license license:expat))) + (define-public rust-wayland-backend-0.1 (package + (inherit rust-wayland-backend-0.3) (name "rust-wayland-backend") (version "0.1.2") (source @@ -2688,7 +3886,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1n1yi6vna23wfkrpk1j46sx5qbsijh50viha4sra73by8lkqxd21")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Use of undeclared dependencies #:cargo-inputs @@ -2703,15 +3900,41 @@ applications.") ("rust-wayland-sys" ,rust-wayland-sys-0.30)) #:cargo-development-inputs (("rust-concat-idents" ,rust-concat-idents-1) - ("rust-env-logger" ,rust-env-logger-0.10)))) + ("rust-env-logger" ,rust-env-logger-0.10)))))) + +(define-public rust-wayland-client-0.31 + (package + (name "rust-wayland-client") + (version "0.31.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lryhibzmi4hb3jpbraj623l110f6rgp0migpxrm8vrl8wixb9qw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `wayland_protocols` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-wayland-backend" ,rust-wayland-backend-0.3) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)) + #:cargo-development-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Backend API for wayland crates") - (description "This package provides low-level bindings to the Wayland -protocol.") + (synopsis + "Rust bindings to the standard C implementation of the wayland protocol") + (description + "This package provides Rust bindings to the standard C implementation of +the wayland protocol, client side.") (license license:expat))) (define-public rust-wayland-client-0.30 (package + (inherit rust-wayland-client-0.31) (name "rust-wayland-client") (version "0.30.2") (source @@ -2722,7 +3945,6 @@ protocol.") (sha256 (base32 "1j3as2g1znrs2lpkksqcvx8pag85yiwwbcv6wb3lyrqgfxa9d728")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `wayland_protocols` #:cargo-inputs @@ -2735,14 +3957,7 @@ protocol.") #:cargo-development-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis - "Rust bindings to the standard C implementation of the wayland protocol") - (description - "This package provides Rust bindings to the standard C implementation of -the wayland protocol, client side.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-wayland-client-0.29 (package @@ -2768,48 +3983,34 @@ the wayland protocol, client side.") ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) ("rust-wayland-sys" ,rust-wayland-sys-0.29)) #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))) - (inputs - (list rust-bitflags-1 - rust-downcast-rs-1 - rust-libc-0.2 - rust-nix-0.24 - rust-scoped-tls-1 - rust-wayland-commons-0.29 - rust-wayland-scanner-0.29 - rust-wayland-sys-0.29)))) + (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-wayland-client-0.28 (package (inherit rust-wayland-client-0.29) (name "rust-wayland-client") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-client" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mxnflzv9s3qpcp0z7kqvrzki5bknfar9n9yky06f8ivs00vxgdx")))) + (base32 "0m831sj4w5k0j9167f2dy3815k73g153j09271cz20p5a0ik7az3")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ; use of undeclared crate or module `wayland_protocols` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-downcast-rs" ,rust-downcast-rs-1) ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.18) - ("rust-scoped-tls" ,rust-scoped-tls-1)) + ("rust-nix" ,rust-nix-0.20) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-wayland-commons" ,rust-wayland-commons-0.28) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) + ("rust-wayland-sys" ,rust-wayland-sys-0.28)) #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))) - (inputs - (list rust-bitflags-1 - rust-downcast-rs-1 - rust-libc-0.2 - rust-nix-0.18 - rust-scoped-tls-1 - rust-wayland-commons-0.28 - rust-wayland-scanner-0.28 - rust-wayland-sys-0.28)))) + (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-wayland-client-0.23 (package @@ -2839,8 +4040,7 @@ the wayland protocol, client side.") ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)) #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs `()))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-wayland-client-0.21 (package @@ -2889,9 +4089,6 @@ the wayland protocol, client side.") ("rust-once-cell" ,rust-once-cell-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-wayland-sys" ,rust-wayland-sys-0.29)))) - (inputs - (list rust-nix-0.24 rust-once-cell-1 rust-smallvec-1 - rust-wayland-sys-0.29)) (home-page "https://github.com/smithay/wayland-rs") (synopsis "Types and structures used by wayland-client and wayland-server") (description @@ -2903,23 +4100,21 @@ and wayland-server.") (package (inherit rust-wayland-commons-0.29) (name "rust-wayland-commons") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-commons" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mid1sgy3bmiywnrhsr31b8w6zvk1ll2ci2as15ddv8pczvm0128")))) + (base32 "1npvcrwh8chjcji73c24hlp05zbv6dxv24bylb8bn4bhgja1f652")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.18) + (("rust-nix" ,rust-nix-0.20) ("rust-once-cell" ,rust-once-cell-1) - ("rust-smallvec" ,rust-smallvec-1)))) - (inputs - (list rust-nix-0.18 rust-once-cell-1 rust-smallvec-1 - rust-wayland-sys-0.28)))) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-wayland-sys" ,rust-wayland-sys-0.28)))))) (define-public rust-wayland-commons-0.23 (package @@ -2939,8 +4134,7 @@ and wayland-server.") `(#:skip-build? #t #:cargo-inputs (("rust-nix" ,rust-nix-0.14) - ("rust-wayland-sys" ,rust-wayland-sys-0.23)))) - (inputs `()))) + ("rust-wayland-sys" ,rust-wayland-sys-0.23)))))) (define-public rust-wayland-commons-0.21 (package @@ -2961,25 +4155,44 @@ and wayland-server.") (("rust-nix" ,rust-nix-0.14) ("rust-wayland-sys" ,rust-wayland-sys-0.21)))))) -(define-public rust-wayland-cursor-0.29 +(define-public rust-wayland-csd-frame-0.3 + (package + (name "rust-wayland-csd-frame") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-csd-frame" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zjcmcqprfzx57hlm741n89ssp4sha5yh5cnmbk2agflvclm0p32")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cursor-icon" ,rust-cursor-icon-1) + ("rust-wayland-backend" ,rust-wayland-backend-0.3)))) + (home-page "https://github.com/rust-windowing/wayland-csd-frame") + (synopsis "Common trait and types for wayland CSD interop") + (description "This package provides common trait and types for wayland +@acronym{CSD, Client Side Decorations} interop.") + (license license:expat))) + +(define-public rust-wayland-cursor-0.31 (package (name "rust-wayland-cursor") - (version "0.29.5") + (version "0.31.0") (source (origin (method url-fetch) (uri (crate-uri "wayland-cursor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qbn6wqmjibkx3lb3ggbp07iabzgx2zhrm0wxxxjbmhkdyvccrb8")))) + (base32 "0nxdyyg3a3649n316fbnm8rak5k90j580kfnfxn9src6x45a4jm4")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.24) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-xcursor" ,rust-xcursor-0.3)))) - (inputs - (list rust-nix-0.24 rust-wayland-client-0.29 rust-xcursor-0.3)) + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) + ("rust-wayland-client" ,rust-wayland-client-0.31) + ("rust-xcursor" ,rust-xcursor-0.3)))) (home-page "https://github.com/smithay/wayland-rs") (synopsis "Bindings to libwayland-cursor") (description @@ -2988,25 +4201,42 @@ and load them into WlBuffers as well as obtain the necessary metadata to properly display animated cursors.") (license license:expat))) +(define-public rust-wayland-cursor-0.29 + (package + (inherit rust-wayland-cursor-0.31) + (name "rust-wayland-cursor") + (version "0.29.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-cursor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qbn6wqmjibkx3lb3ggbp07iabzgx2zhrm0wxxxjbmhkdyvccrb8")))) + (arguments + `(#:cargo-inputs + (("rust-nix" ,rust-nix-0.24) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-xcursor" ,rust-xcursor-0.3)))))) + (define-public rust-wayland-cursor-0.28 (package (inherit rust-wayland-cursor-0.29) (name "rust-wayland-cursor") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-cursor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pvf96a9hg7b40vyvamcg491sa0006fr9bzf1xkaf8q22qn15syn")))) + (base32 "0nm61zkxwddq9x64dalcb5rihz2w6kz7blmxwx2nsn6ixn200qdy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.18) - ("rust-xcursor" ,rust-xcursor-0.3)))) - (inputs - (list rust-nix-0.18 rust-wayland-client-0.28 rust-xcursor-0.3)))) + (("rust-nix" ,rust-nix-0.20) + ("rust-wayland-client" ,rust-wayland-client-0.28) + ("rust-xcursor" ,rust-xcursor-0.3)))))) (define-public rust-wayland-egl-0.29 (package @@ -3024,11 +4254,8 @@ properly display animated cursors.") `(#:cargo-inputs (("rust-wayland-client" ,rust-wayland-client-0.29) ("rust-wayland-sys" ,rust-wayland-sys-0.29)))) - (inputs - (list rust-wayland-client-0.29 rust-wayland-sys-0.29)) - ;; For the PKG_CONFIG_PATH environment variable. - (native-inputs - (list pkg-config)) + (native-inputs (list pkg-config)) + (inputs (list wayland)) (home-page "https://github.com/smithay/wayland-rs") (synopsis "Bindings to libwayland-egl") (description @@ -3042,22 +4269,47 @@ initializing an OpenGL or Vulkan context.") (package (inherit rust-wayland-egl-0.29) (name "rust-wayland-egl") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-egl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6")))) + (base32 "0mk9yv9b5w64syi09x0ma3s7s7ajdn2hhvykh8wv4ml7w6qimflr")))) (build-system cargo-build-system) - (inputs - (list rust-wayland-client-0.28 rust-wayland-sys-0.28)) - (native-inputs - (list pkg-config)))) + (arguments + `(#: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 + (package + (name "rust-wayland-protocols") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-protocols" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "077257bxv21whi33wm0lz5jkq6jnx0spz5jkq8yr44x9gc8dflz2")))) + (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-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 officials Wayland protocol extensions") + (description + "This package provides a generated API for the officials Wayland protocol +extensions.") + (license license:expat))) (define-public rust-wayland-protocols-0.30 (package + (inherit rust-wayland-protocols-0.31) (name "rust-wayland-protocols") (version "0.30.1") (source @@ -3068,20 +4320,13 @@ initializing an OpenGL or Vulkan context.") (sha256 (base32 "0kcvvli38gdjb9c7dpa2s0ix4nnqfq7n2bbc39370kx9bhg10a1v")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-wayland-backend" ,rust-wayland-backend-0.1) ("rust-wayland-client" ,rust-wayland-client-0.30) ("rust-wayland-scanner" ,rust-wayland-scanner-0.30) - ("rust-wayland-server" ,rust-wayland-server-0.30)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generated API for the officials Wayland protocol extensions") - (description - "This package provides a generated API for the officials Wayland protocol -extensions.") - (license license:expat))) + ("rust-wayland-server" ,rust-wayland-server-0.30)))))) (define-public rust-wayland-protocols-0.29 (package @@ -3101,32 +4346,28 @@ extensions.") ("rust-wayland-client" ,rust-wayland-client-0.29) ("rust-wayland-commons" ,rust-wayland-commons-0.29) ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) - ("rust-wayland-server" ,rust-wayland-server-0.29)))) - (inputs - (list rust-bitflags-1 rust-wayland-client-0.29 - rust-wayland-commons-0.29 rust-wayland-scanner-0.29 - rust-wayland-server-0.29)))) + ("rust-wayland-server" ,rust-wayland-server-0.29)))))) (define-public rust-wayland-protocols-0.28 (package (inherit rust-wayland-protocols-0.29) (name "rust-wayland-protocols") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-protocols" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0c0sw13qssrvf3jgygwqpiimpaagz3haxn9jridd4k85sfs856ii")))) + (base32 "07w6kyr05fmajq3i8npfk4q6j5p35qja91x03zvaqfw09pm20ri8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1)))) - (inputs - (list rust-bitflags-1 rust-wayland-client-0.28 - rust-wayland-commons-0.28 rust-wayland-scanner-0.28 - rust-wayland-server-0.28)))) + (("rust-bitflags" ,rust-bitflags-1) + ("rust-wayland-client" ,rust-wayland-client-0.28) + ("rust-wayland-commons" ,rust-wayland-commons-0.28) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) + ("rust-wayland-server" ,rust-wayland-server-0.28)))))) (define-public rust-wayland-protocols-0.23 (package @@ -3149,8 +4390,7 @@ extensions.") ("rust-wayland-client" ,rust-wayland-client-0.23) ("rust-wayland-commons" ,rust-wayland-commons-0.23) ("rust-wayland-server" ,rust-wayland-server-0.23) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))) - (inputs `()))) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))))) (define-public rust-wayland-protocols-0.21 (package @@ -3175,8 +4415,58 @@ 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 + (package + (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")))) + (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-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.") + (license license:expat))) + +(define-public rust-wayland-protocols-wlr-0.2 + (package + (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")))) + (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-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 WLR wayland protocol extensions") + (description "This package provides generated API for the WLR wayland +protocol extensions.") + (license license:expat))) + (define-public rust-wayland-protocols-wlr-0.1 (package + (inherit rust-wayland-protocols-wlr-0.2) (name "rust-wayland-protocols-wlr") (version "0.1.0") (source @@ -3187,7 +4477,6 @@ extensions.") (sha256 (base32 "12jqi7n77l8a13hc5w5fkdgs4kdjk9i6nvl74njsdr106c4r3sgw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -3195,15 +4484,41 @@ extensions.") ("rust-wayland-client" ,rust-wayland-client-0.30) ("rust-wayland-protocols" ,rust-wayland-protocols-0.30) ("rust-wayland-scanner" ,rust-wayland-scanner-0.30) - ("rust-wayland-server" ,rust-wayland-server-0.30)))) + ("rust-wayland-server" ,rust-wayland-server-0.30)))))) + +(define-public rust-wayland-scanner-0.31 + (package + (name "rust-wayland-scanner") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-scanner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1760n887j18lzd1ni087q7jzsmpcf7ny3dq2698zkjb56r02i3pv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=client_gen::tests::client_gen" + "--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.30) + ("rust-quote" ,rust-quote-1)) + #:cargo-development-inputs (("rust-similar" ,rust-similar-2)))) (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generated API for the WLR wayland protocol extensions") - (description "This package provides generated API for the WLR wayland -protocol extensions") + (synopsis "Generate Rust APIs from XML Wayland protocol files") + (description + "Wayland Scanner generates Rust APIs from XML Wayland protocol files. +It is intended for use with wayland-sys. You should only need this crate if +you are working on custom Wayland protocol extensions. Look at the +wayland-client crate for usable bindings.") (license license:expat))) (define-public rust-wayland-scanner-0.30 (package + (inherit rust-wayland-scanner-0.31) (name "rust-wayland-scanner") (version "0.30.1") (source @@ -3214,7 +4529,6 @@ protocol extensions") (sha256 (base32 "03ikmfwacsgbym2y4raf05knl1qjlgg81sy0174jxhzvayr77f5r")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests expect running wayland instance. #:cargo-inputs @@ -3222,15 +4536,7 @@ protocol extensions") ("rust-quick-xml" ,rust-quick-xml-0.28) ("rust-quote" ,rust-quote-1)) #:cargo-development-inputs - (("rust-similar" ,rust-similar-2)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Generate Rust APIs from XML Wayland protocol files") - (description - "Wayland Scanner generates Rust APIs from XML Wayland protocol files. -It is intended for use with wayland-sys. You should only need this crate if -you are working on custom Wayland protocol extensions. Look at the -wayland-client crate for usable bindings.") - (license license:expat))) + (("rust-similar" ,rust-similar-2)))))) (define-public rust-wayland-scanner-0.29 (package @@ -3248,24 +4554,24 @@ wayland-client crate for usable bindings.") `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) - (inputs - (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8)))) + ("rust-xml-rs" ,rust-xml-rs-0.8)))))) (define-public rust-wayland-scanner-0.28 (package (inherit rust-wayland-scanner-0.29) (name "rust-wayland-scanner") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-scanner" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h")))) - (inputs - (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8)))) + (base32 "1w839jsh7nrni4f2x5bkapf98w7kddxyqmpks4rf67dnvsr3x4nf")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-xml-rs" ,rust-xml-rs-0.8)))))) (define-public rust-wayland-scanner-0.23 (package @@ -3303,8 +4609,37 @@ wayland-client crate for usable bindings.") (base32 "17mp49v7w0p0x5ry628lj2llljnwkr9aj9g4bqqhfibid32jhf5z")))))) +(define-public rust-wayland-server-0.31 + (package + (name "rust-wayland-server") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kmiii32hi7h3r9q923q628rrbglkjkg362c32hnr4s5li90qgrz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-downcast-rs" ,rust-downcast-rs-1) + ("rust-io-lifetimes" ,rust-io-lifetimes-2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-wayland-backend" ,rust-wayland-backend-0.3) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)))) + (home-page "https://github.com/smithay/wayland-rs") + (synopsis + "Bindings to the standard C implementation of the wayland protocol") + (description + "This package provides Rust bindings to the standard C implementation of +the wayland protocol, server side.") + (license license:expat))) + (define-public rust-wayland-server-0.30 (package + (inherit rust-wayland-server-0.31) (name "rust-wayland-server") (version "0.30.1") (source @@ -3315,7 +4650,6 @@ wayland-client crate for usable bindings.") (sha256 (base32 "0fnjhhcbnwgyplawc02v3b6nkxnhzl2981yiyzzlj7gyjs0c4hww")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -3324,14 +4658,7 @@ wayland-client crate for usable bindings.") ("rust-log" ,rust-log-0.4) ("rust-nix" ,rust-nix-0.26) ("rust-wayland-backend" ,rust-wayland-backend-0.1) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.30)))) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis - "Bindings to the standard C implementation of the wayland protocol") - (description - "This package provides Rust bindings to the standard C implementation of -the wayland protocol, server side.") - (license license:expat))) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.30)))))) (define-public rust-wayland-server-0.29 (package @@ -3356,51 +4683,32 @@ the wayland protocol, server side.") ("rust-scoped-tls" ,rust-scoped-tls-1) ("rust-wayland-commons" ,rust-wayland-commons-0.29) ("rust-wayland-scanner" ,rust-wayland-scanner-0.29) - ("rust-wayland-sys" ,rust-wayland-sys-0.29)))) - (inputs - (list rust-bitflags-1 - rust-downcast-rs-1 - rust-lazy-static-1 - rust-libc-0.2 - rust-nix-0.24 - rust-parking-lot-0.11 - rust-scoped-tls-1 - rust-wayland-commons-0.29 - rust-wayland-scanner-0.29 - rust-wayland-sys-0.29)))) + ("rust-wayland-sys" ,rust-wayland-sys-0.29)))))) (define-public rust-wayland-server-0.28 (package (inherit rust-wayland-server-0.29) (name "rust-wayland-server") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-server" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09jfdjfqhjfcpiz4csgh60ymfkmz1cl3jmxyzq9hzcp0kyyxix93")))) + (base32 "0f2lclv6x794a48m3anqgx7qzz5s5dvbsj3xahnmz5izk1bhq7qb")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-downcast-rs" ,rust-downcast-rs-1) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.18) + ("rust-nix" ,rust-nix-0.20) ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-scoped-tls" ,rust-scoped-tls-1)))) - (inputs - (list rust-bitflags-1 - rust-downcast-rs-1 - rust-lazy-static-1 - rust-libc-0.2 - rust-nix-0.18 - rust-parking-lot-0.11 - rust-scoped-tls-1 - rust-wayland-commons-0.28 - rust-wayland-scanner-0.28 - rust-wayland-sys-0.28)))) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-wayland-commons" ,rust-wayland-commons-0.28) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.28) + ("rust-wayland-sys" ,rust-wayland-sys-0.28)))))) (define-public rust-wayland-server-0.23 (package @@ -3427,8 +4735,7 @@ the wayland protocol, server side.") ("rust-nix" ,rust-nix-0.14) ("rust-wayland-commons" ,rust-wayland-commons-0.23) ("rust-wayland-sys" ,rust-wayland-sys-0.23) - ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))) - (inputs `()))) + ("rust-wayland-scanner" ,rust-wayland-scanner-0.23)))))) (define-public rust-wayland-server-0.21 (package @@ -3456,26 +4763,25 @@ the wayland protocol, server side.") ("rust-wayland-sys" ,rust-wayland-sys-0.21) ("rust-wayland-scanner" ,rust-wayland-scanner-0.21)))))) -(define-public rust-wayland-sys-0.30 +(define-public rust-wayland-sys-0.31 (package (name "rust-wayland-sys") - (version "0.30.1") + (version "0.31.1") (source (origin (method url-fetch) (uri (crate-uri "wayland-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01man4ll2kyxp9x2934rhnf98522pzwsd2c6jwr73q08qqma1cln")))) + (base32 "1bxpwamgagpxa8p9m798gd3g6rwj2m4sbdvc49zx05jjzzmci80m")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-dlib" ,rust-dlib-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memoffset" ,rust-memoffset-0.7) - ("rust-pkg-config" ,rust-pkg-config-0.3)) + `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)) #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-libraries @@ -3485,8 +4791,7 @@ the wayland protocol, server side.") (substitute* (find-files "src" "\\.rs$") (("libwayland.*\\.so" shared-lib) (string-append libwayland "/" shared-lib))))))))) - (propagated-inputs - (list wayland)) + (inputs (list wayland)) (home-page "https://github.com/smithay/wayland-rs") (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries") (description @@ -3496,6 +4801,36 @@ you are working on custom Wayland protocol extensions. Look at the crate @code{rust-wayland-client} for usable bindings.") (license license:expat))) +(define-public rust-wayland-sys-0.30 + (package + (inherit rust-wayland-sys-0.31) + (name "rust-wayland-sys") + (version "0.30.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01man4ll2kyxp9x2934rhnf98522pzwsd2c6jwr73q08qqma1cln")))) + (arguments + `(#:cargo-inputs + (("rust-dlib" ,rust-dlib-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memoffset" ,rust-memoffset-0.7) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-libraries + (lambda* (#:key inputs #:allow-other-keys) + (let ((libwayland (dirname (search-input-file + inputs "lib/libwayland-client.so")))) + (substitute* (find-files "src" "\\.rs$") + (("libwayland.*\\.so" shared-lib) + (string-append libwayland "/" shared-lib))))))))))) + (define-public rust-wayland-sys-0.29 (package (inherit rust-wayland-sys-0.30) @@ -3524,30 +4859,27 @@ crate @code{rust-wayland-client} for usable bindings.") (substitute* (find-files "src" "\\.rs$") (("libwayland.*\\.so" shared-lib) (string-append libwayland "/" shared-lib))))))))) - (inputs - (list rust-dlib-0.5 rust-lazy-static-1 rust-libc-0.2 - rust-pkg-config-0.3)) - (propagated-inputs - (list wayland)))) + (inputs (list wayland)))) (define-public rust-wayland-sys-0.28 (package (inherit rust-wayland-sys-0.29) (name "rust-wayland-sys") - (version "0.28.3") + (version "0.28.6") (source (origin (method url-fetch) (uri (crate-uri "wayland-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16f03jsy7q6p2wpaazc4w4kycyyk0fz7lacpdbcizl9m1i7874v7")))) + (base32 "1f7yy3c6h270xd4wk2nsrr9433gmkg29d5rfxndvzznpmslzqhfq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-dlib" ,rust-dlib-0.4) + (("rust-dlib" ,rust-dlib-0.5) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6) ("rust-pkg-config" ,rust-pkg-config-0.3)) #:phases (modify-phases %standard-phases @@ -3556,13 +4888,8 @@ crate @code{rust-wayland-client} for usable bindings.") (let ((libwayland (assoc-ref inputs "wayland"))) (substitute* (find-files "src" "\\.rs$") (("libwayland.*\\.so" shared-lib) - (string-append libwayland "/lib/" shared-lib))) - #t)))))) - (inputs - (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2 - rust-pkg-config-0.3)) - (propagated-inputs - (list wayland)))) + (string-append libwayland "/lib/" shared-lib))))))))) + (inputs (list wayland)))) (define-public rust-wayland-sys-0.23 (package @@ -3583,9 +4910,7 @@ crate @code{rust-wayland-client} for usable bindings.") #:cargo-inputs (("rust-dlib" ,rust-dlib-0.4) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2)))) - (inputs `()) - (propagated-inputs `()))) + ("rust-libc" ,rust-libc-0.2)))))) (define-public rust-wayland-sys-0.21 (package @@ -3602,6 +4927,94 @@ crate @code{rust-wayland-client} for usable bindings.") (base32 "0a0ndgkg98pvmkv44yya4f7mxzjaxylknqh64bpa05w0azyv02jj")))))) +(define-public rust-wayrs-client-1 + (package + (name "rust-wayrs-client") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayrs-client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18i19b7z4wp0mjwn256ps3pdfk47lx45h0cx8wkjlv7akkgzxnj7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.27) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-wayrs-scanner" ,rust-wayrs-scanner-0.13)))) + (home-page "https://github.com/MaxVerevkin/wayrs") + (synopsis "Wayland client library") + (description "This package provides a wayland client library.") + (license license:expat))) + +(define-public rust-wayrs-proto-parser-2 + (package + (name "rust-wayrs-proto-parser") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayrs-proto-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a9gb0iv6rm1z2n4isfb9x05pv6wlgn23hljb9s038m4dgmyn1hl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/MaxVerevkin/wayrs") + (synopsis "Parser for wayland protocol xml files") + (description "This package provides a parser for wayland protocol +xml files.") + (license license:expat))) + +(define-public rust-wayrs-protocols-0.13 + (package + (name "rust-wayrs-protocols") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayrs-protocols" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1888h4wh3knjwh19v4y2gjpsv5j78c4vk08gls5f3aa1iryfpd7x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-wayrs-client" ,rust-wayrs-client-1)))) + (home-page "https://github.com/MaxVerevkin/wayrs") + (synopsis "Collection of Wayland protocols to use with wayrs-client") + (description + "This package provides a collection of Wayland protocols to use +with wayrs-client.") + (license license:expat))) + +(define-public rust-wayrs-scanner-0.13 + (package + (name "rust-wayrs-scanner") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayrs-scanner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07xzg36rnnsb4z4rd82r2mk3y05vg1ssfwrry2kd4yz395sx91z3")))) + (build-system cargo-build-system) + (arguments + `(#: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-wayrs-proto-parser" ,rust-wayrs-proto-parser-2)))) + (home-page "https://github.com/MaxVerevkin/wayrs") + (synopsis "Generates code for wayrs-client from xml files") + (description "This package provides code generation for wayrs-client +from xml files.") + (license license:expat))) + (define-public rust-webp-0.2 (package (name "rust-webp") @@ -3624,20 +5037,97 @@ crate @code{rust-wayland-client} for usable bindings.") (description "This package procides a WebP conversion library.") (license (list license:expat license:asl2.0)))) -(define-public rust-winit-0.28 +(define-public rust-winit-0.29 (package (name "rust-winit") - (version "0.28.3") + (version "0.29.10") (source (origin (method url-fetch) (uri (crate-uri "winit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0x1q4nxlr5sg0sf0fhdwg6jgb0a7rmc8skvp33v1b43v2664wl2g")))) + (base32 "1kzzl8m68sq6njdr6n1b90ppfg1pfhkcq48iqxpfdshyjh8lz0jc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-android-activity" ,rust-android-activity-0.5) + ("rust-atomic-waker" ,rust-atomic-waker-1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-calloop" ,rust-calloop-0.12) + ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-cursor-icon" ,rust-cursor-icon-1) + ("rust-icrate" ,rust-icrate-0.0.4) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-mint" ,rust-mint-0.5) + ("rust-ndk" ,rust-ndk-0.8) + ("rust-ndk-sys" ,rust-ndk-sys-0.5) + ("rust-objc2" ,rust-objc2-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-orbclient" ,rust-orbclient-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("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-redox-syscall" ,rust-redox-syscall-0.3) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-smol-str" ,rust-smol-str-0.2) + ("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.31) + ("rust-wayland-protocols-plasma" ,rust-wayland-protocols-plasma-0.2) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-web-time" ,rust-web-time-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.48) + ("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-log" ,rust-console-log-1) + ("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))) + +(define-public rust-winit-0.28 + (package + (inherit rust-winit-0.29) + (name "rust-winit") + (version "0.28.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "winit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "152bi6lrmnasg6dnsdjqgnzyis3n90i09cja720m4krq8l5xk5lm")))) + (arguments + `(#:cargo-inputs (("rust-android-activity" ,rust-android-activity-0.4) ("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) @@ -3671,19 +5161,54 @@ crate @code{rust-wayland-client} for usable bindings.") (("rust-console-log" ,rust-console-log-0.2) ("rust-image" ,rust-image-0.24) ("rust-simple-logger" ,rust-simple-logger-2) - ("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. + ("rust-web-sys" ,rust-web-sys-0.3)))))) -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.27 + (package + (inherit rust-winit-0.28) + (name "rust-winit") + (version "0.27.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "winit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z35jymza04gjniq0mmydq3m1mrr9pqfcwcldj4zvcl6pmpnsydv")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cocoa" ,rust-cocoa-0.24) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-dispatch" ,rust-dispatch-0.2) + ("rust-instant" ,rust-instant-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mint" ,rust-mint-0.5) + ("rust-mio" ,rust-mio-0.8) + ("rust-ndk" ,rust-ndk-0.7) + ("rust-ndk-glue" ,rust-ndk-glue-0.7) + ("rust-objc" ,rust-objc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.29) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.36) + ("rust-x11-dl" ,rust-x11-dl-2)) + #:cargo-development-inputs (("rust-console-log" ,rust-console-log-0.2) + ("rust-image" ,rust-image-0.24) + ("rust-simple-logger" ,rust-simple-logger-2)))) + (native-inputs (list pkg-config)) + (inputs (list expat fontconfig freetype)))) (define-public rust-winit-0.26 (package @@ -3727,9 +5252,7 @@ the platform-specific getters provided by winit, or another library.") ("rust-x11-dl" ,rust-x11-dl-2)) #:cargo-development-inputs (("rust-console-log" ,rust-console-log-0.2) - ("rust-simple-logger" ,rust-simple-logger-1)))) - (inputs - (list rust-wayland-client-0.29 rust-wayland-protocols-0.29)))) + ("rust-simple-logger" ,rust-simple-logger-1)))))) (define-public rust-winit-0.24 (package @@ -3774,67 +5297,11 @@ the platform-specific getters provided by winit, or another library.") ("rust-x11-dl" ,rust-x11-dl-2)) #:cargo-development-inputs (("rust-console-log" ,rust-console-log-0.2) - ("rust-simple-logger" ,rust-simple-logger-1)))) - (inputs - (list rust-wayland-client-0.28)))) - -(define-public rust-winit-0.20 - (package - (inherit rust-winit-0.24) - (name "rust-winit") - (version "0.20.0-alpha6") - (source - (origin - (method url-fetch) - (uri (crate-uri "winit" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g5cchl97zcg525j6jdr77yby8cmhwv1qqwcd3sf4l4zl263195z")) - (patches - (list - (origin - (method url-fetch) - (uri "https://github.com/rust-windowing/winit/commit/d1c6506865c7bddbb5fb4d80a613e43ddc1370b5.patch") - (file-name (string-append name "-fix-bindings.patch")) - (sha256 - (base32 - "03q4bvdq86kii53d0vsywv08g8vqirf9h1lz2cl6rcc7gjfynpds"))))))) - (arguments - `(#:cargo-inputs - (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-calloop" ,rust-calloop-0.4) - ("rust-cocoa" ,rust-cocoa-0.19) - ("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-core-video-sys" ,rust-core-video-sys-0.1) - ("rust-dispatch" ,rust-dispatch-0.1) - ("rust-instant" ,rust-instant-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-parking-lot" ,rust-parking-lot-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.6) - ("rust-stdweb" ,rust-stdweb-0.4) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wayland-client" ,rust-wayland-client-0.23) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11-dl" ,rust-x11-dl-2)) - #:cargo-development-inputs - (("rust-console-log" ,rust-console-log-0.1) - ("rust-env-logger" ,rust-env-logger-0.5) - ("rust-image" ,rust-image-0.21)))))) + ("rust-simple-logger" ,rust-simple-logger-1)))))) (define-public rust-winit-0.19 (package - (inherit rust-winit-0.20) + (inherit rust-winit-0.24) (name "rust-winit") (version "0.19.5") (source @@ -3868,6 +5335,65 @@ the platform-specific getters provided by winit, or another library.") ("rust-winapi" ,rust-winapi-0.3) ("rust-x11-dl" ,rust-x11-dl-2)))))) +(define-public rust-winit-test-0.1 + (package + (name "rust-winit-test") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "winit-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1czdg3zvwazng2gwlda1nb26hklk1qizz84h97bk9mv2jf52yjx3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-owo-colors" ,rust-owo-colors-3) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) + ("rust-web-time" ,rust-web-time-0.2) + ("rust-winit" ,rust-winit-0.28)) + #:cargo-development-inputs (("rust-winit" ,rust-winit-0.28)) + #: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) + ;; Tests do not expect XDG_RUNTIME_DIR to be empty. + (setenv "XDG_RUNTIME_DIR" "/tmp") + + ;; 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 " &")))))))) + (inputs (list libx11 + libxcursor + libxext + libxft + libxi + libxinerama + libxmu + libxpresent + libxrandr + libxscrnsaver + libxt + libxtst)) + (native-inputs (list xorg-server-for-tests)) + (home-page "https://github.com/notgull/winit-test") + (synopsis "Run tests using the winit event loop") + (description "Run tests using the winit event loop.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-x11-2 (package (name "rust-x11") @@ -3892,8 +5418,88 @@ the platform-specific getters provided by winit, or another library.") (description "This crate provides X11 library bindings for Rust.") (license license:expat))) +(define-public rust-x11rb-0.13 + (package + (name "rust-x11rb") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06lzpmb67sfw37m0i9zz786hx6fklmykd9j3689blk3yijnmxwpq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-gethostname" ,rust-gethostname-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.13)) + #:cargo-development-inputs + (("rust-gethostname" ,rust-gethostname-0.4) + ("rust-polling" ,rust-polling-3) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/psychon/x11rb") + (synopsis "Rust bindings to X11") + (description "This package provides Rust bindings to X11.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-x11rb-0.12 + (package + (inherit rust-x11rb-0.13) + (name "rust-x11rb") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02h492k920mb1733cdmly138zfiwkspil6ssqcvi7inyshk1nr5i")))) + (arguments + `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-gethostname" ,rust-gethostname-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-nix" ,rust-nix-0.26) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) + ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.12)) + #:cargo-development-inputs + (("rust-polling" ,rust-polling-2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + +(define-public rust-x11rb-0.11 + (package + (inherit rust-x11rb-0.13) + (name "rust-x11rb") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05wn86brwm1cd8xgrbs9s1fy71asav8qlsrnlzkvm4fx2aacgwyd")))) + (arguments + `(#:cargo-inputs (("rust-gethostname" ,rust-gethostname-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-nix" ,rust-nix-0.25) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) + ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.11)))))) + (define-public rust-x11rb-0.10 (package + (inherit rust-x11rb-0.13) (name "rust-x11rb") (version "0.10.1") (source (origin @@ -3903,7 +5509,6 @@ the platform-specific getters provided by winit, or another library.") (sha256 (base32 "01ympxagdl0qs35k1ww712shpnpbahkcc29j5dqmwd4z461lhasr")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gethostname" ,rust-gethostname-0.2) @@ -3913,11 +5518,7 @@ the platform-specific getters provided by winit, or another library.") ("rust-once-cell" ,rust-once-cell-1) ("rust-winapi" ,rust-winapi-0.3) ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) - ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.10)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "This package provides Rust bindings to X11") - (license (list license:expat license:asl2.0)))) + ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.10)))))) (define-public rust-x11rb-0.8 (package @@ -3942,8 +5543,63 @@ the platform-specific getters provided by winit, or another library.") ("rust-winapi" ,rust-winapi-0.3) ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1)))))) +(define-public rust-x11rb-protocol-0.13 + (package + (name "rust-x11rb-protocol") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d3cc2dr5fcx8asgrm31d7lrxpnbqi6kl5v3r71gx7xxp3272gp6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/psychon/x11rb") + (synopsis "Rust bindings to X11") + (description "Rust bindings to X11.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-x11rb-protocol-0.12 + (package + (inherit rust-x11rb-protocol-0.13) + (name "rust-x11rb-protocol") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g24qdvq0mbyl2npz7zqy5v6hpdxq2qakkpnp3x02rzvl3ww7ml2")))) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)))))) + +(define-public rust-x11rb-protocol-0.11 + (package + (inherit rust-x11rb-protocol-0.13) + (name "rust-x11rb-protocol") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11rb-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mlwsfb4w8dic0hf0qdxix81f7w07z9v2nsdwly0f8qi2hxm3cg0")))) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.25) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) + (define-public rust-x11rb-protocol-0.10 (package + (inherit rust-x11rb-protocol-0.13) (name "rust-x11rb-protocol") (version "0.10.0") (source (origin @@ -3953,20 +5609,46 @@ the platform-specific getters provided by winit, or another library.") (sha256 (base32 "0rxcpsmgrziwqy9ml81h8r1lwy422h1i5j3d007dpj8a3islbcjn")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-nix" ,rust-nix-0.24) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "Rust bindings to X11") - (license (list license:expat license:asl2.0)))) + (("rust-criterion" ,rust-criterion-0.3)))))) + +(define-public rust-x11-clipboard-0.8 + (package + (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")))) + (build-system cargo-build-system) + (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 " &")))))))) + (native-inputs (list xorg-server-for-tests)) + (home-page "https://github.com/quininer/x11-clipboard") + (synopsis "x11 clipboard support for Rust") + (description "This package provides x11 clipboard support for Rust.") + (license license:expat))) (define-public rust-x11-clipboard-0.7 (package + (inherit rust-x11-clipboard-0.8) (name "rust-x11-clipboard") (version "0.7.1") (source (origin @@ -3976,31 +5658,9 @@ the platform-specific getters provided by winit, or another library.") (sha256 (base32 "0r3lgslbbdf0mb914n0f9q2pqci407r1pcddwbl7sfvc4alrl2wq")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Wants a running X server. - #:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.10)))) - (home-page "https://github.com/quininer/x11-clipboard") - (synopsis "x11 clipboard support for Rust") - (description "This package provides x11 clipboard support for Rust.") - (license license:expat))) - -(define-public rust-x11-clipboard-0.5 - (package - (inherit rust-x11-clipboard-0.7) - (name "rust-x11-clipboard") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17c5yxxhknrp7y9mc7mp85ra8q4jw12c174m9yzbfr1vs2pkgsg5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-xcb" ,rust-xcb-0.9)))))) + #:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.10)))))) (define-public rust-x11-dl-2 (package @@ -4025,6 +5685,96 @@ the platform-specific getters provided by winit, or another library.") (description "This package provides X11 library bindings for Rust.") (license license:expat))) +(define-public rust-xkbcommon-0.7 + (package + (name "rust-xkbcommon") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkbcommon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07n9shhcls66wjvmk5pzqql46ipfdv7b8hbc384wgv9hk4jpv1hk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.8) + ("rust-xkeysym" ,rust-xkeysym-0.2)) + #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11)))) + (inputs (list libxkbcommon)) + (home-page "https://github.com/rust-x-bindings/xkbcommon-rs") + (synopsis "Rust bindings and wrappers for libxkbcommon") + (description "This package provides a set of bindings and safe wrappers +for @code{libxkbcommon}.") + (license license:expat))) + +(define-public rust-xkbcommon-0.5 + (package + (inherit rust-xkbcommon-0.7) + (name "rust-xkbcommon") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkbcommon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "123b96fbp693z43z2f2gbadb9dzf523n2d21j3izcaz9k6sjbnsj")))) + (arguments + `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.7)) + #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11)))))) + +(define-public rust-xkbcommon-dl-0.4 + (package + (name "rust-xkbcommon-dl") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkbcommon-dl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16c6kmgqbffdsnw5w9q97p55d824ss3fqzif2lrh33648j2nc939")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-dlib" ,rust-dlib-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-xkeysym" ,rust-xkeysym-0.2)))) + (home-page "https://github.com/rust-windowing/xkbcommon-dl") + (synopsis "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings") + (description + "Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.") + (license license:expat))) + +(define-public rust-xkeysym-0.2 + (package + (name "rust-xkeysym") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xkeysym" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0886dn1rlkiazcp5n6ayqfg0ibpiny62dlbiyr9v4l32nxl8wjh5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-x11rb" ,rust-x11rb-0.11)))) + (home-page "https://github.com/notgull/xkeysym") + (synopsis "Rust library for working with X11 keysyms") + (description + "This package provides a library for working with X11 keysyms.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-y4m-0.8 (package (name "rust-y4m") diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 266a513dc2..51f02788d3 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1,9 +1,10 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2020, 2021, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 Sergio Pastor Pérez <sergio.pastorperez@outlook.es> ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,8 +27,9 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) - #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gstreamer) @@ -170,8 +172,39 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-cairo-rs-0.18 + (package + (name "rust-cairo-rs") + (version "0.18.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cairo-rs" version)) + (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) + ("rust-freetype-rs" ,rust-freetype-rs-0.32) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-float-eq" ,rust-float-eq-1) + ("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))) + (define-public rust-cairo-rs-0.17 (package + (inherit rust-cairo-rs-0.18) (name "rust-cairo-rs") (version "0.17.10") (source @@ -181,7 +214,6 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "02lz7kvml4m6fx02hy1pgk6ysils9di8n75m166kcpla0b206dmb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -193,15 +225,7 @@ ("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.15 (package @@ -304,8 +328,34 @@ (("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 + (package + (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")))) + (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) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-x11" ,rust-x11-2)))) + (native-inputs (list pkg-config)) + (inputs (list cairo)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libcairo") + (description "This package provides FFI bindings to libcairo.") + (license license:expat))) + (define-public rust-cairo-sys-rs-0.17 (package + (inherit rust-cairo-sys-rs-0.18) (name "rust-cairo-sys-rs") (version "0.17.10") (source @@ -315,22 +365,13 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ccw4z59dx60khngx79g64c75abfwy7wnq57h2z82j7vn5k0q7b9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.17) ("rust-libc" ,rust-libc-0.2) ("rust-system-deps" ,rust-system-deps-6) ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11" ,rust-x11-2)))) - (native-inputs - (list pkg-config)) - (inputs - (list cairo)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libcairo") - (description "This package provides FFI bindings to libcairo.") - (license license:expat))) + ("rust-x11" ,rust-x11-2)))))) (define-public rust-cairo-sys-rs-0.15 (package @@ -510,8 +551,37 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-gdk-pixbuf-0.18 + (package + (name "rust-gdk-pixbuf") + (version "0.18.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk-pixbuf" version)) + (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) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1)) + #: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))) + (define-public rust-gdk-pixbuf-0.17 (package + (inherit rust-gdk-pixbuf-0.18) (name "rust-gdk-pixbuf") (version "0.17.10") (source @@ -521,7 +591,6 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05q7ajsp2z8xi355h26k7lvq7n3lj9xm61vhn045g3238v46npb9")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs @@ -533,14 +602,7 @@ ("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 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))) + (inputs (list gdk-pixbuf)))) (define-public rust-gdk-pixbuf-0.15 (package @@ -641,8 +703,38 @@ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-gdk-pixbuf-sys-0.18 + (package + (name "rust-gdk-pixbuf-sys") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk-pixbuf-sys" version)) + (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) + ("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 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.17 (package + (inherit rust-gdk-pixbuf-sys-0.18) (name "rust-gdk-pixbuf-sys") (version "0.17.10") (source @@ -652,7 +744,6 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1jvh91lzanr1a8c5h6ya8i4jzx7ifs8mjxjnmg8dfriw24yfr1cj")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gio-sys" ,rust-gio-sys-0.17) @@ -663,14 +754,8 @@ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) (inputs - (list gdk-pixbuf)) - (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))) + (list gdk-pixbuf)))) (define-public rust-gdk-pixbuf-sys-0.15 (package @@ -860,8 +945,113 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gdk4-0.7 + (package + (name "rust-gdk4") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xiacc63p73apr033gjrb9dsk0y4yxnsljwfxbwfry41snd03nvy")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-gl" ,rust-gl-0.14) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list cairo gdk-pixbuf gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings of the GDK 4 library") + (description "This package provides rust bindings of the GDK 4 library.") + (license license:expat))) + +(define-public rust-gdk4-sys-0.7 + (package + (name "rust-gdk4-sys") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w7yvir565sjrrw828lss07749hfpfsr19jdjzwivkx36brl7ayv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; ‘GDK_MEMORY_A16’ undeclared + #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.18) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list cairo gdk-pixbuf glib gtk pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings of GDK 4") + (description "This package provides FFI bindings of GDK 4.") + (license license:expat))) + +(define-public rust-gio-0.18 + (package + (name "rust-gio") + (version "0.18.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wsc6mnx057s4ailacg99dwgna38dbqli5x7a6y9rdw75x9qzz6l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=settings::test::bool_set_get" + "--skip=settings::test::string_get") + #:cargo-inputs + (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-serial-test" ,rust-serial-test-2)))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the Gio library") + (description "Rust bindings for the Gio library.") + (license license:expat))) + (define-public rust-gio-0.17 (package + (inherit rust-gio-0.18) (name "rust-gio") (version "0.17.10") (source @@ -871,7 +1061,6 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "02nkqpq1a6ikzhv5x4nyfvzx8zk5dkjsjm50ns4qdybwjf93x5x6")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` #:cargo-inputs @@ -891,15 +1080,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-1)))) - (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-1)))))) (define-public rust-gio-0.15 (package @@ -1027,8 +1208,51 @@ ("rust-serial-test" ,rust-serial-test-0.1) ("rust-serial-test-derive" ,rust-serial-test-derive-0.1)))))) +(define-public rust-gio-sys-0.18 + (package + (name "rust-gio-sys") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lip8z35iy9d184x2qwjxlbxi64q9cpayy7v1p5y9xdsa3w6smip")))) + (build-system cargo-build-system) + (arguments + `(;; XXX: Tests are sensitive to the version of glib, even though + ;; the library supports a wide range. Skip for now. + #:tests? #f + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases (modify-phases %standard-phases + (add-before 'check 'extend-include-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((gio-headers (search-input-directory + inputs "include/gio-unix-2.0"))) + ;; Tests rely on these headers. + (setenv "C_INCLUDE_PATH" + (string-append gio-headers ":" + (getenv "C_INCLUDE_PATH"))))))))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgio-2.0") + (description "This package provides FFI bindings to libgio-2.0.") + (license license:expat))) + (define-public rust-gio-sys-0.17 (package + (inherit rust-gio-sys-0.18) (name "rust-gio-sys") (version "0.17.10") (source (origin @@ -1038,7 +1262,6 @@ (sha256 (base32 "1hr84vgpz1hbs9q7wgvpnwhbxwh9kim0z5aqv6v6ki0j1b1qgkqc")))) - (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. @@ -1060,15 +1283,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.15 (package @@ -1174,24 +1389,68 @@ (define-public rust-gir-format-check-0.1 (package (name "rust-gir-format-check") - (version "0.1.1") + (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "gir-format-check" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0znl4qcgmg0656zk9vjkwdn9wj1zpkd0m0l5jnzmahd80ii7vf4b")))) + (base32 "05n4g8yqkyzrnxbqyrkjqjxsfxdy3q78jk0ny54ffv2qm09sjp9s")))) (build-system cargo-build-system) (home-page "https://github.com/gtk-rs/gir-format-check") (synopsis "File format checker") (description "File format checker in Rust.") (license license:expat))) +(define-public rust-glib-0.18 + (package + (name "rust-glib") + (version "0.18.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r8fw0627nmn19bgk3xpmcfngx3wkn7mcpq5a8ma3risx3valg93")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=structured_log") + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-task" ,rust-futures-task-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib-macros" ,rust-glib-macros-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-trybuild2" ,rust-trybuild2-1)))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the GLib library") + (description "Rust bindings for the GLib library.") + (license license:expat))) + (define-public rust-glib-0.17 (package + (inherit rust-glib-0.18) (name "rust-glib") (version "0.17.10") (source (origin @@ -1201,7 +1460,6 @@ (sha256 (base32 "0jqlipn9zixj8fpqlg45v0f06j2ghdz72cml2akcxlnlm1dx9ynk")))) - (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. @@ -1227,15 +1485,7 @@ (("rust-criterion" ,rust-criterion-0.4) ("rust-gir-format-check" ,rust-gir-format-check-0.1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-trybuild2" ,rust-trybuild2-1)))) - (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.15 (package @@ -1359,8 +1609,40 @@ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-glib-macros-0.18 + (package + (name "rust-glib-macros") + (version "0.18.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p5cla53fcp195zp0hkqpmnn7iwmkdswhy7xh34002bw8y7j5c0b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-2) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-glib" ,rust-glib-0.18) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-trybuild2" ,rust-trybuild2-1)))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the GLib library, proc macros crate") + (description "Rust bindings for the GLib library, proc macros crate.") + (license license:expat))) + (define-public rust-glib-macros-0.17 (package + (inherit rust-glib-macros-0.18) (name "rust-glib-macros") (version "0.17.10") (source (origin @@ -1370,7 +1652,6 @@ (sha256 (base32 "09nyh22nryip4i22mdrixzl4q0r5h5lxcn40mgqr30rk6y9wg9gc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -1383,15 +1664,7 @@ #:cargo-development-inputs (("rust-glib" ,rust-glib-0.17) ("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.15 (package @@ -1466,17 +1739,17 @@ ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-glib-sys-0.17 +(define-public rust-glib-sys-0.18 (package (name "rust-glib-sys") - (version "0.17.10") - (source (origin - (method url-fetch) - (uri (crate-uri "glib-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1w64ppa12s9ky6gfdaqhq9w30ad6hskll812jb3sl2xsggmac2nq")))) + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "glib-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "164qhsfmlzd5mhyxs8123jzbdfldwxbikfpq5cysj3lddbmy4g06")))) (build-system cargo-build-system) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though @@ -1488,15 +1761,26 @@ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) - (inputs - (list glib)) + (native-inputs (list pkg-config)) + (inputs (list glib)) (home-page "https://gtk-rs.org/") (synopsis "FFI bindings to libglib-2.0") (description "This package provides FFI bindings to libglib-2.0.") (license license:expat))) +(define-public rust-glib-sys-0.17 + (package + (inherit rust-glib-sys-0.18) + (name "rust-glib-sys") + (version "0.17.10") + (source (origin + (method url-fetch) + (uri (crate-uri "glib-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w64ppa12s9ky6gfdaqhq9w30ad6hskll812jb3sl2xsggmac2nq")))))) + (define-public rust-glib-sys-0.15 (package (inherit rust-glib-sys-0.17) @@ -1587,8 +1871,37 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gobject-sys-0.18 + (package + (name "rust-gobject-sys") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gobject-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i6fhp3m6vs3wkzyc22rk2cqj68qvgddxmpaai34l72da5xi4l08")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `G_TYPE_FUNDAMENTAL_MAX` constant mismatch with gcc + #:cargo-inputs + (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgobject-2.0") + (description "This package provides FFI bindings to libgobject-2.0.") + (license license:expat))) + (define-public rust-gobject-sys-0.17 (package + (inherit rust-gobject-sys-0.18) (name "rust-gobject-sys") (version "0.17.10") (source (origin @@ -1598,7 +1911,6 @@ (sha256 (base32 "0ql0pcab6dxjapiglxcjaavbbh1sznyc2wj5q273b9j0fwqw6d6d")))) - (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. @@ -1609,15 +1921,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.15 (package @@ -1711,6 +2015,119 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-graphene-rs-0.18 + (package + (name "rust-graphene-rs") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphene-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00f4q1ra4haap5i7lazwhkdgnb49fs8adk2nm6ki6mjhl76jh8iv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs (("rust-glib" ,rust-glib-0.18) + ("rust-graphene-sys" ,rust-graphene-sys-0.18) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list glib graphene)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the Graphene library") + (description "Rust bindings for the Graphene library.") + (license license:expat))) + +(define-public rust-graphene-sys-0.18 + (package + (name "rust-graphene-sys") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphene-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n8zlg7z26lwpnvlqp1hjlgrs671skqwagdpm7r8i1zwx3748hfc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib graphene)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgraphene-1.0") + (description "FFI bindings to libgraphene-1.0.") + (license license:expat))) + +(define-public rust-gsk4-0.7 + (package + (name "rust-gsk4") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gsk4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zhzs2dkgiinhgc11akpn2harq3x5n1iq21dnc4h689g3lsqx58d")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-glib" ,rust-glib-0.18) + ("rust-graphene-rs" ,rust-graphene-rs-0.18) + ("rust-gsk4-sys" ,rust-gsk4-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings of the GSK 4 library") + (description "Rust bindings of the GSK 4 library.") + (license license:expat))) + +(define-public rust-gsk4-sys-0.7 + (package + (name "rust-gsk4-sys") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gsk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mbdlm9qi1hql48rr29vsj9vlqwc7gxg67wg1q19z67azwz9xg8j")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `GskFillRule` undeclared + #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-graphene-sys" ,rust-graphene-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.18) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list cairo gdk-pixbuf graphene gtk pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings of GSK 4") + (description "This package provides FFI bindings of GSK 4.") + (license license:expat))) + (define-public rust-gstreamer-0.18 (package (name "rust-gstreamer") @@ -2187,8 +2604,198 @@ library.") (license license:expat))) +(define-public rust-gtk4-0.7 + (package + (name "rust-gtk4") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hh8nzglmz94v1m1h6vy8z12m6fr7ia467ry0md5fa4p7sm53sss")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display` + #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) + ("rust-field-offset" ,rust-field-offset-0.3) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-graphene-rs" ,rust-graphene-rs-0.18) + ("rust-gsk4" ,rust-gsk4-0.7) + ("rust-gtk4-macros" ,rust-gtk4-macros-0.7) + ("rust-gtk4-sys" ,rust-gtk4-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list cairo glib gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings of the GTK 4 library") + (description "Rust bindings of the GTK 4 library.") + (license license:expat))) + +(define-public rust-gtk4-macros-0.7 + (package + (name "rust-gtk4-macros") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk4-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bw3cchiycf7dw1bw4p8946gv38azxy05a5w0ndgcmxnz6fc8znm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Failed to initialize GTK + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quick-xml" ,rust-quick-xml-0.30) + ("rust-quote" ,rust-quote-1) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-trybuild2" ,rust-trybuild2-1)))) + (native-inputs (list pkg-config)) + (inputs (list gdk-pixbuf gtk)) + (home-page "https://gtk-rs.org/") + (synopsis "Macros helpers for GTK 4 bindings") + (description "Macros helpers for GTK 4 bindings.") + (license license:expat))) + +(define-public rust-gtk4-sys-0.7 + (package + (name "rust-gtk4-sys") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f2ylskyqkjdik9fij2m46pra4jagnif5xyalbxfk3334fmc9n2l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Can't find gtk/gtk-a11y.h from gtk+ + #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-graphene-sys" ,rust-graphene-sys-0.18) + ("rust-gsk4-sys" ,rust-gsk4-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.18) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list cairo gdk-pixbuf graphene gtk pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings of GTK 4") + (description "This package provides FFI bindings of GTK 4.") + (license license:expat))) + +(define-public rust-libadwaita-0.5 + (package + (name "rust-libadwaita") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "libadwaita" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "174pzn9dwsk8ikvrhx13vkh0zrpvb3rhg9yd2q5d2zjh0q6fgrrg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list libadwaita)) + (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs") + (synopsis "Rust bindings for libadwaita") + (description "Rust bindings for libadwaita.") + (license license:expat))) + +(define-public rust-libadwaita-sys-0.5 + (package + (name "rust-libadwaita-sys") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "libadwaita-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; ‘AdwBannerClass’ undeclared + #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-gio-sys" ,rust-gio-sys-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-gtk4-sys" ,rust-gtk4-sys-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.18) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list gtk libadwaita)) + (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/") + (synopsis "FFI bindings for libadwaita") + (description "FFI bindings for libadwaita.") + (license license:expat))) + +(define-public rust-pango-0.18 + (package + (name "rust-pango") + (version "0.18.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pango" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r5ygq7036sv7w32kp8yxr6vgggd54iaavh3yckanmq4xg0px8kw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pango-sys" ,rust-pango-sys-0.18)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list pango)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the Pango library") + (description "This package provides Rust bindings for the Pango library.") + (license license:expat))) + (define-public rust-pango-0.17 (package + (inherit rust-pango-0.18) (name "rust-pango") (version "0.17.10") (source @@ -2198,7 +2805,6 @@ library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0j0xj9yw81qivqb0y34j9c5azjsdspxp1zzpvxi1zri0qrplbgim")))) - (build-system cargo-build-system) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f @@ -2210,15 +2816,7 @@ library.") ("rust-once-cell" ,rust-once-cell-1) ("rust-pango-sys" ,rust-pango-sys-0.17)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (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.15 (package @@ -2322,8 +2920,35 @@ library.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-pango-sys-0.18 + (package + (name "rust-pango-sys") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pango-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libpango-1.0") + (description "This package provides FFI bindings to @code{libpango-1.0}.") + (license license:expat))) + (define-public rust-pango-sys-0.17 (package + (inherit rust-pango-sys-0.18) (name "rust-pango-sys") (version "0.17.10") (source @@ -2333,7 +2958,6 @@ library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "15aindwdxsydzvqcvhc9ysamx5v1jmq8qbs61ncxic2h72grz9ix")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.17) @@ -2342,15 +2966,7 @@ library.") ("rust-system-deps" ,rust-system-deps-6)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) - (inputs - (list pango)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libpango-1.0") - (description "This package provides FFI bindings to @code{libpango-1.0}.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pango-sys-0.15 (package diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 43d9e3cd60..aaf2157661 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com> -;;; Copyright © 2019-2023 Efraim Flashner <efraim@flashner.co.il> -;;; Copyright © 2019-2023 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; 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–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> @@ -32,9 +32,15 @@ ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2022 Paul Alesius <paul@unnservice.com> ;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com> -;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu> -;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2023, 2024 Wilko Meyer <w@wmeyer.eu> +;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 Sergio Pastor Pérez <sergio.pastorperez@outlook.es> +;;; Copyright © 2023, 2024 VÖRÖSKŐI András <voroskoi@gmail.com> +;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch> +;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com> +;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> +;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; ;;; This file is part of GNU Guix. ;;; @@ -64,13 +70,20 @@ #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) + #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages c) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-tls) + #: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 databases) @@ -91,12 +104,14 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages rust) #:use-module (gnu packages rust-apps) #:use-module (gnu packages sequoia) #:use-module (gnu packages serialization) + #:use-module (gnu packages shells) #:use-module (gnu packages sqlite) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) @@ -286,1450 +301,6 @@ loaded at program startup.") library in Rust.") (license license:expat))) -(define-public rust-actix-0.10 - (package - (name "rust-actix") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0q6cd08d0xikilj9l3gfsyhva5b91y55lfxy7yd7w7ivizw43qhv")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #false ;doc test fails - #:cargo-inputs - (("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-derive" ,rust-actix-derive-0.5) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-util" ,rust-tokio-util-0.3) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19)))) - (home-page "https://actix.rs") - (synopsis "Actor framework for Rust") - (description "This package provides Actix actor framework for Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-0.8 - (package - (inherit rust-actix-0.10) - (name "rust-actix") - (version "0.8.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xqyrwq7hgi640h5czy73zrkxl1s0yhm7laxga13dwhkfg9f6737")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-http" ,rust-actix-http-0.2) - ("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-derive" ,rust-actix-derive-0.4) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3) - ("rust-derive-more" ,rust-derive-more-0.14) - ("rust-futures" ,rust-futures-0.1) - ("rust-hashbrown" ,rust-hashbrown-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.8) - ("rust-smallvec" ,rust-smallvec-0.6) - ("rust-tokio-codec" ,rust-tokio-codec-0.1) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))))) - -(define-public rust-actix-codec-0.3 - (package - (name "rust-actix-codec") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-codec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0w7506qd2f8q83z6l5lqx1363ks0ysx8f7qgvy8fknrq70xq7lbq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-sink" ,rust-futures-sink-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-util" ,rust-tokio-util-0.3)))) - (home-page "https://actix.rs") - (synopsis "Codec utilities for working with framed protocols") - (description - "This package provides codec utilities for working with framed -protocols.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-codec-0.2 - (package - (inherit rust-actix-codec-0.3) - (name "rust-actix-codec") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-codec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "100k0n155fnnjqjz2s1gnwim2fp7s1mw942x0famg89cbh55zr89")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-sink" ,rust-futures-sink-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-util" ,rust-tokio-util-0.2)))))) - -(define-public rust-actix-codec-0.1 - (package - (inherit rust-actix-codec-0.3) - (name "rust-actix-codec") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-codec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lv42xf57y3kwy8nl2a9pkz35yvbspd9250virfr7p069fpi2b4z")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-tokio-codec" ,rust-tokio-codec-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1)))))) - -(define-public rust-actix-connect-2 - (package - (name "rust-actix-connect") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-connect" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1p6hh5rj9zpx4wx0h87d56ahk68hmhpw2gmfsfl5pwb312hkfy0p")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-utils" ,rust-actix-utils-2) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-either" ,rust-either-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19) - ("rust-webpki" ,rust-webpki-0.21)))) - (home-page "https://actix.rs") - (synopsis "TCP connector service for Actix ecosystem") - (description - "This package provides a TCP connector service for Actix ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-connect-1 - (package - (inherit rust-actix-connect-2) - (name "rust-actix-connect") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-connect" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0v77m394gzbrrzg12xkqgli11vwhig0zcxy3yhmq1s91j9bcjp69")))) - (arguments - ;; XXX: The crate fails to't build with: "error[E0432]: unresolved import - ;; `trust_dns_resolver::Background`". I assume it really expects - ;; trust-dns-resolver at version 0.18-alpha.2, which we do not provide. - `(#:skip-build? #true - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-utils" ,rust-actix-utils-1) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.18) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-actix-testing" ,rust-actix-testing-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("0.18.0-alpha.2") - ,(package-version rust-trust-dns-proto-0.18))) - #t))))))) - -(define-public rust-actix-connect-0.2 - (package - (inherit rust-actix-connect-2) - (name "rust-actix-connect") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-connect" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "187whz05gjkp9pcza4i714v0a8yxlg3jdrzii7gaqsxl9fyykbcz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-actix-utils" ,rust-actix-utils-0.4) - ("rust-derive-more" ,rust-derive-more-0.15) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11) - ("rust-webpki" ,rust-webpki-0.19)) - #:cargo-development-inputs - (("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-actix-test-server" ,rust-actix-test-server-0.2) - ("rust-bytes" ,rust-bytes-0.4)))))) - -(define-public rust-actix-derive-0.5 - (package - (name "rust-actix-derive") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k1kg4gkp2jhi5fgdfd0cq2qfbyy3gfgwqjrvzq1hzrjmynwwnmr")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #true ;bootsrapping issues with rust-actix - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - ;; #:cargo-development-inputs - ;; (("rust-actix" ,rust-actix-0.8)) - )) - (home-page "https://github.com/actix/actix-derive/") - (synopsis "Proc macros for Actix Rust actor framework") - (description - "This package provides proc macros for the Rust actor framework Actix.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-derive-0.4 - (package - (inherit rust-actix-derive-0.5) - (name "rust-actix-derive") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0v0mvq883aq5z6d0893bh32bfddvfajh5bm7nkl0l8idpzbzdx8b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))))) - -(define-public rust-actix-http-2 - (package - (name "rust-actix-http") - (version "2.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-http" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0x78h9lzqdhp06v1kf4dhbiqp8sc911w4lqfj5rmdbhpg3l9j8j5")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix" ,rust-actix-0.10) - ("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-connect" ,rust-actix-connect-2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) - ("rust-actix-tls" ,rust-actix-tls-2) - ("rust-actix-utils" ,rust-actix-utils-2) - ("rust-base64" ,rust-base64-0.13) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-brotli2" ,rust-brotli2-0.3) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-cookie" ,rust-cookie-0.14) - ("rust-copyless" ,rust-copyless-0.1) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-either" ,rust-either-1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-flate2" ,rust-flate2-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-fxhash" ,rust-fxhash-0.2) - ("rust-h2" ,rust-h2-0.2) - ("rust-http" ,rust-http-0.2) - ("rust-httparse" ,rust-httparse-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-language-tags" ,rust-language-tags-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-rand" ,rust-rand-0.7) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-slab" ,rust-slab-0.4) - ("rust-time" ,rust-time-0.2)))) - (home-page "https://actix.rs") - (synopsis "HTTP primitives for the Actix ecosystem") - (description - "This package provides HTTP primitives for the Actix ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-http-1 - (package - (inherit rust-actix-http-2) - (name "rust-actix-http") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-http" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06chrs9asbxmxzgiw5sw7ky97yrin9g88nmd6w407a6y9z668rn1")))) - ;; XXX: The crate fails to't build with with the same error as - ;; rust-actix-connect. Skip build for now. - (arguments - `(#:skip-build? #true - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-connect" ,rust-actix-connect-1) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) - ("rust-actix-tls" ,rust-actix-tls-1) - ("rust-actix-utils" ,rust-actix-utils-1) - ("rust-base64" ,rust-base64-0.11) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-brotli2" ,rust-brotli2-0.3) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-copyless" ,rust-copyless-0.1) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-either" ,rust-either-1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-failure" ,rust-failure-0.1) - ("rust-flate2" ,rust-flate2-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-fxhash" ,rust-fxhash-0.2) - ("rust-h2" ,rust-h2-0.2) - ("rust-http" ,rust-http-0.2) - ("rust-httparse" ,rust-httparse-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-language-tags" ,rust-language-tags-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-rand" ,rust-rand-0.7) - ("rust-regex" ,rust-regex-1) - ("rust-ring" ,rust-ring-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-sha1" ,rust-sha1-0.6) - ("rust-slab" ,rust-slab-0.4) - ("rust-time" ,rust-time-0.1)) - #:cargo-development-inputs - (("rust-actix-http-test" ,rust-actix-http-test-1)))))) - -(define-public rust-actix-http-0.2 - (package - (inherit rust-actix-http-2) - (name "rust-actix-http") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-http" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fdi9pi33am22qbqni5dn2in11xfbchgsjnm9ws0s918rmvhzdgw")))) - ;; XXX: The crate fails to't build without rust-actix-http-test-0.2 making - ;; a circular dependency with rust-awc-0.2 - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-connect" ,rust-actix-connect-0.2) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.1) - ("rust-actix-utils" ,rust-actix-utils-0.4) - ("rust-base64" ,rust-base64-0.10) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-brotli2" ,rust-brotli2-0.3) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-copyless" ,rust-copyless-0.1) - ("rust-derive-more" ,rust-derive-more-0.15) - ("rust-either" ,rust-either-1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-failure" ,rust-failure-0.1) - ("rust-flate2" ,rust-flate2-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-h2" ,rust-h2-0.1) - ("rust-hashbrown" ,rust-hashbrown-0.6) - ("rust-http" ,rust-http-0.1) - ("rust-httparse" ,rust-httparse-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-language-tags" ,rust-language-tags-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-regex" ,rust-regex-1) - ("rust-ring" ,rust-ring-0.14) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-sha1" ,rust-sha1-0.6) - ("rust-slab" ,rust-slab-0.4) - ("rust-time" ,rust-time-0.1) - ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) - -(define-public rust-actix-http-test-1 - (package - (name "rust-actix-http-test") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-http-test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06z6iy9ffsjcw3g8zwwghky5zpyg7c1z823x35lgc4y1yjzxfizq")))) - (build-system cargo-build-system) - (arguments - ;; XXX: The crate fails to't build with with the same error as - ;; rust-actix-connect. Skip build for now. - `(#:skip-build? #true - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-connect" ,rust-actix-connect-1) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-server" ,rust-actix-server-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-testing" ,rust-actix-testing-1) - ("rust-actix-utils" ,rust-actix-utils-1) - ("rust-awc" ,rust-awc-1) - ("rust-base64" ,rust-base64-0.11) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-futures" ,rust-futures-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-net2" ,rust-net2-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-sha1" ,rust-sha1-0.6) - ("rust-slab" ,rust-slab-0.4) - ("rust-time" ,rust-time-0.1)) - #:cargo-development-inputs - (("rust-actix-http" ,rust-actix-http-1)))) - (home-page "https://actix.rs") - (synopsis "Helpers for Actix applications to use during testing") - (description - "This package provides various helpers for Actix applications to use -during testing.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-http-test-0.2 - (package - (inherit rust-actix-http-test-1) - (name "rust-actix-http-test-2") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-http-test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m1ghgllf7ws5wk51x8phcdjq21phylawmvp7wb29zd1d0aw2aac")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-connect" ,rust-actix-connect-0.2) - ("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server" ,rust-actix-server-0.6) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-actix-utils" ,rust-actix-utils-0.4) - ("rust-awc" ,rust-awc-0.2) - ("rust-base64" ,rust-base64-0.10) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-futures" ,rust-futures-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-net2" ,rust-net2-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-sha1" ,rust-sha1-0.6) - ("rust-slab" ,rust-slab-0.4) - ("rust-time" ,rust-time-0.1) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) - -(define-public rust-actix-macros-0.2 - (package - (name "rust-actix-macros") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jsmhq9k5nsms8sci2lqkihym5nrhlpfv8dgd0n4539g1cad67p0")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `rustversion` - #:cargo-inputs (("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://actix.rs") - (synopsis "Actix runtime macros") - (description "This package provides Actix runtime macros.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-macros-0.1 - (package - (inherit rust-actix-macros-0.2) - (name "rust-actix-macros") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mfnprr8gy1gb5xcr18iwsv781hysvh7sr5xxg6ghyi61gh8rjml")))) - (arguments - `(#:cargo-test-flags - (list "--release" "--" - "--skip=compile_macros") - #:cargo-inputs - (("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-trybuild" ,rust-trybuild-1)))))) - -(define-public rust-actix-router-0.2 - (package - (name "rust-actix-router") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-router" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0df2626hk4n4yki6j88v3k0gcm8pi5hdnm1mldyvyi8nvbdzgldv")))) - (build-system cargo-build-system) - (arguments - ;; Tests fail with "error[E0432]: unresolved import `serde_derive`". - `(#:tests? #false - #:cargo-inputs - (("rust-bytestring" ,rust-bytestring-0.1) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://actix.rs") - (synopsis "Resource path matching library") - (description "This package provides resource path matching library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-router-0.1 - (package - (inherit rust-actix-router-0.2) - (name "rust-actix-router") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-router" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xyc0kzawfwjfiw4znb7xx6hh4r7nnwjq44i08fjc1724ysln8i3")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-http" ,rust-http-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-string" ,rust-string-0.2)))))) - -(define-public rust-actix-rt-2 - (package - (name "rust-actix-rt") - (version "2.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-rt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "078mjccgha4xlqk2hjb9hxfg26pmpra9v2h2w0m40gvx5102vwr8")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `hyper` - #:cargo-inputs (("rust-actix-macros" ,rust-actix-macros-0.2) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-uring" ,rust-tokio-uring-0.4)))) - (home-page "https://actix.rs") - (synopsis "Actix runtime") - (description "This package provides Actix runtime.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-rt-1 - (package - (inherit rust-actix-rt-2) - (name "rust-actix-rt") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-rt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09xj7pxy0ng13rd6hya1md98dhk0586p4bsfrwmxxlg028lwqgql")))) - (arguments - `(#:cargo-inputs - (("rust-actix-macros" ,rust-actix-macros-0.1) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) - ("rust-copyless" ,rust-copyless-0.1) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-tokio" ,rust-tokio-0.2)))))) - -(define-public rust-actix-rt-0.2 - (package - (inherit rust-actix-rt-1) - (name "rust-actix-rt") - (version "0.2.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-rt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13h9dph54lhxlzcz6wxmsv96qqpbh1dzr4365gn84gb00qfxmjc8")))) - (arguments - `(#:cargo-inputs - (("rust-actix-threadpool" ,rust-actix-threadpool-0.1) - ("rust-copyless" ,rust-copyless-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) - -(define-public rust-actix-server-1 - (package - (name "rust-actix-server") - (version "1.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13khzd6pz9pqksxmw2syipfwq2gi5v9warx6pa24g8iccxp7wh25")))) - (build-system cargo-build-system) - (arguments - ;; Tests fail with "error[E0432]: unresolved import `bytes`" error. - `(#:tests? #false - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-utils" ,rust-actix-utils-2) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mio" ,rust-mio-0.6) - ("rust-mio-uds" ,rust-mio-uds-0.6) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-slab" ,rust-slab-0.4) - ("rust-socket2" ,rust-socket2-0.3)))) - (home-page "https://actix.rs") - (synopsis "General purpose TCP server built for the Actix ecosystem") - (description - "This package provides a general purpose TCP server built for the Actix -ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-server-0.6 - (package - (inherit rust-actix-server-1) - (name "rust-actix-server") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19b2sl8dz01xfrynmf4iixq4a15g0gk1z43lby7762ldmws6aqnx")))) - (arguments - `(#:cargo-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-mio" ,rust-mio-0.6) - ("rust-mio-uds" ,rust-mio-uds-0.6) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-net2" ,rust-net2-0.2) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-slab" ,rust-slab-0.4) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-signal" ,rust-tokio-signal-0.2) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-tokio-uds" ,rust-tokio-uds-0.2) - ("rust-webpki" ,rust-webpki-0.19) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)) - #:cargo-development-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-env-logger" ,rust-env-logger-0.6)))))) - -(define-public rust-actix-server-0.5 - (package - (inherit rust-actix-server-1) - (name "rust-actix-server") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fyxkkgm3cbyzxgx0qw86i1dq9hrr891n1c7mc7450n8arir735s")))) - (arguments - `(#:cargo-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-mio" ,rust-mio-0.6) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-net2" ,rust-net2-0.2) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-slab" ,rust-slab-0.4) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-signal" ,rust-tokio-signal-0.2) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-webpki" ,rust-webpki-0.19) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)) - #:cargo-development-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-env-logger" ,rust-env-logger-0.6)))))) - -(define-public rust-actix-server-config-0.1 - (package - (name "rust-actix-server-config") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-server-config" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c7zp4l63n5skljbpq6j0a0avdjv6w067bdc5ca96bb8kjc38fj8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-uds" ,rust-tokio-uds-0.2)))) - (home-page "https://actix.rs") - (synopsis "Actix server config utils") - (description "Actix server config utils.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-service-1 - (package - (name "rust-actix-service") - (version "1.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-service" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fw2b1cpxrpqk778mpvxv0cazj0pwjyb6khzs4syhnqvb1fl6lh0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-futures-util" ,rust-futures-util-0.3) - ("rust-pin-project" ,rust-pin-project-0.4)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-1) - ("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://actix.rs") - (synopsis - "Service trait and combinators for asynchronous request/response") - (description - "This package provides a service trait and combinators for representing -asynchronous request/response operations.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-service-0.4 - (package - (inherit rust-actix-service-1) - (name "rust-actix-service") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-service" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gvpw11hcr1zmi5qzq3np6qzd0j51mdxn7yfgmzgyhc8ja7b99dw")))) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2)))))) - -(define-public rust-actix-testing-1 - (package - (name "rust-actix-testing") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-testing" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "073r3rlnz9km7w7zfhpj6snb453hhp7d354adbp79awrhyirq8s7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-actix-macros" ,rust-actix-macros-0.1) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-server" ,rust-actix-server-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-log" ,rust-log-0.4) - ("rust-socket2" ,rust-socket2-0.3)))) - (home-page "https://actix.rs") - (synopsis "Actix testing utils") - (description "This package provides Actix testing utils.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-testing-0.1 - (package - (inherit rust-actix-testing-1) - (name "rust-actix-testing") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-testing" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w9p7wv2n2wda8ph3ahp8fqslmbh12vs206l4i49jl37mjbiw05g")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server" ,rust-actix-server-0.6) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-net2" ,rust-net2-0.2) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)))))) - -(define-public rust-actix-test-server-0.2 - (package - (name "rust-actix-test-server") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-test-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lqx8adsl3nlhbnvvjrmy9mkfa0d8wmwyy4gdz5ik8xhbwibxnn2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server" ,rust-actix-server-0.5) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-net2" ,rust-net2-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-webpki" ,rust-webpki-0.19) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)) - #:cargo-development-inputs - (("rust-actix-service" ,rust-actix-service-0.4)))) - (home-page "https://actix.rs") - (synopsis "Actix test server") - (description "Actix test server.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-threadpool-0.3 - (package - (name "rust-actix-threadpool") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-threadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c0frk19ml94d01mvgv5g60mhq86gfi34c3lsfpvjm18016z02fj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-derive-more" ,rust-derive-more-0.99) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-threadpool" ,rust-threadpool-1)))) - (home-page "https://actix.rs") - (synopsis "Actix thread pool for sync code") - (description "This package provides Actix thread pool for sync code.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-threadpool-0.1 - (package - (inherit rust-actix-threadpool-0.3) - (name "rust-actix-threadpool") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-threadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0pfk6k09cdw0w63wh8glqm6bvqz0hlqwhyqvdfw6yzns2dfyhnkb")))) - (arguments - `(#:cargo-inputs - (("rust-derive-more" ,rust-derive-more-0.15) - ("rust-futures" ,rust-futures-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-threadpool" ,rust-threadpool-1)))))) - -(define-public rust-actix-tls-2 - (package - (name "rust-actix-tls") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yqmlyn02c72a1rrmjkfx5hnz286130y3sq4ll1mbkv1fdyrny14")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-utils" ,rust-actix-utils-2) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.20)))) - (home-page "https://actix.rs") - (synopsis "TLS acceptor services for Actix ecosystem") - (description - "This package provides TLS acceptor services for Actix ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-tls-1 - (package - (inherit rust-actix-tls-2) - (name "rust-actix-tls") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1a4m96jz6vzmknpk5m803c337c6dillnqq4w71nrlphhmzxb9rd4")))) - (arguments - `(#:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-utils" ,rust-actix-utils-1) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.17)) - #:cargo-development-inputs - (("rust-actix-testing" ,rust-actix-testing-1)))))) - -(define-public rust-actix-utils-2 - (package - (name "rust-actix-utils") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nkby6wpwcmjr3zcghd962l2hyjry0aayncyjzbx2ck6qpg2541f")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-either" ,rust-either-1) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-sink" ,rust-futures-sink-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-slab" ,rust-slab-0.4)))) - (home-page "https://actix.rs") - (synopsis "Network related services and utilities for the Actix ecosystem") - (description - "This package provides various network related services and utilities for -the Actix ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-utils-1 - (package - (inherit rust-actix-utils-2) - (name "rust-actix-utils") - (version "1.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kkz2hfz8r2k1gxcjk2qq1h1qxlb487g023q4v1dw6ph3dizby7w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-slab" ,rust-slab-0.4)))))) - -(define-public rust-actix-utils-0.4 - (package - (inherit rust-actix-utils-2) - (name "rust-actix-utils") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15bv06z7pccnmh067l5zj0fvpmfagnil7lvznnl3fp4gjh4k334h")))) - (arguments - `(#:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2)))))) - -(define-public rust-actix-web-3 - (package - (name "rust-actix-web") - (version "3.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-web" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11kv8y1p9dw78lnhrw3rqavhmazmy7s0z8j14a3a1yp7fahx8hg6")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-http" ,rust-actix-http-2) - ("rust-actix-macros" ,rust-actix-macros-0.1) - ("rust-actix-router" ,rust-actix-router-0.2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-server" ,rust-actix-server-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-testing" ,rust-actix-testing-1) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) - ("rust-actix-tls" ,rust-actix-tls-2) - ("rust-actix-utils" ,rust-actix-utils-2) - ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.4) - ("rust-awc" ,rust-awc-2) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("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-fxhash" ,rust-fxhash-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-regex" ,rust-regex-1) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-socket2" ,rust-socket2-0.3) - ("rust-time" ,rust-time-0.2) - ("rust-tinyvec" ,rust-tinyvec-1) - ("rust-url" ,rust-url-2)))) - (home-page "https://actix.rs") - (synopsis "Powerful, pragmatic, and fast web framework for Rust") - (description - "Actix Web is a powerful, pragmatic, and fast web framework for -Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-web-2 - (package - (inherit rust-actix-web-3) - (name "rust-actix-web") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-web" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dgnn7xiw2yhvrx7l7b57gwra7yfqawka5xz1lpq4h0h8qifhn1i")))) - (arguments - ;; XXX: The crate fails to't build with with the same error as - ;; rust-actix-connect. Skip build for now. - `(#:skip-build? #true - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-http" ,rust-actix-http-1) - ("rust-actix-macros" ,rust-actix-macros-0.1) - ("rust-actix-router" ,rust-actix-router-0.2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-server" ,rust-actix-server-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-actix-testing" ,rust-actix-testing-1) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) - ("rust-actix-tls" ,rust-actix-tls-1) - ("rust-actix-utils" ,rust-actix-utils-1) - ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.2) - ("rust-awc" ,rust-awc-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures" ,rust-futures-0.3) - ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-net2" ,rust-net2-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-time" ,rust-time-0.1) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-actix-web-1 - (package - (inherit rust-actix-web-3) - (name "rust-actix-web") - (version "1.0.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-web" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00wvayn7v2s61hylisr53f48s2bzg8jp3bmrqh1vkb6vgjb1nfmg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-http" ,rust-actix-http-0.2) - ("rust-actix-router" ,rust-actix-router-0.1) - ("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server" ,rust-actix-server-0.6) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-actix-testing" ,rust-actix-testing-0.1) - ("rust-actix-threadpool" ,rust-actix-threadpool-0.1) - ("rust-actix-utils" ,rust-actix-utils-0.4) - ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.1) - ("rust-awc" ,rust-awc-0.2) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-derive-more" ,rust-derive-more-0.15) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures" ,rust-futures-0.1) - ("rust-hashbrown" ,rust-hashbrown-0.6) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-net2" ,rust-net2-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-regex" ,rust-regex-1) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-time" ,rust-time-0.1) - ("rust-url" ,rust-url-2)) - #:cargo-development-inputs - (("rust-actix" ,rust-actix-0.8) - ("rust-actix-connect" ,rust-actix-connect-0.2) - ("rust-actix-http-test" ,rust-actix-http-test-0.2) - ("rust-brotli2" ,rust-brotli2-0.3) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-flate2" ,rust-flate2-1) - ("rust-rand" ,rust-rand-0.7) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) - -(define-public rust-actix-web-codegen-0.4 - (package - (name "rust-actix-web-codegen") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-web-codegen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ys3f6q0hgflqvp271s49q88m41db3iynm7ydxy0wgikjdqgf9md")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://actix.rs") - (synopsis "Actix web proc macros") - (description "This package provides Actix web proc macros.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-actix-web-codegen-0.2 - (package - (inherit rust-actix-web-codegen-0.4) - (name "rust-actix-web-codegen") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-web-codegen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rjpzwsm51nfjqsz269jwbkiic9d454bnsk9ng882wp0rdsz86x7")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-web" ,rust-actix-web-3)))))) - -(define-public rust-actix-web-codegen-0.1 - (package - (inherit rust-actix-web-codegen-0.4) - (name "rust-actix-web-codegen") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-web-codegen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1frs0id6k1vjczhnfhwh8q8birp27imlvgi6jylfxh911r9372h6")))) - (arguments - `(#:tests? #f ; cannot subtract `chrono::Duration` from `Tm` - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-actix-http" ,rust-actix-http-0.2) - ("rust-actix-http-test" ,rust-actix-http-test-0.2) - ("rust-actix-web" ,rust-actix-web-1) - ("rust-futures" ,rust-futures-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)))) - (define-public rust-adaptive-barrier-1 (package (name "rust-adaptive-barrier") @@ -1817,8 +388,6 @@ deadlock, like the standard Barrier).") ("rust-serde-json" ,rust-serde-json-1) ("rust-sha2" ,rust-sha2-0.9) ("rust-tokio" ,rust-tokio-1)))) - (native-inputs - (list perl)) (home-page "https://github.com/brave/adblock-rust/") (synopsis "Adblock Plus syntax filter parsing and matching") (description "This package provides native Rust module for Adblock Plus @@ -1916,46 +485,6 @@ syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") Rust, using gimli.") (license (list license:asl2.0 license:expat)))) -(define-public rust-addr2line-0.17 - (package - (inherit rust-addr2line-0.19) - (name "rust-addr2line") - (version "0.17.0") - (source (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sw16zqy6w0ar633z69m7lw6gb0k1y7xj3387a8wly43ij5div5r")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml.orig" - (("(cpp_demangle =.*)default-features = false,(.*)" _ first last) - (string-append first last)) - ((".*auxiliary.*") "")) - (copy-file "Cargo.toml.orig" "Cargo.toml"))))) - (arguments - `(#:tests? #false ; Not all files included. - #:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-cpp-demangle" ,rust-cpp-demangle-0.3) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-gimli" ,rust-gimli-0.26) - ("rust-object" ,rust-object-0.27) - ("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)) - #:cargo-development-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-clap" ,rust-clap-2) - ("rust-findshlibs" ,rust-findshlibs-0.10) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-rustc-test" ,rust-rustc-test-0.3) - ("rust-typed-arena" ,rust-typed-arena-2)))))) - (define-public rust-addchain-0.2 (package (name "rust-addchain") @@ -2079,470 +608,6 @@ the Rust programming language.") (license (list license:bsd-3 license:zlib)))) -(define-public rust-aead-0.5 - (package - (name "rust-aead") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "aead" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1j6pmc8pk4ha64bj9l6xzbhd85s2y1dblna2zsq83h0zy6w2w6aw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-bytes" ,rust-bytes-1) - ("rust-crypto-common" ,rust-crypto-common-0.1) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-heapless" ,rust-heapless-0.7)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis - "Traits for Authenticated Encryption with Associated Data (AEAD) algorithms") - (description - "This package provides traits for Authenticated Encryption with Associated -Data (AEAD) algorithms, such as AES-GCM as ChaCha20Poly1305, which provide a -high-level API.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-aead-0.4 - (package - (inherit rust-aead-0.5) - (name "rust-aead") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "aead" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xw8kp9j1whfdxhgmr2qf9xgslkg52zh6gzmhsh13y9w3s73nq8b")))) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-heapless" ,rust-heapless-0.7) - ("rust-rand-core" ,rust-rand-core-0.6)))))) - -(define-public rust-aead-0.3 - (package - (name "rust-aead") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "aead" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c8388alvivcj4qkxgh4s4l6fbczn3p8wc0pnar6crlfvcdmvjbz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-heapless" ,rust-heapless-0.5)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Traits for Authenticated Encryption with Associated Data (AEAD) -algorithms") - (description "This package provides traits for Authenticated Encryption -with Associated Data (AEAD) algorithms.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-aead-0.2 - (package - (inherit rust-aead-0.3) - (name "rust-aead") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aead" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r3ijikx9h117q0xgkc56yb0501kifjr3gsfp5bvnrz7asdipw2c")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.12) - ("rust-heapless" ,rust-heapless-0.5)))))) - -(define-public rust-aes-0.8 - (package - (name "rust-aes") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0haj74iqjjhxz4s6yh3v21s68snn74y93ji5d9bnr66921kzsg23")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Facade for AES (Rijndael) block ciphers implementations") - (description "This package provides a facade for AES (Rijndael) block -ciphers implementations.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-aes-0.7 - (package - (inherit rust-aes-0.8) - (name "rust-aes") - (version "0.7.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1f0sdx2fsa8w3l7xzsyi9ry3shvnnsgc0znh50if9fm95vslg2wy")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cipher" ,rust-cipher-0.3) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-ctr" ,rust-ctr-0.8) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)))))) - -(define-public rust-aes-0.6 - (package - (inherit rust-aes-0.7) - (name "rust-aes") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0q85mw70mgr4glza9y9lrs9nxfa1cdcqzfk6wx0smb3623pr2hw8")))) - (arguments - `(#:cargo-inputs - (("rust-aes-soft" ,rust-aes-soft-0.6) - ("rust-aesni" ,rust-aesni-0.10) - ("rust-cipher" ,rust-cipher-0.2)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.2)))))) - -(define-public rust-aes-0.4 - (package - (inherit rust-aes-0.6) - (name "rust-aes") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xgsp2bn5llsppald60iw4497gaspslg0a8hknhniiz4zmki607p")))) - (arguments - `(#:cargo-inputs - (("rust-aes-soft" ,rust-aes-soft-0.4) - ("rust-aesni" ,rust-aesni-0.7) - ("rust-block-cipher" ,rust-block-cipher-0.7)) - #:cargo-development-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7)))))) - -(define-public rust-aes-0.3 - (package - (inherit rust-aes-0.4) - (name "rust-aes") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aes-soft" ,rust-aes-soft-0.3) - ("rust-aesni" ,rust-aesni-0.6) - ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))))) - -(define-public rust-aes-ctr-0.6 - (package - (name "rust-aes-ctr") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-ctr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qspjxzrclnb83501595y01dhc0km1ssrbjnwlxhcrsdwp6w6abp")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-aesni" ,rust-aesni-0.10) - ("rust-aes-soft" ,rust-aes-soft-0.6) - ("rust-cipher" ,rust-cipher-0.2) - ("rust-ctr" ,rust-ctr-0.6)) - #:cargo-development-inputs `(("rust-cipher" ,rust-cipher-0.2)))) - (home-page "https://github.com/RustCrypto/block-ciphers/tree/master/aes") - (synopsis "Pure Rust implementation of AES") - (description - "A pure Rust implementation of the @acronym{AES, Advanced Encryption -Standard}. Use the AES crate if possible, as the aes-ctr has been into it.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-aes-gcm-0.10 - (package - (name "rust-aes-gcm") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-gcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0z2429v2d2wyf809h2wc4vwwibwypz3y4p7sn4kzkjb91ip3dqc2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aead" ,rust-aead-0.5) - ("rust-aes" ,rust-aes-0.8) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-ctr" ,rust-ctr-0.9) - ("rust-ghash" ,rust-ghash-0.5) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-aead" ,rust-aead-0.5) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/AEADs") - (synopsis "AES-GCM (Galois/Counter Mode) Authenticated Encryption") - (description "This package provides a pure Rust implementation of the -AES-GCM (Galois/Counter Mode) Authenticated Encryption with Associated -Data (AEAD) Cipher with optional architecture-specific hardware -acceleration.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-aes-gcm-0.8 - (package - (inherit rust-aes-gcm-0.10) - (name "rust-aes-gcm") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-gcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1nl8iwlh209y1vj9n2lm1a70i69clvg2z6x69bi4dgdrpgxbay2j")))) - (arguments - `(#:cargo-inputs - (("rust-aead" ,rust-aead-0.3) - ("rust-aes" ,rust-aes-0.6) - ("rust-cipher" ,rust-cipher-0.2) - ("rust-ctr" ,rust-ctr-0.6) - ("rust-ghash" ,rust-ghash-0.3) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-aes-gcm-0.6 - (package - (inherit rust-aes-gcm-0.8) - (name "rust-aes-gcm") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-gcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lga8my3zlc0b1nhcpc1hrbykfm014fqs6d64bwrjqii05w01xc6")))) - (arguments - `(#:cargo-inputs - (("rust-aead" ,rust-aead-0.3) - ("rust-aes" ,rust-aes-0.4) - ("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-ghash" ,rust-ghash-0.3) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-criterion-cycles-per-byte" - ,rust-criterion-cycles-per-byte-0.1) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-aes-gcm-0.5 - (package - (inherit rust-aes-gcm-0.6) - (name "rust-aes-gcm") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-gcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f66b5bmyj38r1hj55wzamlzw3y1aql34lgwr2vxn93073d6njl3")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aead" ,rust-aead-0.2) - ("rust-aes" ,rust-aes-0.3) - ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) - ("rust-ghash" ,rust-ghash-0.2) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)))))) - -(define-public rust-aes-soft-0.6 - (package - (name "rust-aes-soft") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-soft" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wj0fi2pvmlw09yvb1aqf0mfkzrfxmjsf90finijh255ir4wf55y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)) - #:cargo-development-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Bit-sliced implementation of AES (Rijndael) block ciphers") - (description "This package provides a bit-sliced implementation of -AES (Rijndael) block ciphers. - -This package is deprecated and was replaced by the @code{aes} crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-aes-soft-0.4 - (package - (inherit rust-aes-soft-0.6) - (name "rust-aes-soft") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-soft" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9")))) - (arguments - `(#:cargo-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)) - #:cargo-development-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7)))))) - -(define-public rust-aes-soft-0.3 - (package - (inherit rust-aes-soft-0.4) - (name "rust-aes-soft") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-soft" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)))))) - -(define-public rust-aesni-0.10 - (package - (name "rust-aesni") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aesni" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kmh07fp9hbi1aa8dr2rybbgw8vqz6hjmk34c4w7sbscx7si2bpa")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cipher" ,rust-cipher-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "AES (Rijndael) block ciphers implementation using AES-NI") - (description "This package provides an implementation of AES (Rijndael) -block ciphers using AES-NI. - -This package is deprecated and was replaced by the @code{aes} crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-aesni-0.7 - (package - (inherit rust-aesni-0.10) - (name "rust-aesni") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aesni" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-opaque-debug" ,rust-opaque-debug-0.2) - ("rust-stream-cipher" ,rust-stream-cipher-0.4)) - #:cargo-development-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-stream-cipher" ,rust-stream-cipher-0.4)))))) - -(define-public rust-aesni-0.6 - (package - (inherit rust-aesni-0.7) - (name "rust-aesni") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aesni" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) - ("rust-opaque-debug" ,rust-opaque-debug-0.2) - ("rust-stream-cipher" ,rust-stream-cipher-0.3)))))) - (define-public rust-afl-0.12 (package (name "rust-afl") @@ -2580,47 +645,17 @@ This package is deprecated and was replaced by the @code{aes} crate.") "Fuzz Rust code with american-fuzzy-lop.") (license license:asl2.0))) -(define-public rust-afl-0.8 - (package - (inherit rust-afl-0.12) - (name "rust-afl") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "afl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rw11hycfjhqbc7z1smn75m0sczq519msjwimxh7b8s6n4pzk5r7")))) - (arguments - `(#:skip-build? #t ; Build wants AFL - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-clap" ,rust-clap-2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-rustc-version" ,rust-rustc-version-0.2) - ("rust-xdg" ,rust-xdg-2)) - #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2) - ("rust-xdg" ,rust-xdg-2)) - #:phases (modify-phases %standard-phases - ;; Custom archive file for test suite. - (delete 'check-for-pregenerated-files)))))) - (define-public rust-ahash-0.8 (package (name "rust-ahash") - (version "0.8.3") + (version "0.8.7") (source (origin (method url-fetch) (uri (crate-uri "ahash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0bzcsxdl2wd6j2p4214qh9sqkqn69gi7f9lk1xi8yj063r6zd69c")))) + "008xw6gigwnf0q01ic4ar2y4dqfnzn3kyys6vd4cvfa3imjakhvp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2630,7 +665,8 @@ This package is deprecated and was replaced by the @code{aes} crate.") ("rust-getrandom" ,rust-getrandom-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-serde" ,rust-serde-1) - ("rust-version-check" ,rust-version-check-0.9)) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-zerocopy" ,rust-zerocopy-0.7)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-fnv" ,rust-fnv-1) @@ -2762,14 +798,14 @@ using AES-NI for high performance.") (define-public rust-aho-corasick-1 (package (name "rust-aho-corasick") - (version "1.0.2") + (version "1.1.2") (source (origin (method url-fetch) (uri (crate-uri "aho-corasick" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0has59a3571irggpk5z8c0lpnx8kdx12qf4g2x0560i2y8dwpxj3")))) + "1w510wnixvlgimkx1zjbvlxh6xps2vjgfqgwf5a6adlbjp5rv5mj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2869,99 +905,6 @@ using AES-NI for high performance.") (description "Rust bindings for OpenAL, this crate contains FFI elements.") (license (list license:expat license:asl2.0)))) -(define-public rust-alacritty-config-0.1 - (package - (name "rust-alacritty-config") - (version "0.1.1") - (source (origin - (method url-fetch) - (uri (crate-uri "alacritty_config" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0imj95kqnpb6mlgdn4bs11lm472x8j5vf58wz14hbcfw2kag4fw6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-winit" ,rust-winit-0.28)))) - (home-page "https://github.com/alacritty/alacritty") - (synopsis "Alacritty configuration abstractions") - (description "This package provides configuration abstractions for the -Alacritty terminal emulator.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-alacritty-config-derive-0.2 - (package - (name "rust-alacritty-config-derive") - (version "0.2.1") - (source (origin - (method url-fetch) - (uri (crate-uri "alacritty_config_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vasc1fagkih5zcdyi9lwc9bprmr0zq0zyyakfqsm9pnr9x60lyp")))) - (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)) - #:cargo-development-inputs - (("rust-alacritty-config" ,rust-alacritty-config-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8)))) - (home-page "https://github.com/alacritty/alacritty") - (synopsis "Failure resistant deserialization derive") - (description - "This package provides a failure resistant deserialization derive.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-alacritty-terminal-0.19 - (package - (name "rust-alacritty-terminal") - (version "0.19.1") - (source (origin - (method url-fetch) - (uri (crate-uri "alacritty_terminal" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19gypy8xhkm3icmc4js2jhh0nnw0ciag3qkxb55bw2mg3j61l01m")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-alacritty-config" ,rust-alacritty-config-0.1) - ("rust-alacritty-config-derive" ,rust-alacritty-config-derive-0.2) - ("rust-base64" ,rust-base64-0.13) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-dirs" ,rust-dirs-4) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mio" ,rust-mio-0.6) - ("rust-mio-anonymous-pipes" ,rust-mio-anonymous-pipes-0.2) - ("rust-mio-extras" ,rust-mio-extras-2) - ("rust-miow" ,rust-miow-0.3) - ("rust-nix" ,rust-nix-0.24) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-regex-automata" ,rust-regex-automata-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-signal-hook-mio" ,rust-signal-hook-mio-0.2) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-vte" ,rust-vte-0.10) - ("rust-windows-sys" ,rust-windows-sys-0.36)) - #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/alacritty/alacritty") - (synopsis "Library for writing terminal emulators") - (description - "This package provides a library for writing terminal emulators.") - (license license:asl2.0))) - (define-public rust-alga-0.9 (package (name "rust-alga") @@ -3303,34 +1246,42 @@ the code to interact with the underlying operating system ALSA interface.") "Rust bindings for OpenAL 1.1 and extensions (including EFX).") (license (list license:expat license:asl2.0)))) -(define-public rust-always-assert-0.1 +(define-public rust-android-activity-0.5 (package - (name "rust-always-assert") - (version "0.1.2") + (name "rust-android-activity") + (version "0.5.1") (source (origin (method url-fetch) - (uri (crate-uri "always-assert" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "android-activity" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "04ad9wbh70nii1ilcd1mxv85yqx18jf9vsmh3ddps886bmi8ixpv")))) + (base32 "1fgl1jbzwbxrw4naw8bzjmphqj68q3hiylc05pakyz4p5a8h3f1r")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-log" ,rust-log-0.4)))) - (home-page - "https://github.com/matklad/always-assert") - (synopsis - "Recoverable assertions for long-running robust applications") - (description - "This package provides a recoverable assertions for long-running robust -applications.") + `(#:skip-build? #t ; 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.8) + ("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)))) (define-public rust-android-activity-0.4 (package + (inherit rust-android-activity-0.5) (name "rust-android-activity") (version "0.4.1") (source (origin @@ -3339,7 +1290,6 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19imf29l08n7qlkqk3ri3m3nzfhm0lmkqizafs68i2ysbq2a0xvw")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Only supports compiling for Android. #:cargo-inputs @@ -3352,12 +1302,7 @@ applications.") ("rust-ndk" ,rust-ndk-0.7) ("rust-ndk-context" ,rust-ndk-context-0.1) ("rust-ndk-sys" ,rust-ndk-sys-0.4) - ("rust-num-enum" ,rust-num-enum-0.5)))) - (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-num-enum" ,rust-num-enum-0.5)))))) (define-public rust-android-glue-0.2 (package @@ -3553,6 +1498,32 @@ 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.9 + (package + (name "rust-annotate-snippets") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07p8r6jzb7nqydq0kr5pllckqcdxlyld2g275v425axnzffpxbyc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-yansi-term" ,rust-yansi-term-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-difference" ,rust-difference-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-yansi-term" ,rust-yansi-term-0.1)))) + (home-page "https://github.com/rust-lang/annotate-snippets-rs") + (synopsis "Library for building code annotations") + (description "Library for building code annotations.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ansi-parser-0.8 (package (name "rust-ansi-parser") @@ -3594,25 +1565,27 @@ it outputs messages to Android's logcat.") (define-public rust-anstream-0.6 (package (name "rust-anstream") - (version "0.6.4") + (version "0.6.11") (source (origin (method url-fetch) (uri (crate-uri "anstream" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i2a9390vwhc42c5njz38n56jfwg17v64nqw9232j9gb2sz1xf9a")))) + (base32 "19dndamalavhjwp4i74k8hdijcixb7gsfa6ycwyc1r8xn6y1wbkf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-anstyle-parse" ,rust-anstyle-parse-0.2) - ("rust-anstyle-query" ,rust-anstyle-query-1) - ("rust-anstyle-wincon" ,rust-anstyle-wincon-3) - ("rust-colorchoice" ,rust-colorchoice-1) - ("rust-utf8parse" ,rust-utf8parse-0.2)) + `(#:cargo-inputs + (("rust-anstyle" ,rust-anstyle-1) + ("rust-anstyle-parse" ,rust-anstyle-parse-0.2) + ("rust-anstyle-query" ,rust-anstyle-query-1) + ("rust-anstyle-wincon" ,rust-anstyle-wincon-3) + ("rust-colorchoice" ,rust-colorchoice-1) + ("rust-utf8parse" ,rust-utf8parse-0.2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) - ("rust-owo-colors" ,rust-owo-colors-3) + ("rust-lexopt" ,rust-lexopt-0.3) + ("rust-owo-colors" ,rust-owo-colors-4) ("rust-proptest" ,rust-proptest-1) ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2)))) (home-page "https://github.com/rust-cli/anstyle") @@ -3652,14 +1625,14 @@ text to a terminal.") (define-public rust-anstyle-1 (package (name "rust-anstyle") - (version "1.0.0") + (version "1.0.6") (source (origin (method url-fetch) (uri (crate-uri "anstyle" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zbazbfqs4mfw93573f61iy8c78vbbv824m3w206bbljpy39mva1")))) + "1g1ngvxrz9d6xsymxzzzg581jzyz1sn8d0jpjcwxks07cff2c0c9")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -3669,6 +1642,21 @@ text to a terminal.") (description "This package provides ANSI text styling.") (license (list license:expat license:asl2.0)))) +(define-public rust-anstyle-0.3 + (package + (inherit rust-anstyle-1) + (name "rust-anstyle") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ll42s5ch4ldp0fw8laidqji540p7higd06h2v111qq2pn0rxsi3")))) + (arguments + `(#:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))))) + (define-public rust-anstyle-0.2 (package (inherit rust-anstyle-1) @@ -3713,6 +1701,32 @@ text to a terminal.") (description "Parse ANSI Style Escapes") (license (list license:expat license:asl2.0)))) +(define-public rust-anstyle-parse-0.1 + (package + (inherit rust-anstyle-parse-0.2) + (name "rust-anstyle-parse") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle-parse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05h1zy6y2ha2k8cnah9s0a296w2g3bfyfi2z7r7x3zly9r9vpld7")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; not all files included + "--skip=state::codegen::table") + #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-utf8parse" ,rust-utf8parse-0.2)) + #:cargo-development-inputs + (("rust-codegenrs" ,rust-codegenrs-2) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-vte-generate-state-changes" ,rust-vte-generate-state-changes-0.1)))))) + (define-public rust-anstyle-query-1 (package (name "rust-anstyle-query") @@ -3732,46 +1746,37 @@ text to a terminal.") (description "Look up colored console capabilities") (license (list license:expat license:asl2.0)))) -(define-public rust-anstyle-wincon-3 +(define-public rust-anstyle-stream-0.2 (package - (name "rust-anstyle-wincon") - (version "3.0.1") + (name "rust-anstyle-stream") + (version "0.2.2") (source (origin (method url-fetch) - (uri (crate-uri "anstyle-wincon" version)) + (uri (crate-uri "anstyle-stream" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a066gr4p7bha8qwnxyrpbrqzjdvk8l7pdg7isljimpls889ssgh")))) + (base32 "1l695l55mwxfz3iaw524cy89j57bm5y9y8xv63z5bldslmmrd0qk")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))) + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-0.3) + ("rust-anstyle-parse" ,rust-anstyle-parse-0.1) + ("rust-anstyle-wincon" ,rust-anstyle-wincon-0.2) + ("rust-concolor-override" ,rust-concolor-override-1) + ("rust-concolor-query" ,rust-concolor-query-0.3) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-utf8parse" ,rust-utf8parse-0.2)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-owo-colors" ,rust-owo-colors-3) + ("rust-proptest" ,rust-proptest-1) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)))) (home-page "https://github.com/rust-cli/anstyle") - (synopsis "Styling legacy Windows terminals") - (description "Styling legacy Windows terminals.") + (synopsis "Library for writing colored text to a terminal.") + (description "This package provides a simple cross platform library for +writing colored text to a terminal.") (license (list license:expat license:asl2.0)))) -(define-public rust-anstyle-wincon-1 - (package - (inherit rust-anstyle-wincon-3) - (name "rust-anstyle-wincon") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "anstyle-wincon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12714vwjf4c1wm3qf49m5vmd93qvq2nav6zpjc0bxbh3ayjby2hq")))) - (arguments - `(#:cargo-inputs - (("rust-anstyle" ,rust-anstyle-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-lexopt" ,rust-lexopt-0.3)))))) - (define-public rust-antidote-1 (package (name "rust-antidote") @@ -3796,14 +1801,14 @@ text to a terminal.") (define-public rust-anyhow-1 (package (name "rust-anyhow") - (version "1.0.75") + (version "1.0.79") (source (origin (method url-fetch) (uri (crate-uri "anyhow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rmcjkim91c5mw7h9wn8nv0k6x118yz0xg0z1q18svgn42mqqrm4")))) + (base32 "1ji5irqiwr8yprgqj8zvnli7zd7fz9kzaiddq44jnrl2l289h3h8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -4017,23 +2022,27 @@ coverage-guided, mutation-based fuzzers.") (base32 "1a5qfmpzcf5rwlwsligf9z1gzndpvj0jncc4s3k3z5g214c4l127")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=all_tests") #:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-4) ("rust-core-graphics" ,rust-core-graphics-0.21) - ("rust-env-logger" ,rust-env-logger-0.8) ("rust-image" ,rust-image-0.23) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) ("rust-objc" ,rust-objc-0.2) ("rust-objc-foundation" ,rust-objc-foundation-0.1) ("rust-objc-id" ,rust-objc-id-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-scopeguard" ,rust-scopeguard-1) - ("rust-simple-logger" ,rust-simple-logger-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-winapi" ,rust-winapi-0.3) ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.4) - ("rust-x11rb" ,rust-x11rb-0.8)))) + ("rust-x11rb" ,rust-x11rb-0.8)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-simple-logger" ,rust-simple-logger-1)))) (home-page "https://github.com/ArturKovacs/arboard") (synopsis "Image and text handling for the OS clipboard") (description @@ -4125,22 +2134,20 @@ the pointer type is parameterizable.") (define-public rust-arg-enum-proc-macro-0.3 (package (name "rust-arg-enum-proc-macro") - (version "0.3.0") + (version "0.3.4") (source - (origin - (method url-fetch) - (uri (crate-uri "arg_enum_proc_macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "021rr6j3n031ynfbm7kwb3j3bxvbsz40n0nqi78k47d3p92rihcv")))) + (origin + (method url-fetch) + (uri (crate-uri "arg_enum_proc_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sjdfd5a8j6r99cf0bpqrd6b160x9vz97y5rysycsjda358jms8a")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/lu-zero/arg_enum_proc_macro") (synopsis "Procedural macro compatible with clap arg_enum") (description @@ -4148,69 +2155,96 @@ the pointer type is parameterizable.") @code{arg_enum}.") (license license:expat))) +(define-public rust-argfile-0.1 + (package + (name "rust-argfile") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "argfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xm5yq9r04k9zf0hlx47a4yv86np6iwpqczfcmg0iia15bwc91qj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fs-err" ,rust-fs-err-2) + ("rust-os-str-bytes" ,rust-os-str-bytes-6) + ("rust-shlex" ,rust-shlex-1)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-4) + ("rust-wild" ,rust-wild-2)))) + (home-page "https://github.com/rust-cli/argfile") + (synopsis "Load additional CLI arguments from a file") + (description + "This library enables loading additional @acronym{CLI, +Command-Line Interface} arguments from a file. This is meant to work with any +CLI parser, like @code{rust-clap}, by pre-processing the arguments, like +@code{rust-wild}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-argh-shared-0.1 (package (name "rust-argh-shared") - (version "0.1.6") + (version "0.1.12") (source - (origin - (method url-fetch) - (uri (crate-uri "argh_shared" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0crzkzr4mq9gyys3m0idgsfwwrwd4dk70scp7rspvb2fmgd01piq")))) + (origin + (method url-fetch) + (uri (crate-uri "argh_shared" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cbmf3n5fd7ha014m303f4bmsmj0v84an4a1rh77d9dx868z74sn")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/google/argh") (synopsis "Derive-based argument parsing optimized for code size") - (description "Derive-based argument parsing optimized for code size") + (description "Derive-based argument parsing optimized for code size.") (license license:bsd-3))) (define-public rust-argh-derive-0.1 (package (name "rust-argh-derive") - (version "0.1.6") + (version "0.1.12") (source - (origin - (method url-fetch) - (uri (crate-uri "argh_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13qz9i9frdjl1v9aqw5b2cs7wn3h34x2xkpsi9wcl1hcpjd23ba8")))) + (origin + (method url-fetch) + (uri (crate-uri "argh_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ynq2f2f05ybhmvg5y4m1kdfihw4jsq3bnq6gp32yykbvzp0mpsn")))) (build-system cargo-build-system) (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-argh-shared" ,rust-argh-shared-0.1) - ("rust-heck" ,rust-heck-0.3) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs (("rust-argh-shared" ,rust-argh-shared-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/google/argh") (synopsis "Derive-based argument parsing optimized for code size") - (description "Derive-based argument parsing optimized for code size") + (description "Derive-based argument parsing optimized for code size.") (license license:bsd-3))) (define-public rust-argh-0.1 (package (name "rust-argh") - (version "0.1.6") + (version "0.1.12") (source - (origin - (method url-fetch) - (uri (crate-uri "argh" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gy9y69d38q7f5147kj823swgggc3m30x7z2z1lrjpwpsxncf8zh")))) + (origin + (method url-fetch) + (uri (crate-uri "argh" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06fjmac07knqw7vahra9rkbfrrsv31yrqhf7wi623xvzjq3bmxbs")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-argh-derive" ,rust-argh-derive-0.1) - ("rust-argh-shared" ,rust-argh-shared-0.1)))) + `(#:cargo-inputs (("rust-argh-derive" ,rust-argh-derive-0.1) + ("rust-argh-shared" ,rust-argh-shared-0.1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/google/argh") (synopsis "Derive-based argument parser optimized for code size") - (description "Derive-based argument parser optimized for code size") + (description "Derive-based argument parser optimized for code size.") (license license:bsd-3))) (define-public rust-argmax-0.3 @@ -4465,8 +2499,57 @@ ArrayVec and ArrayString.") ("rust-matches" ,rust-matches-0.1) ("rust-serde-test" ,rust-serde-test-1)))))) +(define-public rust-arrow-47 + (package + (name "rust-arrow") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0agq8c2q8nifsysnri8svh9m9dqkk55ww3d3slvqms4cpa9rxavz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + ;; Test fixtures are not included in the crate tarball. We need to skip + ;; the tests that require these. + '("--release" "--" "--exact" + "--skip=util::test_util::tests::test_happy") + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-arith" ,rust-arrow-arith-47) + ("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-cast" ,rust-arrow-cast-47) + ("rust-arrow-csv" ,rust-arrow-csv-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-ipc" ,rust-arrow-ipc-47) + ("rust-arrow-json" ,rust-arrow-json-47) + ("rust-arrow-ord" ,rust-arrow-ord-47) + ("rust-arrow-row" ,rust-arrow-row-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-arrow-select" ,rust-arrow-select-47) + ("rust-arrow-string" ,rust-arrow-string-47) + ("rust-pyo3" ,rust-pyo3-0.19) + ("rust-rand" ,rust-rand-0.8)) + #:cargo-development-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-half" ,rust-half-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Rust implementation of Apache Arrow") + (description "This crate provides a complete, safe and native Rust +implementation of Apache Arrow.") + (license license:asl2.0))) + (define-public rust-arrow-5 (package + (inherit rust-arrow-47) (name "rust-arrow") (version "5.5.0") (source @@ -4476,7 +2559,6 @@ ArrayVec and ArrayString.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0c8j4766cfjc04dmcyayigbn6mim9cfys78a64ilw26qrxpyhy16")))) - (build-system cargo-build-system) (arguments `(#:tests? #f #:cargo-inputs @@ -4501,12 +2583,217 @@ ArrayVec and ArrayString.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-flate2" ,rust-flate2-1) - ("rust-tempfile" ,rust-tempfile-3)))) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-arrow-arith-47 + (package + (name "rust-arrow-arith") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-arith" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mprvyxmnj3x84l6p8h34zz11kil71x5gf989zk9xbc7iqv4w7dw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-half" ,rust-half-2) + ("rust-num" ,rust-num-0.4)))) (home-page "https://github.com/apache/arrow-rs") - (synopsis "Rust implementation of Apache Arrow") - (description - "This crate is a Rust implementation of Apache Arrow in-memory columnar -format.") + (synopsis "Arithmetic and aggregation kernels Apache Arrow") + (description "This crate provides arithmetic and aggregation kernels for +Apache Arrow. Examples include time-related functions, logical operations for +booleans, arithmetic functions such as addition and various aggregation +functions.") + (license license:asl2.0))) + +(define-public rust-arrow-array-47 + (package + (name "rust-arrow-array") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-array" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "139iwhc3j8mcn6avgjl4k3sc7g43kq92m02fbba05qgdadrglbnh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-half" ,rust-half-2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-num" ,rust-num-0.4) + ("rust-packed-simd" ,rust-packed-simd-0.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Array abstractions for Apache Arrow") + (description "The central type in Apache Arrow are arrays, which are a +known-length sequence of values all having the same type. This crate provides +concrete implementations of each type, as well as an @code{Array} trait that +can be used for type-erasure.") + (license license:asl2.0))) + +(define-public rust-arrow-buffer-47 + (package + (name "rust-arrow-buffer") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-buffer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15b1km7kb7cys2pdxgq1p9syiw7yzf9cch85rcw12504a8i1k8gx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-half" ,rust-half-2) + ("rust-num" ,rust-num-0.4)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Buffer abstractions for Apache Arrow") + (description "This crate provides low-level buffer abstractions for the +Rust implementation of Apache Arrow.") + (license license:asl2.0))) + +(define-public rust-arrow-cast-47 + (package + (name "rust-arrow-cast") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-cast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vjdr0gqln3x60jlwan6vfb6f1alhww95by51gani24np58mv0hx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=display::tests::test_array_value_to_string_duration") + #:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-arrow-select" ,rust-arrow-select-47) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-comfy-table" ,rust-comfy-table-7) + ("rust-half" ,rust-half-2) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num" ,rust-num-0.4)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-half" ,rust-half-2)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Cast kernels and utilities for Apache Arrow") + (description "This crate provides typecasting kernels and other utilities +for Apache Arrow, such as prettyprinting, parsing, and Base64 encoding and +decoding.") + (license license:asl2.0))) + +(define-public rust-arrow-csv-47 + (package + (name "rust-arrow-csv") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-csv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wff8a151xspfrcc4lda6g0d9fa6vva63q23gwcxq9miqrfqbvs3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + ;; Test fixtures are not included in the crate tarball. We need to skip + ;; the tests that require these. + '("--release" + ;; Skip the doctests, since some of these also depend on the test + ;; fixtures. + "--lib" "--bins" "--tests" + "--" + "--exact" + "--skip=reader::tests::test_buffered" + "--skip=reader::tests::test_csv" + "--skip=reader::tests::test_csv_builder_with_bounds" + "--skip=reader::tests::test_csv_from_buf_reader" + "--skip=reader::tests::test_csv_reader_with_decimal" + "--skip=reader::tests::test_csv_schema_metadata" + "--skip=reader::tests::test_csv_with_dictionary" + "--skip=reader::tests::test_csv_with_projection" + "--skip=reader::tests::test_csv_with_schema_inference" + "--skip=reader::tests::test_csv_with_schema_inference_no_headers" + "--skip=reader::tests::test_custom_nulls" + "--skip=reader::tests::test_custom_nulls_with_inference" + "--skip=reader::tests::test_nulls" + "--skip=reader::tests::test_nulls_with_inference" + "--skip=reader::tests::test_parse_invalid_csv") + #:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-cast" ,rust-arrow-cast-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-csv-core" ,rust-csv-core-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Parse CSV formatted data to and from the Arrow format") + (description "This crate enables support for transferring data between the +Arrow memory format and CSV line-delimited records.") + (license license:asl2.0))) + +(define-public rust-arrow-data-47 + (package + (name "rust-arrow-data") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-data" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fpp09ykg6nb7jcaqnjzga242y7nlrfz3v0wlrf0kd68k4v4qnj7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-half" ,rust-half-2) + ("rust-num" ,rust-num-0.4)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Low-level array data abstractions for Apache Arrow") + (description "This crate contains low-level array data abstractions for +the Apache Arrow implementation in Rust.") (license license:asl2.0))) (define-public rust-arrow-format-0.3 @@ -4534,6 +2821,250 @@ format.") code of Apache Arrow spec.") (license license:asl2.0))) +(define-public rust-arrow-ipc-47 + (package + (name "rust-arrow-ipc") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-ipc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0shnrpmkwicxcn12s6lw8xqj9xibjjfqah58nxlzhjf5i9f00j0j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-cast" ,rust-arrow-cast-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-flatbuffers" ,rust-flatbuffers-23) + ("rust-lz4" ,rust-lz4-1) + ("rust-zstd" ,rust-zstd-0.12)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Support for the Arrow IPC format") + (description "This crate provides support for the Arrow @acronym{IPC, +Interprocess Communication} format.") + (license license:asl2.0))) + +(define-public rust-arrow-json-47 + (package + (name "rust-arrow-json") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "175ncx809i6gq7i4xr03kxkk3f2nxnd49zjlqg78qs6x0hxpwggh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + ;; Test fixtures are not included in the crate tarball. We need to skip + ;; the tests that require these. + '("--release" + ;; Skip the doctests, since some of these also depend on the test + ;; fixtures. + "--lib" "--bins" "--tests" + "--" + "--exact" + "--skip=reader::schema::tests::test_json_infer_schema" + "--skip=reader::tests::test_date_from_json_milliseconds" + "--skip=reader::tests::test_json_arrays" + "--skip=reader::tests::test_json_basic" + "--skip=reader::tests::test_json_basic_schema" + "--skip=reader::tests::test_json_basic_schema_projection" + "--skip=reader::tests::test_json_basic_with_nulls" + "--skip=reader::tests::test_json_empty_projection" + "--skip=reader::tests::test_json_iterator" + "--skip=reader::tests::test_time_from_json_nanoseconds" + "--skip=reader::tests::test_timestamp_from_json_milliseconds" + "--skip=reader::tests::test_timestamp_from_json_seconds" + "--skip=reader::tests::test_with_multiple_batches" + "--skip=writer::tests::test_write_multi_batches" + "--skip=writer::tests::test_write_single_batch" + "--skip=writer::tests::write_arrays" + "--skip=writer::tests::write_basic_nulls" + "--skip=writer::tests::write_basic_rows" + "--skip=writer::tests::write_durations") + #:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-cast" ,rust-arrow-cast-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-half" ,rust-half-2) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num" ,rust-num-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Parse JSON formatted data to and from the Arrow format") + (description + "This crate enables support for transferring data between the Arrow +memory format and JSON line-delimited records.") + (license license:asl2.0))) + +(define-public rust-arrow-ord-47 + (package + (name "rust-arrow-ord") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-ord" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x3irbymxic9hjaakq0rvkcqxj1jq2hfpclywh066spa12j7mf03")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-arrow-select" ,rust-arrow-select-47) + ("rust-half" ,rust-half-2) + ("rust-num" ,rust-num-0.4)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Ordering kernels for Apache Arrow arrays") + (description "This crate provides various ordering kernels for Apache +Arrow arrays. Examples include @code{cmp}, @code{ord}, @code{partition}, +@code{rank} and @code{sort} kernels.") + (license license:asl2.0))) + +(define-public rust-arrow-row-47 + (package + (name "rust-arrow-row") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-row" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08jxyqvsm3pvz09jprqrxdhg1yczncyb5jlgj2vckrw1nn538jhi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-half" ,rust-half-2) + ("rust-hashbrown" ,rust-hashbrown-0.14)) + #:cargo-development-inputs + (("rust-arrow-cast" ,rust-arrow-cast-47) + ("rust-arrow-ord" ,rust-arrow-ord-47) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Row-oriented Apache Arrow representation") + (description "This crate provides a comparable row-oriented representation +of a collection of @code{Array}. Rows are normalized for sorting, and can +therefore be very efficiently compared, using @code{memcmp} under the hood, or +used in non-comparison sorts such as radix sort.") + (license license:asl2.0))) + +(define-public rust-arrow-schema-47 + (package + (name "rust-arrow-schema") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-schema" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jyfw40m070zj2pv8mp3gvlnzs0mavnzn6qhw19qh5bv26f1f7ax")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Logical types for Apache Arrow arrays") + (description "This crate defines the logical types for arrays of the +Apache Arrow implementation in Rust.") + (license license:asl2.0))) + +(define-public rust-arrow-select-47 + (package + (name "rust-arrow-select") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-select" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0231igp3fihf2kz1s9i2k6vhnlpmg662gr9rn6fpxrh26801xiym")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-num" ,rust-num-0.4)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "Selection kernels for Apache Arrow arrays") + (description "This crate provides various selection kernels for Apache +Arrow arrays. Examples include @code{filter}, @code{concat} and @code{take} +kernels, as well as @code{window} functions such as shifting.") + (license license:asl2.0))) + +(define-public rust-arrow-string-47 + (package + (name "rust-arrow-string") + (version "47.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-string" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ar1njf4biff3ylpyk2m2bhvqmsywl9akagljm429ffnharbpkn4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrow-array" ,rust-arrow-array-47) + ("rust-arrow-buffer" ,rust-arrow-buffer-47) + ("rust-arrow-data" ,rust-arrow-data-47) + ("rust-arrow-schema" ,rust-arrow-schema-47) + ("rust-arrow-select" ,rust-arrow-select-47) + ("rust-num" ,rust-num-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.7)))) + (home-page "https://github.com/apache/arrow-rs") + (synopsis "String kernels for Apache Arrow arrays") + (description "This crate provides various string kernels for Apache Arrow +arrays. Examples include @code{concat_elements}, @code{length}, @code{like}, +@code{regexp} and @code{substring} kernels.") + (license license:asl2.0))) + (define-public rust-arrow2-0.7 (package (name "rust-arrow2") @@ -4776,222 +3307,118 @@ extracted from Askama.") (description "This package provides shared code for Askama.") (license (list license:expat license:asl2.0)))) -(define-public rust-askama-derive-0.11 +(define-public rust-askama-derive-0.12 (package (name "rust-askama-derive") - (version "0.11.2") + (version "0.12.5") (source (origin (method url-fetch) (uri (crate-uri "askama_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wbb5l1x1bx8x8vvz4ayw196l9y64mi3vrmxm7pn8wmlx3k8ggw7")))) + (base32 "10qxszzrwbabpd3jh6lvk3q1a81ryfba8bh75jb18irwn5n8vzhr")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-askama-shared" ,rust-askama-shared-0.12) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs (("rust-askama-parser" ,rust-askama-parser-0.2) + ("rust-basic-toml" ,rust-basic-toml-0.1) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/djc/askama") (synopsis "Procedural macro package for Askama") (description - "This package provide the procedural macro package for -Askama.") + "This package provide the procedural macro package for Askama.") (license (list license:expat license:asl2.0)))) -(define-public rust-askama-0.11 +(define-public rust-askama-derive-0.11 (package - (name "rust-askama") - (version "0.11.1") + (inherit rust-askama-derive-0.12) + (name "rust-askama-derive") + (version "0.11.2") (source (origin (method url-fetch) - (uri (crate-uri "askama" version)) + (uri (crate-uri "askama_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0f81mzccdadryzaf2dbad1araq4nadp9mssyvdvv31hj6w7z367v")))) - (build-system cargo-build-system) + (base32 "0wbb5l1x1bx8x8vvz4ayw196l9y64mi3vrmxm7pn8wmlx3k8ggw7")))) (arguments (list #:skip-build? #t #:cargo-inputs - `(("rust-askama-derive" ,rust-askama-derive-0.11) - ("rust-askama-escape" ,rust-askama-escape-0.10) - ("rust-askama-shared" ,rust-askama-shared-0.12)))) - (home-page "https://github.com/djc/askama") - (synopsis "Type-safe, compiled Jinja-like templates for Rust") - (description - "This package provides a type-safe, compiled Jinja-like template -library for Rust.") - (license (list license:expat license:asl2.0)))) + `(("rust-askama-shared" ,rust-askama-shared-0.12) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-asn1-derive-0.15 +(define-public rust-askama-parser-0.2 (package - (name "rust-asn1-derive") - (version "0.15.5") + (name "rust-askama-parser") + (version "0.2.1") (source (origin (method url-fetch) - (uri (crate-uri "asn1_derive" version)) + (uri (crate-uri "askama_parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1771kfjycjs4g2acqvxpjy3igfcgg8hychczl1lsqq64za4gj6l6")))) + (base32 "1h00vcnqq9qqlayx1ass4an458rk4lm3q88867cc7lb4dcf1dcdc")))) (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/alex/rust-asn1") - (synopsis "#[derive] support for asn1") - (description - "This package provides #[derive] support for @code{asn1}.") - (license license:bsd-3))) - -(define-public rust-asn1-derive-0.13 - (package - (inherit rust-asn1-derive-0.15) - (name "rust-asn1-derive") - (version "0.13.0") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bvqriazb23gysygpzng1dhzjgnlv274q2yj5gpmlpl7jp0pkaxz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) + `(#:cargo-inputs (("rust-nom" ,rust-nom-7)))) + (home-page "https://github.com/djc/askama") + (synopsis "Parser for Askama templates") + (description "Parser for Askama templates.") + (license (list license:expat license:asl2.0)))) -(define-public rust-asn1-0.15 +(define-public rust-askama-0.12 (package - (name "rust-asn1") - (version "0.15.5") + (name "rust-askama") + (version "0.12.1") (source (origin (method url-fetch) - (uri (crate-uri "asn1" version)) + (uri (crate-uri "askama" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nzg1gjiyfvpvrf3i7i8j21165snf5livqg6x2sjf9m2i77cngmf")))) + (base32 "0a1cmp0f1b01zzbzzp81ppa6r754zpax5372aykswz5933gr345p")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-asn1-derive" ,rust-asn1-derive-0.15)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/alex/rust-asn1") - (synopsis "ASN.1 (DER) parser and writer") - (description - "This is a Rust library for parsing and generating ASN.1 data (DER only).") - (license license:bsd-3))) - -(define-public rust-asn1-0.13 - (package - (inherit rust-asn1-0.15) - (name "rust-asn1") - (version "0.13.0") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1idxxw14h3dvrj72k4g0hx1aqigd986a00cg0yxfw2gfc9gbmzra")))) - (arguments - `(#:cargo-inputs - (("rust-asn1-derive" ,rust-asn1-derive-0.13) - ("rust-chrono" ,rust-chrono-0.4)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-asn1-rs-0.5 - (package - (name "rust-asn1-rs") - (version "0.5.2") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1w7zq0392qs7kkv0nzw50bfqvq7q9zxv48fsp3sxyl83mzfxavvz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.4) - ("rust-asn1-rs-impl" ,rust-asn1-rs-impl-0.1) - ("rust-bitvec" ,rust-bitvec-1) - ("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.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)))) - -(define-public rust-asn1-rs-derive-0.4 - (package - (name "rust-asn1-rs-derive") - (version "0.4.0") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1-rs-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (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") + `(#:cargo-inputs (("rust-askama-derive" ,rust-askama-derive-0.12) + ("rust-askama-escape" ,rust-askama-escape-0.10) + ("rust-comrak" ,rust-comrak-0.18) + ("rust-humansize" ,rust-humansize-2) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9)))) + (home-page "https://github.com/djc/askama") + (synopsis "Type-safe, compiled Jinja-like templates for Rust") (description - "This package provides derive macros for the @code{asn1-rs} crate.") + "This package provides a type-safe, compiled Jinja-like template +library for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-asn1-rs-impl-0.1 +(define-public rust-askama-0.11 (package - (name "rust-asn1-rs-impl") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1-rs-impl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1va27bn7qxqp4wanzjlkagnynv6jnrhnwmcky2ahzb1r405p6xr7")))) - (build-system cargo-build-system) + (inherit rust-askama-0.12) + (name "rust-askama") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "askama" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f81mzccdadryzaf2dbad1araq4nadp9mssyvdvv31hj6w7z367v")))) (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)))) + (list #:skip-build? #t + #:cargo-inputs + `(("rust-askama-derive" ,rust-askama-derive-0.11) + ("rust-askama-escape" ,rust-askama-escape-0.10) + ("rust-askama-shared" ,rust-askama-shared-0.12)))))) (define-public rust-as-raw-xcb-connection-1 (package @@ -5054,7 +3481,7 @@ traits.") (define-public rust-ascii-1 (package (name "rust-ascii") - (version "1.0.0") + (version "1.1.0") (source (origin (method url-fetch) @@ -5062,8 +3489,7 @@ traits.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0281gc828q4j692gb66jfdr5k16gyszgqflylh0pp30rllv63xdv")))) + (base32 "05nyyp39x4wzc1959kv7ckwqpkdzjd9dw4slzyjh73qbhjcfqayr")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -5282,6 +3708,23 @@ assertions on the result of your program's run.") #:cargo-development-inputs (("rust-docmatic" ,rust-docmatic-0.1)))))) +(define-public rust-assert-float-eq-1 + (package + (name "rust-assert-float-eq") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "assert_float_eq" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xryhlk2p012y109048c5jj5f448cv0b86ylkjgg5v7dzcpnbsjc")))) + (build-system cargo-build-system) + (home-page "https://github.com/AlexHuszagh/assert_float_eq") + (synopsis "Assertions for floating-point equality") + (description "This package provides assertions for floating-point equality.") + (license (list license:expat license:asl2.0)))) + (define-public rust-assert-fs-1 (package (name "rust-assert-fs") @@ -5332,36 +3775,6 @@ assertions on the result of your program's run.") (description "Macro for static assert types implement a trait or not") (license license:expat))) -(define-public rust-assert-json-diff-1 - (package - (name "rust-assert-json-diff") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "assert-json-diff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h2w4n8f8a1n9sc8snka0arzw5x95ky5k8i7603z3lhkcplwnna2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-extend" ,rust-extend-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.8)))) - (home-page "https://github.com/davidpdrsn/assert-json-diff") - (synopsis "Easily compare two JSON values and get great output") - (description - "This crate includes macros for comparing two serializable values -by diffing their JSON representations. It is designed to give much -more helpful error messages than the standard @code{assert_eq!}. It -basically does a diff of the two objects and tells you the exact -differences. This is useful when asserting that two large JSON -objects are the same.") - (license license:expat))) - (define-public rust-assert-matches-1 (package (name "rust-assert-matches") @@ -5382,6 +3795,72 @@ objects are the same.") "This package asserts that a value matches a pattern in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-assert-matches2-0.1 + (package + (name "rust-assert-matches2") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "assert_matches2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mnz1wgz1s2s1985h44mdhy2m7615jjyr9pzq359injqqja2v0qm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://codeberg.org/jplatte/assert_matches2") + (synopsis + "Assert_matches! macro that brings variables from the pattern into scope") + (description + "This package provides a version of the assert_matches! macro that brings +variables from the pattern into scope.") + (license license:mpl2.0))) + +(define-public rust-assert2-0.3 + (package + (name "rust-assert2") + (version "0.3.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "assert2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15cfdn5sl8ls6234pv2ysflw2xcxh8j1ypjlif7wnva0hc8qvyga")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-assert2-macros" ,rust-assert2-macros-0.3) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-yansi" ,rust-yansi-0.5)))) + (home-page "https://github.com/de-vri-es/assert2-rs") + (synopsis "assert!(...) and check!(...) macros inspired by Catch2") + (description "This package provides assert!(...) and check!(...) macros +inspired by Catch2.") + (license license:bsd-2))) + +(define-public rust-assert2-macros-0.3 + (package + (name "rust-assert2-macros") + (version "0.3.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "assert2-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dcjbac962smxr6pmnsd6mdglh6any36ifshqzqzi4ppwvrvsmbc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/de-vri-es/assert2-rs") + (synopsis "Procedural macros for assert2") + (description "This package provides procedural macros for assert2.") + (license license:bsd-2))) + (define-public rust-associative-cache-1 (package (name "rust-associative-cache") @@ -5457,8 +3936,38 @@ Rust.") (description "This package provides async broadcast channels in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-async-channel-2 + (package + (name "rust-async-channel") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-channel" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1337ywc1paw03rdlwh100kh8pa0zyp0nrlya8bpsn6zdqi5kz8qw")))) + (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-futures-core" ,rust-futures-core-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) + #:cargo-development-inputs + (("rust-easy-parallel" ,rust-easy-parallel-3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/smol-rs/async-channel") + (synopsis "Async multi-producer multi-consumer channel") + (description "This package provides async multi-producer +multi-consumer channels.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-async-channel-1 (package + (inherit rust-async-channel-2) (name "rust-async-channel") (version "1.9.0") (source @@ -5468,7 +3977,6 @@ Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0dbdlkzlncbibd3ij6y6jmvjd0cmdn48ydcfdpfhw09njd93r5c1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-concurrent-queue" ,rust-concurrent-queue-2) @@ -5476,15 +3984,44 @@ Rust.") ("rust-futures-core" ,rust-futures-core-0.3)) #:cargo-development-inputs (("rust-easy-parallel" ,rust-easy-parallel-3) - ("rust-futures-lite" ,rust-futures-lite-1)))) - (home-page "https://github.com/smol-rs/async-channel") - (synopsis "Async multi-producer multi-consumer channel") - (description - "Async multi-producer multi-consumer channel") - (license (list license:asl2.0 license:expat)))) + ("rust-futures-lite" ,rust-futures-lite-1)))))) + +(define-public rust-async-compression-0.4 + (package + (name "rust-async-compression") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-compression" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19f2mdiz7jrmpbhjxmpfmixfv5640iknhxhfb57x723k5bxhqbdw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; could not find `proptest` in the list of imported crates + #:cargo-inputs (("rust-brotli" ,rust-brotli-3) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-deflate64" ,rust-deflate64-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-xz2" ,rust-xz2-0.1) + ("rust-zstd" ,rust-zstd-0.13) + ("rust-zstd-safe" ,rust-zstd-safe-7)))) + (home-page "https://github.com/Nullus157/async-compression") + (synopsis + "Adaptors between compression crates and Rust's modern asynchronous IO types") + (description "This package provides adaptors between compression crates +and Rust's modern asynchronous IO types.") + (license (list license:expat license:asl2.0)))) (define-public rust-async-compression-0.3 (package + (inherit rust-async-compression-0.4) (name "rust-async-compression") (version "0.3.15") (source @@ -5495,7 +4032,6 @@ Rust.") (sha256 (base32 "0fnnpbsljngmrj8amhw6yg164bl6x4r43mr093g1ps9rmvbpqb4l")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-brotli" ,rust-brotli-3) @@ -5528,12 +4064,7 @@ Rust.") ("rust-tokio-util" ,rust-tokio-util-0.6) ("rust-tokio-util" ,rust-tokio-util-0.5) ("rust-tokio-util" ,rust-tokio-util-0.4) - ("rust-tokio-util" ,rust-tokio-util-0.3)))) - (home-page "https://github.com/Nemo157/async-compression") - (synopsis "Adaptors between compression crates and Rust's modern asynchronous IO types") - (description "This package provides adaptors between compression crates -and Rust's modern asynchronous IO types.") - (license (list license:expat license:asl2.0)))) + ("rust-tokio-util" ,rust-tokio-util-0.3)))))) (define-public rust-async-datagram-3 (package @@ -5616,23 +4147,24 @@ AsyncSeek if the inner type does.") (define-public rust-async-fs-1 (package (name "rust-async-fs") - (version "1.5.0") + (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 "1qnsqg0jjpda590w8nvbhh5mcmdyx5f43xx2g313fz0izzwa8g4b")))) + (base32 "01if2h77mry9cnm91ql2md595108i2c1bfy9gaivzvjfcl2gk717")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-lock" ,rust-async-lock-2) - ("rust-blocking" ,rust-blocking-1) - ("rust-futures-lite" ,rust-futures-lite-1)))) - (home-page "https://github.com/stjepang/async-fs") - (synopsis "Async filesystem primitives in Rust") + `(#: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)))) + (home-page "https://github.com/smol-rs/async-fs") + (synopsis "Async filesystem primitives") (description "This package provides async filesystem primitives.") (license (list license:asl2.0 license:expat)))) @@ -5670,39 +4202,51 @@ AsyncSeek if the inner type does.") @code{async-executor} and @code{async-io}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-async-h1-2 +(define-public rust-async-io-2 (package - (name "rust-async-h1") - (version "2.3.0") + (name "rust-async-io") + (version "2.3.1") (source (origin (method url-fetch) - (uri (crate-uri "async-h1" version)) + (uri (crate-uri "async-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p6ls50p1ixnxrhmx4sdb5d2kqrl1kfhcb0lkqlhzzqjz1sqmip5")))) + (base32 "0rggn074kbqxxajci1aq14b17gp75rw9l6rpbazcv9q0bc6ap5wg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-channel" ,rust-async-channel-1) - ("rust-async-dup" ,rust-async-dup-1) - ("rust-async-std" ,rust-async-std-1) - ("rust-byte-pool" ,rust-byte-pool-0.2) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-http-types" ,rust-http-types-2) - ("rust-httparse" ,rust-httparse-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-pin-project" ,rust-pin-project-1)))) - (home-page "https://github.com/http-rs/async-h1") - (synopsis "Asynchronous HTTP 1.1 parser") + `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-concurrent-queue" ,rust-concurrent-queue-2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-parking" ,rust-parking-2) + ("rust-polling" ,rust-polling-3) + ("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)) + #:cargo-development-inputs (("rust-async-channel" ,rust-async-channel-2) + ("rust-async-net" ,rust-async-net-2) + ("rust-blocking" ,rust-blocking-1) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-inotify" ,rust-inotify-0.10) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-timerfd" ,rust-timerfd-1) + ("rust-uds-windows" ,rust-uds-windows-1)))) + (home-page "https://github.com/smol-rs/async-io") + (synopsis "Async I/O and timers") (description - "This package provides an asynchronous HTTP 1.1 parser.") - (license (list license:expat license:asl2.0)))) + "This crate provides two tools: Async, an adapter for standard +networking types (and many other types) to use in async programs, and +Timer, a future that expires at a point in time.") + (license (list license:asl2.0 license:expat)))) (define-public rust-async-io-1 (package + (inherit rust-async-io-2) (name "rust-async-io") (version "1.13.0") (source @@ -5712,7 +4256,6 @@ AsyncSeek if the inner type does.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1byj7lpw0ahk6k63sbc9859v68f28hpaab41dxsjj1ggjdfv9i8g")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-2) @@ -5737,17 +4280,39 @@ AsyncSeek if the inner type does.") ("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-tempfile" ,rust-tempfile-3) ("rust-timerfd" ,rust-timerfd-1) - ("rust-uds-windows" ,rust-uds-windows-1)))) - (home-page "https://github.com/stjepang/async-io") - (synopsis "Async I/O and timers") - (description - "This crate provides two tools: Async, an adapter for standard networking -types (and many other types) to use in async programs, and Timer, a future -that expires at a point in time.") + ("rust-uds-windows" ,rust-uds-windows-1)))))) + +(define-public rust-async-lock-3 + (package + (name "rust-async-lock") + (version "3.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yxflkfw46rad4lv86f59b5z555dlfmg1riz1n8830rgi0qb8d6h")))) + (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-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-futures-lite" ,rust-futures-lite-2) + ("rust-waker-fn" ,rust-waker-fn-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/smol-rs/async-lock") + (synopsis "Async synchronization primitives") + (description "This package provides async synchronization primitives.") (license (list license:asl2.0 license:expat)))) (define-public rust-async-lock-2 (package + (inherit rust-async-lock-3) (name "rust-async-lock") (version "2.7.0") (source @@ -5757,7 +4322,6 @@ that expires at a point in time.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1mrd4kai92fcgl9974dpmibiq6ja9drz41v3crvv0c27a8kzf97s")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-2)) @@ -5765,11 +4329,7 @@ that expires at a point in time.") (("rust-async-channel" ,rust-async-channel-1) ("rust-fastrand" ,rust-fastrand-1) ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/stjepang/async-lock") - (synopsis "Async synchronization primitives") - (description "This package provides Async synchronization primitives.") - (license (list license:asl2.0 license:expat)))) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) (define-public rust-async-log-1 (package @@ -5858,11 +4418,10 @@ crate.") (base32 "0vhmsscqx48dmxw0yir6az0pbwcq6qjvcv2f43vdpn95vd9bi7a7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #true ;XXX: enable when rust-async-std-1 is packaged - #:cargo-inputs + `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-2)) #:cargo-development-inputs - (;("rust-async-std" ,rust-async-std-1) + (("rust-async-std" ,rust-async-std-1) ("rust-futures" ,rust-futures-0.3) ("rust-futures-intrusive" ,rust-futures-intrusive-0.3) ("rust-futures-lite" ,rust-futures-lite-1) @@ -5881,35 +4440,31 @@ primitives: @end itemize") (license (list license:asl2.0 license:expat)))) -(define-public rust-async-native-tls-0.3 +(define-public rust-async-net-2 (package - (name "rust-async-native-tls") - (version "0.3.3") + (name "rust-async-net") + (version "2.0.0") (source (origin (method url-fetch) - (uri (crate-uri "async-native-tls" version)) + (uri (crate-uri "async-net" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cwv4vbrvcbv58b51y1azfbszzgzhrzxx92q5nl6hk6kkf97m7ly")))) + (base32 "1xyc5a5vcp3a7h1q2lbfh79wz8136dig4q4x6g4w2ws8ml7h0j5r")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #true ;XXX: build when rust-async-std-1 is packaged - #:cargo-inputs - (;;("rust-async-std" ,rust-async-std-1) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-url" ,rust-url-2)) - #:cargo-development-inputs - (("rust-threadpool" ,rust-threadpool-1)))) - (home-page "https://docs.rs/crate/async-native-tls/") - (synopsis "Native TLS using futures") - (description "Native TLS using futures") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-async-io" ,rust-async-io-2) + ("rust-blocking" ,rust-blocking-1) + ("rust-futures-lite" ,rust-futures-lite-2)))) + (home-page "https://github.com/smol-rs/async-net") + (synopsis "Async networking primitives for TCP/UDP/Unix communication") + (description "This package provides async networking primitives for +TCP/UDP/Unix communication.") + (license (list license:asl2.0 license:expat)))) (define-public rust-async-net-1 (package + (inherit rust-async-net-2) (name "rust-async-net") (version "1.5.0") (source @@ -5925,12 +4480,29 @@ primitives: (("rust-async-io" ,rust-async-io-1) ("rust-blocking" ,rust-blocking-1) ("rust-fastrand" ,rust-fastrand-1) - ("rust-futures-lite" ,rust-futures-lite-1)))) - (home-page "https://github.com/stjepang/async-net") - (synopsis "Async networking primitives for TCP/UDP/Unix communication") - (description - "Async networking primitives for TCP/UDP/Unix communication") - (license (list license:asl2.0 license:expat)))) + ("rust-futures-lite" ,rust-futures-lite-1)))))) + +(define-public rust-async-once-cell-0.5 + (package + (name "rust-async-once-cell") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-once-cell" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ss2ll9r92jiv4g0fdnwqggs3dn48sakij3fg0ba95dag077jf4k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags ; Skip the doctests. + '("--release" "--lib" "--bins" "--tests") + #:cargo-inputs (("rust-critical-section" ,rust-critical-section-1)))) + (home-page "https://github.com/danieldg/async-once-cell") + (synopsis "Async single assignment cells and lazy values") + (description "This package provides async single assignment cells +and lazy values.") + (license (list license:expat license:asl2.0)))) (define-public rust-async-oneshot-0.5 (package @@ -5958,33 +4530,63 @@ primitives: async-aware oneshot channel.") (license license:mpl2.0))) +(define-public rust-async-pidfd-0.1 + (package + (name "rust-async-pidfd") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-pidfd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "168pylpf7n898szw32sva7kf9h3x1mnip54mfr8f7f4v55c705qj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-async-io" ,rust-async-io-1) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-futures-lite" ,rust-futures-lite-1)))) + (home-page "https://github.com/joshtriplett/async-pidfd") + (synopsis "Process file descriptors (pidfd) for Linux") + (description + "@code{async-pidfd} provides Rust support for pidfd, and supports +managing processes both synchronously (via the PidFd type) and +asynchronously (via the AsyncPidFd type).") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-process-1 (package (name "rust-async-process") - (version "1.0.1") + (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 "1nmvqwqxzy0gv7n8agknaijns9dsxqj81bxms4bs647vq44ym32c")))) + (base32 "126s968lvhg9rlwsnxp7wfzkfn7rl87p0dlvqqlibn081ax3hr7a")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=set_current_dir_works" - "--skip=signal_reported_right" - "--skip=stdin_works") - #:cargo-inputs - (("rust-async-io" ,rust-async-io-1) - ("rust-blocking" ,rust-blocking-1) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-event-listener" ,rust-event-listener-2) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-signal-hook" ,rust-signal-hook-0.1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/stjepang/async-process") + `(#: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)))) + (home-page "https://github.com/smol-rs/async-process") (synopsis "Async interface for working with processes") (description "This crate is an async version of @code{std::process}. A background @@ -6043,6 +4645,41 @@ futures.") (description "This package provides recursion for async functions in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-async-signal-0.2 + (package + (name "rust-async-signal") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-signal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i9466hiqghhmljjnn83a8vnxi8z013xga03f59c89d2cl7xjiwy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-2) + ("rust-atomic-waker" ,rust-atomic-waker-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-async-io" ,rust-async-io-2) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-signal-hook" ,rust-signal-hook-0.3)))) + (home-page "https://github.com/smol-rs/async-signal") + (synopsis "Async signal handling") + (description "This package provides async signal handling.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-async-std-1 (package (name "rust-async-std") @@ -6056,7 +4693,9 @@ futures.") (base32 "0pbgxhyb97h4n0451r26njvr20ywqsbm6y1wjllnp4if82s5nmk2")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t + (list #:cargo-test-flags + `(list "--release" "--" + "--skip=io_timeout_timedout") #:cargo-inputs `(("rust-async-attributes" ,rust-async-attributes-1) ("rust-async-channel" ,rust-async-channel-1) @@ -6065,7 +4704,6 @@ futures.") ("rust-async-lock" ,rust-async-lock-2) ("rust-async-process" ,rust-async-process-1) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-femme" ,rust-femme-2) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) @@ -6077,11 +4715,16 @@ futures.") ("rust-once-cell" ,rust-once-cell-1) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-pin-utils" ,rust-pin-utils-0.1) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) ("rust-slab" ,rust-slab-0.4) ("rust-surf" ,rust-surf-2) - ("rust-wasm-bindgen-futures" - ,rust-wasm-bindgen-futures-0.4) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)) + #:cargo-development-inputs + `(("rust-femme" ,rust-femme-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-tempfile" ,rust-tempfile-3) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://async.rs") (synopsis "Async version of the Rust standard library") @@ -6135,23 +4778,35 @@ interfaces you are used to, but in an async version and ready for Rust's (define-public rust-async-stream-0.3 (package (name "rust-async-stream") - (version "0.3.2") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "async-stream" version)) (file-name (string-append name "-" version ".tar.gz")) + ;; I have no idea why tokio-test is missing, I filed: + ;; https://github.com/tokio-rs/async-stream/issues/102 + (modules '((guix build utils))) + (snippet + '(substitute* "Cargo.toml" + (("^\\[dev-dependencies.trybuild]") + "[dev-dependencies.tokio-test] +version = \"0.4\" + +[dev-dependencies.trybuild]"))) (sha256 - (base32 "0986b72jksg4lndw76py9glry3snc29bbqrna874wl5jwgkp84qp")))) + (base32 "0l8sjq1rylkb1ak0pdyjn83b3k6x36j22myngl4sqqgg7whdsmnd")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=test") #:cargo-inputs (("rust-async-stream-impl" ,rust-async-stream-impl-0.3) - ("rust-futures-core" ,rust-futures-core-0.3)) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-rustversion" ,rust-rustversion-1) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-test" ,rust-tokio-test-0.4) ("rust-trybuild" ,rust-trybuild-1)))) @@ -6165,23 +4820,20 @@ notation.") (define-public rust-async-stream-impl-0.3 (package (name "rust-async-stream-impl") - (version "0.3.2") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "async-stream-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "024k57iwmmhzvbzacxlkssh45cqlnb8xjlvlsp60jm6fsb4di3k4")))) + (base32 "14q179j4y8p2z1d0ic6aqgy9fhwz8p9cai1ia8kpw4bw7q12mrhn")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=try_stream" - "--skip=stream") - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) + ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-util" ,rust-futures-util-0.3) @@ -6257,36 +4909,10 @@ crate.") (("rust-crossbeam" ,rust-crossbeam-0.7) ("rust-futures" ,rust-futures-0.3)))))) -(define-public rust-async-tls-0.10 - (package - (name "rust-async-tls") - (version "0.10.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "async-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "126by0la2wvfadazfnmw7b6ch07dk9ggny94a3vvzgk2qdpqn3fx")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))) - (home-page "https://github.com/async-std/async-tls") - (synopsis "Asynchronous TLS/SSL streams using Rustls") - (description - "This package provides asynchronous TLS/SSL streams using Rustls.") - (license (list license:expat license:asl2.0)))) - (define-public rust-async-trait-0.1 (package (name "rust-async-trait") - (version "0.1.71") + (version "0.1.77") (source (origin (method url-fetch) @@ -6294,7 +4920,7 @@ crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1grf5p4m1bb79isbb3g4b8w7wpz51sw003a88x69ql2nvlhxar55")))) + "1adf1jh2yg39rkpmqjqyr9xyd6849p0d95425i6imgbhx0syx069")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6313,6 +4939,26 @@ crate.") methods.") (license (list license:expat license:asl2.0)))) +(define-public rust-atoi-2 + (package + (name "rust-atoi") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atoi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a05h42fggmy7h0ajjv6m7z72l924i7igbx13hk9d8pyign9k3gj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)))) + (home-page "https://github.com/pacman82/atoi-rs") + (synopsis "Parse integers directly from `[u8]` slices in safe code") + (description "Parse integers directly from `[u8]` slices in safe code.") + (license license:expat))) + (define-public rust-atom-0.3 (package (name "rust-atom") @@ -6331,20 +4977,21 @@ methods.") (description "This package provides a safe abstraction around AtomicPtr.") (license license:asl2.0))) -(define-public rust-atomic-0.5 +(define-public rust-atomic-0.6 (package (name "rust-atomic") - (version "0.5.1") - (source (origin - (method url-fetch) - (uri (crate-uri "atomic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0k135q1qfmxxyzrlhr47r0j38r5fnd4163rgl552qxyagrk853dq")))) + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15193mfhmrq3p6vi1a10hw3n6kvzf5h32zikhby3mdj0ww1q10cd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)))) + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)) + #:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1)))) (home-page "https://github.com/Amanieu/atomic-rs") (synopsis "Generic @code{Atomic<T>} wrapper type") (description @@ -6354,6 +5001,21 @@ fixed atomic types.") ;; The user can choose either license. (license (list license:asl2.0 license:expat)))) +(define-public rust-atomic-0.5 + (package + (inherit rust-atomic-0.6) + (name "rust-atomic") + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "atomic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k135q1qfmxxyzrlhr47r0j38r5fnd4163rgl552qxyagrk853dq")))) + (arguments + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)))))) + (define-public rust-atomic-polyfill-1 (package (name "rust-atomic-polyfill") @@ -6396,6 +5058,26 @@ they're not available.") they're not available.") (license (list license:expat license:asl2.0)))) +(define-public rust-atomic-write-file-0.1 + (package + (name "rust-atomic-write-file") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic-write-file" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dl4x0srdwjxm3zz3fj1c7m44i3b7mjiad550fqklj1n4bfbxkgd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.27) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/andreacorbellini/rust-atomic-write-file") + (synopsis "Write files atomically to a file system") + (description "Write files atomically to a file system.") + (license license:bsd-3))) + (define-public rust-atomic-waker-1 (package (name "rust-atomic-waker") @@ -6446,26 +5128,6 @@ they're not available.") "This package provides a simple interface for querying atty.") (license license:expat))) -(define-public rust-atty-0.2.11 - (package - (inherit rust-atty-0.2) - (name "rust-atty") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "atty" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lln6vaczj521qqjbaqnb81w5p6xk4fjfkg33r0m22cm4f3mnzcs")))) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-termion" ,rust-termion-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-auto-impl-0.5 (package (name "rust-auto-impl") @@ -6702,14 +5364,14 @@ in Rust.") (define-public rust-av-metrics-0.9 (package (name "rust-av-metrics") - (version "0.9.0") + (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "av-metrics" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0f9b7hhxnn2cn6zra20iqa90n89rih63sjfjq0i5cach84wqnqqk")))) + (base32 "0c1m5rrrx88y1hm4i17qh0fd2rqd3jwck86lj5dkw85hpmdyjv4r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6723,7 +5385,7 @@ in Rust.") ("rust-v-frame" ,rust-v-frame-0.3)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) - ("rust-y4m" ,rust-y4m-0.7)))) + ("rust-y4m" ,rust-y4m-0.8)))) (home-page "https://github.com/rust-av/av-metrics") (synopsis "Collection of algorithms for measuring audio/video metrics") (description @@ -6734,19 +5396,18 @@ audio/video metrics.") (define-public rust-av1-grain-0.2 (package (name "rust-av1-grain") - (version "0.2.2") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "av1-grain" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07kzx7qma0msfla0z66mys2s7f5fp18zb78izkxw40lcq7qacv3g")))) + (base32 "1gvqdh21bm1cfqiwyiinbqi0mg7x2lg2fwgmphma8ijxijfr0y36")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-itertools" ,rust-itertools-0.10) ("rust-log" ,rust-log-0.4) ("rust-nom" ,rust-nom-7) ("rust-num-rational" ,rust-num-rational-0.4) @@ -6827,118 +5488,6 @@ film grain data.") "This package is a library for working with Apache Avro in Rust.") (license license:expat))) -(define-public rust-awc-2 - (package - (name "rust-awc") - (version "2.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "awc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14g6m53zmxw3f1sf990l7ps3w2fq2c29n1slpizc7kxhwy8f90dk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.3) - ("rust-actix-http" ,rust-actix-http-2) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-base64" ,rust-base64-0.13) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) - (home-page "https://actix.rs") - (synopsis "Async HTTP and WebSocket client library") - (description - "This package provides async HTTP and WebSocket client library -built on the Actix ecosystem.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-awc-1 - (package - (inherit rust-awc-2) - (name "rust-awc") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "awc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1idacmq7n3irmdjkbxc5kdwspxk9w1gip94pcmfk7wky3m6isq6p")))) - ;; XXX: The crate fails to't build with with the same error as - ;; rust-actix-connect. Skip build for now. - (arguments - `(#:skip-build? #true - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.2) - ("rust-actix-http" ,rust-actix-http-1) - ("rust-actix-rt" ,rust-actix-rt-1) - ("rust-actix-service" ,rust-actix-service-1) - ("rust-base64" ,rust-base64-0.11) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)) - #:cargo-development-inputs - (("rust-actix-http-test" ,rust-actix-http-test-1) - ("rust-actix-web" ,rust-actix-web-2) - ("rust-brotli" ,rust-brotli-3)))))) - -(define-public rust-awc-0.2 - (package - (inherit rust-awc-2) - (name "rust-awc-2") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "awc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1i5qinnh37bwpx86m2yyq1q1bnsa31vlwlz7942bzlwd4y1m56ay")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-actix-codec" ,rust-actix-codec-0.1) - ("rust-actix-http" ,rust-actix-http-0.2) - ("rust-actix-service" ,rust-actix-service-0.4) - ("rust-base64" ,rust-base64-0.10) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-derive-more" ,rust-derive-more-0.15) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) - (define-public rust-az-1 (package (name "rust-az") @@ -6958,6 +5507,34 @@ built on the Actix ecosystem.") (description "This crate provides casts and checked casts.") (license (list license:expat license:asl2.0)))) +(define-public rust-backon-0.4 + (package + (name "rust-backon") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "backon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yfwd1idd5hf6aq2p0rbx4cv0n450canazr6b8cb42qjnabn26hc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-tokio" ,rust-tokio-1)))) + (inputs (list openssl)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/Xuanwo/backon") + (synopsis "Retry with backoff without effort") + (description "This package provides a retry with backoff without +effort.") + (license license:asl2.0))) + (define-public rust-backtrace-0.3 (package (name "rust-backtrace") @@ -6995,42 +5572,6 @@ built on the Actix ecosystem.") trace (backtrace) at runtime in a Rust program.") (license (list license:asl2.0 license:expat)))) -(define-public rust-bare-metal-1 - (package - (name "rust-bare-metal") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bare-metal" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00wn61b219nkfcwggim5pj7mcyn1gkq8zqaq4gjlb0rri9d8zzpq")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/rust-embedded/bare-metal") - (synopsis "Abstractions common to bare metal systems") - (description "This package provides abstractions common to bare metal -systems.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-bare-metal-0.2 - (package - (inherit rust-bare-metal-1) - (name "rust-bare-metal") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "bare-metal" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cy5pbb92fznnri72y6drfpjxj4qdmd62f0rrlgy70dxlppn9ssx")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2)))))) - (define-public rust-barrel-0.6 (package (name "rust-barrel") @@ -7054,27 +5595,6 @@ systems.") API for Rust.") (license (list license:expat license:x11 license:asl2.0)))) -(define-public rust-base16ct-0.2 - (package - (name "rust-base16ct") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "base16ct" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kylrjhdzk7qpknrvlphw8ywdnvvg39dizw9622w3wk5xba04zsc")))) - (build-system cargo-build-system) - (home-page "https://github.com/RustCrypto/formats/tree/master/base16ct") - (synopsis "Rust implementation of Base16 a.k.a hexadecimal") - (description - "This package provides a pure Rust implementation of Base16 a.k.a -hexadecimal (RFC 4648) which avoids any usages of data-dependent branches/LUTs -and thereby provides portable \"best effort\" constant-time operation and -embedded-friendly no_std support.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-base32-0.4 (package (name "rust-base32") @@ -7123,14 +5643,14 @@ c6e7d37. However, this package works only up to 128 bytes.") (define-public rust-base64-0.21 (package (name "rust-base64") - (version "0.21.4") + (version "0.21.5") (source (origin (method url-fetch) (uri (crate-uri "base64" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18jhmsli1l7zn6pgslgjdrnghqnz12g68n25fv48ids3yfk3x94v")))) + "1y8x2xs9nszj5ix7gg4ycn5a6wy7ca74zxwqri3bdqzdjha6lqrm")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -7265,63 +5785,6 @@ c6e7d37. However, this package works only up to 128 bytes.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-base64-0.6 - (package - (inherit rust-base64-0.13) - (name "rust-base64") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "base64" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ja3c7wlzp3sb14f2ksp27x1mk8ycgh1391nnd7fvw01fnc4yhwn")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-safemem" ,rust-safemem-0.2)))))) - -(define-public rust-base64ct-1 - (package - (name "rust-base64ct") - (version "1.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "base64ct" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nvdba4jb8aikv60az40x2w1y96sjdq8z3yp09rwzmkhiwv1lg4c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/base64ct") - (synopsis "Implementation of Base64 (RFC 4648)") - (description - "This package is a pure Rust implementation of Base64 (RFC 4648) which -avoids any usages of data-dependent branches/LUTs and thereby provides -portable \"best effort\" constant-time operation and embedded-friendly -@code{no_std} support.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-base64ct-1.0.1 - (package - (inherit rust-base64ct-1) - (name "rust-base64ct") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "base64ct" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sx4a44c2n450lsmi0q1mgfbjhkw1sx57462cv77p0mmy9mgscla")))) - (arguments '()))) - (define-public rust-base-x-0.2 (package (name "rust-base-x") @@ -7348,14 +5811,14 @@ portable \"best effort\" constant-time operation and embedded-friendly (define-public rust-basic-toml-0.1 (package (name "rust-basic-toml") - (version "0.1.1") + (version "0.1.8") (source (origin (method url-fetch) (uri (crate-uri "basic-toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1d2h378373x0i8j4mi4sfaq8np9hf5xqr2rh9pa7r5irfxk9p09f")))) + (base32 "1r8l5kz5lzfw66llq8b023vx38kh35gdf8jd428ma76lr8j1bcid")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -7371,9 +5834,68 @@ portable \"best effort\" constant-time operation and embedded-friendly dependencies.") (license (list license:expat license:asl2.0)))) +(define-public rust-bat-0.22 + (package + (name "rust-bat") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bat" version)) + (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) + ("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-atty" ,rust-atty-0.2) + ("rust-bincode" ,rust-bincode-1) + ("rust-bugreport" ,rust-bugreport-0.5) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-clap" ,rust-clap-3) + ("rust-clircle" ,rust-clircle-0.3) + ("rust-console" ,rust-console-0.15) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-encoding" ,rust-encoding-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-git2" ,rust-git2-0.15) + ("rust-globset" ,rust-globset-0.4) + ("rust-grep-cli" ,rust-grep-cli-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-path-abs" ,rust-path-abs-0.5) + ("rust-regex" ,rust-regex-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("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-nix" ,rust-nix-0.24) + ("rust-predicates" ,rust-predicates-2) + ("rust-serial-test" ,rust-serial-test-0.6) + ("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)))) + (define-public rust-bat-0.18 (package - (name "bat") + (inherit rust-bat-0.22) + (name "rust-bat") (version "0.18.3") (source (origin @@ -7382,10 +5904,8 @@ dependencies.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qlk032dd6zxda1v7clah33nafxygaw3x7f73ajwlvk956nrn1js")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) ("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-atty" ,rust-atty-0.2) @@ -7416,34 +5936,26 @@ dependencies.") ("rust-serial-test" ,rust-serial-test-0.5) ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) - (native-inputs - (list pkg-config)) (inputs - (list libgit2 zlib)) - (home-page "https://github.com/sharkdp/bat") - (synopsis "@command{cat} clone with syntax highlighting and git integration") - (description - "@command{bat} is a drop-in @command{cat} replacement featuring syntax -highlighting for a large number of languages, git integration, and automatic -paging.") - (license (list license:expat license:asl2.0)))) + (list libgit2 zlib)))) (define-public rust-beef-0.5 (package (name "rust-beef") - (version "0.5.0") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "beef" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02blba0j192l0374kqwn8rjsc8aifj43xi26v142ijpjim1f4dk7")))) + (base32 "1c95lbnhld96iwwbyh5kzykbpysq0fnjfhwxa1mhap5qxgrl30is")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)))) + `(#:tests? #f ; Doc tests segfault. + #:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/maciejhirsz/beef") (synopsis "Faster, more compact implementation of Cow") (description "This package provides faster, more compact implementation of @@ -7472,8 +5984,36 @@ and no more (caveat: black_box is still missing!).") (license (list license:asl2.0 license:expat)))) +(define-public rust-bigdecimal-0.4 + (package + (name "rust-bigdecimal") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "bigdecimal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jcbzgna6292vgq0slw5iah929wl0xbps22zr63bp99y8az1jrn0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-paste" ,rust-paste-1) + ("rust-serde-json" ,rust-serde-json-0.9) + ("rust-siphasher" ,rust-siphasher-0.3)))) + (home-page "https://github.com/akubera/bigdecimal-rs") + (synopsis "Arbitrary precision decimal numbers") + (description "This package provides arbitrary precision decimal numbers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bigdecimal-0.3 (package + (inherit rust-bigdecimal-0.4) (name "rust-bigdecimal") (version "0.3.0") (source @@ -7483,18 +6023,13 @@ and no more (caveat: black_box is still missing!).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0i1px8hk4l71n307c7h7igrdy37pzpm7dcni269gwab438ak7bva")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/akubera/bigdecimal-rs") - (synopsis "Arbitrary precision decimal numbers") - (description "This package provides arbitrary precision decimal numbers.") - (license (list license:expat license:asl2.0)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-bigdecimal-0.2 (package @@ -7540,6 +6075,26 @@ and no more (caveat: black_box is still missing!).") #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-binascii-0.1 + (package + (name "rust-binascii") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "binascii" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wnaglgl72pn5ilv61q6y34w76gbg7crb8ifqk6lsxnq2gajjg9q")))) + (build-system cargo-build-system) + (home-page "https://github.com/naim94a/binascii-rs") + (synopsis + "No-std binascii operations including base64, base32 and base16 (hex)") + (description + "This package contains useful no-std binascii operations including base64, +base32 and base16 (hex)") + (license license:expat))) + (define-public rust-bincode-1 (package (name "rust-bincode") @@ -7566,8 +6121,75 @@ and no more (caveat: black_box is still missing!).") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) +(define-public rust-bindgen-0.69 + (package + (name "rust-bindgen") + (version "0.69.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18194611hn3k1dkxlha7a52sr8vmfhl9blc54xhj08cahd8wh3d0")))) + (build-system cargo-build-system) + (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)))) + (inputs (list clang)) + (home-page "https://rust-lang.github.io/rust-bindgen/") + (synopsis "Generate Rust FFI bindings to C and C++ libraries") + (description "This package can be used to automatically generate Rust FFI +bindings to C and C++ libraries.") + (license license:bsd-3))) + +(define-public rust-bindgen-0.66 + (package + (inherit rust-bindgen-0.69) + (name "rust-bindgen") + (version "0.66.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19yj6fsb08x0l1pg871vvfvlx1mglamz8hyjpazhfc90zh34xf7j")))) + (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-lazy-static" ,rust-lazy-static-1) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-log" ,rust-log-0.4) + ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) + ("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.64 (package + (inherit rust-bindgen-0.66) (name "rust-bindgen") (version "0.64.0") (source @@ -7577,7 +6199,6 @@ that uses Serde for transforming structs into bytes and vice versa!") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1d0zmfc5swjgaydbamxb4xm687ahgv18dbcpvrzbf39665h3w964")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -7594,14 +6215,7 @@ that uses Serde for transforming structs into bytes and vice versa!") ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-shlex" ,rust-shlex-1) ("rust-syn" ,rust-syn-1) - ("rust-which" ,rust-which-4)))) - (inputs - (list clang)) - (home-page "https://rust-lang.github.io/rust-bindgen/") - (synopsis "Generate Rust FFI bindings to C and C++ libraries") - (description "This package can be used to automatically generate Rust FFI -bindings to C and C++ libraries.") - (license license:bsd-3))) + ("rust-which" ,rust-which-4)))))) (define-public rust-bindgen-0.63 (package @@ -7814,50 +6428,9 @@ bindings to C and C++ libraries.") (setenv "RUSTC_BOOTSTRAP" "1") #t))))))) -(define-public rust-bindgen-0.54 - (package - (inherit rust-bindgen-0.55) - (name "rust-bindgen") - (version "0.54.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dn7dlwa0abjlqbl2kvwfdy6k6kgcqg6ixcjmk6pc3dpps09pm7l")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cexpr" ,rust-cexpr-0.4) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.29) - ("rust-clap" ,rust-clap-2) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lazycell" ,rust-lazycell-1) - ("rust-log" ,rust-log-0.4) - ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) - ("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-0.1) - ("rust-which" ,rust-which-3)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))) - (inputs - (list clang)))) - (define-public rust-bindgen-0.53 (package - (inherit rust-bindgen-0.54) + (inherit rust-bindgen-0.55) (name "rust-bindgen") (version "0.53.3") (source @@ -7892,198 +6465,37 @@ bindings to C and C++ libraries.") ("rust-diff" ,rust-diff-0.1) ("rust-shlex" ,rust-shlex-0.1)))))) -(define-public rust-bindgen-0.52 - (package - (inherit rust-bindgen-0.53) - (name "rust-bindgen") - (version "0.52.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mzy2gjiaggl602yn4a11xzrxfj18kl7pwqa5yv32njkxd257j7i")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-shlex" ,rust-shlex-0.1) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-peeking-take-while" - ,rust-peeking-take-while-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.28) - ("rust-cexpr" ,rust-cexpr-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-lazycell" ,rust-lazycell-1) - ("rust-regex" ,rust-regex-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-clap" ,rust-clap-2) - ("rust-which" ,rust-which-3)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))))) - -(define-public rust-bindgen-0.51 - (package - (inherit rust-bindgen-0.52) - (name "rust-bindgen") - (version "0.51.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x9gndlnwmxsihxvsc3izyyss7g8b2djn0daafshj1gcy69i7mzb")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-shlex" ,rust-shlex-0.1) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-peeking-take-while" - ,rust-peeking-take-while-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.28) - ("rust-cexpr" ,rust-cexpr-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-regex" ,rust-regex-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-clap" ,rust-clap-2) - ("rust-which" ,rust-which-3)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))) - (inputs `()))) - -(define-public rust-bindgen-0.50 +(define-public rust-bio-types-1 (package - (inherit rust-bindgen-0.51) - (name "rust-bindgen") - (version "0.50.1") + (name "rust-bio-types") + (version "1.0.1") (source (origin (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "bio-types" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1fp98x0k4cawil3rqxsfrb58pq3mb5mn37rp745zxfmjfigml3nb")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cexpr" ,rust-cexpr-0.3) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.28) - ("rust-clap" ,rust-clap-2) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-regex" ,rust-regex-1) - ("rust-shlex" ,rust-shlex-0.1) - ("rust-which" ,rust-which-2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))))) - -(define-public rust-bindgen-0.48 - (package - (inherit rust-bindgen-0.50) - (name "rust-bindgen") - (version "0.48.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jpk0p4l4dg1lpvciq9q8wm94sjsflb1vb5x2gk9dlizv4gl2gcx")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cexpr" ,rust-cexpr-0.3) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-clang-sys" ,rust-clang-sys-0.26) - ("rust-clap" ,rust-clap-2) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-hashbrown" ,rust-hashbrown-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-regex" ,rust-regex-1) - ("rust-which" ,rust-which-2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))))) - -(define-public rust-bindgen-0.37 - (package - (inherit rust-bindgen-0.50) - (name "rust-bindgen") - (version "0.37.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08f2cyzr8fc027mzj2lhmn5j3w318g2ql7yfw5ngxa3yhy1an98v")))) + (base32 "0jmad6knx576mmz9djnqz4kldzql9mqvzs95202hh67jhydp8icx")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-peeking-take-while" - ,rust-peeking-take-while-0.1) - ("rust-cexpr" ,rust-cexpr-0.2) - ("rust-clang-sys" ,rust-clang-sys-0.23) - ("rust-proc-macro2" ,rust-proc-macro2-0.3) ; 0.3.5 - ("rust-log" ,rust-log-0.4) - ("rust-env-logger" ,rust-env-logger-0.5) - ("rust-quote" ,rust-quote-0.5) - ("rust-which" ,rust-which-1) - ("rust-regex" ,rust-regex-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-clap" ,rust-clap-2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-diff" ,rust-diff-0.1) - ("rust-shlex" ,rust-shlex-0.1)))))) + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-derive-new" ,rust-derive-new-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-strum-macros" ,rust-strum-macros-0.24) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://rust-bio.github.io") + (synopsis "Common biomedical types for use in rust-bio and rust-htslib") + (description + "This package provides a collection of common biomedical types for use in +rust-bio and rust-htslib.") + (license license:expat))) (define-public rust-bio-types-0.12 (package + (inherit rust-bio-types-1) (name "rust-bio-types") (version "0.12.1") (source @@ -8093,7 +6505,6 @@ bindings to C and C++ libraries.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1dmcjwky9fszmwwg7ywv52xhz93zibsgl7nj9x7gadvz8yb45g0k")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5) @@ -8102,61 +6513,58 @@ bindings to C and C++ libraries.") ("rust-regex" ,rust-regex-1) ("rust-serde" ,rust-serde-1) ("rust-strum-macros" ,rust-strum-macros-0.21) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://rust-bio.github.io") - (synopsis "Common biomedical types for use in rust-bio and rust-htslib") - (description - "This package provides a collection of common biomedical types for use in -rust-bio and rust-htslib.") - (license license:expat))) + ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-bio-0.32 +(define-public rust-bio-1 (package (name "rust-bio") - (version "0.32.0") + (version "1.5.0") (source (origin (method url-fetch) (uri (crate-uri "bio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wj6s3hzpx5xhajcnvdabbgpalgghdni7gmlhjl6i9pfh1xiq5pi")))) + (base32 "1xdx5iih68lraiy6f8n200bgrdfl307dmgdmb984ynmzpb2wzp15")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-approx" ,rust-approx-0.3) - ("rust-bio-types" ,rust-bio-types-0.12) - ("rust-bit-set" ,rust-bit-set-0.5) - ("rust-bv" ,rust-bv-0.11) - ("rust-bytecount" ,rust-bytecount-0.6) - ("rust-csv" ,rust-csv-1) - ("rust-custom-derive" ,rust-custom-derive-0.1) - ("rust-enum-map" ,rust-enum-map-0.6) - ("rust-fnv" ,rust-fnv-1) - ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-getset" ,rust-getset-0.0.9) - ("rust-itertools" ,rust-itertools-0.9) - ("rust-itertools-num" ,rust-itertools-num-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-multimap" ,rust-multimap-0.8) - ("rust-ndarray" ,rust-ndarray-0.13) - ("rust-newtype-derive" ,rust-newtype-derive-0.1) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-ordered-float" ,rust-ordered-float-1) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-quick-error" ,rust-quick-error-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-snafu" ,rust-snafu-0.6) - ("rust-statrs" ,rust-statrs-0.12) - ("rust-strum" ,rust-strum-0.18) - ("rust-strum-macros" ,rust-strum-macros-0.18) - ("rust-triple-accel" ,rust-triple-accel-0.3) - ("rust-vec-map" ,rust-vec-map-0.8)) - #:cargo-development-inputs - (("rust-proptest" ,rust-proptest-0.10)))) + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-approx" ,rust-approx-0.5) + ("rust-bio-types" ,rust-bio-types-1) + ("rust-bit-set" ,rust-bit-set-0.5) + ("rust-bv" ,rust-bv-0.11) + ("rust-bytecount" ,rust-bytecount-0.6) + ("rust-csv" ,rust-csv-1) + ("rust-custom-derive" ,rust-custom-derive-0.1) + ("rust-editdistancek" ,rust-editdistancek-1) + ("rust-enum-map" ,rust-enum-map-0.6) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-getset" ,rust-getset-0.1) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-itertools-num" ,rust-itertools-num-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-multimap" ,rust-multimap-0.8) + ("rust-ndarray" ,rust-ndarray-0.15) + ("rust-newtype-derive" ,rust-newtype-derive-0.1) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-ordered-float" ,rust-ordered-float-3) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-statrs" ,rust-statrs-0.15) + ("rust-strum" ,rust-strum-0.24) + ("rust-strum-macros" ,rust-strum-macros-0.24) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-triple-accel" ,rust-triple-accel-0.4) + ("rust-vec-map" ,rust-vec-map-0.8)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://rust-bio.github.io") (synopsis "Bioinformatics library for Rust") (description @@ -8167,6 +6575,7 @@ useful for bioinformatics, but also in other fields.") (define-public rust-bio-0.33 (package + (inherit rust-bio-1) (name "rust-bio") (version "0.33.0") (source @@ -8176,7 +6585,6 @@ useful for bioinformatics, but also in other fields.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1zaghvazh243x2pg866hjx1zwwpp9qzwkf45iz2fs9af5y661gz5")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -8214,17 +6622,11 @@ useful for bioinformatics, but also in other fields.") ("rust-vec-map" ,rust-vec-map-0.8)) #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://rust-bio.github.io") - (synopsis "Bioinformatics library for Rust") - (description - "This package provides a bioinformatics library for Rust. This library -provides implementations of many algorithms and data structures that are -useful for bioinformatics, but also in other fields.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-bio-0.39 (package + (inherit rust-bio-1) (name "rust-bio") (version "0.39.2") (source (origin @@ -8234,7 +6636,6 @@ useful for bioinformatics, but also in other fields.") (sha256 (base32 "00k0zv4yyiipzg2arnkrplfi0digwnv89bczfzhyva68yfv8scvb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -8269,14 +6670,7 @@ useful for bioinformatics, but also in other fields.") ("rust-strum-macros" ,rust-strum-macros-0.21) ("rust-thiserror" ,rust-thiserror-1) ("rust-triple-accel" ,rust-triple-accel-0.4) - ("rust-vec-map" ,rust-vec-map-0.8)))) - (home-page "https://rust-bio.github.io") - (synopsis "Bioinformatics library for Rust") - (description - "This package provides a bioinformatics library for Rust. This library -provides implementations of many algorithms and data structures that are -useful for bioinformatics, but also in other fields.") - (license license:expat))) + ("rust-vec-map" ,rust-vec-map-0.8)))))) (define-public rust-bio-0.41 (package @@ -8489,36 +6883,17 @@ types.") @code{rust-bitcoin}.") (license license:cc0))) -(define-public rust-bitfield-0.13 - (package - (name "rust-bitfield") - (version "0.13.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitfield" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06g7jb5r2b856vnhx76081fg90jvmy61kjqcfjysgmd5hclvvbs6")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/dzamlo/rust-bitfield") - (synopsis "Macros to generate bitfield-like struct") - (description - "This crate provides macros to generate bitfield-like struct.") - (license (list license:expat license:asl2.0)))) - (define-public rust-bitflags-2 (package (name "rust-bitflags") - (version "2.4.0") + (version "2.4.1") (source (origin (method url-fetch) (uri (crate-uri "bitflags" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dc6xa7flfl59makmhixjcrslwlvdxxwrgxbr8p7bkvz53k2ls5l")))) + (base32 "01ryy3kd671b0ll4bhdvhsz67vwz1lz53fz504injrd7wpv64xrj")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -8717,19 +7092,18 @@ example 13 bits at once. The reader internally keeps track of position within the buffer.") (license (list license:expat license:asl2.0)))) -(define-public rust-bitstream-io-1 +(define-public rust-bitstream-io-2 (package (name "rust-bitstream-io") - (version "1.0.0") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "bitstream-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01pyk3pipwcbaghi7f0lmp3izjl902cv21yf4b1v5nipkrrrqlq3")))) + (base32 "1nkny66c4hagpc6l656jvvlnz212msv6icca0f0jw7hpa6d9ij86")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/tuffy/bitstream-io") (synopsis "Read/write un-aligned values from big or little-endian streams") (description @@ -8737,6 +7111,20 @@ the buffer.") streams in big-endian and little-endian formats.") (license (list license:expat license:asl2.0)))) +(define-public rust-bitstream-io-1 + (package + (inherit rust-bitstream-io-2) + (name "rust-bitstream-io") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitstream-io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01pyk3pipwcbaghi7f0lmp3izjl902cv21yf4b1v5nipkrrrqlq3")))) + (arguments `(#:skip-build? #t)))) + (define-public rust-bitstream-io-0.8 (package (inherit rust-bitstream-io-1) @@ -8852,16 +7240,14 @@ streams in big-endian and little-endian formats.") (package (inherit rust-bitvec-0.22) (name "rust-bitvec") - (version "0.19.4") + (version "0.19.6") (source (origin (method url-fetch) (uri (crate-uri "bitvec" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "10bz751jbsy8fj203ibjwil07p2fwfzvx7b326wfssaravlkbfm7")))) + (base32 "0cvb24nanb50vq61d3ac3pz7rxjcy0w6lr3nb56kcg1nyc73vyam")))) (arguments `(#:cargo-inputs (("rust-funty" ,rust-funty-1.1) @@ -8876,145 +7262,6 @@ streams in big-endian and little-endian formats.") ("rust-serde-test" ,rust-serde-test-1) ("rust-static-assertions" ,rust-static-assertions-1)))))) -(define-public rust-blake2-0.10 - (package - (name "rust-blake2") - (version "0.10.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "blake2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zlf7w7gql12v61d9jcbbswa3dw8qxsjglylsiljp9f9b3a2ll26")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "BLAKE2 hash functions") - (description "This package provides BLAKE2 hash functions in Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-blake2-0.9 - (package - (inherit rust-blake2-0.10) - (name "rust-blake2") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "blake2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0x7i67c0hn3bzcwny08rgjrrnarqnqw10qpmh2blbx9hd78kfkha")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-digest" ,rust-digest-0.9) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-blake2-0.8 - (package - (inherit rust-blake2-0.10) - (name "rust-blake2") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "blake2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c4k11j04kqhkci6i9b7lz6p13kpcv228pdqixgrawvavaq0gjwl")))) - (arguments - `(#:tests? #f ; Not all tests compile. - #:cargo-inputs - (("rust-byte-tools" ,rust-byte-tools-0.3) - ("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))))) - -(define-public rust-blake2b-simd-1 - (package - (name "rust-blake2b-simd") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "blake2b_simd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g04mc4gf6jyymyj41749jhhplm3ymnc6z7rhkc1fqwclv4hsbrw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arrayref" ,rust-arrayref-0.3) - ("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.2)))) - (home-page "https://github.com/oconnor663/blake2_simd") - (synopsis "Pure Rust BLAKE2b implementation with dynamic SIMD") - (description - "This package provides a pure Rust implementation of the BLAKE2b and -BLAKE2bp hash functions.") - (license license:expat))) - -(define-public rust-blake2b-simd-0.5 - (package - (inherit rust-blake2b-simd-1) - (name "rust-blake2b-simd") - (version "0.5.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "blake2b_simd" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrayref" ,rust-arrayref-0.3) - ("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)))))) - -(define-public rust-blakeout-0.3 - (package - (name "rust-blakeout") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "blakeout" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dxcg3sjxd82mn7mq4ammrfpidqf9zsagvhfzgblsi8g4b2fgvw1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blake2" ,rust-blake2-0.9) - ("rust-digest" ,rust-digest-0.9)))) - (home-page "https://github.com/Revertron/Blakeout") - (synopsis "Memory hard hashing algorithm based on Blake2s") - (description "This package provides memory hard hashing algorithm -based on Blake2s.") - (license (list license:expat license:asl2.0)))) - (define-public rust-blobby-0.3 (package (name "rust-blobby") @@ -9060,52 +7307,6 @@ storage.") (("rust-byteorder" ,rust-byteorder-1) ("rust-hex" ,rust-hex-0.3)))))) -(define-public rust-block-0.1 - (package - (name "rust-block") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "block" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16k9jgll25pzsq14f244q22cdv0zb4bqacldg3kx6h89d7piz30d")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-development-inputs - (("rust-objc-test-utils" ,rust-objc-test-utils-0.0)))) - (home-page "https://github.com/SSheldon/rust-block") - (synopsis "Rust interface for Apple's C language extension of blocks") - (description "This package provides a rust interface for Apple's C language -extension of blocks.") - (license license:expat))) - -(define-public rust-block2-0.2 - (package - (name "rust-block2") - (version "0.2.0-alpha.6") - (source (origin - (method url-fetch) - (uri (crate-uri "block2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hpcdl81rmwvhfni9413hrg1wd4xwf6vhch3yv15bxs42wyfdncd")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests require gcc-objc. - #:cargo-inputs - (("rust-block-sys" ,rust-block-sys-0.1) - ("rust-objc2-encode" ,rust-objc2-encode-2)))) - (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-block-buffer-0.10 (package (name "rust-block-buffer") @@ -9170,142 +7371,17 @@ extension of blocks.") ("rust-byteorder" ,rust-byteorder-1) ("rust-generic-array" ,rust-generic-array-0.12)))))) -(define-public rust-block-buffer-0.3 - (package - (inherit rust-block-buffer-0.9) - (name "rust-block-buffer") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-buffer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1axki8f4rhnxvk6hlli4i53sgmi7c15ffryrv4757nzcp6cc4xm0")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrayref" ,rust-arrayref-0.3) - ("rust-byte-tools" ,rust-byte-tools-0.2)))))) - -(define-public rust-block-cipher-0.7 - (package - (name "rust-block-cipher") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-cipher" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "043zgfz1x4sxkdcsyabrcr440fcwhfpcqqa54jm7zp35wx4n84zs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.14)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Traits for description of block ciphers") - (description "This package provides traits for description of block -ciphers.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-block-cipher-trait-0.6 - (package - (name "rust-block-cipher-trait") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-cipher-trait" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.12)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Block cipher algorithms") - (description "This package provides a collection of block cipher -algorithms. This package is deprecated. Please use block-cipher instead.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-block-cipher-trait-0.4 - (package - (inherit rust-block-cipher-trait-0.6) - (name "rust-block-cipher-trait") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-cipher-trait" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10qmg8vphqmfllb9a2yx6s7r66jh1wh33clhsawq7ikg2wgz2p6q")))) - (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.8)))))) - -(define-public rust-block-modes-0.8 - (package - (name "rust-block-modes") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-modes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13id7rw1lhi83i701za8w5is3a8qkf4vfigqw3f8jp8mxldkvc1c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-padding" ,rust-block-padding-0.2) - ("rust-cipher" ,rust-cipher-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Block cipher modes of operation") - (description "This package provides a collection of block ciphers -and block modes.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-block-modes-0.7 - (package - (inherit rust-block-modes-0.8) - (name "rust-block-modes") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-modes" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p")))) - (arguments - `(#:cargo-inputs - (("rust-block-padding" ,rust-block-padding-0.2) - ("rust-cipher" ,rust-cipher-0.2)) - #:cargo-development-inputs - (("rust-aes" ,rust-aes-0.6) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - (define-public rust-block-padding-0.3 (package (name "rust-block-padding") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "block-padding" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y5v92alqzn9ikmyqfl3a4j6va87j967ii2n3jh2h330z4nyr40a")))) + (base32 "14wdad0r1qk5gmszxqd8cky6vx8qg7c153jv981mixzrpzmlz2d8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-generic-array" ,rust-generic-array-0.14)))) @@ -9348,28 +7424,6 @@ and block modes.") `(#:cargo-inputs (("rust-byte-tools" ,rust-byte-tools-0.3)))))) -(define-public rust-block-sys-0.1 - (package - (name "rust-block-sys") - (version "0.1.0-beta.1") - (source (origin - (method url-fetch) - (uri (crate-uri "block-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ihiar08hk0das4q0ii1gsmql975z3rslli1h13jb44hxr0mg98g")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests require gcc-objc. - #:cargo-inputs - (("rust-objc-sys" ,rust-objc-sys-0.2)))) - (home-page "https://github.com/madsmtm/objc2") - (synopsis "Raw bindings to Apple's C language extension of blocks") - (description "This package contains raw bindings to Apple's C language -extension of blocks.") - (license license:expat))) - (define-public rust-blocking-1 (package (name "rust-blocking") @@ -9443,142 +7497,151 @@ programs.") ("rust-parking" ,rust-parking-1) ("rust-waker-fn" ,rust-waker-fn-1)))))) -(define-public rust-blowfish-0.9 +(define-public rust-borsh-1 (package - (name "rust-blowfish") - (version "0.9.1") - (source (origin - (method url-fetch) - (uri (crate-uri "blowfish" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mw7bvj3bg5w8vh9xw9xawqh7ixk2xwsxkj34ph96b9b1z6y44p4")))) + (name "rust-borsh") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a1hic4kj1rcy86qkmappi4ckch7iwap52akhx3bafqszkdddm16")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Blowfish block cipher") - (description "Blowfish block cipher") + `(#:tests? #f ; Tests aren't setup correctly. + #:cargo-inputs (("rust-ascii" ,rust-ascii-1) + ("rust-borsh-derive" ,rust-borsh-derive-1) + ("rust-bson" ,rust-bson-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.14)) + #:cargo-development-inputs (("rust-bson" ,rust-bson-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-insta" ,rust-insta-1)))) + (home-page "https://borsh.io") + (synopsis "Borsch is the binary object representation serializer for hashing") + (description "This crate implements @code{borsh}, the binary object +representation serializer for hasing. It is meant to be used in +security-critical projects as it prioritizes consistency, safety, speed, and +comes with a strict specification.") (license (list license:expat license:asl2.0)))) -(define-public rust-botan-0.10 +(define-public rust-borsh-0.10 (package - (name "rust-botan") + (inherit rust-borsh-1) + (name "rust-borsh") (version "0.10.3") - (source (origin - (method url-fetch) - (uri (crate-uri "botan" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vzl5pdysh848zpphsgvj9c40zdi3ynl32zzixsd8vg4vaflhb49")))) - (build-system cargo-build-system) + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sq4l9jfik5dmpy1islcj40bing1jkji2q1qbrkvq1d02n92f521")))) (arguments - `(#:cargo-inputs - (("rust-botan-sys" ,rust-botan-sys-0.10)) + `(#:tests? #f ; the trait bound `BytesMut: BorshSerialize` is not satisfied + #:cargo-inputs + (("rust-borsh-derive" ,rust-borsh-derive-0.10) + ("rust-bytes" ,rust-bytes-1) + ("rust-hashbrown" ,rust-hashbrown-0.13)) #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.4) - ("rust-wycheproof" ,rust-wycheproof-0.5)))) - (inputs (list botan)) - (home-page "https://botan.randombit.net/") - (synopsis "Rust wrapper for Botan cryptography library") - (description "Rust wrapper for Botan cryptography library") - (license license:expat))) + (("rust-bytes" ,rust-bytes-1)))))) -(define-public rust-botan-0.8 +(define-public rust-borsh-derive-1 (package - (inherit rust-botan-0.10) - (name "rust-botan") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "botan" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08bmiyn7c3b0dgx20w6hr28d9jcq7cj78cchr84pc686sb2s41ik")))) + (name "rust-borsh-derive") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q0h8y7xpilasaqc3s7drjh3qzxk7k83wc5ns9x7gpf4kiq1hjdz")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-botan-sys" ,rust-botan-sys-0.8) - ("rust-cstr-core" ,rust-cstr-core-0.2) - ("rust-cty" ,rust-cty-0.2)))))) + `(#:tests? #f ; Tests aren't setup correctly. + #:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-syn-derive" ,rust-syn-derive-0.1)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://borsh.io") + (synopsis "Derive proc-macros for @code{borsh}") + (description "This crate implements derive proc-macros for @code{borsh}.") + (license license:asl2.0))) -(define-public rust-botan-sys-0.10 +(define-public rust-borsh-derive-0.10 (package - (name "rust-botan-sys") + (inherit rust-borsh-derive-1) + (name "rust-borsh-derive") (version "0.10.3") - (source (origin - (method url-fetch) - (uri (crate-uri "botan-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cbjr44gc5dhmgl43sfiqzbsma4anfi3h26m4yzsli23yd1lmyf8")))) - (build-system cargo-build-system) + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xslbx3qj531aq8ny1bkr45ibjmpsx0szsfc57rm33akj4v62m07")))) (arguments - `(#:cargo-inputs (("rust-botan-src" ,rust-botan-src-0.21903)))) - (inputs (list botan)) - (home-page "https://botan.randombit.net/") - (synopsis "FFI wrapper for Botan cryptography library") - (description "FFI wrapper for Botan cryptography library") - (license license:expat))) + `(#:cargo-inputs + (("rust-borsh-derive-internal" ,rust-borsh-derive-internal-0.10) + ("rust-borsh-schema-derive-internal" ,rust-borsh-schema-derive-internal-0.10) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-botan-sys-0.8 +(define-public rust-borsh-derive-internal-0.10 (package - (inherit rust-botan-sys-0.10) - (name "rust-botan-sys") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "botan-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m11zblxfanrhl97j7z3ap7n17rr8j0rg91sr7f9j6y2bsniaz1x")))) + (name "rust-borsh-derive-internal") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh-derive-internal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yx27ic6aal83bdi1h6v80wfs9ixvw51qzmdgcn8sn8rd4akid5g")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-botan-src" ,rust-botan-src-0.21703) - ("rust-cty" ,rust-cty-0.2)))))) + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://borsh.io") + (synopsis "Borsh derive proc-macro internals") + (description "This crate contains derive proc-macro internals for @code{borsh}.") + (license license:asl2.0))) -(define-public rust-botan-src-0.21903 +(define-public rust-borsh-schema-derive-internal-0.10 (package - (name "rust-botan-src") - (version "0.21903.1") - (source (origin - (method url-fetch) - (uri (crate-uri "botan-src" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19fhll4g0v8hbyjxg8c790l9ln5xgf4r6xdcnw438mpy81hvrdxy")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "botan"))))) + (name "rust-borsh-schema-derive-internal") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "borsh-schema-derive-internal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kaw1xdprb8chqj50c8gxjb5dadx1rac91zg8s81njpp8g60ahk3")))) (build-system cargo-build-system) - (arguments '(#:skip-build? #t)) - (home-page "https://botan.randombit.net/") - (synopsis "Sources of Botan cryptography library") - (description "Sources of Botan cryptography library") - (license license:expat))) - -(define-public rust-botan-src-0.21703 - (package - (inherit rust-botan-src-0.21903) - (name "rust-botan-src") - (version "0.21703.0") - (source (origin - (method url-fetch) - (uri (crate-uri "botan-src" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0s2ad9q84qsrllfsbj7hjhn7gr3hab9ng6lwzwqmimia6yvja8y8")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "botan"))))))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://borsh.io") + (synopsis "Schema generator for @code{borsh}") + (description "This crate implements schema generator for @code{borsh}.") + (license license:asl2.0))) (define-public rust-boxfnonce-0.1 (package @@ -9598,20 +7661,65 @@ programs.") (description "This package provides a safe FnOnce boxing for Rust.") (license license:expat))) +(define-public rust-boxxy-0.13 + (package + (name "rust-boxxy") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "boxxy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rhzv4c6xn6va4dikbq2a2cmd5sa3svl13lhpcrchdn23y744aq0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bufstream" ,rust-bufstream-0.1) + ("rust-caps" ,rust-caps-0.5) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clap" ,rust-clap-3) + ("rust-close-fds" ,rust-close-fds-0.3) + ("rust-errno" ,rust-errno-0.2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-libflate" ,rust-libflate-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("rust-pledge" ,rust-pledge-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustyline" ,rust-rustyline-10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tar" ,rust-tar-0.4) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-ctrlc" ,rust-ctrlc-3) + ("rust-elf" ,rust-elf-0.0.10) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-pem" ,rust-pem-1) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/kpcyrd/boxxy-rs") + (synopsis "Linkable sandbox explorer") + (description + "This library provides an interactive shell that can be linked into a +program to verify sandboxing measures are adequate.") + (license license:lgpl3))) + (define-public rust-boxxy-0.12 (package + (inherit rust-boxxy-0.13) (name "rust-boxxy") (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "boxxy" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1q0wpz955y3iwd35bqk3pbx2vx904fhyj75j7d6mrb7ib5fs5kxg")))) - (build-system cargo-build-system) + (base32 "1q0wpz955y3iwd35bqk3pbx2vx904fhyj75j7d6mrb7ib5fs5kxg")))) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -9641,15 +7749,7 @@ programs.") ("rust-elf" ,rust-elf-0.0.10) ("rust-env-logger" ,rust-env-logger-0.9) ("rust-rustls" ,rust-rustls-0.16) - ("rust-sha2" ,rust-sha2-0.9)))) - (native-inputs - (list perl)) - (home-page "https://github.com/kpcyrd/boxxy-rs") - (synopsis "Linkable sandbox explorer") - (description - "This library provides an interactive shell that can be linked into a -program to verify sandboxing measures are adequate.") - (license license:lgpl3))) + ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-bresenham-0.1 (package @@ -9910,19 +8010,19 @@ alphabet.") (define-public rust-bstr-1 (package (name "rust-bstr") - (version "1.6.0") + (version "1.9.0") (source (origin (method url-fetch) (uri (crate-uri "bstr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01bvsr3x9n75klbwxym0zf939vzim0plsmy786p0zzzvrj6i9637")))) + "1p6hzf3wqwwynv6w4pn17jg21amfafph9kb5sfvf1idlli8h13y4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) - ("rust-regex-automata" ,rust-regex-automata-0.3) + ("rust-regex-automata" ,rust-regex-automata-0.4) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1) @@ -10074,6 +8174,28 @@ with data in place, which avoids another copy.") ("rust-flate2" ,rust-flate2-1) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-buffer-redux-1 + (package + (name "rust-buffer-redux") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "buffer-redux" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j90lnf4iz50px57xpxc6bx8hnmb6fyjm50nq6m8qn892nh6x26j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) + ("rust-safemem" ,rust-safemem-0.3) + ("rust-slice-deque" ,rust-slice-deque-0.3)))) + (home-page "https://github.com/dignifiedquire/buffer-redux") + (synopsis "Replacements for buffered I/O in `std::io` with extra features") + (description "This crate provides a drop-in replacements for buffered I/O in +@code{std::io} with extra features.") + (license (list license:expat license:asl2.0)))) + (define-public rust-buffering-0.4 (package (name "rust-buffering") @@ -10182,24 +8304,26 @@ buffer operations.") half is separately buffered.") (license (list license:expat license:asl2.0)))) -(define-public rust-bugreport-0.4 +(define-public rust-bugreport-0.5 (package (name "rust-bugreport") - (version "0.4.0") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "bugreport" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gday6f2brqgzl12a0vf7fx1hh1mim6gdjxc6dfwk9v4i19pxsd0")))) + (base32 "1jcq9ywxyd7fw1ing8ixna0cfcs5lrviyvx6h6080ir532w20lak")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-git-version" ,rust-git-version-0.3) ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-sys-info" ,rust-sys-info-0.9)))) + ("rust-sys-info" ,rust-sys-info-0.9)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/sharkdp/bugreport") (synopsis "Collect system and environment information for bug reports") (description @@ -10208,6 +8332,23 @@ automatically collect information about the system and the environment that users can send along with a bug report.") (license (list license:expat license:asl2.0)))) +(define-public rust-bugreport-0.4 + (package + (inherit rust-bugreport-0.5) + (name "rust-bugreport") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bugreport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k20nbl226kni905sy3rvizl7k4h28971143qdlzwfznnjrb8500")))) + (arguments + `(#:cargo-inputs (("rust-git-version" ,rust-git-version-0.3) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-sys-info" ,rust-sys-info-0.9)))))) + (define-public rust-build-const-0.2 (package (name "rust-build-const") @@ -10246,35 +8387,53 @@ constants from build.rs or a script.") libraries and binaries.") (license (list license:asl2.0 license:expat)))) -(define-public rust-built-0.5 +(define-public rust-built-0.7 (package (name "rust-built") - (version "0.5.3") - (source (origin - (method url-fetch) - (uri (crate-uri "built" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fwpyasbp4pb6ff070xn17w1kwhvzgcx83l15gh8kff6y9m92mff")))) + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "built" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lyx4z4y5f7aaiv2yxxhq7klhs0979sw5vgv08d6vhsddr6pzl9q")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cargo-lock" ,rust-cargo-lock-8) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.16) - ("rust-semver" ,rust-semver-1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) - (inputs - (list libgit2 zlib)) + `(#:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-9) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-git2" ,rust-git2-0.18) + ("rust-semver" ,rust-semver-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 zlib)) (home-page "https://github.com/lukaslueg/built") (synopsis "Provides a crate with information from the time it was built") (description "This package provides a crate with information from the time it was built.") (license license:expat))) +(define-public rust-built-0.5 + (package + (inherit rust-built-0.7) + (name "rust-built") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "built" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fwpyasbp4pb6ff070xn17w1kwhvzgcx83l15gh8kff6y9m92mff")))) + (arguments + `(#:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-8) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-git2" ,rust-git2-0.16) + ("rust-semver" ,rust-semver-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2 zlib)))) + (define-public rust-bumpalo-3 (package (name "rust-bumpalo") @@ -10390,19 +8549,6 @@ of built-in fundamental numeric types.") (description "Bytes related utility functions.") (license (list license:asl2.0 license:expat)))) -(define-public rust-byte-tools-0.2 - (package - (inherit rust-byte-tools-0.3) - (name "rust-byte-tools") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "byte-tools" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0h2zxygfnn46akmgh8cdp4x6xy4kb0b45rzmj76rxa0j99bk432n")))))) - (define-public rust-byte-unit-4 (package (name "rust-byte-unit") @@ -10537,49 +8683,30 @@ validation framework for Rust.") in a byte slice, fast.") (license (list license:asl2.0 license:expat)))) -(define-public rust-bytecount-0.5 +(define-public rust-bytelines-2 (package - (inherit rust-bytecount-0.6) - (name "rust-bytecount") - (version "0.5.1") + (name "rust-bytelines") + (version "2.5.0") (source (origin (method url-fetch) - (uri (crate-uri "bytecount" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "bytelines" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0z6a280kiy4kg5v3qw97pbyvwycr17fsm41804i8zpq7nmads3xy")))) - (arguments - `(#:cargo-inputs - (("rust-packed-simd" ,rust-packed-simd-0.3)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.8) - ("rust-rand" ,rust-rand-0.6)))))) - -(define-public rust-bytecount-0.4 - (package - (inherit rust-bytecount-0.5) - (name "rust-bytecount") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bytecount" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "13qpy38z5wx0rzcdvr2h0ixbfgi1dbrif068il3hwn3k2mah88mr")))) + (base32 "1jxacxpb7v0qgh325s5b7mfk90fr63jpr90dar8m47r27imnb5qj")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-packed-simd" ,rust-packed-simd-0.3)) + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.6) - ("rust-rand" ,rust-rand-0.4)))))) + (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/whitfin/bytelines") + (synopsis "Read input lines as byte slices for high efficiency") + (description + "This library provides an easy way to read in input lines as byte slices for +high efficiency.") + (license license:expat))) (define-public rust-bytemuck-1 (package @@ -10966,25 +9093,6 @@ representation, with support for both SI and binary units.") exposed as Reader/Writer streams.") (license (list license:expat license:asl2.0)))) -(define-public rust-c-linked-list-1 - (package - (name "rust-c-linked-list") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "c_linked_list" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jvjr3233wqgx6li65kciqpg354pvb0cv1i8hc71ka5lsf5m2r29")))) - (build-system cargo-build-system) - (home-page "https://canndrew.org/rust-doc/c_linked_list/") - (synopsis "Utilities for handling NULL-terminated C linked lists") - (description "This package provides utilities for handling -NULL-terminated C linked lists.") - (license (list license:expat license:bsd-3)))) - (define-public rust-c-vec-2 (package (name "rust-c-vec") @@ -11005,35 +9113,6 @@ NULL-terminated C linked lists.") (description "This package procides structures to wrap C arrays in Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-c2-chacha-0.2 - (package - (name "rust-c2-chacha") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "c2-chacha" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00a11qdc8mg3z0k613rhprkc9p6xz0y7b1681x32ixg0hr3x0r3x")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-ppv-lite86" ,rust-ppv-lite86-0.2) - ("rust-stream-cipher" ,rust-stream-cipher-0.3)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/cryptocorrosion/cryptocorrosion") - (synopsis "The ChaCha family of stream ciphers") - (description - "The ChaCha family of stream ciphers.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-cache-padded-1 (package (name "rust-cache-padded") @@ -11057,6 +9136,30 @@ CachePadded to ensure updating one piece of data doesn't invalidate other cached data.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cachedir-0.3 + (package + (name "rust-cachedir") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cachedir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wyqx30crm2qsq4ny57hhljyq6iw6j4qfg7fbfiqznvpf29z60s7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/jstasiak/cachedir") + (synopsis "Interact with cache directories and @file{CACHEDIR.TAG} files") + (description + "This package provides a library to help interacting with cache +directories and @file{CACHEDIR.TAG} files as defined by the Cache Directory +Tagging Specification. This library comes with functionality to, among +others, add a tag, ensure/check a tag exists and get the state of a tag.") + (license license:expat))) + (define-public rust-calamine-0.18 (package (name "rust-calamine") @@ -11090,8 +9193,70 @@ cached data.") spreadsheet file.") (license license:expat))) +(define-public rust-calibright-0.1 + (package + (name "rust-calibright") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "calibright" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pqyr6zbgqpxyhszgkvmi1y0hnqrd1nnghxds62z125zkv7ygmsq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs" ,rust-dirs-5) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-notify" ,rust-notify-6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-smart-default" ,rust-smart-default-0.7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-zbus" ,rust-zbus-3)))) + (home-page "https://github.com/bim9262/calibright") + (synopsis "Brightness utility with calibration between monitors") + (description + "This package provides a brightness utility that allows you to calibrate +brightness between monitors.") + (license license:gpl3))) + +(define-public rust-calloop-0.12 + (package + (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")))) + (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-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)))) + (home-page "https://github.com/Smithay/calloop") + (synopsis "Callback-based event loop") + (description "This package provides a callback-based event loop.") + (license license:expat))) + (define-public rust-calloop-0.10 (package + (inherit rust-calloop-0.12) (name "rust-calloop") (version "0.10.5") (source (origin @@ -11101,7 +9266,6 @@ spreadsheet file.") (sha256 (base32 "14h1yjksd8kakbd4xqz9xjc2gsa97rsdj5g05ivqsisswidj4n8s")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -11115,11 +9279,7 @@ spreadsheet file.") ("rust-slotmap" ,rust-slotmap-1) ("rust-thiserror" ,rust-thiserror-1) ("rust-vec-map" ,rust-vec-map-0.8)) - #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))) - (home-page "https://github.com/Smithay/calloop") - (synopsis "Callback-based event loop") - (description "This package provides a callback-based event loop.") - (license license:expat))) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))))) (define-public rust-calloop-0.9 (package @@ -11190,50 +9350,75 @@ spreadsheet file.") #:cargo-development-inputs (("rust-lazycell" ,rust-lazycell-1)))))) +(define-public rust-calloop-wayland-source-0.2 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/smithay/calloop-wayland-source") + (synopsis "Wayland-rs client event source for callloop") + (description + "This package provides a wayland-rs client event source for callloop.") + (license license:expat))) + (define-public rust-camino-1 (package (name "rust-camino") - (version "1.1.1") + (version "1.1.6") (source (origin (method url-fetch) (uri (crate-uri "camino" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "07jc2jsyyhd2d0clpr0ama61b2hv09qzbfba2mx27pc87qg0xbc8")))) + (base32 "171vzfyrm2jmajd70q1m774297y028kadgm7cfw4kxc8lfsr57n5")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proptest" ,rust-proptest-1) - ("rust-serde" ,rust-serde-1)))) - (home-page - "https://github.com/withoutboats/camino") + `(#:cargo-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) + (home-page "https://github.com/withoutboats/camino") (synopsis "UTF-8 paths") (description "This package provides a UTF-8 paths.") (license (list license:expat license:asl2.0)))) -(define-public rust-canonical-path-2 +(define-public rust-cap-0.1 (package - (name "rust-canonical-path") - (version "2.0.2") - (source (origin - (method url-fetch) - (uri (crate-uri "canonical-path" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vvsjda6ka5nz8zvx6r08zqi0j59sjccgcbjxj96xj764w9y1sg6")))) + (name "rust-cap") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00q00chl1y8j6p9f9rndnd9jyqyqklnd5l9fn0v4r8l4bfw5w4kg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t)) - (home-page "https://github.com/iqlusioninc/crates/") - (synopsis "Path and PathBuf-like types for canonical filesystem paths") + (list #:tests? #f)) ; memory allocation of 48 bytes failed + (home-page "https://github.com/alecmocatta/cap") + (synopsis "Allocator that can track and limit memory usage") (description - "This package provides Path and PathBuf-like types for representing -canonical filesystem paths.") - (license license:asl2.0))) + "This crate provides a generic allocator that wraps another allocator, +tracking memory usage and enabling limits to be set.") + (license (list license:expat license:asl2.0)))) (define-public rust-capnp-0.14 (package @@ -11416,19 +9601,16 @@ capabilities.") (package (inherit rust-caps-0.5) (name "rust-caps") - (version "0.3.3") + (version "0.3.4") (source (origin (method url-fetch) (uri (crate-uri "caps" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1vplgzx8nifzr3f0l8ca77jqnz3fdymdg0ickacgdvawc44a3n90")))) + (base32 "071xv18dxfvmifs3dpbmqy91cm55i9mh7w2zahg9yh3z3y566smz")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-errno" ,rust-errno-0.2) ("rust-error-chain" ,rust-error-chain-0.12) ("rust-libc" ,rust-libc-0.2)))))) @@ -11458,47 +9640,44 @@ capabilities.") (description "This package provides spec generation for clap-rs/clap.") (license license:expat))) -(define-public rust-cargo-0.74 +(define-public rust-cargo-0.76 (package (name "rust-cargo") - (version "0.74.0") + (version "0.76.0") (source (origin (method url-fetch) (uri (crate-uri "cargo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mjcdim8fryq5kr4c3agzc8pvjlaf67kkmhws6wykpqrkkxp8i94")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version) - (string-append "^" version))))))) + (base32 "14yjyvj9bl6mlzx6bbi3igflgdrx1hil9ifnf1dl9xnm4mb2gjw6")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `cargo_test_support` + `(#:tests? #f ; unresolved import `cargo_test_support` #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) + (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anyhow" ,rust-anyhow-1) ("rust-base64" ,rust-base64-0.21) ("rust-bytesize" ,rust-bytesize-1) - ("rust-cargo-credential" ,rust-cargo-credential-0.3) - ("rust-cargo-credential-libsecret" ,rust-cargo-credential-libsecret-0.3) - ("rust-cargo-credential-macos-keychain" ,rust-cargo-credential-macos-keychain-0.3) - ("rust-cargo-credential-wincred" ,rust-cargo-credential-wincred-0.3) + ("rust-cargo-credential" ,rust-cargo-credential-0.4) + ("rust-cargo-credential-libsecret" ,rust-cargo-credential-libsecret-0.4) + ("rust-cargo-credential-macos-keychain" ,rust-cargo-credential-macos-keychain-0.4) + ("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-clap" ,rust-clap-4) - ("rust-crates-io" ,rust-crates-io-0.38) + ("rust-color-print" ,rust-color-print-0.3) + ("rust-crates-io" ,rust-crates-io-0.39) ("rust-curl" ,rust-curl-0.4) ("rust-curl-sys" ,rust-curl-sys-0.4) ("rust-filetime" ,rust-filetime-0.2) ("rust-flate2" ,rust-flate2-1) ("rust-flate2" ,rust-flate2-1) - ("rust-fwdansi" ,rust-fwdansi-1) - ("rust-git2" ,rust-git2-0.17) - ("rust-git2-curl" ,rust-git2-curl-0.18) - ("rust-gix" ,rust-gix-0.45) - ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-git2" ,rust-git2-0.18) + ("rust-git2-curl" ,rust-git2-curl-0.19) + ("rust-gix" ,rust-gix-0.55) + ("rust-gix-features" ,rust-gix-features-0.35) ("rust-glob" ,rust-glob-0.3) ("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12) @@ -11508,11 +9687,11 @@ capabilities.") ("rust-ignore" ,rust-ignore-0.4) ("rust-im-rc" ,rust-im-rc-15) ("rust-indexmap" ,rust-indexmap-2) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-itertools" ,rust-itertools-0.11) ("rust-jobserver" ,rust-jobserver-0.1) ("rust-lazycell" ,rust-lazycell-1) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.15) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.16) ("rust-memchr" ,rust-memchr-2) ("rust-opener" ,rust-opener-0.6) ("rust-openssl" ,rust-openssl-0.10) @@ -11524,20 +9703,20 @@ capabilities.") ("rust-rustfix" ,rust-rustfix-0.6) ("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-serde-ignored" ,rust-serde-ignored-0.1) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha1" ,rust-sha1-0.10) ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) + ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-2) ("rust-syn" ,rust-syn-2) ("rust-tar" ,rust-tar-0.4) ("rust-tar" ,rust-tar-0.4) ("rust-tempfile" ,rust-tempfile-3) - ("rust-termcolor" ,rust-termcolor-1) ("rust-time" ,rust-time-0.3) - ("rust-toml" ,rust-toml-0.7) - ("rust-toml-edit" ,rust-toml-edit-0.19) + ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.20) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-unicase" ,rust-unicase-2) @@ -11546,13 +9725,12 @@ capabilities.") ("rust-url" ,rust-url-2) ("rust-walkdir" ,rust-walkdir-2) ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-same-file" ,rust-same-file-1) - ("rust-snapbox" ,rust-snapbox-0.4)))) + #:cargo-development-inputs (("rust-same-file" ,rust-same-file-1) + ("rust-snapbox" ,rust-snapbox-0.4)))) (native-inputs (list pkg-config)) (inputs - (list curl libssh2 libgit2-1.6 openssl zlib)) + (list curl libssh2 libgit2-1.7 openssl zlib)) (home-page "https://crates.io") (synopsis "Package manager for Rust") (description "Cargo, a package manager for Rust. This package provides @@ -11562,24 +9740,22 @@ the library crate of Cargo.") (define-public rust-cargo-config2-0.1 (package (name "rust-cargo-config2") - (version "0.1.8") + (version "0.1.17") (source (origin (method url-fetch) (uri (crate-uri "cargo-config2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vxbyjd2zm75k5jx3hgqi9h5fj3j37ahrpyl1davsz5zzk1j5mj1")))) + "00klqbgizddfrv7c420s06zx2q9qpd1ir72l40p651ib8rz1z0ch")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs - (("rust-cfg-expr" ,rust-cfg-expr-0.15) - ("rust-home" ,rust-home-0.5) - ("rust-once-cell" ,rust-once-cell-1) + (("rust-home" ,rust-home-0.5) ("rust-serde" ,rust-serde-1) - ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-toml" ,rust-toml-0.7)) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-toml-edit" ,rust-toml-edit-0.21)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-build-context" ,rust-build-context-0.1) @@ -11589,17 +9765,46 @@ the library crate of Cargo.") ("rust-lexopt" ,rust-lexopt-0.3) ("rust-rustversion" ,rust-rustversion-1) ("rust-serde-json" ,rust-serde-json-1) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-similar-asserts" ,rust-similar-asserts-1) ("rust-static-assertions" ,rust-static-assertions-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-toml" ,rust-toml-0.7) - ("rust-walkdir" ,rust-walkdir-2)))) + ("rust-toml" ,rust-toml-0.8)))) (home-page "https://github.com/taiki-e/cargo-config2") (synopsis "Load and resolve Cargo configuration") (description "Load and resolve Cargo configuration.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cargo-credential-0.4 + (package + (name "rust-cargo-credential") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0myp2fic79yaclb5lik9rv4kg12sly1k0zba4gbx2wljyqmkxdhy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.4)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Library to assist writing Cargo credential helpers") + (description + "This package provides a library to assist writing Cargo credential helpers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cargo-credential-0.3 (package + (inherit rust-cargo-credential-0.4) (name "rust-cargo-credential") (version "0.3.0") (source @@ -11609,7 +9814,6 @@ the library crate of Cargo.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1da8gx0lv4bkr3g070533mvyl638bviv506v8791archyy3nqv32")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -11620,15 +9824,34 @@ the library crate of Cargo.") ("rust-time" ,rust-time-0.3) ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs - (("rust-snapbox" ,rust-snapbox-0.4)))) + (("rust-snapbox" ,rust-snapbox-0.4)))))) + +(define-public rust-cargo-credential-libsecret-0.4 + (package + (name "rust-cargo-credential-libsecret") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-libsecret" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02dwjklxslbyp7y0kw4la05wn39l2pyim4vkqxid5kjzhlkzarhy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cargo-credential" ,rust-cargo-credential-0.4) + ("rust-libloading" ,rust-libloading-0.8)))) (home-page "https://github.com/rust-lang/cargo") - (synopsis "Library to assist writing Cargo credential helpers") + (synopsis "Cargo credential process that stores tokens with GNOME libsecret") (description - "This package provides a library to assist writing Cargo credential helpers.") + "This package provides a Cargo credential process that stores tokens with +GNOME libsecret.") (license (list license:expat license:asl2.0)))) (define-public rust-cargo-credential-libsecret-0.3 (package + (inherit rust-cargo-credential-libsecret-0.4) (name "rust-cargo-credential-libsecret") (version "0.3.1") (source @@ -11638,113 +9861,121 @@ the library crate of Cargo.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r1fahmdf1ihp7mfql443mwsa1byiyksfcm5pdh90rjynir97fzv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cargo-credential" ,rust-cargo-credential-0.3) - ("rust-libloading" ,rust-libloading-0.8)))) - (home-page "https://github.com/rust-lang/cargo") - (synopsis "Cargo credential process that stores tokens with GNOME libsecret") - (description - "This package provides a Cargo credential process that stores tokens with -GNOME libsecret.") - (license (list license:expat license:asl2.0)))) + ("rust-libloading" ,rust-libloading-0.8)))))) -(define-public rust-cargo-credential-macos-keychain-0.3 +(define-public rust-cargo-metadata-0.18 (package - (name "rust-cargo-credential-macos-keychain") - (version "0.3.0") + (name "rust-cargo-metadata") + (version "0.18.1") (source (origin (method url-fetch) - (uri (crate-uri "cargo-credential-macos-keychain" version)) + (uri (crate-uri "cargo_metadata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15i7gq5z6a3896aq2bci9mc9h77g91ziij87c2zhhd91g1pf41rs")))) + (base32 "0drh0zndl4qgndy6kg6783cydbvhxgv0hcg7d9hhqx0zwi3nb21d")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cargo-credential" ,rust-cargo-credential-0.3) - ("rust-security-framework" ,rust-security-framework-2)))) - (home-page "https://github.com/rust-lang/cargo") - (synopsis "Cargo credential process that stores tokens in a macOS keychain") + `(#:cargo-test-flags + '("--release" "--" + "--skip=advanced_feature_configuration" + "--skip=all_the_fields" + "--skip=basic_workspace_root_package_exists" + "--skip=current_dir") + #:cargo-inputs (("rust-camino" ,rust-camino-1) + ("rust-cargo-platform" ,rust-cargo-platform-0.1) + ("rust-derive-builder" ,rust-derive-builder-0.12) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/oli-obk/cargo_metadata") + (synopsis "Structured access to the output of `cargo metadata`") (description - "This package provides a Cargo credential process that stores tokens in a -@code{macOS} keychain.") - (license (list license:expat license:asl2.0)))) + "This package provides structured access to the output of @code{cargo +metadata}.") + (license license:expat))) -(define-public rust-cargo-credential-wincred-0.3 +(define-public rust-cargo-metadata-0.17 (package - (name "rust-cargo-credential-wincred") - (version "0.3.0") + (inherit rust-cargo-metadata-0.18) + (name "rust-cargo-metadata") + (version "0.17.0") (source (origin (method url-fetch) - (uri (crate-uri "cargo-credential-wincred" version)) + (uri (crate-uri "cargo_metadata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w8ciyyrq0vp25bdpsmj8221xh09x4np80wrhc53br8gkldljdv6")))) - (build-system cargo-build-system) + (base32 "14mmaq058nncdy3xdgylnnq3gibycjs21cj42sxfwa9158dfrnp7")))) (arguments - `(#:cargo-inputs - (("rust-cargo-credential" ,rust-cargo-credential-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) - (home-page "https://github.com/rust-lang/cargo") - (synopsis - "Cargo credential process that stores tokens with Windows Credential Manager") - (description - "This package provides a Cargo credential process that stores tokens with -Windows Credential Manager.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=advanced_feature_configuration" + "--skip=all_the_fields" + "--skip=basic_workspace_root_package_exists" + "--skip=current_dir") + #:cargo-inputs (("rust-camino" ,rust-camino-1) + ("rust-cargo-platform" ,rust-cargo-platform-0.1) + ("rust-derive-builder" ,rust-derive-builder-0.12) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-cargo-metadata-0.15 (package + (inherit rust-cargo-metadata-0.18) (name "rust-cargo-metadata") - (version "0.15.5") + (version "0.15.4") (source (origin (method url-fetch) (uri (crate-uri "cargo_metadata" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1lsmvfznc6vlizxvjm5rvi8m6iyj0ldjhbh80h6bymdp08vl969g")))) - (build-system cargo-build-system) + (base32 "0fm767r349p5rh50k21g8w2hpcg2970kjx0ff517mz163wzj9r7f")))) (arguments - `(#:tests? #f ; Not all tests included. + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=advanced_feature_configuration" + "--skip=all_the_fields" + "--skip=basic_workspace_root_package_exists" + "--skip=current_dir") #:cargo-inputs (("rust-camino" ,rust-camino-1) ("rust-cargo-platform" ,rust-cargo-platform-0.1) - ("rust-derive-builder" ,rust-derive-builder-0.12) + ("rust-derive-builder" ,rust-derive-builder-0.11) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/oli-obk/cargo_metadata") - (synopsis "Structured access to the output of `cargo metadata`") - (description - "This package provides structured access to the output of @code{cargo -metadata}.") - (license license:expat))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-cargo-metadata-0.14 (package (inherit rust-cargo-metadata-0.15) (name "rust-cargo-metadata") - (version "0.14.1") + (version "0.14.2") (source (origin (method url-fetch) (uri (crate-uri "cargo_metadata" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "04kfzvmh80pq0bw1cwzlz71wfrign2k7792mc4gi8hs1jkgfcams")))) + (base32 "1yl1y40vby9cas4dlfc44szrbl4m4z3pahv3p6ckdqp8ksfv1jsa")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=advanced_feature_configuration" + "--skip=all_the_fields" + "--skip=current_dir") #:cargo-inputs (("rust-camino" ,rust-camino-1) ("rust-cargo-platform" ,rust-cargo-platform-0.1) @@ -11779,79 +10010,35 @@ metadata}.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-cargo-metadata-0.9 - (package - (inherit rust-cargo-metadata-0.13) - (name "rust-cargo-metadata") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo_metadata" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00pjms89lghvizh4d55lz80hvrih9r55xv9m5wd9vcsgc163gqs6")))) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-semver" ,rust-semver-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-docopt" ,rust-docopt-1) - ("rust-structopt" ,rust-structopt-0.2)))))) - -(define-public rust-cargo-metadata-0.6 +(define-public rust-cargo-lock-9 (package - (inherit rust-cargo-metadata-0.9) - (name "rust-cargo-metadata") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo_metadata" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1givpi2w7iwqqnl87x5yc15zcm5hs6yw490sb6abkfp1h39v9lg5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-error-chain" ,rust-error-chain-0.12) - ("rust-semver" ,rust-semver-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (;("rust-docopt" ,rust-docopt-0.8) - ("rust-clap" ,rust-clap-2)))))) - -(define-public rust-cargo-metadata-0.2 - (package - (inherit rust-cargo-metadata-0.9) - (name "rust-cargo-metadata") - (version "0.2.3") + (name "rust-cargo-lock") + (version "9.0.0") (source (origin (method url-fetch) - (uri (crate-uri "cargo_metadata" version)) + (uri (crate-uri "cargo-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ywd10r8gnfcmpg2cjv99gcwydgrn0syw252qcsgd1118sw5f45y")))) + (base32 "0wmczs13psr8p9mc51w4r4pm900dbpbpipp87knlkd7gg19nf771")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))))) + `(#:cargo-inputs (("rust-gumdrop" ,rust-gumdrop-0.8) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.7) + ("rust-url" ,rust-url-2)))) + (home-page "https://rustsec.org") + (synopsis "@file{Cargo.lock} parser with optional dependency graph analysis") + (description + "This package provides self-contained @file{Cargo.lock} parser with +optional dependency graph analysis.") + (license (list license:asl2.0 license:expat)))) (define-public rust-cargo-lock-8 (package + (inherit rust-cargo-lock-9) (name "rust-cargo-lock") (version "8.0.3") (source (origin @@ -11860,7 +10047,6 @@ metadata}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "15nrkr11dnadmwvzjwn6yv8m20g3xw6yj2cayzgab2ppp3fih5q3")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gumdrop" ,rust-gumdrop-0.8) @@ -11868,13 +10054,7 @@ metadata}.") ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-toml" ,rust-toml-0.5) - ("rust-url" ,rust-url-2)))) - (home-page "https://rustsec.org") - (synopsis "@file{Cargo.lock} parser with optional dependency graph analysis") - (description - "This package provides self-contained @file{Cargo.lock} parser with -optional dependency graph analysis.") - (license (list license:asl2.0 license:expat)))) + ("rust-url" ,rust-url-2)))))) (define-public rust-cargo-lock-7 (package @@ -11898,8 +10078,30 @@ optional dependency graph analysis.") ("rust-toml" ,rust-toml-0.5) ("rust-url" ,rust-url-2)))))) +(define-public rust-cargo-options-0.7 + (package + (name "rust-cargo-options") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-options" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sknbp83h15da5zmkk9q9vgpw9qzwiz2sizkiv9bkrf8jvwipmya")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-clap" ,rust-clap-4)) + #:cargo-development-inputs (("rust-trycmd" ,rust-trycmd-0.14)))) + (home-page "https://github.com/messense/cargo-options") + (synopsis "Reusable common Cargo command line options") + (description "Reusable common Cargo command line options.") + (license license:expat))) + (define-public rust-cargo-options-0.6 (package + (inherit rust-cargo-options-0.7) (name "rust-cargo-options") (version "0.6.0") (source (origin @@ -11909,26 +10111,21 @@ optional dependency graph analysis.") (sha256 (base32 "0m99dz9vpsplf4s955dvfnfrcvdkm7cifwymriyam11bdfm8v3lv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4)) - #:cargo-development-inputs (("rust-trycmd" ,rust-trycmd-0.14)))) - (home-page "https://github.com/messense/cargo-options") - (synopsis "Reusable common Cargo command line options") - (description "Reusable common Cargo command line options.") - (license license:expat))) + #:cargo-development-inputs (("rust-trycmd" ,rust-trycmd-0.14)))))) (define-public rust-cargo-platform-0.1 (package (name "rust-cargo-platform") - (version "0.1.4") + (version "0.1.6") (source (origin (method url-fetch) (uri (crate-uri "cargo-platform" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dkdk4sf0brbd2zgqc6gmv4sh5aqbpv09hi9f5b6cxf98m34q0hj")))) + (base32 "0ga4qa3fx4bidnmix5gl8qclx2mma1a441swlpfsa645kpv8xvff")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -11939,17 +10136,38 @@ optional dependency graph analysis.") supported by Cargo.") (license (list license:expat license:asl2.0)))) +(define-public rust-cargo-toml-0.16 + (package + (name "rust-cargo-toml") + (version "0.16.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo_toml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lxgiwha2kqbk60iq5cvczbnd5xrqa4cj7bqk6k8wf64qsdn5yg3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.8)))) + (home-page "https://lib.rs/cargo_toml") + (synopsis "`Cargo.toml` struct definitions for parsing with Serde") + (description "This package provides `Cargo.toml` struct definitions for +parsing with Serde.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-cargo-util-0.2 (package (name "rust-cargo-util") - (version "0.2.6") + (version "0.2.8") (source (origin (method url-fetch) (uri (crate-uri "cargo-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p94sivg6svbj0sy5k4dpkphr6rbq3mi4ssbzcf1yw2zb1djn13p")))) + (base32 "1yv3s2ycvr7hp5qx5y8gxvgg2lybc2xfm09qfvfksddji8fxsaxv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12077,29 +10295,6 @@ box''.") #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9)))))) -(define-public rust-cast5-0.11 - (package - (name "rust-cast5") - (version "0.11.1") - (source (origin - (method url-fetch) - (uri (crate-uri "cast5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04crg8dj6lxbp3lmdc3filsahxcyvccvhm0gx40g1k5i7mkpvc16")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "CAST5 block cipher") - (description "CAST5 block cipher") - (license (list license:expat license:asl2.0)))) - (define-public rust-castaway-0.2 (package (name "rust-castaway") @@ -12124,30 +10319,6 @@ box''.") types that works on stable Rust.") (license license:expat))) -(define-public rust-cbc-0.1 - (package - (name "rust-cbc") - (version "0.1.2") - (source (origin - (method url-fetch) - (uri (crate-uri "cbc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19l9y9ccv1ffg6876hshd123f2f8v7zbkc4nkckqycxf8fajmd96")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-modes") - (synopsis "Cipher Block Chaining (CBC) block cipher mode of operation") - (description "Cipher Block Chaining (CBC) block cipher mode of operation.") - (license (list license:expat license:asl2.0)))) - (define-public rust-cblas-sys-0.1 (package (name "rust-cblas-sys") @@ -12173,7 +10344,7 @@ types that works on stable Rust.") (define-public rust-cc-1 (package (name "rust-cc") - (version "1.0.79") + (version "1.0.83") (source (origin (method url-fetch) @@ -12181,12 +10352,13 @@ types that works on stable Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07x93b8zbf3xc2dggdd460xlk1wg8lxm6yflwddxj8b15030klsh")))) + "1l643zidlb5iy1dskc5ggqs4wqa29a02f44piczqc8zcnsq4y5zi")))) (build-system cargo-build-system) (arguments `(#:tests? #f #:cargo-inputs - (("rust-jobserver" ,rust-jobserver-0.1)) + (("rust-jobserver" ,rust-jobserver-0.1) + ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/alexcrichton/cc-rs") @@ -12259,71 +10431,6 @@ that need to represent UTF-16 data as 8-bit characters.") #:cargo-development-inputs (("rust-clang-sys" ,rust-clang-sys-0.28)))))) -(define-public rust-cexpr-0.3 - (package - (inherit rust-cexpr-0.4) - (name "rust-cexpr") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "cexpr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07fdfj4ff2974y33yixrb657riq9zl9b9h9lr0h7ridhhvxvbrgw")))) - (arguments - `(#:cargo-inputs - (("rust-nom" ,rust-nom-4)) - #:cargo-development-inputs - (("rust-clang-sys" ,rust-clang-sys-0.28)))))) - -(define-public rust-cexpr-0.2 - (package - (inherit rust-cexpr-0.3) - (name "rust-cexpr") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "cexpr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v1xa3758czmj8h97gh548mr8g0v13ixxvrlm1s79nb7jmgc9aj2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-nom" ,rust-nom-3)) - #:cargo-development-inputs - (("rust-clang-sys" ,rust-clang-sys-0.11)))))) - -(define-public rust-cfb-mode-0.8 - (package - (name "rust-cfb-mode") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "cfb-mode" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c6kd34jk4p52vr0qgn9slj6zdgmc42gfcqr6mqhmy37g138v2vk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-modes") - (synopsis "Cipher Feedback (CFB) block cipher mode of operation") - (description "Cipher Feedback (CFB) block cipher mode of operation") - (license (list license:expat license:asl2.0)))) - (define-public rust-cfg-aliases-0.1 (package (name "rust-cfg-aliases") @@ -12347,14 +10454,14 @@ winded @code{#[cfg()]} checks.") (define-public rust-cfg-expr-0.15 (package (name "rust-cfg-expr") - (version "0.15.3") + (version "0.15.6") (source (origin (method url-fetch) (uri (crate-uri "cfg-expr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0744z7sky6kgchfk2ilchb16bjyz7nk8p8zfn3p953y2xir00p11")))) + "06m4hbpzgjn8m2r8sy5xywrd6ja8d1sjgjwmimwl1610nrbvq031")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12471,80 +10578,6 @@ chain, the first matching branch is the item that gets emitted.") (description "DEPRECATED. Use crossbeam-channel instead.") (license (list license:unlicense license:expat)))) -(define-public rust-chacha20-0.8 - (package - (name "rust-chacha20") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "chacha20" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("version = \">=1, <1.5\"") "version = \"^1\"")))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cipher" ,rust-cipher-0.3) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.3) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/stream-ciphers") - (synopsis "ChaCha20 stream cipher implemented in pure Rust") - (description - "The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits -from the RustCrypto @code{cipher} crate, with optional architecture-specific -hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12, -XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional -@code{rand_core-compatible} RNGs based on those ciphers.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-chacha20poly1305-0.9 - (package - (name "rust-chacha20poly1305") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "chacha20poly1305" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xfgn306nfch4a4wwddha8lz6qpnhng50iy4prxlagg6kfq4d151")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("version = \">=1, <1.5\"") "version = \"^1\"")))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aead" ,rust-aead-0.4) - ("rust-chacha20" ,rust-chacha20-0.8) - ("rust-cipher" ,rust-cipher-0.3) - ("rust-poly1305" ,rust-poly1305-0.7) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-aead" ,rust-aead-0.4)))) - (home-page "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305") - (synopsis - "Pure Rust implementation of ChaCha20Poly1305 Authenticated Encryption") - (description - "Pure Rust implementation of the ChaCha20Poly1305 Authenticated -Encryption with Additional Data Cipher (RFC 8439) with optional -architecture-specific hardware acceleration. Also contains implementations of -the XChaCha20Poly1305 extended nonce variant of ChaCha20Poly1305, and the -reduced-round ChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-chalk-derive-0.75 (package (name "rust-chalk-derive") @@ -12698,14 +10731,14 @@ Encoding Standard.") (define-public rust-chrono-0.4 (package (name "rust-chrono") - (version "0.4.31") + (version "0.4.34") (source (origin (method url-fetch) (uri (crate-uri "chrono" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0f6vg67pipm8cziad2yms6a639pssnvysk1m05dd9crymmdnhb3z")))) + (base32 "12zk0ja924f55va2fs0qj34xaygq46fy92blmc7qkmcj9dj1bh2v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12714,18 +10747,18 @@ Encoding Standard.") ("rust-iana-time-zone" ,rust-iana-time-zone-0.1) ("rust-js-sys" ,rust-js-sys-0.3) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.7) + ("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.48)) + ("rust-windows-targets" ,rust-windows-targets-0.52)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) ("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.51)) + ("rust-windows-bindgen" ,rust-windows-bindgen-0.52)) #:features '("unstable-locales") #:tests? #f)) (home-page "https://github.com/chronotope/chrono") @@ -12736,29 +10769,58 @@ Encoding Standard.") (define-public rust-chrono-humanize-0.2 (package (name "rust-chrono-humanize") - (version "0.2.1") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "chrono-humanize" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jvm6fcs3zvz4kcqkp9q5hjy0i2zc17194nb63ckyn0xa0cw3p9f")))) + (base32 "0fq25fcdqd7s39dx81hq123210q4lpcbjdz82jl2fy6jnkk2g5kr")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)))) (home-page "https://gitlab.com/imp/chrono-humanize-rs") (synopsis "Human-friendly time expressions") (description "Chrono-Humanize provides human-friendly time expressions, similar to -Python arrow.humanize.") +Python @code{arrow.humanize}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-chrono-tz-0.8 + (package + (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)))) + (home-page "https://github.com/chronotope/chrono-tz") + (synopsis "TimeZone implementations for rust-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.6 (package + (inherit rust-chrono-tz-0.8) (name "rust-chrono-tz") (version "0.6.3") (source @@ -12768,7 +10830,6 @@ Python arrow.humanize.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pmv434fhw9pwiqc12pvgaiskrq4v1dh1f238gfsg48r301r5hr9")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -12781,13 +10842,7 @@ Python arrow.humanize.") ("rust-uncased" ,rust-uncased-0.9)) #:cargo-development-inputs (("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") - (description - "Chrono-TZ is a library that provides implementors of the TimeZone trait -for @code{rust-chrono}.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-chrono-tz-0.5 (package @@ -12808,17 +10863,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.0.3 +(define-public rust-chrono-tz-build-0.2 (package (name "rust-chrono-tz-build") - (version "0.0.3") + (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 "031s51dd2vbxdhz7fxk1jpbbvr800w57an14bsq3fd5khwx9ql3g")))) + (base32 "03rmzd69cn7fp0fgkjr5042b3g54s2l941afjm3001ls7kqkjgj3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12834,6 +10889,19 @@ for @code{rust-chrono}.") chrono-tz Rust crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-build-0.0.3 + (package + (inherit rust-chrono-tz-build-0.2) + (name "rust-chrono-tz-build") + (version "0.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "031s51dd2vbxdhz7fxk1jpbbvr800w57an14bsq3fd5khwx9ql3g")))))) + (define-public rust-chumsky-0.9 (package (name "rust-chumsky") @@ -12860,53 +10928,23 @@ chrono-tz Rust crate.") recovery.") (license license:expat))) -(define-public rust-chunked-transfer-1 - (package - (name "rust-chunked-transfer") - (version "1.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chunked_transfer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bkdlsrszfcscw3j6yhs7kj6jbp8id47jjk6h9k58px47na5gy7z")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/frewsxcv/rust-chunked-transfer") - (synopsis "Encoder and decoder for HTTP chunked transfer coding") - (description "This package provides an encoder and decoder for HTTP chunked -transfer coding.") - (license license:asl2.0))) - -(define-public rust-chunked-transfer-0.3 - (package - (inherit rust-chunked-transfer-1) - (name "rust-chunked-transfer") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "chunked_transfer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9")))))) - (define-public rust-ciborium-0.2 (package (name "rust-ciborium") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "ciborium" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13vqkm88kaq8nvxhaj6qsl0gsc16rqsin014fx5902y6iib3ghdh")))) + "09p9gr3jxys51v0fzwsmxym2p7pcz9mhng2xib74lnlfqzv93zgg")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=codec::case_183") + #:cargo-inputs (("rust-ciborium-io" ,rust-ciborium-io-0.2) ("rust-ciborium-ll" ,rust-ciborium-ll-0.2) ("rust-serde" ,rust-serde-1)) @@ -12924,14 +10962,14 @@ transfer coding.") (define-public rust-ciborium-io-0.2 (package (name "rust-ciborium-io") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "ciborium-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0sdkk7l7pqi2nsbm9c6g8im1gb1qdd83l25ja9xwhg07mx9yfv9l")))) + "0mi6ci27lpz3azksxrvgzl9jc4a3dfr20pjx7y2nkcrjalbikyfd")))) (build-system cargo-build-system) (home-page "https://github.com/enarx/ciborium") (synopsis "Simplified Read/Write traits") @@ -12943,14 +10981,14 @@ usage.") (define-public rust-ciborium-ll-0.2 (package (name "rust-ciborium-ll") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "ciborium-ll" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06ygqh33k3hp9r9mma43gf189b6cyq62clk65f4w1q54nni30c11")))) + "0az2vabamfk75m74ylgf6nzqgqgma5yf25bc1ripfg09ri7a5yny")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-hex" ,rust-hex-0.4)) @@ -12962,6 +11000,29 @@ usage.") "This package provides low-level primitives for parsing the CBOR codec.") (license license:asl2.0))) +(define-public rust-cint-0.3 + (package + (name "rust-cint") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cint" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16l9glvaxshbp3awcga3s8cdfv00gb1n2s7ixzxxjwc5yz6qf3ks")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared type `ColorCrate2` + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)))) + (home-page "https://github.com/termhn/cint") + (synopsis + "Stable set of types for color interoperation between crates in Rust") + (description + "This package provides a lean, minimal, and stable set of types for color +interoperation between crates in Rust.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-ci-info-0.3 (package (name "rust-ci-info") @@ -12977,7 +11038,13 @@ usage.") "00pr17g6q6i752acrkycg0hkq3lm0p634anm41g3m6lqg8q83s75")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=ci::ci_test::get_bamboo" + "--skip=ci::ci_test::get_taskcluster_runid" + "--skip=ci::ci_test::get_buildkite" + "--skip=ci::ci_test::get_tfs") + #:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1)))) (home-page "https://github.com/sagiegurari/ci_info") @@ -13080,65 +11147,6 @@ usage.") (description "This package provides a FLAC decoding library.") (license license:asl2.0))) -(define-public rust-cipher-0.4 - (package - (name "rust-cipher") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cipher" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1b9x9agg67xq5nq879z66ni4l08m6m3hqcshk37d4is4ysd3ngvp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-crypto-common" ,rust-crypto-common-0.1) - ("rust-inout" ,rust-inout-0.1) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://docs.rs/cipher/") - (synopsis "Traits for describing block ciphers and stream ciphers") - (description "This package provides traits which define the functionality -of block ciphers and stream ciphers. See RustCrypto/block-ciphers and -RustCrypto/stream-ciphers for algorithm implementations which use these -traits.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-cipher-0.3 - (package - (inherit rust-cipher-0.4) - (name "rust-cipher") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cipher" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby")))) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-generic-array" ,rust-generic-array-0.14)))))) - -(define-public rust-cipher-0.2 - (package - (inherit rust-cipher-0.3) - (name "rust-cipher") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "cipher" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j")))))) - (define-public rust-clang-sys-0.29 (package (inherit rust-clang-sys-1) @@ -13173,64 +11181,26 @@ traits.") (base32 "0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1")))))) -(define-public rust-clang-sys-0.26 - (package - (inherit rust-clang-sys-0.28) - (name "rust-clang-sys") - (version "0.26.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "clang-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1r50dwy5hj5gq07dn0qf8222d07qv0970ymx0j8n9779yayc3w3f")))) - (arguments - `(#:tests? #f ; Needs older clang - #:cargo-inputs - (("rust-glob" ,rust-glob-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.5)))))) - -(define-public rust-clang-sys-0.23 +(define-public rust-clap-cargo-0.12 (package - (inherit rust-clang-sys-0.26) - (name "rust-clang-sys") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "clang-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hjr333izzhs6bic84qwnyzy5xzmvasib8f3zkzj4ln3a97c1xyp")))))) - -(define-public rust-clang-sys-0.11 - (package - (inherit rust-clang-sys-0.26) - (name "rust-clang-sys") - (version "0.11.1") + (name "rust-clap-cargo") + (version "0.12.0") (source (origin (method url-fetch) - (uri (crate-uri "clang-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "clap-cargo" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "17i47skqp1d9svil2m1wspnhz7ci1x0fipia70ns0qffciwiz48r")))) + (base32 "1r2f4ad1vpaljrfbyfsv986qiwmll0iask4sdvwllka658s22grq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.7) - ("rust-clippy" ,rust-clippy-0.0) - ("rust-glob" ,rust-glob-0.2) - ("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.3)))))) + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.17) + ("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-complete-command-0.5 (package @@ -13372,20 +11342,18 @@ how to behave across the three main input sources") (package (inherit rust-clap-derive-4) (name "rust-clap-derive") - (version "3.2.18") + (version "3.2.25") (source (origin (method url-fetch) (uri (crate-uri "clap_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r9az0cl33xx0i9g18l56l3vd5ayjvcflvza2gdf8jwcab78n37a")))) + (base32 "025hh66cyjk5xhhq8s1qw5wkxvrm8hnv5xwwksax7dy8pnw72qxf")))) (arguments - (list #:skip-build? #t - #:cargo-inputs + (list #:cargo-inputs `(("rust-heck" ,rust-heck-0.4) - ("rust-proc-macro-error" - ,rust-proc-macro-error-1) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) @@ -13393,14 +11361,15 @@ how to behave across the three main input sources") (define-public rust-clap-4 (package (name "rust-clap") - (version "4.4.7") + (version "4.4.16") (source (origin (method url-fetch) (uri (crate-uri "clap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yzilqlyf5xid5i7qvk8sqpnbggsqk2ndbfmclsci67cvh05wjdc")))) + (base32 + "0ialpybl8n8ybfikzy5f07d64pfdajls0s00bf4wgkh4q20liraq")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -13424,14 +11393,14 @@ Command Line Argument Parser.") (package (inherit rust-clap-4) (name "rust-clap") - (version "3.2.23") + (version "3.2.25") (source (origin (method url-fetch) (uri (crate-uri "clap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19bkwkj49ha7mlip0gxsqb9xmd3jpr7ghvcx1hkx6icqrd2mqrbi")))) + (base32 "08vi402vfqmfj9f07c4gl6082qxgf4c9x98pbndcnwbgaszq38af")))) (arguments (list #:cargo-test-flags '(list "--release" "--" @@ -13498,14 +11467,14 @@ Command Line Argument Parser.") (define-public rust-clap-builder-4 (package (name "rust-clap-builder") - (version "4.4.7") + (version "4.4.16") (source (origin (method url-fetch) (uri (crate-uri "clap_builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0qvnxjf6csr5v00zpd8yxabf6cna0nfx402x2wkwmrk25aixjzn7")))) + "1fv06ivpzpkhjm4bvxzg3fl4y61mvlf481zms4pksq1iypbq5jsr")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -13536,28 +11505,30 @@ Command Line Argument Parser.") (define-public rust-clap-complete-4 (package (name "rust-clap-complete") - (version "4.3.2") + (version "4.4.8") (source (origin (method url-fetch) (uri (crate-uri "clap_complete" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1khpx0fxmjh46s8354nn507ba4s9kfksiia6ambh9a419hrl7i2z")))) + (base32 "05c2x5jb3qf5klsxm9kcmykwjdzl879z3q1f92ia330xqavxrxza")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) - ("rust-clap-lex" ,rust-clap-lex-0.5) + ("rust-clap-lex" ,rust-clap-lex-0.6) ("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)) #: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)))) (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete") - (synopsis "Generate shell completion scripts for your clap::Command") + (synopsis "Generate shell completion scripts for your @code{clap::Command}") (description "Generate shell completion scripts for your @code{clap::Command}.") (license (list license:expat license:asl2.0)))) @@ -13755,6 +11726,34 @@ stream of tokens.") "This crate provides cross-platform terminal screen clearing.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cli-clipboard-0.4 + (package + (name "rust-cli-clipboard") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cli-clipboard" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g9y1w3ln5wn202mwxwhsilhifwww2p34fan99w5k8ia98fpq204")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-4) + ("rust-objc" ,rust-objc-0.2) + ("rust-objc-foundation" ,rust-objc-foundation-0.1) + ("rust-objc-id" ,rust-objc-id-0.1) + ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.7) + ("rust-x11-clipboard" ,rust-x11-clipboard-0.7)))) + (home-page "https://github.com/actuallyallie/cli-clipboard") + (synopsis + "Library for getting and setting the contents of the OS-level clipboard") + (description + "@code{cli-clipboard} is a library for getting and setting the contents of +the OS-level clipboard.") + (license (list license:expat license:asl2.0)))) + (define-public rust-clicolors-control-1 (package (name "rust-clicolors-control") @@ -13781,48 +11780,6 @@ stream of tokens.") colorization.") (license license:expat))) -(define-public rust-clipboard-win-4 - (package - (name "rust-clipboard-win") - (version "4.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "clipboard-win" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1a1cpp4yyizz41bkij5x85p220xxrlja6l6wwj9wkvwj364a2kjf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-error-code" ,rust-error-code-2) - ("rust-str-buf" ,rust-str-buf-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/DoumanAsh/clipboard-win") - (synopsis "Simple way to interact with Windows clipboard") - (description - "This package provides simple way to interact with Windows clipboard.") - (license license:boost1.0))) - -(define-public rust-clipboard-win-3 - (package - (inherit rust-clipboard-win-4) - (name "rust-clipboard-win") - (version "3.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "clipboard-win" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hh3npqfa1lfn62fwvkmjlpfnizq343a994b898ffsvb100mxpwz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-clippy-0.0 (package (name "rust-clippy") @@ -13849,92 +11806,37 @@ colorization.") pitfalls in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-clippy-0.0.153 - (package - (inherit rust-clippy-0.0) - (name "rust-clippy") - (version "0.0.153") - (source - (origin - (method url-fetch) - (uri (crate-uri "clippy" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b5c96303nc6ngphazjafafgjjfawfbsjrkr2c8m2xvg7finxf47")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cargo-metadata" ,rust-cargo-metadata-0.2) - ("rust-clippy-lints" ,rust-clippy-lints-0.0.153)) - #:cargo-development-inputs - (("rust-clippy-mini-macro-test" ,rust-clippy-mini-macro-test-0.1) - ("rust-compiletest-rs" ,rust-compiletest-rs-0.2) - ("rust-duct" ,rust-duct-0.8) - ("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-regex" ,rust-regex-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1)))))) - -(define-public rust-clippy-lints-0.0.153 - (package - (name "rust-clippy-lints") - (version "0.0.153") - (source - (origin - (method url-fetch) - (uri (crate-uri "clippy_lints" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "021w4cv2qwczkk0w4d6zy52yx6afi4yz5y29wq6xmb0wqwzp55ca")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-itertools" ,rust-itertools-0.6) - ("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-matches" ,rust-matches-0.1) - ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.0.15) - ("rust-quine-mc-cluskey" ,rust-quine-mc-cluskey-0.2) - ("rust-regex-syntax" ,rust-regex-syntax-0.4) - ("rust-semver" ,rust-semver-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-toml" ,rust-toml-0.4) - ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))) - (home-page "https://github.com/rust-lang-nursery/rust-clippy") - (synopsis "helpful lints to avoid common pitfalls in Rust") - (description - "This package provides a bunch of helpful lints to avoid common pitfalls -in Rust") - (license license:mpl2.0))) - -(define-public rust-clippy-mini-macro-test-0.1 +(define-public rust-clircle-0.4 (package - (name "rust-clippy-mini-macro-test") - (version "0.1.0") + (name "rust-clircle") + (version "0.4.0") (source (origin (method url-fetch) - (uri (crate-uri "clippy-mini-macro-test" version)) + (uri (crate-uri "clircle" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f1q09az4xk4aqnp8g1m6kf4hif75gr7rwzhh4yw7g1gqk94jsgq")))) + (base32 "0056l1bf2zmd7xs13xp8gxw9j9dngw4im0m8ijyifkrmsnz7rs68")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t)) - (home-page "https://github.com/rust-lang-nursery/rust-clippy") - (synopsis "Macro to test clippy's procedural macro checks") + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-nix" ,rust-nix-0.24) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/niklasmohrin/clircle") + (synopsis "Detect IO circles in your CLI apps arguments") (description - "This package provides a macro to test clippy's procedural macro -checks.") - (license license:mpl2.0))) + "Clircle provides a cross-platform API to detect read or write cycles +from your user-supplied arguments. You can get the important identifiers of +a file (from a path) and for all three stdio streams, if they are piped from +or to a file as well.") + (license (list license:expat license:asl2.0)))) (define-public rust-clircle-0.3 (package + (inherit rust-clircle-0.4) (name "rust-clircle") (version "0.3.0") (source @@ -13944,22 +11846,37 @@ checks.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "15p36klnsgjimfswi0mjc7wsh4b662v7gbfinh56ipk3bacbv2z6")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/niklasmohrin/clircle") - (synopsis "Detect IO circles in your CLI apps arguments") + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-nix" ,rust-nix-0.19) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-close-fds-0.3 + (package + (name "rust-close-fds") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "close_fds" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vd2i1gkvfcgdlzgrkgivhx3ky0zs98g8q3mwmwrxmg97pridi1v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/cptpcrd/close_fds") + (synopsis "Library that makes it easy to close all open file descriptors") (description - "Clircle provides a cross-platform API to detect read or write cycles -from your user-supplied arguments. You can get the important identifiers of -a file (from a path) and for all three stdio streams, if they are piped from -or to a file as well.") - (license (list license:expat license:asl2.0)))) + "This package provides a library that makes it easy to close all open file +descriptors.") + (license license:expat))) (define-public rust-cloudabi-0.1 (package @@ -14047,40 +11964,10 @@ contains all syscalls and related types.") weighted semantic.") (license license:expat))) -(define-public rust-cmac-0.7 - (package - (name "rust-cmac") - (version "0.7.2") - (source (origin - (method url-fetch) - (uri (crate-uri "cmac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1an1vcala24grlyhvk71ikxk2kmgcbal9kgrzzpjcl9z7i74ahw5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-dbl" ,rust-dbl-0.3) - ("rust-digest" ,rust-digest-0.10)) - #:cargo-development-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-des" ,rust-des-0.8) - ("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-kuznyechik" ,rust-kuznyechik-0.8) - ("rust-magma" ,rust-magma-0.8)))) - (home-page "https://github.com/RustCrypto/MACs") - (synopsis "Generic implementation of Cipher-based Message Authentication Code") - (description "This package provides a pure Rust implementation of the -Cipher-based Message Authentication Code.") - (license (list license:expat license:asl2.0)))) - (define-public rust-cmake-0.1 (package (name "rust-cmake") - (version "0.1.44") + (version "0.1.50") (source (origin (method url-fetch) @@ -14088,10 +11975,11 @@ Cipher-based Message Authentication Code.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fv346ipxmvff6qrnh78rild0s8k72ilfjkdsrk869562y62cmhf")))) + "0c3i3548mqbizpgbff94jjgkcd2p6q9fxjjh89zzf5dqcfaph753")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (native-inputs (list cmake-minimal)) (home-page "https://github.com/alexcrichton/cmake-rs") (synopsis "Rust build dependency for running cmake") (description @@ -14101,149 +11989,6 @@ CMAKE environmental variable is set.") (license (list license:asl2.0 license:expat)))) -(define-public rust-cocoa-0.24 - (package - (name "rust-cocoa") - (version "0.24.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cocoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cp8hsajmi7gini22bmlsf9dac7cap7x1k169vxhwlr3j8p90qvg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.1) - ("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-objc" ,rust-objc-0.2)))) - (home-page "https://github.com/servo/core-foundation-rs") - (synopsis "Bindings to Cocoa for macOS") - (description "This package provides bindings to Cocoa for macOS.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-cocoa-0.23 - (package - (inherit rust-cocoa-0.24) - (name "rust-cocoa") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cocoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cj4c2axmg7aiid2786mpzj7wxpd582biv7c7yimqfnggp002hn5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.1) - ("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-objc" ,rust-objc-0.2)))))) - -(define-public rust-cocoa-0.22 - (package - (inherit rust-cocoa-0.23) - (name "rust-cocoa") - (version "0.22.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cocoa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19qyyv01yzrm6aahn6cdxvb4jhl6v4fj0cgqkxmq38i7hq3dqzv6")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.21) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-objc" ,rust-objc-0.2)))))) - -(define-public rust-cocoa-0.19 - (package - (inherit rust-cocoa-0.22) - (name "rust-cocoa") - (version "0.19.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cocoa" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0034vahbfv574q4b63rj241b8rnka5cjiqsqc6wiggnin9l7g7zj")))) - (arguments - `(#:skip-build? #t ; only for macOS - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.1) - ("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-graphics" ,rust-core-graphics-0.17) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-objc" ,rust-objc-0.2)))))) - -(define-public rust-cocoa-0.18 - (package - (inherit rust-cocoa-0.19) - (name "rust-cocoa") - (version "0.18.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "cocoa" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m6fgdr4d2fp8jhkqvwr23hrqqqjv72g0j9vdgijc58k05j9j1hp")))))) - -(define-public rust-cocoa-foundation-0.1 - (package - (name "rust-cocoa-foundation") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cocoa-foundation" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0633ipbd28z35rsdmsl505f1aasrjsrrnirs826aa32nbnv4kpks")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.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.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-objc" ,rust-objc-0.2)))) - (home-page "https://github.com/servo/core-foundation-rs") - (synopsis "Bindings to Cocoa Foundation for macOS") - (description - "This package provides bindings to Cocoa Foundation for macOS.") - (license (list license:expat license:asl2.0)))) - (define-public rust-codegenrs-2 (package (name "rust-codegenrs") @@ -14267,29 +12012,6 @@ CMAKE environmental variable is set.") (description "Moving code-gen our of build.rs") (license (list license:expat license:asl2.0)))) -(define-public rust-codepage-0.1 - (package - (name "rust-codepage") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "codepage" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sdxp0f8dy2rscln646326lny9i0jm7ncgyp4yncdwndq0i943lb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-encoding-rs" ,rust-encoding-rs-0.8)))) - (home-page "https://docs.rs/codepage/") - (synopsis "Mapping between Windows code page and @code{encoding_rs}") - (description - "This package provides mapping between Windows code page numbers and -@code{encoding_rs} character encodings.") - (license (list license:expat license:asl2.0)))) - (define-public rust-codespan-reporting-0.11 (package (name "rust-codespan-reporting") @@ -14353,6 +12075,48 @@ diagnostics easy and relatively painless for everyone!") ("rust-structopt" ,rust-structopt-0.3) ("rust-unindent" ,rust-unindent-0.1)))))) +(define-public rust-codspeed-2 + (package + (name "rust-codspeed") + (version "2.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "codspeed" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16s95jrih19llp4m8rgmymvan0misfcnzc8gb57ynm35rd6spd0f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-colored" ,rust-colored-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://codspeed.io") + (synopsis "Core instrumentation library for CodSpeed") + (description "Core instrumentation library for @code{CodSpeed}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-codspeed-bencher-compat-2 + (package + (name "rust-codspeed-bencher-compat") + (version "2.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "codspeed-bencher-compat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17nmj0yzyyv6450yshs1f2qa0n7d9wwzkcc5ixjkiy63dww2ivpy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-codspeed" ,rust-codspeed-2)))) + (home-page "https://codspeed.io") + (synopsis "Bencher compatibility layer for CodSpeed") + (description "Bencher compatibility layer for @code{CodSpeed}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-coitrees-0.2 (package (name "rust-coitrees") @@ -14532,33 +12296,24 @@ based on color-backtrace.") (define-public rust-colored-2 (package (name "rust-colored") - (version "2.0.0") + (version "2.1.0") (source (origin (method url-fetch) (uri (crate-uri "colored" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk")))) + "1f4h9p64snrnz4x432iza15p4diqjcgpmpvhi956d6r1rq61bwnb")))) (build-system cargo-build-system) (arguments `(#:tests? #f #:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-lazy-static" ,rust-lazy-static-1)) + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-rspec" ,rust-rspec-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("1.0.0-beta.3") ,(package-version rust-rspec-1))) - #t))))) + ("rust-rspec" ,rust-rspec-1.0.0-beta.3)))) (home-page "https://github.com/mackwic/colored") (synopsis "Add colors in your terminal") (description @@ -14569,16 +12324,21 @@ based on color-backtrace.") (package (inherit rust-colored-2) (name "rust-colored") - (version "1.9.3") + (version "1.9.4") (source (origin (method url-fetch) (uri (crate-uri "colored" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl")))))) + (base32 "0mc302pm2x0vpmc3ni35w0666858pmqlqzbipyz42cw2j4f78pss")))) + (arguments + `(#:tests? #f ; Tests expect a real terminal. + #:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-rspec" ,rust-rspec-1.0.0-beta.3)))))) (define-public rust-combine-4 (package @@ -14683,8 +12443,41 @@ combinator.") and 1.0.") (license (list license:expat license:asl2.0)))) +(define-public rust-comfy-table-7 + (package + (name "rust-comfy-table") + (version "7.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "comfy-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11i6sm6vznv9982hqpbrba43vfd7vv7zqzlywdc4qykvdhyh8r3w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-console" ,rust-console-0.15) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rstest" ,rust-rstest-0.18)))) + (home-page "https://github.com/nukesor/comfy-table") + (synopsis "Library for building tables with automatic content wrapping") + (description + "Comfy-tables is an utility for building tables with automatic content +wrapping.") + (license license:expat))) + (define-public rust-comfy-table-4 (package + (inherit rust-comfy-table-7) (name "rust-comfy-table") (version "4.1.1") (source @@ -14694,20 +12487,13 @@ and 1.0.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1wzk894p2s725cpdip5968ydb50zczsl34040j6zs8klhqz5ms8i")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.20) ("rust-strum" ,rust-strum-0.21) ("rust-strum-macros" ,rust-strum-macros-0.21) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/nukesor/comfy-table") - (synopsis "Library for building tables with automatic content wrapping") - (description - "Comfy-tables is an utility for building tables with automatic content -wrapping.") - (license license:expat))) + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-comfy-table-1 (package @@ -14728,57 +12514,6 @@ wrapping.") ("rust-strum" ,rust-strum-0.20) ("rust-strum-macros" ,rust-strum-macros-0.20)))))) -(define-public rust-commoncrypto-sys-0.2 - (package - (name "rust-commoncrypto-sys") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "commoncrypto-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ql381ziqh594a7z6m9bvs583lkrhbynk02pmbgp7aj7czs39v8z")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ;requires the Mac OS library - #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/malept/rust-commoncrypto") - (synopsis "FFI bindings to Mac OS X's CommonCrypto library") - (description "This package is a component of the @code{commoncrypto} -library which provides Rust FFI bindings and idiomatic wrappers for Mac OS X's -CommonCrypto library.") - (license license:expat))) - -(define-public rust-commoncrypto-0.2 - (package - (name "rust-commoncrypto") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "commoncrypto" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01whnqcziclsj1gwavvqhrw2r5cmwh00j2fbc56iwnm2ddcahmnh")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) - ("rust-commoncrypto-sys" ,rust-commoncrypto-sys-0.2)))) - (home-page "https://github.com/malept/rust-commoncrypto") - (synopsis "Idiomatic Rust wrappers for Mac OS X's CommonCrypto library") - (description "The @{commoncrypto} library provides Rust FFI bindings and -idiomatic wrappers for Mac OS X's CommonCrypto library.") - (license license:expat))) - (define-public rust-common-path-1 (package (name "rust-common-path") @@ -14866,30 +12601,6 @@ stores strings on the stack, when possible.") minutes, seconds.") (license license:bsd-3))) -(define-public rust-conpty-0.5 - (package - (name "rust-conpty") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "conpty" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1nmkhiysnssvbi4kqaq8cybb0ffngbl64kfpk8s86ihdg940caxp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Specifically for Windows. - #:cargo-inputs - (("rust-windows" ,rust-windows-0.44)) - #:cargo-development-inputs - (("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)))) - (home-page "https://github.com/zhiburt/conpty") - (synopsis "Library which provides an interface for ConPTY") - (description - "This package provides a library which provides an interface for @code{ConPTY}.") - (license license:expat))) - (define-public rust-const-cstr-0.3 (package (name "rust-const-cstr") @@ -14925,6 +12636,54 @@ literals.") (description "Assertions for const functions.") (license license:expat))) +(define-public rust-const-format-0.2 + (package + (name "rust-const-format") + (version "0.2.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--features=__test") + #:cargo-inputs + (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2) + ("rust-konst" ,rust-konst-0.2)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-fastrand" ,rust-fastrand-1)))) + (home-page "https://github.com/rodrimati1992/const_format_crates/") + (synopsis "Compile-time string formatting") + (description "This package provides compile-time string formatting.") + (license license:zlib))) + +(define-public rust-const-format-proc-macros-0.2 + (package + (name "rust-const-format-proc-macros") + (version "0.2.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_format_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7")))) + (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-unicode-xid" ,rust-unicode-xid-0.2)) + #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1)))) + (home-page "https://github.com/rodrimati1992/const_format_crates/") + (synopsis "Implementation detail of the @code{const_format} crate") + (description "Implementation detail of the @code{const_format} crate.") + (license license:zlib))) + ;; This package requires features which are unavailable ;; on the stable releases of Rust. (define-public rust-compiler-builtins-0.1 @@ -15016,20 +12775,17 @@ Rust compiler.") (package (inherit rust-compiletest-rs-0.10) (name "rust-compiletest-rs") - (version "0.3.22") + (version "0.3.26") (source (origin (method url-fetch) (uri (crate-uri "compiletest_rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1di7kl2zv7jcwqq343aafqhn31gfa600zh4mi6cp10mn6a9wq3pl")))) + (base32 "0ipskgfs86cd3gy6hqb0qm2m0jdngqvh4s3rc1k8pbgb0ib9gn6p")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-diff" ,rust-diff-0.1) ("rust-filetime" ,rust-filetime-0.2) ("rust-getopts" ,rust-getopts-0.2) @@ -15042,7 +12798,7 @@ Rust compiler.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-tester" ,rust-tester-0.5) + ("rust-tester" ,rust-tester-0.6) ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-compiletest-rs-0.2 @@ -15066,8 +12822,84 @@ Rust compiler.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-completest-0.4 + (package + (name "rust-completest") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "completest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hag3094ybxv5m1fcj6mgzg36c6vrywszq8cgynk10cgr90y0ac2")))) + (build-system cargo-build-system) + (home-page "https://github.com/assert-rs/completest") + (synopsis "Run completions for your program") + (description + "This package provides running completions for your program.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-completest-pty-0.5 + (package + (name "rust-completest-pty") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "completest-pty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11fib7yly355yjkzjp8bj5rqvv83xlm7mrkbc6bqyq3zw9r14v9a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-completest" ,rust-completest-0.4) + ("rust-ptyprocess" ,rust-ptyprocess-0.4) + ("rust-vt100" ,rust-vt100-0.15)))) + (home-page "https://github.com/assert-rs/completest") + (synopsis "Run completions for your program") + (description + "This package provides running completions for your program.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-comrak-0.18 + (package + (name "rust-comrak") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "comrak" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "157838s5bpjihg4a563hpbqr6a6080570g25pqi6026abdlsaaj8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-clap" ,rust-clap-4) + ("rust-emojis" ,rust-emojis-0.5) + ("rust-entities" ,rust-entities-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-slug" ,rust-slug-0.1) + ("rust-syntect" ,rust-syntect-5) + ("rust-typed-arena" ,rust-typed-arena-2) + ("rust-unicode-categories" ,rust-unicode-categories-0.1) + ("rust-xdg" ,rust-xdg-2)) + #:cargo-development-inputs (("rust-ntest" ,rust-ntest-0.9) + ("rust-propfuzz" ,rust-propfuzz-0.0.1)))) + (home-page "https://hrzn.ee/kivikakk/comrak") + (synopsis "GitHub flavoured Markdown parser and formatter") + (description + "This package provides a 100% CommonMark-compatible GitHub flavoured +Markdown parser and formatter written in Rust.") + (license license:bsd-2))) + (define-public rust-comrak-0.12 (package + (inherit rust-comrak-0.18) (name "rust-comrak") (version "0.12.1") (source (origin @@ -15077,7 +12909,6 @@ Rust compiler.") (sha256 (base32 "0x2f1qz64i3ni7sk87whc3bvp27ps1wxn0ia47qlvsrk39p4fg7z")))) - (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-clap" ,rust-clap-2) @@ -15094,13 +12925,7 @@ Rust compiler.") ("rust-xdg" ,rust-xdg-2)) #:cargo-development-inputs `(("rust-propfuzz" ,rust-propfuzz-0.0.1) - ("rust-timebomb" ,rust-timebomb-0.1)))) - (home-page "https://github.com/kivikakk/comrak") - (synopsis "GitHub flavoured Markdown parser and formatter") - (description - "This package provides a 100% CommonMark-compatible GitHub -flavoured Markdown parser and formatter written in Rust.") - (license license:bsd-2))) + ("rust-timebomb" ,rust-timebomb-0.1)))))) (define-public rust-concat-idents-1 (package @@ -15193,24 +13018,59 @@ everywhere.") ("rust-bitflags" ,rust-bitflags-1) ("rust-concolor-query" ,rust-concolor-query-0.0.4)))))) -(define-public rust-concolor-query-0.1 +(define-public rust-concolor-override-1 + (package + (name "rust-concolor-override") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "concolor-override" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "140yb63zrbdvxvy3zaqvldgrjh5rm9qijy14w0imk7g3i1995920")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-colorchoice" ,rust-colorchoice-1)))) + (home-page "https://github.com/rust-cli/concolor") + (synopsis "Global override of color control") + (description "Global override of color control.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-concolor-query-0.3 (package (name "rust-concolor-query") - (version "0.1.0") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "concolor-query" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05ykng7pqhm7840yh07r27p90flwrrmwlk32wxbgdp6mncs0gac2")))) + (base32 "1ks4g514kx31nnv3bxa7cj5xgg6vwkljn8a001njxjnpqd91vlc8")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.45)))) (home-page "https://github.com/rust-cli/concolor") (synopsis "Look up colored console capabilities") (description "@code{concolor-query} can be used to query a terminal capabilities, for example to find out about its colored console abilities.") (license (list license:expat license:asl2.0)))) +(define-public rust-concolor-query-0.1 + (package + (inherit rust-concolor-query-0.3) + (name "rust-concolor-query") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "concolor-query" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05ykng7pqhm7840yh07r27p90flwrrmwlk32wxbgdp6mncs0gac2")))) + (arguments '()))) + (define-public rust-concolor-query-0.0.5 (package (inherit rust-concolor-query-0.1) @@ -15241,24 +13101,24 @@ capabilities, for example to find out about its colored console abilities.") (define-public rust-concurrent-queue-2 (package (name "rust-concurrent-queue") - (version "2.2.0") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "concurrent-queue" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0z0bnpgcblhrms6gph7x78yplj3qmlr5mvl38v9641zsxiqngv32")))) + "0qvk23ynj311adb4z7v89wk3bs65blps4n24q8rgl23vjk6lhq6i")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-loom" ,rust-loom-0.5) + ("rust-loom" ,rust-loom-0.7) ("rust-portable-atomic" ,rust-portable-atomic-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) ("rust-easy-parallel" ,rust-easy-parallel-3) - ("rust-fastrand" ,rust-fastrand-1)))) + ("rust-fastrand" ,rust-fastrand-2)))) (home-page "https://github.com/smol-rs/concurrent-queue") (synopsis "Concurrent multi-producer multi-consumer queue") (description @@ -15270,14 +13130,14 @@ queue.") (package (inherit rust-concurrent-queue-2) (name "rust-concurrent-queue") - (version "1.2.2") + (version "1.2.4") (source (origin (method url-fetch) (uri (crate-uri "concurrent-queue" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18w6hblcjjk9d0my3657ra1zdj79gwfjmzvc0b3985g01dahgv9h")))) + (base32 "176v15an6f686c9m5br57al23d7z3xzm3542walnwsdm9aj80ixg")))) (arguments `(#:cargo-inputs (("rust-cache-padded" ,rust-cache-padded-1)) @@ -15368,19 +13228,19 @@ configuration files.") (define-public rust-configparser-3 (package (name "rust-configparser") - (version "3.0.2") + (version "3.0.3") (source (origin (method url-fetch) (uri (crate-uri "configparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ypq3phwrlx2c7agdj1rlivkhsk9k795jb30j58azvw7lp8xjn2l")))) + "0dwjni8z9v26ysn7yqw3ickvqbrwjd0cv1ag20manlia990nxrg0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-indexmap" ,rust-indexmap-1)))) + ("rust-indexmap" ,rust-indexmap-2)))) (home-page "https://github.com/QEDK/configparser-rs") (synopsis "Simple parsing utility for INI and ini-style syntax") (description @@ -15586,8 +13446,32 @@ this to write Rust programs which can be customized by end users easily.") that logs panics to @code{console.error}.") (license (list license:expat license:asl2.0)))) +(define-public rust-console-log-1 + (package + (name "rust-console-log") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "console_log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03rwzvpg384y68j6hxm4h1bhzi7xcc5jdari8hxlvgzdwi0fv2my")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/iamcodemaker/console_log") + (synopsis "Route Rust log messages to the browser's console") + (description + "This package provides a logging facility that routes Rust log messages to +the browser's console.") + (license (list license:expat license:asl2.0)))) + (define-public rust-console-log-0.2 (package + (inherit rust-console-log-1) (name "rust-console-log") (version "0.2.0") (source (origin @@ -15597,18 +13481,11 @@ that logs panics to @code{console.error}.") (sha256 (base32 "150li8pznpfpn4q0f7g9jwq2hnd5wik0w8378zaa1wffc5ckf6jh")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/iamcodemaker/console_log") - (synopsis "Route Rust log messages to the browser's console") - (description - "This package provides a logging facility that routes Rust log messages to -the browser's console.") - (license (list license:expat license:asl2.0)))) + ("rust-web-sys" ,rust-web-sys-0.3)))))) (define-public rust-console-log-0.1 (package @@ -15678,6 +13555,21 @@ encoding/decoding as well as heapless no_std (i.e., embedded) support.") ;; The user can choose either license. (license (list license:asl2.0 license:expat)))) +(define-public rust-const-oid-0.7 + (package + (inherit rust-const-oid-0.9) + (name "rust-const-oid") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-oid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wwl3cncd8p2fa54vzmghflh4nh9ml02xfbv38nf5ziifh28riz4")))) + (arguments + `(#:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + (define-public rust-const-oid-0.6 (package (inherit rust-const-oid-0.9) @@ -15695,19 +13587,18 @@ encoding/decoding as well as heapless no_std (i.e., embedded) support.") (define-public rust-const-random-0.1 (package (name "rust-const-random") - (version "0.1.13") + (version "0.1.17") (source (origin (method url-fetch) (uri (crate-uri "const-random" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i3pmhmmcdw3rr1pv1p9yhm4danm5r156cpy7w30pa0s05fxk47m")))) + (base32 "16i9r34f5lmvrmvm5nsssywyjbg3yrqf2hnhrw5h44n6qb4idbss")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-const-random-macro" ,rust-const-random-macro-0.1) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) + (("rust-const-random-macro" ,rust-const-random-macro-0.1)))) (home-page "https://github.com/tkaitchuck/constrandom") (synopsis "Compile time random number generation") (description "This package provides compile time random number @@ -15717,20 +13608,19 @@ generation.") (define-public rust-const-random-macro-0.1 (package (name "rust-const-random-macro") - (version "0.1.13") + (version "0.1.16") (source (origin (method url-fetch) (uri (crate-uri "const-random-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h7vvskw1pw5x44sbl74gsi8ydvrj5kaixpjqzxvz8h0s0knwpv1")))) + (base32 "03iram4ijjjq9j5a7hbnmdngj8935wbsd0f5bm8yw2hblbr3kn7r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-once-cell" ,rust-once-cell-1) ("rust-tiny-keccak" ,rust-tiny-keccak-2)))) (home-page "https://github.com/tkaitchuck/constrandom") (synopsis "Procedural macro used by const-random") @@ -15917,8 +13807,41 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.") #:cargo-inputs (("rust-rand" ,rust-rand-0.7)))))) +(define-public rust-cookie-0.18 + (package + (name "rust-cookie") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y2ywf9isq0dwpj7m7jq7r1g9cs3xr2i6qipw5v030hj2kv1rn9w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-base64" ,rust-base64-0.21) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-time" ,rust-time-0.3) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://github.com/SergioBenitez/cookie-rs") + (synopsis + "Crate for parsing HTTP cookie headers and managing a cookie jar") + (description + "Parse HTTP cookie headers and manage a cookie jar with this crate. +It supports signed and private (encrypted + signed) jars.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + (define-public rust-cookie-0.17 (package + (inherit rust-cookie-0.18) (name "rust-cookie") (version "0.17.0") (source (origin @@ -15928,7 +13851,6 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.") (sha256 (base32 "096c52jg9iq4lfcps2psncswv33fc30mmnaa2sbzzcfcw71kgyvy")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aes-gcm" ,rust-aes-gcm-0.10) @@ -15940,15 +13862,7 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.") ("rust-sha2" ,rust-sha2-0.10) ("rust-subtle" ,rust-subtle-2) ("rust-time" ,rust-time-0.3) - ("rust-version-check" ,rust-version-check-0.9)))) - (home-page "https://github.com/SergioBenitez/cookie-rs") - (synopsis - "Crate for parsing HTTP cookie headers and managing a cookie jar") - (description - "Parse HTTP cookie headers and manage a cookie jar with this crate. -It supports signed and private (encrypted + signed) jars.") - ;; The user can choose either license. - (license (list license:expat license:asl2.0)))) + ("rust-version-check" ,rust-version-check-0.9)))))) (define-public rust-cookie-0.16 (package @@ -16136,26 +14050,25 @@ similar to the nom parser combinators library.") the standard library.") (license (list license:expat license:asl2.0)))) -(define-public rust-copypasta-0.8 +(define-public rust-copypasta-0.10 (package (name "rust-copypasta") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "copypasta" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wmidz38581b1xzpzf466pdaw3xam7nlsn0klndfr973brkwhgqk")))) + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "copypasta" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bk5dby9jyn20d628l0cqjij738q1nqdqp8378f9x7mz951kcdbd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-clipboard-win" ,rust-clipboard-win-3) - ("rust-objc" ,rust-objc-0.2) - ("rust-objc-foundation" ,rust-objc-foundation-0.1) - ("rust-objc-id" ,rust-objc-id-0.1) - ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6) - ("rust-x11-clipboard" ,rust-x11-clipboard-0.7)))) + `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-3) + ("rust-objc" ,rust-objc-0.2) + ("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)))) (home-page "https://github.com/alacritty/copypasta") (synopsis "Get and set the contents of the OS-level clipboard") (description @@ -16163,95 +14076,47 @@ the standard library.") contents of the OS-level clipboard.") (license (list license:expat license:asl2.0)))) -(define-public rust-copypasta-0.7 +(define-public rust-copypasta-0.8 (package - (inherit rust-copypasta-0.8) + (inherit rust-copypasta-0.10) (name "rust-copypasta") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "copypasta" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02zz6yndszmzr5yjhn11g1hsj0232jbzl8gch6mxksw3xngxf8s4")))) + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "copypasta" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wmidz38581b1xzpzf466pdaw3xam7nlsn0klndfr973brkwhgqk")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-3) ("rust-objc" ,rust-objc-0.2) ("rust-objc-foundation" ,rust-objc-foundation-0.1) ("rust-objc-id" ,rust-objc-id-0.1) ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6) - ("rust-x11-clipboard" ,rust-x11-clipboard-0.5)))))) + ("rust-x11-clipboard" ,rust-x11-clipboard-0.7)))))) (define-public rust-cordic-0.1 (package (name "rust-cordic") - (version "0.1.4") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "cordic" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "13zvqn6c8d8lp18p9ik10q100wfsyv2m2n4fca16laq3yw7r231m")))) + (base32 "1l0jfhm6kynv61bp9ncmi25bdib40d9pfcajl1gwkidqq1va3l0f")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; rust-fixed fails to build - #:cargo-inputs (("rust-fixed" ,rust-fixed-1)))) + `(#:cargo-inputs (("rust-fixed" ,rust-fixed-1)))) (home-page "https://github.com/sebcrozet/cordic") (synopsis "Special functions for fixed-point numbers using the CORDIC method") (description "This package provides special functions for fixed-point numbers using the CORDIC method.") (license license:bsd-3))) -(define-public rust-coreaudio-rs-0.10 - (package - (name "rust-coreaudio-rs") - (version "0.10.0") - (source (origin - (method url-fetch) - (uri (crate-uri "coreaudio-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "125d4zr3n363ybga4629p41ym7iqjfb2alnwrc1zj7zyxch4p28i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Only builds for macos or ios. - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-coreaudio-sys" ,rust-coreaudio-sys-0.2)))) - (home-page "https://github.com/RustAudio/coreaudio-rs") - (synopsis "Rust interface for Apple's CoreAudio API") - (description - "This package provides a rust interface for Apple's CoreAudio API.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-coreaudio-sys-0.2 - (package - (name "rust-coreaudio-sys") - (version "0.2.12") - (source (origin - (method url-fetch) - (uri (crate-uri "coreaudio-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "091b4sq3kl8n4dy86l4mxq9vjzsn8w8b51xzfcpxwjkciqjv4d7h")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Only builds for macos or ios. - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.64)))) - (home-page "https://github.com/RustAudio/coreaudio-sys") - (synopsis - "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen") - (description - "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.") - (license license:expat))) - (define-public rust-core-extensions-1 (package (name "rust-core-extensions") @@ -16359,8 +14224,37 @@ in @code{no_std}. Alloc support is optional.") (base32 "1wzzy5iazdk5caadxvjfwrd312rbg7a55a1zpmsdrhk3kfpa77r3")))) (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2)))))) +(define-public rust-cookie-store-0.20 + (package + (name "rust-cookie-store") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie_store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xkc7fl1jik9ki13j9pjgyw51d0qd613srz1lv1qb0blpjmn2x1q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cookie" ,rust-cookie-0.17) + ("rust-idna" ,rust-idna-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-log" ,rust-log-0.4) + ("rust-publicsuffix" ,rust-publicsuffix-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/pfernie/cookie_store") + (synopsis "Cookie storage and retrieval") + (description "This package implements cookie storage and retrieval.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cookie-store-0.19 (package + (inherit rust-cookie-store-0.20) (name "rust-cookie-store") (version "0.19.1") (source (origin @@ -16370,7 +14264,6 @@ in @code{no_std}. Alloc support is optional.") (sha256 (base32 "19vy19rvp3a68sgxkrv6bxxlrr2ggqp0176yqb3zhmi0g4sqz8fm")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cookie" ,rust-cookie-0.16) @@ -16382,11 +14275,7 @@ in @code{no_std}. Alloc support is optional.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2)))) - (home-page "https://github.com/pfernie/cookie_store") - (synopsis "Cookie storage and retrieval") - (description "This package implements cookie storage and retrieval.") - (license (list license:expat license:asl2.0)))) + ("rust-url" ,rust-url-2)))))) (define-public rust-cookie-store-0.16 (package @@ -16515,178 +14404,6 @@ in @code{no_std}. Alloc support is optional.") intrinsics.") (license (list license:expat license:asl2.0)))) -(define-public rust-core-foundation-0.9 - (package - (name "rust-core-foundation") - (version "0.9.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ii1ihpjb30fk38gdikm5wqlkmyr8k46fh4k2r8sagz5dng7ljhr")))) - (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)))) - -(define-public rust-core-foundation-0.7 - (package - (inherit rust-core-foundation-0.9) - (name "rust-core-foundation") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wbias8f0m5kyn2pcksi0h58fdslams6nmf16w78fgn42dx4rljp")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) - ("rust-libc" ,rust-libc-0.2) - ("rust-uuid" ,rust-uuid-0.5)))))) - -(define-public rust-core-foundation-0.6 - (package - (inherit rust-core-foundation-0.7) - (name "rust-core-foundation") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95")))) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) - ("rust-libc" ,rust-libc-0.2) - ("rust-uuid" ,rust-uuid-0.5)))))) - -(define-public rust-core-foundation-0.2 - (package - (inherit rust-core-foundation-0.6) - (name "rust-core-foundation") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-core-foundation-sys-0.8 - (package - (name "rust-core-foundation-sys") - (version "0.8.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1p5r2wckarkpkyc4z83q08dwpvcafrb1h6fxfa3qnikh8szww9sq")))) - (build-system cargo-build-system) - (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-sys-0.7 - (package - (inherit rust-core-foundation-sys-0.8) - (name "rust-core-foundation-sys") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1b5qfnnmg49sawwfsb0c0wbj81bqi7h7lh68pmhbidf0jjs1m9xk")))))) - -(define-public rust-core-foundation-sys-0.6 - (package - (inherit rust-core-foundation-sys-0.7) - (name "rust-core-foundation-sys") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7")))))) - -(define-public rust-core-foundation-sys-0.2 - (package - (inherit rust-core-foundation-sys-0.6) - (name "rust-core-foundation-sys") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-core-text-19 - (package - (name "rust-core-text") - (version "19.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-text" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0q1sr55v8zq82y0dwnwwksz1radh515i0a45nbsda3w2idpg9iyj")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("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 to the Core Text framework") - (description "This package provides bindings to the Core Text framework.") - (license (list license:expat license:asl2.0)))) - (define-public rust-cov-mark-2 (package (name "rust-cov-mark") @@ -16836,38 +14553,17 @@ Supports Linux through either JACK or ALSA.") "This package provides a crate for demangling C++ symbols.") (license (list license:expat license:asl2.0)))) -(define-public rust-cpp-demangle-0.3 - (package - (inherit rust-cpp-demangle-0.4) - (name "rust-cpp-demangle") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "cpp_demangle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zwvaqfawsfbnzmlhk9d8zngs4v3p5k9r9m2pxq8sygy7zpvgqg5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-afl" ,rust-afl-0.12) - ("rust-cfg-if" ,rust-cfg-if-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-4) - ("rust-diff" ,rust-diff-0.1)))))) - (define-public rust-cpufeatures-0.2 (package (name "rust-cpufeatures") - (version "0.2.1") + (version "0.2.11") (source (origin (method url-fetch) (uri (crate-uri "cpufeatures" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sgllzsvs8hinylaiigmd9c908gd8wclxnqz8dinpxbdyql981cm")))) + (base32 "1l0gzsyy576n017g9bf0vkv5hhg9cpz1h1libxyfdlzcgbh0yhnf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/RustCrypto/utils") @@ -16877,19 +14573,6 @@ Supports Linux through either JACK or ALSA.") to the @code{is_x86_feature_detected!} macro.") (license (list license:expat license:asl2.0)))) -(define-public rust-cpufeatures-0.1 - (package - (inherit rust-cpufeatures-0.2) - (name "rust-cpufeatures") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cpufeatures" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d")))))) - (define-public rust-cpuid-bool-0.2 (package (name "rust-cpuid-bool") @@ -17005,8 +14688,57 @@ mile, ...).") (description "Execute child processes with ease.") (license license:cc0))) +(define-public rust-crates-index-0.19 + (package + (name "rust-crates-index") + (version "0.19.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "crates-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v8x1yb8hx9p1n16p1nz7bmak9b3xj2cfh8dbfyshswx427b7jn3")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests need to have network access to the cargo repository. + #:cargo-test-flags + '("--release" "--" + ;; These tests want network access. + "--skip=bare_index::test::bare_iterator" + "--skip=bare_index::test::clones_bare_index" + "--skip=bare_index::test::opens_bare_index" + "--skip=bare_index::test::reads_replaced_source" + "--skip=bare_index::test::test_can_parse_all" + "--skip=bare_index::test::test_cargo_default_updates" + "--skip=bare_index::test::test_dependencies" + "--skip=mem_usage") + #:cargo-inputs (("rust-git2" ,rust-git2-0.17) + ("rust-hex" ,rust-hex-0.4) + ("rust-home" ,rust-home-0.5) + ("rust-http" ,rust-http-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustc-hash" ,rust-rustc-hash-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-smol-str" ,rust-smol-str-0.2) + ("rust-toml" ,rust-toml-0.7)) + #:cargo-development-inputs (("rust-cap" ,rust-cap-0.1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list openssl libgit2-1.6 zlib)) + (home-page "https://crates.io/crates/crates-index") + (synopsis "Retrieving and interacting with the crates.io index") + (description + "Library for retrieving and interacting with the crates.io index.") + (license license:asl2.0))) + (define-public rust-crates-index-0.18 (package + (inherit rust-crates-index-0.19) (name "rust-crates-index") (version "0.18.10") (source (origin @@ -17016,7 +14748,6 @@ mile, ...).") (sha256 (base32 "1x7f7xfvqzlacji88iaz9n4k7wip72sk4gfvxvccli0cbf2yqirl")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -17031,12 +14762,7 @@ mile, ...).") ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-smartstring" ,rust-smartstring-1)))) - (home-page "https://github.com/frewsxcv/rust-crates-index") - (synopsis "Retrieving and interacting with the crates.io index") - (description - "Library for retrieving and interacting with the crates.io index.") - (license license:asl2.0))) + ("rust-smartstring" ,rust-smartstring-1)))))) (define-public rust-crates-index-0.17 (package @@ -17090,58 +14816,56 @@ mile, ...).") #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-crates-index-0.5 +(define-public rust-crates-io-0.39 (package - (inherit rust-crates-index-0.13) - (name "rust-crates-index-5") - (version "0.5.1") + (name "rust-crates-io") + (version "0.39.1") (source (origin (method url-fetch) - (uri (crate-uri "crates-index" version)) + (uri (crate-uri "crates-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gak1czvvdz7l00vkkj61srrfa1sj2yl4ydghhgywydby5qh3mlg")))) + (base32 "1a5i5l9v2khikp3b1cbpqjbx0nhggfq261lpfv3skh9w2210qlx4")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ;"curl error: Could not resolve host: github.com\n" - #:cargo-inputs - (("rust-git2" ,rust-git2-0.6) - ("rust-glob" ,rust-glob-0.2) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)))) + `(#:cargo-inputs (("rust-curl" ,rust-curl-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2)))) (native-inputs (list pkg-config)) - (inputs (list zlib openssl libssh2 curl cmake)))) + (inputs (list curl openssl zlib)) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Helpers for interacting with @url{crates.io}") + (description "This package provides helpers for interacting with +@url{crates.io}.") + (license (list license:expat license:asl2.0)))) -(define-public rust-crates-io-0.38 +(define-public rust-crc-3 (package - (name "rust-crates-io") - (version "0.38.0") + (name "rust-crc") + (version "3.0.1") (source (origin (method url-fetch) - (uri (crate-uri "crates-io" version)) + (uri (crate-uri "crc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11gc58zp7xm4kk13m7q04h22r18anzbkhm1hiqplx067k5w5mlsb")))) + (base32 "1zkx87a5x06xfd6xm5956w4vmdfs0wcxpsn7iwj5jbp2rcapmv46")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-curl" ,rust-curl-0.4) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-url" ,rust-url-2)))) - (native-inputs - (list curl openssl pkg-config zlib)) - (home-page "https://github.com/rust-lang/cargo") - (synopsis "Helpers for interacting with @url{crates.io}") - (description "This package provides helpers for interacting with -@url{crates.io}.") + `(#:cargo-inputs (("rust-crc-catalog" ,rust-crc-catalog-2)))) + (home-page "https://github.com/mrhooray/crc-rs.git") + (synopsis "Rust implementation of CRC(16, 32, 64)") + (description "This package provides a Rust implementation of CRC(16, 32, +64) with support for various standards.") (license (list license:expat license:asl2.0)))) (define-public rust-crc-2 (package + (inherit rust-crc-3) (name "rust-crc") (version "2.1.0") (source (origin @@ -17150,14 +14874,8 @@ mile, ...).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "08qfahmly0n5j27g1vkqx9s6mxhm8k4dsp61ykskazyabdlrmz29")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-crc-catalog" ,rust-crc-catalog-1)))) - (home-page "https://github.com/mrhooray/crc-rs.git") - (synopsis "Rust implementation of CRC(16, 32, 64)") - (description "This package provides a Rust implementation of CRC(16, 32, -64) with support for various standards.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-crc-catalog" ,rust-crc-catalog-1)))))) (define-public rust-crc-1 (package @@ -17230,35 +14948,48 @@ final xor value. It has many built-in CRC functions.") "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.") (license (list license:expat license:asl2.0)))) -(define-public rust-crc64-1 +(define-public rust-crc64-2 (package (name "rust-crc64") - (version "1.0.0") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "crc64" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0469vp0q9431pqx1236g60if5q3xyxpv4h14smkd45dfzsa6aqjm")))) + (base32 "1wwqdss36dmhz4fd0wynlaig463l4dwvr21db1fvf6aypapy61r7")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/badboy/crc64-rs") (synopsis "Rust CRC64 checksum implementation") - (description "This package provides a CRC64 checksum implementation in -Rust.") + (description + "This package provides a CRC64 checksum implementation in Rust.") (license license:bsd-3))) -(define-public rust-crc-catalog-1 +(define-public rust-crc64-1 + (package + (inherit rust-crc64-2) + (name "rust-crc64") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crc64" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0469vp0q9431pqx1236g60if5q3xyxpv4h14smkd45dfzsa6aqjm")))))) + +(define-public rust-crc-catalog-2 (package (name "rust-crc-catalog") - (version "1.1.1") - (source (origin - (method url-fetch) - (uri (crate-uri "crc-catalog" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00qlxgzg15fnyx6nwviibz94rjw803l2avi2k3shjfx0dnsyvbnc")))) + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crc-catalog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xg7sz82w3nxp1jfn425fvn1clvbzb3zgblmxsyqpys0dckp9lqr")))) (build-system cargo-build-system) (home-page "https://github.com/akhilles/crc-catalog.git") (synopsis "Catalog of CRC algorithms expressed as simple Rust structs") @@ -17267,6 +14998,18 @@ Rust.") http://reveng.sourceforge.net/crc-catalogue) expressed as simple Rust structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-crc-catalog-1 + (package + (inherit rust-crc-catalog-2) + (name "rust-crc-catalog") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "crc-catalog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00qlxgzg15fnyx6nwviibz94rjw803l2avi2k3shjfx0dnsyvbnc")))))) + (define-public rust-criterion-0.5 (package (name "rust-criterion") @@ -17550,44 +15293,20 @@ criterion.") (define-public rust-critical-section-1 (package (name "rust-critical-section") - (version "1.1.1") + (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 - "0ljyfwzl8avwsr42kqmg7mmcw01d5rn1m8gnw48y2j95bnns0j35")))) + "05pj0pvkdyc9r30xxabam4n8zxdbzxcddr0gdypajcbqjgwgynbh")))) (build-system cargo-build-system) (home-page "https://github.com/rust-embedded/critical-section") (synopsis "Critical section abstraction") (description "This package provides a critical section abstraction.") (license (list license:expat license:asl2.0)))) -(define-public rust-critical-section-0.2 - (package - (name "rust-critical-section") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "critical-section" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0w1xl04q3qn3c67wnbiz6d5dsaqgdimyyxwpcydsvvgnlsjr3q81")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bare-metal" ,rust-bare-metal-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cortex-m" ,rust-cortex-m-0.7) - ("rust-riscv" ,rust-riscv-0.7)))) - (home-page "https://github.com/embassy-rs/critical-section") - (synopsis "Critical section abstraction") - (description "This package provides a critical section abstraction.") - (license (list license:expat license:asl2.0)))) - (define-public rust-crossbeam-0.8 (package (name "rust-crossbeam") @@ -17643,20 +15362,20 @@ criterion.") (define-public rust-crossbeam-channel-0.5 (package (name "rust-crossbeam-channel") - (version "0.5.6") + (version "0.5.11") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-channel" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08f5f043rljl82a06d1inda6nl2b030s7yfqp31ps8w8mzfh9pf2")))) + (base32 "16v48qdflpw3hgdik70bhsj7hympna79q7ci47rw0mlgnxsw2v8p")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)))) + `(#: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)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel") (synopsis "Multi-producer multi-consumer channels for message passing") @@ -17882,22 +15601,20 @@ message passing.") (define-public rust-crossbeam-utils-0.8 (package (name "rust-crossbeam-utils") - (version "0.8.14") + (version "0.8.19") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17wjbnlj4whbdvc1syk2gfy8maqx01sg2hmqpdnjh9l7g7x6ddsg")))) + (base32 "0iakrb1b8fjqrag7wphl94d10irhbh2fw1g444xslsywqyn3p3i4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-loom" ,rust-loom-0.5)) + (("rust-loom" ,rust-loom-0.7)) #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-rustversion" ,rust-rustversion-1)))) + (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils") (synopsis "Utilities for concurrent programming") @@ -17948,36 +15665,34 @@ message passing.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))))) -(define-public rust-crossfont-0.5 +(define-public rust-crossfont-0.7 (package (name "rust-crossfont") - (version "0.5.1") - (source (origin - (method url-fetch) - (uri (crate-uri "crossfont" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0icwpj9plf7bs0k34x86c58bwqyx2j3ji98aaahsncga6vfkmz91")))) + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossfont" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g09b9rq51v3xdnswmvwpgv3yp2b75lqvx3mv1l864fddqq6b778")))) (build-system cargo-build-system) (arguments - `(#:cargo-build-flags '("--features" "force_system_fontconfig") - #:cargo-inputs - (("rust-cocoa" ,rust-cocoa-0.24) - ("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.22) - ("rust-core-text" ,rust-core-text-19) - ("rust-dwrote" ,rust-dwrote-0.11) - ("rust-foreign-types" ,rust-foreign-types-0.5) - ("rust-freetype-rs" ,rust-freetype-rs-0.26) - ("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-servo-fontconfig" ,rust-servo-fontconfig-0.5) - ("rust-winapi" ,rust-winapi-0.3)))) + `(#: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.26) + ("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-servo-fontconfig" ,rust-servo-fontconfig-0.5) + ("rust-winapi" ,rust-winapi-0.3)))) (inputs (list expat fontconfig freetype)) (native-inputs @@ -17989,20 +15704,20 @@ message passing.") rasterizing glyphs, using native font engines whenever possible.") (license license:asl2.0))) -(define-public rust-crossfont-0.3 +(define-public rust-crossfont-0.5 (package - (inherit rust-crossfont-0.5) + (inherit rust-crossfont-0.7) (name "rust-crossfont") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "crossfont" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lc2a6q9c4p35hpiwddhnx4f21l48xixjywmlvjbf5v49id6k68j")))) + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "crossfont" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0icwpj9plf7bs0k34x86c58bwqyx2j3ji98aaahsncga6vfkmz91")))) (arguments - `(#:skip-build? #t + `(#:cargo-build-flags '("--features" "force_system_fontconfig") #:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.24) ("rust-core-foundation" ,rust-core-foundation-0.9) @@ -18014,6 +15729,8 @@ rasterizing glyphs, using native font engines whenever possible.") ("rust-freetype-rs" ,rust-freetype-rs-0.26) ("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-servo-fontconfig" ,rust-servo-fontconfig-0.5) ("rust-winapi" ,rust-winapi-0.3)))))) @@ -18407,33 +16124,51 @@ all the formatting features of the format! macro, except for the fill character.") (license license:asl2.0))) -(define-public rust-rusticata-macros-4 +(define-public rust-rtnetlink-0.14 (package - (name "rust-rusticata-macros") - (version "4.0.0") + (name "rust-rtnetlink") + (version "0.14.1") (source (origin (method url-fetch) - (uri (crate-uri "rusticata-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "rtnetlink" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5")))) + (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-nom" ,rust-nom-7)))) - (home-page "https://github.com/rusticata/rusticata-macros") - (synopsis "Helper macros for Rusticata") - (description "Helper macros for Rusticata.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-test-flags '("--release" "--" + "--skip=link::test::create_get_delete_macvlan" + "--skip=link::test::create_get_delete_wg" + "--skip=traffic_control::add_filter::test::test_new_filter" + "--skip=traffic_control::add_qdisc::test::test_new_qdisc") + #:cargo-inputs (("rust-async-global-executor" ,rust-async-global-executor-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-ipnetwork" ,rust-ipnetwork-0.18) + ("rust-macaddr" ,rust-macaddr-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/rtnetlink") + (synopsis "Manipulate linux networking resources via netlink") + (description "This crate provides methods to manipulate networking +resources (links, addresses, arp tables, route tables) via the netlink route +protocol.") + (license license:expat))) -(define-public rust-rusticata-macros-3 +(define-public rust-rusticata-macros-4 (package - (inherit rust-rusticata-macros-4) (name "rust-rusticata-macros") - (version "3.2.0") + (version "4.0.0") (source (origin (method url-fetch) @@ -18442,278 +16177,16 @@ character.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1b91k644rqblbam6rfhhmgcxs0zddldi2h0w93aapv1kqq9fbgpv")))) - (arguments - `(#:cargo-inputs (("rust-nom" ,rust-nom-6)))))) - -(define-public rust-crypto-bigint-0.5 - (package - (name "rust-crypto-bigint") - (version "0.5.2") - (source (origin - (method url-fetch) - (uri (crate-uri "crypto-bigint" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05gy7sqkxg65bj1wrgq1pbh8iwn1kmfysvzx1g22p4gx3972yk6g")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-der" ,rust-der-0.7) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-rlp" ,rust-rlp-0.5) - ("rust-serdect" ,rust-serdect-0.2) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-proptest" ,rust-proptest-1) - ("rust-rand-chacha" ,rust-rand-chacha-0.3) - ("rust-rand-core" ,rust-rand-core-0.6)))) - (home-page "https://github.com/RustCrypto/crypto-bigint") - (synopsis "Big integer library designed for use in cryptography") - (description - "This crate is a pure Rust implementation of a big integer library which -has been designed from the ground-up for use in cryptographic applications. -Provides constant-time, no_std-friendly implementations of modern formulas -using const generics.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-crypto-bigint-0.2 - (package - (inherit rust-crypto-bigint-0.5) - (name "rust-crypto-bigint") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-bigint" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00qckh65nzb7s7vd60wylw6alxf9g37xh31lirb1qw0l8fxx6fzq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.14) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-rlp" ,rust-rlp-0.5) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)))))) - -(define-public rust-crypto-common-0.1 - (package - (name "rust-crypto-common") - (version "0.1.6") - (source (origin - (method url-fetch) - (uri (crate-uri "crypto-common" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cvby95a6xg7kxdz5ln3rl9xh66nz66w46mm3g56ri1z5x815yqv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.14) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-typenum" ,rust-typenum-1)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Common cryptographic traits") - (description - "This package contains a collection of traits which describe functionality -of cryptographic primitives.") - ;; The user can choose either license. - (license (list license:expat license:asl2.0)))) - -(define-public rust-crypto-mac-0.11 - (package - (name "rust-crypto-mac") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-cipher" ,rust-cipher-0.3) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-subtle" ,rust-subtle-2)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Trait for Message Authentication Code (MAC) algorithms") - (description "This package provides trait for @dfn{Message Authentication -Code} (MAC) algorithms.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-crypto-mac-0.10 - (package - (inherit rust-crypto-mac-0.11) - (name "rust-crypto-mac") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-cipher" ,rust-cipher-0.2) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-subtle" ,rust-subtle-2)))))) - -(define-public rust-crypto-mac-0.8 - (package - (inherit rust-crypto-mac-0.10) - (name "rust-crypto-mac") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1axfs4zmy74rn9666p92j7nmcv11zdp2d51yrppc2dv26cqa715m")))) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-subtle" ,rust-subtle-2)))))) - -(define-public rust-crypto-mac-0.7 - (package - (inherit rust-crypto-mac-0.10) - (name "rust-crypto-mac") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rbrq6qy9dl0pj4ym2zy33miaaa8vpzdss60p9bdb58xy46l0d24")))) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.12) - ("rust-subtle" ,rust-subtle-1)))))) - -(define-public rust-crypto-mac-0.5 - (package - (inherit rust-crypto-mac-0.10) - (name "rust-crypto-mac") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-mac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n6r10zlnfv9gbjj0380sxfffxhq1khfjqwsn7fx8iil9pzv9689")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-generic-array" ,rust-generic-array-0.9)))))) - -(define-public rust-crypto-mac-0.4 - (package - (name "rust-crypto-mac") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-generic-array" ,rust-generic-array-0.8)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Trait for Message Authentication Code (MAC) algorithms") - (description "This package provides traits for Message Authentication -Code (MAC) algorithms.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-crypto-tests-0.5 - (package - (name "rust-crypto-tests") - (version "0.5.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-tests" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08yrh40a9ll4k29ppizg2yjf96i6s3i9pbkhxp60y8arar93134v")))) + "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.4) - ("rust-crypto-mac" ,rust-crypto-mac-0.4) - ("rust-digest" ,rust-digest-0.6) - ("rust-generic-array" ,rust-generic-array-0.8)))) - (home-page "https://github.com/RustCrypto/utils") - (synopsis "Test helpers for cryptographic algorithms") - (description "This package provides test helpers for cryptographic -algorithms.") + (("rust-nom" ,rust-nom-7)))) + (home-page "https://github.com/rusticata/rusticata-macros") + (synopsis "Helper macros for Rusticata") + (description "Helper macros for Rusticata.") (license (list license:expat license:asl2.0)))) -(define-public rust-crypto-hash-0.3 - (package - (name "rust-crypto-hash") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto-hash" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jnxgpk0j29hzcv42viq5dckyfjnxdjsar55366j95zx80i1cxwa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-commoncrypto" ,rust-commoncrypto-0.2) - ("rust-hex" ,rust-hex-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-winapi" ,rust-winapi-0.3)))) - (inputs - (list openssl)) - (home-page "https://github.com/malept/crypto-hash") - (synopsis "Wrapper for OS-level cryptographic hash functions") - (description "This package provides a wrapper for OS-level cryptographic -hash functions.") - (license license:expat))) - (define-public rust-cssparser-0.29 (package (name "rust-cssparser") @@ -18807,41 +16280,6 @@ hash functions.") ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-cssparser-0.25 - (package - (inherit rust-cssparser-0.27) - (name "rust-cssparser") - (version "0.25.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "cssparser" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03klvpdzsk4cyh8k0dbnlngzafv7gqywqrnsqqb3gfmrxyj8rqgv")))) - (arguments - `(#:tests? #f ; Some test files missing. - #:cargo-inputs - (("rust-cssparser-macros" ,rust-cssparser-macros-0.3) - ("rust-dtoa-short" ,rust-dtoa-short-0.3) - ("rust-heapsize" ,rust-heapsize-0.4) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-matches" ,rust-matches-0.1) - ("rust-phf" ,rust-phf-0.7) - ("rust-procedural-masquerade" ,rust-procedural-masquerade-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-0.6) - ("rust-autocfg" ,rust-autocfg-0.1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-difference" ,rust-difference-2) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-serde-json" ,rust-serde-json-1)))))) - (define-public rust-cssparser-macros-0.6 (package (name "rust-cssparser-macros") @@ -18866,28 +16304,6 @@ hash functions.") "This package provides the procedural macros for rust-cssparser.") (license license:mpl2.0))) -(define-public rust-cssparser-macros-0.3 - (package - (inherit rust-cssparser-macros-0.6) - (name "rust-cssparser-macros") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "cssparser-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vqyc5xm8a4va92vs1nn0cc46c930l2n21gccijnc5y7hx7cicav")))) - (arguments - `(#:cargo-inputs - (("rust-phf-codegen" ,rust-phf-codegen-0.7) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-procedural-masquerade" ,rust-procedural-masquerade-0.1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-csv-index-0.1 (package (name "rust-csv-index") @@ -18912,30 +16328,25 @@ hash functions.") (define-public rust-csv-1 (package (name "rust-csv") - (version "1.1.6") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "csv" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1q9nqn0qlamwl18v57p82c8yhxy43lkzf2z1mndmycsvqinkm092")))) + (base32 "1zjrlycvn44fxd9m8nwy8x33r9ncgk0k3wvy4fnvb9rpsks4ymxc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) - ("rust-csv-core" ,rust-csv-core-0.1) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-ryu" ,rust-ryu-1) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde" ,rust-serde-1)))) + `(#:cargo-inputs (("rust-csv-core" ,rust-csv-core-0.1) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/BurntSushi/rust-csv") (synopsis "Fast CSV parsing with support for serde") - (description - "Fast CSV parsing with support for serde.") + (description "Fast CSV parsing with support for serde.") (license (list license:unlicense license:expat)))) (define-public rust-csv-0.14 @@ -18959,59 +16370,24 @@ hash functions.") #:cargo-development-inputs (("rust-regex" ,rust-regex-0.1)))))) -(define-public rust-cortex-m-0.7 - (package - (name "rust-cortex-m") - (version "0.7.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "cortex-m" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fbca698v4gv57mv5fc48jrz8wcy6sv675n6fsrsah4qykc11ilf")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "bin"))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bare-metal" ,rust-bare-metal-0.2) - ("rust-bitfield" ,rust-bitfield-0.13) - ("rust-critical-section" ,rust-critical-section-1) - ("rust-embedded-hal" ,rust-embedded-hal-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-volatile-register" ,rust-volatile-register-0.2)))) - (home-page "https://github.com/rust-embedded/cortex-m") - (synopsis "Low level access to Cortex-M processors") - (description "This package provides low level access to Cortex-M -processors.") - (license (list license:expat license:asl2.0)))) - (define-public rust-csv-core-0.1 (package (name "rust-csv-core") - (version "0.1.10") + (version "0.1.11") (source (origin (method url-fetch) (uri (crate-uri "csv-core" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "145wcc3560v1kmysqqspvddppiysr2rifqzy4nnlh3r6kxanc91b")))) + (base32 "0w7s7qa60xb054rqddpyg53xq2b29sf3rbhcl8sbdx02g4yjpyjy")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-memchr" ,rust-memchr-2)) - #:cargo-development-inputs - (("rust-arrayvec" ,rust-arrayvec-0.5)))) + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)))) (home-page "https://github.com/BurntSushi/rust-csv") - (synopsis - "Bare bones CSV parsing with no_std support") - (description - "Bare bones CSV parsing with no_std support.") + (synopsis "Bare bones CSV parsing with no_std support") + (description "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) (define-public rust-cstr-core-0.2 @@ -19070,10 +16446,8 @@ reimplemented in Rust") (base32 "1j5as2h789c2gazq3drl5i58xk8zzx6sxd1wdr19x3d6dwc1da61")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-sct" ,rust-sct-0.6)))) - (native-inputs (list perl)) (home-page "https://github.com/ctz/ct-logs") (synopsis "Google's list of Certificate Transparency logs") (description @@ -19140,69 +16514,6 @@ use with sct crate.") #:cargo-development-inputs `(("rust-libc-print" ,rust-libc-print-0.1)))))) -(define-public rust-ctr-0.9 - (package - (name "rust-ctr") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ctr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0d88b73waamgpfjdml78icxz45d95q7vi2aqa604b0visqdfws83")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-kuznyechik" ,rust-kuznyechik-0.8) - ("rust-magma" ,rust-magma-0.8)))) - (home-page "https://docs.rs/ctr/") - (synopsis "CTR block mode of operation") - (description "This package provides a generic implementations of CTR mode -for block ciphers. Mode functionality is accessed using traits from -re-exported cipher crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ctr-0.8 - (package - (inherit rust-ctr-0.9) - (name "rust-ctr") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ctr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sk1aykwhkny92cnvl6s75dx3fyvfzw5xkd6xz3y7w5anhgvk6q4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-cipher" ,rust-cipher-0.3)))))) - -(define-public rust-ctr-0.6 - (package - (inherit rust-ctr-0.8) - (name "rust-ctr") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ctr" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zvyf13675hrlc37myj97k5ng7m1mj3d9p4ic4yvyhvl9zak0jpv")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-cipher" ,rust-cipher-0.2)))))) - (define-public rust-ctrlc-3 (package (name "rust-ctrlc") @@ -19334,7 +16645,7 @@ requests.") (define-public rust-curl-sys-0.4 (package (name "rust-curl-sys") - (version "0.4.66+curl-8.3.0") + (version "0.4.70+curl-8.5.0") (source (origin (method url-fetch) @@ -19342,7 +16653,7 @@ requests.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fdmdny7zqz5l9c9lnbnjz9i8qzdnrm8mnhdv45f9w1hx1r4mi3h")) + "07l45np3bs10ana73w1ahdax1zbb8jd44ahhr2j7izlshkc360rw")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "curl"))))) @@ -19368,73 +16679,30 @@ requests.") "This package provides native bindings to the @code{libcurl} library.") (license license:expat))) -(define-public rust-curve25519-dalek-3 +(define-public rust-cust-0.2 (package - (name "rust-curve25519-dalek") - (version "3.2.0") + (name "rust-cust") + (version "0.2.2") (source (origin (method url-fetch) - (uri (crate-uri "curve25519-dalek" version)) + (uri (crate-uri "cust" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-digest" ,rust-digest-0.9) - ("rust-fiat-crypto" ,rust-fiat-crypto-0.1) - ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-hex" ,rust-hex-0.4) - ("rust-rand" ,rust-rand-0.7) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://dalek.rs/curve25519-dalek") - (synopsis "Group operations on ristretto255 and Curve25519") - (description - "This package provides a pure-Rust implementation of group operations on -ristretto255 and Curve25519.") - (license license:bsd-3))) - -(define-public rust-curve25519-dalek-ng-4 - (package - (name "rust-curve25519-dalek-ng") - (version "4.1.1") - (source (origin - (method url-fetch) - (uri (crate-uri "curve25519-dalek-ng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j6y6dsqdfp26ifyygibsrm1a8f9f7870i4053xlczil95r9nd8w")))) + (base32 "1jb7l9qq65jc9rqwwygaxg4b304nn3i8igic905cbbrnw1ns8iz9")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-digest" ,rust-digest-0.9) - ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-subtle-ng" ,rust-subtle-ng-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/zkcrypto/curve25519-dalek-ng") - (synopsis "Implementation of group operations on ristretto255 and Curve25519") - (description - "This package provides a pure-Rust implementation of group operations on -ristretto255 and Curve25519.") - (license license:bsd-3))) + `(#:skip-build? #t ; Could not find a cuda installation + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cust-derive" ,rust-cust-derive-0.1) + ("rust-cust-raw" ,rust-cust-raw-0.11) + ("rust-find-cuda-helper" ,rust-find-cuda-helper-0.2) + ("rust-vek" ,rust-vek-0.15)) + #:cargo-development-inputs (("rust-image" ,rust-image-0.23)))) + (home-page "https://github.com/Rust-GPU/Rust-CUDA") + (synopsis "High level bindings to the CUDA Driver API") + (description "High level bindings to the CUDA Driver API.") + (license (list license:expat license:asl2.0)))) (define-public rust-cust-core-0.1 (package @@ -19485,6 +16753,43 @@ shared across CPU and GPU.") (description "This package provices macros for cust.") (license (list license:expat license:asl2.0)))) +(define-public rust-cust-derive-0.1 + (package + (inherit rust-cust-derive-0.2) + (name "rust-cust-derive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cust_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ckxjfdlwhmdyf5s2v10cslpb6wri9xl8nk3qirz8rsn5x1hn61v")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-cust-raw-0.11 + (package + (name "rust-cust-raw") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cust_raw" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y1b82gf0fmaqxhvzjd3cxgd54vvbj3vji68pcl9ijqjvrm0vx7v")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Could not find a cuda installation + #:cargo-inputs (("rust-find-cuda-helper" ,rust-find-cuda-helper-0.2)))) + (home-page "https://github.com/Rust-GPU/Rust-CUDA") + (synopsis "Low level bindings to the CUDA Driver API") + (description "Low level bindings to the CUDA Driver API.") + (license (list license:expat license:asl2.0)))) + (define-public rust-custom-derive-0.1 (package (name "rust-custom-derive") @@ -20297,45 +17602,10 @@ for Rust.") ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-dashmap-3 - (package - (inherit rust-dashmap-4) - (name "rust-dashmap") - (version "3.11.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "dashmap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ddrjj4khb0s263pw278g5dvbhaid40611h123s9w5shr0phw9hg")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Enable unstable features - (substitute* "src/lib.rs" - (("#!\\[cfg_attr" all) - (string-append "#![feature(map_get_key_value)]" "\n" - "#![feature(inner_deref)]" "\n" - all))) - #t)))) - (arguments - `(#:cargo-inputs - (("rust-ahash" ,rust-ahash-0.3) - ("rust-hashbrown" ,rust-hashbrown-0.8) - ("rust-serde" ,rust-serde-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'enable-unstable-features - (lambda _ - (setenv "RUSTC_BOOTSTRAP" "1") - #t))))))) - (define-public rust-data-encoding-2 (package (name "rust-data-encoding") - (version "2.4.0") + (version "2.5.0") (source (origin (method url-fetch) @@ -20343,7 +17613,7 @@ for Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "023k3dk8422jgbj7k72g63x51h1mhv91dhw1j4h205vzh6fnrrn2")))) + "1rcbnwfmfxhlshzbn3r7srm3azqha3mn33yxyqxkzz2wpqcjm5ky")))) (build-system cargo-build-system) (home-page "https://github.com/ia0/data-encoding") (synopsis "Efficient and customizable data-encoding functions") @@ -20375,28 +17645,6 @@ hexadecimal, base32, and base64.") "Processing of data: URL according to WHATWG's Fetch Standard.") (license (list license:expat license:asl2.0)))) -(define-public rust-data-url-0.1 - (package - (inherit rust-data-url-0.2) - (name "rust-data-url") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "data-url" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "14z15yiyklp5dv0k0q6pd83irrn0y8hj9y3fj17akkrbf37byc1s")))) - (arguments - `(#:cargo-inputs - (("rust-matches" ,rust-matches-0.1)) - #:cargo-development-inputs - (("rust-rustc-test" ,rust-rustc-test-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - (define-public rust-datetime-0.5 (package (name "rust-datetime") @@ -20759,20 +18007,20 @@ verifying the contents.") (define-public rust-defer-drop-1 (package (name "rust-defer-drop") - (version "1.0.1") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "defer-drop" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1d3pmmn5k2ir3yv8z8fnv4jprs5aijkz5pbdyl8x8kp18m90bbhq")))) + (base32 "0mswjjksrr6fvsgxvp64mzwkjkzjmpwjfaw4n76jhsvalsgyq4zn")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) - ("rust-once-cell" ,rust-once-cell-1)))) + `(#:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/Lucretiel/defer-drop") (synopsis "Defer dropping large types to a background thread") (description @@ -20871,6 +18119,27 @@ written in rust.") ("rust-gzip-header" ,rust-gzip-header-0.3) ("rust-flate2" ,rust-flate2-1)))))) +(define-public rust-deflate64-0.1 + (package + (name "rust-deflate64") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate64" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1aagh5mmyr8p08if33hizqwiq2as90v9smla89nydq6pivsfy766")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/anatawa12/deflate64-rs#readme") + (synopsis "Deflate64 implementation based on .NET's implementation") + (description "Deflate64 implementation based on .NET's implementation.") + (license license:expat))) + (define-public rust-defmac-0.2 (package (name "rust-defmac") @@ -20972,6 +18241,25 @@ resource-constrained devices, like micro-controllers.") strings.") (license (list license:expat license:asl2.0)))) +;; TODO: Unbundle dejavu font +(define-public rust-dejavu-2 + (package + (name "rust-dejavu") + (version "2.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dejavu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hgv2cc9gnk8q8j2zl4hk2vf2jhf9mfcqsm31m4nv065zfspayq1")))) + (build-system cargo-build-system) + (home-page "https://github.com/brayniac/dejavu") + (synopsis "Provides the DejaVu font family for embedding") + (description + "This package provides the @code{DejaVu} font family for embedding.") + (license (list license:expat license:asl2.0)))) + (define-public rust-demo-hack-0.0 (package (name "rust-demo-hack") @@ -21019,235 +18307,6 @@ strings.") (description "Demo of proc-macro-hack.") (license (list license:expat license:asl2.0)))) -(define-public rust-der-0.7 - (package - (name "rust-der") - (version "0.7.5") - (source (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06f2clallhpjc51s3dc7mpcw5ms3jak727qc5yrfg3ncrpzqvr85")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-const-oid" ,rust-const-oid-0.9) - ("rust-der-derive" ,rust-der-derive-0.7) - ("rust-flagset" ,rust-flagset-0.4) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) - ("rust-time" ,rust-time-0.3) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/der") - (synopsis - "Implementation of the Distinguished Encoding Rules (DER)") - (description - "This package provides a pure Rust embedded-friendly implementation of -the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One -(ASN.1) as described in ITU X.690 with full support for heapless no_std -targets") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-der-0.6 - (package - (inherit rust-der-0.7) - (name "rust-der") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pnl3y52m1s6srxpfrfbazf6qilzq8fgksk5dv79nxaybjk6g97i")))) - (arguments - `(#:cargo-inputs - (("rust-const-oid" ,rust-const-oid-0.9) - ("rust-der-derive" ,rust-der-derive-0.6) - ("rust-flagset" ,rust-flagset-0.4) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) - ("rust-time" ,rust-time-0.3) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-proptest" ,rust-proptest-1)))))) - -(define-public rust-der-0.4 - (package - (inherit rust-der-0.7) - (name "rust-der") - (version "0.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "der" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x4k0jln8va1657cghl40l6p7hyvr1ixz71v9cd6imwmgp51rdvr")))) - (arguments - `(#:skip-build? - #t ; FIXME - #:cargo-inputs - (("rust-const-oid" ,rust-const-oid-0.6) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.2) - ("rust-der-derive" ,rust-der-derive-0.4)))))) - -(define-public rust-der-derive-0.7 - (package - (name "rust-der-derive") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive") - (synopsis - "Custom derive support for the `der` crate's `Choice` and `Sequence` traits") - (description - "This package provides a custom derive support for the `der` crate's -`Choice` and `Sequence` traits.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-der-derive-0.6 - (package - (inherit rust-der-derive-0.7) - (name "rust-der-derive") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fg3dv4cjjwd4a6dh62ch2gb477s1pvwh5s8wbg567rsbgdivxwf")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-der-derive-0.4 - (package - (inherit rust-der-derive-0.7) - (name "rust-der-derive") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "der_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca")))) - (arguments - `(#:skip-build? - #t ; FIXME - #: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)))))) - -(define-public rust-der-oid-macro-0.5 - (package - (name "rust-der-oid-macro") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "der-oid-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dply8g2p72hfhyymkrkr7fjqy844drj19xbrfkqrp55nq4z4fn7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/rusticata/der-parser") - (synopsis "Macro to encode DER oids at compile time") - (description - "This crate provides a macro to encode DER oids at compile time.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-der-parser-8 - (package - (name "rust-der-parser") - (version "8.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "der-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07mnz9y395zyxwj7nam2dbzkqdngfraxp2i7y2714dxmpbxpdmnv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-asn1-rs" ,rust-asn1-rs-0.5) - ("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.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)))) - -(define-public rust-der-parser-6 - (package - (inherit rust-der-parser-8) - (name "rust-der-parser") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "der-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gn465dncghmj52k8dlkl71wkmlz5zc6jfjgj9ra2knf22ryy1wq")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitvec" ,rust-bitvec-0.22) - ("rust-cookie-factory" ,rust-cookie-factory-0.3) - ("rust-der-oid-macro" ,rust-der-oid-macro-0.5) - ("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.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) - ("rust-test-case" ,rust-test-case-1)))))) - (define-public rust-deranged-0.3 (package (name "rust-deranged") @@ -21733,14 +18792,14 @@ traits for both structs and enums.") (define-public rust-derive-new-0.5 (package (name "rust-derive-new") - (version "0.5.8") + (version "0.5.9") (source (origin (method url-fetch) (uri (crate-uri "derive-new" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ncibp4jhpkym7namg3viqyw8hljd32n6abg64af8qjwrn91iwvi")))) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d9m5kcj1rdmdjqfgj7rxxhdzx0as7p4rp1mjx5j6w5dl2f3461l")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -21756,7 +18815,7 @@ structs and enums.") (define-public rust-derive-where-1 (package (name "rust-derive-where") - (version "1.2.5") + (version "1.2.7") (source (origin (method url-fetch) @@ -21764,7 +18823,7 @@ structs and enums.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jqck0b2vsyh85p6v5jlhcrmgphdvxzg2256919g782247b9hqql")))) + "09cx25r1zb8xrsgd9cj9j5zmg30n7lnvcmspqymyn9d887673mk2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -21781,70 +18840,6 @@ structs and enums.") (description "Deriving with custom trait bounds.") (license (list license:expat license:asl2.0)))) -(define-public rust-des-0.8 - (package - (name "rust-des") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "des" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07kshslxanmg0g6007scvglfhg6mli2a8qzhx4kxx4z9ik781pgz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.4)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "DES and Triple DES block ciphers implementation") - (description "This package provides DES and Triple DES (3DES, TDES) block -ciphers implementations.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-des-0.7 - (package - (inherit rust-des-0.8) - (name "rust-des") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "des" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pbsfkkwfqnd4nsv3ik4z09h248f57y7bj2j1l134i2mzd4xshdc")))) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-cipher" ,rust-cipher-0.3) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)))))) - -(define-public rust-des-0.6 - (package - (inherit rust-des-0.7) - (name "rust-des") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "des" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-cipher" ,rust-cipher-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.2)))))) - (define-public rust-deunicode-0.4 (package (name "rust-deunicode") @@ -21865,8 +18860,31 @@ ciphers implementations.") intelligently transliterating them. It supports Emoji and Chinese.") (license license:bsd-3))) +(define-public rust-devise-0.4 + (package + (name "rust-devise") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y45iag4hyvspkdsf6d856hf0ihf9vjnaga3c7y6c72l7zywxsnn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.4) + ("rust-devise-core" ,rust-devise-core-0.4)))) + (home-page "https://github.com/SergioBenitez/Devise") + (synopsis "Library for devising derives and other procedural macros") + (description + "This package provides a library for devising derives and other +procedural macros.") + (license (list license:expat license:asl2.0)))) + (define-public rust-devise-0.2 (package + (inherit rust-devise-0.4) (name "rust-devise") (version "0.2.1") (source @@ -21876,12 +18894,27 @@ intelligently transliterating them. It supports Emoji and Chinese.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "09p52f54givb0g9l7clj11z755vldk8758y2lwm5mp3sa156qwfx")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.2) - ("rust-devise-core" ,rust-devise-core-0.2)))) + ("rust-devise-core" ,rust-devise-core-0.2)))))) + +(define-public rust-devise-codegen-0.4 + (package + (name "rust-devise-codegen") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mpy5mmsigkj5f72gby82yk4advcqj97am2wzn0dwkj8vnwg934w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.4) + ("rust-quote" ,rust-quote-1)))) (home-page "https://github.com/SergioBenitez/Devise") (synopsis "Library for devising derives and other procedural macros") (description @@ -21889,8 +18922,10 @@ intelligently transliterating them. It supports Emoji and Chinese.") procedural macros.") (license (list license:expat license:asl2.0)))) + (define-public rust-devise-codegen-0.2 (package + (inherit rust-devise-codegen-0.4) (name "rust-devise-codegen") (version "0.2.1") (source @@ -21900,12 +18935,31 @@ procedural macros.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0lxbixni2v6snx2mkgi0kyq5dv8v6c5s57b6wc47q4hqs6884yza")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2) - ("rust-quote" ,rust-quote-0.6)))) + ("rust-quote" ,rust-quote-0.6)))))) + +(define-public rust-devise-core-0.4 + (package + (name "rust-devise-core") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sp5idq0idng9i5kwjd8slvc724s97r28arrhyqq1jpx1ax0vd9m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.10) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/SergioBenitez/Devise") (synopsis "Library for devising derives and other procedural macros") (description @@ -21915,6 +18969,7 @@ procedural macros.") (define-public rust-devise-core-0.2 (package + (inherit rust-devise-core-0.4) (name "rust-devise-core") (version "0.2.1") (source @@ -21924,20 +18979,62 @@ procedural macros.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0wr3jdzzibpafz73hcca83wnzdgjinvm7axmxnyfkbasbnfkw1fi")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/SergioBenitez/Devise") - (synopsis "Library for devising derives and other procedural macros") + ("rust-syn" ,rust-syn-0.15)))))) + +(define-public rust-dhcproto-0.9 + (package + (name "rust-dhcproto") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dhcproto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hsbl77lxvxa94ihn2vna1sx2icrkch427w24a883xymhm9h9vnw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dhcproto-macros" ,rust-dhcproto-macros-0.1) + ("rust-hex" ,rust-hex-0.4) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.22) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/bluecatengineering/dhcproto") + (synopsis "DHCP parser and encoder for DHCPv4/DHCPv6") (description - "This package provides a library for devising derives and other -procedural macros.") - (license (list license:expat license:asl2.0)))) + "This package provides a DHCP parser and encoder for DHCPv4/DHCPv6. +@code{dhcproto} aims to be a functionally complete DHCP implementation.") + (license license:expat))) + +(define-public rust-dhcproto-macros-0.1 + (package + (name "rust-dhcproto-macros") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dhcproto-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w61gvnm17frkm6mk8q4xkwd1iji946lj5f175w585h4hvxkx6d7")))) + (build-system cargo-build-system) + (home-page "https://github.com/bluecatengineering/dhcproto") + (synopsis "Macro library for generating option types for dhcproto") + (description + "This package provides a macro library for generating option types for +dhcproto.") + (license license:expat))) (define-public rust-dhcp4r-0.2 (package @@ -21966,8 +19063,34 @@ procedural macros.") example.") (license license:bsd-3))) +(define-public rust-dialoguer-0.11 + (package + (name "rust-dialoguer") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dialoguer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pl0744wwr97kp8qnaybzgrfwk66qakzq0i1qrxl03vpbn0cx2v5")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `dialoguer::History` + #:cargo-inputs (("rust-console" ,rust-console-0.15) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/console-rs/dialoguer") + (synopsis "Command line prompting library") + (description "This package provides a command line prompting library.") + (license license:expat))) + (define-public rust-dialoguer-0.10 (package + (inherit rust-dialoguer-0.11) (name "rust-dialoguer") (version "0.10.4") (source (origin @@ -21977,18 +19100,13 @@ example.") (sha256 (base32 "11rgzrhi677w9gf1r3ip2x361svdkjkr2m5dsfca9fcljacg5ijr")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-console" ,rust-console-0.15) ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) ("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://github.com/mitsuhiko/dialoguer") - (synopsis "Command line prompting library") - (description "This package provides a command line prompting library.") - (license license:expat))) + ("rust-zeroize" ,rust-zeroize-1)))))) (define-public rust-diesel-1 (package @@ -22235,111 +19353,37 @@ common subsequence. The diff algorithms include Myer's diff and Patience diff.") (license (list license:asl2.0 license:expat)))) -(define-public rust-digest-0.10 +(define-public rust-directories-5 (package - (name "rust-digest") - (version "0.10.7") + (name "rust-directories") + (version "5.0.1") (source (origin (method url-fetch) - (uri (crate-uri "digest" version)) + (uri (crate-uri "directories" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14p2n6ih29x81akj097lvz7wi9b6b9hvls0lwrv7b6xwyy0s5ncy")))) + (base32 "0dba6xzk79s1clqzxh2qlgzk3lmvvks1lzzjhhi3hd70hhxifjcs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-block-buffer" ,rust-block-buffer-0.10) - ("rust-const-oid" ,rust-const-oid-0.9) - ("rust-crypto-common" ,rust-crypto-common-0.1) - ("rust-subtle" ,rust-subtle-2)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Traits for cryptographic hash functions") + (("rust-dirs-sys" ,rust-dirs-sys-0.4)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://github.com/dirs-dev/directories-rs") + (synopsis "Library for standard locations of data directories") (description - "Traits for cryptographic hash functions.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-digest-0.9 - (package - (inherit rust-digest-0.10) - (name "rust-digest") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rmhvk33rgvd6ll71z8sng91a52rw14p0drjn1da0mqa138n1pfk")))) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.14)))))) - -(define-public rust-digest-0.8 - (package - (inherit rust-digest-0.9) - (name "rust-digest") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.12)))))) - -(define-public rust-digest-0.7 - (package - (inherit rust-digest-0.9) - (name "rust-digest") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "142vdpvkqlqk9s1dcgpqb2wz76n5a39gjnk68p0zkflc58j75c03")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.9)))))) - -(define-public rust-digest-0.6 - (package - (name "rust-digest") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "digest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02mgf8z4hi96w9nl2zb5w3k6lqbhjgv5z8hhyv2b7x7kavqrpcp5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.8)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Traits for cryptographic hash functions") - (description "This package provides traits for cryptographic hash -functions.") + "This package provides a tiny mid-level library that provides +platform-specific standard locations of directories for config, +cache and other data on Linux, Windows and macOS by leveraging the +mechanisms defined by the XDG base/user directory specifications +on Linux, the Known Folder API on Windows, and the Standard +Directory guidelines on macOS.") (license (list license:expat license:asl2.0)))) (define-public rust-directories-4 (package + (inherit rust-directories-5) (name "rust-directories") (version "4.0.1") (source @@ -22349,21 +19393,10 @@ functions.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "045jbj5y2f1fmjs9rfcw95y0vjydb2rqqhz1sdnqhdmxv96ms77m")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-dirs-sys" ,rust-dirs-sys-0.3)))) - (home-page "https://github.com/dirs-dev/directories-rs") - (synopsis "Library for standard locations of data directories") - (description - "This package provides a tiny mid-level library that provides -platform-specific standard locations of directories for config, -cache and other data on Linux, Windows and macOS by leveraging the -mechanisms defined by the XDG base/user directory specifications -on Linux, the Known Folder API on Windows, and the Standard -Directory guidelines on macOS.") - (license (list license:expat license:asl2.0)))) + (("rust-dirs-sys" ,rust-dirs-sys-0.3)))))) (define-public rust-directories-3 (package @@ -22635,41 +19668,6 @@ memory but not other memory. This package provides a discard trait which allows for intentionally leaking memory") (license license:expat))) -(define-public rust-dispatch-0.2 - (package - (name "rust-dispatch") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "dispatch" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fwjr9b7582ic5689zxj8lf7zl94iklhlns3yivrnv8c9fxr635x")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/SSheldon/rust-dispatch") - (synopsis "Rust wrapper for Apple's Grand Central Dispatch") - (description "This package provides a Rust wrapper for Apple's Grand -Central Dispatch.") - (license license:expat))) - -(define-public rust-dispatch-0.1 - (package - (inherit rust-dispatch-0.2) - (name "rust-dispatch") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "dispatch" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "019nzy993hxaiazcdnayx3csv2iki34i535asw11ki96hakkrs84")))) - (arguments '(#:tests? #f)))) ; Tests only run on Mac. - (define-public rust-displaydoc-0.2 (package (name "rust-displaydoc") @@ -22726,7 +19724,7 @@ Google's diff-match-patch.") (define-public rust-dlib-0.5 (package (name "rust-dlib") - (version "0.5.0") + (version "0.5.2") (source (origin (method url-fetch) @@ -22734,14 +19732,12 @@ Google's diff-match-patch.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1547hy7nrhkrb2i09va244c0h8mr845ccbs2d2mc414c68bpa6xc")))) + "04m4zzybx804394dnqs1blz241xcy480bdwf3w9p4k6c3l46031k")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;FIXME: Several macros are not found. #:cargo-inputs - (("rust-libloading" ,rust-libloading-0.7)))) - (inputs - (list rust-libloading-0.7)) + (("rust-libloading" ,rust-libloading-0.8)))) (home-page "https://github.com/vberger/dlib") (synopsis "Helper macros for manually loading optional system libraries") (description @@ -22769,22 +19765,18 @@ system libraries.") (inputs (list rust-libloading-0.6)))) -(define-public rust-dlv-list-0.2 +(define-public rust-dlv-list-0.3 (package (name "rust-dlv-list") - (version "0.2.3") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "dlv-list" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8")))) + (base32 "0mqj5rdkcjksw3kvjj0nga6rzcpppx0kimjwi527yhifz6kw5206")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/sgodwincs/dlv-list-rs") (synopsis "Semi-doubly linked list implemented using a vector") (description @@ -22792,6 +19784,23 @@ system libraries.") a vector.") (license license:expat))) +(define-public rust-dlv-list-0.2 + (package + (inherit rust-dlv-list-0.3) + (name "rust-dlv-list") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "dlv-list" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-dns-parser-0.8 (package (name "rust-dns-parser") @@ -22906,26 +19915,6 @@ from macros.") (description "Command line argument parsing.") (license (list license:expat license:unlicense)))) -(define-public rust-docopt-0.8 - (package - (inherit rust-docopt-1) - (name "rust-docopt") - (version "0.8.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "docopt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jha611mffc2qnxvdl3pmglz07akl99lk1vihhb3nl1cd69x7b6q")))) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-strsim" ,rust-strsim-0.6)))))) - (define-public rust-docopt-0.7 (package (inherit rust-docopt-1) @@ -23055,29 +20044,6 @@ O(1)-in-practice, if not in theory, but obviously not as fast as a non-persistent vector.") (license (list license:asl2.0 license:expat)))) -(define-public rust-dot-0.1 - (package - (name "rust-dot") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "dot" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01jr7px6anh3yasz8cbbr9ij989gnwb3qdk4852mzzqw996nqjx7")))) - (build-system cargo-build-system) - (home-page - "https://github.com/GrahamDennis/dot-rust") - (synopsis - "Library for generating Graphviz DOT language files for graphs") - (description - "This package provides a library for generating Graphviz DOT language files -for graphs.") - (license (list license:expat license:asl2.0)))) - (define-public rust-dot-writer-0.1 (package (name "rust-dot-writer") @@ -23216,29 +20182,6 @@ Rust.") (description "Graphics state blocks for gfx-rs.") (license license:asl2.0))) -(define-public rust-drop-bomb-0.1 - (package - (name "rust-drop-bomb") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "drop_bomb" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1qc59a53ngwxpnbvl8xidp2cmwrl671dhbzw7zijmjjaq0hqxnlv")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/matklad/drop_bomb") - (synopsis - "Runtime guard for implementing linear types") - (description - "This package provides a runtime guard for implementing linear types.") - (license (list license:expat license:asl2.0)))) - (define-public rust-dtoa-0.4 (package (name "rust-dtoa") @@ -23342,52 +20285,6 @@ Rust.") "A library for running child processes.") (license license:expat))) -(define-public rust-duct-0.8 - (package - (inherit rust-duct-0.13) - (name "rust-duct") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "duct" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0p06yslfi1wa68c2x068wmi9pr2mzmm64d6qwq8zba58w1gs2np4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-error-chain" ,rust-error-chain-0.8) - ("rust-lazycell" ,rust-lazycell-0.5) - ("rust-os-pipe" ,rust-os-pipe-0.5) - ("rust-shared-child" ,rust-shared-child-0.2)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))))) - -(define-public rust-dunce-1 - (package - (name "rust-dunce") - (version "1.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "dunce" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fqcbwfclldbknmawi69l6zyncaiqzxkpbybcb2cc7jmlxnqrkjn")))) - (build-system cargo-build-system) - (home-page "https://gitlab.com/kornelski/dunce") - (synopsis "Normalize Windows paths to the most compatible format") - (description - "This crate converts Windows UNC paths to the MS-DOS-compatible format -whenever possible, but leaves UNC paths as-is when they can't be unambiguously -expressed in a simpler way. This allows legacy programs to access all paths -they can possibly access, and doesn't break any paths for UNC-aware -programs.") - (license (list license:cc0 license:expat-0 license:asl2.0)))) - (define-public rust-dyn-clone-1 (package (name "rust-dyn-clone") @@ -23498,39 +20395,6 @@ from the main thread.") easy.") (license (list license:unlicense license:zlib)))) -(define-public rust-eax-0.5 - (package - (name "rust-eax") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "eax" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0a5cpzk577f1lw3wkk20iqvavnbdr5yzjrcglvbvk0ivj2yzlm4r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aead" ,rust-aead-0.5) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-cmac" ,rust-cmac-0.7) - ("rust-ctr" ,rust-ctr-0.9) - ("rust-subtle" ,rust-subtle-2)) - #:cargo-development-inputs - (("rust-aead" ,rust-aead-0.5) - ("rust-aes" ,rust-aes-0.8)))) - (home-page "https://github.com/RustCrypto/AEADs") - (synopsis "Pure Rust implementation of the EAX Authenticated Encryption with -Associated Data (AEAD)") - (description - "Pure Rust implementation of the EAX Authenticated Encryption with Associated -Data (AEAD) Cipher with optional architecture-specific hardware acceleration -This scheme is only based on a block cipher. It uses counter mode (CTR) for -encryption and CBC mode for generating a OMAC/CMAC/CBCMAC (all names for the -same thing).") - (license (list license:asl2.0 license:expat)))) - (define-public rust-ecb-0.1 (package (name "rust-ecb") @@ -23555,169 +20419,6 @@ same thing).") (description "Electronic Codebook (ECB) block cipher mode of operation") (license license:expat))) -(define-public rust-ecdsa-0.16 - (package - (name "rust-ecdsa") - (version "0.16.6") - (source (origin - (method url-fetch) - (uri (crate-uri "ecdsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1zapr75j8w1b7bdnijppb94f2jrk2qdrhv8i4fqc0c4agd9mv3m4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-der" ,rust-der-0.7) - ("rust-digest" ,rust-digest-0.10) - ("rust-elliptic-curve" ,rust-elliptic-curve-0.13) - ("rust-rfc6979" ,rust-rfc6979-0.4) - ("rust-serdect" ,rust-serdect-0.2) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-signature" ,rust-signature-2)) - #:cargo-development-inputs - (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) - ("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/RustCrypto/signatures/tree/master/ecdsa") - (synopsis "Pure Rust implementation of the ECDSA algorithm") - (description - "This package provides a pure Rust implementation of the @dfn{Elliptic -Curve Digital Signature Algorithm} (ECDSA) as specified in FIPS 186-4 (Digital -Signature Standard), providing RFC6979 deterministic signatures as well as -support for added entropy.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-ecies-ed25519-0.5 - (package - (name "rust-ecies-ed25519") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ecies-ed25519" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1nrmam79mn2y6b235rpq6lhlsfl63275j2yxps86424gh99j720a")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aes-gcm" ,rust-aes-gcm-0.8) - ("rust-curve25519-dalek" ,rust-curve25519-dalek-3) - ("rust-digest" ,rust-digest-0.9) - ("rust-hex" ,rust-hex-0.4) - ("rust-hkdf" ,rust-hkdf-0.10) - ("rust-rand" ,rust-rand-0.7) - ("rust-ring" ,rust-ring-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://github.com/phayes/ecies-ed25519") - (synopsis - "Integrated encryption scheme on Twisted Edwards Curve25519") - (description - "ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ed25519-1 - (package - (name "rust-ed25519") - (version "1.5.3") - (source (origin - (method url-fetch) - (uri (crate-uri "ed25519" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rzydm5wd8szkddx3g55w4vm86y1ika8qp8qwckada5vf1fg7kwi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-pkcs8" ,rust-pkcs8-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-signature" ,rust-signature-1) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-rand-core" ,rust-rand-core-0.5)))) - (home-page "https://github.com/RustCrypto/signatures/tree/master/ed25519") - (synopsis "Edwards Digital Signature Algorithm (EdDSA) over Curve25519") - (description - "EdDSA over Curve25519 is specified in RFC 8032. This package contains -an ed25519::Signature type which other packages can use in conjunction with -the signature::Signer and signature::Verifier traits It doesn't contain an -implementation of Ed25519. - -These traits allow packages which produce and consume Ed25519 signatures to be -written abstractly in such a way that different signer/verifier providers can -be plugged in, enabling support for using different Ed25519 implementations, -including HSMs or Cloud KMS services.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-ed25519-compact-2 - (package - (name "rust-ed25519-compact") - (version "2.0.4") - (source (origin - (method url-fetch) - (uri (crate-uri "ed25519-compact" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0k4y7bjl5g0l871iav4zj35qx047n0a4qsvhr28p6434hhp3hgba")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ct-codecs" ,rust-ct-codecs-1) - ("rust-ed25519" ,rust-ed25519-1) - ("rust-getrandom" ,rust-getrandom-0.2)) - #:cargo-development-inputs - (("rust-ct-codecs" ,rust-ct-codecs-1) - ("rust-getrandom" ,rust-getrandom-0.2)))) - (home-page "https://github.com/jedisct1/rust-ed25519-compact") - (synopsis "Wasm-friendly Ed25519 implementation") - (description - "This package provides a small, self-contained, wasm-friendly Ed25519 -implementation.") - (license license:expat))) - -(define-public rust-ed25519-dalek-1 - (package - (name "rust-ed25519-dalek") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ed25519-dalek" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17bsriciv93nkm39z22w7mr0h2a3hnbmgf378v4c895gvkkblqn7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) - ("rust-ed25519" ,rust-ed25519-1) - ("rust-merlin" ,rust-merlin-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://dalek.rs") - (synopsis "Ed25519 EdDSA key generations, signing, and verification") - (description - "This package provides fast and efficient ed25519 EdDSA key generations, -signing, and verification in pure Rust.") - (license license:bsd-3))) - (define-public rust-edit-distance-2 (package (name "rust-edit-distance") @@ -23741,6 +20442,30 @@ signing, and verification in pure Rust.") "Levenshtein edit distance between strings, a measure for similarity.") (license license:asl2.0))) +(define-public rust-editdistancek-1 + (package + (name "rust-editdistancek") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "editdistancek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04r6lfq9sfz3wqhqm6fzfcqbj8w16y8bh0x6kzkgkimislixy0iy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-levenshtein" ,rust-levenshtein-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-triple-accel" ,rust-triple-accel-0.4)))) + (home-page "https://github.com/nkkarpov/editdistancek") + (synopsis "Fast algorithm for computing edit distance") + (description + "This crate provides fast algorithm for computing edit distance.") + (license license:expat))) + (define-public rust-ego-tree-0.6 (package (name "rust-ego-tree") @@ -23762,16 +20487,14 @@ signing, and verification in pure Rust.") (define-public rust-either-1 (package (name "rust-either") - (version "1.8.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (crate-uri "either" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "15z70yaivlkpx27vzv99ibf8d2x5jp24yn69y0xi20w86v4c3rch")))) + (base32 "0jiyq2mc1aa5b8whwl1bhm11i06xxcbk9ck7macxxggzjk07l58i")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -23784,6 +20507,23 @@ signing, and verification in pure Rust.") @code{Right} is a general purpose sum type with two cases.") (license (list license:expat license:asl2.0)))) +(define-public rust-elain-0.3 + (package + (name "rust-elain") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "elain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wgpyy0m48vdnrip0f4x1h8w4bp2lxgy8pqk78qwhrbxmr7hj8im")))) + (build-system cargo-build-system) + (home-page "https://docs.rs/elain/latest/elain/") + (synopsis "Set a type's minimum alignment with const generics") + (description "Set a type's minimum alignment with const generics.") + (license (list license:expat license:asl2.0)))) + (define-public rust-elf-0.0.10 (package (name "rust-elf") @@ -23806,50 +20546,6 @@ signing, and verification in pure Rust.") "This package provides a pure-Rust library for parsing ELF files.") (license (list license:expat license:asl2.0)))) -(define-public rust-elliptic-curve-0.13 - (package - (name "rust-elliptic-curve") - (version "0.13.4") - (source (origin - (method url-fetch) - (uri (crate-uri "elliptic-curve" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rqn7yq9rgfs7r0dcj4phxf9hqmw2alfxa0lciamsbkz6sm1xivm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-base16ct" ,rust-base16ct-0.2) - ("rust-base64ct" ,rust-base64ct-1) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.5) - ("rust-digest" ,rust-digest-0.10) - ("rust-ff" ,rust-ff-0.13) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-group" ,rust-group-0.13) - ("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) - ("rust-pkcs8" ,rust-pkcs8-0.10) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-sec1" ,rust-sec1-0.7) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serdect" ,rust-serdect-0.2) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-sha3" ,rust-sha3-0.10)))) - (home-page - "https://github.com/RustCrypto/traits/tree/master/elliptic-curve") - (synopsis "General purpose Elliptic Curve Cryptography (ECC) support") - (description - "This package provides general purpose @dfn{Elliptic Curve Cryptography} -(ECC) support, including types and traits for representing various elliptic -curve forms, scalars, points, and public/secret keys composed thereof.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-emacs-0.18 (package (name "rust-emacs") @@ -23973,21 +20669,26 @@ Emacs' support for dynamic modules.") (license license:bsd-3))) (define-public rust-emacs-module-0.10 - (package (inherit rust-emacs-module-0.18) + (package + (inherit rust-emacs-module-0.18) (name "rust-emacs-module") (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "emacs_module" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gf9lz735xbkyir53dyv362drfx3nin5an5cx39kd8q8kjjwix5g")))) + "1gf9lz735xbkyir53dyv362drfx3nin5an5cx39kd8q8kjjwix5g")) + (modules '((guix build utils))) + (snippet + ;; Force a newer version of bindgen. + '(begin (substitute* "Cargo.toml" + (("0\\.48\\.1") "0.59")))))) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.48)))))) + (("rust-bindgen" ,rust-bindgen-0.59)))))) (define-public rust-emacs-org-link-parser-0.1 (package @@ -24065,73 +20766,49 @@ transport methods, unicode support, secure delivery with SMTP using encryption and authentication, easy email builders, and async support.") (license license:expat))) -(define-public rust-embed-resource-1 - (package - (name "rust-embed-resource") - (version "1.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "embed-resource" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-toml" ,rust-toml-0.5) - ("rust-vswhom" ,rust-vswhom-0.1) - ("rust-winreg" ,rust-winreg-0.10)))) - (home-page "https://github.com/nabijaczleweli/rust-embed-resource") - (synopsis - "Cargo library to handle compilation and inclusion of Windows resources") - (description - "This package provides a Cargo library to handle compilation and -inclusion of Windows resources in the most resilient fashion imaginable.") - (license license:expat))) - -(define-public rust-embedded-hal-0.2 +(define-public rust-emojis-0.5 (package - (name "rust-embedded-hal") - (version "0.2.6") + (name "rust-emojis") + (version "0.5.3") (source (origin (method url-fetch) - (uri (crate-uri "embedded-hal" version)) + (uri (crate-uri "emojis" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1faa71mvs9zklyiiy9l5br9f2bwmxwak0br7jb49cr8mzxignv73")))) + (base32 "0pdrhzlx53ksb41dx3qjl6qg9nj711vj28r8d92pv0lij5sbq1rl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nb" ,rust-nb-0.1) - ("rust-void" ,rust-void-1)))) - (home-page "https://github.com/rust-embedded/embedded-hal") - (synopsis "Hardware Abstraction Layer (HAL) for embedded systems") - (description "This package provides a Hardware Abstraction Layer (HAL) for -embedded systems.") + `(#:cargo-inputs (("rust-phf" ,rust-phf-0.11)))) + (home-page "https://github.com/rossmacarthur/emojis") + (synopsis "Lookup emoji in O(1) time") + (description + "Lookup emoji in O(1) time, access metadata and @code{GitHub} shortcodes, +iterate over all emoji, and more.") (license (list license:expat license:asl2.0)))) (define-public rust-empfindung-0.2 (package (name "rust-empfindung") - (version "0.2.4") + (version "0.2.6") (source (origin (method url-fetch) (uri (crate-uri "empfindung" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h68h3sxsa79a47jag3yim5jm63ffz72ifj46xkn12j2s5nss85l")))) + (base32 "1pxh4r196qfv1y1qlp9fn210sj75whaqa61fdasjd9ml6bn9bw4a")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-lab" ,rust-lab-0.11) + ("rust-rgb" ,rust-rgb-0.8)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-lab" ,rust-lab-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6) ("rust-rgb" ,rust-rgb-0.8)))) (home-page "https://github.com/mina86/empfindung") (synopsis "Rust implementation of the CIEDE2000 colour difference") @@ -24498,8 +21175,32 @@ unescapes strings.") from HTML entities.") (license license:expat))) +(define-public rust-enum-as-inner-0.6 + (package + (name "rust-enum-as-inner") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-as-inner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sjl5z0ycicpxg88qnn57m6sxi3ny9fl7b7vz0pb61bcjsvcpz2z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/bluejekyll/enum-as-inner") + (synopsis "Proc-macro for deriving inner field accessor functions on enums") + (description "This package provides a proc-macro for deriving inner field +accessor functions on enums.") + (license (list license:expat license:asl2.0)))) + (define-public rust-enum-as-inner-0.5 (package + (inherit rust-enum-as-inner-0.6) (name "rust-enum-as-inner") (version "0.5.1") (source @@ -24509,18 +21210,12 @@ from HTML entities.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05m1frlkgrikja714zxb97i00rhj36zlifiwiby7ymkx0jx0nwn9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/bluejekyll/enum-as-inner") - (synopsis "Proc-macro for deriving inner field accessor functions on enums") - (description "This package provides a proc-macro for deriving inner field -accessor functions on enums.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-enum-as-inner-0.3 (package @@ -24622,6 +21317,50 @@ accessor functions on enums.") increasing their method call speed up to 10x.") (license (list license:expat license:asl2.0)))) +(define-public rust-enum-iterator-1 + (package + (name "rust-enum-iterator") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-iterator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12g63d7w5vpq964f7fbnahw2qiqsml3f9j3rxrk6f1yxnmrkipbs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-enum-iterator-derive" ,rust-enum-iterator-derive-1)))) + (home-page "https://github.com/stephaneyfx/enum-iterator") + (synopsis + "Tools to iterate over all values of a type (e.g. all variants of an +enumeration)") + (description + "This package provides tools to iterate over all values of a +type (e.g. all variants of an enumeration)") + (license license:bsd-0))) + +(define-public rust-enum-iterator-derive-1 + (package + (name "rust-enum-iterator-derive") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-iterator-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jzxgfhz4i0hvnw5qzqhwscky8vsmxljv89g0navisacay4qbkzf")))) + (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/stephaneyfx/enum-iterator") + (synopsis "Procedural macro to derive Sequence") + (description "This package provides a procedural macro to derive Sequence.") + (license license:bsd-0))) + (define-public rust-enum-map-derive-0.4 (package (name "rust-enum-map-derive") @@ -24900,32 +21639,51 @@ compact sets of enums.") @code{rust-enumset}. It is not public API.") (license (list license:expat license:asl2.0)))) -(define-public rust-env-logger-0.10 +(define-public rust-env-logger-0.11 (package (name "rust-env-logger") - (version "0.10.0") + (version "0.11.2") (source (origin (method url-fetch) (uri (crate-uri "env_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w797qgkrmqdacsbc0j6yvpnmvfc9lx6k8fm79rndkxci5mapkc5")))) + (base32 "07932957jds3h7vh2bddhvfffax78dw6jlyx4k2fy1gnlwk2l0bc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-humantime" ,rust-humantime-2) - ("rust-is-terminal" ,rust-is-terminal-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-termcolor" ,rust-termcolor-1)))) - (home-page "https://github.com/sebasmagri/env_logger/") + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-env-filter" ,rust-env-filter-0.1) + ("rust-humantime" ,rust-humantime-2) + ("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/rust-cli/env_logger") (synopsis "Logging implementation for @code{log}") (description "This package provides a logging implementation for @code{log} which is configured via an environment variable.") (license (list license:expat license:asl2.0)))) +(define-public rust-env-logger-0.10 + (package + (inherit rust-env-logger-0.11) + (name "rust-env-logger") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kmy9xmfjaqfvd4wkxr1f7d16ld3h9b487vqs2q9r0s8f3kg7cwm")))) + (arguments + `(#:cargo-inputs + (("rust-humantime" ,rust-humantime-2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-termcolor" ,rust-termcolor-1)))))) + (define-public rust-env-logger-0.9 (package (inherit rust-env-logger-0.10) @@ -25073,6 +21831,26 @@ is configured via an environment variable.") (("rust-regex" ,rust-regex-0.1) ("rust-log" ,rust-log-0.3)))))) +(define-public rust-env-filter-0.1 + (package + (name "rust-env-filter") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1spp4jx0fissi0bg00d8nn4vnjwf6y3hr7d0vmcq65gb214al2d0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/rust-cli/env_logger") + (synopsis "Filter log events using environment variables") + (description "Filter log events using environment variables.") + (license (list license:expat license:asl2.0)))) + (define-public rust-env-proxy-0.4 (package (name "rust-env-proxy") @@ -25140,20 +21918,44 @@ variables.") deserialized from environment variables.") (license license:expat))) +(define-public rust-erased-serde-0.4 + (package + (name "rust-erased-serde") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "erased-serde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02kwm9a115ivksjsgv4l17mryf626yk7g14wq6jx6sz07ycg1nsa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) + ("rust-serde-cbor" ,rust-serde-cbor-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/dtolnay/erased-serde") + (synopsis "Type-erased Serialize and Serializer traits") + (description + "Type-erased Serialize and Serializer traits.") + (license (list license:expat license:asl2.0)))) + (define-public rust-erased-serde-0.3 (package + (inherit rust-erased-serde-0.4) (name "rust-erased-serde") (version "0.3.24") (source (origin (method url-fetch) (uri (crate-uri "erased-serde" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zdaj96bf39h75rkdxkd1znik97s3j7m8ppgbxxfq5y0h59n1jp4")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -25162,30 +21964,24 @@ deserialized from environment variables.") ("rust-serde-cbor" ,rust-serde-cbor-0.11) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/dtolnay/erased-serde") - (synopsis "Type-erased Serialize and Serializer traits") - (description - "Type-erased Serialize and Serializer traits.") - (license (list license:asl2.0 license:expat)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-errno-0.3 (package (name "rust-errno") - (version "0.3.1") + (version "0.3.8") (source (origin (method url-fetch) (uri (crate-uri "errno" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0fp7qy6fwagrnmi45msqnl01vksqwdb2qbbv60n9cz7rf0xfrksb")))) + "0ia28ylfsp36i27g1qih875cyyy4by2grf80ki8vhgh6vinf8n52")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-errno-dragonfly" ,rust-errno-dragonfly-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (("rust-libc" ,rust-libc-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://github.com/lambda-fairy/rust-errno") (synopsis "Cross-platform interface to the @code{errno} variable") (description @@ -25216,22 +22012,19 @@ deserialized from environment variables.") (define-public rust-errno-dragonfly-0.1 (package (name "rust-errno-dragonfly") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "errno-dragonfly" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0rshlc00nv45f14v2l1w0ma2nf1jg5j7q9pvw7hh018r6r73bjhl")))) + (base32 "1grrmcm6q8512hkq5yzch3yv8wafflc2apbmsaabiyk44yqz2s5a")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-gcc" ,rust-gcc-0.3)))) + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/mneumann/errno-dragonfly-rs") (synopsis "Exposes errno functionality to stable Rust on DragonFlyBSD") (description @@ -25300,24 +22093,6 @@ deserialized from environment variables.") `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)))))) -(define-public rust-error-chain-0.8 - (package - (inherit rust-error-chain-0.11) - (name "rust-error-chain") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "error-chain" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ijxazr966gjvckl3yrkcziazk3ryrfc466m84p9m2iq314y0c39")))) - (arguments - `(#:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3)))))) - (define-public rust-error-code-2 (package (name "rust-error-code") @@ -25413,76 +22188,32 @@ decoding.") (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-ethbloom-0.11 +(define-public rust-etcetera-0.8 (package - (name "rust-ethbloom") - (version "0.11.1") + (name "rust-etcetera") + (version "0.8.0") (source (origin (method url-fetch) - (uri (crate-uri "ethbloom" version)) + (uri (crate-uri "etcetera" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y73c4v60jy6wc4gssrg775y6vzc4axn523qkxswbxm8iyn89dmz")))) + (base32 "0hxrsn75dirbjhwgkdkh0pnpqrnq17ypyhjpjaypgax1hd91nv8k")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-crunchy" ,rust-crunchy-0.2) - ("rust-fixed-hash" ,rust-fixed-hash-0.7) - ("rust-impl-codec" ,rust-impl-codec-0.5) - ("rust-impl-rlp" ,rust-impl-rlp-0.3) - ("rust-impl-serde" ,rust-impl-serde-0.3) - ("rust-scale-info" ,rust-scale-info-1) - ("rust-tiny-keccak" ,rust-tiny-keccak-2)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "Ethereum bloom filter") - (description "This Rust library implements the Ethereum bloom filter.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ethereum-types-0.12 - (package - (name "rust-ethereum-types") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ethereum-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bxxacsmb9majw7vd4sndv4dhw3g9srhf7flwq39yy7yaxq6y4q5")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t)) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "Rust crate exporting some Ethereum types") - (description "This crate exports Rust types for values in the Ethereum -ecosystem.") + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-home" ,rust-home-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/lunacookies/etcetera") + (synopsis + "Library for obtaining configuration, data, cache, & other directories") + (description + "This is a Rust library that allows you to determine the locations of +configuration, data, cache & other files for your application. Existing Rust +libraries generally do not give you a choice in terms of which standards/conventions +they follow. Etcetera, on the other hand, gives you the choice.") (license (list license:expat license:asl2.0)))) -(define-public rust-ethereum-types-serialize-0.2 - (package - (name "rust-ethereum-types-serialize") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ethereum-types-serialize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0l53rvzvwpxwkl7i3f9q5fafw663rcm5z4mdknkr265w69xxfwqq")))) - (build-system cargo-build-system) - (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/paritytech/primitives") - (synopsis "Rust library of Ethereum types") - (description "This package is a Rust library of Ethereum types.") - (license license:expat))) - (define-public rust-evdev-0.12 (package (name "rust-evdev") @@ -25510,28 +22241,36 @@ ecosystem.") #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/cmr/evdev") + (home-page "https://github.com/emberian/evdev") (synopsis "Rust interface to Linux event devices") (description "This package provides evdev interface for Linux.") (license (list license:asl2.0 license:expat)))) -(define-public rust-event-listener-2 +(define-public rust-event-listener-4 (package (name "rust-event-listener") - (version "2.5.3") + (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 "1q4w3pndc518crld6zsqvvpy9lkzwahp2zgza9kbzmmqh9gif1h2")))) + (base32 "0vk4smw1vf871vi76af1zn7w69jg3zmpjddpby2qq91bkg21bck7")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-waker-fn" ,rust-waker-fn-1)))) - (home-page "https://github.com/stjepang/event-listener") + `(#: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)))) + (home-page "https://github.com/smol-rs/event-listener") (synopsis "Notify async tasks or threads") (description "This is a synchronization primitive similar to @code{eventcounts}. @@ -25539,6 +22278,71 @@ 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-3 + (package + (inherit rust-event-listener-4) + (name "rust-event-listener") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "event-listener" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hihkg6ihvb6p9yi7nq11di8mhd5y0iqv81ij6h0rf0fvsy7ff6r")))) + (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.4) + ("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-2 + (package + (inherit rust-event-listener-4) + (name "rust-event-listener") + (version "2.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "event-listener" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q4w3pndc518crld6zsqvvpy9lkzwahp2zgza9kbzmmqh9gif1h2")))) + (arguments + `(#:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-waker-fn" ,rust-waker-fn-1)))))) + +(define-public rust-event-listener-strategy-0.4 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/smol-rs/event-listener") + (synopsis "Block or poll on event_listener") + (description "This package provides block and poll on event_listener.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-executable-path-1 (package (name "rust-executable-path") @@ -25747,34 +22551,6 @@ testing.") like Don libes expect.") (license license:expat))) -(define-public rust-extend-0.1 - (package - (name "rust-extend") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "extend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01azyniinxrwng13hkj450gplp1ajslbqzksjg4dk6655sks6zgl")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" "--skip=test::test_ui" ) - #:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/davidpdrsn/extend") - (synopsis "Create extensions for types you don't own") - (description - "This crates creates extensions for types you don't own with extension -traits but without the boilerplate.") - (license license:expat))) - (define-public rust-eyre-0.6 (package (name "rust-eyre") @@ -25956,20 +22732,6 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-fallible-iterator-0.1 - (package - (inherit rust-fallible-iterator-0.2) - (name "rust-fallible-iterator") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "fallible-iterator" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bpp2812lxm9fjv082dsy70ggsfg40nhqva7nxr5dp0j9091fwpb")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-fallible-streaming-iterator-0.1 (package (name "rust-fallible-streaming-iterator") @@ -25987,23 +22749,24 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (description "Fallible streaming iteration") (license (list license:expat license:asl2.0)))) -(define-public rust-fancy-regex-0.7 +(define-public rust-fancy-regex-0.11 (package (name "rust-fancy-regex") - (version "0.7.1") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "fancy-regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1krwc8mbj8zv4ahvh3lqkmfxf38cg79ya02by19fn4jil1h8aswx")))) + (base32 "18j0mmzfycibhxhhhfja00dxd1vf8x5c28lbry224574h037qpxr")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bit-set" ,rust-bit-set-0.5) - ("rust-regex" ,rust-regex-1)))) + `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.5) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-matches" ,rust-matches-0.1) + ("rust-quickcheck" ,rust-quickcheck-1)))) (home-page "https://github.com/fancy-regex/fancy-regex") (synopsis "Implementation of regexes with a rich set of features") (description @@ -26014,6 +22777,24 @@ implement features such as look-around and backtracking, which are not supported in purely NFA-based implementations.") (license license:expat))) +(define-public rust-fancy-regex-0.7 + (package + (inherit rust-fancy-regex-0.11) + (name "rust-fancy-regex") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "fancy-regex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1krwc8mbj8zv4ahvh3lqkmfxf38cg79ya02by19fn4jil1h8aswx")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bit-set" ,rust-bit-set-0.5) + ("rust-regex" ,rust-regex-1)))))) + (define-public rust-fast-chemail-0.9 (package (name "rust-fast-chemail") @@ -26036,29 +22817,35 @@ supported in purely NFA-based implementations.") is defined in the HTML specification.") (license license:mpl2.0))) -(define-public rust-fast-float-0.2 +(define-public rust-faster-hex-0.9 (package - (name "rust-fast-float") - (version "0.2.0") + (name "rust-faster-hex") + (version "0.9.0") (source (origin (method url-fetch) - (uri (crate-uri "fast-float" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "faster-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0g7kfll3xyh99kc7r352lhljnwvgayxxa6saifb6725inikmyxlm")))) + (base32 "10wi4vqbdpkamw4qvra1ijp4as2j7j1zc66g4rdr6h0xv8gb38m2")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/aldanor/fast-float-rust") - (synopsis "Fast floating-point number parser") - (description - "This crate provides a fast decimal number parser from strings into -floats.") - (license (list license:expat license:asl2.0)))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-hex" ,rust-hex-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-rustc-hex" ,rust-rustc-hex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/NervosFoundation/faster-hex") + (synopsis "Fast hex encoding") + (description "Fast hex encoding.") + (license license:expat))) (define-public rust-faster-hex-0.8 (package + (inherit rust-faster-hex-0.9) (name "rust-faster-hex") (version "0.8.1") (source @@ -26068,7 +22855,6 @@ floats.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "12ikld53h5d682rn1j85d77n90pq4vy5mncwdaqhm0hgjgxpp7r3")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -26079,11 +22865,7 @@ floats.") ("rust-proptest" ,rust-proptest-1) ("rust-rustc-hex" ,rust-rustc-hex-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/nervosnetwork/faster-hex") - (synopsis "Fast hex encoding") - (description "Fast hex encoding.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-fastq-0.6 (package @@ -26170,31 +22952,6 @@ floats.") ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) ("rust-wyhash" ,rust-wyhash-0.5)))))) -(define-public rust-fat-macho-0.4 - (package - (name "rust-fat-macho") - (version "0.4.7") - (source (origin - (method url-fetch) - (uri (crate-uri "fat-macho" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ywr3xqi884i12d5mfidbma1hrd4rxj9f8jw7p4bignagmy13yk3")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "tests/fixtures"))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Test files removed. - #:cargo-inputs - (("rust-goblin" ,rust-goblin-0.7) - ("rust-llvm-bitcode" ,rust-llvm-bitcode-0.1)))) - (home-page "https://github.com/messense/fat-macho-rs.git") - (synopsis "Mach-O Fat Binary Reader and Writer") - (description "This package provides a Mach-O Fat Binary Reader and Writer.") - (license license:expat))) - (define-public rust-fd-lock-3 (package (name "rust-fd-lock") @@ -26543,8 +23300,6 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed") #:cargo-inputs `(("rust-libflate" ,rust-libflate-1) ("rust-tar" ,rust-tar-0.4) ("rust-ureq" ,rust-ureq-2)))) - ; perl required for building rust-ring - (inputs (list perl)) (home-page "https://github.com/katyo/fetch_unroll") (synopsis "Simple utilities for fetching and unrolling .tar.gz archives") (description @@ -26616,6 +23371,26 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed") interfacing with finite fields.") (license (list license:expat license:asl2.0)))) +(define-public rust-ff-0.12 + (package + (inherit rust-ff-0.13) + (name "rust-ff") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q3imz4m3dj2cy182i20wa8kbclgj13ddfngqb2miicc6cjzq4yh")))) + (arguments + `(#:cargo-inputs (("rust-bitvec" ,rust-bitvec-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-ff-derive" ,rust-ff-derive-0.12) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-ff-derive-0.13 (package (name "rust-ff-derive") @@ -26646,6 +23421,28 @@ interfacing with finite fields.") prime field implementations in rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-ff-derive-0.12 + (package + (inherit rust-ff-derive-0.13) + (name "rust-ff-derive") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ff_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jvqilpzzbw3j3sh1sf0914n2l4v020iifmgvglnc7wgfjh6znqp")))) + (arguments + `(#:cargo-inputs (("rust-addchain" ,rust-addchain-0.2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-fiat-crypto-0.1 (package (name "rust-fiat-crypto") @@ -26804,6 +23601,49 @@ representation.") implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-find-crate-0.6 + (package + (name "rust-find-crate") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "find-crate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ljpkh11gj7940xwz47xjhsvfbl93c2q0ql7l2v0w77amjx8paar")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-toml" ,rust-toml-0.5)) + #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-semver" ,rust-semver-0.11)))) + (home-page "https://github.com/taiki-e/find-crate") + (synopsis "Find the crate name from the current @code{Cargo.toml}") + (description + "This package provides finding the crate name from the current +@code{Cargo.toml}.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-find-cuda-helper-0.2 + (package + (name "rust-find-cuda-helper") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "find_cuda_helper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bdxg8bmcqvnxb43y6bn2xnhszyi9bm0kndagp3iml1xb5ffdygr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glob" ,rust-glob-0.3)))) + (home-page "https://github.com/Rust-GPU/Rust-CUDA") + (synopsis "Helper crate for searching for CUDA libraries") + (description "Helper crate for searching for CUDA libraries.") + (license (list license:expat license:asl2.0)))) + (define-public rust-findshlibs-0.10 (package (name "rust-findshlibs") @@ -26833,30 +23673,25 @@ cross platform API.") (define-public rust-fixed-1 (package (name "rust-fixed") - (version "1.2.0") + (version "1.24.0") (source (origin (method url-fetch) (uri (crate-uri "fixed" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0p0v4jjgbbvp91sl8rkfqb2hldaxbzv89mzwmp8753mlrfqwn185")))) + (base32 "0zbfwzk4mrfbawpx2ahz533bkb97jzihv7fxiyhpmwf0wzkrrih2")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-az" ,rust-az-1) + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-az" ,rust-az-1) + ("rust-borsh" ,rust-borsh-0.10) + ("rust-bytemuck" ,rust-bytemuck-1) ("rust-half" ,rust-half-1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1) - ("rust-typenum" ,rust-typenum-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.4)))) + ("rust-typenum" ,rust-typenum-1)))) (home-page "https://gitlab.com/tspiteri/fixed") (synopsis "Rust fixed-point numbers") (description "This package provides fixed-point numbers in Rust.") @@ -27037,66 +23872,43 @@ test multiple times.") "A procedural macro to insert @code{flame::start_guard(_)} calls.") (license license:asl2.0))) -(define-public rust-flamer-0.3 - (package - (inherit rust-flamer-0.4) - (name "rust-flamer") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "flamer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b2d7jx80f3p7hqpgdi7wksaiq18k9w23p0cs2sxf7jbx2jx3bgj")))) - (arguments - `(#:tests? #f ; Uses features not available in stable Rust release - #:cargo-inputs - (("rust-flame" ,rust-flame-0.2) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))))) - -(define-public rust-flatbuffers-2 +(define-public rust-flatbuffers-23 (package (name "rust-flatbuffers") - (version "2.0.0") + (version "23.5.26") (source (origin (method url-fetch) (uri (crate-uri "flatbuffers" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g")))) + (base32 "0h46mg8yb9igda4ff5dajkzc6k5mf4ix472asqb8rmv24ki57b2d")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://google.github.io/flatbuffers/") + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://flatbuffers.dev/") (synopsis "FlatBuffers Rust serialization library") (description "This crates provides FlatBuffers runtime serialization library.") (license license:asl2.0))) -(define-public rust-flatbuffers-0.8 +(define-public rust-flatbuffers-2 (package - (inherit rust-flatbuffers-2) + (inherit rust-flatbuffers-23) (name "rust-flatbuffers") - (version "0.8.4") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "flatbuffers" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sc0ngk9xim7xgqydx36xz4a1sqxq2fv7fmqn6z76vbx5cs05if3")))) + (base32 "1xp5ppif0hvgh9kfvy1199gdmjc3dw1517022l1x3ynpphw5fk7g")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) @@ -27104,14 +23916,14 @@ test multiple times.") (define-public rust-flate2-1 (package (name "rust-flate2") - (version "1.0.27") + (version "1.0.28") (source (origin (method url-fetch) (uri (crate-uri "flate2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "045hvzdv3159qqjlgr5i3p4d346briddkipwyb5iv7ay17l8xjf6")))) + (base32 "03llhsh4gqdirnfxxb9g2w9n0721dyn4yjir3pz7z4vjaxb3yc26")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -27428,20 +24240,36 @@ implementation that is more efficient for smaller hash keys.") (license (list license:asl2.0 license:expat)))) -(define-public rust-font-kit-0.10 +(define-public rust-font-kit-0.11 (package (name "rust-font-kit") - (version "0.10.1") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "font-kit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a7fm757af2s9sk2i02plpa280mmygjmchcwpjclk1iqxiba3ja6")))) + (base32 "1rbcgpjvjs7vlfx5g3kww1qsp2djy1838ymcx7x8a41p9m82izi1")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=loaders::freetype::test::get_pcf_postscript_name" + "--skip=analyze_bytes" + "--skip=analyze_file" + "--skip=get_empty_glyph_outline" + "--skip=get_fully_hinted_glyph_outline" + "--skip=get_glyph_count" + "--skip=get_glyph_outline_eb_garamond_exclam" + "--skip=get_glyph_outline_inconsolata_J" + "--skip=get_glyph_raster_bounds" + "--skip=load_font_from_file" + "--skip=load_font_from_memory" + "--skip=load_fonts_from_opentype_collection" + "--skip=rasterize_empty_glyph" + "--skip=rasterize_empty_glyph_on_empty_canvas") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-byteorder" ,rust-byteorder-1) @@ -27457,14 +24285,53 @@ implementation that is more efficient for smaller hash keys.") ("rust-log" ,rust-log-0.4) ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5) ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5) - ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5) ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)))) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-yeslogic-fontconfig-sys" ,rust-yeslogic-fontconfig-sys-3)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-2) + ("rust-colored" ,rust-colored-1) + ("rust-pbr" ,rust-pbr-1) + ("rust-prettytable-rs" ,rust-prettytable-rs-0.8)))) + (native-inputs (list pkg-config)) + (inputs (list fontconfig)) (home-page "https://github.com/servo/font-kit") (synopsis "Font loading library") (description "This package provides a font loading library.") (license (list license:expat license:asl2.0)))) +(define-public rust-font-kit-0.10 + (package + (inherit rust-font-kit-0.11) + (name "rust-font-kit") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "font-kit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a7fm757af2s9sk2i02plpa280mmygjmchcwpjclk1iqxiba3ja6")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-core-text" ,rust-core-text-19) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-dwrote" ,rust-dwrote-0.11) + ("rust-float-ord" ,rust-float-ord-0.2) + ("rust-freetype" ,rust-freetype-0.7) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5) + ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5) + ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-foreign-types-0.5 (package (name "rust-foreign-types") @@ -27623,14 +24490,14 @@ the controling terminal (daemon) using the fork and setsid syscalls.") (define-public rust-form-urlencoded-1 (package (name "rust-form-urlencoded") - (version "1.2.0") + (version "1.2.1") (source (origin (method url-fetch) (uri (crate-uri "form_urlencoded" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ljn0kz23nr9yf3432k656k178nh4jqryfji9b0jw343dz7w2ax6")))) + (base32 "0milh8x7nl4f450s3ddhg57a3flcv6yq8hlkyk6fyr3mcb128dp1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -27790,6 +24657,53 @@ values to other threads.") (native-inputs (list pkg-config)))) +(define-public rust-from-variants-0.6 + (package + (name "rust-from-variants") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "from_variants" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qx4jmwljwmcdfc998ndf7iz8wyg7lmlc3vl3fy812f9lfqiw6i2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-from-variants-impl" ,rust-from-variants-impl-0.6)))) + (home-page "https://github.com/TedDriggs/from_variants") + (synopsis "Macro to generate conversions for newtype enums") + (description + "This package provides a Rust macro to automatically generate +conversions for newtype enums.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-from-variants-impl-0.6 + (package + (name "rust-from-variants-impl") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "from_variants_impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06i4bjjxbq6c4hlx2ly04s64d1972zkskshc2v4xx7n8lfghf23y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (home-page "https://github.com/TedDriggs/from_variants") + (synopsis "Internal helper crate for from_variants crate") + (description "This package is an internal helper crate for +from_variants crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fs2-0.4 (package (name "rust-fs2") @@ -27853,18 +24767,19 @@ various platforms.") (define-public rust-fs-err-2 (package (name "rust-fs-err") - (version "2.9.0") + (version "2.11.0") (source (origin (method url-fetch) (uri (crate-uri "fs-err" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ha5ysh5jz2hxlhmydc82pjcycps6ips4jyni41jy8cr48jzli88")))) + "0hdajzh5sjvvdjg0n15j91mv8ydvb7ff6m909frvdmg1bw81z948")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs - `(("rust-tokio" ,rust-tokio-1)) + `(("rust-autocfg" ,rust-autocfg-1) + ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs `(("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/andrewhickman/fs-err") @@ -27895,6 +24810,37 @@ more helpful error messages.") process and much more.") (license license:expat))) +(define-public rust-fsio-0.4 + (package + (name "rust-fsio") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l1nkb06s8xx84yrba5nj86wm80knv40bmy54nrl3i0cpqqcxl6s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dunce" ,rust-dunce-1) + ("rust-rand" ,rust-rand-0.8)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "http://github.com/sagiegurari/fsio") + (synopsis "File System and Path utility functions in Rust") + (description + "This crate contains utility functions for path, file and directory handling. +There are multiple main modules for fsio: + +@enumerate +@item @code{fsio::path}: Holds path related functions and traits. +@item @code{fsio::file}: File utility functions such as read_file, write_file, etc. +@item @code{fsio::directory}: Directory specific utility functions. +@end enumerate") + (license license:asl2.0))) + (define-public rust-fs-set-times-0.19 (package (name "rust-fs-set-times") @@ -27968,121 +24914,6 @@ with the filesystem.") "This package provides cross-platform file locks and file duplication.") (license (list license:expat license:asl2.0)))) -(define-public rust-fsevent-2 - (package - (name "rust-fsevent") - (version "2.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "fsevent" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qsylfbhgha319q6a8yvkznbm3hf47gy3y8nq82qijcm5hh4gwwp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-fsevent-sys" ,rust-fsevent-sys-3)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.2)))) - (home-page "https://github.com/octplane/fsevent-rust") - (synopsis "Rust bindings to the fsevent-sys macOS API") - (description - "This package provides Rust bindings to the @code{fsevent-sys} macOS API -for file changes notifications") - (license license:expat))) - -(define-public rust-fsevent-0.4 - (package - (inherit rust-fsevent-2) - (name "rust-fsevent") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fsevent" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1djxnc2fmv265xqf1iyfz56smh13v9r1p0w9125wjg6k3fyx3dss")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; only available on macOS - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-fsevent-sys" ,rust-fsevent-sys-2)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3) - ("rust-time" ,rust-time-0.1)))))) - -(define-public rust-fsevent-sys-4 - (package - (name "rust-fsevent-sys") - (version "4.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fsevent-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1liz67v8b0gcs8r31vxkvm2jzgl9p14i78yfqx81c8sdv817mvkn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys") - (synopsis "Rust bindings to the fsevent macOS API") - (description "This package provides Rust bindings to the @code{fsevent} -macOS API for file changes notifications") - (license license:expat))) - -(define-public rust-fsevent-sys-3 - (package - (inherit rust-fsevent-sys-4) - (name "rust-fsevent-sys") - (version "3.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fsevent-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mav57d1zcp4x17h0wprcr188d8yvxfz1c0f1z0p31q52xl5wvya")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-fsevent-sys-2 - (package - (inherit rust-fsevent-sys-3) - (name "rust-fsevent-sys") - (version "2.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "fsevent-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18246vxk7rqn52m0sfrhivxq802i34p2wqqx5zsa0pamjj5086zl")))) - (arguments - `(#:skip-build? #t ; only available on macOS - #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-fslock-0.2 (package (name "rust-fslock") @@ -28288,19 +25119,18 @@ stabilized, and eventually removed. This library reïnstates these traits.") (define-public rust-futures-0.3 (package (name "rust-futures") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0h7c1xvxk751c7xlnph6fh3rb77z4lig4qif7f8q79db2az2ld13")))) + "1c04g14bccmprwsvx2j9m2blhwrynq7vhl151lsvcv4gi0b6jp34")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; use of undeclared crate or module `futures_test` #:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) @@ -28346,19 +25176,18 @@ featuring zero allocations, composability, and iterator-like interfaces.") (define-public rust-futures-channel-0.3 (package (name "rust-futures-channel") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-channel" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wmm9wm5zjigxz61qkscmxp7c30zp08dy63spjz5pch9gva1hmcm")))) + "0y6b7xxqdjm9hlcjpakcg41qfl7lihf6gavk8fyqijsxhvbzgj7a")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; use of undeclared crate or module `futures` #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-sink" ,rust-futures-sink-0.3)))) @@ -28397,19 +25226,18 @@ featuring zero allocations, composability, and iterator-like interfaces.") (define-public rust-futures-core-0.3 (package (name "rust-futures-core") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-core" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "137fdxy5amg9zkpa1kqnj7bnha6b94fmddz59w973x96gqxmijjb")))) + "07aslayrn3lbggj54kci0ishmd1pr367fp7iks7adia1p05miinz")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; use of undeclared crate or module `futures` #:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1)))) (home-page "https://rust-lang.github.io/futures-rs") @@ -28467,19 +25295,18 @@ the computation on the threads themselves.") (define-public rust-futures-executor-0.3 (package (name "rust-futures-executor") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-executor" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1q468di96knnla72xdvswic1ir2qkrf5czsdigc5n4l86a1fxv6c")))) + "07dh08gs9vfll2h36kq32q9xd86xm6lyl9xikmmwlkqnmrrgqxm5")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; use of undeclared crate or module `futures` #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-task" ,rust-futures-task-0.3) @@ -28552,16 +25379,15 @@ intrusive collections.") (define-public rust-futures-io-0.3 (package (name "rust-futures-io") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-io" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0r4rhkdhq1my4fahlhz59barqa511bylq813w3w4gvbidq4p9zsg")))) + "1hgh25isvsr4ybibywhr4dpys8mjnscw4wfxxwca70cn1gi26im4")))) (build-system cargo-build-system) (home-page "https://rust-lang.github.io/futures-rs") (synopsis @@ -28617,8 +25443,38 @@ for the @code{futures-rs} library.") @code{try_join!} macro.") (license (list license:expat license:asl2.0)))) +(define-public rust-futures-lite-2 + (package + (name "rust-futures-lite") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1flj85i6xm0rjicxixmajrp6rhq8i4bnbzffmrd6h23ln8jshns4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-parking" ,rust-parking-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) + #:cargo-development-inputs (("rust-spin-on" ,rust-spin-on-0.1) + ("rust-waker-fn" ,rust-waker-fn-1)))) + (home-page "https://github.com/smol-rs/futures-lite") + (synopsis "Futures, streams, and async I/O combinators") + (description + "This crate is a subset of @code{futures} that compiles an order of +magnitude faster, fixes minor warts in its API, fills in some obvious gaps, +and removes almost all unsafe code from it.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-futures-lite-1 (package + (inherit rust-futures-lite-2) (name "rust-futures-lite") (version "1.13.0") (source @@ -28628,7 +25484,6 @@ for the @code{futures-rs} library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1kkbqhaib68nzmys2dc8j9fl2bwzf2s91jfk13lb2q3nwhfdbaa9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-1) @@ -28639,14 +25494,7 @@ for the @code{futures-rs} library.") ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-waker-fn" ,rust-waker-fn-1)) #:cargo-development-inputs - (("rust-spin-on" ,rust-spin-on-0.1)))) - (home-page "https://github.com/stjepang/futures-lite") - (synopsis "Futures, streams, and async I/O combinators") - (description - "This crate is a subset of @code{futures} that compiles an order of -magnitude faster, fixes minor warts in its API, fills in some obvious gaps, -and removes almost all unsafe code from it.") - (license (list license:asl2.0 license:expat)))) + (("rust-spin-on" ,rust-spin-on-0.1)))))) (define-public rust-futures-lite-0.1 (package @@ -28673,14 +25521,14 @@ and removes almost all unsafe code from it.") (define-public rust-futures-macro-0.3 (package (name "rust-futures-macro") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wpfsqxwqk5k569xl0jzz4zxy85x695mndf7y9jn66q6jid59jl9")))) + (base32 "1b49qh9d402y8nka4q6wvvj0c88qq91wbr192mdn5h54nzs0qxc7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -28779,16 +25627,15 @@ different @code{Future}s at once and handling the first one to complete.") (define-public rust-futures-sink-0.3 (package (name "rust-futures-sink") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-sink" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vkv4frf4c6gm1ag9imjz8d0xvpnn22lkylsls0rffx147zf8fzl")))) + "1dag8xyyaya8n8mh8smx7x6w2dpmafg2din145v973a3hw7f1f4z")))) (build-system cargo-build-system) (home-page "https://rust-lang.github.io/futures-rs") (synopsis "Asynchronous @code{Sink} trait for the @code{futures-rs} library") @@ -28823,16 +25670,17 @@ futures-rs library.") (define-public rust-futures-task-0.3 (package (name "rust-futures-task") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-task" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ravgihyarbplj32zp60asirfnaalw2wfsa0afhnl3kcpqrd3lvn")))) + (base32 "013h1724454hj8qczp8vvs10qfiqrxr937qsrv6rhii68ahlzn1q")))) (build-system cargo-build-system) - (arguments `(#:tests? #f)) + (arguments + `(#:tests? #f)) ; use of undeclared crate or module `futures` (home-page "https://rust-lang.github.io/futures-rs") (synopsis "Tools for working with tasks") (description "This package provides tools for working with tasks.") @@ -28841,7 +25689,7 @@ futures-rs library.") (define-public rust-futures-test-0.3 (package (name "rust-futures-test") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) @@ -28849,10 +25697,10 @@ futures-rs library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0j83960iv317xj8bfq5jay4s1yqdjidfcb1lz8js793h91s2gbw4")))) + "1jcaj9ibj2mjq3dvbm6p0pqfm95x7gnmbfpi1p52xi1ancvq4f6f")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Doc tests fail. + `(#:tests? #f ; use of undeclared crate or module `futures` #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-executor" ,rust-futures-executor-0.3) @@ -28948,18 +25796,17 @@ timeouts and delays with futures.") (define-public rust-futures-util-0.3 (package (name "rust-futures-util") - (version "0.3.28") + (version "0.3.30") (source (origin (method url-fetch) (uri (crate-uri "futures-util" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cwmls9369w6q6hwlbm10q0plr6hmg8w28fpqvv4rmbjnx01xc16")))) + (base32 "0j0xqhcir1zf2dcbpd421kgw6wvsk0rpxflylcysn1rlp3g02r1x")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Doc tests fail. + `(#:tests? #f ; use of undeclared crate or module `futures` #:cargo-inputs (("rust-futures" ,rust-futures-0.1) ("rust-futures-channel" ,rust-futures-channel-0.3) @@ -29043,32 +25890,6 @@ futures-rs library.") (description "This package provides a fuzzy matching library in Rust.") (license license:expat))) -(define-public rust-fwdansi-1 - (package - (name "rust-fwdansi") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fwdansi" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "027jz2x5fbi6rskic8sd6xx0mn03a7dnhwkpyz8hamg8gxwgbh88")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-memchr" ,rust-memchr-2) - ("rust-termcolor" ,rust-termcolor-1)) - #:cargo-development-inputs - (("rust-proptest" ,rust-proptest-0.9)))) - (home-page "https://github.com/kennytm/fwdansi") - (synopsis "ANSI escape codes to termcolor terminal library") - (description "This library can be used to forward a byte string with ANSI -escape codes to a termcolor terminal.") - (license license:expat))) - (define-public rust-fxhash-0.2 (package (name "rust-fxhash") @@ -29171,31 +25992,6 @@ archive to be linked into Rustcode.") (license (list license:asl2.0 license:expat)))) -(define-public rust-gdi32-sys-0.2 - (package - (name "rust-gdi32-sys") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gdi32-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0605d4ngjsspghwjv4jicajich1gnl0aik9f880ajjzjixd524h9")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2) - ("rust-winapi-build" ,rust-winapi-build-0.1)))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Function definitions for the Windows API library gdi32") - (description "This package contains function definitions for the Windows -API library @code{gdi32}.") - (license license:expat))) - (define-public rust-generational-arena-0.2 (package (name "rust-generational-arena") @@ -29232,14 +26028,14 @@ suffering from the ABA problem by using generational indices.") (define-public rust-generator-0.7 (package (name "rust-generator") - (version "0.7.1") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "generator" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1iwfjhlf76fl50hanfvglzwaq60gm0fwqwd48x837a6fw6n4q66c")))) + "0knp7cllkf90l4wmfbhmb3c0ha9xn9afrzmphain1d12zy26bhaw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -29247,7 +26043,7 @@ suffering from the ABA problem by using generational indices.") ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-rustversion" ,rust-rustversion-1) - ("rust-windows" ,rust-windows-0.32)))) + ("rust-windows" ,rust-windows-0.48)))) (home-page "https://github.com/Xudong-Huang/generator-rs.git") (synopsis "Stackfull Generator Library in Rust") (description "This package provides a stackfull generator library in @@ -29347,24 +26143,6 @@ Rust.") (base32 "1gfpay78vijl9vrwl1k9v7fbvbhkhcmnrk4kfg9l6x24y4s9zpzz")))))) -(define-public rust-generic-array-0.9 - (package - (inherit rust-generic-array-0.14) - (name "rust-generic-array") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "generic-array" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17avshwh41d1w9p75mw2k6pflmbaj9ra7svxplmhqmv76xlca9gg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-typenum" ,rust-typenum-1)))))) - (define-public rust-generic-array-0.8 (package (inherit rust-generic-array-0.12) @@ -29386,6 +26164,36 @@ Rust.") #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-genetlink-0.2 + (package + (name "rust-genetlink") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "genetlink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17q7zlmp95fx28zjkzh69g6d5q6rm2a3dkj7yy5jk8gsq5v0128z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/genetlink") + (synopsis "Communicate with generic netlink") + (description "Communicate with generic netlink.") + (license license:expat))) + (define-public rust-genmesh-0.6 (package (name "rust-genmesh") @@ -29410,30 +26218,6 @@ Rust.") "This package provides a package for generating 3D meshes/") (license license:asl2.0))) -(define-public rust-geo-0.4 - (package - (name "rust-geo") - (version "0.4.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "geo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10mvrmi5xgpil6hxl6h3b0w4lvg7mxy04n3388ah0gwhcnc1whh3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/georust/geo") - (synopsis "Geospatial primitives and algorithms") - (description - "This package provides geospatial primitives and algorithms.") - (license (list license:expat license:asl2.0)))) - (define-public rust-geo-types-0.7 (package (name "rust-geo-types") @@ -29485,64 +26269,6 @@ Rust.") #:cargo-development-inputs (("rust-approx" ,rust-approx-0.3)))))) -(define-public rust-get-if-addrs-0.5 - (package - (name "rust-get-if-addrs") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "get_if_addrs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xsfxq3ga63vllw5k6pxpdlfp3m6fh8jiga865gr4cldi5dbbpdb")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("\\~1.1.0") "^1.1")) - #t)))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests use the network. - #:cargo-inputs - (("rust-c-linked-list" ,rust-c-linked-list-1) - ("rust-clippy" ,rust-clippy-0.0) - ("rust-get-if-addrs-sys" ,rust-get-if-addrs-sys-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.2)) - #:cargo-development-inputs - (("rust-unwrap" ,rust-unwrap-1)))) - (home-page "https://maidsafe.net") - (synopsis "Return interface IP addresses") - (description "This library returns interface IP addresses.") - (license (list license:expat license:bsd-3)))) - -(define-public rust-get-if-addrs-sys-0.1 - (package - (name "rust-get-if-addrs-sys") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "get_if_addrs-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j5bypizbk59jhkaw1abkx7ydj79pplfvwq03hcnpwvcfkxzj10d")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; `plugin_as_library` has been removed - #:cargo-inputs - (("rust-gcc" ,rust-gcc-0.3) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/maidsafe-archive/get_if_addrs") - (synopsis "Retrieve IP addresses for all interfaces") - (description "This library retrieves network interface info for all -interfaces on the system.") - (license (list license:expat license:bsd-3)))) - (define-public rust-gethostname-0.4 (package (name "rust-gethostname") @@ -29591,21 +26317,23 @@ platforms.") (package (inherit rust-gethostname-0.3) (name "rust-gethostname") - (version "0.2.1") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "gethostname" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a609j9dhk816il2f2a01avvi5sqzxh0p38nxwrja7dcpybf54p6")))) + (base32 "0bl6wf7zclzmjriipzh98rr84xv2ilj664z8ffxh0vn46m7d7sy1")))) (arguments - `(#:tests? #f ; test panics - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)) + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included + "--skip=gethostname_matches_system_hostname") + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-getopts-0.2 (package @@ -29692,18 +26420,17 @@ retrieving random data from system source.") (define-public rust-getset-0.1 (package (name "rust-getset") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "getset" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "016590lxhlqga016z1qnavl0zavk59b97aix2zcd4wad3b02icr4")))) + (base32 "1f8yc83hm5b7vzscxq20ivdv7wlfvabn79j653zh9k3m1qjjfmz4")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) @@ -29847,71 +26574,6 @@ getters and setters on fields.") pointers above 2G.") (license license:gpl3))) -(define-public rust-ghash-0.5 - (package - (name "rust-ghash") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ghash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0h1y3v3kj8xxkf2snv1yly0lr20fdh3jrm60p382szbiwl6pac6r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-polyval" ,rust-polyval-0.6) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/universal-hashes") - (synopsis "Universal hash over GF(2^128)") - (description "This package provides a universal hash over GF(2^128) useful -for constructing a Message Authentication Code (MAC), as in the AES-GCM -authenticated encryption cipher.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ghash-0.3 - (package - (inherit rust-ghash-0.5) - (name "rust-ghash") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ghash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xd362xh17hadc2194dd6kjjq0ak1j4x7kkmfmpq9hw2s564wc4p")))) - (arguments - `(#:cargo-inputs - (("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-polyval" ,rust-polyval-0.4) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-ghash-0.2 - (package - (inherit rust-ghash-0.3) - (name "rust-ghash") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "ghash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lijv1y6qcysnxv45ny5fjvc4v9gmpggxlj6xa4l065737nk02cz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-polyval" ,rust-polyval-0.3) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-ghost-0.1 (package (name "rust-ghost") @@ -30005,3004 +26667,6 @@ debugging format.") ("rust-test-assembler" ,rust-test-assembler-0.1) ("rust-typed-arena" ,rust-typed-arena-2)))))) -(define-public rust-git-testament-0.2 - (package - (name "rust-git-testament") - (version "0.2.4") - (source (origin - (method url-fetch) - (uri (crate-uri "git-testament" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1c9l10wpyz39vhb5cijvbym6gmpmw3y3nb35l2hg6w42h1ygaswq")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-git-testament-derive" ,rust-git-testament-derive-0.1) - ("rust-no-std-compat" ,rust-no-std-compat-0.4)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/kinnison/git-testament/") - (synopsis "Record git working tree status when compiling your crate") - (description "Record git working tree status when compiling your crate") - (license license:bsd-3))) - -(define-public rust-git-testament-derive-0.1 - (package - (name "rust-git-testament-derive") - (version "0.1.14") - (source (origin - (method url-fetch) - (uri (crate-uri "git-testament-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rlais0i47mgsmp3r5jcqry2agjfyg5s9paj6mgvfykchssjsy2a")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-time" ,rust-time-0.3)) - #:cargo-development-inputs - (("rust-git-testament" ,rust-git-testament-0.2)))) - (home-page "https://github.com/kinnison/git-testament/") - (synopsis "Record git working tree status when compiling your crate") - (description - "This package provides an inner procedural macro for git-testament.") - (license license:bsd-3))) - -(define-public rust-git-version-0.3 - (package - (name "rust-git-version") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "git-version" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qj1rd19v8vg094b3fj0gy6ca53v93lhrl31wg1fs7g0y61qx4cl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-git-version-macro" ,rust-git-version-macro-0.3) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) - (home-page "https://github.com/fusion-engineering/rust-git-version") - (synopsis "Embed git information in your code at compile-time") - (description - "This crates compiles the git version (tag name, or hash otherwise) and -dirty state into your program.") - (license license:bsd-2))) - -(define-public rust-git-version-macro-0.3 - (package - (name "rust-git-version-macro") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "git-version-macro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mynlf8sfaa4xx7qff0qgnr339fbf1svgr569yip067fzm97ma9l")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("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/fusion-engineering/rust-git-version") - (synopsis "Internal macro crate for git-version") - (description - "This is an internal macro crate for git-version.") - (license license:bsd-2))) - -(define-public rust-git2-0.18 - (package - (name "rust-git2") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kf0kvg3i7p1223zs2h9fz99ndm0l9kdx3hcw63g73dh5nlppygv")))) - (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-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-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.1)))) - (native-inputs (list pkg-config)) - (inputs (list libgit2-1.7 libssh2 openssl zlib)) - (home-page "https://github.com/rust-lang/git2-rs") - (synopsis "Rust bindings to libgit2") - (description - "This package provides bindings to libgit2 for interoperating with git -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.17 - (package - (inherit rust-git2-0.18) - (name "rust-git2") - (version "0.17.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i00kg3yizh7mn6hnj3yz3hpniisidlavifgy8n3cnm9gim9v63v")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.15) - ("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-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.1)))) - (native-inputs - (list pkg-config - git-minimal)) ;for a single test - (inputs (list libgit2-1.6 libssh2 openssl zlib)))) - -(define-public rust-git2-0.16 - (package - (inherit rust-git2-0.17) - (name "rust-git2") - (version "0.16.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k1aavsfhk0i9jycc9gb61w2jwy8w9dgkd7zkz295wwm566gdxyc")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.14) - ("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-paste" ,rust-paste-1) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.1)))) - (native-inputs - (list pkg-config - git-minimal)) ;for a single test - (inputs - (list libgit2 libssh2 openssl zlib)))) - -(define-public rust-git2-0.15 - (package - (inherit rust-git2-0.16) - (name "rust-git2") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lf7yxgrbglx5qqvk033n44ymmrg72z271911jwix9d6lgjbx519")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.14) - ("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-paste" ,rust-paste-1) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.1)))) - (native-inputs - `(("pkg-config" ,pkg-config) - ("git" ,git-minimal))) ;for a single test - (inputs - (list libgit2 libssh2 openssl zlib)))) - -(define-public rust-git2-0.14 - (package - (inherit rust-git2-0.15) - (name "rust-git2") - (version "0.14.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "074kqlmh7q39pqcj9rmrnmx4v5njh2j09dfxc1hsh45pm835a5fh")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.13) - ("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-paste" ,rust-paste-1) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.1)))) - (inputs - (list libgit2-1.4 libssh2 openssl zlib)))) - -(define-public rust-git2-0.13 - (package - (inherit rust-git2-0.15) - (name "rust-git2") - (version "0.13.24") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07rlxwvl5iyyqwh0mci5v27lbicf9qiqm60maw1srz7i51x00pl4")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) - ("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-paste" ,rust-paste-1) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-time" ,rust-time-0.1)))) - (inputs - (list libgit2-1.3 libssh2 openssl zlib)))) - -(define-public rust-git2-0.11 - (package - (inherit rust-git2-0.13) - (name "rust-git2") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp")))) - (arguments - `(#:tests? #f ; (signal: 11, SIGSEGV: invalid memory reference) - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.10) - ("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-docopt" ,rust-docopt-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-thread-id" ,rust-thread-id-3) - ("rust-time" ,rust-time-0.1)))))) - -(define-public rust-git2-0.9 - (package - (inherit rust-git2-0.11) - (name "rust-git2") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09lj6i26yial0drdbmfh36avz6wizaxqb0k41sqn2kca1qv01d4c")))) - (arguments - `(#:tests? #f ; Needs older version of libgit2. - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.8) - ("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-docopt" ,rust-docopt-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-thread-id" ,rust-thread-id-3) - ("rust-time" ,rust-time-0.1)))))) - -(define-public rust-git2-0.6 - (package - (inherit rust-git2-0.11) - (name "rust-git2-6") - (version "0.6.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "115ys6vlfjy5pcwkip0wfzi4q3d1kimbl9isxvjyci1arnvlnnzf")))) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.9) - ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.6) - ("rust-openssl-probe" ,rust-openssl-probe-0.1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-url" ,rust-url-1)) - #:cargo-development-inputs - (("rust-docopt" ,rust-docopt-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-time" ,rust-time-0.1)))) - (inputs - (modify-inputs (package-inputs rust-git2-0.11) - (prepend curl))))) - -(define-public rust-git2-curl-0.18 - (package - (name "rust-git2-curl") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2-curl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "132zzrrfw3cnfh9ffc9pfr94my97agnmk7pnfvzqr4kj5d1vgy7q")))) - (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.17) - ("rust-log" ,rust-log-0.4) - ("rust-url" ,rust-url-2)))) - (home-page "https://github.com/rust-lang/git2-rs") - (synopsis "Libgit2 HTTP transport backend powered by @code{libcurl}") - (description "Backend for an HTTP transport in @code{libgit2}, powered by -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.17 - (package - (inherit rust-git2-curl-0.18) - (name "rust-git2-curl") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2-curl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm")))) - (arguments - `(#:skip-build? #t ;need rust-civet and others - #:cargo-inputs - (("rust-curl" ,rust-curl-0.4) - ("rust-git2" ,rust-git2-0.16) - ("rust-log" ,rust-log-0.4) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-gix-0.54 - (package - (name "rust-gix") - (version "0.54.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ly919iq2jnb28fvac5iwqv9jqn1pr7fl63xsn89cial8kkk4vdd")))) - (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.27) - ("rust-gix-archive" ,rust-gix-archive-0.5) - ("rust-gix-attributes" ,rust-gix-attributes-0.19) - ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) - ("rust-gix-config" ,rust-gix-config-0.30) - ("rust-gix-credentials" ,rust-gix-credentials-0.20) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-diff" ,rust-gix-diff-0.36) - ("rust-gix-discover" ,rust-gix-discover-0.25) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-filter" ,rust-gix-filter-0.5) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-glob" ,rust-gix-glob-0.13) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) - ("rust-gix-ignore" ,rust-gix-ignore-0.8) - ("rust-gix-index" ,rust-gix-index-0.25) - ("rust-gix-lock" ,rust-gix-lock-10) - ("rust-gix-macros" ,rust-gix-macros-0.1) - ("rust-gix-mailmap" ,rust-gix-mailmap-0.19) - ("rust-gix-negotiate" ,rust-gix-negotiate-0.8) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-odb" ,rust-gix-odb-0.53) - ("rust-gix-pack" ,rust-gix-pack-0.43) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) - ("rust-gix-prompt" ,rust-gix-prompt-0.7) - ("rust-gix-protocol" ,rust-gix-protocol-0.40) - ("rust-gix-ref" ,rust-gix-ref-0.37) - ("rust-gix-refspec" ,rust-gix-refspec-0.18) - ("rust-gix-revision" ,rust-gix-revision-0.22) - ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) - ("rust-gix-sec" ,rust-gix-sec-0.10) - ("rust-gix-status" ,rust-gix-status-0.1) - ("rust-gix-submodule" ,rust-gix-submodule-0.4) - ("rust-gix-tempfile" ,rust-gix-tempfile-10) - ("rust-gix-trace" ,rust-gix-trace-0.1) - ("rust-gix-transport" ,rust-gix-transport-0.37) - ("rust-gix-traverse" ,rust-gix-traverse-0.33) - ("rust-gix-url" ,rust-gix-url-0.24) - ("rust-gix-utils" ,rust-gix-utils-0.1) - ("rust-gix-validate" ,rust-gix-validate-0.8) - ("rust-gix-worktree" ,rust-gix-worktree-0.26) - ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.3) - ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.5) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-prodash" ,rust-prodash-26) - ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) - #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) - ("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)))) - -(define-public rust-gix-0.45 - (package - (inherit rust-gix-0.54) - (name "rust-gix") - (version "0.45.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10ndy5kvczbgfpv7zjqh71hl3w8lin7p3az3pard297fcvn06amz")))) - (arguments - `(#:tests? #f ; Tests aren't included - #:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.21) - ("rust-gix-attributes" ,rust-gix-attributes-0.13) - ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) - ("rust-gix-config" ,rust-gix-config-0.23) - ("rust-gix-credentials" ,rust-gix-credentials-0.15) - ("rust-gix-date" ,rust-gix-date-0.5) - ("rust-gix-diff" ,rust-gix-diff-0.30) - ("rust-gix-discover" ,rust-gix-discover-0.19) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-ignore" ,rust-gix-ignore-0.3) - ("rust-gix-index" ,rust-gix-index-0.17) - ("rust-gix-lock" ,rust-gix-lock-6) - ("rust-gix-mailmap" ,rust-gix-mailmap-0.13) - ("rust-gix-negotiate" ,rust-gix-negotiate-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-odb" ,rust-gix-odb-0.46) - ("rust-gix-pack" ,rust-gix-pack-0.36) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-prompt" ,rust-gix-prompt-0.5) - ("rust-gix-protocol" ,rust-gix-protocol-0.33) - ("rust-gix-ref" ,rust-gix-ref-0.30) - ("rust-gix-refspec" ,rust-gix-refspec-0.11) - ("rust-gix-revision" ,rust-gix-revision-0.15) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-transport" ,rust-gix-transport-0.32) - ("rust-gix-traverse" ,rust-gix-traverse-0.26) - ("rust-gix-url" ,rust-gix-url-0.19) - ("rust-gix-utils" ,rust-gix-utils-0.1) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-gix-worktree" ,rust-gix-worktree-0.18) - ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-prodash" ,rust-prodash-25) - ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("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)))))) - -(define-public rust-gix-actor-0.27 - (package - (name "rust-gix-actor") - (version "0.27.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-actor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09sychqipf8bsmrwn62svpda457h8wj65qnl49qqk42j5jc0xih8")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-itoa" ,rust-itoa-1) - ("rust-serde" ,rust-serde-1) - ("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)))) - -(define-public rust-gix-actor-0.21 - (package - (inherit rust-gix-actor-0.27) - (name "rust-gix-actor") - (version "0.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-actor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f6q1ivdcgj26jln48nl2hphwmps6sb9m4dysldvzbz1dfgkzrwz")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-date" ,rust-gix-date-0.5) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-itoa" ,rust-itoa-1) - ("rust-nom" ,rust-nom-7) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) - -(define-public rust-gix-archive-0.5 - (package - (name "rust-gix-archive") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-archive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1izajfmninmjg7mvcp6y0mdy641hkvvqmsd7gp6d92mkgxgn6wdb")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; undeclared crate gix_worktree, gix_filter, gix_odb - #: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.37) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.5) - ("rust-tar" ,rust-tar-0.4) - ("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)))) - -(define-public rust-gix-attributes-0.19 - (package - (name "rust-gix-attributes") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-attributes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "086qgrh8srr5vyswbchn72kw967f25szjgk27dss96vhf1g6cl94")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-byteyarn" ,rust-byteyarn-0.2) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.13) - ("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-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 -.gitattributes files.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-attributes-0.13 - (package - (inherit rust-gix-attributes-0.19) - (name "rust-gix-attributes") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-attributes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cfciacamnqbxl02l5fb7pcfbzn6r9gnyh86gvc80brqmj89bdvq")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-quote" ,rust-gix-quote-0.4) - ("rust-kstring" ,rust-kstring-2) - ("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))))) - -(define-public rust-gix-bitmap-0.2 - (package - (name "rust-gix-bitmap") - (version "0.2.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-bitmap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n8r9n3rr6fkqggi99hgcqln4gnp8951pn3q3fsxsi38ayyb9jhc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implement the standard git bitmap format") - (description - "This package provides a crate of the gitoxide project dedicated -implementing the standard git bitmap format.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-chunk-0.4 - (package - (name "rust-gix-chunk") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-chunk" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14s4f3g8n6yk6q28f60528wzcf10g8y8ycih04098y8g89jflhjv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Interact with the git chunk file format") - (description - "Interact with the git chunk file format used in multi-pack index and -commit-graph files.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-command-0.2 - (package - (name "rust-gix-command") - (version "0.2.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-command" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ix44maislxlranv67yw5fan5k82lpgax22zgc4jrxvpypxnqmrw")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs (("rust-bstr" ,rust-bstr-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Handle internal git command execution") - (description - "This package provides a crate of the gitoxide project handling internal git -command execution.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-commitgraph-0.21 - (package - (name "rust-gix-commitgraph") - (version "0.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-commitgraph" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12nzyh8gyg0k15swsy51m1iy521a7p5xbdg9pw1a1w1cw9g9fnp7")))) - (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.35) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-memmap2" ,rust-memmap2-0.7) - ("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)))) - -(define-public rust-gix-commitgraph-0.16 - (package - (inherit rust-gix-commitgraph-0.21) - (name "rust-gix-commitgraph") - (version "0.16.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-commitgraph" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "028s0ai44gb9ynic2ch3ingzg8h44c47q90xlzk4fp6mnghhljg8")))) - (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.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-config-0.30 - (package - (name "rust-gix-config") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-config" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dcaz3ylf2x763mjfg7jd4qhx65c8l7zqzp3g9kkyza8815m2wf1")))) - (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.35) - ("rust-gix-glob" ,rust-gix-glob-0.13) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-ref" ,rust-gix-ref-0.37) - ("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)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Git-config file parser and editor from the Gitoxide project") - (description - "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.23 - (package - (inherit rust-gix-config-0.30) - (name "rust-gix-config") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-config" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0738kwxlmdp409rypczzr0ampbcvrrv2icigll68zfp118911wsi")))) - (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.12) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-ref" ,rust-gix-ref-0.30) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-nom" ,rust-nom-7) - ("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)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4)))))) - -(define-public rust-gix-config-value-0.14 - (package - (name "rust-gix-config-value") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-config-value" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0irgjzwq84rjx3qdjsb68vgdi1igp9laadcpw8rpk3jdgywhaxga")))) - (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-path" ,rust-gix-path-0.10) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "This crate implements @code{git-config} value parsing") - (description - "This package is a crate for @code{git-config} value parsing. Part of -Gitoxide a Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-config-value-0.12 - (package - (inherit rust-gix-config-value-0.14) - (name "rust-gix-config-value") - (version "0.12.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-config-value" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15rqyj523ckas16sn0jbqpgzln4h1fcpdsnwj4lw0hbl8d0lz1vf")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-credentials-0.20 - (package - (name "rust-gix-credentials") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-credentials" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12mwq0fah6wai26lnq9k3m71lr8cgih43rqy2in6mby59j40p426")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;wants undeclared crate gix_testtools - #:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-command" ,rust-gix-command-0.2) - ("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.7) - ("rust-gix-sec" ,rust-gix-sec-0.10) - ("rust-gix-url" ,rust-gix-url-0.24) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Git credentials handlers for Gitoxide") - (description - "Gitoxide is a Rust implementation of Git. This package provides helpers -to interact with Git credentials.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-credentials-0.15 - (package - (inherit rust-gix-credentials-0.20) - (name "rust-gix-credentials") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-credentials" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r8dr9d1xzfq74sg3j2bhd6zsyk3y5322155izpzaa6dibm9zy66")))) - (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-command" ,rust-gix-command-0.2) - ("rust-gix-config-value" ,rust-gix-config-value-0.12) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-prompt" ,rust-gix-prompt-0.5) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-gix-url" ,rust-gix-url-0.19) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-date-0.8 - (package - (name "rust-gix-date") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-date" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "038yapmv9mm7d2xclhg18iakpc4hd3vl4xkk09ydr0lmcdlzczgw")))) - (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-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)))) - -(define-public rust-gix-date-0.5 - (package - (inherit rust-gix-date-0.8) - (name "rust-gix-date") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-date" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00jrc86398553z2mdljx9vh8skqgdydhsrr11ak3148fcx2l25mw")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-itoa" ,rust-itoa-1) - ("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)))))) - -(define-public rust-gix-diff-0.36 - (package - (name "rust-gix-diff") - (version "0.36.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-diff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "134jv0rw7v9lgci65ynq4xy85mvy9rbvpg1n3zl0d0iq5haxp3bq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) - ("rust-getrandom" ,rust-getrandom-0.2) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-object" ,rust-gix-object-0.37) - ("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. Part of -Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-diff-0.30 - (package - (inherit rust-gix-diff-0.36) - (name "rust-gix-diff") - (version "0.30.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-diff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cqf3b2dypnd4hl1lwzj4sy8lfb6pdkbzczms95nla6chc0asach")))) - (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-imara-diff" ,rust-imara-diff-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-discover-0.25 - (package - (name "rust-gix-discover") - (version "0.25.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-discover" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cyy5yahngnh16n08n9qjp69aavxa7nkrxzw0ajaj3jssx1pcl39")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-dunce" ,rust-dunce-1) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-ref" ,rust-gix-ref-0.37) - ("rust-gix-sec" ,rust-gix-sec-0.10) - ("rust-thiserror" ,rust-thiserror-1)) - #: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)))) - -(define-public rust-gix-discover-0.19 - (package - (inherit rust-gix-discover-0.25) - (name "rust-gix-discover") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-discover" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ijg43psf0ijg0z7g0wwsh94c0058gg77pl1apkfzcpjs70cdadb")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-dunce" ,rust-dunce-1) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-ref" ,rust-gix-ref-0.30) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-thiserror" ,rust-thiserror-1)) - #: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)))))) - -(define-public rust-gix-features-0.35 - (package - (name "rust-gix-features") - (version "0.35.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-features" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k98r3742xrlqwyaq13a9gazppm5swyx2h4hcmigg0s9mqiz97wv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) - ("rust-bytesize" ,rust-bytesize-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-trace" ,rust-gix-trace-0.1) - ("rust-jwalk" ,rust-jwalk-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-prodash" ,rust-prodash-26) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha1-smol" ,rust-sha1-smol-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Crate to integrate various capabilities using compile-time feature flags") - (description - "This package provides a crate to integrate various capabilities using -compile-time feature flags.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-features-0.30 - (package - (inherit rust-gix-features-0.35) - (name "rust-gix-features") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-features" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0543ggy5vxr2lpi1405mcq93bshj3gfvpjgf13a60q5z14s4k31s")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-bytesize" ,rust-bytesize-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-jwalk" ,rust-jwalk-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-prodash" ,rust-prodash-25) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha1-smol" ,rust-sha1-smol-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-bstr" ,rust-bstr-1)))))) - -(define-public rust-gix-filter-0.5 - (package - (name "rust-gix-filter") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-filter" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "024bv38s7q59wsp3whzpcra0x40mv53xii2jrnv5ni21rll0vr0v")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate gix_testtools - #:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-gix-attributes" ,rust-gix-attributes-0.19) - ("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-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-smallvec" ,rust-smallvec-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 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)))) - -(define-public rust-gix-fs-0.7 - (package - (name "rust-gix-fs") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-fs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0db6bj773ssqvy03mi28glzy963cd1aaaxcbj4nv7s9glsmmz089")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.35)) - #: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.2 - (package - (inherit rust-gix-fs-0.7) - (name "rust-gix-fs") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-fs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ddah0c5ljpfpy2ab1gmgblli2lz4bpbgghm9vwqgnwa02bqknih")))) - (arguments - `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.30)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-gix-glob-0.13 - (package - (name "rust-gix-glob") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-glob" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17dix59mc93m8z97ywkgpssjsmjgl4cfkifja7vxql8jy62nxmx9")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; no method named `trim_start` found for reference `&BStr` - #: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.35) - ("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)))) - -(define-public rust-gix-glob-0.8 - (package - (inherit rust-gix-glob-0.13) - (name "rust-gix-glob") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-glob" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13jm1anf9xkp0hpzv9va72b9003kmwflx0ni0fbhf7xbh0gdw2nd")))) - (arguments - `(#:tests? #f ; no method named `trim_start` found for reference `&BStr` - #: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.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-serde" ,rust-serde-1)))))) - -(define-public rust-gix-hash-0.13 - (package - (name "rust-gix-hash") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0q6c3jjp6q17w7879lwi7r1xw2zr489yk75yq4bm51x03sscg10q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) - ("rust-faster-hex" ,rust-faster-hex-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Borrowed and owned git hash digests used to identify git objects") - (description - "Borrowed and owned git hash digests used to identify git objects. This -package is part of Gitoxide, a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-hash-0.11 - (package - (inherit rust-gix-hash-0.13) - (name "rust-gix-hash") - (version "0.11.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bq986grpsfc6ddav5dlb8zvz1aky264dnnnmax2h1lsmpr2yhjb")))) - (arguments - `(#:cargo-inputs - (("rust-document-features" ,rust-document-features-0.2) - ("rust-hex" ,rust-hex-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-hashtable-0.4 - (package - (name "rust-gix-hashtable") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-hashtable" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05ka2z2z1qcxmfw8abvc5fgvygrrjfiaaz61h6701ba11146i4j0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-hashbrown" ,rust-hashbrown-0.14) - ("rust-parking-lot" ,rust-parking-lot-0.12)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Hashtable based data structures optimized to utilize ObjectId keys") - (description - "Hashtable based data structures optimized to utilize @code{ObjectId} -keys. Part of Gitoxide a Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-hashtable-0.2 - (package - (inherit rust-gix-hashtable-0.4) - (name "rust-gix-hashtable") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-hashtable" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13f5v6vghfpzxm5xkmk86gjhsjfqng9rpam37hqjssgkxkk4qprq")))) - (arguments - `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-hashbrown" ,rust-hashbrown-0.14) - ("rust-parking-lot" ,rust-parking-lot-0.12)))))) - -(define-public rust-gix-ignore-0.8 - (package - (name "rust-gix-ignore") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-ignore" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qzmpylhwqqnnb7hcbwfbvblbzg3hzid4d2w42j2vc7nl51z8j5h")))) - (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.13) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "This Gitoxide crate handles .gitignore files") - (description "This crate is part of Gitoxide, it handles .gitignore files.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-ignore-0.3 - (package - (inherit rust-gix-ignore-0.8) - (name "rust-gix-ignore") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-ignore" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09anfy62zfsclkkvvrsp0bi99pny66hqn07pvc4fik0c3887yvzw")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))))) - -(define-public rust-gix-index-0.25 - (package - (name "rust-gix-index") - (version "0.25.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-index" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dqp5ri3kh87qgy0gxzlr0m4jki8xk5sr8zm867hh4rws6ln6kgm")))) - (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-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-lock" ,rust-gix-lock-10) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-traverse" ,rust-gix-traverse-0.33) - ("rust-itoa" ,rust-itoa-1) - ("rust-memmap2" ,rust-memmap2-0.7) - ("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.17 - (package - (inherit rust-gix-index-0.25) - (name "rust-gix-index") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-index" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10kvzsrn7wjgwb3y4xwj9szcg9j81mlkab04z9ii5cdzz9cajsv1")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-lock" ,rust-gix-lock-6) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-traverse" ,rust-gix-traverse-0.26) - ("rust-itoa" ,rust-itoa-1) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-lock-10 - (package - (name "rust-gix-lock") - (version "10.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15dazvw49bdx60366vngmrfn69rvxf0pr411a1ak6vbbigx9dz27")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-10) - ("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") - (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-6 - (package - (inherit rust-gix-lock-10) - (name "rust-gix-lock") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lpqi927lacn2vz22q2mhacc4plkrlz5whm779ax65kky3kdbi9y")))) - (arguments - `(#:cargo-inputs - (("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("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-macros-0.1 - (package - (name "rust-gix-macros") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dhqxmj29k5b6l8y30ylkacscrzgz6ij18qr5l7mzmb8wrgcp2lx")))) - (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-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Proc-macro utilities for gix") - (description "Proc-macro utilities for Gitoxide. Gitoxide is a pure Rust -implementation of Git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-mailmap-0.19 - (package - (name "rust-gix-mailmap") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-mailmap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1nx713bx8bi76h14zgg4786afpzryph16pcg43pndq19dslhzw20")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; undeclared crate `gix_testtools` - #:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.27) - ("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)))) - -(define-public rust-gix-mailmap-0.13 - (package - (inherit rust-gix-mailmap-0.19) - (name "rust-gix-mailmap") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-mailmap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0spslf6r4l51z640fxqpw2nq4j7imzz0jhxwy44y086948cp0ls6")))) - (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-actor" ,rust-gix-actor-0.21) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-negotiate-0.8 - (package - (name "rust-gix-negotiate") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-negotiate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01408hs82nhj40arkdx145cfmdccf7pydf89sywd3ihik6zrf5kg")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; user of undeclared crate gix_testtools - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) - ("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.2 - (package - (inherit rust-gix-negotiate-0.8) - (name "rust-gix-negotiate") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-negotiate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "137hyq036adi5kapw98vd9b0087lxljfkjaz81glmr0jx7qkwp4l")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-revision" ,rust-gix-revision-0.15) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-object-0.37 - (package - (name "rust-gix-object") - (version "0.37.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-object" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vzxayiss5k7pmlm0q4axaliidg9a3lq7bkv2ds775k7dihijzhy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.27) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("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.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)))) - -(define-public rust-gix-object-0.30 - (package - (inherit rust-gix-object-0.37) - (name "rust-gix-object") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-object" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1is6hkzcv38m9k2yzja39h3d9s5rvs9vqpfb17kw7pj43kswh9l9")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.21) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-hex" ,rust-hex-0.4) - ("rust-itoa" ,rust-itoa-1) - ("rust-nom" ,rust-nom-7) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) - -(define-public rust-gix-odb-0.53 - (package - (name "rust-gix-odb") - (version "0.53.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-odb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gv4zvmizqvxh4n3gnv3yzp83v3spklj0cf6rlrz38m3dcn3jsld")))) - (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.8) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-pack" ,rust-gix-pack-0.43) - ("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.46 - (package - (inherit rust-gix-odb-0.53) - (name "rust-gix-odb") - (version "0.46.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-odb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wzqj6r0vgr2v0v9578s1hikg9abbh85m2vwj0psrvkqca04s8sb")))) - (arguments - `(#:tests? #f ; tests not included in release - #:cargo-inputs - (("rust-arc-swap" ,rust-arc-swap-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-pack" ,rust-gix-pack-0.36) - ("rust-gix-path" ,rust-gix-path-0.8) - ("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)) - #:cargo-development-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-maplit" ,rust-maplit-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) - -(define-public rust-gix-pack-0.43 - (package - (name "rust-gix-pack") - (version "0.43.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-pack" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cqsxdqz6sdk1m96mpa0f33kddx1inx91gsbd72in7mk8lx20dkm")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared create 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.36) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-tempfile" ,rust-gix-tempfile-10) - ("rust-gix-traverse" ,rust-gix-traverse-0.33) - ("rust-memmap2" ,rust-memmap2-0.7) - ("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 for Gitoxide. Gitoxide is a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-pack-0.36 - (package - (inherit rust-gix-pack-0.43) - (name "rust-gix-pack") - (version "0.36.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-pack" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "125gs2hw111izv81zcj9i4mm503ikchbfv3xn7npw0sn675i8akx")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `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.30) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-traverse" ,rust-gix-traverse-0.26) - ("rust-memmap2" ,rust-memmap2-0.5) - ("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-packetline-0.16 - (package - (name "rust-gix-packetline") - (version "0.16.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-packetline" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ayp00k4a6qgjjyrd2rmzxyx0n8h36dxscjn1pzil5b4x6qq90wa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-faster-hex" ,rust-faster-hex-0.8) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-maybe-async" ,rust-maybe-async-0.2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Crate of the gitoxide project implementing the pkt-line serialization format") - (description - "This package provides a crate of the gitoxide project implementing the -pkt-line serialization format.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-packetline-blocking-0.16 - (package - (name "rust-gix-packetline-blocking") - (version "0.16.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-packetline-blocking" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f9dr79jz9y11qhf0syxwa4nvn4czpyka84hzshxd10wa3vrb0vx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-faster-hex" ,rust-faster-hex-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Duplicate of @code{gix-packetline} with @code{blocking-io} selected") - (description - "Part of Gitoxide, a pure Rust implementation of Git. This package is a -duplicate of @code{gix-packetline} with the @code{blocking-io} feature pre-selected") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-path-0.10 - (package - (name "rust-gix-path") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-path" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fx71d9p7iq4szgrijyw1nj82abg15ylyvaw7kh3l7hp2l0kf7ba")))) - (build-system cargo-build-system) - (arguments - `(#: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)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Part of the Gitoxide project, this crate deals with paths and their conversions") - (description - "Part of the Gitoxide project, a lean and safe Rust implementation of -Git. This crate deals with paths and their conversions") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-path-0.8 - (package - (inherit rust-gix-path-0.10) - (name "rust-gix-path") - (version "0.8.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-path" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0z5733b3z2wbnz1x0y2aq3gpanrhrlrqr4v4gjlqwl68ps69qq0q")))) - (arguments - `(#: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)))))) - -(define-public rust-gix-pathspec-0.3 - (package - (name "rust-gix-pathspec") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-pathspec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zg5m586s0sxxwadlvsx9hrrkyym9d4q936kk0zyf6y58ydnrqn3")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;undeclared crate gix_testtools - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-bstr" ,rust-bstr-1) - ("rust-gix-attributes" ,rust-gix-attributes-0.19) - ("rust-gix-config-value" ,rust-gix-config-value-0.14) - ("rust-gix-glob" ,rust-gix-glob-0.13) - ("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)))) - -(define-public rust-gix-prompt-0.7 - (package - (name "rust-gix-prompt") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-prompt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0y26b3d7z222b223ir9qf8yqwhknzc3c5yksjffmwvsid4vr36jw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-config-value" ,rust-gix-config-value-0.14) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("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)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Handles prompts in the terminal as part of Gitoxide") - (description - "Gitoxide is a Rust implementation of Git. This crate handles the -terminals prompt.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-prompt-0.5 - (package - (inherit rust-gix-prompt-0.7) - (name "rust-gix-prompt") - (version "0.5.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-prompt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sm5b24jpcv4whzxymk6fpb1ph1hhq6842115fpcqqx0yk5dw8ic")))) - (arguments - `(#:cargo-inputs - (("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-config-value" ,rust-gix-config-value-0.12) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("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)))))) - -(define-public rust-gix-protocol-0.40 - (package - (name "rust-gix-protocol") - (version "0.40.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16qc5q53z5jdqb433106lzzifhf321zgv89ha65bxj8cq86p0yyc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-gix-credentials" ,rust-gix-credentials-0.20) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-transport" ,rust-gix-transport-0.37) - ("rust-maybe-async" ,rust-maybe-async-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-winnow" ,rust-winnow-0.5)) - #:cargo-development-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-gix-packetline" ,rust-gix-packetline-0.16)))) - (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.33 - (package - (inherit rust-gix-protocol-0.40) - (name "rust-gix-protocol") - (version "0.33.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "093c9zlqxy8248nynyb909g12xkfxsv5z32j8w41yijwnic718cj")))) - (arguments - `(#:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-gix-credentials" ,rust-gix-credentials-0.15) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-transport" ,rust-gix-transport-0.32) - ("rust-maybe-async" ,rust-maybe-async-0.2) - ("rust-nom" ,rust-nom-7) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) - -(define-public rust-gix-quote-0.4 - (package - (name "rust-gix-quote") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-quote" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01f9rm8m7pd6j6bhqiq1hgk11sn9pad27fsz8sj7n4nhgnlqcp27")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Various quotations used by git") - (description - "This package provides a crate of the gitoxide project dealing with various -quotations used by git.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-ref-0.37 - (package - (name "rust-gix-ref") - (version "0.37.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-ref" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r4d0zpin2c62s4j88n32cd0gf1f2da1kp4yfr0kcq8bcr4vgri2")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; undeclared crate gix_testtools - #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.27) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-lock" ,rust-gix-lock-10) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-tempfile" ,rust-gix-tempfile-10) - ("rust-gix-validate" ,rust-gix-validate-0.8) - ("rust-memmap2" ,rust-memmap2-0.7) - ("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)))) - -(define-public rust-gix-ref-0.30 - (package - (inherit rust-gix-ref-0.37) - (name "rust-gix-ref") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-ref" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "073y77045km55bb53ack6hzjd70mkj3rk6d8xxg8mkplas99kpgb")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.21) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-lock" ,rust-gix-lock-6) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-nom" ,rust-nom-7) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-gix-refspec-0.18 - (package - (name "rust-gix-refspec") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-refspec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07pniqh74kkm0n727m7wjxgrgwnaypljkhsh8nyw7wvh3rxwp588")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-revision" ,rust-gix-revision-0.22) - ("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)))) - -(define-public rust-gix-refspec-0.11 - (package - (inherit rust-gix-refspec-0.18) - (name "rust-gix-refspec") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-refspec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x0cayswa8m0yiybi8g3jimpc6jggfvrw6y53snxhvf8mciddgvj")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-revision" ,rust-gix-revision-0.15) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-revision-0.22 - (package - (name "rust-gix-revision") - (version "0.22.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-revision" version)) - (file-name (string-append name "-" version - ".tar.gz")) - (sha256 - (base32 - "128fi6mblg4ic6h1q5vy2zq6vly8hxhi9vxkpkskaymby9fb3i68")))) - (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.8) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) - ("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.15 - (package - (inherit rust-gix-revision-0.22) - (name "rust-gix-revision") - (version "0.15.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-revision" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mrcjg8180n3kgbsngfaavzlfsqbmr905gjc0fdwx1x4sxngai2h")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-date" ,rust-gix-date-0.5) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-revwalk" ,rust-gix-revwalk-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-revwalk-0.8 - (package - (name "rust-gix-revwalk") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-revwalk" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0yd27ip3xhxplsw6cmyjz1vk6q5c0qhkn33icx2hiwij21mhr1z9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Utilities for walking the 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.1 - (package - (inherit rust-gix-revwalk-0.8) - (name "rust-gix-revwalk") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-revwalk" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jnkyb5yk8y76q5gbmdykm2snxn5v9dbc4jy3walz4a7hyx269mw")))) - (arguments - `(#:cargo-inputs - (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-sec-0.10 - (package - (name "rust-gix-sec") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-sec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a0g1b25hkgc68svxl2rx22a64d16703yyyislpc1a15q0m59fcj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-windows" ,rust-windows-0.48)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Part of Gitoxide, this create provides a shared trust model") - (description - "This package is part of Gitoxide, it implements a shared trust model.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-sec-0.8 - (package - (inherit rust-gix-sec-0.10) - (name "rust-gix-sec") - (version "0.8.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-sec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iz9rcyx7lpb4gxg5gyv93ygp0n321c5xmrcjkmqm2annkbcn5cn")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-windows" ,rust-windows-0.48)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-gix-status-0.1 - (package - (name "rust-gix-status") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-status" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yi2wl5c1zacr5nr8qj9g7rq9ylwp2ckvkjwgd0g41x75g202a08")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-index" ,rust-gix-index-0.25) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) - ("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)))) - -(define-public rust-gix-submodule-0.4 - (package - (name "rust-gix-submodule") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-submodule" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dz2w3ikhbf938rfamlqkmxl9hznz4i7mm9dmgrd70lj5vl500fx")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; undeclared crate gix_testtools - #:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-gix-config" ,rust-gix-config-0.30) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) - ("rust-gix-refspec" ,rust-gix-refspec-0.18) - ("rust-gix-url" ,rust-gix-url-0.24) - ("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)))) - -(define-public rust-gix-tempfile-10 - (package - (name "rust-gix-tempfile") - (version "10.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-tempfile" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kdc21s0dnqnbzfdazpsw8fclnw1gi3w4np71qlmgp0i7s7rgq2s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("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 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)))) - -(define-public rust-gix-tempfile-6 - (package - (inherit rust-gix-tempfile-10) - (name "rust-gix-tempfile") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-tempfile" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "047baclw78xkzjg04z5290x7vhcz270jpw7vdm25rp7922q5qy5k")))) - (arguments - `(#:cargo-inputs - (("rust-dashmap" ,rust-dashmap-5) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("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)))))) - -(define-public rust-gix-trace-0.1 - (package - (name "rust-gix-trace") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-trace" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dmqswxz228in9p7vwhc0cq83r6sxkidcrwhnyn3yb0ml4ixddln")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-document-features" ,rust-document-features-0.2) - ("rust-tracing-core" ,rust-tracing-core-0.1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Crate to provide minimal `tracing` support") - (description - "This package provides a crate to provide minimal `tracing` support that -can be turned off to zero cost.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-transport-0.37 - (package - (name "rust-gix-transport") - (version "0.37.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-transport" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kpv0aqx7c3hbsc14rk7c01yd7b73mm14d4swnn6hpi4d9p75v5r")))) - (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.21) - ("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-1) - ("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-credentials" ,rust-gix-credentials-0.20) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-packetline" ,rust-gix-packetline-0.16) - ("rust-gix-quote" ,rust-gix-quote-0.4) - ("rust-gix-sec" ,rust-gix-sec-0.10) - ("rust-gix-url" ,rust-gix-url-0.24) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-reqwest" ,rust-reqwest-0.11) - ("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.32 - (package - (inherit rust-gix-transport-0.37) - (name "rust-gix-transport") - (version "0.32.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-transport" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05fzh609x4d6djizmrv5m98axinp2m5hcpk003bqw1x9v7z9z8v4")))) - (arguments - `(#:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-base64" ,rust-base64-0.21) - ("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-1) - ("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-credentials" ,rust-gix-credentials-0.15) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-packetline" ,rust-gix-packetline-0.16) - ("rust-gix-quote" ,rust-gix-quote-0.4) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-gix-url" ,rust-gix-url-0.19) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-reqwest" ,rust-reqwest-0.11) - ("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)))))) - -(define-public rust-gix-traverse-0.33 - (package - (name "rust-gix-traverse") - (version "0.33.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-traverse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "180vp1piwlalsv8qkmmif03l7h2kdxfx5vawkclbmb236smh9vr2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) - ("rust-gix-date" ,rust-gix-date-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) - ("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.26 - (package - (inherit rust-gix-traverse-0.33) - (name "rust-gix-traverse") - (version "0.26.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-traverse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1n9kgzw5jal2jsqb56bpaj1xp35zp2hz6nf5klrjdgxl9jc2x15h")))) - (arguments - `(#:cargo-inputs - (("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-url-0.24 - (package - (name "rust-gix-url") - (version "0.24.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-url" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03s2ds2z6whd44qapyvz4kqfpniik0issv6s09rbys4cdvsfq9b1")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; undeclared crate gix_testtools - #:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-features" ,rust-gix-features-0.35) - ("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-libtest-mimic" ,rust-libtest-mimic-0.6)))) - (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.19 - (package - (inherit rust-gix-url-0.24) - (name "rust-gix-url") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-url" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qy8shn5s8r9fjchcqrz0xwg89lsjykd463naji4f864bbr3srpi")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-home" ,rust-home-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-gix-utils-0.1 - (package - (name "rust-gix-utils") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03rgnpcgy968sqqamm7w8197ykklhfas2lnr1rpf44w6fbf8jpdq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis - "Crate with `gitoxide` utilities that don't need feature toggles") - (description - "This package provides a crate with `gitoxide` utilities that don't need -feature toggles.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gix-validate-0.8 - (package - (name "rust-gix-validate") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-validate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1idq44xvqjf2pxw9kxxjvi5cwklzc4wallp0arhqcnx40cmsnp70")))) - (build-system cargo-build-system) - (arguments - `(#: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") - (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.7 - (package - (inherit rust-gix-validate-0.8) - (name "rust-gix-validate") - (version "0.7.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-validate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0h4hr3rpgwc7ixyynjp53s9il3sb0gq8ad332k8drwyfn8vkg6xs")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-gix-worktree-0.26 - (package - (name "rust-gix-worktree") - (version "0.26.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-worktree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zhl1wlf4zl0ny1mwp7j24gzln63xy2grrh9cvaq5g8152bk4plz")))) - (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.19) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-glob" ,rust-gix-glob-0.13) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-ignore" ,rust-gix-ignore-0.8) - ("rust-gix-index" ,rust-gix-index-0.25) - ("rust-gix-object" ,rust-gix-object-0.37) - ("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)))) - -(define-public rust-gix-worktree-0.18 - (package - (inherit rust-gix-worktree-0.26) - (name "rust-gix-worktree") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-worktree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xjhxw6lmjhnmcnhajaks34dnsqgg7w7lf576hkl0m485sbav26k")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-gix-attributes" ,rust-gix-attributes-0.13) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-ignore" ,rust-gix-ignore-0.3) - ("rust-gix-index" ,rust-gix-index-0.17) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-io-close" ,rust-io-close-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-symlink" ,rust-symlink-0.1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-walkdir" ,rust-walkdir-2)))))) - -(define-public rust-gix-worktree-state-0.3 - (package - (name "rust-gix-worktree-state") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-worktree-state" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bcpspxpvl8yybz8b0p64pjxb69b7kmkhsyv9jgarigjc1lv1bn3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-filter" ,rust-gix-filter-0.5) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-glob" ,rust-gix-glob-0.13) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-index" ,rust-gix-index-0.25) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-worktree" ,rust-gix-worktree-0.26) - ("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-stream-0.5 - (package - (name "rust-gix-worktree-stream") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-worktree-stream" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sbmcar5r2wrv5dacx3381ykvc06fpfsfad4dfnw6p7428xfk7y8")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; using undeclared crates gix_worktree/gix_testtools - #:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.19) - ("rust-gix-features" ,rust-gix-features-0.35) - ("rust-gix-filter" ,rust-gix-filter-0.5) - ("rust-gix-fs" ,rust-gix-fs-0.7) - ("rust-gix-hash" ,rust-gix-hash-0.13) - ("rust-gix-object" ,rust-gix-object-0.37) - ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-traverse" ,rust-gix-traverse-0.33) - ("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)))) - (define-public rust-gjson-0.8 (package (name "rust-gjson") @@ -33417,15 +27081,14 @@ shell style patterns.") (define-public rust-globset-0.4 (package (name "rust-globset") - (version "0.4.12") + (version "0.4.14") (source (origin (method url-fetch) (uri (crate-uri "globset" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01phmxrkr9d7lhh84b6nylgjb3r21ssfddxvm23ihz3hw3cbpa5c")))) + (base32 "1qab0c1drpybgm4nc92lf8b46x0ap44c9y4k23rndgc5bfdkpnjp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -33433,11 +27096,11 @@ shell style patterns.") ("rust-bstr" ,rust-bstr-1) ("rust-fnv" ,rust-fnv-1) ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) + ("rust-regex-automata" ,rust-regex-automata-0.4) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-glob" ,rust-glob-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/BurntSushi/ripgrep/tree/master/globset") (synopsis "Single glob and glob set matching") @@ -33547,42 +27210,42 @@ timers.") libraries GMP, MPFR, and MPC.") (license license:lgpl3+))) -(define-public rust-goblin-0.7 +(define-public rust-goblin-0.8 (package (name "rust-goblin") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "goblin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0d11fk9bdxzf228xpr8v6d6a01dib00khjg5bldk9kf2d51inz7j")))) + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "goblin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-plain" ,rust-plain-0.2) - ("rust-scroll" ,rust-scroll-0.11)))) + #:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-plain" ,rust-plain-0.2) + ("rust-scroll" ,rust-scroll-0.12)) + #:cargo-development-inputs (("rust-stderrlog" ,rust-stderrlog-0.5)))) (home-page "https://github.com/m4b/goblin") (synopsis "ELF, Mach-o, and PE binary parsing and loading crate") (description "This package provides an ELF, Mach-o, and PE binary parsing and loading crate.") (license license:expat))) -(define-public rust-goblin-0.6 +(define-public rust-goblin-0.7 (package - (inherit rust-goblin-0.7) + (inherit rust-goblin-0.8) (name "rust-goblin") - (version "0.6.1") + (version "0.7.1") (source (origin (method url-fetch) (uri (crate-uri "goblin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd")))) + "0d11fk9bdxzf228xpr8v6d6a01dib00khjg5bldk9kf2d51inz7j")))) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -33590,24 +27253,24 @@ and loading crate.") ("rust-plain" ,rust-plain-0.2) ("rust-scroll" ,rust-scroll-0.11)))))) -(define-public rust-goblin-0.2 +(define-public rust-goblin-0.6 (package - (inherit rust-goblin-0.6) + (inherit rust-goblin-0.7) (name "rust-goblin") - (version "0.2.1") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "goblin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1j38fkqadbsjxawr3wnj9m0qaihcwp6pmfakmhsar881509y7mfx")))) + "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd")))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Not all files included. #:cargo-inputs - (("rust-scroll" ,rust-scroll-0.10) + (("rust-log" ,rust-log-0.4) ("rust-plain" ,rust-plain-0.2) - ("rust-log" ,rust-log-0.4)))))) + ("rust-scroll" ,rust-scroll-0.11)))))) (define-public rust-greetd-ipc-0.9 (package @@ -33655,23 +27318,48 @@ and loading crate.") ("rust-thiserror" ,rust-thiserror-1) ("rust-tokio" ,rust-tokio-1)))))) +(define-public rust-grep-0.3 + (package + (name "rust-grep") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "grep" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fa9x7q3l5z0bg91wzw1jfpk5rmh60h8bswbsxjcp1p6q5704avf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-grep-cli" ,rust-grep-cli-0.1) + ("rust-grep-matcher" ,rust-grep-matcher-0.1) + ("rust-grep-pcre2" ,rust-grep-pcre2-0.1) + ("rust-grep-printer" ,rust-grep-printer-0.2) + ("rust-grep-regex" ,rust-grep-regex-0.1) + ("rust-grep-searcher" ,rust-grep-searcher-0.1)) + #:cargo-development-inputs (("rust-termcolor" ,rust-termcolor-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page + "https://github.com/BurntSushi/ripgrep/tree/master/crates/grep") + (synopsis "Line oriented regex searching as a library") + (description + "Fast line oriented regex searching as a library.") + (license (list license:unlicense license:expat)))) + (define-public rust-grep-0.2 (package + (inherit rust-grep-0.3) (name "rust-grep") (version "0.2.8") (source (origin (method url-fetch) (uri (crate-uri "grep" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0mw61v132ng0nbz5ygb6jvsx729772803w5bv3zs4i8baq689jsi")))) - (build-system cargo-build-system) + (base32 "0mw61v132ng0nbz5ygb6jvsx729772803w5bv3zs4i8baq689jsi")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-grep-cli" ,rust-grep-cli-0.1) ("rust-grep-matcher" ,rust-grep-matcher-0.1) ("rust-grep-pcre2" ,rust-grep-pcre2-0.1) @@ -33680,38 +27368,29 @@ and loading crate.") ("rust-grep-searcher" ,rust-grep-searcher-0.1)) #:cargo-development-inputs (("rust-termcolor" ,rust-termcolor-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/BurntSushi/ripgrep") - (synopsis "Line oriented regex searching as a library") - (description - "Fast line oriented regex searching as a library.") - (license (list license:unlicense license:expat)))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-grep-cli-0.1 (package (name "rust-grep-cli") - (version "0.1.6") + (version "0.1.10") (source (origin (method url-fetch) (uri (crate-uri "grep-cli" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12lyww4hl4cham9zqqssm3wcp1g3ffvi6906wl6hsiml9g1i1l9d")))) + (base32 "09fpb96qly8ipkm5ipg228lvvcxza0kp6x6hqhibdf4s0n67hh7a")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-bstr" ,rust-bstr-0.2) - ("rust-globset" ,rust-globset-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-same-file" ,rust-same-file-1) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-winapi-util" ,rust-winapi-util-0.1)))) - (home-page "https://github.com/BurntSushi/ripgrep") + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-globset" ,rust-globset-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-winapi-util" ,rust-winapi-util-0.1)))) + (home-page + "https://github.com/BurntSushi/ripgrep/tree/master/crates/cli") (synopsis "Utilities for search oriented command line applications") (description "This crate provides utilities for search oriented command line @@ -33721,16 +27400,14 @@ applications.") (define-public rust-grep-matcher-0.1 (package (name "rust-grep-matcher") - (version "0.1.5") + (version "0.1.7") (source (origin (method url-fetch) (uri (crate-uri "grep-matcher" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1k618qni7bgx9mvdp1kaznqjvn2gpgiasrmi0cqd6b066cy5c9vd")))) + (base32 "00mcjar5b6y1pwf0gjdywzgh1fnp6jl612n9qznwyfm420d198s7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -33748,31 +27425,59 @@ the regex engine it uses pluggable.") (define-public rust-grep-pcre2-0.1 (package (name "rust-grep-pcre2") - (version "0.1.5") + (version "0.1.7") (source (origin (method url-fetch) (uri (crate-uri "grep-pcre2" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0hfyxsavqzf4rb5vc2a4hhi8dqw75vw1h95hinp4km9b6yxyvv66")))) + (base32 "1zwb5acalq7rvy70z4gsarqmrfaqmf9016yvxz5f573434idai02")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-grep-matcher" ,rust-grep-matcher-0.1) - ("rust-pcre2" ,rust-pcre2-0.2)))) - (native-inputs - (list pcre2 pkg-config)) + `(#:cargo-inputs (("rust-grep-matcher" ,rust-grep-matcher-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-pcre2" ,rust-pcre2-0.2)))) + (native-inputs (list pkg-config)) + (inputs (list pcre2)) (home-page - "https://github.com/BurntSushi/ripgrep") + "https://github.com/BurntSushi/ripgrep/tree/master/crates/pcre2") (synopsis "Use PCRE2 with the grep crate") (description "Use PCRE2 with the grep crate.") (license (list license:expat license:unlicense)))) +(define-public rust-grep-printer-0.2 + (package + (name "rust-grep-printer") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "grep-printer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cnf70gjnybfql0lmpr32dslb4xhxgc6h0dxwnv3ivla7jh14g3l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-grep-matcher" ,rust-grep-matcher-0.1) + ("rust-grep-searcher" ,rust-grep-searcher-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-termcolor" ,rust-termcolor-1)) + #:cargo-development-inputs + (("rust-grep-regex" ,rust-grep-regex-0.1)))) + (home-page "https://github.com/BurntSushi/ripgrep/tree/master/crates/printer") + (synopsis "Standard printing of search results") + (description + "This package is an implementation of the grep crate's Sink trait that +provides standard printing of search results, similar to grep itself.") + (license (list license:unlicense license:expat)))) + (define-public rust-grep-printer-0.1 (package + (inherit rust-grep-printer-0.2) (name "rust-grep-printer") (version "0.1.6") (source @@ -33784,7 +27489,6 @@ the regex engine it uses pluggable.") (sha256 (base32 "0wnw8khcvris8canv1dp58qh6vph18fml9qsnrsmdpxf9ni73hh5")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-base64" ,rust-base64-0.13) @@ -33796,37 +27500,26 @@ the regex engine it uses pluggable.") ("rust-serde-json" ,rust-serde-json-1) ("rust-termcolor" ,rust-termcolor-1)) #:cargo-development-inputs - (("rust-grep-regex" ,rust-grep-regex-0.1)))) - (home-page "https://github.com/BurntSushi/ripgrep") - (synopsis "Standard printing of search results") - (description - "This package is an implementation of the grep crate's Sink trait that -provides standard printing of search results, similar to grep itself.") - (license (list license:unlicense license:expat)))) + (("rust-grep-regex" ,rust-grep-regex-0.1)))))) (define-public rust-grep-regex-0.1 (package (name "rust-grep-regex") - (version "0.1.9") + (version "0.1.12") (source (origin (method url-fetch) (uri (crate-uri "grep-regex" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "01mx4xsrfp5hf8dpnvld1svs6i5dpg6xghigp4wkhdlcfv4m658j")))) + (base32 "0393d2ydvq8qdgss8k7pbnfdns7ramlhxjk7pifdldd8bh9vnj7p")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-aho-corasick" ,rust-aho-corasick-0.7) - ("rust-bstr" ,rust-bstr-0.2) - ("rust-grep-matcher" ,rust-grep-matcher-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-regex-syntax" ,rust-regex-syntax-0.6) - ("rust-thread-local" ,rust-thread-local-1)))) + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-grep-matcher" ,rust-grep-matcher-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-regex-automata" ,rust-regex-automata-0.4) + ("rust-regex-syntax" ,rust-regex-syntax-0.8)))) (home-page "https://github.com/BurntSushi/ripgrep") (synopsis "Use Rust's regex library with the grep crate") (description @@ -33836,30 +27529,27 @@ 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.8") + (version "0.1.13") (source (origin (method url-fetch) (uri (crate-uri "grep-searcher" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0gf2qkkfsywvzrqvfx6h88qzb68zmnvggvid1ljdqam51glvvgbz")))) + (base32 "0m1w35d9wnpv157g0adj3grqw0nkacqxv14mhgc65v4vyvj6llxs")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) - ("rust-bytecount" ,rust-bytecount-0.6) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1) - ("rust-grep-matcher" ,rust-grep-matcher-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-memmap" ,rust-memmap2-0.3)) - #:cargo-development-inputs - (("rust-grep-regex" ,rust-grep-regex-0.1) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/BurntSushi/ripgrep") + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1) + ("rust-grep-matcher" ,rust-grep-matcher-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-memmap2" ,rust-memmap2-0.9)) + #:cargo-development-inputs (("rust-grep-regex" ,rust-grep-regex-0.1) + ("rust-regex" ,rust-regex-1)))) + (home-page + "https://github.com/BurntSushi/ripgrep/tree/master/crates/searcher") (synopsis "Line oriented regex searching as a library") (description "Fast line oriented regex searching as a library.") @@ -33890,6 +27580,26 @@ provides standard printing of search results, similar to grep itself.") (description "Elliptic curve group traits and utilities.") (license (list license:expat license:asl2.0)))) +(define-public rust-group-0.12 + (package + (inherit rust-group-0.13) + (name "rust-group") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "group" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ixspxqdpq0hxg0hd9s6rngrp6rll21v4jjnr7ar1lzvdhxgpysx")))) + (arguments + `(#:cargo-inputs (("rust-ff" ,rust-ff-0.12) + ("rust-memuse" ,rust-memuse-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-subtle" ,rust-subtle-2)))))) + (define-public rust-groupable-0.2 (package (name "rust-groupable") @@ -33998,135 +27708,31 @@ of gzip files based on the gzip header implementation in the @code{flate2} crate `(#:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1)))))) -(define-public rust-h2-0.3 - (package - (name "rust-h2") - (version "0.3.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "h2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x6h3pqi4gzgcl6xdfpjmbm0mkh2mckgav4in9b54dfskny2k7sz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-fnv" ,rust-fnv-1) - ("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-http" ,rust-http-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-slab" ,rust-slab-0.4) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/hyperium/h2") - (synopsis "HTTP/2.0 client and server") - (description "This package provides an HTTP/2.0 client and server.") - (license license:expat))) - -(define-public rust-h2-0.2 - (package - (inherit rust-h2-0.3) - (name "rust-h2") - (version "0.2.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "h2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dd5jyxmmy88pdmvag7n41k9z1qs6sliagcyx4jss5292byjhisy")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-fnv" ,rust-fnv-1) - ("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-http" ,rust-http-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-slab" ,rust-slab-0.4) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-util" ,rust-tokio-util-0.3) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-futures" ,rust-tracing-futures-0.2)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.5) - ("rust-hex" ,rust-hex-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-rand" ,rust-rand-0.3) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) - ("rust-walkdir" ,rust-walkdir-1) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.17)))) - (native-inputs (list perl)))) - -(define-public rust-h2-0.1 - (package - (inherit rust-h2-0.2) - (name "rust-h2") - (version "0.1.26") - (source - (origin - (method url-fetch) - (uri (crate-uri "h2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qn457y8xh03p7c7cpk76r22gqpyqxc58g5022j3iya7d0j4rcx5")))) - (arguments - `(#:skip-build? #t ;; TODO missing indirect dependency - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-fnv" ,rust-fnv-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-slab" ,rust-slab-0.4) - ("rust-string" ,rust-string-0.2) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.5) - ("rust-hex" ,rust-hex-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-rand" ,rust-rand-0.3) - ;;("rust-rustls" ,rust-rustls-0.12) requires 0.5 - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tokio" ,rust-tokio-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) - ("rust-walkdir" ,rust-walkdir-1) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) - (define-public rust-half-2 (package (name "rust-half") - (version "2.2.1") + (version "2.3.1") (source (origin (method url-fetch) (uri (crate-uri "half" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1l1gdlzxgm7wc8xl5fxas20kfi1j35iyb7vfjkghbdzijcvazd02")))) + (base32 "0wj8gfpgn4zkjzw6hlnwb0pa71hy1mwq5h3fnpql71n02qwyalmw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=bfloat::test::test_nan_conversion_to_larger" + "--skip=bfloat::test::test_nan_conversion_to_smaller" + "--skip=binary16::test::test_nan_conversion_to_larger" + "--skip=binary16::test::test_nan_conversion_to_smaller") + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-cfg-if" ,rust-cfg-if-1) ("rust-crunchy" ,rust-crunchy-0.2) ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) ("rust-serde" ,rust-serde-1) ("rust-zerocopy" ,rust-zerocopy-0.6)) #:cargo-development-inputs @@ -34155,7 +27761,13 @@ IEEE 754-2008 binary16 type.") (sha256 (base32 "1mqbmx2m9qd4lslkb42fzgldsklhv9c4bxsc8j82r80d8m24mfza")))) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=bfloat::test::test_nan_conversion_to_larger" + "--skip=bfloat::test::test_nan_conversion_to_smaller" + "--skip=binary16::test::test_nan_conversion_to_larger" + "--skip=binary16::test::test_nan_conversion_to_smaller") + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1) @@ -34296,14 +27908,14 @@ already-hashed or hash-like data.") (define-public rust-hashbrown-0.14 (package (name "rust-hashbrown") - (version "0.14.0") + (version "0.14.3") (source (origin (method url-fetch) (uri (crate-uri "hashbrown" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0yj3nf0w30pf30w503kgaw4sbjnh62l5cbmc7dd0mnczzywh2qic")) + "012nywlg0lj9kwanh69my5x67vjlfmzfi9a0rq4qvis2j8fil3r9")) (modules '((guix build utils))) (snippet '(begin @@ -34316,6 +27928,7 @@ already-hashed or hash-like data.") (("rust-ahash" ,rust-ahash-0.8) ("rust-allocator-api2" ,rust-allocator-api2-0.2) ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-equivalent" ,rust-equivalent-1) ("rust-rayon" ,rust-rayon-1) ("rust-rkyv" ,rust-rkyv-0.7) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) @@ -34522,35 +28135,6 @@ hash map.") ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-serde-test" ,rust-serde-test-1)))))) -(define-public rust-hashbrown-0.5 - (package - (inherit rust-hashbrown-0.8) - (name "rust-hashbrown") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hashbrown" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0lr3gsicplw7czapsscmii87hgzpvxf5ch92v7pi95xsipxl3pp1")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-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-lazy-static" ,rust-lazy-static-1) - ("rust-rand" ,rust-rand-0.5) - ("rust-rayon" ,rust-rayon-1) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-serde-test" ,rust-serde-test-1)))))) - (define-public rust-hashbrown-0.3 (package (inherit rust-hashbrown-0.8) @@ -34572,39 +28156,6 @@ hash map.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-hashbrown-0.1 - (package - (inherit rust-hashbrown-0.5) - (name "rust-hashbrown") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "hashbrown" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1np350nrzysy021ndn2135q5vpzrp5nli78ywz114d1vcnv2kbiv")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("~1.2") "1.2")) - #t)))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-scopeguard" ,rust-scopeguard-0.3) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rand" ,rust-rand-0.5) - ("rust-rayon" ,rust-rayon-1) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-serde-test" ,rust-serde-test-1)))))) - (define-public rust-hashlink-0.8 (package (name "rust-hashlink") @@ -34653,28 +28204,28 @@ their key-value pairs in a user controllable order.") (define-public rust-hdrhistogram-7 (package (name "rust-hdrhistogram") - (version "7.5.2") + (version "7.5.4") (source (origin (method url-fetch) (uri (crate-uri "hdrhistogram" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a1al1rfxcqmx0n9h100ggvg036f4rv69fq12kimazvw9zsvj6bz")))) + (base32 "07ai0r66l1n53f2757gv07za1l5g1bprb7zz4v75kpbky6c92p3n")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=sync::mt_record_static") #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) + (("rust-base64" ,rust-base64-0.21) ("rust-byteorder" ,rust-byteorder-1) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) ("rust-flate2" ,rust-flate2-1) ("rust-nom" ,rust-nom-7) ("rust-num-traits" ,rust-num-traits-0.2)) #:cargo-development-inputs - (("rust-clap" ,rust-clap-3) + (("rust-clap" ,rust-clap-4) ("rust-ieee754" ,rust-ieee754-0.2) ("rust-rand" ,rust-rand-0.8) ("rust-rug" ,rust-rug-1)))) @@ -34685,117 +28236,6 @@ their key-value pairs in a user controllable order.") (description "This package provides a port of @code{HdrHistogram} to Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-hdrhistogram-6 - (package - (inherit rust-hdrhistogram-7) - (name "rust-hdrhistogram") - (version "6.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "hdrhistogram" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17dqk0rp8kimcd8wr542i8cny91fkclw7a2xzszar95wrpmk3lq8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3) - ("rust-flate2" ,rust-flate2-1) - ("rust-nom" ,rust-nom-4) - ("rust-num-traits" ,rust-num-traits-0.2)))))) - -(define-public rust-headers-0.3 - (package - (name "rust-headers") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "headers" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hyafm9q5havnbljfdzpkb7wrpx11ayzqzv02abycmklgk2rss32")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-headers-core" ,rust-headers-core-0.2) - ("rust-http" ,rust-http-0.2) - ("rust-mime" ,rust-mime-0.3) - ("rust-sha-1" ,rust-sha-1-0.8) - ("rust-time" ,rust-time-0.1)))) - (home-page "https://hyper.rs") - (synopsis "Typed HTTP headers") - (description "This package provides typed HTTP headers.") - (license license:expat))) - -(define-public rust-headers-0.2 - (package - (inherit rust-headers-0.3) - (name "rust-headers") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "headers" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hmnrra00cjqpsn05klnr9cysrv2bm19akxl5lncwcrgfbcafb48")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-headers-core" ,rust-headers-core-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-mime" ,rust-mime-0.3) - ("rust-sha-1" ,rust-sha-1-0.8) - ("rust-time" ,rust-time-0.1)))))) - -(define-public rust-headers-core-0.2 - (package - (name "rust-headers-core") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "headers-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ab469xfpd411mc3dhmjhmzrhqikzyj8a17jn5bkj9zfpy0n9xp7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-http" ,rust-http-0.2)))) - (home-page "https://hyper.rs") - (synopsis "Typed HTTP headers core trait") - (description "This package provides typed HTTP headers core trait.") - (license license:expat))) - -(define-public rust-headers-core-0.1 - (package - (inherit rust-headers-core-0.2) - (name "rust-headers-core") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "headers-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ds20kg0igncs2r0jrcf26mq72k3j6ilanr0qwh7r7xak8kk2wcn")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-http" ,rust-http-0.1)))))) - (define-public rust-heapless-0.7 (package (name "rust-heapless") @@ -34944,19 +28384,17 @@ total runtime size of an object on the heap") (define-public rust-heck-0.4 (package (name "rust-heck") - (version "0.4.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "heck" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ygphsnfwl2xpa211vbqkz1db6ri1kvkg8p8sqybi37wclg7fh15")))) + (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m")))) (build-system cargo-build-system) (arguments - `(#:skip-build? - #t - #:cargo-inputs + `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) (home-page "https://github.com/withoutboats/heck") (synopsis "Case conversion library") @@ -34971,7 +28409,7 @@ consistent, and reasonably well performing.") (package (inherit rust-heck-0.4) (name "rust-heck") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) @@ -34979,23 +28417,22 @@ consistent, and reasonably well performing.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1b56s2c1ymdd0qmy31bw0ndhm31hcdamnhg3npp7ssrmc1ag9jw7")))) + "0b0kkr790p66lvzn9nsmfjvydrbmh9z5gb664jchwgw64vxiwqkd")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))))) (define-public rust-hermit-abi-0.3 (package (name "rust-hermit-abi") - (version "0.3.1") + (version "0.3.4") (source (origin (method url-fetch) (uri (crate-uri "hermit-abi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "11j2v3q58kmi5mhjvh6hfrb7il2yzg7gmdf5lpwnwwv6qj04im7y")))) + "07v5vbwb9kx0yxgdpx15h38ynpzhaqx5ncriryipypi5707hwgax")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -35033,16 +28470,14 @@ It is used to build the target x86_64-unknown-hermit.") (package (inherit rust-hermit-abi-0.2) (name "rust-hermit-abi") - (version "0.1.20") + (version "0.1.19") (source (origin (method url-fetch) (uri (crate-uri "hermit-abi" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ypkwpf5r7m0jqdn2wfa0070i412kn9snvi1hg52w1yfvc40k8y7")))) + (base32 "0cxcm8093nf5fyn114w8vxbrbcyvv91d4015rdnlgfll7cs6gd32")))) (arguments `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) @@ -35213,280 +28648,24 @@ compile time.") `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) -(define-public rust-hkdf-0.12 - (package - (name "rust-hkdf") - (version "0.12.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dyl16cf15hka32hv3l7dwgr3xj3brpfr27iyrbpdhlzdfgh46kr")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `sha1` - #:cargo-inputs - (("rust-hmac" ,rust-hmac-0.12)) - #:cargo-development-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-hex-literal" ,rust-hex-literal-0.2) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/RustCrypto/KDFs/") - (synopsis "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)") - (description "This package provides a HMAC-based Extract-and-Expand Key -Derivation Function (HKDF).") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hkdf-0.11 +(define-public rust-hexf-parse-0.2 (package - (inherit rust-hkdf-0.12) - (name "rust-hkdf") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sw8bz79xqq3bc5dh6nzv084g7va13j3lrqf91c10a2wimbnsw01")))) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.11)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-blobby" ,rust-blobby-0.3) - ("rust-crypto-tests" ,rust-crypto-tests-0.5) - ("rust-hex" ,rust-hex-0.4) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hkdf-0.10 - (package - (inherit rust-hkdf-0.11) - (name "rust-hkdf") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kwn3scjvv2x8zc6nz3wrnzxp9shpsdxnjqiyv2r65r3kiijzasi")))) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.10)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-crypto-tests" ,rust-crypto-tests-0.5) - ("rust-hex" ,rust-hex-0.4) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hkdf-0.9 - (package - (inherit rust-hkdf-0.11) - (name "rust-hkdf") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.8)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-crypto-tests" ,rust-crypto-tests-0.5) - ("rust-hex" ,rust-hex-0.4) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hkdf-0.8 - (package - (inherit rust-hkdf-0.9) - (name "rust-hkdf") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qzsmqrvcmgnrb109qr2mvsmr5c4psm1702vrpcqnj02c408m81z")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hmac" ,rust-hmac-0.7)))))) - -(define-public rust-hmac-0.12 - (package - (name "rust-hmac") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pmbr069sfg76z7wsssfk5ddcqd9ncp79fyz6zcm6yn115yc6jbc")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-digest" ,rust-digest-0.10)))) - (home-page "https://github.com/RustCrypto/MACs") - (synopsis "Generic implementation of Hash-based Message Authentication Code") - (description - "This package provides a generic implementation of @acronym{HMAC, -Hash-based Message Authentication Code}.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hmac-0.11 - (package - (inherit rust-hmac-0.12) - (name "rust-hmac") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.11) - ("rust-digest" ,rust-digest-0.9)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.11) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-streebog" ,rust-streebog-0.9)))))) - -(define-public rust-hmac-0.10 - (package - (inherit rust-hmac-0.11) - (name "rust-hmac") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.10) - ("rust-digest" ,rust-digest-0.9)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.10) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hmac-0.8 - (package - (inherit rust-hmac-0.11) - (name "rust-hmac") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-digest" ,rust-digest-0.9)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hmac-0.7 - (package - (inherit rust-hmac-0.8) - (name "rust-hmac") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15cnwpssp2n1kdm9x7abir67f2hp3q6rdfj1mcck3hm4rmj5xjsx")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-digest" ,rust-digest-0.8)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-md-5" ,rust-md-5-0.8) - ("rust-sha2" ,rust-sha2-0.8)))))) - -(define-public rust-hmac-0.5 - (package - (inherit rust-hmac-0.8) - (name "rust-hmac") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ppm927wsczkkvybj0y7r2w2lprvy5kf5h31qxyrvnbrhnqbvws4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.5) - ("rust-digest" ,rust-digest-0.7)))))) - -(define-public rust-hmac-sha1-0.1 - (package - (name "rust-hmac-sha1") - (version "0.1.3") + (name "rust-hexf-parse") + (version "0.2.1") (source (origin (method url-fetch) - (uri (crate-uri "hmac-sha1" version)) + (uri (crate-uri "hexf-parse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08k7aylc0v8x3abmxn3h73dkad3anfq2i94xk2mjrf4linnkycz1")))) + (base32 "1pr3a3sk66ddxdyxdxac7q6qaqjcn28v0njy22ghdpfn78l8d9nz")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-sha1" ,rust-sha1-0.2)))) - (home-page "https://github.com/pantsman0/rust-hmac-sha1") - (synopsis "Minimal implementation of HMAC-SHA1 in Rust") - (description - "This package is a pure Rust implementation of the @acronym{HMAC, -Hash-based Message Authentication Code algorithm} for SHA1.") - (license license:bsd-3))) + (home-page "https://github.com/lifthrasiir/hexf") + (synopsis "Hexadecimal float support for Rust") + (description "This library provides parsing functionality for hexadecimal +float literals. Two functions @code{parse_hexf32} and @code{parse_hexf64} are +provided for each type.") + (license license:cc0))) (define-public rust-hostname-0.3 (package @@ -35529,8 +28708,7 @@ Hash-based Message Authentication Code algorithm} for SHA1.") (base32 "0kprf862qaa7lwdms6aw7f3275h0j2rwhs9nz5784pm8hdmb9ki1")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-winutil" ,rust-winutil-0.1)))))) @@ -35778,325 +28956,108 @@ characters in HTML, decoding and unescaping HTML entities as well.") "Filesystem walk performed in parallel with streamed and sorted results.") (license license:expat))) -(define-public rust-kuchiki-0.8 - (package - (name "rust-kuchiki") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "kuchiki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n53hhscgf4az58nnbjfxlqz9k96h3f02c7fhbzpqdriw33fka0y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cssparser" ,rust-cssparser-0.27) - ("rust-html5ever" ,rust-html5ever-0.25) - ("rust-matches" ,rust-matches-0.1) - ("rust-selectors" ,rust-selectors-0.22)))) - (home-page "https://github.com/SimonSapin/kuchiki") - (synopsis "HTML/XML tree manipulation library") - (description "A library for parsing and serializing HTML and XML documents -and traversing, manipulating, and querying the document tree.") - (license license:expat))) - -(define-public rust-kuznyechik-0.8 +(define-public rust-koibumi-base32-0.0.2 (package - (name "rust-kuznyechik") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "kuznyechik" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0av39qh65xchvpfjkcwh861h9bzmmrgcrzl5h0sa5b692xabd0w4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Kuznyechik (GOST R 34.12-2015) block cipher") - (description "Kuznyechik (GOST R 34.12-2015) block cipher") - (license (list license:expat license:asl2.0)))) - -(define-public rust-http-0.2 - (package - (name "rust-http") - (version "0.2.9") + (name "rust-koibumi-base32") + (version "0.0.2") (source (origin (method url-fetch) - (uri (crate-uri "http" version)) + (uri (crate-uri "koibumi-base32" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10j4jjpngaymxjvi92hllr2y6acr09pq61cvzxd44qzvkb4zyvmx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-fnv" ,rust-fnv-1) - ("rust-itoa" ,rust-itoa-1)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-indexmap" ,rust-indexmap-1.8) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7) - ("rust-seahash" ,rust-seahash-3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/hyperium/http") - (synopsis "Set of types for representing HTTP requests and responses") - (description "This package provides a set of types for representing HTTP -requests and responses.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-http-0.1 - (package - (inherit rust-http-0.2) - (name "rust-http") - (version "0.1.21") - (source - (origin - (method url-fetch) - (uri (crate-uri "http" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1w21xnhd8f48zvbmm5njg2y1nb4p08ppn8r0cs2xi5d8wgnzbk6n")))) - (arguments - `(#:tests? #f ; doc tests fail - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-fnv" ,rust-fnv-1) - ("rust-itoa" ,rust-itoa-0.4)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-indexmap" ,rust-indexmap-1.8) - ("rust-quickcheck" ,rust-quickcheck-0.6) - ("rust-rand" ,rust-rand-0.4) - ("rust-seahash" ,rust-seahash-3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-http-auth-0.1 - (package - (name "rust-http-auth") - (version "0.1.8") - (source (origin - (method url-fetch) - (uri (crate-uri "http-auth" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1g6gpn2py0c4l45wp61k3zc45vg5l20zq39mxgxh56hzgb6wlc2l")))) + (base32 "1frb232m6rw50ly8ijhsbllcqfif5kcma1l6hrgm5g22c3c3il94")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-digest" ,rust-digest-0.10) - ("rust-hex" ,rust-hex-0.4) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-md-5" ,rust-md-5-0.10) - ("rust-memchr" ,rust-memchr-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-reqwest" ,rust-reqwest-0.11)))) - (inputs - (list openssl)) - (native-inputs - (list pkg-config)) - (home-page "https://github.com/scottlamb/http-auth") - (synopsis "HTTP authentication for rust") - (description "This package provices HTTP authentication; it can parse -challenge lists, respond to Basic and Digest challenges. It is likely to be -extended with server support and additional auth schemes.") - (license (list license:expat license:asl2.0)))) + (("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://kashiko.gitlab.io/koibumi-rust/") + (synopsis "Base32 encoder/decoder library") + (description "This package provides a Base32 encoder/decoder library.") + (license license:gpl3+))) -(define-public rust-http-body-0.4 +(define-public rust-konst-0.2 (package - (name "rust-http-body") - (version "0.4.4") + (name "rust-konst") + (version "0.2.19") (source (origin (method url-fetch) - (uri (crate-uri "http-body" version)) + (uri (crate-uri "konst" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1imjszmk34603m7chfnhd3rq263bxbdlaxhlbzd06wv7354zix0z")))) + (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-http" ,rust-http-0.2)))) - (home-page "https://github.com/hyperium/http-body") - (synopsis "Asynchronous, streaming, HTTP request or response body") + `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2) + ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2) + ("rust-trybuild" ,rust-trybuild-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis + "Const equivalents of std functions, compile-time comparison, and parsing") (description - "This crate provides a trait representing an asynchronous, streaming, -HTTP request or response body.") - (license license:expat))) - -(define-public rust-http-body-0.3 - (package - (inherit rust-http-body-0.4) - (name "rust-http-body") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "http-body" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06qi0ni45lb92w3ml260c0bxbq5zd4snjmz0a9k69xq6021zzm8k")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-http" ,rust-http-0.2)))))) - -(define-public rust-http-body-0.1 - (package - (inherit rust-http-body-0.3) - (name "rust-http-body") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "http-body" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0b99404k4mw6a92hvyr0qwzkqv4f866ykg0x7913limjq5cwhhb7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-tokio-buf" ,rust-tokio-buf-0.1)))))) + "Const equivalents of std functions, compile-time comparison, and parsing.") + (license license:zlib))) -(define-public rust-http-client-6 +(define-public rust-konst-macro-rules-0.2 (package - (name "rust-http-client") - (version "6.3.4") + (name "rust-konst-macro-rules") + (version "0.2.19") (source (origin (method url-fetch) - (uri (crate-uri "http-client" version)) + (uri (crate-uri "konst_macro_rules" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i0mys38gsih9kkrdbfsmd8p9lnb2nd5wch76cpkjmqk8mm2mhcq")))) + (base32 "0dswja0dqcww4x3fwjnirc0azv2n6cazn8yv0kddksd8awzkz4x4")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-h1" ,rust-async-h1-2) - ("rust-async-native-tls" ,rust-async-native-tls-0.3) - ("rust-async-std" ,rust-async-std-1) - ("rust-async-tls" ,rust-async-tls-0.10) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-dashmap" ,rust-dashmap-4) - ("rust-deadpool" ,rust-deadpool-0.7) - ("rust-futures" ,rust-futures-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-http-types" ,rust-http-types-2) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-hyper-tls" ,rust-hyper-tls-0.4) - ("rust-isahc" ,rust-isahc-0.9) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/http-rs/http-client") - (synopsis "Types and traits for HTTP clients") - (description "This package provides types and traits for HTTP clients.") - (license (list license:expat license:asl2.0)))) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis "Implementation detail of the konst crate") + (description "Implementation detail of the konst crate.") + (license license:zlib))) -(define-public rust-http-types-2 +(define-public rust-konst-proc-macros-0.2 (package - (name "rust-http-types") - (version "2.10.0") + (name "rust-konst-proc-macros") + (version "0.2.11") (source (origin (method url-fetch) - (uri (crate-uri "http-types" version)) + (uri (crate-uri "konst_proc_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p7g2rzgzvnd419a5ddlyb2nz85z9bw7cdkqyl7467cx2fxkwq9j")))) + (base32 "0dxp8mdh3q9d044ql203way4fgbc50n3j3pi2j1x2snlcaa10klq")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-async-channel" ,rust-async-channel-1) - ("rust-async-std" ,rust-async-std-1) - ("rust-base64" ,rust-base64-0.13) - ("rust-cookie" ,rust-cookie-0.14) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-http" ,rust-http-0.2) - ("rust-infer" ,rust-infer-0.2) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-rand" ,rust-rand-0.7) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-qs" ,rust-serde-qs-0.7) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-url" ,rust-url-2)))) - (home-page "https://github.com/http-rs/http-types") - (synopsis "Common types for HTTP operations") - (description - "This package provides common types for HTTP operations.") - (license (list license:expat license:asl2.0)))) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis "Implementation detail of the @code{konst} crate") + (description "Implementation detail of the @code{konst} crate.") + (license license:zlib))) -(define-public rust-httparse-1 +(define-public rust-kuchiki-0.8 (package - (name "rust-httparse") - (version "1.8.0") + (name "rust-kuchiki") + (version "0.8.1") (source - (origin - (method url-fetch) - (uri (crate-uri "httparse" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "010rrfahm1jss3p022fqf3j3jmm72vhn4iqhykahb9ynpaag75yq")))) + (origin + (method url-fetch) + (uri (crate-uri "kuchiki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n53hhscgf4az58nnbjfxlqz9k96h3f02c7fhbzpqdriw33fka0y")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/seanmonstar/httparse") - (synopsis "Zero-copy HTTP/1.x parser") - (description - "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-httpdate-1 - (package - (name "rust-httpdate") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "httpdate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08bln7b1ibdw26gl8h4dr6rlybvlkyhlha309xbh9ghxh9nf78f4")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/pyfisch/httpdate") - (synopsis "HTTP date parsing and formatting") - (description - "This crates parses and formats HTTP datetime strings.") - (license (list license:expat license:asl2.0)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-cssparser" ,rust-cssparser-0.27) + ("rust-html5ever" ,rust-html5ever-0.25) + ("rust-matches" ,rust-matches-0.1) + ("rust-selectors" ,rust-selectors-0.22)))) + (home-page "https://github.com/SimonSapin/kuchiki") + (synopsis "HTML/XML tree manipulation library") + (description "A library for parsing and serializing HTML and XML documents +and traversing, manipulating, and querying the document tree.") + (license license:expat))) (define-public rust-human-format-1 (package @@ -36226,428 +29187,6 @@ SystemTime}}.") ("rust-rand" ,rust-rand-0.4) ("rust-time" ,rust-time-0.1)))))) -(define-public rust-hyper-0.14 - (package - (name "rust-hyper") - (version "0.14.24") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k0nbykigwb9gmbqb13dyjdq7izc624j8ymaa21xns0bz9r160ay")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-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-h2" ,rust-h2-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-http-body" ,rust-http-body-0.4) - ("rust-httparse" ,rust-httparse-1) - ("rust-httpdate" ,rust-httpdate-1) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-libc" ,rust-libc-0.2) - ("rust-pin-project" ,rust-pin-project-lite-0.2) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-tokio" ,rust-tokio-1) - ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-want" ,rust-want-0.3)))) - (home-page "https://hyper.rs") - (synopsis "Fast and correct HTTP library") - (description "This package provides a fast and correct HTTP library.") - (license license:expat))) - -(define-public rust-hyper-0.13 - (package - (inherit rust-hyper-0.14) - (name "rust-hyper") - (version "0.13.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1symcnba2y03b8lj6xp2wd994lk3xyk3wizacjg5s60njzfshs1y")))) - (arguments - `(#:tests? #f ; Not all files included - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("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-h2" ,rust-h2-0.2) - ("rust-http" ,rust-http-0.2) - ("rust-http-body" ,rust-http-body-0.3) - ("rust-httparse" ,rust-httparse-1) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-socket2" ,rust-socket2-0.3) - ("rust-time" ,rust-time-0.1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-want" ,rust-want-0.3)) - #:cargo-development-inputs - (("rust-futures-util" ,rust-futures-util-0.3) - ("rust-matches" ,rust-matches-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-spmc" ,rust-spmc-0.3) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-test" ,rust-tokio-test-0.2) - ("rust-tokio-util" ,rust-tokio-util-0.3) - ("rust-tower-util" ,rust-tower-util-0.3) - ("rust-url" ,rust-url-1)))))) - -(define-public rust-hyper-0.12 - (package - (inherit rust-hyper-0.13) - (name "rust-hyper") - (version "0.12.35") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xnm8zi4bdjqhlnx3238kx8yjf29jjd1ww54apcql7wf8g8nxglx")))) - (arguments - `(#:skip-build? #t ;; fails due to some missing example file - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-futures-cpupool" ,rust-futures-cpupool-0.1) - ("rust-h2" ,rust-h2-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-http-body" ,rust-http-body-0.1) - ("rust-httparse" ,rust-httparse-1) - ("rust-iovec" ,rust-iovec-0.1) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-net2" ,rust-net2-0.2) - ("rust-time" ,rust-time-0.1) - ("rust-tokio" ,rust-tokio-0.1) - ("rust-tokio-buf" ,rust-tokio-buf-0.1) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-threadpool" ,rust-tokio-threadpool-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-want" ,rust-want-0.2)) - #:cargo-development-inputs - (("rust-futures-timer" ,rust-futures-timer-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-rustc-version" ,rust-rustc-version-0.2) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-spmc" ,rust-spmc-0.3) - ("rust-tokio-fs" ,rust-tokio-fs-0.1) - ("rust-tokio-mockstream" ,rust-tokio-mockstream-1) - ("rust-url" ,rust-url-1)))))) - -(define-public rust-hyper-0.10 - (package - (inherit rust-hyper-0.13) - (name "rust-hyper") - (version "0.10.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wwjh9p3mzvg3fss2lqz5r7ddcgl1fh9w6my2j69d6k0lbcm41ha")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-httparse" ,rust-httparse-1) - ("rust-language-tags" ,rust-language-tags-0.2) - ("rust-log" ,rust-log-0.3) - ("rust-mime" ,rust-mime-0.2) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-time" ,rust-time-0.1) - ("rust-traitobject" ,rust-traitobject-0.1) - ("rust-typeable" ,rust-typeable-0.1) - ("rust-unicase" ,rust-unicase-1) - ("rust-url" ,rust-url-1)))))) - -(define-public rust-hyper-native-tls-0.3 - (package - (name "rust-hyper-native-tls") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0s30y20qy0akzss91yxsq1x1q7rr04jy33i0cq72nx22yjc5advd")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-antidote" ,rust-antidote-1) - ("rust-hyper" ,rust-hyper-0.10) - ("rust-native-tls" ,rust-native-tls-0.2)))) - (home-page "https://github.com/sfackler/hyper-native-tls") - (synopsis "native-tls support for Hyper 0.10") - (description "This package provides native-tls support for Hyper 0.10.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hyper-proxy-0.9 - (package - (name "rust-hyper-proxy") - (version "0.9.1") - (source (origin - (method url-fetch) - (uri (crate-uri "hyper-proxy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1k3mpq6d4rhz58dam1757sav14j32n39q8x37wjgpz943f4mm0fa")))) - (build-system cargo-build-system) - (arguments - (list - #:cargo-inputs - `(("rust-bytes" ,rust-bytes-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-headers" ,rust-headers-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-tokio" ,rust-tokio-1) - ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-hyper-rustls" ,rust-hyper-rustls-0.22) - ("rust-hyper-tls" ,rust-hyper-tls-0.5) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) - ("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.22) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)) - #:cargo-development-inputs - `(("rust-hyper" ,rust-hyper-0.14) - ("rust-tokio" ,rust-tokio-1)))) - (native-inputs (list pkg-config)) - (inputs (list openssl)) - (home-page "https://github.com/tafia/hyper-proxy") - (synopsis "Proxy connector for Hyper-based applications") - (description "Proxy connector for the Hyper HTTP library.") - (license license:expat))) - -(define-public rust-hyper-rustls-0.23 - (package - (name "rust-hyper-rustls") - (version "0.23.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0736s6a32dqr107f943xaz1n05flbinq6l19lq1wsrxkc5g9d20p")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-http" ,rust-http-0.2) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)) - #:cargo-development-inputs - (("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-tokio" ,rust-tokio-1)))) - (native-inputs (list perl)) - (home-page "https://github.com/ctz/hyper-rustls") - (synopsis "Rustls+Hyper integration for pure Rust HTTPS") - (description - "This package provides Rustls+Hyper integration for pure Rust HTTPS.") - (license - (list license:asl2.0 license:isc license:expat)))) - -(define-public rust-hyper-rustls-0.22 - (package - (inherit rust-hyper-rustls-0.23) - (name "rust-hyper-rustls") - (version "0.22.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r2szp06nzqx6gblcw69kwx8afjp218fc083kfpw0i3d66bpm7sz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ct-logs" ,rust-ct-logs-0.8) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) - -(define-public rust-hyper-rustls-0.21 - (package - (inherit rust-hyper-rustls-0.22) - (name "rust-hyper-rustls") - (version "0.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dmbj15fx6qyg26hji2jm7q9y383090jy3z9zjn5xs4f7v43qx1p")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-ct-logs" ,rust-ct-logs-0.7) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.4) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.20)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.2)))))) - -(define-public rust-hyper-sync-rustls-0.3 - (package - (name "rust-hyper-sync-rustls") - (version "0.3.0-rc.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-sync-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16zirxhsk26kz5jxxxs37wxsm02id97h57kkqs512fj1j0x486kd")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hyper" ,rust-hyper-0.10) - ("rust-rustls" ,rust-rustls-0.14) - ("rust-webpki" ,rust-webpki-0.18) - ("rust-webpki-roots" ,rust-webpki-roots-0.15)))) - (home-page "https://github.com/SergioBenitez/hyper-sync-rustls") - (synopsis "Glue code for Rustls and synchronous Hyper") - (description - "This package provides glue code for Rustls and synchronous Hyper.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hyper-timeout-0.4 - (package - (name "rust-hyper-timeout") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-timeout" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1c8k3g8k2yh1gxvsx9p7amkimgxhl9kafwpj7jyf8ywc5r45ifdv")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hyper" ,rust-hyper-0.14) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-io-timeout" ,rust-tokio-io-timeout-1)))) - (home-page "https://github.com/hjr3/hyper-timeout") - (synopsis "Connect, read and write timeout aware connector for Hyper") - (description - "This package provides a connect, read and write timeout aware connector -to be used with Hyper client.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hyper-tls-0.5 - (package - (name "rust-hyper-tls") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)))) - (home-page "https://hyper.rs") - (synopsis "Default TLS implementation for use with hyper") - (description "This package provides the default TLS implementation for use -with hyper.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hyper-tls-0.4 - (package - (inherit rust-hyper-tls-0.5) - (name "rust-hyper-tls") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vcfyz7dxavf4brns15afmj5fxz88lbn05rrpbfqsnybdp2sqyfr")))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-tls" ,rust-tokio-tls-0.3)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.2)))))) - (define-public rust-hyphenation-commons-0.8 (package (name "rust-hyphenation-commons") @@ -36706,7 +29245,7 @@ with hyper.") (define-public rust-hyprland-0.3 (package (name "rust-hyprland") - (version "0.3.8") + (version "0.3.12") (source (origin (method url-fetch) @@ -36714,7 +29253,7 @@ with hyper.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0a6ay1cnpmj3v16hs6k65yxdg53wv438i2va5rpgjz9bk8aijhm8")))) + "01pvz7bpdwj6ja410mm2flrk43x6cq1xbp11mpf1ngwzi7klmafz")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -36741,7 +29280,7 @@ with hyper.") ("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.24) + ("rust-strum" ,rust-strum-0.25) ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/hyprland-community/hyprland-rs") (synopsis "An unofficial rust wrapper for Hyprland's IPC") @@ -36902,8 +29441,34 @@ with hyper.") "Utility for applying case rules to Rust identifiers.") (license (list license:expat license:asl2.0)))) +(define-public rust-idna-0.5 + (package + (name "rust-idna") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "idna" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xhjrcjqq0l5bpzvdgylvpkgk94panxgsirzhjnnqfdgc4a9nkb3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-bidi" ,rust-unicode-bidi-0.3) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tester" ,rust-tester-0.9)))) + (home-page "https://github.com/servo/rust-url/") + (synopsis "Internationalizing Domain Names in Applications and Punycode") + (description + "IDNA (Internationalizing Domain Names in Applications) and Punycode.") + (license (list license:expat license:asl2.0)))) + (define-public rust-idna-0.4 (package + (inherit rust-idna-0.5) (name "rust-idna") (version "0.4.0") (source (origin @@ -36913,7 +29478,6 @@ with hyper.") (sha256 (base32 "0z4i1dhqk83bbv230pp1c31dqdlnscvqxvc85n40ihgvgfqdc83x")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-unicode-bidi" ,rust-unicode-bidi-0.3) @@ -36922,12 +29486,7 @@ with hyper.") (("rust-assert-matches" ,rust-assert-matches-1) ("rust-bencher" ,rust-bencher-0.1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tester" ,rust-tester-0.9)))) - (home-page "https://github.com/servo/rust-url/") - (synopsis "Internationalizing Domain Names in Applications and Punycode") - (description - "IDNA (Internationalizing Domain Names in Applications) and Punycode.") - (license (list license:expat license:asl2.0)))) + ("rust-tester" ,rust-tester-0.9)))))) (define-public rust-idna-0.3 (package @@ -37098,29 +29657,29 @@ let} expressions.") (define-public rust-ignore-0.4 (package (name "rust-ignore") - (version "0.4.20") + (version "0.4.22") (source (origin (method url-fetch) (uri (crate-uri "ignore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14kl9fv83klbnjxdv0y8lpwlj3gkypxf3vbrmm29m2jkmcyqgryv")))) + (base32 "1wcaqpi6djqgi1brghrdyw4d5qgnwzhqrqyn4mar4vp677gi0s5l")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-globset" ,rust-globset-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-regex" ,rust-regex-1) - ("rust-same-file" ,rust-same-file-1) - ("rust-thread-local" ,rust-thread-local-1) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi-util" ,rust-winapi-util-0.1)) + `(#:cargo-inputs (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8) + ("rust-globset" ,rust-globset-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-regex-automata" ,rust-regex-automata-0.4) + ("rust-same-file" ,rust-same-file-1) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-winapi-util" ,rust-winapi-util-0.1)) #:cargo-development-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)))) - (home-page "https://github.com/BurntSushi/ripgrep/tree/master/crates/ignore") + (("rust-bstr" ,rust-bstr-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)))) + (home-page + "https://github.com/BurntSushi/ripgrep/tree/master/crates/ignore") (synopsis "Efficiently match ignore files such as @file{.gitignore}") (description "This package provides a fast library for efficiently matching @@ -37427,14 +29986,14 @@ that efficiently appends and removes common indentation after every newline.") (define-public rust-indexmap-2 (package (name "rust-indexmap") - (version "2.0.0") + (version "2.1.0") (source (origin (method url-fetch) (uri (crate-uri "indexmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0pdnbvv6gnyxx2li8mks8p00fya3ynmhx3n6infpcy8a4gi7yiym")))) + "07rxrqmryr1xfnmhrjlz8ic6jw28v6h5cig3ws2c9d0wifhy2c6m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -37448,7 +30007,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.10) + ("rust-itertools" ,rust-itertools-0.11) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) @@ -37637,14 +30196,14 @@ Rust.") (define-public rust-indoc-2 (package (name "rust-indoc") - (version "2.0.2") + (version "2.0.4") (source (origin (method url-fetch) (uri (crate-uri "indoc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19xv7xcwln384m5m3p93hva9vv3yicjgsa69z1vrhakyq90dw73n")))) + (base32 "1n2z66b0y59rr6v4znpcijc2yd3yg6s40hpzv89yb140mvxnq60y")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -37809,6 +30368,65 @@ deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types.") (license license:bsd-2))) +(define-public rust-inline-c-0.1 + (package + (name "rust-inline-c") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "inline-c" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mcd7jcfwhkplgz1xb4iqrpc6m29v2k28w4q42yika9g23bd639l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-assert-cmd" ,rust-assert-cmd-1) + ("rust-cc" ,rust-cc-1) + ("rust-inline-c-macro" ,rust-inline-c-macro-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-predicates" ,rust-predicates-2) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-version" ,rust-rustc-version-0.3) + ("rust-target-lexicon" ,rust-target-lexicon-0.11) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/Hywan/inline-c-rs") + (synopsis "Write and execute C code inside Rust") + (description + "@code{inline-c} is a small crate that allows a user to write +C (including C++) code inside Rust. Both environments are strictly sandboxed. +The C code is transformed into a string which is written to a temporary file. +This file is then compiled into an object file, that is finally executed. + +The primary goal of @code{inline-c} is to ease the testing of a C API of a +Rust program (generated with @code{cbindgen} for example).") + (license license:bsd-3))) + +(define-public rust-inline-c-macro-0.1 + (package + (name "rust-inline-c-macro") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "inline-c-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05dfhfjmid31vybkycs4zmr9rhpmck02ca3w3n4dmb5dqwg65x8p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustc-version" ,rust-rustc-version-0.3)))) + (home-page "https://github.com/Hywan/inline-c-rs") + (synopsis "Macros used by @code{inline-c} to handle C code inside Rust") + (description + "This library contains the macros needed in @code{inline-c}, that allow +writing and executing C code inside Rust.") + (license license:bsd-3))) + (define-public rust-inotify-0.10 (package (name "rust-inotify") @@ -37938,22 +30556,21 @@ written in Rust.") "This package provides inotify bindings for the Rust programming language.") (license license:isc))) -(define-public rust-input-buffer-0.3 +(define-public rust-input-buffer-0.5 (package (name "rust-input-buffer") - (version "0.3.1") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "input_buffer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m4pamqvr00z90cmrgjj25iwpqy6fyac53k1ms63k86m8d9aka0r")))) + (base32 "044qxqdkcq6mv07bsvm35hl7hy3rmf87lrxjyz8zaq57i0xngvmc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5)))) + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1)))) (home-page "https://github.com/snapview/input_buffer") (synopsis "Peekable FIFO-like buffer for receiving network data efficiently") @@ -37962,6 +30579,23 @@ written in Rust.") data efficiently.") (license (list license:expat license:asl2.0)))) +(define-public rust-input-buffer-0.3 + (package + (inherit rust-input-buffer-0.5) + (name "rust-input-buffer") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "input_buffer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m4pamqvr00z90cmrgjj25iwpqy6fyac53k1ms63k86m8d9aka0r")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5)))))) + (define-public rust-inout-0.1 (package (name "rust-inout") @@ -37986,19 +30620,23 @@ over in-place and buffer-to-buffer modes of operation.") (define-public rust-insta-1 (package (name "rust-insta") - (version "1.28.0") + (version "1.34.0") (source (origin (method url-fetch) (uri (crate-uri "insta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16d0r0pbl9f86zb0rbvlc25964ayq47n7203rx5nnipy9a4v79gy")))) + (base32 "1z7v6mzm1djv9sn1k9j796xl2i3llwzj82klcz1cybsbwc5n0r2x")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" - "--" + '("--release" "--" "--skip=utils::test_format_rust_expression") #:cargo-inputs (("rust-console" ,rust-console-0.15) @@ -38087,18 +30725,22 @@ over in-place and buffer-to-buffer modes of operation.") (package (inherit rust-insta-0.16) (name "rust-insta") - (version "0.8.1") + (version "0.8.2") (source (origin (method url-fetch) (uri (crate-uri "insta" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "17rvqw9xm61prncbqi3cplphr3l2dl85sljdpyr3fz2mqjgbdfwb")))) + (base32 "1jk41bzid509y3s2r3hwh0s8cmcyywd0jzcgbs4ixb6sm2b7d0ll")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_unnamed_yaml_vector" + "--skip=test_yaml_vector" + "--skip=test_yaml_inline" + "--skip=test_yaml_inline_redacted" + "--skip=test_with_random_value") #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-ci-info" ,rust-ci-info-0.3) @@ -38117,20 +30759,18 @@ over in-place and buffer-to-buffer modes of operation.") (define-public rust-instant-0.1 (package (name "rust-instant") - (version "0.1.9") + (version "0.1.12") (source (origin (method url-fetch) (uri (crate-uri "instant" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1v659qqm55misvjijfbl1p7azjp4yynjbwldan8836ynpgp4w4k1")))) + "0b2bx5qdlwayriidhrag8vhy10kdfimfhmb3jnjmsz2h9j1bwnvs")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Issue during the wasm test. - #:cargo-inputs + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-js-sys" ,rust-js-sys-0.3) ("rust-stdweb" ,rust-stdweb-0.4) @@ -38194,23 +30834,20 @@ bytestring representations.") (define-public rust-interpolate-name-0.2 (package (name "rust-interpolate-name") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "interpolate_name" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "05vzsiqb69d1mbpaphcg4ifjsjs6g03b8pacskfcydqhh555zcxl")))) + (base32 "0q7s5mrfkx4p56dl8q9zq71y1ysdj4shh6f28qf9gly35l21jj63")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-quote" ,rust-quote-1)))) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/lu-zero/interpolate_name") (synopsis "Simple procedural macro attribute for repetitive tests") (description @@ -38220,14 +30857,14 @@ bytestring representations.") (define-public rust-inventory-0.3 (package (name "rust-inventory") - (version "0.3.8") + (version "0.3.14") (source (origin (method url-fetch) (uri (crate-uri "inventory" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1yd0qljqk29vkgpgac1vnigs44li8sd029jbrlrj8xg2w2hqg2n3")))) + "1iyckc52afd5d1ni819kxzz7g1l8bzdg88rvqxra6hxn3wmknmy8")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -38333,8 +30970,38 @@ versions < 0.2.") @code{BufWriter}.") (license (list license:expat license:asl2.0)))) +(define-public rust-io-lifetimes-2 + (package + (name "rust-io-lifetimes") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "io-lifetimes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1373iwawish51r5dbd7fav1hp89idk30wkmbphyrg60y8xqi6qas")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-hermit-abi" ,rust-hermit-abi-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-0.8) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/sunfishcode/io-lifetimes") + (synopsis "Low-level I/O ownership and borrowing library") + (description + "This package provides a low-level I/O ownership and borrowing +library.") + ;; The user can choose either license. + (license (list license:asl2.0 license:expat)))) + (define-public rust-io-lifetimes-1 (package + (inherit rust-io-lifetimes-2) (name "rust-io-lifetimes") (version "1.0.10") (source (origin @@ -38344,7 +31011,6 @@ versions < 0.2.") (sha256 (base32 "08625nsz0lgbd7c9lly6b6l45viqpsnj9jbsixd9mrz7596wfrlw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) ("rust-fs-err" ,rust-fs-err-2) @@ -38354,14 +31020,7 @@ versions < 0.2.") ("rust-os-pipe" ,rust-os-pipe-1) ("rust-socket2" ,rust-socket2-0.4) ("rust-tokio" ,rust-tokio-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) - (home-page "https://github.com/sunfishcode/io-lifetimes") - (synopsis "Low-level I/O ownership and borrowing library") - (description - "This package provides a low-level I/O ownership and borrowing -library.") - ;; The user can choose either license. - (license (list license:asl2.0 license:expat)))) + ("rust-windows-sys" ,rust-windows-sys-0.48)))))) (define-public rust-io-lifetimes-0.7 (package @@ -38434,52 +31093,28 @@ library.") (license (list license:asl2.0 license:expat)))) -(define-public rust-ipconfig-0.3 +(define-public rust-iri-string-0.7 (package - (name "rust-ipconfig") - (version "0.3.1") + (name "rust-iri-string") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "ipconfig" version)) + (uri (crate-uri "iri-string" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gn5j5sp58mz0630dhs1b8by7j0jqagldbd5iyln690gp7qjlc5x")))) + (base32 "1h07hkfkkjjvgzlaqpr5fia7hrgv7qxqdw4xrpdc3936gmk9p191")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-socket2" ,rust-socket2-0.4) - ("rust-widestring" ,rust-widestring-0.5) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winreg" ,rust-winreg-0.10)))) - (home-page "https://github.com/liranringel/ipconfig") - (synopsis "Get network adapters and configuration information for Windows") - (description "This package lets you get network adapters information and -network configuration for Windows.") + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/lo48576/iri-string") + (synopsis "IRI as string types") + (description "String types for @acronym{IRIs, Internationalized Resource +Identifiers} and @acronym{URIs, Uniform Resource Identifiers}.") (license (list license:expat license:asl2.0)))) -(define-public rust-ipconfig-0.2 - (package - (inherit rust-ipconfig-0.3) - (name "rust-ipconfig") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ipconfig" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mzsagc6bk3i3fpggqlq8am5rxn4hgs297rsaya90w79xj5g3qpp")))) - (arguments - `(#:tests? #f ; failed to resolve: could not find `computer` in `ipconfig` - #:cargo-inputs - (("rust-socket2" ,rust-socket2-0.3) - ("rust-widestring" ,rust-widestring-0.4) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winreg" ,rust-winreg-0.6)))))) - (define-public rust-is-ci-1 (package (name "rust-is-ci") @@ -38524,64 +31159,6 @@ or not without much fuss.") enum like Option/Result.") (license license:expat))) -(define-public rust-isahc-0.9 - (package - (name "rust-isahc") - (version "0.9.14") - (source - (origin - (method url-fetch) - (uri (crate-uri "isahc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572")))) - (build-system cargo-build-system) - (arguments - ;; Build fails with "failed to run custom build command for `curl-sys - ;; v0.4.39+curl-7.74.0`". Skip for now. - `(#:skip-build? #true - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-curl" ,rust-curl-0.4) - ("rust-curl-sys" ,rust-curl-sys-0.4) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-flume" ,rust-flume-0.9) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-publicsuffix" ,rust-publicsuffix-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-slab" ,rust-slab-0.4) - ("rust-sluice" ,rust-sluice-0.5) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-url" ,rust-url-2) - ("rust-waker-fn" ,rust-waker-fn-1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.8) - ("rust-indicatif" ,rust-indicatif-0.15) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-test-case" ,rust-test-case-1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)))) - (native-inputs - (list pkg-config)) - (inputs - (list curl openssl zlib)) - (home-page "https://github.com/sagebind/isahc") - (synopsis "Practical HTTP client") - (description - "Isahc is an acronym that stands for Incredible Streaming Asynchronous -HTTP Client. It is an asynchronous HTTP client for the Rust language. It -uses libcurl as an HTTP engine inside, and provides an easy-to-use API on top -that integrates with Rust idioms.") - (license license:expat))) - (define-public rust-ipnet-2 (package (name "rust-ipnet") @@ -38613,8 +31190,49 @@ The module only uses stable feature so it is guaranteed to compile using the stable toolchain.") (license (list license:expat license:asl2.0)))) +(define-public rust-ipnetwork-0.20 + (package + (name "rust-ipnetwork") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ipnetwork" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03hhmxyimz0800z44wl3z1ak8iw91xcnk7sgx5p5jinmx50naimz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://crates.io/crates/ipnetwork") + (synopsis "Work with IP CIDRs in Rust") + (description "This package provides a library to work with IP CIDRs in +Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ipnetwork-0.18 + (package + (inherit rust-ipnetwork-0.20) + (name "rust-ipnetwork") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ipnetwork" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mfkcrw8dxys6vi9bpvk2x1dyc8qi5wvrpc8jqinnm43n4wxg220")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-ipnetwork-0.17 (package + (inherit rust-ipnetwork-0.20) (name "rust-ipnetwork") (version "0.17.0") (source @@ -38625,52 +31243,34 @@ stable toolchain.") (sha256 (base32 "0sviri9ksb3cmhx3h0rcfy8pvpx7f0cx5ba1z87ydvf07amymhq2")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://crates.io/crates/ipnetwork") - (synopsis "Work with IP CIDRs in Rust") - (description "This package provides a library to work with IP CIDRs in -Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-iron-0.6 +(define-public rust-iptables-0.5 (package - (name "rust-iron") - (version "0.6.1") + (name "rust-iptables") + (version "0.5.1") (source (origin (method url-fetch) - (uri (crate-uri "iron" version)) + (uri (crate-uri "iptables" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s4mf8395f693nhwsr0znw3j5frzn56gzllypyl50il85p50ily6")))) + (base32 "0a96p8fq70v3z2rjf4c461pqhad6nkibs7sfgydkrf7ys1r0v7yk")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hyper" ,rust-hyper-0.10) - ("rust-hyper-native-tls" ,rust-hyper-native-tls-0.3) - ("rust-log" ,rust-log-0.3) - ("rust-mime-guess" ,rust-mime-guess-1) - ("rust-modifier" ,rust-modifier-0.1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-plugin" ,rust-plugin-0.2) - ("rust-typemap" ,rust-typemap-0.3) - ("rust-url" ,rust-url-1)))) - (home-page "https://github.com/iron/iron") - (synopsis "Extensible, concurrency focused web development in Rust") - (description - "Iron is a high level web framework built in and for Rust. It is highly -concurrent and can scale horizontally on more machines behind a load balancer -or by running more threads on a more powerful machine. Iron avoids the -bottlenecks encountered in highly concurrent code by avoiding shared writes -and locking in the core framework.") + `(#:tests? #f ; Tests can't be run in the build environment. + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nix" ,rust-nix-0.27) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/yaa110/rust-iptables") + (synopsis "Rust bindings for iptables") + (description "Rust bindings for iptables.") (license license:expat))) (define-public rust-is-debug-1 @@ -38718,20 +31318,20 @@ whether or not a given path points to an executable file.") (define-public rust-is-terminal-0.4 (package (name "rust-is-terminal") - (version "0.4.9") + (version "0.4.10") (source (origin (method url-fetch) (uri (crate-uri "is-terminal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "12xgvc7nsrp3pn8hcxajfhbli2l5wnh3679y2fmky88nhj4qj26b")))) + "0m9la3f7cs77y85nkbcjsxkb7k861fc6bdhahyfidgh7gljh1b8b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-hermit-abi" ,rust-hermit-abi-0.3) ("rust-rustix" ,rust-rustix-0.38) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-atty" ,rust-atty-0.2) ("rust-libc" ,rust-libc-0.2) @@ -38744,8 +31344,28 @@ whether or not a given path points to an executable file.") stream runs in a TTY.") (license license:expat))) +(define-public rust-iso8601-0.4 + (package + (name "rust-iso8601") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "iso8601" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15nfg6d4qlniw4gk7039s5y07lzgr1dp9snsw63lsxarnyz4zfg5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7)))) + (home-page "https://github.com/badboy/iso8601") + (synopsis "Parsing ISO8601 dates using nom") + (description "Parsing ISO8601 dates using nom.") + (license license:expat))) + (define-public rust-iso8601-0.3 (package + (inherit rust-iso8601-0.4) (name "rust-iso8601") (version "0.3.0") (source @@ -38757,13 +31377,8 @@ stream runs in a TTY.") (sha256 (base32 "0vvn6f9gv2295ik77nvaz99wzbwz1bmasrd787sz6d9mlwa6ks23")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-nom" ,rust-nom-4)))) - (home-page "https://github.com/badboy/iso8601") - (synopsis "Parsing ISO8601 dates using nom") - (description "Parsing ISO8601 dates using nom.") - (license license:expat))) + `(#:cargo-inputs (("rust-nom" ,rust-nom-4)))))) (define-public rust-isolang-2 (package @@ -38791,8 +31406,35 @@ stream runs in a TTY.") language codes.") (license license:asl2.0))) +(define-public rust-itertools-0.12 + (package + (name "rust-itertools") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "itertools" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c07gzdlc6a1c8p8jrvvw3gs52bss3y58cs2s21d9i978l36pnr5")))) + (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)))) + (home-page "https://github.com/rust-itertools/itertools") + (synopsis "Extra iterator adaptors, methods, free functions, and macros") + (description + "This package provides extra iterator adaptors, iterator methods, free +functions, and macros.") + (license (list license:expat license:asl2.0)))) + (define-public rust-itertools-0.11 (package + (inherit rust-itertools-0.12) (name "rust-itertools") (version "0.11.0") (source @@ -38802,7 +31444,6 @@ language codes.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mzyqcc59azx9g5cg6fs8k529gvh4463smmka6jvzs3cd2jp7hdi")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1)) @@ -38811,13 +31452,7 @@ language codes.") ("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 - "This package provides extra iterator adaptors, iterator methods, free -functions, and macros.") - (license (list license:expat license:asl2.0)))) + ("rust-rand" ,rust-rand-0.7)))))) (define-public rust-itertools-0.10 (package @@ -38914,27 +31549,6 @@ functions, and macros.") (("rust-permutohedron" ,rust-permutohedron-0.2) ("rust-quickcheck" ,rust-quickcheck-0.5)))))) -(define-public rust-itertools-0.6 - (package - (inherit rust-itertools-0.10) - (name "rust-itertools") - (version "0.6.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "itertools" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08fx60wxmjakssqn3w9045dasqvaf1gmgzg5kag062k9l56vxwnk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-either" ,rust-either-1)) - #:cargo-development-inputs - (("rust-permutohedron" ,rust-permutohedron-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.4)))))) - (define-public rust-itertools-0.5 (package (inherit rust-itertools-0.7) @@ -39066,21 +31680,18 @@ format.") (define-public rust-ivf-0.1 (package (name "rust-ivf") - (version "0.1.0") + (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "ivf" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1wfjf3rilqavrhvwagzinvng9dg28wcjk3c6c6p5qmc1xy65qfh1")))) + (base32 "1jjy911flpfpflnxw5fqsx6a3ghaq5wi2q18nx9cawpf81qnabsm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitstream-io" ,rust-bitstream-io-0.8)))) + `(#:cargo-inputs + (("rust-bitstream-io" ,rust-bitstream-io-2)))) (home-page "https://github.com/xiph/rav1e") (synopsis "Simple ivf muxer") (description "This package provides a simple ivf muxer.") @@ -39473,6 +32084,67 @@ strings and byte slices for sets of ASCII characters or bytes.") (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j")))) (arguments `(#:skip-build? #t)))) +(define-public rust-jiter-0.0.6 + (package + (name "rust-jiter") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "jiter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xr7cajq6r0szl6aga047asrd6cqrvw168yh0sz854znk5m0dnw7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-codspeed-bencher-compat" ,rust-codspeed-bencher-compat-2) + ("rust-paste" ,rust-paste-1) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (native-inputs (list python-minimal-wrapper)) ; For the tests. + (home-page "https://github.com/pydantic/jiter/") + (synopsis "Iterable JSON parser") + (description "This package provides an iterable JSON parser.") + (license license:expat))) + +(define-public rust-jiter-0.0.4 + (package + (inherit rust-jiter-0.0.6) + (name "rust-jiter") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "jiter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f10awvz0yxi4pb0783ya26wrw6bb48qn9smsc5bbxsvaff42zdj")))) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-codspeed-bencher-compat" ,rust-codspeed-bencher-compat-2) + ("rust-paste" ,rust-paste-1) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-jni-0.21 (package (name "rust-jni") @@ -39623,16 +32295,15 @@ 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.26") + (version "0.1.27") (source (origin (method url-fetch) (uri (crate-uri "jobserver" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1hkprvh1zp5s3qwjjwwhw7rcpivczcbf6q60rcxr0m8158hzsv4k")))) + "0z9w6vfqwbr6hfk9yaw7kydlh6f7k39xdlszxlh39in4acwzcdwc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -39649,30 +32320,6 @@ the jni-bindgen code generator for binding to JVM APIs from Rust.") "An implementation of the GNU make jobserver for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-jod-thread-0.1 - (package - (name "rust-jod-thread") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "jod-thread" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bj7g6l59ybcf33znf80ccqbxvs1cmd8ynd4m8h7ywdqk473c8wb")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/matklad/jod-thread") - (synopsis - "Thin wrapper around @code{std::thread} which joins on drop by default") - (description - "Join On Drop thread (jod_thread) is a thin wrapper around -@code{std::thread}, which makes sure that by default all threads are joined.") - (license (list license:expat license:asl2.0)))) - (define-public rust-jsonpath-lib-0.3 (package (name "rust-jsonpath-lib") @@ -39728,15 +32375,14 @@ JSON-RPC 2.0 specification.") (define-public rust-js-sys-0.3 (package (name "rust-js-sys") - (version "0.3.64") + (version "0.3.68") (source (origin (method url-fetch) (uri (crate-uri "js-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nlkiwpm8dyqcf1xyc6qmrankcgdd3fpzc0qyfq2sw3z97z9bwf5")) + (base32 "1vm98fhnhs4w6yakchi9ip7ar95900k9vkr24a21qlwd6r5xlv20")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -39776,21 +32422,6 @@ wasm-bindgen crate.") friction with idiomatic Rust structs to ease interopability.") (license (list license:expat license:asl2.0)))) -(define-public rust-json-0.11 - (package - (inherit rust-json-0.12) - (name "rust-json") - (version "0.11.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "json" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rg9jxf6bpbwis3ixd5ak8rp37him7n4z8awz4ssrxl6hyplbhlj")))) - (arguments '(#:skip-build? #t)))) - (define-public rust-juliex-0.3 (package (name "rust-juliex") @@ -39909,30 +32540,6 @@ debugging.") keccak-f and keccak-p variants.") (license (list license:asl2.0 license:expat)))) -(define-public rust-kernel32-sys-0.2 - (package - (name "rust-kernel32-sys") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "kernel32-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2) - ("rust-winapi-build" ,rust-winapi-build-0.1)))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Function definitions for the Windows API library kernel32") - (description "Contains function definitions for the Windows API library -kernel32.") - (license license:expat))) - (define-public rust-keyring-2 (package (name "rust-keyring") @@ -40403,22 +33010,6 @@ requires non-const function calls to be computed.") "This package provides a library providing a lazily filled Cell struct.") (license (list license:expat license:asl2.0)))) -(define-public rust-lazycell-0.5 - (package - (inherit rust-lazycell-1) - (name "rust-lazycell") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lazycell" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16w5c75sb7xjica1ys6w8ndxvy001y52fjz722m07yqid1x5nn1v")))) - (arguments - `(#:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0)))))) - (define-public rust-lddtree-0.3 (package (name "rust-lddtree") @@ -40494,6 +33085,24 @@ requires non-const function calls to be computed.") sending emails from Rust applications.") (license license:expat))) +(define-public rust-levenshtein-1 + (package + (name "rust-levenshtein") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "levenshtein" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q0pa1prsjk3v28xkas5rf30ng9816mxpr2n3xls65dmgawss4yv")))) + (build-system cargo-build-system) + (home-page "https://github.com/wooorm/levenshtein-rs") + (synopsis "Levenshtein algorithm") + (description + "This crate provides an implementation of the levenshtein algorithm in rust.") + (license license:expat))) + (define-public rust-lewton-0.10 (package (name "rust-lewton") @@ -40525,23 +33134,23 @@ source audio format.") (define-public rust-lexical-core-0.8 (package (name "rust-lexical-core") - (version "0.8.2") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "lexical-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1152ll9xa7v4jz2mjvz0048gy32yg39mzgjaps89h0any7c2cfba")))) + (base32 "0ihf0x3vrk25fq3bv9q35m0xax0wmvwkh0j0pjm2yk4ddvh5vpic")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-lexical-parse-float" ,rust-lexical-parse-float-0.8) ("rust-lexical-parse-integer" ,rust-lexical-parse-integer-0.8) ("rust-lexical-util" ,rust-lexical-util-0.8) ("rust-lexical-write-float" ,rust-lexical-write-float-0.8) - ("rust-lexical-write-integer" ,rust-lexical-write-integer-0.8)))) + ("rust-lexical-write-integer" ,rust-lexical-write-integer-0.8)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)))) (home-page "https://github.com/Alexhuszagh/rust-lexical/tree/master/lexical-core") (synopsis "Lexical, to- and from-string conversion routines") @@ -40579,21 +33188,22 @@ source audio format.") (define-public rust-lexical-parse-float-0.8 (package (name "rust-lexical-parse-float") - (version "0.8.2") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "lexical-parse-float" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03mzjx8k2jzv2vbl1xb589p9zfs5i2m23vcmm6fjsxps0k86dl5l")))) + (base32 "0py0gp8hlzcrlvjqmqlpl2v1as65iiqxq2xsabxvhc01pmg3lfv8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; unresolved import `quickcheck` #:cargo-inputs (("rust-lexical-parse-integer" ,rust-lexical-parse-integer-0.8) ("rust-lexical-util" ,rust-lexical-util-0.8) - ("rust-static-assertions" ,rust-static-assertions-1)))) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10)))) (home-page "https://github.com/Alexhuszagh/rust-lexical") (synopsis "Efficient parsing of floats from strings") (description @@ -40603,20 +33213,20 @@ source audio format.") (define-public rust-lexical-parse-integer-0.8 (package (name "rust-lexical-parse-integer") - (version "0.8.0") + (version "0.8.6") (source (origin (method url-fetch) (uri (crate-uri "lexical-parse-integer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b2kxprq3636x3j1qy68202q7yzsmq5c7h9w7m7zrh4cvanjpjgj")))) + (base32 "1sayji3mpvb2xsjq56qcq3whfz8px9a6fxk5v7v15hyhbr4982bd")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-lexical-util" ,rust-lexical-util-0.8) - ("rust-static-assertions" ,rust-static-assertions-1)))) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10)))) (home-page "https://github.com/Alexhuszagh/rust-lexical") (synopsis "Efficient parsing of integers from strings") (description @@ -40626,19 +33236,20 @@ source audio format.") (define-public rust-lexical-util-0.8 (package (name "rust-lexical-util") - (version "0.8.1") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "lexical-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14g224mm2li0q6jnnqh92dzx3zjyflji3i8dz4xf6vp1mb66kxkg")))) + (base32 "1z73qkv7yxhsbc4aiginn1dqmsj8jarkrdlyxc88g2gz2vzvjmaj")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; unresolved import `quickcheck` #:cargo-inputs - (("rust-static-assertions" ,rust-static-assertions-1)))) + (("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10)))) (home-page "https://github.com/Alexhuszagh/rust-lexical") (synopsis "Shared utilities for lexical crate") (description "This package provides shared utilities for lexical crate.") @@ -40647,17 +33258,17 @@ source audio format.") (define-public rust-lexical-write-float-0.8 (package (name "rust-lexical-write-float") - (version "0.8.2") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "lexical-write-float" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xn5dpdmld2nvj7jvz3xrvjjbrnsh4jhymjimax7labvija8clcb")))) + (base32 "0qk825l0csvnksh9sywb51996cjc2bylq6rxjaiha7sqqjhvmjmc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; Cut the dependency chain. #:cargo-inputs (("rust-lexical-util" ,rust-lexical-util-0.8) ("rust-lexical-write-integer" ,rust-lexical-write-integer-0.8) @@ -40671,20 +33282,21 @@ source audio format.") (define-public rust-lexical-write-integer-0.8 (package (name "rust-lexical-write-integer") - (version "0.8.0") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "lexical-write-integer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vsn3zg2hyqnyapwmzb2aw0w5f53ad6s6n46xyazsh0f5r4mdsgc")))) + (base32 "0ii4hmvqrg6pd4j9y1pkhkp0nw2wpivjzmljh6v6ca22yk8z7dp1")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; unresolved import `quickcheck` #:cargo-inputs (("rust-lexical-util" ,rust-lexical-util-0.8) - ("rust-static-assertions" ,rust-static-assertions-1)))) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10)))) (home-page "https://github.com/Alexhuszagh/rust-lexical") (synopsis "Efficient formatting of integers to strings") (description @@ -40694,18 +33306,17 @@ source audio format.") (define-public rust-lexical-6 (package (name "rust-lexical") - (version "6.0.1") + (version "6.1.1") (source (origin (method url-fetch) (uri (crate-uri "lexical" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y8v2s8g2hjinwf5hbm1ncbazw9q4qbp111q2mwacq6hi0grhkn3")))) + (base32 "1xk8g6k17ml0sjyx388qck9zqhxjfyzjqx1l6c0ggzj3zlvgpbn7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-lexical-core" ,rust-lexical-core-0.8)))) (home-page "https://github.com/Alexhuszagh/rust-lexical") (synopsis "Lexical, to- and from-string conversion routines") @@ -40781,14 +33392,14 @@ parser in Rust.") (define-public rust-libc-0.2 (package (name "rust-libc") - (version "0.2.148") + (version "0.2.151") (source (origin (method url-fetch) (uri (crate-uri "libc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16rn9l8s5sj9n2jb2pw13ghqwa5nvjggkh9q3lp6vs1jfghp3p4w")))) + (base32 "1x28f0zgp4zcwr891p8n9ag9w371sbib30vp4y6hi2052frplb9h")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -40850,16 +33461,16 @@ macros on libc without stdlib.") (license (list license:asl2.0 license:expat)))) ;; TODO: Unbundle libdeflate -(define-public rust-libdeflate-sys-0.11 +(define-public rust-libdeflate-sys-1 (package (name "rust-libdeflate-sys") - (version "0.11.0") + (version "1.19.0") (source (origin (method url-fetch) (uri (crate-uri "libdeflate-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xs2wdly73ar7r9qyrbwnkwjjz4wd92kv5h78cdxfrsbp2v88ryb")))) + (base32 "1hhwgzlpbw2nafylnjrhbyh7s6q9fb2cglf3xxcia30hhmzim4k7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) @@ -40871,6 +33482,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.11 + (package + (inherit rust-libdeflate-sys-1) + (name "rust-libdeflate-sys") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflate-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xs2wdly73ar7r9qyrbwnkwjjz4wd92kv5h78cdxfrsbp2v88ryb")))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) + (define-public rust-libdeflate-sys-0.7 (package (inherit rust-libdeflate-sys-0.11) @@ -40886,22 +33511,23 @@ deflate, zlib, and gzip data.") (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) -(define-public rust-libdeflater-0.11 +(define-public rust-libdeflater-1 (package (name "rust-libdeflater") - (version "0.11.0") + (version "1.19.0") (source (origin (method url-fetch) (uri (crate-uri "libdeflater" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0385hpai7fsnpfvxd3hki43v1cj8w6z1cb2rn8wd6vq4dam8bqnq")))) + (base32 "0zdbiqq2fmjakwk7d1xwnakjnxzaba9rz18k9clyql13cqpv4c9s")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.11)) + (("rust-libdeflate-sys" ,rust-libdeflate-sys-1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) + (("rust-adler32" ,rust-adler32-1) + ("rust-criterion" ,rust-criterion-0.3) ("rust-flate2" ,rust-flate2-1)))) (home-page "https://github.com/adamkewley/libdeflater") (synopsis "Bindings to libdeflate for DEFLATE") @@ -40910,6 +33536,24 @@ deflate, zlib, and gzip data.") for raw deflate, zlib, and gzip data.") (license license:asl2.0))) +(define-public rust-libdeflater-0.11 + (package + (inherit rust-libdeflater-1) + (name "rust-libdeflater") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflater" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0385hpai7fsnpfvxd3hki43v1cj8w6z1cb2rn8wd6vq4dam8bqnq")))) + (arguments + `(#:cargo-inputs + (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.11)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-flate2" ,rust-flate2-1)))))) + (define-public rust-libflate-1 (package (name "rust-libflate") @@ -40982,233 +33626,48 @@ algorithm and related formats (ZLIB, GZIP).") (description "This package provides a LZ77 encoder for libflate crate.") (license license:expat))) -(define-public rust-libfuzzer-sys-0.3 +(define-public rust-libfuzzer-sys-0.4 (package (name "rust-libfuzzer-sys") - (version "0.3.5") + (version "0.4.7") (source (origin (method url-fetch) (uri (crate-uri "libfuzzer-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vv42rpvmfr83hlblyrjf8ifilsmc3d5gcznblmghx5jnsj89wgw")))) + (base32 "1xz70z8q85f80wdrc0m0flck73cqdhj5ajgd7ywg50pbaxazsv59")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-0.4) - ("rust-cc" ,rust-cc-1)))) + `(#:tests? #f ; Needs to be built with clang to pass the tests. + #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-cc" ,rust-cc-1) + ("rust-once-cell" ,rust-once-cell-1)) + #:cargo-development-inputs (("rust-flate2" ,rust-flate2-1) + ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/rust-fuzz/libfuzzer") (synopsis "Wrapper around LLVM's libFuzzer runtime") (description - "This package provides a wrapper around LLVM's libFuzzer runtime.") - (license - (list license:expat license:asl2.0 license:ncsa)))) - -(define-public rust-libgit2-sys-0.16 - (package - (name "rust-libgit2-sys") - (version "0.16.1+1.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "030dnq7hz79qs4rxdllc3ailvqzc432jwwxk7g8av55hh0vbp8pj")) - (modules '((guix build utils))) - (snippet - #~(begin (delete-file-recursively "libgit2"))))) - (build-system cargo-build-system) - (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)) - (home-page "https://github.com/rust-lang/git2-rs") - (synopsis "Native bindings to the libgit2 library") - (description - "This package provides native Rust bindings to the @code{libgit2} -library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libgit2-sys-0.15 - (package - (inherit rust-libgit2-sys-0.16) - (name "rust-libgit2-sys") - (version "0.15.2+1.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yllyq9wiryy257cfx8s7wadls24yzkxnhmbl95iz9ml3zhz43d8")) - (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)))) - (inputs (list libgit2-1.6 openssl zlib)))) - -(define-public rust-libgit2-sys-0.14 - (package - (inherit rust-libgit2-sys-0.15) - (name "rust-libgit2-sys") - (version "0.14.2+1.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1926x5f84ykr8j2lsdmb0n0bj4jz173j5bm722cgwx8hnpv9agbz")) - (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.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (inputs - (list libgit2 openssl zlib)))) - -(define-public rust-libgit2-sys-0.13 - (package - (inherit rust-libgit2-sys-0.14) - (name "rust-libgit2-sys") - (version "0.13.5+1.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fkdgfqdkd38hfsyw3znq629gp7wdknzslym5l0g29k9q83fmrai")) - (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.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (inputs - (list libgit2-1.4 openssl zlib)))) - -(define-public rust-libgit2-sys-0.12 - (package - (inherit rust-libgit2-sys-0.14) - (name "rust-libgit2-sys") - (version "0.12.26+1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "153l8nvz9p8vyd5840xi6fwblvhpn3c33jwdwsznyq4f4jcwiq8r")) - (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.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + "This package provides a wrapper around LLVM's @code{libFuzzer} runtime.") + (license (list license:expat license:asl2.0 license:ncsa)))) -(define-public rust-libgit2-sys-0.10 - (package - (inherit rust-libgit2-sys-0.12) - (name "rust-libgit2-sys") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0l9fvki7qxsl97vgzqwlv75nl213a5vxw7b1jaik97ala356pv6r")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "libgit2") #t)))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ;; Build dependencies: - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - -(define-public rust-libgit2-sys-0.8 - (package - (inherit rust-libgit2-sys-0.10) - (name "rust-libgit2-sys") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "libgit2") #t)))))) - -(define-public rust-libgit2-sys-0.6 +(define-public rust-libfuzzer-sys-0.3 (package - (inherit rust-libgit2-sys-0.10) - (name "rust-libgit2-sys-6") - (version "0.6.19") + (inherit rust-libfuzzer-sys-0.4) + (name "rust-libfuzzer-sys") + (version "0.3.5") (source (origin (method url-fetch) - (uri (crate-uri "libgit2-sys" version)) + (uri (crate-uri "libfuzzer-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0myk79sxqj20bmj4ir3p81xnma9qnid5rrmlbkj5v68wgdpfdskf")))) + (base32 "1vv42rpvmfr83hlblyrjf8ifilsmc3d5gcznblmghx5jnsj89wgw")))) (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-cmake" ,rust-cmake-0.1) - ("rust-curl-sys" ,rust-curl-sys-0.4) - ("rust-libc" ,rust-libc-0.2) - ("rust-libssh2-sys" ,rust-libssh2-sys-0.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-0.4) + ("rust-cc" ,rust-cc-1)))))) (define-public rust-libloading-0.8 (package @@ -41321,33 +33780,6 @@ allows loading dynamic libraries (also known as shared libraries) as well as use functions and static variables these libraries contain.") (license license:isc))) -(define-public rust-libloading-0.3 - (package - (inherit rust-libloading-0.5) - (name "rust-libloading") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "libloading" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0risz19rllhdc0d7nkpwkf4pcbjjgg1iim0kkmzb6kkp874hl0ha")) - (modules '((guix build utils))) - (snippet - '(begin (for-each delete-file - (find-files "tests" "\\.dll$")))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Some test libraries not included in release. - #:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-winapi" ,rust-winapi-0.2) - ("rust-target-build-utils" ,rust-target-build-utils-0.3)))))) - (define-public rust-libm-0.2 (package (name "rust-libm") @@ -41387,6 +33819,53 @@ functions and static variables these libraries contain.") (base32 "16pc0gx4gkg0q2s1ssq8268brn14j8344623vwhadmivc4lsmivz")))))) +(define-public rust-libmacchina-6 + (package + (name "rust-libmacchina") + (version "6.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libmacchina" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ag3dy24a1hs5926a7131v66j75cmgszmrhkq9z9p2c81fi6v2dn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-core-video-sys" ,rust-core-video-sys-0.1) + ("rust-dirs" ,rust-dirs-4) + ("rust-home" ,rust-home-0.5) + ("rust-if-addrs" ,rust-if-addrs-0.6) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-local-ip-address" ,rust-local-ip-address-0.4) + ("rust-mach" ,rust-mach-0.3) + ("rust-nix" ,rust-nix-0.24) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-os-release" ,rust-os-release-0.1) + ("rust-pciid-parser" ,rust-pciid-parser-0.6) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-sqlite" ,rust-sqlite-0.27) + ("rust-sysctl" ,rust-sysctl-0.4) + ("rust-vergen" ,rust-vergen-7) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows" ,rust-windows-0.39) + ("rust-winreg" ,rust-winreg-0.10) + ("rust-wmi" ,rust-wmi-0.12) + ("rust-x11rb" ,rust-x11rb-0.10)))) + (inputs (list sqlite)) + (native-inputs (list python-minimal-wrapper)) ; For the tests. + (home-page "https://github.com/Macchina-CLI/libmacchina") + (synopsis "Library that can fetch all sorts of system information") + (description + "This package provides a library that can fetch all sorts of system +information.") + (license license:expat))) + (define-public rust-libmimalloc-sys-0.1 (package (name "rust-libmimalloc-sys") @@ -41490,7 +33969,7 @@ advertised and discovered using this mechanism.") (define-public rust-libnghttp2-sys-0.1 (package (name "rust-libnghttp2-sys") - (version "0.1.4+1.41.0") + (version "0.1.9+1.58.0") (source (origin (method url-fetch) @@ -41498,29 +33977,24 @@ advertised and discovered using this mechanism.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wcd93a8cw1h9y25834160y6ng982fi0qcd277hpjvhnvz34wqh3")) + "0r2ahmvgjm3x9m4vrz1j0baykn5n4n9rd7cvf1z1d3krya58azmm")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "nghttp2") - (substitute* "Cargo.toml" - (("false") - "false\n[build-dependencies.pkg-config]\nversion = \"0.3\"\n")) (delete-file "build.rs") (with-output-to-file "build.rs" (lambda _ (format #t "fn main() {~@ println!(\"cargo:rustc-link-lib=nghttp2\");~@ - }~%"))) - #t)))) + }~%"))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) + ("rust-cc" ,rust-cc-1)))) (inputs - (list `(,nghttp2 "lib") pkg-config)) + (list `(,nghttp2 "lib"))) (home-page "https://github.com/alexcrichton/nghttp2-rs") (synopsis "FFI bindings for libnghttp2 (nghttp2)") (description @@ -41528,69 +34002,6 @@ advertised and discovered using this mechanism.") (license (list license:asl2.0 license:expat)))) -;; Keep this package for future packaging of pijul. -(define-public rust-libpijul-0.12 - (package - (name "rust-libpijul") - (version "0.12.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "libpijul" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18d9n8xaq5ncq3375f0xrr96l8si1frczgzdlrz3fl1jby8vbl6f")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; TODO: Fix build - #:tests? #f ; backend::file_header::test_fileheader_alignment fails - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-bincode" ,rust-bincode-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bs58" ,rust-bs58-0.2) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-diffs" ,rust-diffs-0.3) - ("rust-failure" ,rust-failure-0.1) - ("rust-flate2" ,rust-flate2-1) - ("rust-hex" ,rust-hex-0.3) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-sanakirja" ,rust-sanakirja-0.10) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-toml" ,rust-toml-0.4)))) - (native-inputs - (list pkg-config)) - (inputs - (list clang nettle openssl)) - (home-page "https://pijul.org/") - (synopsis "Library component of the pijul version control system") - (description - "This crate contains the core API to access Pijul repositories. - -The key object is a @code{Repository}, on which @code{Txn} (immutable -transactions) and @code{MutTxn} (mutable transactions) can be started, to -perform a variety of operations. - -Another important object is a @code{Patch}, which encodes two different pieces -of information: - -@itemize -@item Information about deleted and inserted lines between two versions of a -file. -@item Information about file moves, additions and deletions. -@end itemize") - (license license:gpl2+))) - (define-public rust-libpulse-binding-2 (package (name "rust-libpulse-binding") @@ -41763,6 +34174,27 @@ suite of tools for the rapid, accurate and memory-frugal processing single-cell and single-nucleus sequencing data.") (license license:bsd-3))) +(define-public rust-libredox-0.0.2 + (package + (name "rust-libredox") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libredox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01v6pb09j7dl2gnbvzz6zmy2k4zyxjjzvl7wacwjjffqsxajry9s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-redox-syscall" ,rust-redox-syscall-0.4)))) + (home-page "https://gitlab.redox-os.org/redox-os/libredox.git") + (synopsis "Redox stable ABI") + (description "This package provides Redox's stable ABI.") + (license license:expat))) + (define-public rust-librespot-audio-0.4 (package (name "rust-librespot-audio") @@ -42026,8 +34458,54 @@ library for Spotify.") This package contains the protobuf logic.") (license license:expat))) +(define-public rust-libsensors-sys-0.2 + (package + (name "rust-libsensors-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsensors-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cii4jbj19d95q6nyczfi3d3s2j3jg4qf7qc8qfxx5jb2v3hqwx1")))) + (build-system cargo-build-system) + (inputs (list (list lm-sensors "lib"))) + (home-page "https://docs.rs/libsensors-sys/0.2.0/libsensors_sys/") + (synopsis "Rust bindings to libsensors") + (description "This package provides Rust bindings to libsensors.") + (license license:miros))) + +(define-public rust-libsqlite3-sys-0.27 + (package + (name "rust-libsqlite3-sys") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05pp60ncrmyjlxxjj187808jkvpxm06w5lvvdwwvxd2qrmnj4kng")))) + (build-system cargo-build-system) + (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)))) + (inputs (list sqlite)) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Native bindings to the libsqlite3 library") + (description "Native bindings to the libsqlite3 library.") + (license license:expat))) + (define-public rust-libsqlite3-sys-0.26 (package + (inherit rust-libsqlite3-sys-0.27) (name "rust-libsqlite3-sys") (version "0.26.0") (source (origin @@ -42037,20 +34515,13 @@ This package contains the protobuf logic.") (sha256 (base32 "09j3v5nhgvjdyskgwajhg9g6v3b2ij0lxiz8qqav2cxic7zjxhmg")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.64) ("rust-cc" ,rust-cc-1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (inputs - (list sqlite)) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Native bindings to the libsqlite3 library") - (description "Native bindings to the libsqlite3 library") - (license license:expat))) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) (define-public rust-libsqlite3-sys-0.23 (package @@ -42472,14 +34943,14 @@ user-space programs to perform key manipulation.") (define-public rust-linux-raw-sys-0.4 (package (name "rust-linux-raw-sys") - (version "0.4.8") + (version "0.4.12") (source (origin (method url-fetch) (uri (crate-uri "linux-raw-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nw8dqdhai0c7r701bicj3y6vrwc7dgbx9lbcw29ijnr7d562liq")))) + (base32 "0mhlla3gk1jgn6mrq9s255rvvq8a1w3yk2vpjiwsd6hmmy1imkf4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -42656,7 +35127,10 @@ harness used by @code{rustc --test}.") (base32 "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr")))) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=terse_output") + #:cargo-inputs (("rust-clap" ,rust-clap-3) ("rust-termcolor" ,rust-termcolor-1) ("rust-threadpool" ,rust-threadpool-1)) @@ -42773,6 +35247,32 @@ can also be used outside of a proc-macro context.") by inspecting the system for user preference.") (license license:expat))) +(define-public rust-local-ip-address-0.4 + (package + (name "rust-local-ip-address") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "local-ip-address" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xc88i6v43rx5f5im0zadd8nl3k7wvf2lv351q20d05h5w4pzawy")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Integration test with local IP address. + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-neli" ,rust-neli-0.5) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-windows-sys" ,rust-windows-sys-0.42)))) + (home-page "https://github.com/EstebanBorai/local-ip-address") + (synopsis + "Retrieve system's local IP address and network interfaces/adapters") + (description + "This package provides retrieving the system's local IP address and +network interfaces/adapters.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lock-api-0.4 (package (name "rust-lock-api") @@ -42897,17 +35397,84 @@ by inspecting the system for user preference.") `(#:cargo-inputs (("rust-log" ,rust-log-0.4)))))) +(define-public rust-logos-0.13 + (package + (name "rust-logos") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "logos" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hfjqmmcq6fbfwpca6874b1k3lsqi75n584kkg4qmwcgj16wl060")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs (("rust-logos-derive" ,rust-logos-derive-0.13)))) + (home-page "https://github.com/maciejhirsz/logos") + (synopsis "Create ridiculously fast Lexers") + (description "Create ridiculously fast Lexers.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-logos-codegen-0.13 + (package + (name "rust-logos-codegen") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "logos-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s7drl8vfp9viw9mfyz8dll1gfvp1dc6np82abj0402y548p6j6w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-beef" ,rust-beef-0.5) + ("rust-fnv" ,rust-fnv-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (home-page "https://github.com/maciejhirsz/logos") + (synopsis "Implementation details for logos-codegen and logos-derive") + (description + "Implementation details for logos-codegen and logos-derive. Not for public +consumption.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-logos-derive-0.13 + (package + (name "rust-logos-derive") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "logos-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zi6s400yfw1ma7wnawyjjgbq1nqmx0xjdh18j8dfhhzkwi0vz6v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-logos-codegen" ,rust-logos-codegen-0.13)))) + (home-page "https://github.com/maciejhirsz/logos") + (synopsis "Create ridiculously fast Lexers") + (description "Create ridiculously fast Lexers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-loom-0.7 (package (name "rust-loom") - (version "0.7.0") + (version "0.7.1") (source (origin (method url-fetch) (uri (crate-uri "loom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gqrw1d0kqdkjvb11ziniwhngd66awk40dr67s6wyfh7wmipk8c6")))) + (base32 "0xcibbxcxm8fxq543xinpxn8ykjk378dwr59rzm89jgvvmq5s13y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -43012,14 +35579,14 @@ explosion.") (package (inherit rust-loom-0.3) (name "rust-loom") - (version "0.2.13") + (version "0.2.15") (source (origin (method url-fetch) (uri (crate-uri "loom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qwvwbpnxff5m6647v9rc9i6ak8ral4jy0br5xx1s9a5zcd3xddh")))) + (base32 "0x0071jgvhnmvngfmhzc7dkvvs6zsznpawqfrwmrc8156zzyyjch")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -43146,40 +35713,58 @@ image together with its neighboring pixels.") ("rust-rayon" ,rust-rayon-1) ("rust-time" ,rust-time-0.2)))))) -(define-public rust-lru-0.9 +(define-public rust-lru-0.12 (package (name "rust-lru") - (version "0.9.0") + (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "lru" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi")))) + (base32 "1myillpwqfcins062g28jvj48cxw8818zcx08ydzsl6misxfx519")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)) + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14)) #:cargo-development-inputs (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) ("rust-stats-alloc" ,rust-stats-alloc-0.1)))) (home-page "https://github.com/jeromefroe/lru-rs") - (synopsis "LRU cache") + (synopsis "LRU cache implementation") (description "This package provides a LRU cache implementation.") (license license:expat))) +(define-public rust-lru-0.9 + (package + (inherit rust-lru-0.12) + (name "rust-lru") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lru" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05yz4qqx7wxbhgxs5hx22j13g8mv9z3gn2pkspykyq48winx9rvi")))) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)) + #:cargo-development-inputs + (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) + ("rust-stats-alloc" ,rust-stats-alloc-0.1)))))) + (define-public rust-lru-0.7 (package (inherit rust-lru-0.9) (name "rust-lru") - (version "0.7.2") + (version "0.7.8") (source (origin (method url-fetch) (uri (crate-uri "lru" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07sdl7gpg30hbz7cgph75n2xl8915rshi90c7jqr5j9mi62m6hr7")))) + (base32 "0yp4ai5rpr2czxklzxxx98p6l2aqv4g1906j3dr4b0vfgfxbx6g9")))) (arguments `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.11)) @@ -43209,22 +35794,23 @@ image together with its neighboring pixels.") key-value pairs.") (license (list license:expat license:asl2.0)))) -(define-public rust-lscolors-0.13 +(define-public rust-lscolors-0.16 (package (name "rust-lscolors") - (version "0.13.0") - (source (origin - (method url-fetch) - (uri (crate-uri "lscolors" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wnxs5d004fx71apvh9124xqky0qjjmpibag24km7bvvss2xrpn2")))) + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lscolors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yqfym0lfdkj0f7lpvd0a0brljs7cpknyh14c202frcpqfg202xb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-crossterm" ,rust-crossterm-0.25) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.46)) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/sharkdp/lscolors") @@ -43233,23 +35819,22 @@ key-value pairs.") "Colorize paths using the LS_COLORS environment variable.") (license (list license:expat license:asl2.0)))) -(define-public rust-lscolors-0.7 +(define-public rust-lscolors-0.13 (package - (inherit rust-lscolors-0.13) + (inherit rust-lscolors-0.16) (name "rust-lscolors") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lscolors" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vn1824lagf0xdv5rxyl7m9fbrcylyjibmnd4634dnn98m68jjyj")))) + (version "0.13.0") + (source (origin + (method url-fetch) + (uri (crate-uri "lscolors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wnxs5d004fx71apvh9124xqky0qjjmpibag24km7bvvss2xrpn2")))) (arguments `(#:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12)) + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-crossterm" ,rust-crossterm-0.25) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.46)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) @@ -43352,63 +35937,81 @@ server (LSP).") ("rust-serde-repr" ,rust-serde-repr-0.1) ("rust-url" ,rust-url-2)))))) -(define-public rust-lsp-server-0.5 +(define-public rust-lz4-1 (package - (name "rust-lsp-server") - (version "0.5.1") + (name "rust-lz4") + (version "1.24.0") (source (origin (method url-fetch) - (uri (crate-uri "lsp-server" version)) + (uri (crate-uri "lz4" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "14irb3kawr5i2cx295xyw8q7pv18d52cjh3c6rd858aw5l2df9b8")))) + (base32 "1wad97k0asgvaj16ydd09gqs2yvgaanzcvqglrhffv7kdpc2v7ky")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossbeam-channel" - ,rust-crossbeam-channel-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)) + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-lz4-sys" ,rust-lz4-sys-1)) #:cargo-development-inputs - (("rust-lsp-types" ,rust-lsp-types-0.83)))) - (home-page - "https://github.com/rust-analyzer/lsp-server") - (synopsis "Generic LSP server scaffold") - (description "This package provides a generic LSP server scaffold.") - (license (list license:expat license:asl2.0)))) + (("rust-docmatic" ,rust-docmatic-0.1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/10xGenomics/lz4-rs") + (synopsis "Rust LZ4 bindings library") + (description "This crate provides Rust LZ4 bindings.") + (license license:expat))) -(define-public rust-lz4-1 +(define-public rust-lz4-compress-0.1 (package - (name "rust-lz4") - (version "1.23.2") + (name "rust-lz4-compress") + (version "0.1.1") (source (origin (method url-fetch) - (uri (crate-uri "lz4" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "lz4-compress" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k3j1wsgn4c5ys4vma326r00g5rq5ggp7k385rmby08yk7b0xhma")))) + (base32 "14cb8rpdfk6q3bjkf7mirpyzb6rvvcglqnayx6lvpa92m4rnb5hg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-lz4-sys" ,rust-lz4-sys-1)))) - (home-page "https://github.com/10xGenomics/lz4-rs") - (synopsis "Rust LZ4 bindings library") - (description "This crate provides Rust LZ4 bindings.") + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5) + ("rust-quick-error" ,rust-quick-error-1)))) + (home-page "https://github.com/ticki/tfs") + (synopsis "Pure Rust implementation of raw LZ4 compression/decompression") + (description + "Pure Rust implementation of raw LZ4 compression/decompression.") + (license license:expat))) + +(define-public rust-lz4-flex-0.11 + (package + (name "rust-lz4-flex") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lz4_flex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n290fjvfi8jg20n6i0q77g8pqi5srnpgg7zhw1ppnlyd5bb5a9y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-lz4-compress" ,rust-lz4-compress-0.1) + ("rust-lzzzz" ,rust-lzzzz-1) + ("rust-more-asserts" ,rust-more-asserts-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snap" ,rust-snap-1)))) + (home-page "https://github.com/pseitz/lz4_flex") + (synopsis "LZ4 implementation in Rust, no unsafe by default") + (description "LZ4 implementation in Rust, no unsafe by default.") (license license:expat))) (define-public rust-lz4-sys-1 (package (name "rust-lz4-sys") - (version "1.9.2") + (version "1.9.4") (source (origin (method url-fetch) @@ -43416,11 +36019,10 @@ server (LSP).") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bmc82bddx2lm0r9bn422cxbwlwq6qld6m6l78hjcclbbnlrm9yw")))) + (base32 "0059ik4xlvnss5qfh6l691psk4g3350ljxaykzv10yr0gqqppljp")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) ("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/bozaro/lz4-rs") @@ -43479,6 +36081,34 @@ implementation of LZMA and xz stream encoding/decoding.") "This package provides LZW compression and decompression.") (license (list license:expat license:asl2.0)))) +(define-public rust-lzzzz-1 + (package + (name "rust-lzzzz") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzzzz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g0kmzbbdsv9k4dbaxd0a1k1n3c3lwx5mhg4j5m6wxq440vd2540")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)) + #:cargo-development-inputs + (("rust-assert-fs" ,rust-assert-fs-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/picoHz/lzzzz") + (synopsis "Full-featured liblz4 binding for Rust") + (description "Full-featured liblz4 binding for Rust.") + (license license:expat))) + (define-public rust-m-lexer-0.0.4 (package (name "rust-m-lexer") @@ -43526,59 +36156,49 @@ lexer.") "This package provides a collection of great and ubiqutitous macros.") (license (list license:asl2.0 license:expat)))) -(define-public rust-mach-0.3 +(define-public rust-mac-address-1 (package - (name "rust-mach") - (version "0.3.0") + (name "rust-mac-address") + (version "1.1.5") (source (origin (method url-fetch) - (uri (crate-uri "mach" version)) + (uri (crate-uri "mac_address" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a895rhg3a1l3ws4qf83s5mx0g29v1fzgjmbag1h36v62hmg1vi8")))) + (base32 "0miqmn1768vxr5f3gbsnr1dlnzc5ilrrj0n07fziblwyy6afwqs8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/fitzgen/mach") - (synopsis "Rust interface to the Mach 3.0 kernel that underlies OSX") + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.23) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/rep-nop/mac_address") + (synopsis "Cross-platform retrieval of a network interface MAC address") (description - "This package provides a Rust interface to the user-space API of the -Mach 3.0 kernel that underlies OSX.") - (license (list license:asl2.0 license:expat license:bsd-2)))) - -(define-public rust-mach-0.2 - (package - (inherit rust-mach-0.3) - (name "rust-mach") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "mach" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qdhs16cl1j3w7kvy6ak7h8lbyqmr6i3i15qfzpnv9gyrn3j9pc6")))))) + "Cross-platform retrieval of a network interface MAC address.") + (license (list license:expat license:asl2.0)))) -(define-public rust-mach-o-sys-0.1 +(define-public rust-macaddr-1 (package - (name "rust-mach-o-sys") - (version "0.1.1") + (name "rust-macaddr") + (version "1.0.1") (source (origin (method url-fetch) - (uri (crate-uri "mach_o_sys" version)) + (uri (crate-uri "macaddr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09l8p7nmzq37450x2h6nb7dzg1sk6dk36a5rkcrcy81zm21lb19y")))) + (base32 "1n5jxn79krlql810c4w3hdkvyqc01141dc5y6fr9sxff2yy0pvms")))) (build-system cargo-build-system) - (home-page "https://github.com/fitzgen/mach_o_sys") - (synopsis "Bindings to the OSX mach-o system library") - (description "This package provides bindings to the OSX mach-o system -library") - (license (list license:asl2.0 license:expat)))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)))) + (home-page "https://github.com/svartalf/rust-macaddr") + (synopsis "MAC address types") + (description "This pakcage provides MAC address types.") + (license (list license:asl2.0 license:expat)))) (define-public rust-macrotest-1 (package @@ -43689,8 +36309,35 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, "This package provides a MagicString port driven by Rust and N-API.") (license license:expat))) +(define-public rust-maildir-0.6 + (package + (name "rust-maildir") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "maildir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dqlkvhcrigs4y5vg0jf8ccgwns8jj85cjp6vsgj3f1sfkk6m6l7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gethostname" ,rust-gethostname-0.2) + ("rust-mailparse" ,rust-mailparse-0.14) + ("rust-memmap2" ,rust-memmap2-0.5)) + #:cargo-development-inputs + (("rust-percent-encoding" ,rust-percent-encoding-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/staktrace/maildir/blob/master/README.md") + (synopsis "Simple library for maildir manipulation") + (description + "This package provides a simple library for maildir manipulation") + (license license:bsd-0))) + (define-public rust-maildir-0.5 (package + (inherit rust-maildir-0.6) (name "rust-maildir") (version "0.5.0") (source @@ -43700,7 +36347,6 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0pivq6njjmfnf0jn6i8sihbfgly6v674zwncd6f5nwiw79lz9p3a")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gethostname" ,rust-gethostname-0.2) @@ -43709,12 +36355,7 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, #:cargo-development-inputs (("rust-percent-encoding" ,rust-percent-encoding-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/staktrace/maildir") - (synopsis "Simple library for maildir manipulation") - (description - "This package provides a simple library for maildir manipulation.") - (license license:bsd-0))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-mailparse-0.14 (package @@ -43760,27 +36401,40 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, ("rust-charset" ,rust-charset-0.1) ("rust-quoted-printable" ,rust-quoted-printable-0.4)))))) +(define-public rust-malloc-buf-1 + (package + (name "rust-malloc-buf") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "malloc_buf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zap9m0xmd5sdsxil7v2rgb1dzlq0308f826pwvqdvjyaz0chciz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/SSheldon/malloc_buf") + (synopsis "Structs for handling malloc'd memory passed to Rust") + (description + "This package provides structs for handling malloc'd memory passed to Rust.") + (license license:expat))) + (define-public rust-malloc-buf-0.0 - (package - (name "rust-malloc-buf") - (version "0.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "malloc_buf" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/SSheldon/malloc_buf") - (synopsis "Structs for handling malloc'd memory passed to Rust") - (description - "This package provides structs for handling malloc'd memory passed to Rust.") - (license license:expat))) + (package + (inherit rust-malloc-buf-1) + (name "rust-malloc-buf") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "malloc_buf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) (define-public rust-maplit-1 (package @@ -43992,6 +36646,26 @@ in html5ever/xml5ever") (("rust-rustc-test" ,rust-rustc-test-0.3) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-matchit-0.7 + (package + (name "rust-matchit") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "matchit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "156bgdmmlv4crib31qhgg49nsjk88dxkdqp80ha2pk2rk6n6ax0f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t)) ; Cut the dependency tree. + (home-page "https://github.com/ibraheemdev/matchit") + (synopsis "High performance, zero-copy URL router") + (description + "This package provides a high performance, zero-copy URL router.") + (license (list license:expat license:bsd-3)))) + (define-public rust-match-cfg-0.1 (package (name "rust-match-cfg") @@ -44305,206 +36979,17 @@ async code in Rust.") "This package provides MaybeUninit for friends of backwards compatibility.") (license (list license:asl2.0 license:expat)))) -(define-public rust-md-5-0.10 - (package - (name "rust-md-5") - (version "0.10.5") - (source (origin - (method url-fetch) - (uri (crate-uri "md-5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jmrykh705dfclkgxwjysj5y8l1nyrn1gddw5xpgyjyla1l50rb3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-md5-asm" ,rust-md5-asm-0.5)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "MD5 hash function") - (description - "This library provides a MD5 hash function for Rust.") - ;; The user can choose either license. - (license (list license:expat license:asl2.0)))) - -(define-public rust-md-5-0.9 - (package - (inherit rust-md-5-0.10) - (name "rust-md-5") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "md-5" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "059ajjacz1q3cms7vl6cvhdqs4qdw2nnwj9dq99ryzv0p6djfnkv")))) - (arguments - `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.9) - ("rust-digest" ,rust-digest-0.9) - ("rust-md5-asm" ,rust-md5-asm-0.4) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-md-5-0.8 - (package - (inherit rust-md-5-0.9) - (name "rust-md-5") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "md-5" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j5rfxy2p76xf5f1lgaw85xla0b1bbv2lknvdhv1j0ibmzfg72m1")))) - (arguments - `(#:tests? #f ; cannot find macro `proc_macro_call` in this scope - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-md5-asm" ,rust-md5-asm-0.4) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))))) - -(define-public rust-md5-0.7 - (package - (name "rust-md5") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "md5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wcps37hrhz59fkhf8di1ppdnqld6l1w5sdy7jp7p51z0i4c8329")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/stainless-steel/md5") - (synopsis "MD5 hash function in Rust") - (description "The package provides the MD5 hash function.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-md5-0.6 - (package - (inherit rust-md5-0.7) - (name "rust-md5") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "md5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17b2xm4h4cvxsdjsf3kdrzqv2za60kak961xzi5kmw6g6djcssvy")))))) - -(define-public rust-md5-0.3 - (package - (inherit rust-md5-0.6) - (name "rust-md5") - (version "0.3.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "md5" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0j2s8aqdkhwhy7awga2bmv5n8qq8bgy8672iha9f3y871dm6vibr")))))) - -(define-public rust-md5-asm-0.5 - (package - (name "rust-md5-asm") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "md5-asm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ixmkg8j7sqy9zln6pz9xi2dl2d9zpm8pz6p49za47n1bvradfbk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/RustCrypto/asm-hashes") - (synopsis "Assembly implementation of MD5 compression function") - (description - "This package contains an assembly implementation of the MD5 -compression function.") - (supported-systems '("x86_64-linux" "i686-linux")) - (license license:expat))) - -(define-public rust-md5-asm-0.4 - (package - (inherit rust-md5-asm-0.5) - (name "rust-md5-asm") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "md5-asm" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gpk5647js1k084jc7pg2gji0cvl6hjkkbfia6lnpk8y4shyairv")))) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-measureme-0.7 - (package - (name "rust-measureme") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "measureme" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cmrrh86b3rvws6d7xp07wfn703yw02cakzirykvn4vh4p9hkxzy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-parking-lot" ,rust-parking-lot-0.9) - ("rust-rustc-hash" ,rust-rustc-hash-1)))) - (home-page "https://github.com/rust-lang/measureme") - (synopsis "Support crate for rustc's self-profiling feature") - (description - "Record rustc compiler events and serializing them to a compact binary -format with this support package. It is integrated into rustc via the -unstable -Z self-profile flag.") - (license (list license:expat license:asl2.0)))) - (define-public rust-memchr-2 (package (name "rust-memchr") - (version "2.6.4") + (version "2.7.1") (source (origin (method url-fetch) (uri (crate-uri "memchr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rq1ka8790ns41j147npvxcqcl2anxyngsdimy85ag2api0fwrgn")))) + (base32 "0jf1kicqa4vs9lyzj4v4y1p90q0dh87hvhsdd5xvhnp527sw8gaj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -44623,8 +37108,50 @@ file IO.") #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-memmap2-0.9 + (package + (name "rust-memmap2") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14kwkwh1cr790dhrdwzyjxp2f5k1jp7w1swc7z38py0vhdbkmza5")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/RazrFalcon/memmap2-rs") + (synopsis "Cross-platform Rust API for memory-mapped file IO") + (description + "This package provides a Rust API for memory-mapped file IO.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-memmap2-0.8 + (package + (inherit rust-memmap2-0.9) + (name "rust-memmap2") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vf3djv9s917fbvw5vclllpl22g12iph6cz11gn57ndhxwya19a3")))) + (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.7 (package + (inherit rust-memmap2-0.9) (name "rust-memmap2") (version "0.7.1") (source @@ -44634,19 +37161,13 @@ file IO.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1il82b0mw304jlwvl0m89aa8bj5dgmm3vbb0jg8lqlrk0p98i4zl")))) - (build-system cargo-build-system) (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)))) - (home-page "https://github.com/RazrFalcon/memmap2-rs") - (synopsis "Cross-platform Rust API for memory-mapped file IO") - (description - "This package provides a Rust API for memory-mapped file IO.") - (license (list license:expat license:asl2.0)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-memmap2-0.5 (package @@ -44685,33 +37206,37 @@ file IO.") #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-memmap2-0.2 +(define-public rust-memmap2-0.1 (package (inherit rust-memmap2-0.3) (name "rust-memmap2") - (version "0.2.3") + (version "0.1.0") (source (origin (method url-fetch) (uri (crate-uri "memmap2" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1d26q3sh0z5dvwpilqqvq5bqi7vqfd2kc5gk3pdj7h65rnykwgkj")))))) + (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr")))))) -(define-public rust-memmap2-0.1 +(define-public rust-memmem-0.1 (package - (inherit rust-memmap2-0.3) - (name "rust-memmap2") - (version "0.1.0") + (name "rust-memmem") + (version "0.1.1") (source (origin (method url-fetch) - (uri (crate-uri "memmap2" version)) + (uri (crate-uri "memmem" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr")))))) + (base32 "05ccifqgxdfxk6yls41ljabcccsz3jz6549l1h3cwi17kr494jm6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.2)))) + (home-page "http://github.com/jneem/memmem") + (synopsis "Substring searching") + (description "This package provides substring searching.") + (license (list license:expat license:asl2.0)))) (define-public rust-memo-map-0.3 (package @@ -44989,57 +37514,6 @@ proofs. It automates the Fiat-Shamir transform, so that by using Merlin, non-interactive protocols can be implemented as if they were interactive.") (license license:expat))) -(define-public rust-metadeps-1 - (package - (name "rust-metadeps") - (version "1.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "metadeps" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hjla9ypycqw1snd2qf87cckcc0d5z5qvxpcijn5yrrs3f825cbk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-error-chain" ,rust-error-chain-0.10) - ("rust-toml" ,rust-toml-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (home-page "https://github.com/joshtriplett/metadeps") - (synopsis "Run pkg-config from declarative dependencies in Cargo.toml") - (description "Run pkg-config from declarative dependencies in Cargo.toml.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-metal-0.18 - (package - (name "rust-metal") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "metal" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08n3kfv78jm3pf7fafwfv67n40lgcdg7w9lqn9g4sdvfwdk90vrf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-block" ,rust-block-0.1) - ("rust-cocoa" ,rust-cocoa-0.22) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2)))) - (home-page "https://github.com/gfx-rs/metal-rs") - (synopsis "Rust bindings for Metal") - (description "This package provides Rust bindings for Metal.") - (license (list license:expat license:asl2.0)))) - (define-public rust-thousands-0.2 (package (name "rust-thousands") @@ -45059,44 +37533,6 @@ non-interactive protocols can be implemented as if they were interactive.") (description "This package provides thousand separators for numerals.") (license (list license:expat license:asl2.0)))) -(define-public rust-tls-parser-0.11 - (package - (name "rust-tls-parser") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tls-parser" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1q0vd41sjf6pbcygp5bqlpqrxbqdd0qsqi4sm5zbzvb4vvi0d4j0")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Accept newer versions of rust-clap. - (substitute* "Cargo.toml" - (("~2\\.33") "^2.33")))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;; requires assets not included in crates.io tarball - #:cargo-inputs - (("rust-cookie-factory" ,rust-cookie-factory-0.3) - ("rust-enum-primitive" ,rust-enum-primitive-0.1) - ("rust-nom" ,rust-nom-7) - ("rust-nom-derive" ,rust-nom-derive-0.10) - ("rust-phf" ,rust-phf-0.10) - ("rust-phf-codegen" ,rust-phf-codegen-0.10) - ("rust-rusticata-macros" ,rust-rusticata-macros-4)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) - (home-page "https://github.com/rusticata/tls-parser") - (synopsis "Parser for the TLS protocol") - (description "This package provides a Rust parser for the TLS protocol.") - (license (list license:expat license:asl2.0)))) - (define-public rust-twox-hash-1 (package (name "rust-twox-hash") @@ -45282,29 +37718,6 @@ migration mechanism.") embedded migrations.") (license (list license:expat license:asl2.0)))) -(define-public rust-mimalloc-0.1 - (package - (name "rust-mimalloc") - (version "0.1.39") - (source - (origin - (method url-fetch) - (uri (crate-uri "mimalloc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "176w9gf5qxs07kd2q39f0k25rzmp4kyx5r13wc8sk052bqmr40gs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libmimalloc-sys" ,rust-libmimalloc-sys-0.1)))) - (inputs (list mimalloc)) - (home-page "https://crates.io/crates/mimalloc") - (synopsis "Performance and security oriented drop-in allocator") - (description "This package provides a performance and security oriented -drop-in allocator.") - (license license:expat))) - (define-public rust-mimalloc-rust-0.1 (package (name "rust-mimalloc-rust") @@ -45376,15 +37789,14 @@ drop-in allocator.") (define-public rust-mime-0.3 (package (name "rust-mime") - (version "0.3.16") + (version "0.3.17") (source (origin (method url-fetch) (uri (crate-uri "mime" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "13dcm9lh01hdwfjcg74ppljyjfj1c6w3a3cwkhxf0w8wa37cfq1a")))) + (base32 "16hkibgvb9klh0w0jk5crr5xv90l3wlf77ggymzjmvl1818vnxv8")))) (build-system cargo-build-system) (arguments '(#:skip-build? #t)) (home-page "https://github.com/hyperium/mime") @@ -45497,8 +37909,42 @@ file's MIME type by its extension.") ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) +(define-public rust-minijinja-1 + (package + (name "rust-minijinja") + (version "1.0.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "minijinja" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jqvjzcj96jxyqp3pmz2hhrfq4ql2q6p719yvpsnrj7jgrbmi1r0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-memo-map" ,rust-memo-map-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-self-cell" ,rust-self-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-stacker" ,rust-stacker-0.1) + ("rust-unicase" ,rust-unicase-2) + ("rust-unicode-ident" ,rust-unicode-ident-1) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-similar-asserts" ,rust-similar-asserts-1)))) + (home-page "https://github.com/mitsuhiko/minijinja") + (synopsis "Template engine for Rust") + (description "This package provides a template engine for Rust.") + (license license:asl2.0))) + (define-public rust-minijinja-0.34 (package + (inherit rust-minijinja-1) (name "rust-minijinja") (version "0.34.0") (source (origin @@ -45508,7 +37954,6 @@ file's MIME type by its extension.") (sha256 (base32 "1gf14x3rvixw1pqwbdj95nx5wxcrkkdpmg2k7spxdjkxm35r3akm")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) @@ -45524,11 +37969,7 @@ file's MIME type by its extension.") (("rust-insta" ,rust-insta-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-similar-asserts" ,rust-similar-asserts-1)))) - (home-page "https://github.com/mitsuhiko/minijinja") - (synopsis "Template engine for Rust") - (description "This package provides a template engine for Rust.") - (license license:asl2.0))) + ("rust-similar-asserts" ,rust-similar-asserts-1)))))) (define-public rust-minimad-0.9 (package @@ -45743,14 +38184,14 @@ streaming API for miniz_oxide.") (define-public rust-mio-0.8 (package (name "rust-mio") - (version "0.8.8") + (version "0.8.10") (source (origin (method url-fetch) (uri (crate-uri "mio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lhrdgcmcy8f0qy1n7357q0aprfkm5gld5mjcrp209pwsdf7cylj")))) + (base32 "02gyaxvaia9zzi4drrw59k9s0j6pa5d1y2kv7iplwjipdqlhngcg")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -45796,16 +38237,16 @@ possible over the OS abstractions.") (package (inherit rust-mio-0.7) (name "rust-mio") - (version "0.6.21") + (version "0.6.23") (source (origin (method url-fetch) (uri (crate-uri "mio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13q02a7cwc140aygf8amadpzpl5lyj3p2r4wnvgydfpnphifqb9h")))) + (base32 "1i2c1vl8lr45apkh8xbh9k56ihfsmqff5l7s2fya7whvp7sndzaa")))) (arguments - `(#:tests? #f + `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-fuchsia-zircon" ,rust-fuchsia-zircon-0.3) @@ -45962,110 +38403,22 @@ possible over the OS abstractions.") "Unix domain socket bindings for mio.") (license (list license:asl2.0 license:expat)))) -(define-public rust-miow-0.6 +(define-public rust-mirai-annotations-1 (package - (name "rust-miow") - (version "0.6.0") + (name "rust-mirai-annotations") + (version "1.12.0") (source (origin (method url-fetch) - (uri (crate-uri "miow" version)) + (uri (crate-uri "mirai-annotations" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i307jyhxnhgzj148cdb9zq59rhlhr1b65g142g9z9r01d1pd7rm")))) + (base32 "1lfkgarmzd7mdr739s9yidh0xhc9d3g4jjiwh246mwmkq5i0ign9")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-socket2" ,rust-socket2-0.5)))) - (home-page "https://github.com/yoshuawuyts/miow") - (synopsis "Rust I/O library for Windows") - (description - "This package provides a zero overhead I/O library for Windows, focusing on -IOCP and Async I/O abstractions.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-miow-0.5 - (package - (inherit rust-miow-0.6) - (name "rust-miow") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "miow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj")))) - (arguments - `(#:cargo-inputs - (("rust-windows-sys" ,rust-windows-sys-0.42)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-socket2" ,rust-socket2-0.4)))))) - -(define-public rust-miow-0.4 - (package - (inherit rust-miow-0.5) - (name "rust-miow") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "miow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03p0dgbahlysgxk0sihhf09k5h13r9aam3d6rfivdbxkj9vpydx7")))) - (arguments - `(#:cargo-inputs - (("rust-windows-sys" ,rust-windows-sys-0.28)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-socket2" ,rust-socket2-0.4)))))) - -(define-public rust-miow-0.3 - (package - (inherit rust-miow-0.4) - (name "rust-miow") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "miow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15sqdhh29dqgw5xh59clwv6scbsbvdkbmdc16hbfvyq7b2sw2css")))) - (arguments - `(#:cargo-inputs - (("rust-socket2" ,rust-socket2-0.3) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.4)))))) - -(define-public rust-miow-0.2 - (package - (inherit rust-miow-0.3) - (name "rust-miow") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "miow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kcl8rnv0bhiarcdakik670w8fnxzlxhi1ys7152sck68510in7b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-net2" ,rust-net2-0.2) - ("rust-winapi" ,rust-winapi-0.2) - ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3)))))) + (home-page "https://github.com/facebookexperimental/MIRAI") + (synopsis "Macros that provide source code annotations for MIRAI") + (description "Macros that provide source code annotations for MIRAI") + (license license:expat))) (define-public rust-mock-instant-0.2 (package @@ -46192,6 +38545,55 @@ select the mock struct at compile time. Used with the Mockall crate.") "Chaining APIs for both self -> Self and &mut self methods.") (license license:expat))) +(define-public rust-more-asserts-0.3 + (package + (name "rust-more-asserts") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "more-asserts" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zj0f9z73nsn1zxk2y21f0mmafvz7dz5v93prlxwdndb3jbadbqz")))) + (build-system cargo-build-system) + (home-page "https://github.com/thomcc/rust-more-asserts") + (synopsis "Library providing additional assert_* and debug_assert_* macros") + (description + "This package provides a small library providing additional assert_* and +debug_assert_* macros.") + (license (list license:unlicense license:expat license:asl2.0 license:cc0)))) + +(define-public rust-mozim-0.2 + (package + (name "rust-mozim") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mozim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14f4k92zfr1mm2qhq6j3bq277j4wfdlj24lb96py0jrivz81a70c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests can't run in the build environment. + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-dhcproto" ,rust-dhcproto-0.9) + ("rust-etherparse" ,rust-etherparse-0.13) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nispor" ,rust-nispor-1) + ("rust-nix" ,rust-nix-0.26) + ("rust-rand" ,rust-rand-0.8)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/nispor/mozim") + (synopsis "DHCP Client Library") + (description "DHCP Client Library.") + (license license:asl2.0))) + (define-public rust-mp4-0.9 (package (name "rust-mp4") @@ -46219,6 +38621,82 @@ select the mock struct at compile time. Used with the Mockall crate.") (description "mp4 is a Rust library to read and write ISO-MP4 files.") (license license:expat))) +(define-public rust-mptcp-pm-0.1 + (package + (name "rust-mptcp-pm") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "mptcp-pm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ma2r9ffp2164s1msfjw78553xccy4i9lvrkbsvhgr6wcgyaibry")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_mptcp_empty_addresses_and_limits") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-genetlink" ,rust-genetlink-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/mptcp-pm") + (synopsis "Linux kernel MPTCP path manager netlink Library") + (description "Linux kernel MPTCP path manager netlink Library.") + (license license:expat))) + +(define-public rust-multer-2 + (package + (name "rust-multer") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "multer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hjiphaypj3phqaj5igrzcia9xfmf4rr4ddigbh8zzb96k1bvb01")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-mime" ,rust-mime-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-spin" ,rust-spin-0.9) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rousan/multer-rs") + (synopsis "Async parser for @code{multipart/form-data} content-type in Rust") + (description + "An async parser for @code{multipart/form-data} content-type in Rust. + +It accepts a Stream of Bytes as a source, so that it can be plugged into any +async Rust environment e.g. any async server.") + (license license:expat))) + (define-public rust-muldiv-1 (package (name "rust-muldiv") @@ -46262,82 +38740,6 @@ multiplication and division with overflow protection.") (description "This package provides a multimap implementation.") (license (list license:expat license:asl2.0)))) -(define-public rust-multipart-0.18 - (package - (name "rust-multipart") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "multipart" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10libwfbazqcyxcpgpcdf1a66jnzghwlmxlxnffg4rrqhqrwdph0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-buf-redux" ,rust-buf-redux-0.8) - ("rust-clippy" ,rust-clippy-0.0) - ("rust-httparse" ,rust-httparse-1) - ("rust-hyper" ,rust-hyper-0.10) - ("rust-iron" ,rust-iron-0.6) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-nickel" ,rust-nickel-0.11) - ("rust-quick-error" ,rust-quick-error-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-rocket" ,rust-rocket-0.4) - ("rust-safemem" ,rust-safemem-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tiny-http" ,rust-tiny-http-0.6) - ("rust-twoway" ,rust-twoway-0.1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.5)))) - (home-page "https://github.com/abonander/multipart") - (synopsis "Backend-agnostic extension for file uploads in HTTP libraries for Rust") - (description "This package provides a backend-agnostic extension for HTTP -libraries that provides support for POST multipart/form-data requests on both -client and server.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-multipart-0.17 - (package - (inherit rust-multipart-0.18) - (name "rust-multipart") - (version "0.17.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "multipart" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m3nrydgc56wjixsahipmvjgnxnw2cz7w8ryghsgahwjr3nswl6h")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-buf-redux" ,rust-buf-redux-0.8) - ("rust-clippy" ,rust-clippy-0.0) - ("rust-httparse" ,rust-httparse-1) - ("rust-hyper" ,rust-hyper-0.10) - ("rust-iron" ,rust-iron-0.6) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-nickel" ,rust-nickel-0.11) - ("rust-quick-error" ,rust-quick-error-1) - ("rust-rand" ,rust-rand-0.7) - ("rust-rocket" ,rust-rocket-0.4) - ("rust-safemem" ,rust-safemem-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tiny-http" ,rust-tiny-http-0.6) - ("rust-twoway" ,rust-twoway-0.1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.5)))))) - (define-public rust-multiversion-0.6 (package (name "rust-multiversion") @@ -46592,6 +38994,59 @@ quick compile time, and minimal dependencies.") transformations and statically-sized or dynamically-sized matrices.") (license license:bsd-3))) +(define-public rust-nalgebra-0.30 + (package + (inherit rust-nalgebra-0.32) + (name "rust-nalgebra") + (version "0.30.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nalgebra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1glqd63v8n2a7i66yc4czrmmf21hxqc2q8906f4fsjv913gd1cjg")))) + (arguments + `(#:cargo-test-flags + ;; Feature list as requested by the test suite. + '("--release" "--features" "debug,compare,rand,macros" "--lib") + #:cargo-inputs (("rust-abomonation" ,rust-abomonation-0.7) + ("rust-alga" ,rust-alga-0.9) + ("rust-approx" ,rust-approx-0.5) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-cust" ,rust-cust-0.2) + ("rust-glam" ,rust-glam-0.20) + ("rust-glam" ,rust-glam-0.19) + ("rust-glam" ,rust-glam-0.18) + ("rust-glam" ,rust-glam-0.17) + ("rust-glam" ,rust-glam-0.16) + ("rust-glam" ,rust-glam-0.15) + ("rust-glam" ,rust-glam-0.14) + ("rust-glam" ,rust-glam-0.13) + ("rust-matrixcompare-core" ,rust-matrixcompare-core-0.1) + ("rust-matrixmultiply" ,rust-matrixmultiply-0.3) + ("rust-mint" ,rust-mint-0.5) + ("rust-nalgebra-macros" ,rust-nalgebra-macros-0.1) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-num-rational" ,rust-num-rational-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-proptest" ,rust-proptest-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rkyv" ,rust-rkyv-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-simba" ,rust-simba-0.7) + ("rust-typenum" ,rust-typenum-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-matrixcompare" ,rust-matrixcompare-0.3) + ("rust-rand-isaac" ,rust-rand-isaac-0.3) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-nalgebra-0.29 (package (inherit rust-nalgebra-0.32) @@ -46865,33 +39320,35 @@ linear algebra library.") (uri (crate-uri "nalgebra-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "063jvvvlwmzzxfr4wyiil2cn1yqj3arvghwsr2nk4ilv2jwc1z01")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - ;; The resolver feature is not supported by our versions of Cargo. - (("resolver = \"2\".*") "")))))) + (base32 "063jvvvlwmzzxfr4wyiil2cn1yqj3arvghwsr2nk4ilv2jwc1z01")))) (arguments - `(#:skip-build? #t + `(;; no function or associated item named `from_array_storage` found for struct + ;; `Matrix` in the current scope + #: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-nalgebra" ,rust-nalgebra-0.26)))))) + (("rust-nalgebra" ,rust-nalgebra-0.26) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-napi-2 (package (name "rust-napi") - (version "2.13.3") + (version "2.15.0") (source (origin (method url-fetch) (uri (crate-uri "napi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h1sbblg638h1pnhvf2yxy0lzk8hy9dwx5mswc296500p69kq1px")))) + (base32 "1lcj4k1q89bv75spssg202hkf98d0w8zpkgppd0w8p5qpkhrigzg")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; Stats was removed from tokio-1 around tokio-1.33.0. + ((".*tokio_stats.*") "")))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -46911,32 +39368,6 @@ linear algebra library.") (description "This package provides N-API bindings.") (license license:expat))) -(define-public rust-napi-0.5 - (package - (inherit rust-napi-2) - (name "rust-napi") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "napi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mp0di7zv1r9gn3r3pmqnyy6q94akd9d6bl1p7m76nm9hgj9rw56")))) - (arguments - `(#:skip-build? #t ; Wants node for napi-build-0.2 and napi-sys-0.4 - #:cargo-inputs - (("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures" ,rust-futures-0.3) - ("rust-napi-sys" ,rust-napi-sys-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tokio" ,rust-tokio-0.2)) - #:cargo-development-inputs - (("rust-napi-build" ,rust-napi-build-0.2)))))) - (define-public rust-napi-build-1 (package (name "rust-napi-build") @@ -46961,34 +39392,17 @@ linear algebra library.") (description "This package provides N-API build support.") (license license:expat))) -(define-public rust-napi-build-0.2 - (package - (inherit rust-napi-build-1) - (name "rust-napi-build") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "napi-build" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z02mlw1wa01fjpjnqns3f3vxacbg1jnk98hcg3pgwp5xy3zdyqq")))) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-reqwest" ,rust-reqwest-0.10)))))) - (define-public rust-napi-derive-2 (package (name "rust-napi-derive") - (version "2.13.0") + (version "2.15.0") (source (origin (method url-fetch) (uri (crate-uri "napi-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rz3plhps1i1p5m02ffy97lcd3mzf8ihdkcgf2l9lm2dm27nl76s")))) + (base32 "056mmgqhqc4gmpql3j49r69lzsfywvp70j6nrpdg52lnw3dz08kn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -47003,36 +39417,17 @@ linear algebra library.") (description "This package provides N-API procedural macros.") (license license:expat))) -(define-public rust-napi-derive-0.5 - (package - (inherit rust-napi-derive-2) - (name "rust-napi-derive") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "napi-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kkgpzw4i6f0zkg80v9vhr7y5rg25q3kv67029i1gcgsrxlqx4zi")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-napi-derive-backend-1 (package (name "rust-napi-derive-backend") - (version "1.0.52") + (version "1.0.59") (source (origin (method url-fetch) (uri (crate-uri "napi-derive-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05wy00faa3bz2lqcrwnlr3l9hzwrw3qcapljiy26ml38j73cgfr0")))) + (base32 "17ld99dgsxxpbbi0k6xm1y2wpil9mj1zdrsmprcsj66fbzb19icf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -47042,7 +39437,7 @@ linear algebra library.") ("rust-quote" ,rust-quote-1) ("rust-regex" ,rust-regex-1) ("rust-semver" ,rust-semver-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://napi.rs") (synopsis "Codegen backend for napi procedural macro") (description "Codegen backend for napi procedural macro.") @@ -47051,113 +39446,22 @@ linear algebra library.") (define-public rust-napi-sys-2 (package (name "rust-napi-sys") - (version "2.2.3") + (version "2.3.0") (source (origin (method url-fetch) (uri (crate-uri "napi-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qxs0wxlax3nj3b1q1vgr5ihzp8c0d58vzm98x85gd9s5bsmwsqn")))) + (base32 "12vb35l0rimi4h2dixys6y6vacz9mwi8ppw892vkzj2dydmgl0r5")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libloading" ,rust-libloading-0.7)))) + `(#:cargo-inputs (("rust-libloading" ,rust-libloading-0.8)))) (home-page "https://github.com/napi-rs/napi-rs") (synopsis "NodeJS N-API raw binding") (description "This package provides a NodeJS N-API raw binding.") (license license:expat))) -(define-public rust-napi-sys-0.4 - (package - (inherit rust-napi-sys-2) - (name "rust-napi-sys") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "napi-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cjirf6n4i2lw65iaww8d4hahv3cbfm5ka9hlansvnbfgzwadzq9")))) - (inputs - (list openssl)) - (native-inputs - (list pkg-config)) - (arguments - `(#:skip-build? #t ; Wants node. - #:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.55) - ("rust-semver" ,rust-semver-0.10) - ("rust-tar" ,rust-tar-0.4)) - #:cargo-development-inputs - (("rust-flate2" ,rust-flate2-1) - ("rust-glob" ,rust-glob-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.10)))))) - -(define-public rust-native-tls-0.2 - (package - (name "rust-native-tls") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bmrlg0fmzxaycjpkgkchi93av07v2yf9k33gc12ca9gqdrn28h7")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; tests require network access - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-openssl-probe" ,rust-openssl-probe-0.1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-schannel" ,rust-schannel-0.1) - ("rust-security-framework" ,rust-security-framework-2) - ("rust-security-framework-sys" ,rust-security-framework-sys-2) - ("rust-tempfile" ,rust-tempfile-3)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3) - ("rust-test-cert-gen" ,rust-test-cert-gen-0.7)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)) - (home-page "https://github.com/sfackler/rust-native-tls") - (synopsis "Wrapper over a platform's native TLS implementation") - (description - "This package provides a wrapper over a platform's native TLS -implementation.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-native-tls-0.1 - (package - (inherit rust-native-tls-0.2) - (name "rust-native-tls") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h7v80nlskyr7b1gsg4ivlpm6pilj6ybgvcwadj7ips3igfblkgp")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-openssl" ,rust-openssl-0.9) - ("rust-schannel" ,rust-schannel-0.1) - ("rust-security-framework" ,rust-security-framework-0.1) - ("rust-security-framework-sys" ,rust-security-framework-sys-0.1) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-natord-1 (package (name "rust-natord") @@ -47178,41 +39482,6 @@ implementation.") "This package provides a crate to perform natural ordering for Rust.") (license license:expat))) -(define-public rust-nb-1 - (package - (name "rust-nb") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1blc9143cqh3cn2imr050qczbnfrfdl10xxnfdggamlybnn3fv2l")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/rust-embedded/nb") - (synopsis "Minimal non-blocking I/O layer") - (description "This package provides a minimal non-blocking I/O layer.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-nb-0.1 - (package - (inherit rust-nb-1) - (name "rust-nb") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "nb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vyh31pbwrg21f8hz1ipb9i20qwnfwx47gz92i9frdhk0pd327c0")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-nb" ,rust-nb-1)))))) - (define-public rust-nb-connect-1 (package (name "rust-nb-connect") @@ -47392,8 +39661,40 @@ general elements and for numerics.") ("rust-quickcheck" ,rust-quickcheck-0.7) ("rust-rawpointer" ,rust-rawpointer-0.1)))))) +(define-public rust-ndk-0.8 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/rust-mobile/ndk") + (synopsis "Safe Rust bindings to the Android NDK") + (description + "This package provides safe Rust bindings to the Android NDK.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ndk-0.7 (package + (inherit rust-ndk-0.8) (name "rust-ndk") (version "0.7.0") (source @@ -47403,7 +39704,6 @@ general elements and for numerics.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "180sjpyf1ylqgqw4ni8jcg3kv96vvrddzamknp4730kiwjvj4525")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #true ;XXX: Android only #:cargo-inputs @@ -47414,12 +39714,7 @@ general elements and for numerics.") ("rust-ndk-sys" ,rust-ndk-sys-0.4) ("rust-num-enum" ,rust-num-enum-0.5) ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/rust-windowing/android-ndk-rs") - (synopsis "Safe Rust bindings to the Android NDK") - (description - "This package provides safe Rust bindings to the Android NDK.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-ndk-0.6 (package @@ -47649,26 +39944,42 @@ general elements and for numerics.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-ndk-sys-0.4 +(define-public rust-ndk-sys-0.5 (package (name "rust-ndk-sys") - (version "0.4.1+23.1.7779620") + (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 "18z5xsnrnpq65aspavb8cg925m3scs8hb1b9a2n2q8xxb3lsmwiw")))) + (base32 "14bnxww0f17xl8pyn6j5kpkl98snjl9lin8i7qv4zzb0vmlnf6cc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; ndk-sys only supports compiling for Android #:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3)))) - (home-page "https://github.com/rust-windowing/android-ndk-rs") + (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.4 + (package + (inherit rust-ndk-sys-0.5) + (name "rust-ndk-sys") + (version "0.4.1+23.1.7779620") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndk-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18z5xsnrnpq65aspavb8cg925m3scs8hb1b9a2n2q8xxb3lsmwiw")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-jni-sys" ,rust-jni-sys-0.3)))))) + (define-public rust-ndk-sys-0.3 (package (inherit rust-ndk-sys-0.4) @@ -47740,8 +40051,57 @@ general elements and for numerics.") processing library for Rust.") (license license:expat))) +(define-public rust-neli-0.6 + (package + (name "rust-neli") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "neli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hzg86zg8rj14yklwm2r2yzg6w2wbnba8qfdpsrm0hb00sg2400i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-neli-proc-macros" ,rust-neli-proc-macros-0.1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/jbaublitz/neli") + (synopsis "Type safe netlink library written in Rust") + (description + "This crate is a type safe netlink library written in Rust.") + (license license:bsd-3))) + +(define-public rust-neli-0.5 + (package + (inherit rust-neli-0.6) + (name "rust-neli") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "neli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "020m4axf6dd05i9l3lyhspp71s5xcmlj1cfskh6y3dywnm75alwh")))) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-simple-logger" ,rust-simple-logger-1) + ("rust-tokio" ,rust-tokio-1)))))) + (define-public rust-neli-0.4 (package + (inherit rust-neli-0.5) (name "rust-neli") (version "0.4.4") (source @@ -47751,7 +40111,6 @@ processing library for Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -47759,13 +40118,52 @@ processing library for Rust.") ("rust-byteorder" ,rust-byteorder-1) ("rust-libc" ,rust-libc-0.2) ("rust-mio" ,rust-mio-0.6) - ("rust-tokio" ,rust-tokio-0.1)))) + ("rust-tokio" ,rust-tokio-0.1)))))) + +(define-public rust-neli-proc-macros-0.1 + (package + (name "rust-neli-proc-macros") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "neli-proc-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m06j6vgy5zzr6dvnbpacpai6mgwwzd20h17hr3i67iv6x6ijs61")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-either" ,rust-either-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/jbaublitz/neli") - (synopsis "Type safe netlink library written in Rust") - (description - "This crate is a type safe netlink library written in Rust.") + (synopsis "Procedural macros for neli") + (description "This crate provides procedural macros for neli.") (license license:bsd-3))) +(define-public rust-neli-wifi-0.6 + (package + (name "rust-neli-wifi") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "neli-wifi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w5wkg8vzdzmsy8g1g5f65fxdnxxb9nbvfi47m9fjqnsrwr2584y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-neli" ,rust-neli-0.6) + ("rust-neli-proc-macros" ,rust-neli-proc-macros-0.1)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/MaxVerevkin/neli-wifi") + (synopsis "Communicate with nl80211") + (description "This package provides communication with nl80211.") + (license license:expat))) + (define-public rust-neso-0.5 (package (name "rust-neso") @@ -47821,85 +40219,242 @@ types as proposed in RFC 1158.") (license (list license:asl2.0 license:expat)))) -(define-public rust-nettle-7 +(define-public rust-netlink-packet-audit-0.5 (package - (name "rust-nettle") - (version "7.3.0") + (name "rust-netlink-packet-audit") + (version "0.5.1") (source (origin (method url-fetch) - (uri (crate-uri "nettle" version)) + (uri (crate-uri "netlink-packet-audit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dk36l90p79c3xgmrzp8489h8dfaal0jzaid1n8n3cg7xbrwrzdr")))) + (base32 "0i2imw6qpdbafc7bczc7c92gx1pxvz2x0a41qdi20wn85y0589xg")))) (build-system cargo-build-system) - (native-inputs - (list pkg-config)) - (inputs - (list clang gmp nettle)) (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-nettle-sys" ,rust-nettle-sys-2) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-typenum" ,rust-typenum-1)))) - (home-page "https://gitlab.com/sequoia-pgp/nettle-rs") - (synopsis "Rust bindings for the Nettle cryptographic library") - (description "This package provides Rust bindings for the Nettle -cryptographic library.") - (license (list license:lgpl3 license:gpl2 license:gpl3)))) + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/rust-netlink/netlink-packet-audit") + (synopsis "Netlink packet types") + (description "This package provides netlink packet types.") + (license license:expat))) -(define-public rust-nettle-5 +(define-public rust-netlink-packet-core-0.7 (package - (inherit rust-nettle-7) - (version "5.0.3") + (name "rust-netlink-packet-core") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "nettle" version)) - (file-name - (string-append (package-name rust-nettle-7) "-" version ".tar.gz")) + (uri (crate-uri "netlink-packet-core" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4")) - (patches (search-patches "rust-nettle-disable-vendor.patch")))) + (base32 "197dh9c5570135kv5q770n2ih5prhsql58cd71xxcya4f2plywkj")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Needs old netlink-packet-route for tests. + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)))) + (home-page "https://github.com/rust-netlink/netlink-packet-core") + (synopsis "Netlink packet types") + (description "The @code{netlink-packet-core} is the glue for all the other +@code{netlink-packet-*} crates. It provides a @code{NetlinkMessage<T>} type +that represent any netlink message for any sub-protocol.") + (license license:expat))) + +(define-public rust-netlink-packet-generic-0.3 + (package + (name "rust-netlink-packet-generic") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-packet-generic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12rhb95ayx63zb55mz8z5vc5lghk92s8bxmpiimlrj1isf5fpmqw")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-failure" ,rust-failure-0.1) - ("rust-getrandom" ,rust-getrandom-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nettle-sys" ,rust-nettle-sys-2)))))) + (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)) + #:cargo-development-inputs (("rust-netlink-sys" ,rust-netlink-sys-0.8)))) + (home-page "https://github.com/rust-netlink/netlink-packet-generic") + (synopsis "Generic netlink packet types") + (description "Generic netlink packet types.") + (license license:expat))) -(define-public rust-nettle-sys-2 +(define-public rust-netlink-packet-route-0.19 (package - (name "rust-nettle-sys") - (version "2.2.0") + (name "rust-netlink-packet-route") + (version "0.19.0") (source (origin (method url-fetch) - (uri (crate-uri "nettle-sys" version)) + (uri (crate-uri "netlink-packet-route" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wwa7pmxdz7yl9jwybml2kmrj3i87jcn0h0cdc5xl0lhgcs1rs5m")))) + (base32 "1x4bjc97nq6ckvn25l8qysybf324jbinqx6s11vqrvmlfz6p3hbl")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency tree + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)) + #:cargo-development-inputs + (("rust-netlink-sys" ,rust-netlink-sys-0.8) + ;("rust-pcap-file" ,rust-pcap-file-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) + (home-page "https://github.com/rust-netlink/netlink-packet-route") + (synopsis "Netlink packet types") + (description "The netlink-packet-route crate is designed to abstract +Netlink route protocol(rtnetlink) packet into Rust data types. The goal of +this crate is saving netlink user from reading Kernel Netlink codes.") + (license license:expat))) + +(define-public rust-netlink-packet-route-0.18 + (package + (inherit rust-netlink-packet-route-0.19) + (name "rust-netlink-packet-route") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-packet-route" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i9z89dy3p2jbs5rclvc6yxly81a4qwynrhyqv3hazj5pgxcv76x")))) + (arguments + `(#:skip-build? #t ; Cut the dependency tree + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)) + #:cargo-development-inputs + (("rust-netlink-sys" ,rust-netlink-sys-0.8) + ;("rust-pcap-file" ,rust-pcap-file-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))))) + +(define-public rust-netlink-packet-utils-0.5 + (package + (name "rust-netlink-packet-utils") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-packet-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d3xfh9zg0x2hbmh8iws0dvhj69prpx54khfvmfakm8sqw48mphf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-paste" ,rust-paste-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/rust-netlink/netlink-packet-utils") + (synopsis "Macros and helpers for parsing netlink messages") + (description "Macros and helpers for parsing netlink messages.") + (license license:expat))) + +(define-public rust-netlink-proto-0.11 + (package + (name "rust-netlink-proto") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "089zwrf5l30cwqgjlcy3k9x97nz6zixl914n6jnvys09vhj3bcw6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-netlink-packet-audit" ,rust-netlink-packet-audit-0.5) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.18) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/netlink-proto") + (synopsis "Async netlink protocol") + (description "The @code{netlink-proto} crate is an asynchronous +implementation of the netlink protocol.") + (license license:expat))) + +(define-public rust-netlink-sys-0.8 + (package + (name "rust-netlink-sys") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04842pp457q7g14d6a61j70k60zg2wrbz0cmda3ka0dcww4bywb4")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-async-io" ,rust-async-io-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.8) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ;("rust-netlink-packet-audit" ,rust-netlink-packet-audit-0.4) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/netlink-sys") + (synopsis "Netlink sockets, with optional integration with tokio") + (description "The @code{netlink_sys} crate provides netlink sockets. +Integration with mio and tokio is optional.") + (license license:expat))) + +(define-public rust-netmap-sys-0.1 + (package + (name "rust-netmap-sys") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "netmap_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wgwjx2hdqbjvdpccqb0cg4gjxazgxfz8s966bq5g8z56xik95a5")))) (build-system cargo-build-system) - (native-inputs - (list clang pkg-config)) - (inputs - (list nettle)) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.63) - ("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (home-page "https://gitlab.com/sequoia-pgp/nettle-sys") - (synopsis "Low-level Rust bindings for the Nettle cryptographic library") - (description "This package provides low-level Rust bindings for the Nettle -cryptographic library.") - (license ;; licensed under either of these, at your option - (list license:lgpl3 license:gpl2 license:gpl3)))) + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "http://info.iet.unipi.it/~luigi/netmap/") + (synopsis "Bindings to netmap") + (description + "This crate provides bindings to netmap, the fast packet I/O framework.") + (license license:bsd-2))) (define-public rust-new-debug-unreachable-1 (package @@ -48055,62 +40610,51 @@ structures.") (license (list license:expat license:asl2.0)))) -(define-public rust-nibble-vec-0.1 +(define-public rust-nftables-0.3 (package - (name "rust-nibble-vec") - (version "0.1.0") + (name "rust-nftables") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "nibble_vec" version)) + (uri (crate-uri "nftables" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hsdp3s724s30hkqz74ky6sqnadhp2xwcj1n1hzy4vzkz4yxi9bp")))) + (base32 "0lmn2qkd5d24ip963ijj864djmqnm0q2mvgansbkv82fqysiplbi")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-smallvec" ,rust-smallvec-1)))) - (home-page "https://github.com/michaelsproul/rust_nibble_vec") - (synopsis "Vector data-structure for half-byte values") - (description "NibbleVec is a data structure for storing a sequence of half-bytes.") - (license license:expat))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://namib.me/") + (synopsis "Safe abstraction for nftables JSON API") + (description + "Safe abstraction for nftables JSON API. It can be used to create nftables +rulesets in Rust and parse existing nftables rulesets from JSON.") + (license (list license:expat license:asl2.0)))) -(define-public rust-nickel-0.11 +(define-public rust-nibble-vec-0.1 (package - (name "rust-nickel") - (version "0.11.0") + (name "rust-nibble-vec") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "nickel" version)) + (uri (crate-uri "nibble_vec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1na619j2k0hkv5qhws7ccibzhn1v637f1vqwnsn2vnr84y1il1p5")))) + (base32 "0hsdp3s724s30hkqz74ky6sqnadhp2xwcj1n1hzy4vzkz4yxi9bp")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-compiletest-rs" ,rust-compiletest-rs-0.3) - ("rust-groupable" ,rust-groupable-0.2) - ("rust-hyper" ,rust-hyper-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.3) - ("rust-modifier" ,rust-modifier-0.1) - ("rust-mustache" ,rust-mustache-0.9) - ("rust-plugin" ,rust-plugin-0.2) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.1) - ("rust-typemap" ,rust-typemap-0.3) - ("rust-url" ,rust-url-1)))) - (home-page "https://nickel-org.github.io/") - (synopsis "Web application framework for Rust") - (description - "@code{nickel.rs} is a simple and lightweight foundation for web -applications written in Rust. Its API is inspired by the popular -@code{express} framework for JavaScript.") + (("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/michaelsproul/rust_nibble_vec") + (synopsis "Vector data-structure for half-byte values") + (description "NibbleVec is a data structure for storing a sequence of half-bytes.") (license license:expat))) (define-public rust-nitrokey-0.9 @@ -48235,6 +40779,40 @@ nitrokey crate and others using it.") nitrokey-test crate.") (license license:gpl3+))) +(define-public rust-nispor-1 + (package + (name "rust-nispor") + (version "1.2.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "nispor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jp0fs6sy8cpg0gi7jkh215czbx3b8p0kygimpx0abgg6mx2955b")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests can't run in the build environment. + #:cargo-inputs (("rust-ethtool" ,rust-ethtool-0.2) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mptcp-pm" ,rust-mptcp-pm-0.1) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-rtnetlink" ,rust-rtnetlink-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-pretty-assertions" + ,rust-pretty-assertions-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9)))) + (home-page "https://github.com/nispor/nispor") + (synopsis "Unified interface for Linux network state querying") + (description "Unified interface for Linux network state querying.") + (license license:asl2.0))) + (define-public rust-nix-0.27 (package (name "rust-nix") @@ -48500,18 +41078,29 @@ while still providing platform specific APIs.") (inputs (list rust-bitflags-1 rust-cc-1 rust-cfg-if-0.1 rust-libc-0.2)))) -(define-public rust-nix-0.17 +(define-public rust-nix-0.15 (package - (inherit rust-nix-0.19) + (inherit rust-nix-0.27) (name "rust-nix") - (version "0.17.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name + (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h")))) + (base32 + "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Unpin the dependency on tempfile, as it was withheld for MSRV + ;; concerns, which don't matter for Guix: + ;; https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027 + (substitute* "Cargo.toml" + (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\"")) + #t)))) (arguments `(#:tests? #f ; test suite hangs #:cargo-inputs @@ -48528,30 +41117,6 @@ while still providing platform specific APIs.") ("rust-sysctl" ,rust-sysctl-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-nix-0.15 - (package - (inherit rust-nix-0.17) - (name "rust-nix") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nix" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Unpin the dependency on tempfile, as it was withheld for MSRV - ;; concerns, which don't matter for Guix: - ;; https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027 - (substitute* "Cargo.toml" - (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\"")) - #t)))))) - (define-public rust-nix-0.14 (package (inherit rust-nix-0.15) @@ -48567,26 +41132,6 @@ while still providing platform specific APIs.") (base32 "1kmxdlmvnmq8cfpmr3g6wk37rwi2ybdvp1z6z3831m1p23p2nwkc")))))) -(define-public rust-nix-0.8 - (package - (inherit rust-nix-0.15) - (name "rust-nix") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11v4idygamcdgqvqbz9qcz83nwiyc8bv62k2x72kawcqh9lrzr27")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.7) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-void" ,rust-void-1)))))) - (define-public rust-nl80211-0.0.2 (package (name "rust-nl80211") @@ -48756,16 +41301,14 @@ implementation (which is unstable / requires nightly).") (define-public rust-nom-7 (package (name "rust-nom") - (version "7.1.2") + (version "7.1.3") (source (origin (method url-fetch) (uri (crate-uri "nom" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "132lkkqd8hcbmpb90hncwknr7rn6knfq7774d679k74iqilpfl75")))) + (base32 "0jha9901wxam390jcf5pfa0qqfrgh8li787jx2ip0yk5b8y9hwyj")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests require example directory, not included in tarball. @@ -48776,10 +41319,8 @@ implementation (which is unstable / requires nightly).") (("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-proptest" ,rust-proptest-1)))) (home-page "https://github.com/Geal/nom") - (synopsis - "Byte-oriented, zero-copy, parser combinators library") - (description - "This package provides a byte-oriented, zero-copy, parser + (synopsis "Byte-oriented, zero-copy, parser combinators library") + (description "This package provides a byte-oriented, zero-copy, parser combinators library.") (license license:expat))) @@ -48787,16 +41328,14 @@ combinators library.") (package (inherit rust-nom-7) (name "rust-nom") - (version "6.2.1") + (version "6.2.2") (source (origin (method url-fetch) (uri (crate-uri "nom" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "19h3l5hajpcszwl6nzcmgs4mpng73ifn6akslq7n4g1s12wm2p4w")) + (base32 "0i0dmnj7wfdskwjhcf2pn4c9rw4x8as8pdlnc5683mc4gijsk9y6")) (modules '((guix build utils))) (snippet '(begin @@ -49144,8 +41683,43 @@ with all line endings.") ("rust-rustversion" ,rust-rustversion-1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-notify-6 + (package + (name "rust-notify") + (version "6.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bad98r0ilkhhq2jg3zs11zcqasgbvxia8224wpasm74n65vs1b2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-fsevent-sys" ,rust-fsevent-sys-4) + ("rust-inotify" ,rust-inotify-0.9) + ("rust-kqueue" ,rust-kqueue-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-nix" ,rust-nix-0.23) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Cross-platform filesystem notification library") + (description "This package contains a cross-platform filesystem +notification library.") + (license license:cc0))) + (define-public rust-notify-5 (package + (inherit rust-notify-6) (name "rust-notify") (version "5.1.0") (source (origin @@ -49155,7 +41729,6 @@ with all line endings.") (sha256 (base32 "1a8vxbyh3aghyyvg76x4zzdwhr0d9p20x706vf7y81lalq58bsjq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -49174,10 +41747,6 @@ with all line endings.") (("rust-nix" ,rust-nix-0.23) ("rust-serde-json" ,rust-serde-json-1) ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/notify-rs/notify") - (synopsis "Cross-platform filesystem notification library") - (description "This package contains a cross-platform filesystem -notification library.") (license (list license:cc0 license:artistic2.0)))) (define-public rust-notify-5-pre.13 @@ -49238,46 +41807,72 @@ notification library.") (("rust-tempfile" ,rust-tempfile-3)))) (license license:cc0))) -(define-public rust-notmuch-0.6 +(define-public rust-notmuch-0.8 (package (name "rust-notmuch") - (version "0.6.0") + (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "notmuch" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19q93iyvx4liksm09mhq9ibm8zj7i3dizc1s40f916z0kbpn9k5w")))) + (base32 "0i6xc7lv10m2sq6vlpjr5wxmlxihvd0v4f5if75r2kwz8ji12pg2")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; Use a newer maildir. + (("version = \"0.3.2\"") "version = \"0.5.0\"")))))) (build-system cargo-build-system) (arguments - `(#:tests? #f ;see https://github.com/vhdirk/notmuch-rs/issues/35 - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-supercow" ,rust-supercow-0.1)) + `(#:cargo-inputs + (("rust-from-variants" ,rust-from-variants-0.6) + ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-dirs" ,rust-dirs-1) ("rust-gethostname" ,rust-gethostname-0.2) ("rust-lettre" ,rust-lettre-0.9) ("rust-lettre-email" ,rust-lettre-email-0.9) ("rust-maildir" ,rust-maildir-0.5) - ("rust-tempfile" ,rust-tempfile-3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-maildir-version - (lambda* _ - (substitute* "Cargo.toml" - (("version = \"0.3.2\"") "version = \"0.5.0\""))))))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl notmuch)) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list openssl notmuch)) (home-page "https://github.com/vhdirk/notmuch-rs") (synopsis "Rust interface and bindings for Notmuch") (description "This crate provides a Rust interface and bindings for Notmuch.") (license license:gpl3+))) +(define-public rust-notmuch-0.6 + (package + (inherit rust-notmuch-0.8) + (name "rust-notmuch") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "notmuch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19q93iyvx4liksm09mhq9ibm8zj7i3dizc1s40f916z0kbpn9k5w")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; Use a newer maildir. + (("version = \"0.3.2\"") "version = \"0.5.0\"")))))) + (arguments + `(#:tests? #f ;see https://github.com/vhdirk/notmuch-rs/issues/35 + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-supercow" ,rust-supercow-0.1)) + #:cargo-development-inputs + (("rust-dirs" ,rust-dirs-1) + ("rust-gethostname" ,rust-gethostname-0.2) + ("rust-lettre" ,rust-lettre-0.9) + ("rust-lettre-email" ,rust-lettre-email-0.9) + ("rust-maildir" ,rust-maildir-0.5) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-ntapi-0.4 (package (name "rust-ntapi") @@ -49548,33 +42143,6 @@ macros used in ntest.") (description "Types and traits for working with bytes (bytes crate fork)") (license license:expat))) -(define-public rust-nu-ansi-term-0.46 - (package - (name "rust-nu-ansi-term") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-overload" ,rust-overload-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/nushell/nu-ansi-term") - (synopsis "Library for ANSI terminal colors and styles (bold, underline)") - (description - "This package provides a library for ANSI terminal colors and styles (bold, -underline) in rust.") - (license license:expat))) - (define-public rust-num-0.4 (package (name "rust-num") @@ -49948,8 +42516,32 @@ Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-num-derive-0.4 + (package + (name "rust-num-derive") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04j7mndk9p6nzl9j6zrf49r2cq3250h4ldcx40jv3y48mxwpddyg")))) + (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-num" ,rust-num-0.4) + ("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/rust-num/num-derive") + (synopsis "Numeric syntax extensions") + (description "This package provides numeric syntax extensions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-num-derive-0.3 (package + (inherit rust-num-derive-0.4) (name "rust-num-derive") (version "0.3.3") (source @@ -49960,7 +42552,6 @@ Rust.") (sha256 (base32 "0gbl94ckzqjdzy4j8b1p55mz01g6n1l9bckllqvaj0wfz7zm6sl7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -49968,11 +42559,7 @@ Rust.") ("rust-quote" ,rust-quote-1)) #:cargo-development-inputs (("rust-num" ,rust-num-0.3) - ("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://github.com/rust-num/num-derive") - (synopsis "Numeric syntax extensions") - (description "This package provides numeric syntax extensions.") - (license (list license:expat license:asl2.0)))) + ("rust-num-traits" ,rust-num-traits-0.2)))))) (define-public rust-num-derive-0.2 (package @@ -50001,8 +42588,36 @@ Rust.") (description "Numeric syntax extensions in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-num-enum-0.7 + (package + (name "rust-num-enum") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "num_enum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h1pncbi7zviymadn521ycj7gdq84q1x3c4zqc015n76j7am2dv8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `num_enum` + #:cargo-inputs (("rust-num-enum-derive" ,rust-num-enum-derive-0.7)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-paste" ,rust-paste-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/illicitonion/num_enum") + (synopsis "Macros easing inter-operation between primitives and enums") + (description + "This library provides procedural macros to make inter-operation between +primitives and enums easier.") + (license (list license:bsd-3 license:expat license:asl2.0)))) + (define-public rust-num-enum-0.5 (package + (inherit rust-num-enum-0.7) (name "rust-num-enum") (version "0.5.11") (source @@ -50012,7 +42627,6 @@ Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1japmqhcxwn1d3k7q8jw58y7xfby51s16nzd6dkj483cj2pnqr0z")))) - (build-system cargo-build-system) (arguments `(#:tests? #false ;missing files #:cargo-inputs @@ -50021,13 +42635,7 @@ Rust.") (("rust-anyhow" ,rust-anyhow-1) ("rust-rustversion" ,rust-rustversion-1) ("rust-trybuild" ,rust-trybuild-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/illicitonion/num_enum") - (synopsis "Macros easing inter-operation between primitives and enums") - (description - "This library provides procedural macros to make inter-operation between -primitives and enums easier.") - (license (list license:bsd-3 license:expat license:asl2.0)))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-num-enum-0.4 (package @@ -50050,8 +42658,40 @@ primitives and enums easier.") ("rust-num-enum-derive" ,rust-num-enum-derive-0.4)))) (license license:bsd-3))) +(define-public rust-num-enum-derive-0.7 + (package + (name "rust-num-enum-derive") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "num_enum_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03jgxry6vja1n7hp6wsg4c0rldkaabq95h8zv76rq85dk13y84bc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=derive_default" + "--skip=derive_from_primitive" + "--skip=derive_into_primitive" + "--skip=derive_try_from_primitive" + "--skip=derive_unsafe_from_primitive") + #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/illicitonion/num_enum") + (synopsis "Procedural macros to ease operation between primitives and enums") + (description + "This package provides procedural macros to make inter-operation between +primitives and enums easier.") + (license (list license:bsd-3 license:expat license:asl2.0)))) + (define-public rust-num-enum-derive-0.5 (package + (inherit rust-num-enum-derive-0.7) (name "rust-num-enum-derive") (version "0.5.11") (source @@ -50061,20 +42701,13 @@ primitives and enums easier.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16f7r4jila0ckcgdnfgqyhhb90w9m2pdbwayyqmwcci0j6ygkgyw")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;FIXME: some doc tests fail #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/illicitonion/num_enum") - (synopsis "Procedural macros to ease operation between primitives and enums") - (description - "This package provides procedural macros to make inter-operation between -primitives and enums easier.") - (license license:bsd-3))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-num-enum-derive-0.4 (package @@ -50476,232 +43109,6 @@ form and deobfuscated locally.") "This package provides a package for loading Wavefront @code{.obj} files.") (license license:asl2.0))) -(define-public rust-objc-0.2 - (package - (name "rust-objc") - (version "0.2.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "objc" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cbpf6kz8a244nn1qzl3xyhmp05gsg4n313c9m3567625d3innwi")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests require gcc-objc. - #:cargo-inputs - (("rust-malloc-buf" ,rust-malloc-buf-0.0) - ("rust-objc-exception" ,rust-objc-exception-0.1)))) - (home-page "https://github.com/SSheldon/rust-objc") - (synopsis "Objective-C Runtime bindings and wrapper for Rust") - (description "This package provides an Objective-C Runtime bindings and -wrapper for Rust.") - (license license:expat))) - -(define-public rust-objc-exception-0.1 - (package - (name "rust-objc-exception") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "objc_exception" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "191cmdmlypp6piw67y4m8y5swlxf5w0ss8n1lk5xd2l1ans0z5xd")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/SSheldon/rust-objc-exception") - (synopsis "Rust interface for Objective-C's throw and try/catch statements") - (description - "This package provides a Rust interface for Objective-C's throw and -try/catch statements.") - (license license:expat))) - -(define-public rust-objc-foundation-0.1 - (package - (name "rust-objc-foundation") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "objc-foundation" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y9bwb3m5fdq7w7i4bnds067dhm4qxv4m1mbg9y61j9nkrjipp8s")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Only available on macOS. - #:cargo-inputs - (("rust-block" ,rust-block-0.1) - ("rust-objc" ,rust-objc-0.2) - ("rust-objc-id" ,rust-objc-id-0.1)))) - (home-page "https://github.com/SSheldon/rust-objc-foundation") - (synopsis "Rust wrapper for Objective-C's Foundation framework") - (description "This package provides a rust wrapper for Objective-C's -Foundation framework.") - (license license:expat))) - -(define-public rust-objc-id-0.1 - (package - (name "rust-objc-id") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "objc_id" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fq71hnp2sdblaighjc82yrac3adfmqzhpr11irhvdfp9gdlsbf9")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests require gcc-objc. - #:cargo-inputs (("rust-objc" ,rust-objc-0.2)))) - (home-page "https://github.com/SSheldon/rust-objc-id") - (synopsis "Rust smart pointers for Objective-C reference counting") - (description - "This package provides Rust smart pointers for Objective-C reference counting.") - (license license:expat))) - -(define-public rust-objc-sys-0.3 - (package - (name "rust-objc-sys") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "objc-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18qqjf2qwlhzzzlf8d5zisn0m92607kyp17kqk31v07njc5gyc6s")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Needs gcc-objc - #:cargo-inputs (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/madsmtm/objc2") - (synopsis "Raw bindings to the Objective-C runtime and ABI") - (description - "This package provides raw bindings to the Objective-C runtime and ABI.") - (license license:expat))) - -(define-public rust-objc-sys-0.2 - (package - (inherit rust-objc-sys-0.3) - (name "rust-objc-sys") - (version "0.2.0-beta.2") - (source (origin - (method url-fetch) - (uri (crate-uri "objc-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1msm1bwv69k12ikxm71mi1ifrbx2bzsmk2w2bah98mp9q4s9hfyz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Needs gcc-objc - #:cargo-inputs (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-objc-test-utils-0.0 - (package - (name "rust-objc-test-utils") - (version "0.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "objc_test_utils" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09rckmp5h9bbns08xzicdlk7y5lxj2ygbg3yqk1cszfnzd5n8kzx")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gcc" ,rust-gcc-0.3)))) - (home-page "https://github.com/SSheldon/rust-objc") - (synopsis "Utilities for testing Objective-C interop") - (description - "This package provides utilities for testing Objective-C interop.") - (license license:expat))) - -(define-public rust-objc2-0.3 - (package - (name "rust-objc2") - (version "0.3.0-beta.3") - (source (origin - (method url-fetch) - (uri (crate-uri "objc2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jfnrwmp6n2d6snlpcyfk9l41nhm50wj9h42b6hqj2rxbm1facgy")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block2" ,rust-block2-0.2) ; 0.2.0-alpha.6 - ("rust-objc-sys" ,rust-objc-sys-0.2) ; 0.2.0-beta.2 - ("rust-objc2-encode" ,rust-objc2-encode-2) ; 2.0.0-pre.2 - ("rust-objc2-proc-macros" ,rust-objc2-proc-macros-0.1) - ("rust-uuid" ,rust-uuid-1)))) - (home-page "https://github.com/madsmtm/objc2") - (synopsis - "Objective-C interface and bindings to the Cocoa Foundation framework") - (description "This package provides Objective-C interface and bindings to -the Cocoa Foundation framework.") - (license license:expat))) - -(define-public rust-objc2-encode-2 - (package - (name "rust-objc2-encode") - (version "2.0.0-pre.2") - (source (origin - (method url-fetch) - (uri (crate-uri "objc2-encode" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04h5wns3hxmc9g652hr9xqzrijs4ij9sdnlgc0ha202v050srz5b")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Test suite wants gcc-objc - #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.2)))) - (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.") - (license license:expat))) - -(define-public rust-objc2-proc-macros-0.1 - (package - (name "rust-objc2-proc-macros") - (version "0.1.1") - (source (origin - (method url-fetch) - (uri (crate-uri "objc2-proc-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07j3snswvj6532x32zgn4llc2xaf31rj4iw18n6dsrf2p0jvh1xr")))) - (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-object-0.30 (package (name "rust-object") @@ -50960,43 +43367,6 @@ Things in odds may move to more appropriate crates if we find them.") spec in pure Rust.") (license license:expat))) -(define-public rust-oid-registry-0.6 - (package - (name "rust-oid-registry") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "oid-registry" version)) - (file-name (string-append name "-" version ".tar.gz")) - (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)))) - -(define-public rust-oid-registry-0.2 - (package - (inherit rust-oid-registry-0.6) - (name "rust-oid-registry") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "oid-registry" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "058qip5j5y0i95ckmw67mp73372rq16ci0lcczyq9irv76r4qmgy")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-der-parser" ,rust-der-parser-6)))))) - (define-public rust-onig-6 (package (name "rust-onig") @@ -51053,7 +43423,7 @@ other crates to create safe wrappers around Oniguruma.") (define-public rust-once-cell-1 (package (name "rust-once-cell") - (version "1.18.0") + (version "1.19.0") (source (origin (method url-fetch) @@ -51061,13 +43431,13 @@ other crates to create safe wrappers around Oniguruma.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vapcd5ambwck95wyz3ymlim35jirgnqn9a0qmi19msymv95v2yx")))) + "14kvw7px5z96dk4dwdm1r9cqhhy2cyj1l5n5b29mynbb8yr15nrz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-atomic-polyfill" ,rust-atomic-polyfill-1) - ("rust-critical-section" ,rust-critical-section-1) - ("rust-parking-lot-core" ,rust-parking-lot-core-0.9)) + (("rust-critical-section" ,rust-critical-section-1) + ("rust-parking-lot-core" ,rust-parking-lot-core-0.9) + ("rust-portable-atomic" ,rust-portable-atomic-1)) #:cargo-development-inputs (("rust-critical-section" ,rust-critical-section-1) ("rust-regex" ,rust-regex-1)))) @@ -51334,27 +43704,6 @@ crate.") (description "This package provides OpenSSL bindings for Rust.") (license license:asl2.0))) -(define-public rust-openssl-0.9 - (package - (inherit rust-openssl-0.10) - (name "rust-openssl") - (version "0.9.24") - (source - (origin - (method url-fetch) - (uri (crate-uri "openssl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11br5b8x1kc5klsn50ihiml82ajyzcwi3lljvrlsm8vlhhlmqq53")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.9) - ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-openssl-sys" ,rust-openssl-sys-0.9)))))) - (define-public rust-openssl-0.7 (package (inherit rust-openssl-0.10) @@ -51537,6 +43886,28 @@ system for OpenSSL.") (description "This package provides an OPML parser for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-optick-1 + (package + (name "rust-optick") + (version "1.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "optick" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j35dj8ggfpcc399h1ljm6xfz8kszqc4nrw3vcl9kfndd1hapryp")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "external"))))) + (build-system cargo-build-system) + (arguments + '(#:tests? #f)) ; Needs optick library + (home-page "https://github.com/bombomby/optick-rs") + (synopsis "Lightweight Performance Profiler") + (description "Super Lightweight Performance Profiler.") + (license license:expat))) + (define-public rust-option-ext-0.2 (package (name "rust-option-ext") @@ -51765,17 +44136,17 @@ PartialOrd types, like floats.") insertion order across all keys and values.") (license license:expat))) -(define-public rust-ordered-stream-0.1 +(define-public rust-ordered-stream-0.2 (package (name "rust-ordered-stream") - (version "0.1.4") - (source (origin - (method url-fetch) - (uri (crate-uri "ordered-stream" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "140c0h0ap30mcfhdk2xy1q9iqyb450wh11dglshh2y6vmjyj82in")))) + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l0xxp697q7wiix1gnfn66xsss7fdhfivl2k7bvpjs4i3lgb18ls")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -51790,6 +44161,19 @@ insertion order across all keys and values.") external events in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-ordered-stream-0.1 + (package + (inherit rust-ordered-stream-0.2) + (name "rust-ordered-stream") + (version "0.1.4") + (source (origin + (method url-fetch) + (uri (crate-uri "ordered-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "140c0h0ap30mcfhdk2xy1q9iqyb450wh11dglshh2y6vmjyj82in")))))) + (define-public rust-ordermap-0.3 (package (name "rust-ordermap") @@ -51860,40 +44244,6 @@ under its new name.") "This package provides a Rust library for parsing orgmode files.") (license license:expat))) -(define-public rust-orion-0.17 - (package - (name "rust-orion") - (version "0.17.4") - (source (origin - (method url-fetch) - (uri (crate-uri "orion" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ri0b0vyd9vqwlzlcv0q4i7r9pga23q7nnnvd5z4zycjc9v4mryb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ct-codecs" ,rust-ct-codecs-1) - ("rust-fiat-crypto" ,rust-fiat-crypto-0.1) - ("rust-getrandom" ,rust-getrandom-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-hex" ,rust-hex-0.4) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/orion-rs/orion") - (synopsis "Pure-Rust crypto") - (description - "Orion is a cryptography library written in pure Rust. It aims to provide -easy and usable crypto while trying to minimize the use of unsafe code.") - (license license:expat))) - (define-public rust-os-info-3 (package (name "rust-os-info") @@ -51980,26 +44330,25 @@ easy and usable crypto while trying to minimize the use of unsafe code.") `(("rust-nix" ,rust-nix-0.15) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-os-pipe-0.5 +(define-public rust-os-release-0.1 (package - (inherit rust-os-pipe-0.8) - (name "rust-os-pipe") - (version "0.5.1") + (name "rust-os-release") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "os_pipe" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "os-release" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ccwc7caq3hhgxyrglkl2fw8qzkx0kxanh9azs852w9f0jrzp2wr")))) + (base32 "09zckcazggm33cbhjgdajm8rg41x9y75yf13rhcyqlqvyzi9mwl2")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-nix" ,rust-nix-0.8) - ("rust-winapi" ,rust-winapi-0.2)))))) + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/pop-os/os-release") + (synopsis "Parse @code{/etc/os-release} files on Linux distributions") + (description "This package provides parsing @code{/etc/os-release} files +on Linux distributions.") + (license license:expat))) (define-public rust-os-str-bytes-6 (package @@ -52064,8 +44413,33 @@ platform-native strings.") "11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg")))) (arguments `(#:skip-build? #t)))) +(define-public rust-ouroboros-macro-0.17 + (package + (name "rust-ouroboros-macro") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouroboros_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y5nmgnng4i23g333cvp8p7j3i3438r9g85fq1wafk4vqqjn4k7c")))) + (build-system cargo-build-system) + (arguments + `(#: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-2)))) + (home-page "https://github.com/someguynamedjosh/ouroboros") + (synopsis "Proc macro for ouroboros") + (description + "This package provides a proc macro for the @code{ouroboros} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ouroboros-macro-0.15 (package + (inherit rust-ouroboros-macro-0.17) (name "rust-ouroboros-macro") (version "0.15.6") (source @@ -52075,19 +44449,13 @@ platform-native strings.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1dsn37vds4qpkzscmwaw17dv3m5m7a7j9qby8dsac19ks3622zaz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-inflector" ,rust-inflector-0.11) ("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/joshua-maros/ouroboros") - (synopsis "Proc macro for ouroboros") - (description - "This package provides a proc macro for the @code{ouroboros} crate.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-ouroboros-macro-0.14 (package @@ -52102,8 +44470,30 @@ platform-native strings.") (sha256 (base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r")))))) +(define-public rust-ouroboros-0.17 + (package + (name "rust-ouroboros") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouroboros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m69j8288k3b3iyblngdfgraahnk9d5maw5a5y4fmprr1lr0gfp2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aliasable" ,rust-aliasable-0.1) + ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.17) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/someguynamedjosh/ouroboros") + (synopsis "Self-referential struct generation") + (description "Easy, safe self-referential struct generation for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ouroboros-0.15 (package + (inherit rust-ouroboros-0.17) (name "rust-ouroboros") (version "0.15.6") (source @@ -52113,16 +44503,10 @@ platform-native strings.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1nvjra9dana2g6kxv3397qrgpyw6lknzya6lzs1s1llbap8qndg1")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aliasable" ,rust-aliasable-0.1) - ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.15)))) - (home-page "https://github.com/joshua-maros/ouroboros") - (synopsis "Self-referential struct generation") - (description - "Easy, safe self-referential struct generation for Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.15)))))) (define-public rust-ouroboros-0.14 (package @@ -52142,31 +44526,6 @@ platform-native strings.") ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) -(define-public rust-output-vt100-0.1 - (package - (name "rust-output-vt100") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "output_vt100" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ygqplpxz4gg3i8f3rkan2q69pqll7gv65l2mmd8r9dphnvwbkak")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/Phundrak/output-vt100-rs") - (synopsis - "Utility to activate escape codes in Windows' CMD and PowerShell") - (description - "Utility to activate escape codes in Windows' CMD and PowerShell.") - (license license:expat))) - (define-public rust-overload-0.1 (package (name "rust-overload") @@ -52207,8 +44566,30 @@ platform-native strings.") "This package provides a ttf-parser plus support for owned data.") (license license:asl2.0))) +(define-public rust-owo-colors-4 + (package + (name "rust-owo-colors") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "owo-colors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0grsk47cllj0s4nc4qxvy4gdhj2lyiglbqx4lmw2m7grdmq59zya")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-2)))) + (home-page "https://github.com/jam1garner/owo-colors") + (synopsis "Zero-allocation terminal colors that'll make people go owo") + (description + "This package provides zero-allocation terminal colors that'll make people go +owo.") + (license license:expat))) + (define-public rust-owo-colors-3 (package + (inherit rust-owo-colors-4) (name "rust-owo-colors") (version "3.6.0") (source (origin @@ -52217,14 +44598,7 @@ platform-native strings.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0943lynkwz1glq3w7m9anv73lnrhd8yabs09krbh49g1wz4lxp39")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-2)))) - (home-page "https://github.com/jam1garner/owo-colors") - (synopsis "Zero-allocation terminal colors that'll make people go owo") - (description "Zero-allocation terminal colors that'll make people go owo") - (license license:expat))) + "0943lynkwz1glq3w7m9anv73lnrhd8yabs09krbh49g1wz4lxp39")))))) (define-public rust-owned-ttf-parser-0.6 (package @@ -52288,79 +44662,6 @@ normally prevent moving a type that has been borrowed from.") (list #:cargo-inputs `(("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) -(define-public rust-p256-0.13 - (package - (name "rust-p256") - (version "0.13.2") - (source (origin - (method url-fetch) - (uri (crate-uri "p256" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jyd3c3k239ybs59ixpnl7dqkmm072fr1js8kh7ldx58bzc3m1n9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("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-serdect" ,rust-serdect-0.2) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-criterion" ,rust-criterion-0.4) - ("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/p256") - (synopsis "Pure Rust implementation of the NIST P-256") - (description - "This package provides a pure Rust implementation of the NIST P-256 (a.k.a. -secp256r1, prime256v1) elliptic curve as defined in SP 800-186, with support for -ECDH, ECDSA signing/verification, and general purpose curve arithmetic.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-p384-0.13 - (package - (name "rust-p384") - (version "0.13.0") - (source (origin - (method url-fetch) - (uri (crate-uri "p384" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02cjlxdvxwvhmnckqnydqpvrwhf5raj67q300d66m7y6pi8nyy3h")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ecdsa" ,rust-ecdsa-0.16) - ("rust-elliptic-curve" ,rust-elliptic-curve-0.13) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-primeorder" ,rust-primeorder-0.13) - ("rust-serdect" ,rust-serdect-0.2) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-blobby" ,rust-blobby-0.3) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-ecdsa" ,rust-ecdsa-0.16) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-proptest" ,rust-proptest-1) - ("rust-rand-core" ,rust-rand-core-0.6)))) - (home-page - "https://github.com/RustCrypto/elliptic-curves/tree/master/p384") - (synopsis "Pure Rust implementation of the NIST P-384 elliptic curve") - (description - "This package provides a pure Rust implementation of the NIST P-384 (a.k.a. -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-packed-simd-0.3 (package (name "rust-packed-simd") @@ -52643,6 +44944,26 @@ rustified API consider using pam.") sequence alignment library.") (license license:expat))) +(define-public rust-pandoc-0.8 + (package + (name "rust-pandoc") + (version "0.8.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "pandoc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p56085drzwb143ximsvr5bni7k0cl9ld7dz7lh92hkslz8m6ga6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.12)))) + (home-page "https://github.com/oli-obk/rust-pandoc") + (synopsis "Library API that wraps calls to the pandoc executable") + (description "A library API that wraps calls to the pandoc 2.x +executable.") + (license (list license:expat license:asl2.0)))) + (define-public rust-parasailors-0.3 (package (name "rust-parasailors") @@ -52783,22 +45104,23 @@ derive macro for Parity SCALE Codec.") (define-public rust-parking-2 (package (name "rust-parking") - (version "2.0.0") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "parking" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wnxxnizfxlax3n709s5r83f4n8awy3m4a18q4fdk0z7z693hz22")))) + (base32 "1blwbkq6im1hfxp5wlbr475mw98rsyc0bbr2d5n16m38z253p0dv")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs + `(#:cargo-inputs (("rust-loom" ,rust-loom-0.7)) + #:cargo-development-inputs (("rust-easy-parallel" ,rust-easy-parallel-3)))) - (home-page "https://github.com/stjepang/parking") + (home-page "https://github.com/smol-rs/parking") (synopsis "Thread parking and unparking") - (description "This package provides methods for thread parking and -unparking.") + (description + "This package provides methods for thread parking and unparking.") (license (list license:asl2.0 license:expat)))) (define-public rust-parking-1 @@ -53179,42 +45501,6 @@ synchronization primitives.") ("rust-thread-id" ,rust-thread-id-3) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-parquet-5 - (package - (name "rust-parquet") - (version "5.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "parquet" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k2pzbqy6qb3rhxfsbx6gnmqyz4c9rprn6p76ws5f7cbgjwv97p2")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrow" ,rust-arrow-5) - ("rust-base64" ,rust-base64-0.13) - ("rust-brotli" ,rust-brotli-3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-flate2" ,rust-flate2-1) - ("rust-lz4" ,rust-lz4-1) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-parquet-format" ,rust-parquet-format-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-snap" ,rust-snap-1) - ("rust-thrift" ,rust-thrift-0.13) - ("rust-zstd" ,rust-zstd-0.9)))) - (home-page "https://github.com/apache/arrow-rs") - (synopsis "Apache Parquet implementation in Rust") - (description - "This crate provides an Apache Parquet implementation in Rust.") - (license license:asl2.0))) - (define-public rust-parquet-format-2 (package (name "rust-parquet-format") @@ -53297,32 +45583,6 @@ definitions compiled to support read+write async.") parallelism and safety in mind.") (license license:asl2.0))) -(define-public rust-parquet2-0.4 - (package - (inherit rust-parquet2-0.6) - (name "rust-parquet2") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "parquet2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1rsmrjy0r8q56gygycc5j0kgdbvrazh6xg6z8vcdyhn8r1v8yxbk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-stream" ,rust-async-stream-0.3) - ("rust-bitpacking" ,rust-bitpacking-0.8) - ("rust-brotli" ,rust-brotli-3) - ("rust-flate2" ,rust-flate2-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-lz4" ,rust-lz4-1) - ("rust-parquet-format-async-temp" ,rust-parquet-format-async-temp-0.2) - ("rust-snap" ,rust-snap-1) - ("rust-streaming-iterator" ,rust-streaming-iterator-0.1) - ("rust-zstd" ,rust-zstd-0.9)))))) - (define-public rust-parse-zoneinfo-0.3 (package (name "rust-parse-zoneinfo") @@ -53538,7 +45798,14 @@ Format (MCF).") (uri (crate-uri "password-hash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x")))) + (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) (arguments `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1.0.1) @@ -53556,7 +45823,15 @@ Format (MCF).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rr4kd52ld978a2xhcvlc54p1d92yhxl9kvbajba7ia6rs5b5q3p")))) + "1rr4kd52ld978a2xhcvlc54p1d92yhxl9kvbajba7ia6rs5b5q3p")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) (arguments (list #:cargo-inputs `(("rust-base64ct" ,rust-base64ct-1) ("rust-subtle" ,rust-subtle-2) @@ -53746,208 +46021,33 @@ relative path from a provided base directory path to the provided path.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pbkdf2-0.12 +(define-public rust-pcap-0.7 (package - (name "rust-pbkdf2") - (version "0.12.1") - (source (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cbcfkb9qh5czbm88gw3aii4y5m84wig6s5d7fzrhxb0d1d0pjph")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-password-hash" ,rust-password-hash-0.5) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-streebog" ,rust-streebog-0.10)))) - (home-page - "https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2") - (synopsis "Generic implementation of PBKDF2") - (description "This package contains a collection of password hashing -algorithms, otherwise known as password-based key derivation functions, written -in pure Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-pbkdf2-0.11 - (package - (inherit rust-pbkdf2-0.12) - (name "rust-pbkdf2") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843")))) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-password-hash" ,rust-password-hash-0.4) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-streebog" ,rust-streebog-0.10)))) - (home-page "https://github.com/RustCrypto/password-hashing"))) - -(define-public rust-pbkdf2-0.10 - (package - (inherit rust-pbkdf2-0.11) - (name "rust-pbkdf2") - (version "0.10.0") + (name "rust-pcap") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "pbkdf2" version)) + (uri (crate-uri "pcap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4")))) - (arguments - `(#:cargo-inputs - (("rust-base64ct" ,rust-base64ct-1.0.1) - ("rust-digest" ,rust-digest-0.10) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-password-hash" ,rust-password-hash-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-streebog" ,rust-streebog-0.10)))))) - -(define-public rust-pbkdf2-0.9 - (package - (inherit rust-pbkdf2-0.10) - (name "rust-pbkdf2") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.11) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-password-hash" ,rust-password-hash-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-streebog" ,rust-streebog-0.9)))))) - -(define-public rust-pbkdf2-0.8 - (package - (inherit rust-pbkdf2-0.10) - (name "rust-pbkdf2") - (version "0.8.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr")))) - (arguments - (list #:cargo-inputs - `(("rust-crypto-mac" ,rust-crypto-mac-0.11) - ("rust-base64ct" ,rust-base64ct-1) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-password-hash" ,rust-password-hash-0.2) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)) - #:cargo-development-inputs - `(("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-pbkdf2-0.6 - (package - (inherit rust-pbkdf2-0.10) - (name "rust-pbkdf2") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-crypto-mac" ,rust-crypto-mac-0.10) - ("rust-hmac" ,rust-hmac-0.10) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-subtle" ,rust-subtle-2)) - #:cargo-development-inputs - (("rust-hmac" ,rust-hmac-0.10) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-pbkdf2-0.4 - (package - (inherit rust-pbkdf2-0.10) - (name "rust-pbkdf2") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pbkdf2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1")))) + (base32 "14blflnbj87z3ajlj1hszsl6k7rwa338y4aw2yjm2j0xdpjvj4pr")))) + (native-inputs (list libpcap)) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-hmac" ,rust-hmac-0.8) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-rayon" ,rust-rayon-1) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-subtle" ,rust-subtle-2)) + `(#:tests? #f ; can't find crate for `futures` + #:cargo-inputs + (("rust-clippy" ,rust-clippy-0.0) + ("rust-futures" ,rust-futures-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-0.6) + ("rust-tokio-core" ,rust-tokio-core-0.1)) #:cargo-development-inputs - (("rust-hmac" ,rust-hmac-0.8) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) + (("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/rust-pcap/pcap") + (synopsis "Packet capture API around pcap/wpcap") + (description "This package provides a packet capture API around pcap/wpcap.") + (license (list license:expat license:asl2.0)))) (define-public rust-pcap-sys-0.1 (package @@ -53976,28 +46076,49 @@ in pure Rust.") library.") (license license:expat))) +(define-public rust-pciid-parser-0.6 + (package + (name "rust-pciid-parser") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pciid-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d6pliaab6xs2m1vnialy1biaw3nv6g9s0ykdrracx2a5h1p4jdd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-ureq" ,rust-ureq-2)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/ilyazzz/pci-id-parser") + (synopsis "Library for parsing PCI ID tables") + (description "This package provides a library for parsing PCI ID tables.") + (license license:expat))) + (define-public rust-pcre2-0.2 (package (name "rust-pcre2") - (version "0.2.3") + (version "0.2.6") (source (origin (method url-fetch) (uri (crate-uri "pcre2" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1c8sn70h72llf26sya9v26zmaamq350q57nwv6fl6fwhd4phzcw5")))) + (base32 "19w80j4f87hzdxbh5iilhbmx0vv02aybxr1ximbd7hszxal577ac")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-pcre2-sys" ,rust-pcre2-sys-0.2) - ("rust-thread-local" ,rust-thread-local-1)))) - (native-inputs - (list pcre2 pkg-config)) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-pcre2-sys" ,rust-pcre2-sys-0.2)))) + (native-inputs (list pkg-config)) + (inputs (list pcre2)) (home-page "https://github.com/BurntSushi/rust-pcre2") (synopsis "High level wrapper library for PCRE2") (description @@ -54007,29 +46128,25 @@ library.") (define-public rust-pcre2-sys-0.2 (package (name "rust-pcre2-sys") - (version "0.2.5") + (version "0.2.8") (source (origin (method url-fetch) (uri (crate-uri "pcre2-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "08mp6yxrvadplwd0drdydzskvzapr6dri9fyy7xvhzn3krg0xhyy")) - (modules '((guix build utils))) + (base32 "1bl6bjivwdpc3di1klymxrbilmpcsvlff7m2ffw6ai1s4nssgf15")) (snippet - '(begin (delete-file-recursively "pcre2") #t)))) + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "upstream"))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-cc" ,rust-cc-1)))) - (native-inputs - (list pcre2 pkg-config)) - (home-page - "https://github.com/BurntSushi/rust-pcre2") + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-cc" ,rust-cc-1)))) + (native-inputs (list pkg-config)) + (inputs (list pcre2)) + (home-page "https://github.com/BurntSushi/rust-pcre2") (synopsis "Low level bindings to PCRE2") (description "Low level bindings to PCRE2.") (license (list license:expat license:unlicense)))) @@ -54099,8 +46216,34 @@ pdqsort.") (description "This package provides a pear is a fruit.") (license (list license:expat license:asl2.0)))) +(define-public rust-pear-codegen-0.2 + (package + (name "rust-pear-codegen") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "pear_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xrwnlncg7l64gfy82vf6kq55ww7p6krq6bc3pqwymxpiq76f8if")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `pear` + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.10) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://crates.io/crates/pear_codegen") + (synopsis "Codegen for pear") + (description + "This package provides a (codegen) pear is a fruit.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pear-codegen-0.1 (package + (inherit rust-pear-codegen-0.2) (name "rust-pear-codegen") (version "0.1.5") (source @@ -54110,7 +46253,6 @@ pdqsort.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19lcpkfspizd4ywwvca6rxgc311m070k3ndvwa9vrbw1snjqna60")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -54118,12 +46260,7 @@ pdqsort.") ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15) ("rust-version-check" ,rust-version-check-0.9) - ("rust-yansi" ,rust-yansi-0.5)))) - (home-page "https://crates.io/crates/pear_codegen") - (synopsis "Codegen for pear") - (description - "This package provides a (codegen) pear is a fruit.") - (license (list license:expat license:asl2.0)))) + ("rust-yansi" ,rust-yansi-0.5)))))) (define-public rust-peeking-take-while-0.1 (package @@ -54148,27 +46285,23 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (license (list license:asl2.0 license:expat)))) -(define-public rust-peg-0.6 +(define-public rust-peg-0.8 (package (name "rust-peg") - (version "0.6.2") + (version "0.8.2") (source (origin (method url-fetch) (uri (crate-uri "peg" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch")))) + (base32 "0qbgchzj0ajpgmasbxk65lqx9fwvxda21k6pifzqmhqrsavwl2s0")))) (build-system cargo-build-system) (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-peg-macros" ,rust-peg-macros-0.6) - ("rust-peg-runtime" ,rust-peg-runtime-0.6)) - #:cargo-development-inputs - (("rust-trybuild" ,rust-trybuild-1)))) + `(#:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.8) + ("rust-peg-runtime" ,rust-peg-runtime-0.8)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1) + ("rust-version-check" ,rust-version-check-0.9)))) (home-page "https://github.com/kevinmehall/rust-peg") (synopsis "Simple Parsing Expression Grammar (PEG) parser generator") (description @@ -54176,6 +46309,24 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. in Rust.") (license license:expat))) +(define-public rust-peg-0.6 + (package + (inherit rust-peg-0.8) + (name "rust-peg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch")))) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.6) + ("rust-peg-runtime" ,rust-peg-runtime-0.6)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-peg-0.5 (package (inherit rust-peg-0.6) @@ -54194,55 +46345,107 @@ in Rust.") (arguments `(#:cargo-inputs (("rust-quote" ,rust-quote-0.3)))))) +(define-public rust-peg-macros-0.8 + (package + (name "rust-peg-macros") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "141c76na4n9mfs1y22az59yanaz9kw5aabgnj28d2xlvhp71rrj6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-peg-runtime" ,rust-peg-runtime-0.8) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) + (home-page "https://github.com/kevinmehall/rust-peg") + (synopsis "Procedural macros for rust-peg") + (description + "PEG provides a Parsing Expression Grammar. This package provides +procedural macros for rust-peg. To use rust-peg, see the peg package.") + (license license:expat))) + (define-public rust-peg-macros-0.6 (package + (inherit rust-peg-macros-0.8) (name "rust-peg-macros") (version "0.6.2") (source (origin (method url-fetch) (uri (crate-uri "peg-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0li8qrb8hyqr7v5mhrkym0xp7ijnbksqviqc2i3556cysdgick62")))) - (build-system cargo-build-system) + (base32 "0li8qrb8hyqr7v5mhrkym0xp7ijnbksqviqc2i3556cysdgick62")))) (arguments `(#:cargo-inputs (("rust-peg-runtime" ,rust-peg-runtime-0.6) ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1)))) + ("rust-quote" ,rust-quote-1)))))) + +(define-public rust-peg-runtime-0.8 + (package + (name "rust-peg-runtime") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "peg-runtime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08l9sad4mh5f0niizjk1k44n2z2s9cn8pfbq8v79h8zsc0nfkfin")))) + (build-system cargo-build-system) (home-page "https://github.com/kevinmehall/rust-peg") - (synopsis "Procedural macros for rust-peg") + (synopsis "Runtime support for rust-peg grammars") (description "PEG provides a Parsing Expression Grammar. This package provides -procedural macros for rust-peg. To use rust-peg, see the peg package.") +runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") (license license:expat))) (define-public rust-peg-runtime-0.6 (package + (inherit rust-peg-runtime-0.8) (name "rust-peg-runtime") (version "0.6.2") (source (origin (method url-fetch) (uri (crate-uri "peg-runtime" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0r583cq923v0narrpq73qmp780yg4pablzklhrwnr64xwsbjh6hc")))) + (base32 "0r583cq923v0narrpq73qmp780yg4pablzklhrwnr64xwsbjh6hc")))))) + +(define-public rust-pem-3 + (package + (name "rust-pem") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0463ya67xrxaqn4qs9iz7rsx4parcasd78pd9fv7yd1m81wwr3qv")))) (build-system cargo-build-system) - (home-page "https://github.com/kevinmehall/rust-peg") - (synopsis "Runtime support for rust-peg grammars") + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/jcreekmore/pem-rs.git") + (synopsis "Parse and encode PEM-encoded data") (description - "PEG provides a Parsing Expression Grammar. This package provides -runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") + "This package provides a Rust library for parsing and encoding +PEM-encoded data.") (license license:expat))) (define-public rust-pem-2 (package + (inherit rust-pem-3) (name "rust-pem") (version "2.0.1") (source (origin @@ -54252,7 +46455,6 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") (sha256 (base32 "06j4vmzkfg5jh9ykc5bdvydishqkbb4sf64fa528wg6zbi0zw4vb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) @@ -54260,13 +46462,7 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-proptest" ,rust-proptest-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/jcreekmore/pem-rs.git") - (synopsis "Parse and encode PEM-encoded data") - (description - "This package provides a Rust library for parsing and encoding -PEM-encoded data.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-pem-1 (package @@ -54307,62 +46503,6 @@ PEM-encoded data.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) -(define-public rust-pem-rfc7468-0.7 - (package - (name "rust-pem-rfc7468") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") - (synopsis - "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding") - (description - "This package provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS -Structures, implementing a strict subset of the original Privacy-Enhanced Mail -encoding intended specifically for use with cryptographic keys, certificates, -and other messages. It provides a no_std-friendly, constant-time -implementation suitable for use with cryptographic private keys.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-pem-rfc7468-0.6 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b5d8rvc4lgwxhs72m99fnrg0wq7bqh4x4wq0c7501ci7a1mkl94")))) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - -(define-public rust-pem-rfc7468-0.2 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - (define-public rust-pep440-rs-0.3 (package (name "rust-pep440-rs") @@ -54436,15 +46576,14 @@ known as PEP 508.") (define-public rust-percent-encoding-2 (package (name "rust-percent-encoding") - (version "2.3.0") + (version "2.3.1") (source (origin (method url-fetch) (uri (crate-uri "percent-encoding" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "152slflmparkh27hprw62sph8rv77wckzhwl2dhqk6bf563lfalv")))) + (base32 "0gi8wgx0dcy8rnv1kywdv98lwcx67hz0a0zwpib5v2i08r88y573")))) (build-system cargo-build-system) (home-page "https://github.com/servo/rust-url/") (synopsis "Percent encoding and decoding") @@ -55604,216 +47743,6 @@ along with strong support for variations and the core header tables.") #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))))) -(define-public rust-pkcs1-0.7 - (package - (name "rust-pkcs1") - (version "0.7.5") - (source (origin - (method url-fetch) - (uri (crate-uri "pkcs1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0zz4mil3nchnxljdfs2k5ab1cjqn7kq5lqp62n9qfix01zqvkzy8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-der" ,rust-der-0.7) - ("rust-pkcs8" ,rust-pkcs8-0.10) - ("rust-spki" ,rust-spki-0.7)) - #:cargo-development-inputs - (("rust-const-oid" ,rust-const-oid-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs1") - (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #1") - (description - "This package provides a pure Rust implementation of Public-Key -Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 -(RFC 8017).") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-pkcs1-0.2 - (package - (inherit rust-pkcs1-0.7) - (name "rust-pkcs1") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "pkcs1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0b2f1a0lf5h53zrjvcqbxzjhh89gcfa1myhf6z7w10ypg61fwsqi")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-der" ,rust-der-0.4) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.2) - ("rust-zeroize" ,rust-zeroize-1)))))) - -(define-public rust-pkcs5-0.7 - (package - (name "rust-pkcs5") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "pkcs5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19k9igzay529fqj90qdkgnvmvwp65wzw73h2vn3sigqq3b4y4iz8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-cbc" ,rust-cbc-0.1) - ("rust-der" ,rust-der-0.7) - ("rust-des" ,rust-des-0.8) - ("rust-pbkdf2" ,rust-pbkdf2-0.12) - ("rust-scrypt" ,rust-scrypt-0.11) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-spki" ,rust-spki-0.7)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs5") - (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #5") - (description - "This package is a pure Rust implementation of Public-Key Cryptography -Standards (PKCS) #5: Password-Based Cryptography Specification Version -2.1 (RFC 8018).") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-pkcs5-0.5 - (package - (inherit rust-pkcs5-0.7) - (name "rust-pkcs5") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pkcs5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x81m285ijqi0fqkgym6a6ax02mfzdx87zfvqgrjsc2w3wn8c3fi")))) - (arguments - `(#:cargo-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-cbc" ,rust-cbc-0.1) - ("rust-der" ,rust-der-0.6) - ("rust-des" ,rust-des-0.8) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-pbkdf2" ,rust-pbkdf2-0.11) - ("rust-scrypt" ,rust-scrypt-0.10) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-spki" ,rust-spki-0.6)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3)))))) - -(define-public rust-pkcs5-0.3 - (package - (inherit rust-pkcs5-0.7) - (name "rust-pkcs5") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "pkcs5" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aes" ,rust-aes-0.7) - ("rust-block-modes" ,rust-block-modes-0.8) - ("rust-der" ,rust-der-0.4) - ("rust-des" ,rust-des-0.7) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-pbkdf2" ,rust-pbkdf2-0.9) - ("rust-scrypt" ,rust-scrypt-0.8) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-spki" ,rust-spki-0.4)))))) - -(define-public rust-pkcs8-0.10 - (package - (name "rust-pkcs8") - (version "0.10.2") - (source (origin - (method url-fetch) - (uri (crate-uri "pkcs8" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dx7w21gvn07azszgqd3ryjhyphsrjrmq5mmz1fbxkj5g0vv4l7r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-der" ,rust-der-0.7) - ("rust-pkcs5" ,rust-pkcs5-0.7) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-spki" ,rust-spki-0.7) - ("rust-subtle" ,rust-subtle-2)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs8") - (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #8") - (description - "This package is a pure Rust implementation of Public-Key Cryptography -Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), -with additional support for PKCS#8v2 asymmetric key packages (RFC 5958).") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-pkcs8-0.9 - (package - (inherit rust-pkcs8-0.10) - (name "rust-pkcs8") - (version "0.9.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pkcs8" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fm4sigvcd0zpzg9jcp862a8p272kk08b9lgcs1dm1az19cjrjly")))) - (arguments - `(#:cargo-inputs - (("rust-der" ,rust-der-0.6) - ("rust-pkcs5" ,rust-pkcs5-0.5) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-spki" ,rust-spki-0.6) - ("rust-subtle" ,rust-subtle-2)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-pkcs8-0.7 - (package - (inherit rust-pkcs8-0.10) - (name "rust-pkcs8") - (version "0.7.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "pkcs8" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0iq46p6fa2b8xy6pj52zpmdy8ya3fg31dj4rc19x1fi69nvgjgpf")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-der" ,rust-der-0.4) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.2) - ("rust-pkcs1" ,rust-pkcs1-0.2) - ("rust-pkcs5" ,rust-pkcs5-0.3) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-spki" ,rust-spki-0.4) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-pkg-config-0.3 (package (name "rust-pkg-config") @@ -55940,23 +47869,26 @@ a system.") (define-public rust-plist-1 (package (name "rust-plist") - (version "1.0.0") + (version "1.6.0") (source (origin (method url-fetch) (uri (crate-uri "plist" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zb7k48x1zf1dhqavs37qm24fxi98qb978xv2nzjkkp4x2a6scvv")))) + (base32 "1vscdjj7xy1pz80n3lwcg1jhsydcf2nvj4lfxsqs46ixlv49qsg5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-indexmap" ,rust-indexmap-1) + (("rust-base64" ,rust-base64-0.21) + ("rust-indexmap" ,rust-indexmap-2) ("rust-line-wrap" ,rust-line-wrap-0.1) + ("rust-quick-xml" ,rust-quick-xml-0.31) ("rust-serde" ,rust-serde-1) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.8)))) (home-page "https://github.com/ebarnard/rust-plist/") (synopsis "Rusty plist parser") (description @@ -56107,6 +48039,80 @@ both WASM and native applications") (description "This package provides utils for proc-macro.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pnet-base-0.27 + (package + (name "rust-pnet-base") + (version "0.27.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/libpnet/libpnet") + (synopsis "Fundamental base types and code used by pnet") + (description + "This crate implements fundamental base types and code used by pnet.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pnet-datalink-0.27 + (package + (name "rust-pnet-datalink") + (version "0.27.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_datalink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iws7c2mf88ip43ccmr5p8r6kzb6lwsg3amgc4pvy8wx9nf1q02r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ipnetwork" ,rust-ipnetwork-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-netmap-sys" ,rust-netmap-sys-0.1) + ("rust-pcap" ,rust-pcap-0.7) + ("rust-pnet-base" ,rust-pnet-base-0.27) + ("rust-pnet-sys" ,rust-pnet-sys-0.27) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/libpnet/libpnet") + (synopsis "Cross-platform, datalink layer networking") + (description + "This crate implements cross-platform, datalink layer networking.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pnet-sys-0.27 + (package + (name "rust-pnet-sys") + (version "0.27.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tries to use sockets. + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/libpnet/libpnet") + (synopsis "Access to network related system functions") + (description + "This crate providess access to network related system function and calls.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pocket-resources-0.3 (package (name "rust-pocket-resources") @@ -56285,8 +48291,39 @@ applications.") library.") (license license:expat))) +(define-public rust-polling-3 + (package + (name "rust-polling") + (version "3.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "polling" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17hwk4g8qbdsyr0kqjddhw0l2v64pxhakkdlaqbc24xk99iglqyg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-concurrent-queue" ,rust-concurrent-queue-2) + ("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)) + #: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)))) + (home-page "https://github.com/smol-rs/polling") + (synopsis "Portable interface to epoll, kqueue, event ports, and IOCP") + (description + "This package provides a portable interface to @code{epoll}, +@code{kqueue}, @code{event ports}, and @code{IOCP}.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-polling-2 (package + (inherit rust-polling-3) (name "rust-polling") (version "2.8.0") (source @@ -56296,7 +48333,6 @@ library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1kixxfq1af1k7gkmmk9yv4j2krpp4fji2r8j4cz6p6d7ihz34bab")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) @@ -56310,111 +48346,54 @@ library.") #:cargo-development-inputs (("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-fastrand" ,rust-fastrand-1)))) - (home-page "https://github.com/smol-rs/polling") (synopsis "Portable interface to epoll, kqueue, event ports, and wepoll") (description "This package provides a portable interface to @code{epoll}, -@code{kqueue}, @code{event ports}, and @code{wepoll}.") - (license (list license:asl2.0 license:expat)))) +@code{kqueue}, @code{event ports}, and @code{wepoll}."))) -(define-public rust-poly1305-0.7 +(define-public rust-pollster-0.3 (package - (name "rust-poly1305") - (version "0.7.2") + (name "rust-pollster") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "poly1305" version)) + (uri (crate-uri "pollster" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pkf4jlriskq9rvz8y5fjj9dw42q6yg5djijlin4n6p1dd3yp2h4")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("version = \">=1, <1\\.4\"") "version = \"^1\"")))))) + (base32 "1wn73ljx1pcb4p69jyiz206idj7nkfqknfvdhp64yaphhm3nys12")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-universal-hash" ,rust-universal-hash-0.4) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/universal-hashes") - (synopsis "Poly1305 universal hash") - (description - "Poly1305 is a universal hash function which, when combined with -a cipher, can be used as a Message Authentication Code (MAC).") + `(#:cargo-inputs (("rust-pollster-macro" ,rust-pollster-macro-0.1)) + #:cargo-development-inputs (("rust-futures-timer" ,rust-futures-timer-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/zesterer/pollster") + (synopsis "Synchronously block the thread until a future completes") + (description "Synchronously block the thread until a future completes.") (license (list license:asl2.0 license:expat)))) -(define-public rust-polyval-0.6 +(define-public rust-pollster-macro-0.1 (package - (name "rust-polyval") - (version "0.6.0") + (name "rust-pollster-macro") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "polyval" version)) + (uri (crate-uri "pollster-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1iihmpn1h1ag5zl368yfq0jz1drfdw7xg7zpaqpcppqiikh39wky")))) + (base32 "00fk326pj6pam402ygh2srs13bbjnnyfck41155ml1ck87pz0y7a")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-universal-hash" ,rust-universal-hash-0.5) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/universal-hashes") - (synopsis "GHASH-like universal hash") - (description "POLYVAL is a GHASH-like universal hash over GF(2^128) useful -for constructing a Message Authentication Code (MAC).") + `(#:tests? #f ; use of undeclared crate or module `pollster` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/zesterer/pollster") + (synopsis "Proc-macro crate for pollster") + (description "Proc-macro crate for pollster.") (license (list license:asl2.0 license:expat)))) -(define-public rust-polyval-0.4 - (package - (inherit rust-polyval-0.6) - (name "rust-polyval") - (version "0.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "polyval" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kdpcjhc3666g8xaqichsyf6fhn8rry3z70dqhmvv6hb2jmc9g7f")))) - (arguments - `(#:cargo-inputs - (("rust-cpuid-bool" ,rust-cpuid-bool-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-universal-hash" ,rust-universal-hash-0.4) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-polyval-0.3 - (package - (inherit rust-polyval-0.4) - (name "rust-polyval") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "polyval" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 (base32 "04m2wf4pk6gglvl12fj7ylc2iqhxmzqj46rds6zy73cpk0a39hvy")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-universal-hash" ,rust-universal-hash-0.3) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-pom-3 (package (name "rust-pom") @@ -56438,13 +48417,13 @@ overloading without macros in Rust.") (define-public rust-portable-atomic-1 (package (name "rust-portable-atomic") - (version "1.4.3") + (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 "12rkq21505js078704bz9mmcy4g0l1aszzq92sxm2z0his4ll49i")))) + (base32 "1h77x9qx7pns0d66vdrmdbmwpi7586h7ysnkdnhrn5mwi2cyyw3i")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all test dependencies declared. @@ -56456,7 +48435,6 @@ overloading without macros in Rust.") ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) ("rust-fastrand" ,rust-fastrand-2) ("rust-paste" ,rust-paste-1) - ("rust-serde-test" ,rust-serde-test-1) ("rust-sptr" ,rust-sptr-0.3) ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/taiki-e/portable-atomic") @@ -56469,14 +48447,14 @@ overloading without macros in Rust.") (define-public rust-portable-atomic-util-0.1 (package (name "rust-portable-atomic-util") - (version "0.1.3") + (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 "1k64a1yq96f8xdvgqls58qf630gpjhjjfmv2cfbx0r3jvgbzf12v")))) + (base32 "16s4ag42sjkkas49fnlj99kx9zxdfqwk7ii12js533dk4lb439x1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1)))) @@ -56700,26 +48678,6 @@ with alignment, avoid heap allocation, and avoid repetitive calculations.") and should not be relied upon directly.") (license (list license:expat license:asl2.0)))) -(define-public rust-ppv-lite86-0.2 - (package - (name "rust-ppv-lite86") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "ppv-lite86" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1shj4q7jwj0azssr8cg51dk3kh7d4lg9rmbbz1kbqk971vc5wyi3")))) - (build-system cargo-build-system) - (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 -for x86.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-pq-sys-0.4 (package (name "rust-pq-sys") @@ -57097,29 +49055,43 @@ replacements, adding colorful diffs.") (("rust-ansi-term" ,rust-ansi-term-0.9) ("rust-difference" ,rust-difference-1)))))) -(define-public rust-pretty-env-logger-0.4 +(define-public rust-pretty-env-logger-0.5 (package (name "rust-pretty-env-logger") - (version "0.4.0") + (version "0.5.0") (source - (origin - (method url-fetch) - (uri (crate-uri "pretty_env_logger" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17gva1rlf9fhgr0jr19kv39f8bir3f4pa4jz02qbhl9qanwkcvcj")))) + (origin + (method url-fetch) + (uri (crate-uri "pretty_env_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "076w9dnvcpx6d3mdbkqad8nwnsynb7c8haxmscyrz7g3vga28mw6")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-log" ,rust-log-0.4)))) + `(#:cargo-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4)))) (home-page "https://github.com/seanmonstar/pretty-env-logger") (synopsis "Visually pretty env_logger") (description "This package provides a visually pretty env_logger.") (license (list license:expat license:asl2.0)))) +(define-public rust-pretty-env-logger-0.4 + (package + (inherit rust-pretty-env-logger-0.5) + (name "rust-pretty-env-logger") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty_env_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17gva1rlf9fhgr0jr19kv39f8bir3f4pa4jz02qbhl9qanwkcvcj")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-log" ,rust-log-0.4)))))) + (define-public rust-pretty-env-logger-0.3 (package (inherit rust-pretty-env-logger-0.4) @@ -57141,8 +49113,34 @@ replacements, adding colorful diffs.") ("rust-chrono" ,rust-chrono-0.4) ("rust-env-logger" ,rust-env-logger-0.6)))))) +(define-public rust-prettyplease-0.2 + (package + (name "rust-prettyplease") + (version "0.2.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "prettyplease" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dfbq98rkq86l9g8w1l81bdvrz4spcfl48929n0pyz79clhzc754")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-indoc" ,rust-indoc-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/dtolnay/prettyplease") + (synopsis "Minimal `syn` syntax tree pretty-printer") + (description + "This package provides a minimal `syn` syntax tree pretty-printer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-prettyplease-0.1 (package + (inherit rust-prettyplease-0.2) (name "rust-prettyplease") (version "0.1.23") (source (origin @@ -57151,18 +49149,12 @@ replacements, adding colorful diffs.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0y2wbmflbkgp13ywd7qyq7hyi59x5zazmljnw8gg09wnfwak4zp9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/dtolnay/prettyplease") - (synopsis "Minimal `syn` syntax tree pretty-printer") - (description - "This package provides a minimal `syn` syntax tree pretty-printer.") - (license (list license:expat license:asl2.0)))) + (("rust-syn" ,rust-syn-1)))))) (define-public rust-pretty-hex-0.3 (package @@ -57209,32 +49201,6 @@ replacements, adding colorful diffs.") formatted tables in terminal.") (license license:bsd-3))) -(define-public rust-primeorder-0.13 - (package - (name "rust-primeorder") - (version "0.13.1") - (source (origin - (method url-fetch) - (uri (crate-uri "primeorder" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ddz0d0fzzcpdlsj6c6989va8ykf702g3zmf7dszfa0y6rski3fg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) - ("rust-serdect" ,rust-serdect-0.2)))) - (home-page - "https://github.com/RustCrypto/elliptic-curves/tree/master/primeorder") - (synopsis - "Rust implementation of addition formulas for prime order elliptic curves") - (description - "This package contains a pure Rust implementation of complete addition -formulas for prime order elliptic curves (Renes-Costello-Batina 2015). It -provides a generic over field elements and curve equation coefficients.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-print-bytes-1 (package (name "rust-print-bytes") @@ -57259,6 +49225,24 @@ provides a generic over field elements and curve equation coefficients.") losslessly as possible.") (license (list license:expat license:asl2.0)))) +(define-public rust-print-bytes-0.7 + (package + (inherit rust-print-bytes-1) + (name "rust-print-bytes") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "print_bytes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09qlcf6iiadg8snmpbv43h8471mmqx4nhyksnm6ci1p7ygv1ch19")))) + (arguments + `(#:cargo-inputs + (("rust-print-bytes" ,rust-print-bytes-1)) + #:cargo-development-inputs + (("rust-os-str-bytes" ,rust-os-str-bytes-6)))))) + (define-public rust-print-bytes-0.5 (package (inherit rust-print-bytes-1) @@ -57323,8 +49307,65 @@ losslessly as possible.") priority of an object.") (license license:expat))) +(define-public rust-proc-macro-crate-3 + (package + (name "rust-proc-macro-crate") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-macro-crate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "110jcl9vnj92ihbhjqmkp19m8rzxc14a7i60knlmv99qlwfcadvd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=workspace_deps_working") + #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.21)) + #:cargo-development-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/bkchr/proc-macro-crate") + (synopsis "Get the name of a (renamed) crate in @file{Cargo.toml}") + (description + "This crate provides a way to get the name of a crate, even if it +is renamed in @file{Cargo.toml}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-proc-macro-crate-2 + (package + (inherit rust-proc-macro-crate-3) + (name "rust-proc-macro-crate") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-macro-crate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06jbv5w6s04dbjbwq0iv7zil12ildf3w8dvvb4pqvhig4gm5zp4p")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=workspace_deps_working") + #:cargo-inputs (("rust-toml-datetime" ,rust-toml-datetime-0.6) + ("rust-toml-edit" ,rust-toml-edit-0.20)) + #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-proc-macro-crate-1 (package + (inherit rust-proc-macro-crate-2) (name "rust-proc-macro-crate") (version "1.3.0") (source @@ -57334,7 +49375,6 @@ priority of an object.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0d1zq41h7aymny4p87nmz20688zr9zrrn6nmczz7l77cwj4q6qb6")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) @@ -57342,13 +49382,7 @@ priority of an object.") #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/bkchr/proc-macro-crate") - (synopsis "Support for @code{$crate} in procedural macros") - (description - "This crate provides a way to get the name of a crate, even if it -renamed in @file{Cargo.toml}.") - (license (list license:asl2.0 license:expat)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-proc-macro-crate-0.1 (package @@ -57524,15 +49558,14 @@ in your code.") (define-public rust-proc-macro2-1 (package (name "rust-proc-macro2") - (version "1.0.67") + (version "1.0.76") (source (origin (method url-fetch) (uri (crate-uri "proc-macro2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0a0k7adv0yswsgzsqkd7r6ng8rpcdyqrhra5v5ii531y3agkshrx")))) + (base32 "136cp0fgl6rg5ljm3b1xpc0bn0lyvagzzmxvbxgk5hxml36mdz4m")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--lib") @@ -57541,8 +49574,6 @@ in your code.") #:cargo-development-inputs (("rust-quote" ,rust-quote-1) ("rust-rustversion" ,rust-rustversion-1)))) - ;; This is necessary for downstream packages such as rust-wayland-scanner - (inputs (list rust-unicode-ident-1)) (home-page "https://github.com/dtolnay/proc-macro2") (synopsis "Stable implementation of the upcoming new `proc_macro` API") (description "This package provides a stable implementation of the upcoming new @@ -57597,6 +49628,31 @@ in terms of the upstream unstable API.") macro use case.") (license (list license:expat license:asl2.0)))) +(define-public rust-proc-macro2-diagnostics-0.10 + (package + (name "rust-proc-macro2-diagnostics") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-macro2-diagnostics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j48ipc80pykvhx6yhndfa774s58ax1h6sm6mlhf09ls76f6l1mg")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot determine resolution for the macro `diagnostic_item` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-1)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics") + (synopsis "Diagnostics for proc-macro2") + (description "Diagnostics for proc-macro2.") + (license (list license:expat license:asl2.0)))) + (define-public rust-proc-mounts-0.3 (package (name "rust-proc-mounts") @@ -57617,27 +49673,6 @@ macro use case.") "This package provides fetching active mounts and swaps on a Linux system.") (license license:expat))) -(define-public rust-procedural-masquerade-0.1 - (package - (name "rust-procedural-masquerade") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "procedural-masquerade" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17dnfdk0qadh2h38bkwcy14cq8a1ild3j3hqmh1yjbq9ykgq64wg")))) - (build-system cargo-build-system) - (home-page "https://github.com/servo/rust-cssparser") - (synopsis "Macro rules for proc-macro-derive") - (description - "This package provides @code{macro_rules} for making -@code{proc_macro_derive} pretend to be @code{proc_macro}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-prodash-26 (package (name "rust-prodash") @@ -57735,6 +49770,60 @@ and possibly blocking tasks.") ("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-profiling-1 + (package + (name "rust-profiling") + (version "1.0.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "profiling" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03nwj6y7v4dfjz14vs8sq64bg40n3s84hhd6nxp3gxhwhblfsdfi")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-optick" ,rust-optick-1) + ("rust-profiling-procmacros" ,rust-profiling-procmacros-1) + ("rust-puffin" ,rust-puffin-0.18) + ("rust-superluminal-perf" ,rust-superluminal-perf-0.1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracy-client" ,rust-tracy-client-0.16)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2) + ("rust-tracing-tracy" ,rust-tracing-tracy-0.4)))) + (home-page "https://github.com/aclysma/profiling") + (synopsis "Abstraction over other profiler crates") + (description + "This crate provides a very thin abstraction over other profiler crates.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-profiling-procmacros-1 + (package + (name "rust-profiling-procmacros") + (version "1.0.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "profiling-procmacros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01gbxcn06a6xlbdpjpfh1lnhkqdn1nyzr468wfdl9ay1cmyjscjb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/aclysma/profiling") + (synopsis "Abstraction over other profiler crates.") + (description + "This crate provides a very thin abstraction over other profiler crates.") + (license (list license:expat license:asl2.0)))) + (define-public rust-progress-0.2 (package (name "rust-progress") @@ -57832,14 +49921,14 @@ property-based testing and fuzzing.") (define-public rust-proptest-1 (package (name "rust-proptest") - (version "1.3.1") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "proptest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03n213yppl8lpw94cms2bb6rns3ahg78n6az9yvppc3wqz43l03w")))) + (base32 "1gzmw40pgmwzb7x6jsyr88z5w151snv5rp1g0dlcp1iw3h9pdd1i")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -57851,7 +49940,7 @@ property-based testing and fuzzing.") ("rust-rand" ,rust-rand-0.8) ("rust-rand-chacha" ,rust-rand-chacha-0.3) ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) - ("rust-regex-syntax" ,rust-regex-syntax-0.7) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) ("rust-rusty-fork" ,rust-rusty-fork-0.3) ("rust-tempfile" ,rust-tempfile-3) ("rust-unarray" ,rust-unarray-0.1) @@ -58014,26 +50103,26 @@ trait of proptest.") ("rust-criterion" ,rust-criterion-0.2) ("rust-proptest" ,rust-proptest-0.9)))))) -(define-public rust-prost-derive-0.9 +(define-public rust-prost-0.12 (package - (name "rust-prost-derive") - (version "0.9.0") + (name "rust-prost") + (version "0.12.3") (source (origin (method url-fetch) - (uri (crate-uri "prost-derive" version)) + (uri (crate-uri "prost" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zi0qway5anz5ik3k1yrc2av81sjcqvqy9lnivv0nzp0ccr1mk7r")))) + (base32 "0jmrhlb4jkiylz72xb14vlkfbmlq0jwv7j20ini9harhvaf2hv0l")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-prost-derive" ,rust-prost-derive-0.12)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/tokio-rs/prost") (synopsis "Protocol Buffers implementation for the Rust language") (description @@ -58041,8 +50130,30 @@ trait of proptest.") language.") (license license:asl2.0))) +(define-public rust-prost-0.11 + (package + (inherit rust-prost-0.12) + (name "rust-prost") + (version "0.11.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kc1hva2h894hc0zf6r4r8fsxfpazf7xn5rj3jya9sbrsyhym0hb")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-prost-derive" ,rust-prost-derive-0.11)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-prost-0.9 (package + (inherit rust-prost-0.11) (name "rust-prost") (version "0.9.0") (source @@ -58052,17 +50163,139 @@ language.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "00b0xfn80alw7h2pzr2z4dycyvsys4h5878sifaq9zdlbhkpjj24")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bytes" ,rust-bytes-1) - ("rust-prost-derive" ,rust-prost-derive-0.9)))) + ("rust-prost-derive" ,rust-prost-derive-0.9)))))) + +(define-public rust-prost-derive-0.12 + (package + (name "rust-prost-derive") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03l4yf6pdjvc4sgbvln2srq1avzm1ai86zni4hhqxvqxvnhwkdpg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/tokio-rs/prost") (synopsis "Protocol Buffers implementation for the Rust language") (description - "This package provides a Protocol Buffers implementation for the Rust -language.") + "@code{prost-derive} handles generating encoding and decoding +implementations for Rust types annotated with @code{prost} annotation. For +the most part, users of @code{prost} shouldn't need to interact with +@code{prost-derive} directly.") + (license license:asl2.0))) + +(define-public rust-prost-derive-0.11 + (package + (inherit rust-prost-derive-0.12) + (name "rust-prost-derive") + (version "0.11.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d3mw2s2jba1f7wcjmjd6ha2a255p2rmynxhm1nysv9w1z8xilp5")))) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-prost-derive-0.9 + (package + (inherit rust-prost-derive-0.11) + (name "rust-prost-derive") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zi0qway5anz5ik3k1yrc2av81sjcqvqy9lnivv0nzp0ccr1mk7r")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-prost-build-0.12 + (package + (name "rust-prost-build") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lp2l1l65l163yggk9nw5mjb2fqwzz12693af5phn1v0abih4pn5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=tests::test_generate_message_attributes") + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-heck" ,rust-heck-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-multimap" ,rust-multimap-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-prost" ,rust-prost-0.12) + ("rust-prost-types" ,rust-prost-types-0.12) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) + ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-10) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-4)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))) + (native-inputs (list protobuf)) + (home-page "https://github.com/tokio-rs/prost") + (synopsis "Protocol Buffers implementation for the Rust Language") + (description + "@code{prost-build} makes it easy to generate Rust code from @code{.proto} +files as part of a Cargo build.") + (license license:asl2.0))) + +(define-public rust-prost-types-0.12 + (package + (name "rust-prost-types") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03j73llzljdxv9cdxp4m3vb9j3gh4y24rkbx48k3rx6wkvsrhf0r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-prost" ,rust-prost-0.12)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/tokio-rs/prost") + (synopsis "Prost definitions of Protocol Buffers well known types") + (description + "Prost definitions of Protocol Buffers well known types. See the +Protobuf reference for more information about well known types.") (license license:asl2.0))) ;; It's recommended that rust-protobuf, rust-protobuf-codegen @@ -58143,7 +50376,7 @@ using protobuf-parser.") (define-public rust-psl-2 (package (name "rust-psl") - (version "2.0.48") + (version "2.1.13") (source (origin (method url-fetch) @@ -58151,20 +50384,14 @@ using protobuf-parser.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0a2d3z6gi7bwsi4xr6m3kq44wxyr81yqr5z76afv8kfxsc8p1nxh")))) + "1g21gwhjzsz2jp2c4y6qg74p49vgiida98lg8yzqxdcx087rnnzy")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-psl-types" ,rust-psl-types-2)) #:cargo-development-inputs - (("rust-rspec", rust-rspec-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("1.0.0") ,(package-version rust-rspec-1)))))))) + (("rust-rspec" ,rust-rspec-1)))) (home-page "https://github.com/addr-rs/psl") (synopsis "Extract root domain and suffix") (description "This package extracts root domain and suffix from a domain @@ -58371,6 +50598,67 @@ compliant email address validation.") ("rust-regex" ,rust-regex-1) ("rust-url" ,rust-url-2)))))) +(define-public rust-puffin-0.18 + (package + (name "rust-puffin") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "puffin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ip8dgmqc6sb6kzpfz09qfw17a0aq4j2cx0ga43j1z5abiwhycq2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-bincode" ,rust-bincode-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lz4-flex" ,rust-lz4-flex-0.11) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-ruzstd" ,rust-ruzstd-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-web-time" ,rust-web-time-0.2) + ("rust-zstd" ,rust-zstd-0.12)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/EmbarkStudios/puffin") + (synopsis "Simple instrumentation profiler for games") + (description "Simple instrumentation profiler for games.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pulldown-cmark-to-cmark-10 + (package + (name "rust-pulldown-cmark-to-cmark") + (version "10.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark-to-cmark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) + (home-page "https://github.com/Byron/pulldown-cmark-to-cmark") + (synopsis + "Convert pulldown-cmark Events back to the string they were parsed from") + (description + "A utility library which translates Event back to markdown. It's the +prerequisite for writing markdown filters which can work as +@code{mdbook-preprocessors}. + +This library takes great pride in supporting everything that +@code{pulldown-cmark} supports, including tables and footnotes and codeblocks +in codeblocks, while assuring quality with a powerful test suite.") + (license license:asl2.0))) + (define-public rust-pulldown-cmark-0.9 (package (name "rust-pulldown-cmark") @@ -58508,26 +50796,6 @@ compliant email address validation.") (("rust-bitflags" ,rust-bitflags-0.9) ("rust-getopts" ,rust-getopts-0.2)))))) -(define-public rust-pulldown-cmark-0.0.15 - (package - (inherit rust-pulldown-cmark-0.8) - (name "rust-pulldown-cmark-15") - (version "0.0.15") - (source - (origin - (method url-fetch) - (uri (crate-uri "pulldown-cmark" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fr3qcxm1vnvywzxx22b3m1bqrvi9px9g05q5hgi0b1rplfr93ip")))) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.9) - ("rust-getopts" ,rust-getopts-0.2)))))) - (define-public rust-pulldown-cmark-to-cmark-7 (package (name "rust-pulldown-cmark-to-cmark") @@ -58581,20 +50849,19 @@ they were parsed from") (description "This package provides a library for async wake signals.") (license license:asl2.0))) -(define-public rust-pure-rust-locales-0.7 +(define-public rust-pure-rust-locales-0.8 (package (name "rust-pure-rust-locales") - (version "0.7.0") + (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "pure-rust-locales" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cl46srhxzj0jlvfp73l8l9qw54qwa04zywaxdf73hidwqlsh0pd")))) + (base32 "0fkkwggiq2053rmiah2h06dz6w3yhy9pa82g30vy3sbcmqcgv40i")))) (build-system cargo-build-system) - (arguments - (list #:tests? #f)) ; Not all files included. + (arguments `(#:skip-build? #t)) ; Not all files included. (home-page "https://github.com/cecton/pure-rust-locales") (synopsis "Pure Rust locales imported directly from the GNU C Library") (description @@ -58602,25 +50869,50 @@ they were parsed from") @code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.") (license (list license:expat license:asl2.0)))) -(define-public rust-pure-rust-locales-0.5 +(define-public rust-pure-rust-locales-0.7 (package - (inherit rust-pure-rust-locales-0.7) + (inherit rust-pure-rust-locales-0.8) (name "rust-pure-rust-locales") - (version "0.5.3") + (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "pure-rust-locales" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ryjj0gs4hfadqx9vl4sgi32zyb2dlvwpxca1m1kmrw9hk1g7gv5")))) + (base32 "0cl46srhxzj0jlvfp73l8l9qw54qwa04zywaxdf73hidwqlsh0pd")))) (arguments - `(#:cargo-inputs - (("rust-itertools" ,rust-itertools-0.8) - ("rust-nom" ,rust-nom-5)))))) + (list #:tests? #f)))) ; Not all files included. + +(define-public rust-pyo3-build-config-0.20 + (package + (name "rust-pyo3-build-config") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-build-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gk3a4y8jc2z1j3hb9xjg1gfvcd7s6ph1wwkcbr039p5iw6nyhh7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-target-lexicon" ,rust-target-lexicon-0.12) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))) + (native-inputs (list python)) ;for tests + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Build configuration for PyO3") + (description + "This package contains build configuration helpers for the PyO3 +ecosystem.") + (license (list license:expat license:asl2.0)))) (define-public rust-pyo3-build-config-0.19 (package + (inherit rust-pyo3-build-config-0.20) (name "rust-pyo3-build-config") (version "0.19.2") (source (origin @@ -58630,19 +50922,11 @@ they were parsed from") (sha256 (base32 "19bb7aqyvr4kmh8b2lnrmcv9251j8yxw7l7xyr77m3s3pk876v07")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) - ("rust-target-lexicon" ,rust-target-lexicon-0.12)))) - (native-inputs (list python)) ;for tests - (home-page "https://github.com/pyo3/pyo3") - (synopsis "Build configuration for PyO3") - (description - "This package contains build configuration helpers for the PyO3 -ecosystem.") - (license license:asl2.0))) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))))) (define-public rust-pyo3-build-config-0.18 (package @@ -58703,8 +50987,31 @@ ecosystem.") `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-pyo3-ffi-0.20 + (package + (name "rust-pyo3-ffi") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))) + (native-inputs (list python)) + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Python API bindings for the PyO3 ecosystem") + (description + "This crate provides Rust FFI declarations for Python 3.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pyo3-ffi-0.19 (package + (inherit rust-pyo3-ffi-0.20) (name "rust-pyo3-ffi") (version "0.19.2") (source (origin @@ -58714,17 +51021,10 @@ ecosystem.") (sha256 (base32 "1nc4696k03ydyiy1f69l3ywknavjzxzag2mscrh2bgkywx1fwg75")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19)))) - (native-inputs (list python)) - (home-page "https://github.com/pyo3/pyo3") - (synopsis "Python API bindings for the PyO3 ecosystem") - (description - "This crate provides Rust FFI declarations for Python 3.") - (license license:asl2.0))) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19)))))) (define-public rust-pyo3-ffi-0.18 (package @@ -58788,8 +51088,32 @@ ecosystem.") extension to python.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pyo3-macros-backend-0.20 + (package + (name "rust-pyo3-macros-backend") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Code generation for PyO3") + (description + "This package provides code generation backends for PyO3.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pyo3-macros-backend-0.19 (package + (inherit rust-pyo3-macros-backend-0.20) (name "rust-pyo3-macros-backend") (version "0.19.2") (source (origin @@ -58799,17 +51123,11 @@ extension to python.") (sha256 (base32 "0dlm4pg29hjmlqx15gcy9cmnabvc8ycy60hcvjg8hm62flhw2zcl")))) - (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/pyo3/pyo3") - (synopsis "Code generation for PyO3") - (description - "This package provides code generation backends for PyO3.") - (license license:asl2.0))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-pyo3-macros-backend-0.18 (package @@ -58869,8 +51187,32 @@ extension to python.") ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) +(define-public rust-pyo3-macros-0.20 + (package + (name "rust-pyo3-macros") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lsfyx1shdyi7zybs3maakh2h3zsij3l5wap35qval0dwjs3ixq5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Proc macros for PyO3") + (description + "This package provides compiler macros for use with PyO3.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pyo3-macros-0.19 (package + (inherit rust-pyo3-macros-0.20) (name "rust-pyo3-macros") (version "0.19.2") (source (origin @@ -58880,18 +51222,12 @@ extension to python.") (sha256 (base32 "1lggr5pnpmdj0cznlhw7ykm1qka3wlymwzfxqql6a4vyb6clrsyz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.19) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/pyo3/pyo3") - (synopsis "Proc macros for PyO3") - (description - "This package provides compiler macros for use with PyO3.") - (license license:asl2.0))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-pyo3-macros-0.18 (package @@ -58969,8 +51305,61 @@ extension to python.") ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) +(define-public rust-pyo3-0.20 + (package + (name "rust-pyo3") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q3g7ppg2qskigbgqg3w9280klkil5is9hhyps1ykl2hb1xdr2cs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-either" ,rust-either-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indoc" ,rust-indoc-2) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.20) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-unindent" ,rust-unindent-0.2)) + #:cargo-development-inputs (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-send-wrapper" ,rust-send-wrapper-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-widestring" ,rust-widestring-0.5)))) + (inputs (list python)) + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Rust bindings for the Python interpreter") + (description + "This package provides Rust bindings for Python, including tools for +creating native Python extension modules. Running and interacting with +Python code from a Rust binary is also supported.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pyo3-0.19 (package + (inherit rust-pyo3-0.20) (name "rust-pyo3") (version "0.19.2") (source (origin @@ -58980,9 +51369,11 @@ extension to python.") (sha256 (base32 "0f1aqx947mzsrk05zdm9w2702lj5k9s97y9w9lxwkp2avk7sd0g6")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=exceptions::PyUnicodeDecodeError::new_utf8") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-chrono" ,rust-chrono-0.4) @@ -59013,15 +51404,7 @@ extension to python.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-trybuild" ,rust-trybuild-1) - ("rust-widestring" ,rust-widestring-0.5)))) - (inputs (list python)) - (home-page "https://github.com/pyo3/pyo3") - (synopsis "Rust bindings for the Python interpreter") - (description - "This package provides Rust bindings for Python, including tools for -creating native Python extension modules. Running and interacting with -Python code from a Rust binary is also supported.") - (license license:asl2.0))) + ("rust-widestring" ,rust-widestring-0.5)))))) (define-public rust-pyo3-0.18 (package @@ -59038,7 +51421,8 @@ Python code from a Rust binary is also supported.") (arguments `(#:cargo-test-flags '("--release" "--" - "--skip=test_compile_errors") + "--skip=test_compile_errors" + "--skip=exceptions::PyUnicodeDecodeError::new_utf8") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cfg-if" ,rust-cfg-if-1) @@ -59221,8 +51605,32 @@ Python code from a Rust binary is also supported.") ("rust-serde-json" ,rust-serde-json-1) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-pyproject-toml-0.8 + (package + (name "rust-pyproject-toml") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyproject-toml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "010fl8m9cx1a5iapcpy53dabl16ij5saa3maz0lkmwl7j7kabm26")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-pep440-rs" ,rust-pep440-rs-0.3) + ("rust-pep508-rs" ,rust-pep508-rs-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.8)))) + (home-page "https://github.com/PyO3/pyproject-toml-rs.git") + (synopsis "pyproject.toml parser in Rust") + (description "This package provides a pyproject.toml parser in Rust.") + (license license:expat))) + (define-public rust-pyproject-toml-0.6 (package + (inherit rust-pyproject-toml-0.8) (name "rust-pyproject-toml") (version "0.6.1") (source (origin @@ -59232,21 +51640,47 @@ Python code from a Rust binary is also supported.") (sha256 (base32 "0pywp6ml15jlv9yxfjcvrs3fgd3xnq8fc6a2wcbw9q9iknmgwygf")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-1) ("rust-pep440-rs" ,rust-pep440-rs-0.3) ("rust-pep508-rs" ,rust-pep508-rs-0.2) ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.7)))) - (home-page "https://github.com/PyO3/pyproject-toml-rs.git") - (synopsis "pyproject.toml parser in Rust") - (description "This package provides a pyproject.toml parser in Rust.") + ("rust-toml" ,rust-toml-0.7)))))) + +(define-public rust-python-pkginfo-0.6 + (package + (name "rust-python-pkginfo") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "python-pkginfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yjc2a1dyxwpcqc9c8hy8l8h08an3lps176nyqdqk37hck0njx03")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bzip2" ,rust-bzip2-0.4) + ("rust-flate2" ,rust-flate2-1) + ("rust-fs-err" ,rust-fs-err-2) + ("rust-mailparse" ,rust-mailparse-0.14) + ("rust-rfc2047-decoder" ,rust-rfc2047-decoder-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-xz" ,rust-xz-0.1) + ("rust-zip" ,rust-zip-0.6)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/PyO3/python-pkginfo-rs") + (synopsis "Parse Python package metadata from sdist and bdists") + (description + "Parse Python package metadata from sdist and bdists and etc.") (license license:expat))) (define-public rust-python-pkginfo-0.5 (package + (inherit rust-python-pkginfo-0.6) (name "rust-python-pkginfo") (version "0.5.6") (source (origin @@ -59256,7 +51690,6 @@ Python code from a Rust binary is also supported.") (sha256 (base32 "03hvc5h10vicfjql9dw46w0xcwq2gjm9sfbfmr13rglz1z68hfg2")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bzip2" ,rust-bzip2-0.4) @@ -59269,55 +51702,7 @@ Python code from a Rust binary is also supported.") ("rust-thiserror" ,rust-thiserror-1) ("rust-xz" ,rust-xz-0.1) ("rust-zip" ,rust-zip-0.6)) - #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/PyO3/python-pkginfo-rs") - (synopsis "Parse Python package metadata from sdist and bdists") - (description - "Parse Python package metadata from sdist and bdists and etc.") - (license license:expat))) - -(define-public rust-python3-dll-a-0.2 - (package - (name "rust-python3-dll-a") - (version "0.2.6") - (source (origin - (method url-fetch) - (uri (crate-uri "python3-dll-a" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a676r8xlbkijdagywwz838rbdnc9h28lgmx1ccvyqj9h9rbs5d9")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;Windows-like targets only - #:cargo-inputs (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/pyo3/python3-dll-a") - (synopsis "Python import library generator") - (description - "This crate generates import libraries for the Python shared library -for MinGW-w64 and MSVC (cross-)compile targets.") - (license license:expat))) - -(define-public rust-qstring-0.7 - (package - (name "rust-qstring") - (version "0.7.2") - (source (origin - (method url-fetch) - (uri (crate-uri "qstring" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0khhcpwifis87r5chr4jiv3w1bkswcf226c0yjx809pzbzkglr6l")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-percent-encoding" ,rust-percent-encoding-2)))) - (home-page "https://github.com/algesten/qstring") - (synopsis "Query string parser") - (description "This package provides query string parser.") - (license license:expat))) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-quantiles-0.7 (package @@ -59379,18 +51764,17 @@ to write.") (base32 "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51")))))) -(define-public rust-quick-xml-0.28 +(define-public rust-quick-xml-0.31 (package (name "rust-quick-xml") - (version "0.28.2") + (version "0.31.0") (source (origin (method url-fetch) (uri (crate-uri "quick-xml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1lfr3512x0s0i9kbyglyzn0rq0i1bvd2mqqfi8gs685808rfgr8c")))) + (base32 "0cravqanylzh5cq2v6hzlfqgxcid5nrp2snnb3pf4m0and2a610h")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -59414,6 +51798,65 @@ to write.") "This package provides a high performance XML reader and writer.") (license license:expat))) +(define-public rust-quick-xml-0.30 + (package + (inherit rust-quick-xml-0.31) + (name "rust-quick-xml") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mp9cqy06blsaka3r1n2p40ddmzhsf7bx37x22r5faw6hq753xpg")))) + (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.28 + (package + (inherit rust-quick-xml-0.30) + (name "rust-quick-xml") + (version "0.28.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lfr3512x0s0i9kbyglyzn0rq0i1bvd2mqqfi8gs685808rfgr8c")))) + (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.27 (package (inherit rust-quick-xml-0.28) @@ -59664,26 +52107,6 @@ integers, floats, tuples, booleans, lists, strings, options and results.") ("rust-log" ,rust-log-0.3) ("rust-rand" ,rust-rand-0.3)))))) -(define-public rust-quickcheck-0.3 - (package - (inherit rust-quickcheck-0.5) - (name "rust-quickcheck-3") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01a6s6lmnjld9lahbl54qp7h7x2hnkkzhcyr2gdhbk460sj3scqb")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.3) - ("rust-log" ,rust-log-0.3) - ("rust-rand" ,rust-rand-0.3)))))) - (define-public rust-quickcheck-0.2 (package (inherit rust-quickcheck-0.4) @@ -59794,33 +52217,53 @@ also has (optional) support for efficient and robust sorting of floating point numbers.") (license (list license:expat license:asl2.0)))) -(define-public rust-quine-mc-cluskey-0.2 +(define-public rust-quinn-0.10 (package - (name "rust-quine-mc-cluskey") - (version "0.2.4") + (name "rust-quinn") + (version "0.10.2") (source (origin (method url-fetch) - (uri (crate-uri "quine-mc_cluskey" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0iazdlwffhrlksb8yhhs1prgwpa68rwjwqm4v26hr9hrswarcn07")))) + (base32 "0x9xjkz2vw7p10llsrm9q0299q618sy1g8yfbncxahsbgq0wbhlc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-quickcheck" ,rust-quickcheck-0.3)))) - (home-page "https://github.com/oli-obk/quine-mc_cluskey") - (synopsis - "Rust implementation of the Quine-McCluskey algorithm and Petrick's method") - (description - "This package provides a Rust implementation of the Quine-McCluskey algorithm -and Petrick's method, an algorithm to automatically minimize boolean expressions.") - (license license:expat))) + (("rust-async-io" ,rust-async-io-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-quinn-proto" ,rust-quinn-proto-0.10) + ("rust-quinn-udp" ,rust-quinn-udp-0.4) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-crc" ,rust-crc-3) + ("rust-directories-next" ,rust-directories-next-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rcgen" ,rust-rcgen-0.10) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/quinn-rs/quinn") + (synopsis "Versatile QUIC transport protocol implementation") + (description "Versatile QUIC transport protocol implementation.") + (license (list license:expat license:asl2.0)))) (define-public rust-quinn-0.8 (package + (inherit rust-quinn-0.10) (name "rust-quinn") (version "0.8.5") (source (origin @@ -59829,7 +52272,6 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13zgwm0pm73w26mzrgv3z9c9rf0zqmq1j8r7k64di85zv5qmwhsv")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -59856,15 +52298,50 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions ("rust-tokio" ,rust-tokio-1) ("rust-tracing-futures" ,rust-tracing-futures-0.2) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) - ("rust-url" ,rust-url-2)))) - (native-inputs (list perl)) + ("rust-url" ,rust-url-2)))))) + +(define-public rust-quinn-proto-0.10 + (package + (name "rust-quinn-proto") + (version "0.10.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "quinn-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06ibzy0i7gf7hs65slxgv7xv095aalj2zq9zzmmj9g1gvvgzf6ql")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=connection::mtud::tests::mtu_discovery_with_peer_max_udp_payload_size_after_search_panics") + #:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-slab" ,rust-slab-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tinyvec" ,rust-tinyvec-1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rcgen" ,rust-rcgen-0.10) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) (home-page "https://github.com/quinn-rs/quinn") - (synopsis "Versatile QUIC transport protocol implementation") - (description "Versatile QUIC transport protocol implementation") + (synopsis "State machine for the QUIC transport protocol") + (description "State machine for the QUIC transport protocol.") (license (list license:expat license:asl2.0)))) (define-public rust-quinn-proto-0.8 (package + (inherit rust-quinn-proto-0.10) (name "rust-quinn-proto") (version "0.8.4") (source (origin @@ -59873,7 +52350,6 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0m9ak5nsplf3a6s7i9243y5rlh8d8a428r9hfnjngxw8jrmm9kiz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) @@ -59894,16 +52370,36 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions ("rust-hex-literal" ,rust-hex-literal-0.3) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-rcgen" ,rust-rcgen-0.8) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (native-inputs - (list perl)) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + +(define-public rust-quinn-udp-0.4 + (package + (name "rust-quinn-udp") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "quinn-udp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mxiy36w9a3rw6cvfcmlc0rz2vhmq8fzffg4qj9rzswgirvlwnq5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) (home-page "https://github.com/quinn-rs/quinn") - (synopsis "State machine for the QUIC transport protocol") - (description "State machine for the QUIC transport protocol") + (synopsis "UDP sockets with ECN information for the QUIC transport protocol") + (description + "This package provodes UDP sockets with ECN information for the QUIC +transport protocol in Rust.") (license (list license:expat license:asl2.0)))) (define-public rust-quinn-udp-0.1 (package + (inherit rust-quinn-udp-0.4) (name "rust-quinn-udp") (version "0.1.4") (source (origin @@ -59912,7 +52408,6 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0m4fafg9d87d8hr0988bg1dcichnxm4xkvwv4vm1lls1f4klcydh")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) @@ -59920,25 +52415,19 @@ and Petrick's method, an algorithm to automatically minimize boolean expressions ("rust-quinn-proto" ,rust-quinn-proto-0.8) ("rust-socket2" ,rust-socket2-0.4) ("rust-tokio" ,rust-tokio-1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/quinn-rs/quinn") - (synopsis "UDP sockets with ECN information for the QUIC transport protocol") - (description - "This package provodes UDP sockets with ECN information for the QUIC -transport protocol in Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-tracing" ,rust-tracing-0.1)))))) (define-public rust-quote-1 (package (name "rust-quote") - (version "1.0.33") + (version "1.0.35") (source (origin (method url-fetch) (uri (crate-uri "quote" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1biw54hbbr12wdwjac55z1m2x2rylciw83qnjn564a3096jgqrsj")))) + "1vv8r2ncaz4pqdr78x7f138ka595sp2ncr1sa2plm4zxbsmwj7i9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -60702,6 +53191,30 @@ generator based on timing jitter.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rand-mt-4 + (package + (name "rust-rand-mt") + (version "4.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_mt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pz2l6kwhx9rvfkr8n4c4klr49fancpc31wqc19543nnvv31iq29")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rand-core" ,rust-rand-core-0.6)) + #:cargo-development-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/artichoke/rand_mt") + (synopsis "Reference Mersenne Twister random number generators") + (description "This package provides Reference Mersenne Twister random number +generators.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rand-os-0.2 (package (name "rust-rand-os") @@ -61317,85 +53830,6 @@ Rust.") (description "This package provides core APIs for Rayon.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rcgen-0.11 - (package - (name "rust-rcgen") - (version "0.11.1") - (source (origin - (method url-fetch) - (uri (crate-uri "rcgen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xl91nlp4ld00gl01pfv00a3agaip980wwc7r6184kfd1p0gnm29")) - (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-pem" ,rust-pem-2) - ("rust-ring" ,rust-ring-0.16) - ("rust-time" ,rust-time-0.3) - ("rust-x509-parser" ,rust-x509-parser-0.15) - ("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-rsa" ,rust-rsa-0.9) - ("rust-webpki" ,rust-webpki-0.22) - ("rust-x509-parser" ,rust-x509-parser-0.15)))) - (native-inputs - (list pkg-config)) - (inputs - (list botan openssl perl)) - (home-page "https://github.com/est31/rcgen") - (synopsis "Rust X.509 certificate generator") - (description "Rust X.509 certificate generator") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rcgen-0.8 - (package - (inherit rust-rcgen-0.11) - (name "rust-rcgen") - (version "0.8.14") - (source (origin - (method url-fetch) - (uri (crate-uri "rcgen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19qvlcz8kl046q85xa40p3xg7l78jganj83hdbawjhs17x0d24ar")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Don't use a vendored botan. - (substitute* "Cargo.toml" - ((".*vendored.*") "")))))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=tests::test_dt_to_generalized" - "--skip=tests::test_dt_utc_strip_nanos") - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-pem" ,rust-pem-1) - ("rust-ring" ,rust-ring-0.16) - ("rust-x509-parser" ,rust-x509-parser-0.12) - ("rust-yasna" ,rust-yasna-0.4) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-botan" ,rust-botan-0.8) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.8) - ("rust-rsa" ,rust-rsa-0.5) - ("rust-webpki" ,rust-webpki-0.22) - ("rust-x509-parser" ,rust-x509-parser-0.12)))))) - (define-public rust-rctree-0.5 (package (name "rust-rctree") @@ -61452,26 +53886,6 @@ reference counting.") @code{rdrand} and @code{rdseed} instructions") (license license:isc))) -(define-public rust-readkey-0.1 - (package - (name "rust-readkey") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "readkey" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0iiip8bq4yhal5rv6wlws0xgz798blki7s5ly5cmlwm1ssv03m46")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/segeljakt/readkey") - (synopsis "Library for finding out if a key is currently pressed on macOS") - (description - "This package provides a very small library for finding out if a key is -currently pressed on macOS.") - (license license:expat))) - (define-public rust-recycler-0.1 (package (name "rust-recycler") @@ -61493,8 +53907,32 @@ currently pressed on macOS.") owned memory.") (license license:expat))) +(define-public rust-redox-syscall-0.4 + (package + (name "rust-redox-syscall") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "redox_syscall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1aiifyz5dnybfvkk4cdab9p2kmphag1yad6iknc7aszlxxldf8j7")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; could not find `CloneFlags` in the crate root + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://gitlab.redox-os.org/redox-os/syscall") + (synopsis "Rust library to access raw Redox system calls") + (description + "This package provides a Rust library to access raw Redox system calls.") + (license license:expat))) + (define-public rust-redox-syscall-0.3 (package + (inherit rust-redox-syscall-0.4) (name "rust-redox-syscall") (version "0.3.5") (source (origin @@ -61504,30 +53942,24 @@ owned memory.") (sha256 (base32 "0acgiy2lc1m2vr8cr33l5s7k9wzby8dybyab1a9p753hcbr68xjn")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) - (home-page "https://gitlab.redox-os.org/redox-os/syscall") - (synopsis "Rust library to access raw Redox system calls") - (description - "This package provides a Rust library to access raw Redox system calls.") - (license license:expat))) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) (define-public rust-redox-syscall-0.2 (package (inherit rust-redox-syscall-0.3) (name "rust-redox-syscall") - (version "0.2.10") + (version "0.2.16") (source (origin (method url-fetch) (uri (crate-uri "redox_syscall" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zq36bhw4c6xig340ja1jmr36iy0d3djp8smsabxx71676bg70w3")))) + (base32 "16jicm96kjyzm802cxdd1k9jmcph0db1a4lhslcnhjsvhp0mhnpv")))) (arguments `(#:skip-build? #t #:cargo-inputs @@ -61553,7 +53985,7 @@ owned memory.") (define-public rust-redox-termios-0.1 (package (name "rust-redox-termios") - (version "0.1.1") + (version "0.1.3") (source (origin (method url-fetch) @@ -61561,12 +53993,8 @@ owned memory.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0xhgvdh62mymgdl3jqrngl8hr4i8xwpnbsxnldq0l47993z1r2by")))) + "1jzifsj7fqyksz4325l3azfzpyv027kjabf93zcmass3p9q5c510")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-redox-syscall" ,rust-redox-syscall-0.1)))) (home-page "https://github.com/redox-os/termios") (synopsis "Rust library to access Redox termios functions") (description @@ -61602,21 +54030,20 @@ functionality") (package (inherit rust-redox-users-0.4) (name "rust-redox-users") - (version "0.3.4") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "redox_users" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cbl5w16l3bqm22i4vszclf6hzpljxicghmllw7j13az4s9k1ch9")))) + (base32 "179fxmyqaqzibp533ajgbn4ljah9lrzpqvd3i73h55bs7qrkf1yy")))) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; redox-syscall no longer builds. #:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.1) ("rust-redox-syscall" ,rust-redox-syscall-0.1) - ("rust-rust-argon2" ,rust-rust-argon2-0.7)))))) + ("rust-rust-argon2" ,rust-rust-argon2-0.8)))))) (define-public rust-reduce-0.1 (package @@ -61906,14 +54333,14 @@ uses finite automata and guarantees linear time matching on all inputs.") (package (inherit rust-regex-automata-0.4) (name "rust-regex-automata") - (version "0.3.3") + (version "0.3.9") (source (origin (method url-fetch) (uri (crate-uri "regex-automata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "041kj8fnyh3hv8sqmqq1am6agb1ckjxj6swjfcp8qih7vl84qd9r")))) + "1agg6ymbgjydj3q31ay6dbzgp3i5cnrnygpylczqj623xs93xcjr")))) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -61979,14 +54406,14 @@ uses finite automata and guarantees linear time matching on all inputs.") (package (inherit rust-regex-syntax-0.8) (name "rust-regex-syntax") - (version "0.7.4") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "regex-syntax" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qjczlc2w92kamn9ipjdr5pjql0jnccahpi9l3r6wp0rnsjr5sp5")))) + "1nhjmqdlakfi4yb8lh7vbbh71dsy90jjvrjvvnrih6larldgpdfv")))) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)))))) @@ -62157,64 +54584,6 @@ crate unless you're working on a regex implementation.") (description "This package provides portable, relative paths for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-remove-dir-all-0.8 - (package - (name "rust-remove-dir-all") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "remove_dir_all" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ay0mi06ak1n5gw3yjgp0hvzl59nj31ahxpdqvczw5qrvkx5r293")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aligned" ,rust-aligned-0.4) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-clap" ,rust-clap-4) - ("rust-cvt" ,rust-cvt-0.1) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-fs-at" ,rust-fs-at-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-normpath" ,rust-normpath-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-windows-sys" ,rust-windows-sys-0.45)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-test-log" ,rust-test-log-0.2)))) - (home-page "https://github.com/XAMPPRocky/remove_dir_all.git") - (synopsis "Implementation of remove_dir_all for Windows") - (description - "This package provides a safe, reliable implementation of -@code{remove_dir_all} for Windows") - (license (list license:expat license:asl2.0)))) - -(define-public rust-remove-dir-all-0.5 - (package - (inherit rust-remove-dir-all-0.8) - (name "rust-remove-dir-all") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "remove_dir_all" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s")))) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))))) - (define-public rust-rend-0.3 (package (name "rust-rend") @@ -62398,164 +54767,6 @@ Should not be used directly.") "For deriving the offsets of fields for types with a stable layout.") (license license:zlib))) -(define-public rust-reqwest-0.11 - (package - (name "rust-reqwest") - (version "0.11.14") - (source - (origin - (method url-fetch) - (uri (crate-uri "reqwest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1s8yv7r76af4aqf55ckn7ndfr8ba427wybkp7gam42apr07dkvi1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - ;; These tests go to the network - "--skip=test_badssl_modern" - "--skip=test_badssl_self_signed" - "--skip=connect_timeout" - "--skip=test_allowed_methods") - #:cargo-inputs - (("rust-async-compression" ,rust-async-compression-0.3) - ("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-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-h2" ,rust-h2-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-http-body" ,rust-http-body-0.4) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-hyper-rustls" ,rust-hyper-rustls-0.23) - ("rust-hyper-tls" ,rust-hyper-tls-0.5) - ("rust-ipnet" ,rust-ipnet-2) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) - ("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.22) - ("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.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-webpki-roots" ,rust-webpki-roots-0.22) - ("rust-winreg" ,rust-winreg-0.10)) - #: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-hyper" ,rust-hyper-0.14) - ("rust-libflate" ,rust-libflate-1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (inputs - (list openssl)) - (native-inputs - (list pkg-config)) - (home-page "https://github.com/seanmonstar/reqwest") - (synopsis "High level HTTP client library") - (description "This package provides a high level HTTP client library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-reqwest-0.10 - (package - (inherit rust-reqwest-0.11) - (name "rust-reqwest") - (version "0.10.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "reqwest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0z7l46m1mjnvncscaq61zq6qmazrmb33vwjcnfrxpi0liqdgh607")))) - (arguments - `(#:cargo-test-flags '("--release" "--" - ;; These tests require internet access. - "--skip=test_badssl_modern" - "--skip=test_badssl_self_signed" - ;; XXX: Not sure why these fail. - "--skip=test_allowed_methods" - "--skip=connect_timeout") - #:cargo-inputs - (("rust-async-compression" ,rust-async-compression-0.3) - ("rust-base64" ,rust-base64-0.13) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-cookie" ,rust-cookie-0.14) - ("rust-cookie-store" ,rust-cookie-store-0.12) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-http-body" ,rust-http-body-0.3) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-hyper-rustls" ,rust-hyper-rustls-0.21) - ("rust-hyper-tls" ,rust-hyper-tls-0.4) - ("rust-ipnet" ,rust-ipnet-2) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-time" ,rust-time-0.2) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-tokio-socks" ,rust-tokio-socks-0.3) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19) - ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-webpki-roots" ,rust-webpki-roots-0.20) - ("rust-winreg" ,rust-winreg-0.7)) - #:cargo-development-inputs - (("rust-brotli" ,rust-brotli-3) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-libflate" ,rust-libflate-1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)))) - (define-public rust-resolv-conf-0.7 (package (name "rust-resolv-conf") @@ -62663,183 +54874,6 @@ functionality as retain but gives mutable borrow to the predicate.") MIME Message Headers.") (license license:expat))) -(define-public rust-rfc6979-0.4 - (package - (name "rust-rfc6979") - (version "0.4.0") - (source (origin - (method url-fetch) - (uri (crate-uri "rfc6979" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1chw95jgcfrysyzsq6a10b1j5qb7bagkx8h0wda4lv25in02mpgq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-hmac" ,rust-hmac-0.12) - ("rust-subtle" ,rust-subtle-2)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/RustCrypto/signatures/tree/master/rfc6979") - (synopsis "Pure Rust implementation of RFC6979") - (description - "This package provides a pure Rust implementation of RFC6979: Deterministic -Usage of the @dfn{Digital Signature Algorithm} (DSA) and @dfn{Elliptic Curve -Digital Signature Algorithm} (ECDSA).") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-ring-0.16 - (package - (name "rust-ring") - (version "0.16.20") - (source - (origin - (method url-fetch) - (uri (crate-uri "ring" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z682xp7v38ayq9g9nkbhhfpj6ygralmlx7wdmsfv8rnw99cylrh")) - (patches (search-patches "rust-ring-0.16-missing-files.patch" - "rust-ring-0.16-test-files.patch")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "pregenerated") - ;; Regenerating the curve25519_tables requires python2 and clang-format. - ;; Luckily we've added the script back in the patch. - ;; Rust doesn't provide a clear way to regenerate files located in - ;; source directories, so for now we don't remove the file here. - ;(delete-file "crypto/curve25519/curve25519_tables.h") - ;; Pretend this isn't a relase tarball. - (with-output-to-file ".git" - (lambda _ - (format #t ""))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-spin" ,rust-spin-0.5) - ("rust-untrusted" ,rust-untrusted-0.7) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3) - ;; build dependencies - ("rust-cc" ,rust-cc-1)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'generate-curve25519-tables - (lambda _ - (with-directory-excursion "crypto/curve25519" - (with-output-to-file "curve25519_tables.h" - (lambda _ - (invoke "python" "make_curve25519_tables.py"))))))))) - (native-inputs - (list clang perl python-2)) - (home-page "https://github.com/briansmith/ring") - (synopsis "Safe, fast, small crypto using Rust") - (description "This package provided safe, fast, small crypto using Rust.") - ;; For a mostly complete list of supported systems see: - ;; https://github.com/briansmith/ring/blob/main/.github/workflows/ci.yml#L170 - (supported-systems (list "aarch64-linux" "armhf-linux" - "i686-linux" "x86_64-linux")) - (license (list license:isc license:openssl)))) - -(define-public rust-ring-0.14 - (package - (inherit rust-ring-0.16) - (name "rust-ring") - (version "0.14.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "ring" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0g091akf4dpg9qj05z3gc4nlrs57mjj2bqab98gaqp79wf3c2ss2")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Fix the doc tests. - (substitute* "src/ec/curve25519/ed25519/verification.rs" - ((";;") ";")) - ;; Remove some generated files. - ;; Regenerating the curve25519_tables requires python2 and clang-format. - (delete-file "third_party/fiat/curve25519_tables.h") - (delete-file-recursively "pregenerated") - ;; Pretend this isn't a relase tarball. - (with-output-to-file ".git" - (lambda _ - (format #t ""))))))) - (arguments - `(#:skip-build? #t ; TODO: Fix build - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-spin" ,rust-spin-0.5) - ("rust-untrusted" ,rust-untrusted-0.6) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-cc" ,rust-cc-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'generate-curve25519-tables - (lambda _ - (with-directory-excursion "third_party/fiat" - (with-output-to-file "curve25519_tables.h" - (lambda _ - (invoke "python" "make_curve25519_tables.py"))))))))) - (native-inputs - (list clang perl python-2)))) - -(define-public rust-ring-0.13 - (package - (inherit rust-ring-0.14) - (name "rust-ring") - (version "0.13.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "ring" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12j580by6a438i5mw3136cj3lxylywymdr5p8rqlkwrm5s5bck9c")) - (modules '((guix build utils))) - (snippet - '(begin - ;; error: `...` range patterns are deprecated - (substitute* "src/digest/sha1.rs" - (("0\\.\\.\\.") "0..=")) - ;; Remove some generated files. - (delete-file-recursively "pregenerated") - ;; Regenerating the curve25519_tables requires python2 and clang-format. - (delete-file "third_party/fiat/curve25519_tables.h") - ;; Pretend this isn't a relase tarball. - (with-output-to-file ".git" - (lambda _ - (format #t ""))))))) - (arguments - `(#:skip-build? #t ; TODO: Fix build - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-untrusted" ,rust-untrusted-0.6) - ;; build dependencies - ("rust-cc" ,rust-cc-1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'generate-curve25519-tables - (lambda _ - (with-directory-excursion "third_party/fiat" - (with-output-to-file "curve25519_tables.h" - (lambda _ - (invoke "python" "make_curve25519_tables.py"))))))))))) - (define-public rust-ringbuf-0.2 (package (name "rust-ringbuf") @@ -62862,78 +54896,6 @@ Digital Signature Algorithm} (ECDSA).") First In First Out} ring buffer with direct access to inner data.") (license (list license:expat license:asl2.0)))) -(define-public rust-ripemd-0.1 - (package - (name "rust-ripemd") - (version "0.1.3") - (source (origin - (method url-fetch) - (uri (crate-uri "ripemd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17xh5yl9wjjj2v18rh3m8ajlmdjg1yj13l6r9rj3mnbss4i444mx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "Pure Rust implementation of the RIPEMD hash functions") - (description "Pure Rust implementation of the RIPEMD hash functions") - (license (list license:expat license:asl2.0)))) - -(define-public rust-riscv-0.7 - (package - (name "rust-riscv") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "riscv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fla10m2qkcf7zqw91rrribpdaavkv6qbbzjz9q2n09igbfwq1v9")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "bin"))))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bare-metal" ,rust-bare-metal-1) - ("rust-bit-field" ,rust-bit-field-0.10) - ("rust-riscv-target" ,rust-riscv-target-0.1)))) - (home-page "https://github.com/rust-embedded/riscv") - (synopsis "Low level access to RISC-V processors") - (description "This crate provides low level access to RISC-V processors.") - (license license:isc))) - -(define-public rust-riscv-target-0.1 - (package - (name "rust-riscv-target") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "riscv-target" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08pj6f1sbddd6idjn8c1wv121bzikw9qvzhcl9icz822va697al8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/ilya-epifanov/riscv-target") - (synopsis "RISC-V target string manipulation utilities") - (description "This package provides RISC-V target string manipulation -utilities.") - (license license:isc))) - (define-public rust-rle-decode-fast-1 (package (name "rust-rle-decode-fast") @@ -63079,6 +55041,31 @@ MessagePack format.") (description "This crate provides Serde bindings for RMP.") (license license:expat))) +(define-public rust-rmpv-1 + (package + (name "rust-rmpv") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rmpv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v01az3ahglmag94d75qgdygfcgwj9bh5921rvn49d52lha043if")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rmp" ,rust-rmp-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/3Hren/msgpack-rust") + (synopsis "Value variant for @code{rust-rmp}") + (description "This create provides a value variant for @code{rust-rmp}.") + (license license:expat))) + (define-public rust-roadmap-0.5 (package (name "rust-roadmap") @@ -63103,104 +55090,6 @@ MessagePack format.") (description "Model a project roadmap as a directed acyclic graph.") (license license:expat-0))) -(define-public rust-rocket-0.4 - (package - (name "rust-rocket") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "rocket" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-base64" ,rust-base64-0.12) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-pear" ,rust-pear-0.1) - ("rust-rocket-codegen" ,rust-rocket-codegen-0.4) - ("rust-rocket-http" ,rust-rocket-http-0.4) - ("rust-state" ,rust-state-0.4) - ("rust-time" ,rust-time-0.1) - ("rust-toml" ,rust-toml-0.4) - ("rust-version-check" ,rust-version-check-0.9) - ("rust-yansi" ,rust-yansi-0.5) - ("rust-yansi" ,rust-yansi-0.5)))) - (home-page "https://rocket.rs") - (synopsis - "Web framework with focus on ease-of-use, expressibility, and speed") - (description - "Rocket is a web framework with a focus on ease-of-use, expressibility, -and speed.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rocket-codegen-0.4 - (package - (name "rust-rocket-codegen") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "rocket_codegen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-devise" ,rust-devise-0.2) - ("rust-glob" ,rust-glob-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-quote" ,rust-quote-0.6) - ("rust-rocket-http" ,rust-rocket-http-0.4) - ("rust-version-check" ,rust-version-check-0.9) - ("rust-yansi" ,rust-yansi-0.5)))) - (home-page "https://rocket.rs") - (synopsis "Procedural macros for the Rocket web framework") - (description - "This package provides procedural macros for the Rocket web framework.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rocket-http-0.4 - (package - (name "rust-rocket-http") - (version "0.4.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "rocket_http" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cookie" ,rust-cookie-0.11) - ("rust-hyper" ,rust-hyper-0.10) - ("rust-hyper-sync-rustls" ,rust-hyper-sync-rustls-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-pear" ,rust-pear-0.1) - ("rust-percent-encoding" ,rust-percent-encoding-1) - ("rust-rustls" ,rust-rustls-0.14) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-state" ,rust-state-0.4) - ("rust-time" ,rust-time-0.1) - ("rust-unicode-xid" ,rust-unicode-xid-0.1)))) - (home-page "https://rocket.rs") - (synopsis "HTTP requests, responses and headers tooling for Rocket") - (description - "This package provides types, traits, and parsers for HTTP requests, -responses, and headers for the Rocket web framework.") - (license (list license:expat license:asl2.0)))) - (define-public rust-roff-0.2 (package (name "rust-roff") @@ -63435,98 +55324,6 @@ can handle huge texts and memory-incoherent edits with ease.") "This package provides a library for generic lossless syntax trees.") (license (list license:expat license:asl2.0)))) -(define-public rust-rsa-0.9 - (package - (name "rust-rsa") - (version "0.9.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a762gzj9xl14n8gmclsz8kcwp958nd1k05nnhqsdh93gns3pd3a")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-const-oid" ,rust-const-oid-0.9) - ("rust-digest" ,rust-digest-0.10) - ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-pkcs1" ,rust-pkcs1-0.7) - ("rust-pkcs8" ,rust-pkcs8-0.10) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-signature" ,rust-signature-2) - ("rust-spki" ,rust-spki-0.7) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-base64ct" ,rust-base64ct-1) - ("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-proptest" ,rust-proptest-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-chacha" ,rust-rand-chacha-0.3) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) - ("rust-serde-test" ,rust-serde-test-1) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-sha3" ,rust-sha3-0.10)))) - (home-page "https://github.com/RustCrypto/RSA") - (synopsis "Pure Rust RSA implementation") - (description "This package provides a pure Rust RSA implementation.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-rsa-0.5 - (package - (inherit rust-rsa-0.9) - (name "rust-rsa") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "039676a4mj0875phdi7vc0bd37hv84dh0dql6fmk8dl2w81jcp70")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-digest" ,rust-digest-0.9) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.7) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-iter" ,rust-num-iter-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-pkcs1" ,rust-pkcs1-0.2) - ("rust-pkcs8" ,rust-pkcs8-0.7) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1.4)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-hex" ,rust-hex-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) - ("rust-serde-test" ,rust-serde-test-1) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-sha3" ,rust-sha3-0.9)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'relax-requirements - (lambda _ - (substitute* - "Cargo.toml" - (("version = \">=1, <1.5\"") "version = \"^1\""))))))))) - (define-public rust-rspec-1 (package (name "rust-rspec") @@ -63537,12 +55334,12 @@ can handle huge texts and memory-incoherent edits with ease.") (uri (crate-uri "rspec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02hfwxqjdc39ygnjysvn5qz343fahmwm16rxvxayh403d5y9wf49")))) + (base32 "02hfwxqjdc39ygnjysvn5qz343fahmwm16rxvxayh403d5y9wf49")) + (patches (search-patches "rust-rspec-1-remove-clippy.patch")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0.153) - ("rust-colored" ,rust-colored-2) + (("rust-colored" ,rust-colored-2) ("rust-derive-new" ,rust-derive-new-0.5) ("rust-derive-builder" ,rust-derive-builder-0.9) ("rust-expectest" ,rust-expectest-0.12) @@ -63554,6 +55351,24 @@ can handle huge texts and memory-incoherent edits with ease.") rust.") (license license:mpl2.0))) +(define-public rust-rspec-1.0.0-beta.3 + (package + (inherit rust-rspec-1) + (name "rust-rspec") + (version "1.0.0-beta.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qkafvyg3r3h4ffhb7bhzq54mxxbirn2hk693wxdv5zhdjx68a99")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("clippy.*") "")))))) + (arguments `()))) + (define-public rust-rspotify-0.11 (package (name "rust-rspotify") @@ -63603,40 +55418,6 @@ rust.") streaming service.") (license license:expat))) -(define-public rust-rspotify-0.10 - (package - (inherit rust-rspotify-0.11) - (name "rust-rspotify") - (version "0.10.0") - (source (origin - (method url-fetch) - (uri (crate-uri "rspotify" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "196wd157l3fn6hlyixgffhl2x516g4fpa3s91arhcikiifsppzgf")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-derive-builder" ,rust-derive-builder-0.7) - ("rust-dotenv" ,rust-dotenv-0.13) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-failure" ,rust-failure-0.1) - ("rust-itertools" ,rust-itertools-0.8) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-percent-encoding" ,rust-percent-encoding-1) - ("rust-rand" ,rust-rand-0.6) - ("rust-random" ,rust-random-0.12) - ("rust-reqwest" ,rust-reqwest-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-url" ,rust-url-1) - ("rust-webbrowser" ,rust-webbrowser-0.5)))))) - (define-public rust-rspotify-http-0.11 (package (name "rust-rspotify-http") @@ -63770,8 +55551,94 @@ 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.18 + (package + (name "rust-rstest") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (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) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.18) + ("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)))) + (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)))) + +(define-public rust-rstest-0.17 + (package + (inherit rust-rstest-0.18) + (name "rust-rstest") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qnrx40c05ziz2sxhrj0i4pamvlip8cx7w62439qr1wils3b86yy")))) + (arguments + `(#:skip-build? #t ; requires rust-artix-rt@2.7.0 + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.17) + ("rust-rustc-version" ,rust-rustc-version-0.4)))))) + +(define-public rust-rstest-0.16 + (package + (inherit rust-rstest-0.17) + (name "rust-rstest") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pqfpj727hkn4rr7nspnaab0h74gl9yxqlb53vn9h8a7dhbjszxh")))) + (arguments + `(#:tests? #f ; integration tests fail + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.16) + ("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.13) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.4) + ("rust-rstest-test" ,rust-rstest-test-0.9) + ("rust-temp-testdir" ,rust-temp-testdir-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-unindent" ,rust-unindent-0.1)))))) + (define-public rust-rstest-0.15 (package + (inherit rust-rstest-0.17) (name "rust-rstest") (version "0.15.0") (source @@ -63781,20 +55648,13 @@ contains the API endpoint response objects.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9")))) - (build-system cargo-build-system) (arguments (list #:skip-build? #t #:cargo-inputs `(("rust-futures" ,rust-futures-0.3) ("rust-futures-timer" ,rust-futures-timer-3) ("rust-rstest-macros" ,rust-rstest-macros-0.14) - ("rust-rustc-version" ,rust-rustc-version-0.3)))) - (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-rustc-version" ,rust-rustc-version-0.3)))))) (define-public rust-rstest-0.13 (package @@ -63883,17 +55743,108 @@ and table-based tests.") (package (inherit rust-rstest-0.10) (name "rust-rstest") - (version "0.6.5") + (version "0.6.4") (source (origin (method url-fetch) (uri (crate-uri "rstest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil")))))) + "0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y")))))) + +(define-public rust-rstest-macros-0.18 + (package + (name "rust-rstest-macros") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01g6rg60snmscipc9xiili7nsn0v25sv64713gp99y2jg0jgha6l")))) + (build-system cargo-build-system) + (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)))) + (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.17 + (package + (inherit rust-rstest-macros-0.18) + (name "rust-rstest-macros") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319")))) + (arguments + `(#:skip-build? #t ; requires rust-artix-rt@2.7.0 + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-1) + ("rust-unicode-ident" ,rust-unicode-ident-1)))))) + +(define-public rust-rstest-macros-0.16 + (package + (inherit rust-rstest-macros-0.17) + (name "rust-rstest-macros") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xzrgwjih87myghqzm9ncqm0449y2sf4migz6x7yc1h7mq2vaabj")))) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=rstest (line 740)" + "--skip=rstest (line 764)") + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-1) + ("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-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.15) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.4) + ("rust-rstest-test" ,rust-rstest-test-0.9)))))) (define-public rust-rstest-macros-0.14 (package + (inherit rust-rstest-macros-0.17) (name "rust-rstest-macros") (version "0.14.0") (source (origin @@ -63903,7 +55854,6 @@ and table-based tests.") (sha256 (base32 "0rlwp3r1dg3fl4f100wjd3ya7dhs23vpyqgf7vg5mac50s5fc5ah")))) - (build-system cargo-build-system) (arguments (list #:skip-build? #t #:cargo-inputs @@ -63911,13 +55861,7 @@ and table-based tests.") ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-syn" ,rust-syn-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)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-macros-0.13 (package @@ -63940,8 +55884,38 @@ and table-based tests.") ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-rstest-reuse-0.6 + (package + (name "rust-rstest-reuse") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_reuse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "191l5gfwx9rmkqd48s85fkh21b73f38838fc896r4rxy39l0nlw8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect rustup + #:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-test" ,rust-rstest-test-0.11) + ("rust-temp-testdir" ,rust-temp-testdir-0.2)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Reuse rstest attributes") + (description + "This package provides a Rust library for reusing rstest attributes by +creating a set of tests and applying it to every scenario you want to test.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rstest-reuse-0.4 (package + (inherit rust-rstest-reuse-0.6) (name "rust-rstest-reuse") (version "0.4.0") (source (origin @@ -63951,20 +55925,12 @@ and table-based tests.") (sha256 (base32 "05zcs22fbvv7q50p2xs6w13lqbcklddnj2dm1mz1wi2pak9sxdgr")))) - (build-system cargo-build-system) (arguments (list #:skip-build? #t #:cargo-inputs `(("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Reuse rstest attributes") - (description - "This package provides a Rust library for reusing rstest -attributes by creating a set of tests and applying it to every -scenario you want to test.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-reuse-0.3 (package @@ -63984,6 +55950,56 @@ scenario you want to test.") ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-rstest-test-0.11 + (package + (name "rust-rstest-test") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16z1525ww9n1x94mvvgd6zcpxc2pzlf1r031kryk383lgd3wgi9p")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect rustup + #:cargo-inputs + (("rust-regex" ,rust-regex-1) + ("rust-toml-edit" ,rust-toml-edit-0.19)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rstest" ,rust-rstest-0.16) + ("rust-temp-testdir" ,rust-temp-testdir-0.2)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Provides some utilities used to write rstest crate's tests") + (description + "This package provides some utilities used to write the rstest crate's +tests.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rstest-test-0.9 + (package + (inherit rust-rstest-test-0.11) + (name "rust-rstest-test") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bdy2pni88vh6m2w2mk0wj5hsgka4yslwv472wyfk6794ilgl203")))) + (arguments + `(#:tests? #f ; Tests expect rustup + #:cargo-inputs + (("rust-regex" ,rust-regex-1) + ("rust-toml-edit" ,rust-toml-edit-0.15)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rstest" ,rust-rstest-0.15) + ("rust-temp-testdir" ,rust-temp-testdir-0.2)))))) + (define-public rust-rug-1 (package (name "rust-rug") @@ -64075,19 +56091,6 @@ console applications.") (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-rpassword-4 - (package - (inherit rust-rpassword-5) - (name "rust-rpassword") - (version "4.0.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "rpassword" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr")))))) - (define-public rust-rpds-1 (package (name "rust-rpds") @@ -64115,6 +56118,31 @@ console applications.") structures with structural sharing.") (license license:mpl2.0))) +(define-public rust-run-script-0.10 + (package + (name "rust-run-script") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "run_script" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ix9kf1b3h5vmdadpv7rfxylmj8mphlbx0xgv6frhy4dqpyri7w2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fsio" ,rust-fsio-0.4)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "http://github.com/sagiegurari/run_script") + (synopsis "Run shell scripts in Rust") + (description "This library enables to invoke shell scripts based on their +content. While @code{std::process::Command} works great to execute standalone +command, you need more manual code to take a script text and execute it. For +this purpose, this library was created.") + (license license:asl2.0))) + (define-public rust-runtime-0.3 (package (name "rust-runtime") @@ -64366,54 +56394,6 @@ please consider using @code{async-std} or @code{tokio}.") reading and writing BAM files.") (license license:expat))) -(define-public rust-rust-argon2-0.8 - (package - (name "rust-rust-argon2") - (version "0.8.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "rust-argon2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("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)))) - -(define-public rust-rust-argon2-0.7 - (package - (inherit rust-rust-argon2-0.8) - (name "rust-rust-argon2") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rust-argon2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-base64" ,rust-base64-0.11) - ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)))))) - (define-public rust-rust-base58-0.0 (package (name "rust-rust-base58") @@ -64613,6 +56593,64 @@ the file-system during development.") (description "Traits for key comparison in maps.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ethtool-0.2 + (package + (name "rust-ethtool") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "ethtool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nivim6pzfvrnmyb0p7qv39q54vraa0z6jy0ims7gp0panih93hx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=test_dump_link_modes") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-genetlink" ,rust-genetlink-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://docs.rs/ethtool/latest/ethtool/") + (synopsis "Linux Ethtool Communication Library") + (description "Linux Ethtool Communication Library.") + (license license:expat))) + +(define-public rust-etherparse-0.13 + (package + (name "rust-etherparse") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "etherparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "146rcbnhlpcbl6c6csfhvz0227wbiwhk13md6acq8211b7m94wl2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/JulianSchmid/etherparse") + (synopsis "Library for parsing & writing a bunch of packet based protocols") + (description + "This package provides a library for parsing & writing a bunch of packet +based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") + (license (list license:expat license:asl2.0)))) + (define-public rust-rust-hawktracer-0.7 (package (name "rust-rust-hawktracer") @@ -64628,8 +56666,7 @@ the file-system during development.") "1h9an3b73pmhhpzc2kk93nh93lplkvsffysj0rp6rxi7p4lhlj73")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-rust-hawktracer-normal-macro" ,rust-rust-hawktracer-normal-macro-0.4) ("rust-rust-hawktracer-proc-macro" @@ -64703,18 +56740,35 @@ the file-system during development.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15acrj881y2g7cwsgf1nr22cixrknp8m4x08dkx1an6zf4q8bk37")))) + "15acrj881y2g7cwsgf1nr22cixrknp8m4x08dkx1an6zf4q8bk37")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file "pregenerated_bindings.rs") + ;; TODO: Unbundle hawktracer + (substitute* "Cargo.toml" + (("0\\.37\\.0") "0.56") + ;; Generate the bindings by default since we delete the + ;; pregenerated bindings. + (("\\[features\\]") + "[features]\ndefault = ['generate_bindings']")) + (substitute* "build.rs" + (("( +)\\.generate" _ space) + (string-append space ".size_t_is_usize(true)\n" + space ".generate"))) + (substitute* "hawktracer/CMakeLists.txt" + (("(ENABLE_DOC.*) ON" _ enable_doc) + (string-append enable_doc " OFF"))))))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-cmake" ,rust-cmake-0.1) ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-bindgen" ,rust-bindgen-0.37) + ("rust-bindgen" ,rust-bindgen-0.56) ("rust-itertools" ,rust-itertools-0.8)))) + (native-inputs + (list clang cmake-minimal)) (home-page "https://github.com/AlexEne/rust_hawktracer_sys") - (synopsis - "Sys crate for the rust_hawktracer library") + (synopsis "Sys crate for the rust_hawktracer library") (description "This package provides a sys crate for the rust_hawktracer library.") (license (list license:expat license:asl2.0)))) @@ -65101,26 +57155,6 @@ rust-lang/rust integration.") (license (list license:asl2.0 license:expat)))) -(define-public rust-rustc-workspace-hack-1 - (package - (name "rust-rustc-workspace-hack") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-workspace-hack" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1yx8l58n2vb2ldpi3z1jn4dmi5hnxvikbhpd5lilpdvkl7xd4wgw")))) - (build-system cargo-build-system) - (home-page "https://crates.io/crates/rustc-workspace-hack") - (synopsis "Hack for the compiler's own build system") - (description "Hack for the compiler's own build system. It is used by -@code{cargo}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-rustc-std-workspace-std-1 (package (name "rust-rustc-std-workspace-std") @@ -65344,31 +57378,30 @@ rustc compiler.") (define-public rust-rustix-0.38 (package (name "rust-rustix") - (version "0.38.15") + (version "0.38.28") (source (origin (method url-fetch) (uri (crate-uri "rustix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cg5jsfx8lf5npjf2v5ac8fca5443hq8iqqlg2gg1yc8pl6dmyfj")) + (base32 "05m3vacvbqbg6r6ksmx9k5afpi0lppjdv712crrpsrfax2jp5rbj")) (snippet - #~(begin - (use-modules (guix build utils)) - (for-each delete-file (find-files "." "\\.a$")) - (delete-file "Cargo.toml") - (substitute* "Cargo.toml.orig" - ;; Depend unconditionally on the cc crate - (("(cc = .*), optional = true.*" _ cc) - (string-append cc " }\n")) - ;; Disable using the linux_raw backend - (("not\\(rustic_use_libc\\)") "miri")) - (substitute* "build.rs" - ;; Always use the 'feature = "cc"' path - (("not\\(feature = \"cc\"\\)") "feature = \"foobar\"") - (("#\\[cfg\\(feature = \"cc\"\\)\\]" all) - (string-append "//" all))) - (copy-file "Cargo.toml.orig" "Cargo.toml"))))) + #~(begin (use-modules (guix build utils)) + (for-each delete-file (find-files "." "\\.a$")) + (delete-file "Cargo.toml") + (substitute* "Cargo.toml.orig" + ;; Depend unconditionally on the cc crate + (("(cc = .*), optional = true.*" _ cc) + (string-append cc " }\n")) + ;; Disable using the linux_raw backend + (("not\\(rustic_use_libc\\)") "miri")) + (substitute* "build.rs" + ;; Always use the 'feature = "cc"' path + (("not\\(feature = \"cc\"\\)") "feature = \"foobar\"") + (("#\\[cfg\\(feature = \"cc\"\\)\\]" all) + (string-append "//" all))) + (copy-file "Cargo.toml.orig" "Cargo.toml"))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -65381,7 +57414,7 @@ rustc compiler.") ("rust-once-cell" ,rust-once-cell-1) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) ("rust-ctor" ,rust-ctor-0.2) @@ -65530,436 +57563,27 @@ rustc compiler.") ("rust-serial-test" ,rust-serial-test-0.6) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-rustls-0.21 - (package - (name "rust-rustls") - (version "0.21.6") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fvc3n5h6354yi2yxrvq7yfdak0y6jga5sbcbhzv7h7wzkgys7qx")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.16) - ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-sct" ,rust-sct-0.7)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-bencher" ,rust-bencher-0.1) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-webpki-roots" ,rust-webpki-roots-0.25)))) - (native-inputs (list perl)) - (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.20 - (package - (inherit rust-rustls-0.21) - (name "rust-rustls") - (version "0.20.8") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bqfymq5bjs1jxg1iw2nn4ab3kzz2lrk8a1vx3s98lhp9p3qzxzz")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.16) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-sct" ,rust-sct-0.7) - ("rust-webpki" ,rust-webpki-0.22)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-env-logger" ,rust-env-logger-0.9) - ("rust-log" ,rust-log-0.4) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)))))) - -(define-public rust-rustls-0.19 - (package - (inherit rust-rustls-0.20) - (name "rust-rustls") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02wqas2pcxk75s9l9c9f1r5am7258bmqprh68pnqfvkwz0gx4kq6")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.16) - ("rust-sct" ,rust-sct-0.6) - ("rust-webpki" ,rust-webpki-0.21)))))) - -(define-public rust-rustls-0.18 - (package - (inherit rust-rustls-0.19) - (name "rust-rustls") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "108cf3bfw5high066shz9xrfv4jz7djdmnwqs3kwx4wfypf2c4ax")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.16) - ("rust-sct" ,rust-sct-0.6) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-log" ,rust-log-0.4) - ("rust-webpki-roots" ,rust-webpki-roots-0.20)))))) - -(define-public rust-rustls-0.17 - (package - (inherit rust-rustls-0.18) - (name "rust-rustls") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1q8m835viqrf4bbd2fa8rnmaj48fkd984saxf0238hb8blgs7m60")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-base64" ,rust-base64-0.11) - ("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.16) - ("rust-sct" ,rust-sct-0.6) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-log" ,rust-log-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-webpki-roots" ,rust-webpki-roots-0.19)))))) - -(define-public rust-rustls-0.16 - (package - (inherit rust-rustls-0.17) - (name "rust-rustls") - (version "0.16.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17n0fx3fpkg4fhpdplrdhkissnl003kj90vzbqag11vkpyqihnmj")))) - (arguments - `(#:tests? #f ;; 1/114 tests fail (test file not found) - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.16) - ("rust-sct" ,rust-sct-0.6) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.2) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-log" ,rust-log-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) - -(define-public rust-rustls-0.15 - (package - (inherit rust-rustls-0.16) - (name "rust-rustls") - (version "0.15.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vh93fhqfbn4ysw4xzkpkpqdz36xixz4mhs1qllgldfq5iay6wgj")))) - (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 - #:tests? #f ;; 1/111 tests fail (test file not found) - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.14) - ("rust-sct" ,rust-sct-0.5) - ("rust-untrusted" ,rust-untrusted-0.6) - ("rust-webpki" ,rust-webpki-0.19)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6) - ("rust-log" ,rust-log-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) - -(define-public rust-rustls-0.14 - (package - (inherit rust-rustls-0.18) - (name "rust-rustls") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1nal4qca7f7mhwnvx3m824ymdj6qmzfcl64sxmrmpis32dwr2y4b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-log" ,rust-log-0.4) - ("rust-ring" ,rust-ring-0.13) - ("rust-sct" ,rust-sct-0.4) - ("rust-untrusted" ,rust-untrusted-0.6) - ("rust-webpki" ,rust-webpki-0.18)))))) - -(define-public rust-rustls-ffi-0.8 - (package - (name "rust-rustls-ffi") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls-ffi" version)) - (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) - ("rust-log" ,rust-log-0.4) - ("rust-num-enum" ,rust-num-enum-0.5) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) - ("rust-sct" ,rust-sct-0.7) - ("rust-webpki" ,rust-webpki-0.22)) - #:cargo-development-inputs - (("rust-cbindgen" ,rust-cbindgen-0.26)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'adjust-cbindgen-requirement - ;; The Cargo.toml in the git repository doesn't specify - ;; a version requirement for cbindgen. - (lambda _ - (substitute* "Cargo.toml" - (("0\\.19\\.0") "*"))))))) - (native-inputs - (list perl)) - (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)))) - -(define-public rust-rustls-native-certs-0.6 - (package - (name "rust-rustls-native-certs") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls-native-certs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hq9h3kri19kv00gvbq61h21rarqadxh6y98wj0c2gvxlbgypaaw")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-openssl-probe" ,rust-openssl-probe-0.1) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) - ("rust-schannel" ,rust-schannel-0.1) - ("rust-security-framework" ,rust-security-framework-2)) - #:cargo-development-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-serial-test" ,rust-serial-test-0.5) - ("rust-untrusted" ,rust-untrusted-0.7) - ("rust-webpki" ,rust-webpki-0.22) - ("rust-webpki-roots" ,rust-webpki-roots-0.22) - ("rust-x509-parser" ,rust-x509-parser-0.12)))) - (home-page "https://github.com/ctz/rustls-native-certs") - (synopsis "Use the platform native certificate store with rustls") - (description "@code{rustls-native-certs} allows rustls to use the platform -native certificate store.") - (license - (list license:asl2.0 license:isc license:expat)))) - -(define-public rust-rustls-native-certs-0.5 - (package - (inherit rust-rustls-native-certs-0.6) - (name "rust-rustls-native-certs") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls-native-certs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14i0bbbigk6r6262hvc51vz4dvqk1f3vg2f264wfvn2vi30vf1ss")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-openssl-probe" ,rust-openssl-probe-0.1) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-schannel" ,rust-schannel-0.1) - ("rust-security-framework" ,rust-security-framework-2)))))) - -(define-public rust-rustls-native-certs-0.4 - (package - (inherit rust-rustls-native-certs-0.5) - (name "rust-rustls-native-certs") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls-native-certs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1f2rkvdkz92qcmwryyqiw9phkqkf95g4962ljpfq5nkjfsd477b2")))) - (arguments - `(#:tests? #f ; Tests want network access - #:cargo-inputs - (("rust-openssl-probe" ,rust-openssl-probe-0.1) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-schannel" ,rust-schannel-0.1) - ("rust-security-framework" - ,rust-security-framework-1)) - #:cargo-development-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.20)))) - (native-inputs (list perl)))) - -(define-public rust-rustls-pemfile-1 +(define-public rust-rustix-openpty-0.1 (package - (name "rust-rustls-pemfile") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls-pemfile" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cplx6hgkr32nq31p3613b2sj7csrrq3zp6znx9vc1qx9c4qff9d")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.21)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))) - (home-page "https://github.com/rustls/pemfile") - (synopsis "Basic parser for PEM formatted keys and certificates") - (description "This package provides a very basic parser for the -PEM-encodings commonly used to store keys and certificates at rest.") - (license (list license:asl2.0 license:isc license:expat)))) - -(define-public rust-rustls-pemfile-0.2 - (package - (inherit rust-rustls-pemfile-1) - (name "rust-rustls-pemfile") - (version "0.2.1") + (name "rust-rustix-openpty") + (version "0.1.1") (source (origin (method url-fetch) - (uri (crate-uri "rustls-pemfile" version)) + (uri (crate-uri "rustix-openpty" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jfi97lqnnnnxhmfy6ygrsp0x70m8wsdpaw45svvz1qc6vmymssy")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))))) - -(define-public rust-rustls-webpki-0.101 - (package - (name "rust-rustls-webpki") - (version "0.101.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls-webpki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ngs6y42k47jr14kka9w92hwyjsq3gm0j45nf8gsg05dfgyj4dsi")))) + (base32 "04pw7k8z1fk3642f9wr4jy1f2f6rly4pf2485jw4whn1kynklp52")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-bencher" ,rust-bencher-0.1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rcgen" ,rust-rcgen-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (native-inputs - (list perl)) - (home-page "https://github.com/rustls/webpki") - (synopsis "Web PKI X.509 Certificate Verification") - (description "Web PKI X.509 Certificate Verification.") - (license license:isc))) - -(define-public rust-rustls-webpki-0.100 - (package - (inherit rust-rustls-webpki-0.101) - (name "rust-rustls-webpki") - (version "0.100.1") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls-webpki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sxlgpcczd1wihmnbgv5qz00jim32dap5wzq2rwcm39xxpapq86n")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7)) - #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13)))))) + `(#:cargo-inputs (("rust-errno" ,rust-errno-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustix" ,rust-rustix-0.38)) + #:cargo-development-inputs (("rust-rustix" ,rust-rustix-0.38)))) + (home-page "https://github.com/sunfishcode/rustix-openpty") + (synopsis "Safe Rust bindings to `openpty` and related functions") + (description "Safe Rust bindings to `openpty` and related functions.") + (license (list license:asl2.0 license:expat)))) (define-public rust-rusttype-0.9 (package @@ -65997,21 +57621,18 @@ font rendering.") (package (inherit rust-rusttype-0.9) (name "rust-rusttype") - (version "0.8.2") + (version "0.8.3") (source (origin (method url-fetch) (uri (crate-uri "rusttype" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "12hwfg85iii7sbgsyyr23yw862dzp7f8zwn9xv5iqydm5w1i3a8l")))) + (base32 "1h5lyr61ffgg0wzp4yhc1fr5y83lzf3is17ixih7n7qhal842qcz")))) (arguments `(#:tests? #f ; Artifacts for tests not included. #:cargo-inputs (("rust-approx" ,rust-approx-0.3) - ("rust-arrayvec" ,rust-arrayvec-0.5) ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.7) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) ("rust-libm" ,rust-libm-0.2) @@ -66139,8 +57760,92 @@ sub-processes using a fork-like interface.") ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2)))))) +(define-public rust-rustyline-12 + (package + (name "rust-rustyline") + (version "12.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fcxgkz6hia74wnwnf1b92s69gnij5xgr42xw637xj05r95wlklr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clipboard-win" ,rust-clipboard-win-4) + ("rust-fd-lock" ,rust-fd-lock-3) + ("rust-home" ,rust-home-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-nix" ,rust-nix-0.26) + ("rust-radix-trie" ,rust-radix-trie-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-rusqlite" ,rust-rusqlite-0.29) + ("rust-rustyline-derive" ,rust-rustyline-derive-0.9) + ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-skim" ,rust-skim-0.10) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-utf8parse" ,rust-utf8parse-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/kkawakam/rustyline") + (synopsis "Readline implementation in Rust") + (description + "Rustyline is a readline implementation based on the linenoise package.") + (license license:expat))) + +(define-public rust-rustyline-10 + (package + (inherit rust-rustyline-12) + (name "rust-rustyline") + (version "10.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vvsd68cch0lpcg6mcwfvfdd6r4cxbwis3bf9443phzkqcr3rs61")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clipboard-win" ,rust-clipboard-win-4) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-fd-lock" ,rust-fd-lock-3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-nix" ,rust-nix-0.25) + ("rust-radix-trie" ,rust-radix-trie-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-skim" ,rust-skim-0.10) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-utf8parse" ,rust-utf8parse-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustyline-derive" ,rust-rustyline-derive-0.7) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-rustyline-9 (package + (inherit rust-rustyline-12) (name "rust-rustyline") (version "9.0.0") (source @@ -66150,7 +57855,6 @@ sub-processes using a fork-like interface.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1mj0cgdyw6gaadsg7yxsnb9n4bdl91qga9kiwyd4hqqsi31qf13r")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -66171,12 +57875,7 @@ sub-processes using a fork-like interface.") ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-utf8parse" ,rust-utf8parse-0.2) ("rust-winapi" ,rust-winapi-0.3) - ("skim" ,skim)))) - (home-page "https://github.com/kkawakam/rustyline") - (synopsis "Readline implementation in Rust") - (description - "Rustyline is a readline implementation based on the linenoise package.") - (license license:expat))) + ("rust-skim" ,rust-skim-0.9)))))) (define-public rust-rustyline-8 (package @@ -66209,7 +57908,7 @@ sub-processes using a fork-like interface.") ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-utf8parse" ,rust-utf8parse-0.2) ("rust-winapi" ,rust-winapi-0.3) - ("skim" ,skim)))))) + ("rust-skim" ,rust-skim-0.9)))))) (define-public rust-rustyline-7 (package @@ -66239,7 +57938,7 @@ sub-processes using a fork-like interface.") ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-utf8parse" ,rust-utf8parse-0.2) ("rust-winapi" ,rust-winapi-0.3) - ("skim" ,skim-0.7)))))) + ("rust-skim" ,rust-skim-0.7)))))) (define-public rust-rustyline-6 (package @@ -66268,7 +57967,7 @@ sub-processes using a fork-like interface.") ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-utf8parse" ,rust-utf8parse-0.2) ("rust-winapi" ,rust-winapi-0.3) - ("skim" ,skim-0.7)) + ("rust-skim" ,rust-skim-0.7)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-doc-comment" ,rust-doc-comment-0.3) @@ -66276,46 +57975,115 @@ sub-processes using a fork-like interface.") ("rust-rustyline-derive" ,rust-rustyline-derive-0.3) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-rustyline-derive-0.9 + (package + (name "rust-rustyline-derive") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hvaj1n0k7ys8iqfxvymmakv9aqqpvm53hagw55jw7954xaaycjs")))) + (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/kkawakam/rustyline") + (synopsis "Rustyline macros implementation in Rust") + (description "This package provides Rustyline macros implementation in Rust.") + (license license:expat))) + +(define-public rust-rustyline-derive-0.7 + (package + (inherit rust-rustyline-derive-0.9) + (name "rust-rustyline-derive") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "139dpx6zp0v6p5wc5n317jivi52dz5sq79v2zagc02ipgxfksz0h")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-rustyline-derive-0.3 (package + (inherit rust-rustyline-derive-0.9) (name "rust-rustyline-derive") (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "rustyline-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0daj9szvfi442vj2fhm7qb92wmzv7g75qsjq9a6ycnqac4lhx9al")))) - (build-system cargo-build-system) + (base32 "0daj9szvfi442vj2fhm7qb92wmzv7g75qsjq9a6ycnqac4lhx9al")))) (arguments `(#:cargo-inputs (("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/kkawakam/rustyline") - (synopsis "Rustyline macros implementation in Rust") - (description "This package provides Rustyline macros implementation in Rust.") + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-ruzstd-0.4 + (package + (name "rust-ruzstd") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruzstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; not all files included + "--skip=tests::decode_corpus::test_decode_corpus_files" + "--skip=tests::dict_test::test_dict_decoding" + "--skip=tests::fuzz_regressions::test_all_artifacts" + "--skip=tests::test_block_header_reading" + "--skip=tests::test_decode_from_to" + "--skip=tests::test_frame_decoder" + "--skip=tests::test_frame_header_reading" + "--skip=tests::test_specific_file" + "--skip=tests::test_streaming") + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-thiserror-core" ,rust-thiserror-core-1) + ("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))) (define-public rust-rkyv-0.7 (package (name "rust-rkyv") - (version "0.7.42") + (version "0.7.44") (source (origin (method url-fetch) (uri (crate-uri "rkyv" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0n2wzwnghkr2ny16c08f5szbkljfqrp3s8fnnb096f011ciwh002")))) + "1h4rpjn15bfldwb2j3zlmv3zaksvizzl1yf6vg24yfdk5534dfjw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) ("rust-bitvec" ,rust-bitvec-1) ("rust-bytecheck" ,rust-bytecheck-0.6) + ("rust-bytes" ,rust-bytes-1) ("rust-hashbrown" ,rust-hashbrown-0.12) ("rust-indexmap" ,rust-indexmap-1) ("rust-ptr-meta" ,rust-ptr-meta-0.1) @@ -66323,6 +58091,7 @@ sub-processes using a fork-like interface.") ("rust-rkyv-derive" ,rust-rkyv-derive-0.7) ("rust-seahash" ,rust-seahash-4) ("rust-smallvec" ,rust-smallvec-1) + ("rust-smol-str" ,rust-smol-str-0.2) ("rust-tinyvec" ,rust-tinyvec-1) ("rust-uuid" ,rust-uuid-1)))) (home-page "https://github.com/rkyv/rkyv") @@ -66355,14 +58124,14 @@ sub-processes using a fork-like interface.") (define-public rust-rkyv-derive-0.7 (package (name "rust-rkyv-derive") - (version "0.7.42") + (version "0.7.44") (source (origin (method url-fetch) (uri (crate-uri "rkyv_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07alynj16yqlyprlwqd8av157rrywvid2dm7swbhl8swbf8npq5j")))) + "0rbwvbxka171bvhj60yjaxn77ipi5d1nwknnp5i6ypp2ipzxzpd7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -66494,48 +58263,6 @@ quickly convert floating point numbers to decimal strings.") "This package provides a procedural macros for the salsa crate.") (license (list license:asl2.0 license:expat)))) -(define-public rust-salsa20-0.10 - (package - (name "rust-salsa20") - (version "0.10.2") - (source (origin - (method url-fetch) - (uri (crate-uri "salsa20" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04w211x17xzny53f83p8f7cj7k2hi8zck282q5aajwqzydd2z8lp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/stream-ciphers") - (synopsis "Salsa20 Stream Cipher") - (description "Salsa20 is a collection of stream cipher algorithms written -in pure Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-salsa20-0.9 - (package - (inherit rust-salsa20-0.10) - (name "rust-salsa20") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "salsa20" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11i646kpgimimqiq8hyi0b7ngp588f7nl9xsc317d9kdcxgvn3qc")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cipher" ,rust-cipher-0.3) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-salsa-0.17 (package (name "rust-salsa") @@ -66580,30 +58307,6 @@ in pure Rust.") computation (experimental)") (license (list license:asl2.0 license:expat)))) -(define-public rust-salsa20-0.7 - (package - (name "rust-salsa20") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "salsa20" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.2)))) - (home-page "https://github.com/RustCrypto/stream-ciphers") - (synopsis "Salsa20 stream cipher") - (description "This is a Rust library implementing the Salsa20 stream -cipher.") - (license (list license:expat license:asl2.0)))) - (define-public rust-safe-arch-0.6 (package (name "rust-safe-arch") @@ -66664,20 +58367,6 @@ cipher.") (license (list license:asl2.0 license:expat)))) -(define-public rust-safemem-0.2 - (package - (inherit rust-safemem-0.3) - (name "rust-safemem") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "safemem" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13rx2vl5bqc7x4xpfc0can3a39f3bhgqg3l112lsxxrmp0cqnyp2")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-same-file-1 (package (name "rust-same-file") @@ -66835,25 +58524,21 @@ encodable types.") (define-public rust-scan-fmt-0.2 (package (name "rust-scan-fmt") - (version "0.2.5") + (version "0.2.6") (source (origin (method url-fetch) (uri (crate-uri "scan_fmt" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1gmaa07z8bkkdv5xhq2lrgml6ri7fqyyrjpiks3phmpmq3p8d0i4")))) + (base32 "0j0jb1dsa8zjpnc875wy72190zlyngvl62mfv8pqwal8vfjv0lqb")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-regex" ,rust-regex-1)))) (home-page "https://github.com/wlentz/scan_fmt") (synopsis "Simple scanf()-like input for Rust") - (description - "This package provides a simple scanf()-like input for Rust") + (description "This package provides a simple scanf()-like input for Rust.") (license license:expat))) (define-public rust-sce-0.1 @@ -66883,34 +58568,10 @@ encodable types.") single-cell matrices.") (license license:bsd-3))) -(define-public rust-schannel-0.1 - (package - (name "rust-schannel") - (version "0.1.21") - (source - (origin - (method url-fetch) - (uri (crate-uri "schannel" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cxivcbczzfv4295pqi5s80kr7nhs7xc0i40zf43b7q5qw3gng3i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-windows-sys" ,rust-windows-sys-0.42)))) - (home-page "https://github.com/steffengy/schannel-rs") - (synopsis "Rust bindings to the Windows SChannel APIs") - (description - "Rust bindings to the Windows SChannel APIs providing TLS client and -server functionality.") - (license license:expat))) - (define-public rust-scheduled-thread-pool-0.2 (package (name "rust-scheduled-thread-pool") - (version "0.2.5") + (version "0.2.7") (source (origin (method url-fetch) @@ -66918,11 +58579,11 @@ server functionality.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mz7s21q1d7xn9j15dlhhv1y86q2r2z6hpax5nh3y1q42byp8vyw")))) + "068s77f9xcpvzl70nsxk8750dzzc6f9pixajhd979815cj0ndg1w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-parking-lot" ,rust-parking-lot-0.11)))) + (("rust-parking-lot" ,rust-parking-lot-0.12)))) (home-page "https://github.com/sfackler/scheduled-thread-pool") (synopsis "Scheduled thread pool") (description "This package provides a scheduled thread pool.") @@ -67147,127 +58808,30 @@ shareable by multiple crates in a build graph and erased by @code{cargo clean}.") (license (list license:expat license:asl2.0)))) -(define-public rust-scrypt-0.11 - (package - (name "rust-scrypt") - (version "0.11.0") - (source (origin - (method url-fetch) - (uri (crate-uri "scrypt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07zxfaqpns9jn0mnxm7wj3ksqsinyfpirkav1f7kc2bchs2s65h5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-password-hash" ,rust-password-hash-0.5) - ("rust-pbkdf2" ,rust-pbkdf2-0.12) - ("rust-salsa20" ,rust-salsa20-0.10) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-password-hash" ,rust-password-hash-0.5)))) - (home-page - "https://github.com/RustCrypto/password-hashes/tree/master/scrypt") - (synopsis "Scrypt password-based key derivation function") - (description - "This package provides a Scrypt password-based key derivation -function.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-scrypt-0.10 - (package - (inherit rust-scrypt-0.11) - (name "rust-scrypt") - (version "0.10.0") - (source (origin - (method url-fetch) - (uri (crate-uri "scrypt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pglmppcl8mdzfxdv2x9dsjrwxhc1bm9zvxjibnlv59jnv9297lz")))) - (arguments - `(#:cargo-inputs - (("rust-hmac" ,rust-hmac-0.12) - ("rust-password-hash" ,rust-password-hash-0.4) - ("rust-pbkdf2" ,rust-pbkdf2-0.11) - ("rust-salsa20" ,rust-salsa20-0.10) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-password-hash" ,rust-password-hash-0.4)))))) - -(define-public rust-scrypt-0.8 +(define-public rust-scroll-0.12 (package - (inherit rust-scrypt-0.11) - (name "rust-scrypt") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "scrypt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09fkz5sc7qx97dyi1nkv69z36diggd2c9mja33cxpsqicdy6sgg7")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hmac" ,rust-hmac-0.12) - ("rust-password-hash" ,rust-password-hash-0.3) - ("rust-pbkdf2" ,rust-pbkdf2-0.10) - ("rust-salsa20" ,rust-salsa20-0.9) - ("rust-sha2" ,rust-sha2-0.10)))))) - -(define-public rust-scrypt-0.5 - (package - (inherit rust-scrypt-0.8) - (name "rust-scrypt") - (version "0.5.0") + (name "rust-scroll") + (version "0.12.0") (source (origin (method url-fetch) - (uri (crate-uri "scrypt" version)) + (uri (crate-uri "scroll" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1fgdmjdjx3lj92nswkxrq9nlv4vv7livg83nfybmv4izn3d9594d")))) + (base32 "19mix9vm4k23jkknpgbi0ylmhpf2hnlpzzrfj9wqcj88lj55kf3a")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-hmac" ,rust-hmac-0.10) - ("rust-pbkdf2" ,rust-pbkdf2-0.6) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-salsa20" ,rust-salsa20-0.7) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-subtle" ,rust-subtle-2)))))) - -(define-public rust-scrypt-0.3 - (package - (inherit rust-scrypt-0.5) - (name "rust-scrypt") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "scrypt" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1apicbvp7cgc1z2nl5l48g8h3kp7p592r4zbkx9vsri2ivnvgv43")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("rust-hmac" ,rust-hmac-0.8) - ("rust-pbkdf2" ,rust-pbkdf2-0.4) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-subtle" ,rust-subtle-2)))))) + `(#:cargo-inputs (("rust-scroll-derive" ,rust-scroll-derive-0.12)))) + (home-page "https://github.com/m4b/scroll") + (synopsis "Endian-aware Read/Write traits for byte buffers") + (description + "This package provides a suite of powerful, extensible, generic, +endian-aware Read/Write traits for byte buffers.") + (license license:expat))) (define-public rust-scroll-0.11 (package + (inherit rust-scroll-0.12) (name "rust-scroll") (version "0.11.0") (source (origin @@ -67277,19 +58841,12 @@ function.") (sha256 (base32 "1nhrhpzf95pxbcjjy222blwf8rl3adws6vsqax0yzyxsa6snbi84")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-scroll-derive" ,rust-scroll-derive-0.11)) #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-rayon" ,rust-rayon-1)))) - (home-page "https://github.com/m4b/scroll") - (synopsis "Endian-aware Read/Write traits for byte buffers") - (description - "This package provides a suite of powerful, extensible, generic, -endian-aware Read/Write traits for byte buffers.") - (license license:expat))) + ("rust-rayon" ,rust-rayon-1)))))) (define-public rust-scroll-0.10 (package @@ -67341,8 +58898,33 @@ endian-aware Read/Write traits for byte buffers.") endian-aware Read/Write traits for byte buffers.") (license license:expat))) +(define-public rust-scroll-derive-0.12 + (package + (name "rust-scroll-derive") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "scroll_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cmr3hxk318s2ivv37cik2l1r0d8r0qhahnin5lpxbr5w3yw50bz")))) + (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-scroll" ,rust-scroll-0.11)))) + (home-page "https://github.com/m4b/scroll") + (synopsis "Pread and Pwrite traits from the scroll crate") + (description + "This package provides a macros 1.1 derive implementation for Pread and +Pwrite traits from the scroll crate.") + (license license:expat))) + (define-public rust-scroll-derive-0.11 (package + (inherit rust-scroll-derive-0.12) (name "rust-scroll-derive") (version "0.11.1") (source (origin @@ -67352,19 +58934,12 @@ endian-aware Read/Write traits for byte buffers.") (sha256 (base32 "1bi5ljnzksvqhic6j7i2a2ap41s78xr0gifkgjxdxlj63pw4kc8x")))) - (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-scroll" ,rust-scroll-0.11)))) - (home-page "https://github.com/m4b/scroll") - (synopsis "Pread and Pwrite traits from the scroll crate") - (description - "This package provides a macros 1.1 derive implementation for Pread and -Pwrite traits from the scroll crate.") - (license license:expat))) + #:cargo-development-inputs (("rust-scroll" ,rust-scroll-0.11)))))) (define-public rust-scroll-derive-0.10 (package @@ -67418,20 +58993,19 @@ Pwrite traits from the scroll crate.") (define-public rust-sct-0.7 (package (name "rust-sct") - (version "0.7.0") + (version "0.7.1") (source (origin (method url-fetch) (uri (crate-uri "sct" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "193w3dg2pcn7138ab4c586pl76nkryn4h6wqlwvqj5gqr6vwsgfm")))) + (base32 "056lmi2xkzdg1dbai6ha3n57s18cbip4pnmpdhyljli3m99n216s")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7)))) - (native-inputs (list perl)) + (("rust-ring" ,rust-ring-0.17) + ("rust-untrusted" ,rust-untrusted-0.9)))) (home-page "https://github.com/ctz/sct.rs") (synopsis "Certificate transparency SCT verification library") (description "Certificate transparency SCT verification library.") @@ -67441,20 +59015,18 @@ Pwrite traits from the scroll crate.") (package (inherit rust-sct-0.7) (name "rust-sct") - (version "0.6.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "sct" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0g4dz7las43kcpi9vqv9c6l1afjkdv3g3w3s7d2w7a7w77wjl173")))) + (base32 "1ki8qa7yf4d9i4ynsfvwwkpnnqw0m8ayx0jva4w9zrp0k0wbhqmk")))) (arguments `(#:cargo-inputs (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7)) - #:cargo-development-inputs - (("rust-cc" ,rust-cc-1)))))) + ("rust-untrusted" ,rust-untrusted-0.7)))))) (define-public rust-sct-0.5 (package @@ -67471,21 +59043,9 @@ Pwrite traits from the scroll crate.") (base32 "1fb9ym5bwswx01yyggn7v2vfryih4vnqpp4r4ssv3qaqpn7xynig")))) (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 - #:cargo-inputs + `(#:cargo-inputs (("rust-ring" ,rust-ring-0.14) - ("rust-untrusted" ,rust-untrusted-0.6)) - #:phases - (modify-phases %standard-phases - (add-before 'build 'build-curve25519-tables - (lambda* (#:key vendor-dir #:allow-other-keys) - (with-directory-excursion - (dirname (car (find-files vendor-dir "make_curve25519_tables.py"))) - (with-output-to-file "curve25519_tables.h" - (lambda _ - (invoke "python" "make_curve25519_tables.py"))))))))) - (native-inputs - (list clang perl python-2)))) + ("rust-untrusted" ,rust-untrusted-0.6)))))) (define-public rust-sct-0.4 (package @@ -67500,13 +59060,38 @@ Pwrite traits from the scroll crate.") (sha256 (base32 "0nkl03nqfczz0784sg3bf2j08qq350yh9063f4m0dpgawvwn33yb")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-ring" ,rust-ring-0.13) ("rust-untrusted" ,rust-untrusted-0.6)))))) +(define-public rust-sctk-adwaita-0.8 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/PolyMeilex/sctk-adwaita") + (synopsis "Adwaita-like SCTK Frame") + (description "Adwaita-like SCTK Frame.") + (license license:expat))) + (define-public rust-sctk-adwaita-0.5 (package + (inherit rust-sctk-adwaita-0.8) (name "rust-sctk-adwaita") (version "0.5.4") (source (origin @@ -67516,7 +59101,6 @@ Pwrite traits from the scroll crate.") (sha256 (base32 "02gdwfc0dmx9azqd13sfnfczl0z8jjvci0df5b64q5zxw5xyk96d")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ab-glyph" ,rust-ab-glyph-0.2) @@ -67524,11 +59108,45 @@ Pwrite traits from the scroll crate.") ("rust-log" ,rust-log-0.4) ("rust-memmap2" ,rust-memmap2-0.5) ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) - ("rust-tiny-skia" ,rust-tiny-skia-0.8)))) - (home-page "https://github.com/PolyMeilex/sctk-adwaita") - (synopsis "Adwaita-like SCTK Frame") - (description "Adwaita-like SCTK Frame") - (license license:expat))) + ("rust-tiny-skia" ,rust-tiny-skia-0.8)))))) + +(define-public rust-sctk-adwaita-0.4 + (package + (inherit rust-sctk-adwaita-0.5) + (name "rust-sctk-adwaita") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sctk-adwaita" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f93q74iv1qsk0hkcx0jqh2a9qf2slri1nq737n7fkbbrhlhc9v1")))) + (arguments + `(#:cargo-inputs + (("rust-crossfont" ,rust-crossfont-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) + ("rust-tiny-skia" ,rust-tiny-skia-0.7)))))) + +(define-public rust-sd-notify-0.4 + (package + (name "rust-sd-notify") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sd-notify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0clc887rjdz0796c1lsbwnrgmcis4b30gyy3qb4v8zg0yf03c7k2")))) + (build-system cargo-build-system) + (home-page "https://github.com/lnicola/sd-notify") + (synopsis "Lightweight crate for systemd service state notifications") + (description + "This package provides a lightweight crate for systemd service state +notifications.") + (license (list license:expat license:asl2.0)))) (define-public rust-seahash-3 (package @@ -67573,39 +59191,6 @@ proven statistical guarantees.") statistical guarantees.") (license license:expat))) -(define-public rust-sec1-0.7 - (package - (name "rust-sec1") - (version "0.7.2") - (source (origin - (method url-fetch) - (uri (crate-uri "sec1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vh4pvdfnghbjglh6k74vs93jj337jpli28bbyqr0srxh67c9bph")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-base16ct" ,rust-base16ct-0.2) - ("rust-der" ,rust-der-0.7) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-pkcs8" ,rust-pkcs8-0.10) - ("rust-serdect" ,rust-serdect-0.2) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/sec1") - (synopsis - "Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats") - (description - "This package procides a pure Rust implementation of SEC1: Elliptic Curve -Cryptography encoding formats including ASN.1 DER-serialized private keys as -well as the Elliptic-Curve-Point-to-Octet-String encoding.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-seccomp-sys-0.1 (package (name "rust-seccomp-sys") @@ -67683,295 +59268,6 @@ well as the Elliptic-Curve-Point-to-Octet-String encoding.") "This package provides a library for section-style testing.") (license license:expat))) -(define-public rust-secp256k1-0.21 - (package - (name "rust-secp256k1") - (version "0.21.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "secp256k1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09gia5hjf1hb9jgac9nzq0s0ijbsdjfflh40xw8z08avgl0q6y5b")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-serde-test" ,rust-serde-test-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") - (synopsis - "Rust wrapper library for Pieter Wuille's @code{libsecp256k1}") - (description - "This package is a Rust wrapper library for Pieter Wuille's -@code{libsecp256k1}. It implements ECDSA and BIP 340 signatures for the -SECG elliptic curve group secp256k1 and related utilities.") - (license license:cc0))) - -(define-public rust-secp256k1-sys-0.4 - (package - (name "rust-secp256k1-sys") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "secp256k1-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dk0as7qdlvg5vkcsihndzg1jgqb9amhwmz3xiip94fy7ibs4zcm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") - (synopsis "FFI for Pieter Wuille's @code{libsecp256k1} library") - (description "This package is a Rust FFI for Pieter Wuille's -@code{libsecp256k1} library.") - (license license:cc0))) - -(define-public rust-security-framework-2 - (package - (name "rust-security-framework") - (version "2.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pplxk15s5yxvi2m1sz5xfmjibp96cscdcl432w9jzbk0frlzdh5")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;missing files - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-security-framework-sys" ,rust-security-framework-sys-2)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.10) - ("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)))) - (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 -macOS and iOS.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-security-framework-1 - (package - (inherit rust-security-framework-2) - (name "rust-security-framework") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0axwlax65j1f79rsm4ylc8rc6p2knbi3dgnpbdq7a1bzh5k2hl5d")))) - (arguments - `(#:tests? #f ; Not all files included - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-core-foundation" ,rust-core-foundation-0.7) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) - ("rust-libc" ,rust-libc-0.2) - ("rust-security-framework-sys" ,rust-security-framework-sys-1)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.4) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - -(define-public rust-security-framework-0.3 - (package - (inherit rust-security-framework-1) - (name "rust-security-framework") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pqn79cl9njnnhsmjvvphkzx8is5jhfd8bhxpllgvrgggjfl5wlf")))) - (arguments - `(#:tests? #f ; Some test files not included in release. - #:cargo-inputs - (("rust-core-foundation" ,rust-core-foundation-0.6) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) - ("rust-libc" ,rust-libc-0.2) - ("rust-security-framework-sys" ,rust-security-framework-sys-0.3)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.4) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - -(define-public rust-security-framework-0.2 - (package - (inherit rust-security-framework-0.3) - (name "rust-security-framework") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gw3xxg8yzbjb4ny5cy07gky177c1nbgpxqjsw3hfzpfgrxji9bz")))) - (arguments - `(#:skip-build? #t ; MacOS specific - #:cargo-inputs - (("rust-core-foundation" - ,rust-core-foundation-0.6) - ("rust-core-foundation-sys" - ,rust-core-foundation-sys-0.6) - ("rust-libc" ,rust-libc-0.2) - ("rust-security-framework-sys" - ,rust-security-framework-sys-0.2)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.3) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - -(define-public rust-security-framework-0.1 - (package - (inherit rust-security-framework-0.2) - (name "rust-security-framework") - (version "0.1.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ci39ax08h2ngrl1yf1ra9smivhjs6xarmg7kp6fxracqpllx96z")))) - (arguments - `(#:skip-build? #t ; MacOS specific - #:cargo-inputs - (("rust-core-foundation" ,rust-core-foundation-0.2) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-security-framework-sys" ,rust-security-framework-sys-0.1)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.2) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - -(define-public rust-security-framework-sys-2 - (package - (name "rust-security-framework-sys") - (version "2.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0yhciwlsy9dh0ps1gw3197kvyqx1bvc4knrhiznhid6kax196cp9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://lib.rs/crates/security-framework-sys") - (synopsis "Low-level FFI bindings to Apple @code{Security.framework}") - (description "This package provides low level FFI bindings to Apple -@code{Security.framework}.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-security-framework-sys-1 - (package - (inherit rust-security-framework-sys-2) - (name "rust-security-framework-sys") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1iynsjz53lqkkw4zbq8l99xn799chbx90lsmrlfnsyxii14v1kji")))) - (arguments - `(#:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-security-framework-sys-0.3 - (package - (inherit rust-security-framework-sys-1) - (name "rust-security-framework-sys") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15gqhhi206lzynd0pcbswxhvqc4p9bmpl2h9qnwfnpb16zy96573")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)))))) - -(define-public rust-security-framework-sys-0.2 - (package - (inherit rust-security-framework-sys-0.3) - (name "rust-security-framework-sys") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj")))) - (arguments - `(#:skip-build? #t ; MacOS specific - #:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-security-framework-sys-0.1 - (package - (inherit rust-security-framework-sys-0.2) - (name "rust-security-framework-sys") - (version "0.1.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "security-framework-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bdy87gvmahiiyfzghsdg2dkhznww3p3d3r676qs0y32hcg648al")))) - (arguments - `(#:skip-build? #t ; MacOS specific - #:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) - ("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-selectors-0.24 (package (name "rust-selectors") @@ -68127,27 +59423,6 @@ Semantic Versioning.") ("rust-semver-parser" ,rust-semver-parser-0.10) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-semver-0.10 - (package - (inherit rust-semver-0.11) - (name "rust-semver") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "semver" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1401i88135h2paxwvf0b51hf585rdzxa8yxg7j800gk2z8lfqk1r")))) - (arguments - `(#:cargo-inputs - (("rust-diesel" ,rust-diesel-1) - ("rust-semver-parser" ,rust-semver-parser-0.7) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - (define-public rust-semver-0.9 (package (name "rust-semver") @@ -68179,28 +59454,6 @@ Semantic Versioning.") "Semantic version parsing and comparison.") (license (list license:expat license:asl2.0)))) -(define-public rust-semver-0.6 - (package - (inherit rust-semver-0.9) - (name "rust-semver") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "semver" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0drmjiwkq0znj33q9x9hw7ld8f28n9diyjs3jlh1l1v5kvn8ccbs")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-semver-parser" ,rust-semver-parser-0.7)) - #:cargo-development-inputs - (("rust-crates-index" ,rust-crates-index-0.5) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-semver-0.1 (package (name "rust-semver") @@ -68329,77 +59582,49 @@ thread. If any of these constraints is violated, a panic occurs.") (define-public rust-seq-io-0.3 (package (name "rust-seq-io") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (crate-uri "seq_io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r643ihyba62vbr5l085mzz3gzfy4iba33nm2l981smvwcb8rzf6")))) + (base32 "173y343wfwxv08ifn65pfcw7y9ghrs9by78d6dnwbcgbppx17cl6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-buf-redux" ,rust-buf-redux-0.8) + (("rust-buffer-redux" ,rust-buffer-redux-1) ("rust-crossbeam" ,rust-crossbeam-0.8) ("rust-memchr" ,rust-memchr-2) ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1)) #:cargo-development-inputs - (("rust-bio" ,rust-bio-0.32) - ("rust-criterion" ,rust-criterion-0.3) + (("rust-bio" ,rust-bio-1) + ("rust-criterion" ,rust-criterion-0.5) ("rust-fastq" ,rust-fastq-0.6) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-matches" ,rust-matches-0.1) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-isaac" ,rust-rand-isaac-0.2)))) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rand-isaac" ,rust-rand-isaac-0.3)))) (inputs (list zlib)) (home-page "https://github.com/markschl/seq_io") (synopsis "Fast FASTA, FASTQ and FASTX parsing") (description "This library provides readers for the the following sequence formats: - @itemize @item FASTA, @item FASTQ (including multi-line FASTQ), @item FASTX: Automatic recognition of the sequence format (either FASTA or FASTQ). -@end itemize -") +@end itemize") (license license:expat))) -(define-public rust-seq-macro-0.2 - (package - (name "rust-seq-macro") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "seq-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "168y8k344gssy1q0q6napy8cswgl4hyh2kcim9pk3b9wxbx4g7ss")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-rustversion" ,rust-rustversion-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page - "https://github.com/dtolnay/seq-macro") - (synopsis - "Macro to repeat sequentially indexed copies of a fragment of code") - (description - "This package provides a macro to repeat sequentially indexed copies of a -fragment of code.") - (license (list license:expat license:asl2.0)))) - (define-public rust-serde-1 (package (name "rust-serde") - (version "1.0.188") + (version "1.0.194") (source (origin (method url-fetch) @@ -68407,7 +59632,7 @@ fragment of code.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17jlqzfhimsk8w37ifjwnm86nwjzawlbgwmwc7nhwdwslv5hz7ng")))) + "0wxplk1ayrsb81bdwh8zmkldw1b0xigs3qc90r5ck6374nc4848b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68491,8 +59716,30 @@ fragment of code.") (description "This package provides a serde crate's auxiliary library.") (license license:expat))) +(define-public rust-serde-big-array-0.5 + (package + (name "rust-serde-big-array") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-big-array" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zsb9s9rcca3408kg20c6xpx917c9vbbnap5gvrf0wvdqz17rz0i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/est31/serde-big-array") + (synopsis "Big array helper for serde.") + (description "Big array helper for serde.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-big-array-0.4 (package + (inherit rust-serde-big-array-0.5) (name "rust-serde-big-array") (version "0.4.1") (source (origin @@ -68501,17 +59748,12 @@ fragment of code.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1rwhbrffdxy87bxbyx8p68cg30gf0dlflx14vk1qiwlafjdg08rk")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/est31/serde-big-array") - (synopsis "Big array helper for serde") - (description "Big array helper for serde.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-serde-big-array-0.3 (package @@ -68709,6 +59951,34 @@ fragment of code.") standard formatting APIs.") (license (list license:asl2.0 license:expat)))) +(define-public rust-serde-html-form-0.2 + (package + (name "rust-serde-html-form") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_html_form" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "133ycw4zdw4jymnw38n4vnjnvhxf5im3hh6g4akr4rps3ip0dq90")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-assert-matches2" ,rust-assert-matches2-0.1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/jplatte/serde_html_form") + (synopsis + "(De-)serialization support for the `application/x-www-form-urlencoded` format") + (description + "This package provies (de-)serialization support for the +`application/x-www-form-urlencoded` format.") + (license license:expat))) + (define-public rust-serde-indextree-0.2 (package (name "rust-serde-indextree") @@ -68729,31 +59999,6 @@ standard formatting APIs.") (description "Serializing indextree structure.") (license license:expat))) -(define-public rust-serde-ini-0.2 - (package - (name "rust-serde-ini") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_ini" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f8ir1bbcdyad50aj1c53dkiwr24x6dr88f045skl1xvwa3nc8zb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-result" ,rust-result-1) - ("rust-serde" ,rust-serde-1) - ("rust-void" ,rust-void-1)))) - (home-page "https://github.com/arcnmx/serde-ini") - (synopsis "Windows INI file {de,}serialization") - (description - "@code{serde_ini} provides a serde @code{Serializer} and -@code{Deserializer} for the INI format.") - (license license:expat))) - (define-public rust-serde-hjson-0.9 (package (name "rust-serde-hjson") @@ -68816,7 +60061,7 @@ TOML/JSON/MessagePack strings and serializable values.") (define-public rust-serde-derive-1 (package (name "rust-serde-derive") - (version "1.0.188") + (version "1.0.194") (source (origin (method url-fetch) @@ -68824,7 +60069,7 @@ TOML/JSON/MessagePack strings and serializable values.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wjaclvsfxgqnnnykllvb5gffsxynk66x6h4c1ds6anq8b37mjjf")))) + "1q6l0ycrykdg960c350fgnac6d653q1v608g84qrk3rf692mwf53")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68867,8 +60112,32 @@ TOML/JSON/MessagePack strings and serializable values.") ("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14) ("rust-syn" ,rust-syn-0.11)))))) +(define-public rust-serde-derive-internals-0.26 + (package + (name "rust-serde-derive-internals") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_derive_internals" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g2zdr6s8i0r29yy7pdl6ahimq8w6ck70hvrciiry2ljwwlq5gw5")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no variant or associated item named `__TestExhaustive` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://serde.rs") + (synopsis "AST representation used by Serde derive macros") + (description "This package provides AST representation used by Serde +derive macros.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-derive-internals-0.25 (package + (inherit rust-serde-derive-internals-0.26) (name "rust-serde-derive-internals") (version "0.25.0") (source @@ -68877,19 +60146,13 @@ TOML/JSON/MessagePack strings and serializable values.") (uri (crate-uri "serde_derive_internals" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ihqfkpplqqiwmh87s8p9jsv27ibkz1z7gc0abqs2mrhlr6b7fhx")))) - (build-system cargo-build-system) + (base32 "1ihqfkpplqqiwmh87s8p9jsv27ibkz1z7gc0abqs2mrhlr6b7fhx")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://serde.rs") - (synopsis "AST representation used by Serde derive macros") - (description "This package provides AST representation used by Serde -derive macros.") - (license (list license:expat license:asl2.0)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-serde-ignored-0.1 (package @@ -68919,17 +60182,18 @@ 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.107") + (version "1.0.111") (source (origin (method url-fetch) (uri (crate-uri "serde_json" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r8cyb8nh3afb15yfscp1h8sdjfv6pnnwg14kcp8igfqwgk0qhkb")))) + (base32 "1x441azvvdy6x8am4bvkxhswhzw5cr8ml0cqspnihvri8bx4cvhp")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ; could not find `RandomState` in `hash` + #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) ("rust-itoa" ,rust-itoa-1) ("rust-ryu" ,rust-ryu-1) @@ -69000,6 +60264,24 @@ data. This crate provides a wrapper that works with any existing Serde programs in rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-json-core-0.4 + (package + (inherit rust-serde-json-core-0.5) + (name "rust-serde-json-core") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-json-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10a7k6ly9ly4xkk30nqq2js7acrg7wjl73bpg43hzjib4zmaw540")))) + (arguments + `(#:cargo-inputs (("rust-heapless" ,rust-heapless-0.7) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)))))) + (define-public rust-serde-path-to-error-0.1 (package (name "rust-serde-path-to-error") @@ -69088,14 +60370,14 @@ commonly used by Ruby on Rails via Rack.") (define-public rust-serde-repr-0.1 (package (name "rust-serde-repr") - (version "0.1.16") + (version "0.1.18") (source (origin (method url-fetch) (uri (crate-uri "serde_repr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "005x2q9x6cdqp312mjhggbzd6vkg8r0abcg0biz0z9dkmpgy29c7")))) + (base32 "1nyzz7ph9nwmjrx6f7s37m9y7y5gc10f4vjxnqkgfgcxbsa6nbhb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69237,6 +60519,30 @@ by dynamically growing the stack.") ((", path = \"../serde\"") "")) #t))))))) +(define-public rust-serde-untagged-0.1 + (package + (name "rust-serde-untagged") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-untagged" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b2x30zczv16q6xakjlh1mhn6y1m2ww994szxfhlnryqfc1y13jc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-erased-serde" ,rust-erased-serde-0.4) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.8)))) + (home-page "https://github.com/dtolnay/serde-untagged") + (synopsis "Serde `Visitor` implementation for deserializing untagged enums") + (description "This package is a Serde `Visitor` implementation for +deserializing untagged enums.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-urlencoded-0.7 (package (name "rust-serde-urlencoded") @@ -69491,18 +60797,18 @@ Rust's serde.") (define-public rust-serde-yaml-0.9 (package (name "rust-serde-yaml") - (version "0.9.21") + (version "0.9.30") (source (origin (method url-fetch) (uri (crate-uri "serde_yaml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1714w6f5b2g4svha9r96cirz05mc0d9xfaxkcrabzqvxxkiq9mnr")))) + "0f4xkmbjgq452ynh3nkz84c0dryjfp410gfqy7hhxxwrkb3jigxi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1) + (("rust-indexmap" ,rust-indexmap-2) ("rust-itoa" ,rust-itoa-1) ("rust-ryu" ,rust-ryu-1) ("rust-serde" ,rust-serde-1) @@ -69568,40 +60874,6 @@ Rust's serde.") (description "Native Serde adapter for wasm-bindgen.") (license license:expat))) -(define-public rust-serdect-0.2 - (package - (name "rust-serdect") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "serdect" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xw1b6acw6nd0jchzyxzr97f0s4shbcqh92iyjwln0cskshi8kx8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-base16ct" ,rust-base16ct-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-ciborium" ,rust-ciborium-0.2) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-proptest" ,rust-proptest-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json-core" ,rust-serde-json-core-0.5) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-toml" ,rust-toml-0.7)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/serdect") - (synopsis - "Constant-time serde serializer/deserializer helpers") - (description - "This package provides constant-time serde serializer/deserializer helpers -for data that potentially contains secrets (e.g. cryptographic keys).") - (license (list license:asl2.0 license:expat)))) - (define-public rust-serial-test-2 (package (name "rust-serial-test") @@ -70011,434 +61283,27 @@ functionality and without weak references.") "This package provides a Rust wrapper around Fontxonfig.") (license license:expat))) -(define-public rust-sha-1-0.10 - (package - (name "rust-sha-1") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha-1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1700fs5aiiailpd5h0ax4sgs2ngys0mqf3p4j0ry6j2p2zd8l1gm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-digest" ,rust-digest-0.10) - ("rust-sha1-asm" ,rust-sha1-asm-0.5)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "SHA-1 hash function") - (description "This crate provides a SHA-1 hash function.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-sha-1-0.9 - (package - (inherit rust-sha-1-0.10) - (name "rust-sha-1") - (version "0.9.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha-1" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19jibp8l9k5v4dnhj5kfhaczdfd997h22qz0hin6pw9wvc9ngkcr")))) - (arguments - `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.9) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-digest" ,rust-digest-0.9) - ("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-sha1-asm" ,rust-sha1-asm-0.5)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-sha-1-0.8 +(define-public rust-sensors-0.2 (package - (inherit rust-sha-1-0.9) - (name "rust-sha-1") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha-1" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pv387q0r7llk2cqzyq0nivzvkgqgzsiygqzlv7b68z9xl5lvngp")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-fake-simd" ,rust-fake-simd-0.1) - ("rust-opaque-debug" ,rust-opaque-debug-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-sha1-asm" ,rust-sha1-asm-0.4)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))))) - -(define-public rust-sha1-0.10 - (package - (name "rust-sha1") - (version "0.10.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18zb80sxn31kxdpl1ly6w17hkrvyf08zbxnpy8ckb6f3h3f96hph")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-digest" ,rust-digest-0.10) - ("rust-sha1-asm" ,rust-sha1-asm-0.5)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/mitsuhiko/rust-sha1") - (synopsis "Minimal implementation of SHA1 for Rust") - (description - "This package provides a minimal implementation of SHA1 for Rust.") - (license license:bsd-3))) - -(define-public rust-sha1-0.6 - (package - (inherit rust-sha1-0.10) - (name "rust-sha1") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.4) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-sha1-0.2 - (package - (inherit rust-sha1-0.6) - (name "rust-sha1") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c")))) - (arguments - `(#:tests? #f ; Tests require openssl-1.0 - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.7) - ("rust-rand" ,rust-rand-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))))) - -(define-public rust-sha1-asm-0.5 - (package - (name "rust-sha1-asm") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1-asm" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b7ab7f4n87pqdmbl1a5jrc2axf27pvbndsz9qiwwgxw01qlygan")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/RustCrypto/asm-hashes") - (synopsis "Assembly implementation of SHA-1 compression function") - (description - "Assembly implementation of SHA-1 compression function.") - (license license:expat))) - -(define-public rust-sha1-asm-0.4 - (package - (inherit rust-sha1-asm-0.5) - (name "rust-sha1-asm") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1-asm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z5vdimd7l0vmr2p7kjibi0rghf5frb1ld0gzdkxrxfmkllf5nmr")))))) - -(define-public rust-sha1-smol-1 - (package - (name "rust-sha1-smol") - (version "1.0.0") - (source (origin - (method url-fetch) - (uri (crate-uri "sha1_smol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04nhbhvsk5ms1zbshs80iq5r1vjszp2xnm9f0ivj38q3dhc4f6mf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/mitsuhiko/sha1-smol") - (synopsis "Dependency free SHA1 implementation") - (description - "This package provides a minimal dependency free implementation of -SHA1 for Rust.") - (license license:bsd-3))) - -(define-public rust-sha1collisiondetection-0.2 - (package - (name "rust-sha1collisiondetection") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1collisiondetection" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-libc" ,rust-libc-0.2) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-structopt" ,rust-structopt-0.3)))) - (home-page "https://docs.rs/sha1collisiondetection") - (synopsis "SHA-1 hash function with collision detection and mitigation") - (description - "This package implementation of the SHA-1 cryptographic hash algorithm. - -This is a port of Marc Stevens' sha1collisiondetection algorithm to Rust. The -code is translated from C to Rust using c2rust.") - (license license:expat))) - -(define-public rust-sha2-0.10 - (package - (name "rust-sha2") - (version "0.10.8") + (name "rust-sensors") + (version "0.2.2") (source (origin (method url-fetch) - (uri (crate-uri "sha2" version)) + (uri (crate-uri "sensors" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j1x78zk9il95w9iv46dh9wm73r6xrgj32y6lzzw7bxws9dbfgbr")))) + (base32 "1l6nvmbbbbl9mdkd9806mmls68d6hvqb2nl0nm14chva5xwz8fks")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cpufeatures" ,rust-cpufeatures-0.2) - ("rust-digest" ,rust-digest-0.10) - ("rust-sha2-asm" ,rust-sha2-asm-0.6)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "SHA-2 hash functions") + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-libsensors-sys" ,rust-libsensors-sys-0.2)))) + (inputs (list (list lm-sensors "lib"))) + (home-page "https://github.com/nyantec/sensors") + (synopsis "Rust-friendly interface to lm-sensors") (description - "This package provides a pure Rust implementation of the SHA-2 hash -function family including SHA-224, SHA-256, SHA-384, and SHA-512.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-sha2-0.9 - (package - (inherit rust-sha2-0.10) - (name "rust-sha2") - (version "0.9.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04lzf4swq6cijvxnc6facr3g72h5v7a5z8lz3xrkf8gxa9bswqmk")))) - (arguments - `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.9) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cpufeatures" ,rust-cpufeatures-0.1) - ("rust-digest" ,rust-digest-0.9) - ("rust-opaque-debug" ,rust-opaque-debug-0.3) - ("rust-sha2-asm" ,rust-sha2-asm-0.6)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-sha2-0.8 - (package - (inherit rust-sha2-0.9) - (name "rust-sha2") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0s9yddvyg6anaikdl86wmwfim25c0d4m0xq0y2ghs34alxpg8mm2")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-fake-simd" ,rust-fake-simd-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.2) - ("rust-sha2-asm" ,rust-sha2-asm-0.5)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))))) - -(define-public rust-sha2-0.7 - (package - (inherit rust-sha2-0.9) - (name "rust-sha2") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "183yhkj16i7yzdp8i7aavpy329vz5xrd502233bq8fn2whjbxdly")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.3) - ("rust-byte-tools" ,rust-byte-tools-0.2) - ("rust-digest" ,rust-digest-0.7) - ("rust-fake-simd" ,rust-fake-simd-0.1) - ("rust-sha2-asm" ,rust-sha2-asm-0.5)))))) - -(define-public rust-sha2-asm-0.6 - (package - (name "rust-sha2-asm") - (version "0.6.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2-asm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kp480744vkwg3fqx98379nsdw1lzzzimd88v0qgpqqic03afyzj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))) ;build dependency - (home-page "https://github.com/RustCrypto/asm-hashes") - (synopsis "Assembly implementation of SHA-2") - (description "This package provides an assembly implementations of hash -functions core functionality.") - (license license:expat))) - -(define-public rust-sha2-asm-0.5 - (package - (inherit rust-sha2-asm-0.6) - (name "rust-sha2-asm") - (version "0.5.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha2-asm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))))) - -(define-public rust-sha3-0.10 - (package - (name "rust-sha3") - (version "0.10.8") - (source (origin - (method url-fetch) - (uri (crate-uri "sha3" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0q5s3qlwnk8d5j34jya98j1v2p3009wdmnqdza3yydwgi8kjv1vm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-keccak" ,rust-keccak-0.1)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "SHA-3 (Keccak) hash function") - (description "This package provides a pure Rust implementation of the SHA-3 -(Keccak) hash function.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-sha3-0.9 - (package - (inherit rust-sha3-0.10) - (name "rust-sha3") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha3" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02d85wpvz75a0n7r2da15ikqjwzamhii11qy9gqf6pafgm0rj4gq")))) - (arguments - `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.9) - ("rust-digest" ,rust-digest-0.9) - ("rust-keccak" ,rust-keccak-0.1) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) + "This package provides a Rust-friendly interface to lm-sensors.") + (license license:miros))) (define-public rust-shadow-rs-0.8 (package @@ -70539,25 +61404,6 @@ shared secret key.") "A library for using child processes from multiple threads.") (license license:expat))) -(define-public rust-shared-child-0.2 - (package - (inherit rust-shared-child-0.3) - (name "rust-shared-child") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "shared_child" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k0ldvk9p1l0b38bwd3a29ylmwbj60c37hnqzh0hljmyin93i6q9")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.2)))))) - (define-public rust-shared-library-0.1 (package (name "rust-shared-library") @@ -70635,22 +61481,22 @@ shell.") (sha256 (base32 "0jnrw3f174974fsi2hg48l0klpy24767ib28w0xcvi2ll5axxb1r")))))) -(define-public rust-shellexpand-2 +(define-public rust-shellexpand-3 (package (name "rust-shellexpand") - (version "2.1.0") + (version "3.1.0") (source (origin (method url-fetch) (uri (crate-uri "shellexpand" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a981ynym0hipnvkd93ihszdszjqs0cslj5ilzsdv19d3f1vggc3")))) + (base32 "0jz1i14ziz8gbyj71212s7dqrw6q96f25i48zkmy66fcjhxzl0ys")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-dirs-next" ,rust-dirs-next-2)))) + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-dirs" ,rust-dirs-5) + ("rust-os-str-bytes" ,rust-os-str-bytes-6)))) (home-page "https://github.com/netvl/shellexpand") (synopsis "Shell-like expansions in strings") (description @@ -70661,6 +61507,21 @@ perform shell-like expansions in strings, that is, to expand variables like some context).") (license (list license:expat license:asl2.0)))) +(define-public rust-shellexpand-2 + (package + (inherit rust-shellexpand-3) + (name "rust-shellexpand") + (version "2.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "shellexpand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r0i1r2r3dv0rc82xc5vhxmwl3zbvblf91sgmwls0k8chiv81k3w")))) + (arguments + `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4)))))) + (define-public rust-shlex-1 (package (name "rust-shlex") @@ -70796,100 +61657,31 @@ words, like Python's shlex.") (description "This package is a backend crate for @code{signal-hook}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-signature-2 +(define-public rust-signal-hook-tokio-0.3 (package - (name "rust-signature") - (version "2.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "signature" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00457czdia5gvll3a1vzf2ffsdpgcz2dz0h56z7zk28nsbp8h5sy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-signature-derive" ,rust-signature-derive-2)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/RustCrypto/traits/tree/master/signature") - (synopsis - "Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)") - (description - "This package contains traits which provide generic, object-safe APIs -for generating and verifying digital signatures.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-signature-1 - (package - (inherit rust-signature-2) - (name "rust-signature") - (version "1.5.0") + (name "rust-signal-hook-tokio") + (version "0.3.1") (source (origin (method url-fetch) - (uri (crate-uri "signature" version)) + (uri (crate-uri "signal-hook-tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r4x94n6ibdd1f85cwmvi29jvyyf1l379n9yybb7jlg9lv0wcm7h")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-signature-derive" ,rust-signature-derive-1)))))) - -(define-public rust-signature-derive-2 - (package - (name "rust-signature-derive") - (version "2.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "signature_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1z0mjjg3fpj08kc3nkax4lczgp7sfzbcm8q2qgim865510wkgpxc")))) + (base32 "07nggsi80jv39xisdk2r7cik7hx2d2qa2sivvqkpxqxidzvl2ci1")))) (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/RustCrypto/traits/tree/master/signature/derive") - (synopsis "Custom derive support for the 'signature' crate") - (description "This package provides proc macros used by the signature -crate. - -It's not intended to be used directly. See the signature crate's documentation -for additional details.") + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-serial-test" ,rust-serial-test-0.5) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/vorner/signal-hook") + (synopsis "Tokio support for signal-hook") + (description "This package provides Tokio support for signal-hook.") (license (list license:asl2.0 license:expat)))) -(define-public rust-signature-derive-1 - (package - (inherit rust-signature-derive-2) - (name "rust-signature-derive") - (version "1.0.0-pre.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "signature_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0p1x0wv6grrgdn226m9rsqpcnpfwkpji7rjpalkbk1ynv0xpvf57")))) - (arguments - `(#:skip-build? #t - #: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)))))) - (define-public rust-simba-0.8 (package (name "rust-simba") @@ -70926,6 +61718,35 @@ facilitate the use of SIMD-based @dfn{Array of Struct of Array} (AoSoA) storage pattern in Rust.") (license license:asl2.0))) +(define-public rust-simba-0.7 + (package + (inherit rust-simba-0.8) + (name "rust-simba") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "simba" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xl1c5cn3k5mg0m81i381jkn7wxz3gpjprja4b7cllwcqhhdfgrg")))) + (arguments + `(#:cargo-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-cordic" ,rust-cordic-0.1) + ("rust-cuda-std" ,rust-cuda-std-0.2) + ("rust-cust-core" ,rust-cust-core-0.1) + ("rust-decimal" ,rust-decimal-2) + ("rust-fixed" ,rust-fixed-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-packed-simd-2" ,rust-packed-simd-2-0.3) + ("rust-paste" ,rust-paste-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-wide" ,rust-wide-0.7)))))) + (define-public rust-simba-0.6 (package (inherit rust-simba-0.8) @@ -71245,29 +62066,33 @@ diff output.") small to medium sized project") (license (list license:expat license:asl2.0)))) -(define-public rust-simplelog-0.11 +(define-public rust-simple-logger-4 (package - (inherit rust-simplelog-0.12) - (name "rust-simplelog") - (version "0.11.1") + (name "rust-simple-logger") + (version "4.3.3") (source (origin (method url-fetch) - (uri (crate-uri "simplelog" version)) + (uri (crate-uri "simple_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11h8q8lykc829f4bd5llw35p4qi9g6mp0mk1p281fq8qi48w1azc")))) + (base32 "1w9ypyn5n7bxw6aylbkwz3hfsjpvkx0qm2xj11yx8l82r744czlf")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-paris" ,rust-paris-1) - ("rust-termcolor" ,rust-termcolor-1)))))) + `(#:cargo-inputs (("rust-colored" ,rust-colored-2) + ("rust-log" ,rust-log-0.4) + ("rust-time" ,rust-time-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/borntyping/rust-simple_logger") + (synopsis "Logger with a readable output format") + (description + "This package provides a logger that prints all messages with +a readable output format.") + (license license:expat))) (define-public rust-simple-logger-2 (package + (inherit rust-simple-logger-4) (name "rust-simple-logger") (version "2.3.0") (source (origin @@ -71277,40 +62102,32 @@ small to medium sized project") (sha256 (base32 "1ivdlw45f07byxgl43l2pa0dlnclbw1aj40shjpil598nmvpw128")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) ("rust-colored" ,rust-colored-2) ("rust-log" ,rust-log-0.4) ("rust-time" ,rust-time-0.3) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/borntyping/rust-simple_logger") - (synopsis "Logger with a readable output format") - (description - "This package provides a logger that prints all messages with -a readable output format.") - (license license:expat))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-simple-logger-1 (package (inherit rust-simple-logger-2) (name "rust-simple-logger") - (version "1.13.0") + (version "1.16.0") (source - (origin - (method url-fetch) - (uri (crate-uri "simple_logger" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01wz5xjpski45xq8v1bg8g05flj5h1sl63aabl2c6kj0hz337pmp")))) + (origin + (method url-fetch) + (uri (crate-uri "simple_logger" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pkvkp0v3w9kwqjhx5npb2jbyj9kfbb8y2w92s5cphsxldc05dj5")))) (arguments - `(#:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-colored" ,rust-colored-1) - ("rust-log" ,rust-log-0.4) - ("rust-winapi" ,rust-winapi-0.3)))))) + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-colored" ,rust-colored-1) + ("rust-log" ,rust-log-0.4) + ("rust-time" ,rust-time-0.3) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-simple-logging-2 (package @@ -71363,21 +62180,19 @@ simpler than @code{parking_lot}.") (define-public rust-siphasher-0.3 (package (name "rust-siphasher") - (version "0.3.2") + (version "0.3.11") (source (origin (method url-fetch) (uri (crate-uri "siphasher" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "08xvk3yi4vawppm1f81s4zrkksf95psz8gczh36y808candgi24f")))) + (base32 "03axamhmwsrmh0psdw3gf7c0zc4fyl5yjxfifz9qfka6yhkqid9q")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)))) + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://docs.rs/siphasher") (synopsis "SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust") (description "This package provides SipHash-2-4, SipHash-1-3 and 128-bit @@ -71434,34 +62249,144 @@ designed for @code{immutable.rs}.") (define-public rust-skeptic-0.13 (package (name "rust-skeptic") - (version "0.13.4") + (version "0.13.7") (source (origin (method url-fetch) (uri (crate-uri "skeptic" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0rai61hbs65nbvbhqlk1nap5hlav5qx3zmjjjzh9rhgxagc8xyyn")))) + (base32 "1a205720pnss0alxvbx0fcn3883cg3fbz5y1047hmjbnaq0kplhn")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=tests::test_markdown_files_of_directory") #:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12) - ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.2) - ("rust-glob" ,rust-glob-0.2) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-bytecount" ,rust-bytecount-0.4) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.6) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-walkdir" ,rust-walkdir-2)))) + ("rust-bytecount" ,rust-bytecount-0.6) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.14) + ("rust-glob" ,rust-glob-0.3) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-unindent" ,rust-unindent-0.1)))) (home-page "https://github.com/budziq/rust-skeptic") (synopsis "Test your Rust markdown documentation via Cargo") (description "Test your Rust markdown documentation via Cargo.") (license (list license:expat license:asl2.0)))) +(define-public rust-skim-0.10 + (package + (name "rust-skim") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "skim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0chgv9nr8cmlf2mg2k94igh3m5svjsfxxwbnl21xsb6blvh8vlp5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-beef" ,rust-beef-0.5) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-3) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-defer-drop" ,rust-defer-drop-1) + ("rust-derive-builder" ,rust-derive-builder-0.11) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.25) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-time" ,rust-time-0.3) + ("rust-timer" ,rust-timer-0.2) + ("rust-tuikit" ,rust-tuikit-0.5) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vte" ,rust-vte-0.11)))) + (home-page "https://github.com/lotabout/skim") + (synopsis "Fuzzy Finder in rust") + (description "This package provides a fuzzy finder in Rust.") + (license license:expat))) + +(define-public rust-skim-0.9 + (package + (inherit rust-skim-0.10) + (name "rust-skim") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "skim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1d5v9vq8frkdjm7bnw3455h6xf3c277d51il2qasn7r20kwik7ab")))) + (arguments + `(#:cargo-inputs + (("rust-atty-0.2" ,rust-atty-0.2) + ("rust-beef" ,rust-beef-0.5) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-defer-drop" ,rust-defer-drop-1) + ("rust-derive-builder" ,rust-derive-builder-0.9) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.19) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-shlex" ,rust-shlex-0.1) + ("rust-time" ,rust-time-0.2) + ("rust-timer" ,rust-timer-0.2) + ("rust-tuikit" ,rust-tuikit-0.4) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vte" ,rust-vte-0.9)))))) + +(define-public rust-skim-0.7 + (package + (inherit rust-skim-0.10) + (name "rust-skim") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "skim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1yiyd6fml5hd2l811sckkzmiiq9bd7018ajk4qk3ai4wyvqnw8mv")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-derive-builder" ,rust-derive-builder-0.9) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.14) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-shlex" ,rust-shlex-0.1) + ("rust-time" ,rust-time-0.1) + ("rust-timer" ,rust-timer-0.2) + ("rust-tuikit" ,rust-tuikit-0.2) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vte" ,rust-vte-0.3)))))) + (define-public rust-slab-0.4 (package (name "rust-slab") @@ -72271,38 +63196,82 @@ monotone matrix.") ("rust-piper" ,rust-piper-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-smol-str-0.1 +(define-public rust-smol-str-0.2 (package (name "rust-smol-str") - (version "0.1.21") + (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "smol_str" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1gb14a85k6mzpn6s78flwvfl5vy1czsrzlwcgidy7k00wf1mrlb1")))) + (base32 "1779hpx5ipbcvkdj5zw8zqk3ynn160qvls1gkcr54hwsprmjw8bl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-proptest" ,rust-proptest-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=check_code_formatting") + #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/rust-analyzer/smol_str") - (synopsis - "Small-string optimized string type with O(1) clone") + (synopsis "Small-string optimized string type with O(1) clone") (description "This package provides a small-string optimized string type with O(1) clone.") (license (list license:expat license:asl2.0)))) +(define-public rust-smol-str-0.1 + (package + (inherit rust-smol-str-0.2) + (name "rust-smol-str") + (version "0.1.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "smol_str" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j891lgnflvnzgbs7fhwd6sxrrx47ii5mj0yy3f2f9mbrdbwimps")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=check_code_formatting") + #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-snafu-derive-0.8 + (package + (name "rust-snafu-derive") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "snafu-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1837y976zh0cn137srwfmdiwz59raj5xs7gnsqaszc9n2jbl8308")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/shepmaster/snafu") + (synopsis "Ergonomic error handling library") + (description "Snafu aims to be an ergonomic error handling library. This +package provides derive macros.") + (license (list license:expat license:asl2.0)))) + (define-public rust-snafu-derive-0.7 (package + (inherit rust-snafu-derive-0.8) (name "rust-snafu-derive") (version "0.7.5") (source (origin @@ -72312,18 +63281,12 @@ clone.") (sha256 (base32 "1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/shepmaster/snafu") - (synopsis "Ergonomic error handling library") - (description "Snafu aims to be an ergonomic error handling library. This -package provides derive macros.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-snafu-derive-0.6 (package @@ -72343,73 +63306,74 @@ package provides derive macros.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-snafu-0.7 +(define-public rust-snafu-0.8 (package (name "rust-snafu") - (version "0.7.5") - (source (origin - (method url-fetch) - (uri (crate-uri "snafu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mj2j2gfbf8mm1hr02zrbrqrh2zp01f61xgkx0lpln2w0ankgpp4")))) + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "snafu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15ph0zr3zw6lh4cw0s0k1wvcvi18bmrzvjbx1l9jjh7560bwahnk")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-futures" ,rust-futures-0.3) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-snafu-derive" ,rust-snafu-derive-0.7)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=backtrace_contains_function_names" + "--skip=delegation::backtrace_comes_from_delegated_error" + "--skip=delegation::backtrace_comes_from_renamed_delegated_error" + "--skip=whatever_nested::backtrace_method_delegates_to_nested_whatever" + "--skip=has_a_backtrace") + #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-snafu-derive" ,rust-snafu-derive-0.8)))) (home-page "https://github.com/shepmaster/snafu") (synopsis "Ergonomic error handling library") (description "Snafu aims to be an ergonomic error handling library.") (license (list license:expat license:asl2.0)))) -(define-public rust-snafu-0.6 +(define-public rust-snafu-0.7 (package - (inherit rust-snafu-0.7) + (inherit rust-snafu-0.8) (name "rust-snafu") - (version "0.6.10") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "snafu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19wwqxwb85pl040qk5xylj0vlznib3xzy9hcv2q0h8qv4qy2vcga")))) + (base32 + "1mj2j2gfbf8mm1hr02zrbrqrh2zp01f61xgkx0lpln2w0ankgpp4")))) (arguments `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-futures" ,rust-futures-0.3) - ("rust-futures" ,rust-futures-0.1) ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-snafu-derive" ,rust-snafu-derive-0.6)))))) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-snafu-derive" ,rust-snafu-derive-0.7)))))) (define-public rust-snap-1 (package (name "rust-snap") - (version "1.0.5") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "snap" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0l8llidvm7dlwfw2ql6hk4b4byl9677fppwgl7i2wglqs6a60ia5")))) + (base32 "0fxw80m831l76a5zxcwmz2aq7mcwc1pp345pnljl4cv1kbxnfsqv")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) - (home-page - "https://github.com/BurntSushi/rust-snappy") - (synopsis - "Pure Rust implementation of the Snappy compression algorithm") + (home-page "https://github.com/BurntSushi/rust-snappy") + (synopsis "Pure Rust implementation of the Snappy compression algorithm") (description "This package provides a pure Rust implementation of the Snappy compression algorithm. Includes streaming compression and decompression.") @@ -72437,14 +63401,14 @@ algorithm. Includes streaming compression and decompression.") (define-public rust-snapbox-macros-0.3 (package (name "rust-snapbox-macros") - (version "0.3.6") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "snapbox-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13mj53zkgz85f80pk3g3nixkwhqdjhzbxf926gfnlscazyx5j5gd")))) + "0rxn80n3y6h7cp75zd3g3akpw3whh31fhvv9zy20k55dk82xxk3q")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)))) @@ -72479,14 +63443,14 @@ It is also flexible enough to build your own test harness like @code{trycmd}.") (define-public rust-snapbox-0.4 (package (name "rust-snapbox") - (version "0.4.14") + (version "0.4.16") (source (origin (method url-fetch) (uri (crate-uri "snapbox" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1varn9khd05s66lv5abw56ib199z3val13ix8wbc25a7dq5pqdsb")))) + "1v732vpzkjyawwvcq2xdf5q4s6bxrqmqih8kgc5gada9vwq5l53k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72509,7 +63473,7 @@ It is also flexible enough to build your own test harness like @code{trycmd}.") ("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.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox") (synopsis "Snapshot testing toolbox") (description @@ -72583,14 +63547,14 @@ benchmarking.") (define-public rust-socket2-0.5 (package (name "rust-socket2") - (version "0.5.4") + (version "0.5.5") (source (origin (method url-fetch) (uri (crate-uri "socket2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17lqx8w2b3nysrkdbdz8y7fkikz5v77c052q57lxwajmxchfhca0")))) + (base32 "1sgq315f1njky114ip7wcy83qlphv9qclprfjwvxcpfblmcsqpvv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72644,24 +63608,21 @@ maximal amount of configuration possible intended.") (define-public rust-socks-0.3 (package (name "rust-socks") - (version "0.3.2") + (version "0.3.4") (source (origin (method url-fetch) (uri (crate-uri "socks" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1hnbw4c4j7dn9n3bd1v7ddkdzlxlzkfw3z29da1nxlj6jgx4r9p6")))) + (base32 "12ymihhib0zybm6n4mrvh39hj1dm0ya8mqnqdly63079kayxphzh")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests require network connection. #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.2) - ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/sfackler/rust-socks") (synopsis "Rust SOCKS proxy clients") (description @@ -72752,6 +63713,29 @@ maximal amount of configuration possible intended.") "An RSpec inspired minimal testing framework for Rust.") (license license:expat))) +(define-public rust-speedate-0.13 + (package + (name "rust-speedate") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "speedate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16xi4d98ab3ag7rkba2fv37kk3d0fgg0l287hq4vz36i1z2pcbr4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-iso8601" ,rust-iso8601-0.4) + ("rust-paste" ,rust-paste-1)))) + (home-page "https://github.com/pydantic/speedate/") + (synopsis "Fast and simple datetime, date, time and duration parsing") + (description "Fast and simple datetime, date, time and duration parsing.") + (license license:expat))) + (define-public rust-speedy-0.8 (package (name "rust-speedy") @@ -72884,6 +63868,29 @@ future to wake it up, it continuously polls the future until the future is ready. This will probably use a lot of CPU, so be careful when you use it.") (license (list license:asl2.0 license:expat)))) +(define-public rust-spin-sleep-1 + (package + (name "rust-spin-sleep") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "spin_sleep" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zrllbf1ksc6srjgbslk2fn5c9fp5f1rrrw2n0301xza9639g2in")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)))) + (home-page "https://github.com/alexheretic/spin-sleep") + (synopsis "Accurate sleeping and spinning") + (description + "This library adds a middle ground, using a configurable native accuracy setting +allowing @code{thread::sleep} to wait the bulk of a sleep time, and spin the final +section to guarantee accuracy.") + (license license:asl2.0))) + (define-public rust-spinning-top-0.2 (package (name "rust-spinning-top") @@ -72977,71 +63984,6 @@ and spirv-std-macros.") SPIR-V.") (license (list license:expat license:asl2.0)))) -(define-public rust-spki-0.7 - (package - (name "rust-spki") - (version "0.7.2") - (source (origin - (method url-fetch) - (uri (crate-uri "spki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jhq00sv4w3psdi6li3vjjmspc6z2d9b1wc1srbljircy1p9j7lx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-base64ct" ,rust-base64ct-1) - ("rust-der" ,rust-der-0.7) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/spki") - (synopsis - "X.509 Subject Public Key Info (RFC5280) describing public keys") - (description - "This package provides X.509 Subject Public Key Info (RFC5280) -describing public keys as well as their associated AlgorithmIdentifiers (i.e. -OIDs)") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-spki-0.6 - (package - (inherit rust-spki-0.7) - (name "rust-spki") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "spki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ar1ldkl7svp8l3gfw2hyiiph7n2nqynjnjgdv1pscvsmjxh5kv7")))) - (arguments - `(#:cargo-inputs - (("rust-base64ct" ,rust-base64ct-1) - ("rust-der" ,rust-der-0.6) - ("rust-sha2" ,rust-sha2-0.10)) - #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-spki-0.4 - (package - (inherit rust-spki-0.7) - (name "rust-spki") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "spki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw")))) - (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" ,rust-der-0.4)))))) - (define-public rust-spmc-0.3 (package (name "rust-spmc") @@ -73188,6 +64130,24 @@ OIDs)") (description "The package provides an interface to SQLite.") (license (list license:asl2.0 license:expat)))) +(define-public rust-sqlite-0.27 + (package + (inherit rust-sqlite-0.30) + (name "rust-sqlite") + (version "0.27.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11f1fw5gffni7mqr6mrliacr86v0yg9zmgvj3lhfdv1iz54vjv76")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.14)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) + (define-public rust-sqlite-0.26 (package (inherit rust-sqlite-0.30) @@ -73237,6 +64197,33 @@ OIDs)") (description "The package provides SQLite.") (license (list license:asl2.0 license:expat)))) +(define-public rust-sqlite3-src-0.4 + (package + (inherit rust-sqlite3-src-0.5) + (name "rust-sqlite3-src") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14ancc9jafw5ql9carg27icjxcfrdz5izxk4bj7fp5n909x5m0fi")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Only allow for linking to system sqlite3. + (delete-file-recursively "source") + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main (){~@ + println!(\"cargo:rustc-link-lib=sqlite3\");~@ + }~%"))))))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-sqlite3-src-0.3 (package (inherit rust-sqlite3-src-0.5) @@ -73276,6 +64263,24 @@ OIDs)") (description "The package provides bindings to SQLite.") (license (list license:asl2.0 license:expat)))) +(define-public rust-sqlite3-sys-0.14 + (package + (inherit rust-sqlite3-sys-0.15) + (name "rust-sqlite3-sys") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vmrzgchmbqk9jk1dq1jp1lq6id0p3h8vwna02x60ly59y19jz6l")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-src" ,rust-sqlite3-src-0.4)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) + (define-public rust-sqlite3-sys-0.13 (package (inherit rust-sqlite3-sys-0.15) @@ -73580,29 +64585,6 @@ Rust.") Rust.") (license license:expat))) -(define-public rust-statrs-0.12 - (package - (name "rust-statrs") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "statrs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10hk9194ig21w08947yavf4l97g0106ph4xxlzn8ps2kwrnnzqfc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-rand" ,rust-rand-0.7)))) - (home-page "https://github.com/statrs-dev/statrs") - (synopsis "Statistical computing library for Rust") - (description "This package provides a statistical computing library for -Rust.") - (license license:expat))) - (define-public rust-stats-alloc-0.1 (package (name "rust-stats-alloc") @@ -73674,193 +64656,73 @@ in @code{stb_truetype.h} from C to Rust.") codebase.") (license license:expat))) -(define-public rust-stderrlog-0.4 +(define-public rust-stderrlog-0.5 (package (name "rust-stderrlog") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "stderrlog" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09bzvmx2lzyycr1xfcvfwnvqsjg9kb4w22hb19bjqid5j2dyxr9j")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-atty" ,rust-atty-0.2.11) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-thread-local" ,rust-thread-local-0.3.4)))) - (home-page "https://github.com/cardoe/stderrlog-rs") - (synopsis "Logger that logs to stderr") - (description "This package provides logger that logs to stderr based -on verbosity specified") - (license (list license:expat license:asl2.0)))) - -(define-public rust-stdweb-0.4 - (package - (name "rust-stdweb") - (version "0.4.20") - (source - (origin - (method url-fetch) - (uri (crate-uri "stdweb" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1md14n9rzxzdskz3hpgln8vxfwqsw2cswc0f5nslh4r82rmlj8nh")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-discard" ,rust-discard-1) - ("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3) - ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) - ("rust-futures-executor-preview" ,rust-futures-executor-preview-0.3) - ("rust-futures-util-preview" ,rust-futures-util-preview-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-stdweb-derive" ,rust-stdweb-derive-0.5) - ("rust-stdweb-internal-macros" ,rust-stdweb-internal-macros-0.2) - ("rust-stdweb-internal-runtime" ,rust-stdweb-internal-runtime-0.1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-rustc-version" ,rust-rustc-version-0.2)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-stdweb-internal-test-macro" ,rust-stdweb-internal-test-macro-0.1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Standard library for the client-side Web") - (description - "This package provides a standard library for the client-side -Web.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-stdweb-0.1 - (package - (inherit rust-stdweb-0.4) - (name "rust-stdweb") - (version "0.1.3") - (source (origin - (method url-fetch) - (uri (crate-uri "stdweb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gjk7ch31a3kgdc39kj4zqinf10yqaf717wanh9kwwbbwg430m7g")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-stdweb-derive-0.5 - (package - (name "rust-stdweb-derive") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "stdweb-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vsh7g0gaxn4kxqq3knhymdn02p2pfxmnd2j0vplpj6c1yj60yn8")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Derive macros for the stdweb crate") - (description - "This crate currently defines a derive macro for @code{stdweb} which allows -you to define custom reference types outside of the @code{stdweb} library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-stdweb-internal-macros-0.2 - (package - (name "rust-stdweb-internal-macros") - (version "0.2.9") + (version "0.5.4") (source (origin (method url-fetch) - (uri (crate-uri "stdweb-internal-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "stderrlog" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "049fq8fl5ny9l5if2qv7kxwng7g6ns95h4fbm3zx360dmpv5zyjq")))) + (base32 "0yrjf10zakwzacbfvi3jdin78mlvff1rgyja2s4x69z6dnznp8k9")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base-x" ,rust-base-x-0.2) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sha1" ,rust-sha1-0.6) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Internal procedural macros for the stdweb crate") - (description - "Internal procedural macros for the @code{stdweb} crate.") + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-thread-local" ,rust-thread-local-1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-3) + ("rust-docopt" ,rust-docopt-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-structopt" ,rust-structopt-0.3)))) + (home-page "https://github.com/cardoe/stderrlog-rs") + (synopsis "Logger that logs to stderr") + (description "This package provides logger that logs to stderr based +on verbosity specified.") (license (list license:expat license:asl2.0)))) -(define-public rust-stdweb-internal-runtime-0.1 - (package - (name "rust-stdweb-internal-runtime") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "stdweb-internal-runtime" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h0nkppb4r8dbrbms2hw9n5xdcs392m0r5hj3b6lsx3h6fx02dr1")))) - (build-system cargo-build-system) - (home-page "https://github.com/koute/stdweb") - (synopsis "Internal runtime for the @code{stdweb} crate") - (description "This crate provides internal runtime for the @code{stdweb} -crate.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-stdweb-internal-test-macro-0.1 +(define-public rust-stderrlog-0.4 (package - (name "rust-stdweb-internal-test-macro") - (version "0.1.1") + (inherit rust-stderrlog-0.5) + (name "rust-stderrlog") + (version "0.4.3") (source (origin (method url-fetch) - (uri (crate-uri "stdweb-internal-test-macro" version)) + (uri (crate-uri "stderrlog" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0wx3jlm98qrg1pdw149fprzs9x3x3igqkm5ll23jv2v62yddfrjf")))) + (base32 "09bzvmx2lzyycr1xfcvfwnvqsjg9kb4w22hb19bjqid5j2dyxr9j")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("version = \"~([[:digit:]]+(\\.[[:digit:]]+)*)\"" _ version) + (string-append "version = \"^" version "\"")) + (("version = \"\\^([[:digit:]]+\\.[[:digit:]]+), <.*\"" _ version) + (string-append "version = \"^" version "\""))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1)))) - (home-page "https://github.com/koute/stdweb") - (synopsis "Internal crate of the `stdweb` crate") - (description - "Internal crate of the @code{stdweb} crate.") - (license (list license:asl2.0 - license:expat)))) + (("rust-atty" ,rust-atty-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-thread-local" ,rust-thread-local-0.3)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-docopt" ,rust-docopt-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-structopt" ,rust-structopt-0.2)))))) (define-public rust-stfu8-0.2 (package @@ -73914,49 +64776,6 @@ UTF-8.") (description "This package provides a static string buffer.") (license license:boost1.0))) -(define-public rust-stream-cipher-0.4 - (package - (name "rust-stream-cipher") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "stream-cipher" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "120y04k3d2jyfnvyrlf38x6bf0yckyk30c7zf8v8qaq4fjcyvy09")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-generic-array" ,rust-generic-array-0.14)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Stream cipher traits") - (description "This package provides stream cipher traits.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-stream-cipher-0.3 - (package - (inherit rust-stream-cipher-0.4) - (name "rust-stream-cipher") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "stream-cipher" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.13)))))) - (define-public rust-streaming-decompression-0.1 (package (name "rust-streaming-decompression") @@ -74027,53 +64846,6 @@ iterated over only by reference rather than by value.") (license (list license:unlicense license:expat)))) -(define-public rust-streebog-0.10 - (package - (name "rust-streebog") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "streebog" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.10) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "Streebog (GOST R 34.11-2012) hash function") - (description - "This package provides a streebog (GOST R 34.11-2012) hash function.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-streebog-0.9 - (package - (inherit rust-streebog-0.10) - (name "rust-streebog") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "streebog" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr")))) - (arguments - `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.9) - ("rust-digest" ,rust-digest-0.9) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - (define-public rust-strength-reduce-0.2 (package (name "rust-strength-reduce") @@ -74642,25 +65414,25 @@ struct.") "Parse command line argument by defining a struct, derive crate.") (license (list license:asl2.0 license:expat)))) -(define-public rust-strum-0.24 +(define-public rust-strum-0.25 (package (name "rust-strum") - (version "0.24.1") + (version "0.25.0") (source (origin (method url-fetch) (uri (crate-uri "strum" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6")))) + (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Doc tests fail. + `(#:tests? #f ; unresolved import `strum::EnumIter` #:cargo-inputs (("rust-phf" ,rust-phf-0.10) - ("rust-strum-macros" ,rust-strum-macros-0.24)) + ("rust-strum-macros" ,rust-strum-macros-0.25)) #:cargo-development-inputs - (("rust-strum-macros" ,rust-strum-macros-0.24)))) + (("rust-strum-macros" ,rust-strum-macros-0.25)))) (home-page "https://github.com/Peternator7/strum") (synopsis "Set of traits for working with enums and strings") (description @@ -74668,6 +65440,26 @@ struct.") easier in Rust.") (license license:expat))) +(define-public rust-strum-0.24 + (package + (inherit rust-strum-0.25) + (name "rust-strum") + (version "0.24.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6")))) + (arguments + `(#:tests? #f ; Doc tests fail. + #:cargo-inputs + (("rust-phf" ,rust-phf-0.10) + ("rust-strum-macros" ,rust-strum-macros-0.24)) + #:cargo-development-inputs + (("rust-strum-macros" ,rust-strum-macros-0.24)))))) + (define-public rust-strum-0.21 (package (inherit rust-strum-0.24) @@ -74736,8 +65528,34 @@ easier in Rust.") `(#:cargo-inputs (("rust-strum-macros" ,rust-strum-macros-0.18)))))) +(define-public rust-strum-macros-0.25 + (package + (name "rust-strum-macros") + (version "0.25.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "184y62g474zqb2f7n16x3ghvlyjbh50viw32p9w9l5lwmjlizp13")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-strum" ,rust-strum-0.25)))) + (home-page "https://github.com/Peternator7/strum") + (synopsis "Set of macros for working with enums and strings") + (description + "This crate provides helpful macros for working with enums and strings.") + (license license:expat))) + (define-public rust-strum-macros-0.24 (package + (inherit rust-strum-macros-0.25) (name "rust-strum-macros") (version "0.24.3") (source @@ -74747,7 +65565,6 @@ easier in Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0naxz2y38kwq5wgirmia64vvf6qhwy8j367rw966n62gsbh5nf0y")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) @@ -74756,12 +65573,7 @@ easier in Rust.") ("rust-rustversion" ,rust-rustversion-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-strum" ,rust-strum-0.24)))) - (home-page "https://github.com/Peternator7/strum") - (synopsis "Set of macros for working with enums and strings") - (description - "This crate provides helpful macros for working with enums and strings.") - (license license:expat))) + (("rust-strum" ,rust-strum-0.24)))))) (define-public rust-strum-macros-0.21 (package @@ -74986,23 +65798,23 @@ suites, typically generated by @code{subplot codegen}.") (define-public rust-subprocess-0.2 (package (name "rust-subprocess") - (version "0.2.8") + (version "0.2.9") (source (origin (method url-fetch) (uri (crate-uri "subprocess" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01x41adcnyy55axdrzbr3y1qfbb55xjzczm1lpqdh6lqqbmz6p05")))) + "11k0dzvgg8g4id4gas1aavblj43687kcbn26qlvadpc1c298cbhc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)) + `(#:tests? #f ; Tests hang forever #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tempdir" ,rust-tempdir-0.3)))) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/hniksic/rust-subprocess") (synopsis "Execution of child processes and pipelines") (description @@ -75010,119 +65822,66 @@ suites, typically generated by @code{subplot codegen}.") inspired by Python's subprocess module, with Rust-specific extensions.") (license (list license:asl2.0 license:expat)))) -(define-public rust-subtle-2 - (package - (name "rust-subtle") - (version "2.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "subtle" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00b6jzh9gzb0h9n25g06nqr90z3xzqppfhhb260s1hjhh4pg7pkb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.7)))) - (home-page "https://dalek.rs/") - (synopsis - "Pure-Rust traits and utilities for cryptographic implementations") - (description - "This package provides Pure-Rust traits and utilities for constant-time -cryptographic implementations.") - (license license:bsd-3))) - -(define-public rust-subtle-1 +(define-public rust-supercow-0.1 (package - (inherit rust-subtle-2) - (name "rust-subtle") - (version "1.0.0") + (name "rust-supercow") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "subtle" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "supercow" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1vm80mxbwfj334izwm8x8l65v1xl9hr0kwrg36r1rq565fkaarrd")))))) - -(define-public rust-subtle-ng-2 - (package - (name "rust-subtle-ng") - (version "2.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "subtle-ng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hj1wp8xl64bjhbvlfffmllqy7wdw2b505f32gn3qqic4vmpcikk")))) + (base32 "0qxxk2z4pa7ni17bdhix9syhax0nnnpbjjpsinkhd8vsnknmh5qp")))) (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.7)))) - (home-page "https://dalek.rs/") - (synopsis "Pure-Rust for constant-time cryptographic implementations") + (home-page "https://github.com/altsysrq/supercow") + (synopsis "Generic way to accept general reference-like values") (description - "This package provides pure-Rust traits and utilities for constant-time -cryptographic implementations.") - (license license:bsd-3))) + "This package provides a generic way to accept general reference-like +values without proliferating generics.") + (license (list license:expat license:asl2.0)))) -(define-public rust-surf-2 +(define-public rust-superluminal-perf-0.1 (package - (name "rust-surf") - (version "2.2.0") + (name "rust-superluminal-perf") + (version "0.1.1") (source (origin (method url-fetch) - (uri (crate-uri "surf" version)) + (uri (crate-uri "superluminal-perf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a33kw06jspi54rf38ncyqjj8861bid0wxhwzpk1ypkbr8rls59a")))) + (base32 "0q0ykfn04i2qg5zfizp75y4dn2klpvhb6xfwlygq8jiabpgqvvc0")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-http-client" ,rust-http-client-6) - ("rust-http-types" ,rust-http-types-2) - ("rust-log" ,rust-log-0.4) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/http-rs/surf") - (synopsis "HTTP client framework") + `(#:cargo-inputs + (("rust-superluminal-perf-sys" ,rust-superluminal-perf-sys-0.1)))) + (home-page "https://github.com/EmbarkStudios/superluminal-perf-rs") + (synopsis + "Superluminal Performance API for adding user events to profiler captures") (description - "Surf is a friendly HTTP client built for casual Rustaceans and veterans -alike. It's completely modular, and built directly for @code{async/await}.") + "Superluminal Performance API for adding user events to profiler captures.") (license (list license:expat license:asl2.0)))) -(define-public rust-supercow-0.1 +(define-public rust-superluminal-perf-sys-0.1 (package - (name "rust-supercow") - (version "0.1.0") + (name "rust-superluminal-perf-sys") + (version "0.1.2") (source (origin (method url-fetch) - (uri (crate-uri "supercow" version)) + (uri (crate-uri "superluminal-perf-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qxxk2z4pa7ni17bdhix9syhax0nnnpbjjpsinkhd8vsnknmh5qp")))) + (base32 "05pz0yybf4y2iw3rvqf2crk04zv7610jjm3glhi8hlv2rhms0hh3")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; TODO: Replace superluminal headers. + (delete-file-recursively "external"))))) (build-system cargo-build-system) - (home-page "https://github.com/altsysrq/supercow") - (synopsis "Generic way to accept general reference-like values") - (description - "This package provides a generic way to accept general reference-like -values without proliferating generics.") + (home-page "https://github.com/EmbarkStudios/superluminal-perf-rs") + (synopsis "Superluminal Performance C API bindings") + (description "Superluminal Performance C API bindings.") (license (list license:expat license:asl2.0)))) (define-public rust-supports-color-2 @@ -75148,6 +65907,25 @@ values without proliferating generics.") "Detects whether a terminal supports color, and gives details about that support.") (license license:asl2.0))) +(define-public rust-supports-hyperlinks-2 + (package + (name "rust-supports-hyperlinks") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "supports-hyperlinks" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g93nh1db3f9lyd0ry35bqjrxkg6sbysn36x9hgd9m5h5rlk2hpq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4)))) + (home-page "https://github.com/zkat/supports-hyperlinks") + (synopsis "Detects whether a terminal supports rendering hyperlinks") + (description "Detects whether a terminal supports rendering hyperlinks.") + (license license:asl2.0))) + (define-public rust-sval-2 (package (name "rust-sval") @@ -75172,25 +65950,6 @@ values without proliferating generics.") "This package provides a no-std, object-safe serialization framework.") (license (list license:asl2.0 license:expat)))) -(define-public rust-sval-1 - (package - (inherit rust-sval-2) - (name "rust-sval") - (version "1.0.0-alpha.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "sval" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "025sy290xnn56nl15qkrkq0whxcwlvb4bzp996azbjl7gdyfxxj5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-sval-derive" ,rust-sval-derive-1)))))) - (define-public rust-sval-buffer-2 (package (name "rust-sval-buffer") @@ -75236,25 +65995,6 @@ values without proliferating generics.") (description "This package provides custom derive for @code{sval}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-sval-derive-1 - (package - (inherit rust-sval-derive-2) - (name "rust-sval-derive") - (version "1.0.0-alpha.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "sval_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1clarb8fqxlffa2i6p70l5nr6l3pcp90p98xkvdn8f65xkc0hhkp")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-sval-derive-macros-2 (package (name "rust-sval-derive-macros") @@ -75531,17 +66271,17 @@ references") (define-public rust-swayipc-3 (package (name "rust-swayipc") - (version "3.0.1") + (version "3.0.2") (source (origin (method url-fetch) (uri (crate-uri "swayipc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16pf4r6svf99p73b8dhdannkvhfvmbjb4rx7gifxh8xj53rwy7db")))) + (base32 "0a9z67qp1kzmwnpnr973x72f2gif5q3rgqlma0i2wdqzi2gx39fs")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; `Err` value: SocketNotFound #:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) @@ -75573,6 +66313,33 @@ interface.") ("rust-swayipc-command-builder" ,rust-swayipc-command-builder-0.1) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-swayipc-async-2 + (package + (name "rust-swayipc-async") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "swayipc-async" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yyv7jwsr2z5azjal5hj8hgxb06dqrnxsaxrnjfjnp1pmwvjch48")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect a running graphics stack. + #:cargo-inputs (("rust-async-io" ,rust-async-io-2) + ("rust-async-pidfd" ,rust-async-pidfd-0.1) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-swayipc-types" ,rust-swayipc-types-1)))) + (home-page "https://github.com/jaycefayne/swayipc-rs") + (synopsis "Library to control sway through IPC interface") + (description + "This package provides a library for controlling sway through its +IPC interface.") + (license license:expat))) + (define-public rust-swayipc-command-builder-0.1 (package (name "rust-swayipc-command-builder") @@ -75594,28 +66361,26 @@ executed by swayipc.") (define-public rust-swayipc-types-1 (package - (name "rust-swayipc-types") - (version "1.2.0") + (name "rust-swayipc-types") + (version "1.3.1") (source (origin (method url-fetch) (uri (crate-uri "swayipc-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13lj6jyyxg41r9g0b07y8yd7ygy5gih61w5v48bpksvfdzhwwn55")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/jaycefayne/swayipc-rs") - (synopsis "A library containing Type defintions from sway's IPC interface") - (description - "This package provides a library containing Type defintions from sway's IPC -interface") - (license license:expat))) + (base32 "1fwzdifnaj9ayz6fq96vcxpzr4dqhq1zgbqk3xbgsdlg89b2ddmi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/jaycefayne/swayipc-rs") + (synopsis "Type definitions from sway's IPC interface") + (description + "This package provides a library containing type defintions from +sway's IPC interface.") + (license license:expat))) (define-public rust-symlink-0.1 (package @@ -75936,14 +66701,13 @@ codecs and formats.") (define-public rust-syn-2 (package (name "rust-syn") - (version "2.0.37") + (version "2.0.48") (source (origin (method url-fetch) (uri (crate-uri "syn" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1s42ypidkj410dfc4ir7bni0r114k822j395rf342rfd0lnfy0vk")))) + (base32 "0gqgfygmrxmp8q32lia9p294kdd501ybn6kn2h4gqza0irik2d8g")))) (build-system cargo-build-system) (arguments ;; Tests fail to compile @@ -75969,7 +66733,6 @@ codecs and formats.") ("rust-insta" ,rust-insta-1) ("rust-rayon" ,rust-rayon-1) ("rust-ref-cast" ,rust-ref-cast-1) - ("rust-regex" ,rust-regex-1) ("rust-reqwest" ,rust-reqwest-0.11) ("rust-rustversion" ,rust-rustversion-1) ("rust-syn-test-suite" ,rust-syn-test-suite-0.0.0) @@ -76146,6 +66909,28 @@ a syntax tree of Rust source code.") ("rust-tempdir" ,rust-tempdir-0.3) ("rust-walkdir" ,rust-walkdir-1)))))) +(define-public rust-syn-derive-0.1 + (package + (name "rust-syn-derive") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "syn_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yxydi22apcisjg0hff6dfm5x8hd6cqicav56sblx67z0af1ha8k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/Kyuuhachi/syn_derive") + (synopsis "Derive macros for `syn::Parse` and `quote::ToTokens`") + (description "Derive macros for `syn::Parse` and `quote::@code{ToTokens`}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-syn-test-suite-0.0.0 (package (name "rust-syn-test-suite") @@ -76186,6 +66971,31 @@ a syntax tree of Rust source code.") standard library.") (license (list license:expat license:asl2.0)))) +(define-public rust-sync-wrapper-0.1 + (package + (name "rust-sync-wrapper") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sync_wrapper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q01lyj0gr9a93n10nxsn8lwbzq97jqd6b768x17c8f7v7gccir0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)))) + (home-page "https://docs.rs/sync_wrapper") + (synopsis + "Tool for enlisting the compiler's help in proving the absence of concurrency") + (description + "This package provides a tool for enlisting the compiler's help in proving +the absence of concurrency.") + (license license:asl2.0))) + (define-public rust-synom-0.11 (package (name "rust-synom") @@ -76274,8 +67084,51 @@ standard library.") "This package provides helper test traits for synstructure doctests.") (license license:expat))) +(define-public rust-syntect-5 + (package + (name "rust-syntect") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "syntect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14cg314vzabi45cdbqgcpav0dlx3d18blp24n3z8pl7q7cq4naz0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing files + #:cargo-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-fancy-regex" ,rust-fancy-regex-0.11) + ("rust-flate2" ,rust-flate2-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-onig" ,rust-onig-6) + ("rust-plist" ,rust-plist-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/trishume/syntect") + (synopsis "Library for syntax highlighting and code intelligence") + (description + "This package provides a library for syntax highlighting and code +intelligence using Sublime Text's grammars.") + (license license:expat))) + (define-public rust-syntect-4 (package + (inherit rust-syntect-5) (name "rust-syntect") (version "4.6.0") (source @@ -76286,7 +67139,6 @@ standard library.") (string-append name "-" version ".tar.gz")) (sha256 (base32 "0cd0rbi5r83p9pqph0gyj3vgr18ihh54amv9dvh0pvl0prdq284b")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;missing files #:cargo-inputs @@ -76310,13 +67162,7 @@ standard library.") ("rust-getopts" ,rust-getopts-0.2) ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/trishume/syntect") - (synopsis "Library for syntax highlighting and code intelligence") - (description - "This package provides a library for syntax highlighting and code -intelligence using Sublime Text's grammars.") - (license license:expat))) + ("rust-regex" ,rust-regex-1)))))) (define-public rust-syntex-errors-0.58 (package @@ -76400,17 +67246,20 @@ intelligence using Sublime Text's grammars.") (define-public rust-sys-info-0.9 (package (name "rust-sys-info") - (version "0.9.0") + (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "sys-info" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fiqhnj1rk69rahz4077lzs8x72gv4zcyknqdg7k359k97pfrz1k")))) + (base32 "0b759814ng0cj5a1iiqqjgrzfg9vqlpkbp6z3l76mycbp850sfhb")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=test::test_linux_os_release") #:cargo-inputs (("rust-cc" ,rust-cc-1) ("rust-libc" ,rust-libc-0.2)))) @@ -76448,20 +67297,44 @@ system or application with the relevant platform APIs. The library is also no_std compatible by default, only relying on alloc.") (license (list license:expat license:asl2.0)))) +(define-public rust-syscallz-0.17 + (package + (name "rust-syscallz") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "syscallz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19zc9rdjxhddbmnkdhk2aixh8csqv4rhbll78smvy471qdvxhpx0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-seccomp-sys" ,rust-seccomp-sys-0.1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25)) + #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))) + (inputs (list libseccomp)) + (home-page "https://github.com/kpcyrd/syscallz-rs") + (synopsis "Simple seccomp library for rust") + (description "Simple seccomp library for rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-syscallz-0.16 (package + (inherit rust-syscallz-0.17) (name "rust-syscallz") (version "0.16.2") (source (origin (method url-fetch) (uri (crate-uri "syscallz" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1bd6k8v52fwvzspz6g8rrlrc0wffcbx022xvi62bb0z5czrgf3qi")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) @@ -76470,41 +67343,59 @@ no_std compatible by default, only relying on alloc.") ("rust-strum" ,rust-strum-0.21) ("rust-strum-macros" ,rust-strum-macros-0.21)) #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))) - (inputs (list libseccomp)) - (home-page "https://github.com/kpcyrd/syscallz-rs") - (synopsis "Simple seccomp library for rust") - (description "Simple seccomp library for rust") - (license (list license:expat license:asl2.0)))) + (("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-sysctl-0.4 +(define-public rust-sysctl-0.5 (package (name "rust-sysctl") - (version "0.4.0") + (version "0.5.5") (source (origin (method url-fetch) (uri (crate-uri "sysctl" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0p6bfjsw3v12nb2qsgm6r9klwb5qyh4w55zzmccv8r5aqb8g0085")))) + (base32 "1sly34bm4w2vcfqgn7f6255pxwa2wa4vkzdrz2x0drgyy32xszgc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-failure" ,rust-failure-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-walkdir" ,rust-walkdir-2)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=ctl_value::tests_linux::ctl_value_string" + "--skip=sys::ctl_iter::tests::ctl_iter_below_compare_outputs") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)))) (home-page "https://github.com/johalun/sysctl-rs") (synopsis "Simplified interface to libc::sysctl") - (description - "Simplified interface to libc::sysctl.") + (description "This crate provides a safe interface for reading and writing +information to the kernel using the sysctl interface.") (license license:expat))) +(define-public rust-sysctl-0.4 + (package + (inherit rust-sysctl-0.5) + (name "rust-sysctl") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysctl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a6g8cb8c7wk0rsz6ixydbmaxhs0i8d3hmywd1qi1bfh08zlhpi2")))) + (arguments + `(#:cargo-test-flags `("--" + "--skip=ctl_value::tests_linux::ctl_value_string" + "--skip=sys::ctl_iter::tests::ctl_iter_below_compare_outputs") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)))))) + (define-public rust-sysctl-0.1 (package (inherit rust-sysctl-0.4) @@ -76526,17 +67417,17 @@ no_std compatible by default, only relying on alloc.") ("rust-errno" ,rust-errno-0.2) ("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-sysinfo-0.27 +(define-public rust-sysinfo-0.28 (package (name "rust-sysinfo") - (version "0.27.8") - (source (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cqy39g76298pqfr8jv30j6cxl9bpnd7c2smfxl5s2na1w2yj0m9")))) + (version "0.28.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06zk8awy8gjrk3w68wpkqyprm3j82vq1cibji6db5zlkcv5g7hml")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -76554,8 +67445,11 @@ no_std compatible by default, only relying on alloc.") ("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-tempfile" ,rust-tempfile-3)))) + #: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 @@ -76563,29 +67457,37 @@ no_std compatible by default, only relying on alloc.") processors, disks, components and networks.") (license license:expat))) -(define-public rust-sysinfo-0.15 +(define-public rust-sysinfo-0.27 (package - (inherit rust-sysinfo-0.27) + (inherit rust-sysinfo-0.28) (name "rust-sysinfo") - (version "0.15.11") + (version "0.27.8") (source (origin (method url-fetch) (uri (crate-uri "sysinfo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0n713rhayp28z8j4pviqcg4blcp1yfvniwa1ipinp75hyv7lq0nx")))) + "0cqy39g76298pqfr8jv30j6cxl9bpnd7c2smfxl5s2na1w2yj0m9")))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-ntapi" ,rust-ntapi-0.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))))) + `(#: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-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-sysinfo-0.23 (package @@ -76686,14 +67588,14 @@ processors, disks, components and networks.") (define-public rust-system-deps-6 (package (name "rust-system-deps") - (version "6.1.2") + (version "6.2.0") (source (origin (method url-fetch) (uri (crate-uri "system-deps" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mlpx2vzgcp39lfgr7ndwsf8vgjr6fs1h9cajk2am51g83wm5bwl")) + (base32 "0c836abhh3k8yn5ymg8wx383ay7n731gkrbbp3gma352yq7mhb9a")) (snippet #~(begin (delete-file "src/tests/lib/libteststatic.a"))))) (build-system cargo-build-system) @@ -76928,43 +67830,17 @@ memory all at once.") (description "Get information on compilation target.") (license license:cc0))) -(define-public rust-target-build-utils-0.3 - (package - (name "rust-target-build-utils") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "target_build_utils" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0p7713x4bpbwi11l196z1mi8ym8qj1cdnab1mm2ffpm2wi516g81")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-phf" ,rust-phf-0.7) - ("rust-serde-json" ,rust-serde-json-0.9) - ("rust-phf-codegen" ,rust-phf-codegen-0.7)))) - (home-page "https://github.com/nagisa/target_build_utils.rs") - (synopsis "Rust utility to handle TARGET environment variable") - (description - "Utility crate to handle the @code{TARGET} environment variable passed into -@code{build.rs} scripts.") - (license (list license:isc license:asl2.0)))) - (define-public rust-target-lexicon-0.12 (package (name "rust-target-lexicon") - (version "0.12.9") + (version "0.12.13") (source (origin (method url-fetch) (uri (crate-uri "target-lexicon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "180iwqwvdk586b1b27anfddq5zbfckisgi3yjhdzaqbsfp5pg3nz")))) + (base32 "1bmgpdq766zn61f16py0x9139fv314d054xkrkj9iw3q5vd8nxb9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -76976,6 +67852,20 @@ memory all at once.") tools.") (license license:asl2.0))) +(define-public rust-target-lexicon-0.11 + (package + (inherit rust-target-lexicon-0.12) + (name "rust-target-lexicon") + (version "0.11.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "target-lexicon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15gax4765vm2inh45m7cvaf4mgd2mb2mn0i87np0i1d95qhla822")))) + (arguments '()))) + (define-public rust-tectonic-bridge-core-0.3 (package (name "rust-tectonic-bridge-core") @@ -77610,9 +68500,6 @@ a C API.") (base32 "1z5yv6d9944md5zg6g0sbahv7xjga2k232x40x4l20kq8af1w7wj")))) (build-system cargo-build-system) - #; - (arguments - `(#:skip-build? #t)) (home-page "https://github.com/la10736/temp_testdir") (synopsis "Use a temp directory") (description @@ -77648,22 +68535,22 @@ deleting all contents when it's dropped.") (define-public rust-tempfile-3 (package (name "rust-tempfile") - (version "3.8.0") + (version "3.9.0") (source (origin (method url-fetch) (uri (crate-uri "tempfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vsl2193w3gpx3mwj36fwx3v6q2qyvmzrdn6m8fgfsjkrkrx556b")))) + (base32 "1ypkl7rvv57n16q28psxpb61rnyhmfaif12ascdnsyljm90l3kh1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-fastrand" ,rust-fastrand-2) - ("rust-redox-syscall" ,rust-redox-syscall-0.3) + ("rust-redox-syscall" ,rust-redox-syscall-0.4) ("rust-rustix" ,rust-rustix-0.38) - ("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)))) (home-page "https://stebalien.com/projects/tempfile-rs") @@ -77918,29 +68805,6 @@ 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 a library for formatting strings into a -grid layout.") - (license license:expat))) - (define-public rust-term-size-1 (package (name "rust-term-size") @@ -78010,14 +68874,14 @@ library.") (define-public rust-termcolor-1 (package (name "rust-termcolor") - (version "1.3.0") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "termcolor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r1byqaq6f97qd0wc7k09lza190apvj9301s2afsp6m6gp9vm4v0")))) + (base32 "0jfllflbxxffghlq6gx4csv0bv0qv77943dcx01h9zssy39w66zz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -78103,18 +68967,19 @@ writing colored text to a terminal.") (package (inherit rust-terminal-size-0.3) (name "rust-terminal-size") - (version "0.2.2") + (version "0.2.6") (source (origin (method url-fetch) (uri (crate-uri "terminal_size" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0yhza8sc6jkka6j0nq5sl749ckx1jagvxp3b38yhh4px6k291jj0")))) + "0drj7gb77kay5r1cv53ysq3g9g4f8n0jkhld0kadi3lzkvqzcswf")))) (arguments (list #:tests? #f ;tests require /dev/stderr #:cargo-inputs - `(("rust-rustix" ,rust-rustix-0.35)))))) + `(("rust-rustix" ,rust-rustix-0.35) + ("rust-windows-sys" ,rust-windows-sys-0.48)))))) (define-public rust-terminal-size-0.1 (package @@ -78162,21 +69027,21 @@ writing colored text to a terminal.") (define-public rust-termion-2 (package (name "rust-termion") - (version "2.0.1") + (version "2.0.3") (source (origin (method url-fetch) (uri (crate-uri "termion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "147c0a9l2dj4l8xhd7bb1f0f611lv6k0szacx3jwf21lkwviz735")))) + "0zcxsj2mms9hv8gizg2x3358ibjynzwvj5w6asr4683gxxyqqr64")))) (build-system cargo-build-system) (arguments (list #:tests? #f ;tests require a terminal #:cargo-inputs `(("rust-libc" ,rust-libc-0.2) + ("rust-libredox" ,rust-libredox-0.0.2) ("rust-numtoa" ,rust-numtoa-0.1) - ("rust-redox-syscall" ,rust-redox-syscall-0.2) ("rust-redox-termios" ,rust-redox-termios-0.1) ("rust-serde" ,rust-serde-1)))) (home-page "https://gitlab.redox-os.org/redox-os/termion") @@ -78189,7 +69054,7 @@ writing colored text to a terminal.") (package (inherit rust-termion-2) (name "rust-termion") - (version "1.5.5") + (version "1.5.6") (source (origin (method url-fetch) @@ -78197,13 +69062,13 @@ writing colored text to a terminal.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01f9787d5nx445bqbj644v38bn0hl2swwjy9baz0dnbqi6fyqb62")))) + "0zk023f0zkws358ll399cawvwdnd0wg8wad4g61kz766xbi8aw87")))) (arguments (list #:tests? #f ;tests require a terminal #:cargo-inputs `(("rust-libc" ,rust-libc-0.2) ("rust-numtoa" ,rust-numtoa-0.1) - ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-redox-syscall" ,rust-redox-syscall-0.2) ("rust-redox-termios" ,rust-redox-termios-0.1)))))) (define-public rust-termios-0.3 @@ -78276,14 +69141,14 @@ streams.") (define-public rust-test-case-3 (package (name "rust-test-case") - (version "3.1.0") + (version "3.3.1") (source (origin (method url-fetch) (uri (crate-uri "test-case" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1pr53g4x6gykfj4hvffivyd0aa0hj9pbfr87y8908sskvrxnw79a")))) + "1a380yzm6787737cw7s09jqmkn9035hghahradl2ikdg2gfm09gb")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all test files included. @@ -78292,7 +69157,7 @@ streams.") ("rust-test-case-macros" ,rust-test-case-macros-3)) #:cargo-development-inputs (("rust-insta" ,rust-insta-1) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-itertools" ,rust-itertools-0.11) ("rust-regex" ,rust-regex-1)))) (home-page "https://github.com/frondeus/test-case") (synopsis "Procedural macro attribute for parametrized test cases") @@ -78369,22 +69234,21 @@ into mod, giving clear and readable test results.") (define-public rust-test-case-core-3 (package (name "rust-test-case-core") - (version "3.1.0") + (version "3.3.1") (source (origin (method url-fetch) (uri (crate-uri "test-case-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vhckjjw4w1kaanhgy6bw8kdr8ligr68bz5nfbvr8xz2s7ar80yi")))) + "0krqi0gbi1yyycigyjlak63r8h1n0vms7mg3kckqwlfd87c7zjxd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-proc-macro-error" ,rust-proc-macro-error-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/frondeus/test-case") (synopsis "Core functionality for the test-case crate") (description @@ -78395,21 +69259,20 @@ procedural macro attribute for generating parametrized test cases easily") (define-public rust-test-case-macros-3 (package (name "rust-test-case-macros") - (version "3.1.0") + (version "3.3.1") (source (origin (method url-fetch) (uri (crate-uri "test-case-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "014l5wafp069d251c62flwyai8nv75vpjlmib2xc2m3a3i5s9fgf")))) + "1yvgky3qax73bic6m368q04xc955p4a91mddd6b5fk7d04mfg2aw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) + (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) + ("rust-syn" ,rust-syn-2) ("rust-test-case-core" ,rust-test-case-core-3)))) (home-page "https://github.com/frondeus/test-case") (synopsis "Macros for the test-case crate") @@ -78613,26 +69476,44 @@ strategies in proptest.") unstable language features.") (license (list license:expat license:asl2.0)))) +(define-public rust-tester-0.6 + (package + (inherit rust-tester-0.9) + (name "rust-tester") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tester" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kqynxab4g4qyhrmw8y7pzfn267q31wa7gbsirfkg17b6bbycivn")))) + (arguments + `(#:cargo-inputs (("rust-getopts" ,rust-getopts-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-term" ,rust-term-0.6)))))) + (define-public rust-tester-0.5 (package (inherit rust-tester-0.9) (name "rust-tester") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "tester" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1xkgapz2i4j977f6kh1zp6sa5llbhy5vbnr6kfj8czsrdjr2r0ay")))) + (base32 "1az6brh39ai1jcc6yy7xglwq8m65samkb31zr7lr18swrd2103fd")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::parse_ignored_flag" + "--skip=tests::parse_include_ignored_flag") #:cargo-inputs (("rust-getopts" ,rust-getopts-0.2) ("rust-libc" ,rust-libc-0.2) - ("rust-term" ,rust-term-0.4)))))) + ("rust-term" ,rust-term-0.6)))))) (define-public rust-testing-logger-0.1 (package @@ -78802,14 +69683,14 @@ handle Unicode characters correctly.") (define-public rust-thiserror-1 (package (name "rust-thiserror") - (version "1.0.50") + (version "1.0.56") (source (origin (method url-fetch) (uri (crate-uri "thiserror" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ll2sfbrxks8jja161zh1pgm3yssr7aawdmaa2xmcwcsbh7j39zr")))) + (base32 "1b9hnzngjan4d89zjs16i01bcpcnvdwklyh73lj16xk28p37hhym")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -78824,17 +69705,62 @@ handle Unicode characters correctly.") (description "This package provides @code{derive(Error)} in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-thiserror-core-1 + (package + (name "rust-thiserror-core") + (version "1.0.50") + (source + (origin + (method url-fetch) + (uri (crate-uri "thiserror-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16g9j00g7bn8q1wk2i5p5f88vrhr04igxisqpwngdqz5nwcfw0f0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `thiserror` + #:cargo-inputs (("rust-thiserror-core-impl" ,rust-thiserror-core-impl-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/FlorianUekermann/thiserror") + (synopsis "derive(Error)") + (description "This package provides @code{derive(Error)} in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-thiserror-core-impl-1 + (package + (name "rust-thiserror-core-impl") + (version "1.0.50") + (source + (origin + (method url-fetch) + (uri (crate-uri "thiserror-core-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "014xs0ajjzrc7pxafn1ys8i5f9s2iv5vjqvnrivs05b6ydlhvip4")))) + (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/FlorianUekermann/thiserror") + (synopsis "Implementation detail of the @code{thiserror} crate") + (description "Implementation detail of the @code{thiserror} crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-thiserror-impl-1 (package (name "rust-thiserror-impl") - (version "1.0.50") + (version "1.0.56") (source (origin (method url-fetch) (uri (crate-uri "thiserror-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f0lmam4765sfnwr4b1n00y14vxh10g0311mkk0adr80pi02wsr6")))) + (base32 "0w9ldp8fa574ilz4dn7y7scpcq66vdjy59qal8qdpwsh7faal3zs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -78951,25 +69877,6 @@ different for every thread.") `(#:skip-build? #t #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)))))) -(define-public rust-thread-local-0.3.4 - (package - (inherit rust-thread-local-0.3) - (name "rust-thread-local") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "thread_local" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "055vj0ddb6vh0zaqdlxssfqzzpgs4ll5l5j7nqvabdzfgasw95qn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-unreachable" ,rust-unreachable-1)))))) - (define-public rust-thread-local-0.2 (package (inherit rust-thread-local-0.3) @@ -79013,25 +69920,6 @@ different for every thread.") "Library for managing threads priority and schedule policies.") (license license:expat))) -(define-public rust-thread-priority-0.4 - (package - (inherit rust-thread-priority-0.10) - (name "rust-thread-priority") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "thread-priority" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ccidjv5ra017knav1h34bzlscpx856fhz7kln3zhszh3jpr8qqg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-thread-tree-0.3 (package (name "rust-thread-tree") @@ -79107,33 +69995,6 @@ fixed set of worker threads.") "This crate provides Rust bindings for the Apache Thrift RPC system.") (license license:asl2.0))) -(define-public rust-tiger-0.1 - (package - (name "rust-tiger") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiger" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01bhc7h8kxc5kjqx9sqrb3g8h4f9av6hpxzyihjq7pprphf56gj4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.9) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-digest" ,rust-digest-0.9)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hex-literal" ,rust-hex-literal-0.2)))) - (home-page "https://github.com/RustCrypto/hashes") - (synopsis "Tiger hash function") - (description - "This package provides the Tiger cryptographic hash function.") - (license (list license:expat license:asl2.0)))) - (define-public rust-tikv-jemalloc-sys-0.4 (package (name "rust-tikv-jemalloc-sys") @@ -79227,31 +70088,34 @@ introspection APIs.") (define-public rust-time-0.3 (package (name "rust-time") - (version "0.3.28") + (version "0.3.31") (source (origin (method url-fetch) (uri (crate-uri "time" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j3yl5q4w9vcw55hxxb1a3crls1w82v5dahicj7c4ifjgxavpxhp")))) + (base32 "0gjqcdsdbh0r5vi4c2vrj5a6prdviapx731wwn07cvpqqd1blmzn")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included - #:cargo-inputs (("rust-deranged" ,rust-deranged-0.3) - ("rust-itoa" ,rust-itoa-1) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-num-threads" ,rust-num-threads-0.1) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-time-core" ,rust-time-core-0.1) - ("rust-time-macros" ,rust-time-macros-0.2)) + #:cargo-inputs + (("rust-deranged" ,rust-deranged-0.3) + ("rust-itoa" ,rust-itoa-1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-threads" ,rust-num-threads-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-time-core" ,rust-time-core-0.1) + ("rust-time-macros" ,rust-time-macros-0.2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) ("rust-rand" ,rust-rand-0.8) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-test" ,rust-serde-test-1) @@ -79297,7 +70161,7 @@ interoperable with the standard library, and is mostly compatible with (define-public rust-time-0.1 (package (name "rust-time") - (version "0.1.43") + (version "0.1.45") (source (origin (method url-fetch) @@ -79305,14 +70169,26 @@ interoperable with the standard library, and is mostly compatible with (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0f14wrgxj7ya2v4msg5mni7046bsm2angm7cn3pd3yv04gpm12na")))) + "0nl0pzv9yf56djy8y5dx25nka5pr2q1ivlandb3d24pksgx7ly8v")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::test_asctime" + "--skip=tests::test_at" + "--skip=tests::test_ctime" + "--skip=tests::test_dst" + "--skip=tests::test_strftime") #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-redox-syscall" ,rust-redox-syscall-0.1) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-wasi" ,rust-wasi-0.10) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-log" ,rust-log-0.4) @@ -79350,13 +70226,13 @@ durations into strings. For example, \"1 hour ago\" or \"01hou\".") (define-public rust-time-core-0.1 (package (name "rust-time-core") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "time-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yz6d246zbmx9v6wpfg1jyfjlsgagirz7km96pr1mp6snkpzn03k")))) + (base32 "1wx3qizcihw6z151hywfzzyd1y5dl804ydyxci6qm07vbakpr4pg")))) (build-system cargo-build-system) (arguments '(#:tests? #f)) ; use of undeclared crate or module `time` (home-page "https://github.com/time-rs/time") @@ -79368,14 +70244,14 @@ should not be relied upon directly.") (define-public rust-time-macros-0.2 (package (name "rust-time-macros") - (version "0.2.14") + (version "0.2.16") (source (origin (method url-fetch) (uri (crate-uri "time-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wn52hwaq1hy4r5yijzkdi4j40zvqapbpcjsjdkyyy4l6d22z50s")))) + (base32 "0gx4ngf5g7ydqa8lf7kh9sy72rd4dhvpi31y1jvswi0288rpw696")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-time-core" ,rust-time-core-0.1)))) @@ -79477,17 +70353,17 @@ closures after a delay or at a given timestamp.") (define-public rust-timerfd-1 (package (name "rust-timerfd") - (version "1.2.0") + (version "1.5.0") (source (origin (method url-fetch) (uri (crate-uri "timerfd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14gwkm2c38bm76ccpp4g20qqs77h86d1l81594i76pb751k3xd8b")))) + (base32 "18jf23sh843nfvvcdg5gwmnfy099f6fhpnz8w9xmq2xdhdyx8grx")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + `(#:cargo-inputs (("rust-rustix" ,rust-rustix-0.37)))) (home-page "https://github.com/main--/rust-timerfd") (synopsis "Rust interface to the Linux kernel's @code{timerfd} API") (description @@ -79517,59 +70393,6 @@ closures after a delay or at a given timestamp.") manipulation in Rust.") (license license:expat))) -(define-public rust-tiny-http-0.12 - (package - (name "rust-tiny-http") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiny_http" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10nw9kk2i2aq4l4csy0825qkq0l66f9mz2c1n57yg8hkckgib69q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ascii" ,rust-ascii-1) - ("rust-chunked-transfer" ,rust-chunked-transfer-1) - ("rust-httparse" ,rust-httparse-1) - ("rust-httpdate" ,rust-httpdate-1) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)) - #:cargo-development-inputs - (("rust-fdlimit" ,rust-fdlimit-0.1) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-sha1" ,rust-sha1-0.6)))) - (home-page "https://github.com/tiny-http/tiny-http") - (synopsis "Low level HTTP server library") - (description "This package provides a low level HTTP server library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-tiny-http-0.6 - (package - (inherit rust-tiny-http-0.12) - (name "rust-tiny-http") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tiny_http" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ascii" ,rust-ascii-0.8) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-chunked-transfer" ,rust-chunked-transfer-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-url" ,rust-url-1)))))) - (define-public rust-tiny-keccak-2 (package (name "rust-tiny-keccak") @@ -79593,24 +70416,34 @@ manipulation in Rust.") specified in FIPS-202, SP800-185 and KangarooTwelve.") (license license:cc0))) -(define-public rust-tiny-keccak-1 +(define-public rust-tiny-skia-0.11 (package - (inherit rust-tiny-keccak-2) - (name "rust-tiny-keccak") - (version "1.5.0") + (name "rust-tiny-skia") + (version "0.11.3") (source (origin (method url-fetch) - (uri (crate-uri "tiny-keccak" version)) + (uri (crate-uri "tiny-skia" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1chiisrsql4pfwh5r7nz055ciqj7ch24m0nvrr6a8x5vd4f052hx")))) + (base32 "03g8qyv5bdi0dbgbmkz68z46kzshb0lcym52wvy96s2716w6g85n")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-crunchy" ,rust-crunchy-0.2)))))) + `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-log" ,rust-log-0.4) + ("rust-png" ,rust-png-0.17) + ("rust-tiny-skia-path" ,rust-tiny-skia-path-0.11)))) + (home-page "https://github.com/RazrFalcon/tiny-skia") + (synopsis "Skia subset ported to Rust") + (description "This package provides a tiny Skia subset ported to Rust.") + (license license:bsd-3))) (define-public rust-tiny-skia-0.8 (package + (inherit rust-tiny-skia-0.11) (name "rust-tiny-skia") (version "0.8.4") (source (origin @@ -79620,7 +70453,6 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.") (sha256 (base32 "0rvapxnksdjy1rnzjlvi6dqijz843y9m2dv107ln24230fi9716z")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) @@ -79628,14 +70460,55 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.") ("rust-bytemuck" ,rust-bytemuck-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-png" ,rust-png-0.17) - ("rust-tiny-skia-path" ,rust-tiny-skia-path-0.8)))) - (home-page "https://github.com/RazrFalcon/tiny-skia") - (synopsis "Skia subset ported to Rust") - (description "This package provides a tiny Skia subset ported to Rust.") + ("rust-tiny-skia-path" ,rust-tiny-skia-path-0.8)))))) + +(define-public rust-tiny-skia-0.7 + (package + (inherit rust-tiny-skia-0.11) + (name "rust-tiny-skia") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny-skia" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10mzi6x57w6s0k812zww1kx3dl8yprh1q64x9dpb35dqkdb809k4")))) + (arguments + `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-png" ,rust-png-0.17) + ("rust-safe-arch" ,rust-safe-arch-0.5) + ("rust-tiny-skia-path" ,rust-tiny-skia-path-0.7)))))) + +(define-public rust-tiny-skia-path-0.11 + (package + (name "rust-tiny-skia-path") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny-skia-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hg5a0i7f505l3ix5a9ywjhjbsgqq856hwgic6pslaq5j255xqsx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-libm" ,rust-libm-0.2) + ("rust-strict-num" ,rust-strict-num-0.1)))) + (home-page "https://github.com/RazrFalcon/tiny-skia/tree/master/path") + (synopsis "Tiny-skia Bezier path implementation") + (description + "This package provides a tiny-skia Bezier path implementation.") (license license:bsd-3))) (define-public rust-tiny-skia-path-0.8 (package + (inherit rust-tiny-skia-path-0.11) (name "rust-tiny-skia-path") (version "0.8.4") (source (origin @@ -79645,18 +70518,29 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.") (sha256 (base32 "0z37bzd222q3dlahmaxp2mf1pg5v9qyz3x0j3phs0myxyg9vbgxd")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) ("rust-bytemuck" ,rust-bytemuck-1) ("rust-libm" ,rust-libm-0.2) - ("rust-strict-num" ,rust-strict-num-0.1)))) - (home-page "https://github.com/RazrFalcon/tiny-skia/path") - (synopsis "Tiny-skia Bezier path implementation") - (description - "This package provides a tiny-skia Bezier path implementation.") - (license license:bsd-3))) + ("rust-strict-num" ,rust-strict-num-0.1)))))) + +(define-public rust-tiny-skia-path-0.7 + (package + (inherit rust-tiny-skia-path-0.11) + (name "rust-tiny-skia-path") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny-skia-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v7sf1g9avk91npxk41byswpm5msz8yh3jv7adc3vr1f1hpx6561")))) + (arguments + `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-libm" ,rust-libm-0.2)))))) (define-public rust-tinyfiledialogs-3 (package @@ -79861,14 +70745,14 @@ tinyobjloader.") (define-public rust-tokio-1 (package (name "rust-tokio") - (version "1.32.0") + (version "1.35.1") (source (origin (method url-fetch) (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yck1349q23l22bgxcbqd3wkaffw2vmkf7z26m3wgmkcxmvn1v8p")))) + (base32 "01613rkziqp812a288ga65aqygs254wgajdi57v8brivjkx4x6y8")))) (build-system cargo-build-system) (arguments (list #:tests? #f ; unresolved imports `crate::runtime::task` @@ -79892,7 +70776,7 @@ tinyobjloader.") ("rust-loom" ,rust-loom-0.7) ("rust-mio-aio" ,rust-mio-aio-0.7) ("rust-mockall" ,rust-mockall-0.11) - ("rust-nix" ,rust-nix-0.26) + ("rust-nix" ,rust-nix-0.27) ("rust-rand" ,rust-rand-0.8) ("rust-socket2" ,rust-socket2-0.5) ("rust-tempfile" ,rust-tempfile-3) @@ -79948,16 +70832,16 @@ writing asynchronous I/O backed applications.") (package (inherit rust-tokio-0.3) (name "rust-tokio") - (version "0.2.21") + (version "0.2.25") (source (origin (method url-fetch) (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0n1dxsjv9fxv3kmr3nh4n8v8pqckwgdlls942msysavhp4kzm6fh")))) + (base32 "14l0rll6y1dyzh6qcd8rma2ch3wx0dxzxq8b54di744sjirs40v7")))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; failed to resolve: could not find `test` in `tokio` #:cargo-inputs (("rust-bytes" ,rust-bytes-0.5) ("rust-fnv" ,rust-fnv-1) @@ -79970,7 +70854,7 @@ writing asynchronous I/O backed applications.") ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1) ("rust-mio-uds" ,rust-mio-uds-0.6) ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parking-lot" ,rust-parking-lot-0.10) + ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-pin-project-lite" ,rust-pin-project-lite-0.1) ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-slab" ,rust-slab-0.4) @@ -79978,6 +70862,7 @@ writing asynchronous I/O backed applications.") ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-test" ,rust-futures-test-0.3) ("rust-loom" ,rust-loom-0.3) ("rust-proptest" ,rust-proptest-0.9) ("rust-tempfile" ,rust-tempfile-3) @@ -80345,14 +71230,14 @@ operations.") (define-public rust-tokio-macros-2 (package (name "rust-tokio-macros") - (version "2.1.0") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "tokio-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pk7y9dfanab886iaqwcbri39jkw33kgl7y07v0kg1pp8prdq2v3")))) + (base32 "0fwjy4vdx1h9pi4g2nml72wi0fr27b5m954p13ji9anyy8l1x2jv")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--lib") @@ -80755,19 +71640,75 @@ futures.") "Event loop that drives Tokio I/O resources.") (license license:expat))) +(define-public rust-tokio-rustls-0.25 + (package + (name "rust-tokio-rustls") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03w6d5aqqf084rmcmrsyq5grhydl53blaiqcl0i2yfnv187hqpkp")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Issue with the certificate test dates. + #:cargo-inputs (("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-tokio" ,rust-tokio-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) + (home-page "https://github.com/tokio-rs/tls") + (synopsis "Asynchronous TLS/SSL streams for Tokio") + (description + "This package provides asynchronous TLS/SSL streams for Tokio using +Rustls.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tokio-rustls-0.24 + (package + (inherit rust-tokio-rustls-0.25) + (name "rust-tokio-rustls") + (version "0.24.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10bhibg57mqir7xjhb2xmf24xgfpx6fzpyw720a4ih8a737jg0y2")))) + (arguments + `(#:tests? #f ; Issue with the certificate test dates. + #:cargo-inputs + (("rust-rustls" ,rust-rustls-0.21) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-argh" ,rust-argh-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.100) + ("rust-tokio" ,rust-tokio-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.23)))))) + (define-public rust-tokio-rustls-0.23 (package + (inherit rust-tokio-rustls-0.24) (name "rust-tokio-rustls") (version "0.23.4") (source (origin (method url-fetch) (uri (crate-uri "tokio-rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0nfsmmi8l1lgpbfy6079d5i13984djzcxrdr9jc06ghi0cwyhgn4")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Issue with the certificate test dates. #:cargo-inputs @@ -80779,15 +71720,7 @@ futures.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) ("rust-tokio" ,rust-tokio-1) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)))) - (native-inputs - (list perl)) - (home-page "https://github.com/tokio-rs/tls") - (synopsis "Asynchronous TLS/SSL streams for Tokio") - (description - "This package provides asynchronous TLS/SSL streams for Tokio using -Rustls.") - (license (list license:expat license:asl2.0)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)))))) (define-public rust-tokio-rustls-0.22 (package @@ -80911,7 +71844,7 @@ Rustls.") "1jd63sl177sxacnksaxhazzmamwds98xk3niprh2qib75a1rk8cm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 + `(#:tests? #f ; Bundled test certificates expired #:cargo-inputs (("rust-bytes" ,rust-bytes-0.4) ("rust-futures" ,rust-futures-0.1) @@ -81315,29 +72248,72 @@ implementation of TLS for nonblocking I/O streams.") ("rust-security-framework" ,rust-security-framework-0.2) ("rust-tokio" ,rust-tokio-0.1)))))) -(define-public rust-tokio-trace-core-0.2 +(define-public rust-tokio-tungstenite-0.20 (package - (name "rust-tokio-trace-core") - (version "0.2.0") + (name "rust-tokio-tungstenite") + (version "0.20.1") (source (origin (method url-fetch) - (uri (crate-uri "tokio-trace-core" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "04y6c2r4ddzk02xb3hn60s9a1w92h0g8pzmxwaspqvwmsrba5j59")))) + (base32 "0v1v24l27hxi5hlchs7hfd5rgzi167x0ygbw220nvq0w5b5msb91")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1)))) - (home-page "https://tokio.rs") - (synopsis "Core primitives for tokio-trace") - (description "Core primitives for tokio-trace.") + `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tungstenite" ,rust-tungstenite-0.20) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/snapview/tokio-tungstenite") + (synopsis "Tokio binding for Tungstenite") + (description + "This package provides Tokio binding for Tungstenite, the lightweight +stream-based @code{WebSocket} implementation.") (license license:expat))) +(define-public rust-tokio-tungstenite-0.19 + (package + (inherit rust-tokio-tungstenite-0.20) + (name "rust-tokio-tungstenite") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b5iqjsprll88912jqb36xbjcflmgl907w3lgi14634sdv4rll7c")))) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tungstenite" ,rust-tungstenite-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.23)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures-channel", rust-futures-channel-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))))) + (define-public rust-tokio-tungstenite-0.11 (package (name "rust-tokio-tungstenite") @@ -81471,28 +72447,37 @@ stream-based WebSocket implementation.") (define-public rust-tokio-util-0.7 (package (name "rust-tokio-util") - (version "0.7.4") + (version "0.7.10") (source (origin (method url-fetch) (uri (crate-uri "tokio-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h67jb56bsxy4pi1a41pda8d52569ci5clvqv3c6cg9vy1sy1chb")))) + (base32 "058y6x4mf0fsqji9rfyb77qbfyc50y4pk2spqgj6xsyr693z66al")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; unresolved import `tokio_util::codec` #:cargo-inputs (("rust-bytes" ,rust-bytes-1) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-sink" ,rust-futures-sink-0.3) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-slab" ,rust-slab-0.4) ("rust-tokio" ,rust-tokio-1) - ("rust-tracing" ,rust-tracing-0.1)))) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-test" ,rust-futures-test-0.3) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) (home-page "https://tokio.rs") (synopsis "Additional utilities for working with Tokio") (description @@ -81661,21 +72646,21 @@ stream-based WebSocket implementation.") (define-public rust-toml-0.8 (package (name "rust-toml") - (version "0.8.5") + (version "0.8.8") (source (origin (method url-fetch) (uri (crate-uri "toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "007qybpfp0n0j780d6lldvsy9m9vjx6lxkkwak63jlwdqwkz3yiy")))) + (base32 "0ddbahcrrxf9374mkn3c1h2a2g6a883qx23kywl6k8lxikn9b8d1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) ("rust-serde" ,rust-serde-1) ("rust-serde-spanned" ,rust-serde-spanned-0.6) ("rust-toml-datetime" ,rust-toml-datetime-0.6) - ("rust-toml-edit" ,rust-toml-edit-0.20)) + ("rust-toml-edit" ,rust-toml-edit-0.21)) #:cargo-development-inputs (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) @@ -81847,17 +72832,17 @@ serializing Rust structures.") (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))))) -(define-public rust-toml-edit-0.20 +(define-public rust-toml-edit-0.21 (package (name "rust-toml-edit") - (version "0.20.5") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "toml_edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "119aw7xa5dykicrd9l1ngxpzgb3jajbyh1alhpkw2qgpvp1gcavq")))) + (base32 "00xa3qfk34qazvnkfxyyyqqc6nyl2ksks1c5bd53n5has0y3hkfk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) @@ -81878,6 +72863,32 @@ serializing Rust structures.") parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-toml-edit-0.20 + (package + (inherit rust-toml-edit-0.21) + (name "rust-toml-edit") + (version "0.20.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "toml_edit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10bdyrl1yj5jxkiqfa2fyx9inlzlm7s8nf1jnysp4k6qwky2gx3h")))) + (arguments + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-kstring" ,rust-kstring-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-spanned" ,rust-serde-spanned-0.6) + ("rust-toml-datetime" ,rust-toml-datetime-0.6) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs + (("rust-libtest-mimic" ,rust-libtest-mimic-0.6) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-toml-test-data" ,rust-toml-test-data-1) + ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))))) + (define-public rust-toml-edit-0.19 (package (inherit rust-toml-edit-0.20) @@ -82068,280 +73079,41 @@ parser.") (description "Cargo test harness for verifying TOML parsers.") (license (list license:expat license:asl2.0)))) -(define-public rust-tonic-0.6 +(define-public rust-topology-traits-0.1 (package - (name "rust-tonic") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tonic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02jxiy0n2mw2c1fchykj3m18wp986685bji26px0z9qhkmjg827z")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; unresolved import `crate::codec::compression` - #:cargo-inputs - (("rust-async-stream" ,rust-async-stream-0.3) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-base64" ,rust-base64-0.13) - ("rust-bytes" ,rust-bytes-1) - ("rust-flate2" ,rust-flate2-1) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-h2" ,rust-h2-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-http-body" ,rust-http-body-0.4) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-hyper-timeout" ,rust-hyper-timeout-0.4) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-prost" ,rust-prost-0.9) - ("rust-prost-derive" ,rust-prost-derive-0.9) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) - ("rust-tokio-stream" ,rust-tokio-stream-0.1) - ("rust-tokio-util" ,rust-tokio-util-0.6) - ("rust-tower" ,rust-tower-0.4) - ("rust-tower-layer" ,rust-tower-layer-0.3) - ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-static-assertions" ,rust-static-assertions-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tower" ,rust-tower-0.4)))) - (home-page "https://github.com/hyperium/tonic") - (synopsis "gRPC over HTTP/2 implementation for Rust") - (description - "This package provides a gRPC over HTTP/2 implementation focused on high -performance, interoperability, and flexibility.") - (license license:expat))) - -(define-public rust-totp-lite-1 - (package - (name "rust-totp-lite") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "totp-lite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/fosskers/totp-lite") - (synopsis "Simple, correct TOTP library") - (description "Rust-totp-lite provides a simple, correct time-based -One-Time Password library.") - (license license:expat))) - -(define-public rust-tower-0.4 - (package - (name "rust-tower") - (version "0.4.13") + (name "rust-topology-traits") + (version "0.1.2") (source (origin (method url-fetch) - (uri (crate-uri "tower" version)) + (uri (crate-uri "topology-traits" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "073wncyqav4sak1p755hf6vl66njgfc1z1g1di9rxx3cvvh9pymq")))) + (base32 "0cj03w5h0yp3mfrpry5llyj5clmmj8q6xz9vbl8k07jk52sdmj60")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; no method named `map_request` found for struct `ServiceBuilder` - #:cargo-inputs - (("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hdrhistogram" ,rust-hdrhistogram-7) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-rand" ,rust-rand-0.8) - ("rust-slab" ,rust-slab-0.4) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-stream" ,rust-tokio-stream-0.1) - ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-tower-layer" ,rust-tower-layer-0.3) - ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-tracing" ,rust-tracing-0.1)) - #:cargo-development-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-hdrhistogram" ,rust-hdrhistogram-7) - ("rust-http" ,rust-http-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-stream" ,rust-tokio-stream-0.1) - ("rust-tokio-test" ,rust-tokio-test-0.4) - ("rust-tower-test" ,rust-tower-test-0.4) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Library for building clients and servers") + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/NicolasKlenert/topology-traits") + (synopsis "Topological traits for generic mathematics in Rust") (description - "Tower is a library of modular and reusable components for building -robust clients and servers.") - (license license:expat))) - -(define-public rust-tower-layer-0.3 - (package - (name "rust-tower-layer") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tower-layer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1l7i17k9vlssrdg4s3b0ia5jjkmmxsvv8s9y9ih0jfi8ssz8s362")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=layer_fn::layer_fn") - #:cargo-development-inputs - (("rust-tower" ,rust-tower-0.4) - ("rust-tower-service" ,rust-tower-service-0.3)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Easy composition between @code{Service}s") - (description "This package decorates a @code{Service} to allow easy -composition between @code{Service}s.") - (license license:expat))) - -(define-public rust-tower-service-0.3 - (package - (name "rust-tower-service") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tower-service" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0lmfzmmvid2yp2l36mbavhmqgsvzqf7r2wiwz73ml4xmwaf1rg5n")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-tower-layer" ,rust-tower-layer-0.3)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Asynchronous, request / response based, client or server") - (description "This package provides a trait representing an asynchronous, -request/response based, client or server.") - (license license:expat))) - -(define-public rust-tower-test-0.4 - (package - (name "rust-tower-test") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tower-test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19zgjwzr9216yg1ayrnsly06lqdv96m2z1xq0bmf9fgazxrnfm54")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-futures-util" ,rust-futures-util-0.3) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-test" ,rust-tokio-test-0.4) - ("rust-tower-layer" ,rust-tower-layer-0.3) - ("rust-tower-service" ,rust-tower-service-0.3)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Utilities for writing client and server @code{Service} tests") - (description "This package provides utilities for writing client and -server @code{Service} tests.") - (license license:expat))) - -(define-public rust-tower-test-0.3 - (package - (inherit rust-tower-test-0.4) - (name "rust-tower-test") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tower-test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j2k07g3z8ascq7r30bmw3b75v8lhd63mhfl60y59a74q71bp94v")))) - (arguments - `(#:cargo-inputs - (("rust-futures-util" ,rust-futures-util-0.3) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-test" ,rust-tokio-test-0.2) - ("rust-tower-layer" ,rust-tower-layer-0.3) - ("rust-tower-service" ,rust-tower-service-0.3)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.2)))))) - -(define-public rust-tower-util-0.3 - (package - (name "rust-tower-util") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tower-util" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x4np2s7h891spvxaarcyainj12a7gvnh7jif9y80cvdh8ckq2fi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-tower-service" ,rust-tower-service-0.3)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-test" ,rust-tokio-test-0.2) - ("rust-tower-test" ,rust-tower-test-0.3)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Utilities for working with @code{Service}") - (description "This package provides utilities for working with -@code{Service}.") - (license license:expat))) + "This package provides topological traits for generic mathematics in +Rust.") + (license (list license:expat license:asl2.0)))) (define-public rust-tracing-0.1 (package (name "rust-tracing") - (version "0.1.38") + (version "0.1.40") (source (origin (method url-fetch) (uri (crate-uri "tracing" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kc1mpsh00l2zd9wryf1jyzwvilmbjdg5dmnn240rx6k2flgd76g")))) + (base32 "1vv48dac9zgj9650pg2b4d0j3w6f3x9gbggf43scq5hrlysklln3")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; unresolved import `tracing_mock` #:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) @@ -82361,7 +73133,7 @@ programs to collect structured, event-based diagnostic information.") (define-public rust-tracing-attributes-0.1 (package (name "rust-tracing-attributes") - (version "0.1.26") + (version "0.1.27") (source (origin (method url-fetch) @@ -82369,10 +73141,10 @@ programs to collect structured, event-based diagnostic information.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ax44ldpbcb7dsvpljiv2krnx6xp0hs85zcyv8385sarc7sk2ksz")))) + "1rvb5dn9z6d0xdj14r403z0af0bbaqhg02hq4jc97g5wds6lqw1l")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; unresolved import `tracing_mock` #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) @@ -82390,10 +73162,36 @@ programs to collect structured, event-based diagnostic information.") automatically instrumenting functions.") (license license:expat))) +(define-public rust-tracing-chrome-0.7 + (package + (name "rust-tracing-chrome") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-chrome" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06pl66wzskcb0wkl2z99vw500ajlmmqv06dzpckzazvz8kakqss9")))) + (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) + ("rust-rayon" ,rust-rayon-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/thoren-d/tracing-chrome") + (synopsis "Layer for tracing-subscriber that outputs Chrome-style traces") + (description + "This package provides a Layer for tracing-subscriber that outputs +Chrome-style traces.") + (license license:expat))) + (define-public rust-tracing-core-0.1 (package (name "rust-tracing-core") - (version "0.1.31") + (version "0.1.32") (source (origin (method url-fetch) @@ -82401,7 +73199,7 @@ automatically instrumenting functions.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "16pp28izw9c41m7c55qsghlz07r9ark8lzd3x6ig3xhxg89vhm89")))) + "0m5aglin3cdwxpvbg6kz0r9r0k31j48n0kcfwsp6l49z26k3svf0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -82468,34 +73266,28 @@ automatically instrumenting functions.") @code{futures} with @code{tracing}.") (license license:expat))) -(define-public rust-tracing-log-0.1 +(define-public rust-tracing-log-0.2 (package (name "rust-tracing-log") - (version "0.1.3") + (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "tracing-log" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "08prnkxq8yas6jvvjnvyx5v3hwblas5527wxxgbiw2yis8rsvpbq")))) + (base32 "1hs77z026k730ij1a9dhahzrl0s073gfa2hm5p0fbl0b80gmz1gf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-lru" ,rust-lru-0.7) - ("rust-tracing-core" ,rust-tracing-core-0.1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-tracing" ,rust-tracing-0.1)))) + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-lru" ,rust-lru-0.7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tracing-core" ,rust-tracing-core-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-tracing" ,rust-tracing-0.1)))) (home-page "https://tokio.rs") - (synopsis - "Provides compatibility between tracing the log crates") + (synopsis "Provides compatibility between the tracing and the log crate") (description "Tracing is a framework for instrumenting Rust programs with context-aware, structured, event-based diagnostic information. This crate @@ -82514,6 +73306,28 @@ with tracing (optional, enabled by the env-logger feature). @end itemize") (license license:expat))) +(define-public rust-tracing-log-0.1 + (package + (inherit rust-tracing-log-0.2) + (name "rust-tracing-log") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08prnkxq8yas6jvvjnvyx5v3hwblas5527wxxgbiw2yis8rsvpbq")))) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru" ,rust-lru-0.7) + ("rust-tracing-core" ,rust-tracing-core-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-tracing" ,rust-tracing-0.1)))))) + (define-public rust-tracing-serde-0.1 (package (name "rust-tracing-serde") @@ -82545,44 +73359,45 @@ with @code{serde}.") (define-public rust-tracing-subscriber-0.3 (package (name "rust-tracing-subscriber") - (version "0.3.17") + (version "0.3.18") (source (origin (method url-fetch) (uri (crate-uri "tracing-subscriber" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xvwfpmb943hdy4gzyn7a2azgigf30mfd1kx10gyh5gr6yy539ih")))) + (base32 "12vs1bwk4kig1l2qqjbbn2nm5amwiqmkcmnznylzmnfvjy6083xd")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `tracing_mock` - #:cargo-inputs - (("rust-matchers" ,rust-matchers-0.1) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.46) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sharded-slab" ,rust-sharded-slab-0.1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thread-local" ,rust-thread-local-1) - ("rust-time" ,rust-time-0.3) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-core" ,rust-tracing-core-0.1) - ("rust-tracing-log" ,rust-tracing-log-0.1) - ("rust-tracing-serde" ,rust-tracing-serde-0.1) - ("rust-valuable" ,rust-valuable-0.1) - ("rust-valuable-serde" ,rust-valuable-serde-0.1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-time" ,rust-time-0.3) - ("rust-tokio" ,rust-tokio-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-tracing-log" ,rust-tracing-log-0.1)))) + `(#:tests? #f ; use of undeclared crate or module `tracing_mock` + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-matchers" ,rust-matchers-0.1) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.46) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sharded-slab" ,rust-sharded-slab-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thread-local" ,rust-thread-local-1) + ("rust-time" ,rust-time-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.2) + ("rust-tracing-serde" ,rust-tracing-serde-0.1) + ("rust-valuable" ,rust-valuable-0.1) + ("rust-valuable-serde" ,rust-valuable-serde-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-tracing-log" ,rust-tracing-log-0.1)))) (home-page "https://tokio.rs") (synopsis "Implement and compose tracing subscribers") (description @@ -82639,6 +73454,33 @@ application authors using tracing to instrument their applications.") ("rust-tracing-futures" ,rust-tracing-futures-0.2) ("rust-tracing-log" ,rust-tracing-log-0.1)))))) +(define-public rust-tracing-tracy-0.4 + (package + (name "rust-tracing-tracy") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-tracy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02j8rrxkk9js8bvjsxlcadi30fm0vcbk7hrwjww2m119izha0s5n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2) + ("rust-tracy-client" ,rust-tracy-client-0.10)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-attributes" ,rust-tracing-attributes-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2)))) + (home-page "https://github.com/nagisa/rust_tracy_client") + (synopsis "Inspect tracing-enabled Rust applications with Tracy") + (description "Inspect tracing-enabled Rust applications with Tracy.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tracing-tree-0.2 (package (name "rust-tracing-tree") @@ -82720,6 +73562,83 @@ to mechanisms like backtracing.") be used directly. See @code{rust-trackable} for more information.") (license license:expat))) +(define-public rust-tracy-client-0.16 + (package + (name "rust-tracy-client") + (version "0.16.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracy-client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11r99m26nknihnagamf3fnx4jmbr8259i1yx1xjfjbqi61q6nzih")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-loom" ,rust-loom-0.7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tracy-client-sys" ,rust-tracy-client-sys-0.22)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/nagisa/rust_tracy_client") + (synopsis + "High level bindings to the client libraries for the Tracy profiler") + (description + "High level bindings to the client libraries for the Tracy profiler.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tracy-client-0.10 + (package + (inherit rust-tracy-client-0.16) + (name "rust-tracy-client") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracy-client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lx4rs19i1cm4klmpxi4cgj1alhibwcql6q1a153apm0gjrwv34y")))) + (arguments + `(#:cargo-inputs (("rust-tracy-client-sys" ,rust-tracy-client-sys-0.11)))))) + +;; TODO: Unbundle tracy-0.10 +(define-public rust-tracy-client-sys-0.22 + (package + (name "rust-tracy-client-sys") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracy-client-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17bc4zbsvix9vim2kw1vfn6y3zzc1spzg9vijqvf9c2147bpx307")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/nagisa/rust_tracy_client") + (synopsis + "Low level bindings to the client libraries for the Tracy profiler") + (description + "Low level bindings to the client libraries for the Tracy profiler.") + (license (list license:expat license:asl2.0 license:bsd-3)))) + +;; TODO: Unbundle tracy-0.7 +(define-public rust-tracy-client-sys-0.11 + (package + (inherit rust-tracy-client-sys-0.22) + (name "rust-tracy-client-sys") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracy-client-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18l67jx96m5bd3gq6inl59q5fhzcj9maiaxm588bcmc1hzvz1rhy")))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) + (define-public rust-traitobject-0.1 (package (name "rust-traitobject") @@ -82742,14 +73661,15 @@ be used directly. See @code{rust-trackable} for more information.") (define-public rust-trash-2 (package (name "rust-trash") - (version "2.1.3") + (version "2.1.5") (source (origin (method url-fetch) (uri (crate-uri "trash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14ji8b84ghwkln01v90ahhl2jkxv2qxkm0afprzphf1ln41k6nqi")))) + (base32 "0djjjvvpxhx4li3y0jp1q48xabvazzif8g7z6110rm4chikh62gy")) + (patches (search-patches "rust-trash-2-update-windows.patch")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -82760,7 +73680,7 @@ be used directly. See @code{rust-trackable} for more information.") ("rust-once-cell" ,rust-once-cell-1) ("rust-scopeguard" ,rust-scopeguard-1) ("rust-url" ,rust-url-2) - ("rust-windows" ,rust-windows-0.9)) + ("rust-windows" ,rust-windows-0.44)) #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-env-logger" ,rust-env-logger-0.9) @@ -82774,6 +73694,54 @@ be used directly. See @code{rust-trackable} for more information.") recycle bin.") (license license:expat))) +(define-public rust-tree-magic-db-3 + (package + (name "rust-tree-magic-db") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tree_magic_db" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00kzsn98cv0r7yzwi2dcm0fzpbxmc7pxijhb5dgb3cr7ai5c4gz7")))) + (build-system cargo-build-system) + (home-page "https://docs.rs/tree_magic_db") + (synopsis "Packages the FreeDesktop.org shared MIME database") + (description + "Packages the @code{FreeDesktop.org} shared MIME database for optional use with +tree_magic_mini.") + (license license:gpl2+))) + +(define-public rust-tree-magic-mini-3 + (package + (name "rust-tree-magic-mini") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tree_magic_mini" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vdazv3y1iggriwx5ksin72c2ds0xjdhx1yvmd5nxkya0w3gvbci")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs (("rust-bytecount" ,rust-bytecount-0.6) + ("rust-fnv" ,rust-fnv-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-tree-magic-db" ,rust-tree-magic-db-3)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://github.com/mbrubeck/tree_magic/") + (synopsis + "Determines the MIME type of a file by traversing a filetype tree") + (description + "Determines the MIME type of a file by traversing a filetype tree.") + (license license:expat))) + (define-public rust-tree-magic-0.2 (package (name "rust-tree-magic") @@ -82885,935 +73853,6 @@ etc. distance calculations and string search.") (sha256 (base32 "0v795l496crk3h6yff9zh1cjyrh5s9v23fbgccc4dpz25z70jav2")))))) -(define-public rust-trust-dns-client-0.22 - (package - (name "rust-trust-dns-client") - (version "0.22.0") - (source (origin - (method url-fetch) - (uri (crate-uri "trust-dns-client" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1znkfhzwikii6v9k98ccbn3krwic1xs3bknf6y0b7nx9wqr8qh3c")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests require network access. - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-radix-trie" ,rust-radix-trie-0.2) - ("rust-rand" ,rust-rand-0.8) - ("rust-ring" ,rust-ring-0.16) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3) - ("rust-tokio" ,rust-tokio-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.22) - ("rust-webpki" ,rust-webpki-0.22)) - #:cargo-development-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-1) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)) - (home-page "https://trust-dns.org/") - (synopsis "DNS library with DNSSEC support") - (description - "Trust-DNS is a DNS library. This is the Client library with DNSSEC -support. DNSSEC with NSEC validation for negative records, is complete. The -client supports dynamic DNS with SIG0 authenticated requests, implementing -easy to use high level funtions. Trust-DNS is based on the Tokio and Futures -libraries, which means it should be easily integrated into other software that -also use those libraries.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-https-0.20 - (package - (name "rust-trust-dns-https") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-https" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19f0l1illl69ycb97652rjrjppilz2pz7l9572lrjpkasffgcqr6")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-h2" ,rust-h2-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))) - (home-page "https://www.trust-dns.org/index.html") - (synopsis "DNS over HTTPS extension for the Trust-DNS client") - (description - "Trust-DNS is a safe and secure DNS library. This is an extension for -the Trust-DNS client to use DNS over HTTPS.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-https-0.19 - (package - (inherit rust-trust-dns-https-0.20) - (name "rust-trust-dns-https") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-https" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0s6yiqy98wddc2vid0dypj4cdnvycd4vrrj6l9s7yymq0iqpky5g")))) - (arguments - `(#:tests? #false - #:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-futures" ,rust-futures-0.3) - ("rust-h2" ,rust-h2-0.2) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.17) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.19) - ("rust-typed-headers" ,rust-typed-headers-0.2) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.19)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-futures" ,rust-futures-0.3)))) - (native-inputs (list perl)))) - -(define-public rust-trust-dns-https-0.18 - (package - (inherit rust-trust-dns-https-0.19) - (name "rust-trust-dns-https") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-https" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03dapd5larsjlpk6mr4xnm2sb0h7l6dg988wjnaxd8zfi5swq5nl")))) - (arguments - `(#:tests? #false ;network unreachable - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-failure" ,rust-failure-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-h2" ,rust-h2-0.2) - ("rust-http" ,rust-http-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.18) - ("rust-typed-headers" ,rust-typed-headers-0.2) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.18)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-futures" ,rust-futures-0.3)))))) - -(define-public rust-trust-dns-https-0.3 - (package - (inherit rust-trust-dns-https-0.19) - (name "rust-trust-dns-https") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-https" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14ps1fxngm8d3ynp9jf86zrqbyzjzh62v5grwrqb1q0xhbz98vv1")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 - #:tests? #false ;network unreachable - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-failure" ,rust-failure-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-h2" ,rust-h2-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.6) - ("rust-typed-headers" ,rust-typed-headers-0.1) - ("rust-webpki" ,rust-webpki-0.19) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.1)))))) - -(define-public rust-trust-dns-native-tls-0.20 - (package - (name "rust-trust-dns-native-tls") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "129map2cvy9xcdjg6927xyzic48mq6hqmils0qrmigbr61djxkna")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)))) - (home-page "https://www.trust-dns.org/index.html") - (synopsis "native-tls extension for the Trust-DNS client") - (description "Trust-DNS is a safe and secure DNS library. This is an -extension for the Trust-DNS client to use native-tls for TLS.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-native-tls-0.19 - (package - (inherit rust-trust-dns-native-tls-0.20) - (name "rust-trust-dns-native-tls") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "173443yivsiyzvnai4h53v71br8jsz4zjwhp83q3x4hnh6306ymv")))) - (arguments - `(#:tests? #false - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)))) - -(define-public rust-trust-dns-native-tls-0.18 - (package - (inherit rust-trust-dns-native-tls-0.19) - (name "rust-trust-dns-native-tls") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rcg018vdd5chd4hcmjp753qjlf4k311nmrxa5ay2hxjllzmqd1y")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #false ;missing files - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)))))) - -(define-public rust-trust-dns-native-tls-0.6 - (package - (inherit rust-trust-dns-native-tls-0.19) - (name "rust-trust-dns-native-tls") - (version "0.6.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-native-tls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0v18xwcy2vz57gnp1a6wx52c4zpwlakpr75ydmai8gc0h2kfzd7l")))) - (arguments - `(#:tests? #false - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-tls" ,rust-tokio-tls-0.2) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.1)))))) - -(define-public rust-trust-dns-openssl-0.20 - (package - (name "rust-trust-dns-openssl") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-openssl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zd10g824qrs0yw2bmxphw43iylxlpgvnwb3l3hnwblp2ffhcx50")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)))) - (home-page "https://www.trust-dns.org/index.html") - (synopsis "tokio-openssl extension for the Trust-DNS client") - (description "Trust-DNS is a safe and secure DNS library. This is an -extension for the Trust-DNS client to use tokio-openssl for TLS.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-openssl-0.19 - (package - (inherit rust-trust-dns-openssl-0.20) - (name "rust-trust-dns-openssl") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-openssl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0as4jzrscjlmgj04l2aa2lf09vpd0fg5v0vfz019ybxgiqn89g45")))) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-0.2)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)))) - -(define-public rust-trust-dns-openssl-0.18 - (package - (inherit rust-trust-dns-openssl-0.19) - (name "rust-trust-dns-openssl") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-openssl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1870s27ifsdh9plgcwwbxzvlw17r3dn9v6s0zfryf6kfp9hzpfz2")))) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-0.2)))))) - -(define-public rust-trust-dns-openssl-0.6 - (package - (inherit rust-trust-dns-openssl-0.19) - (name "rust-trust-dns-openssl") - (version "0.6.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-openssl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zwx2bsf1rbyjr6l2c3vi24z7414n4b5qiymva9dmbvwxnqqyk1j")))) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-0.1)))))) - -(define-public rust-trust-dns-proto-0.22 - (package - (name "rust-trust-dns-proto") - (version "0.22.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-proto" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09mwv7fnjrkdpf82qqvsbby5xnnpwn0kcp2cqn53br50wk8q6zsg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-bytes" ,rust-bytes-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-enum-as-inner" ,rust-enum-as-inner-0.5) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-h2" ,rust-h2-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-idna" ,rust-idna-0.2) - ("rust-ipnet" ,rust-ipnet-2) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-quinn" ,rust-quinn-0.8) - ("rust-rand" ,rust-rand-0.8) - ("rust-ring" ,rust-ring-0.16) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tinyvec" ,rust-tinyvec-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.23) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-webpki" ,rust-webpki-0.22) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)))) - (home-page "http://www.trust-dns.org/index.html") - (synopsis "Safe and secure DNS library") - (description - "Trust-DNS is a safe and secure DNS library. This is the foundational -DNS protocol library for all Trust-DNS projects.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-proto-0.20 - (package - (inherit rust-trust-dns-proto-0.22) - (name "rust-trust-dns-proto") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-proto" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gdsxjl628h02dp0fhcjz6js79fc4dxprqgqny6rghk450dki84q")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-enum-as-inner" ,rust-enum-as-inner-0.3) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-idna" ,rust-idna-0.2) - ("rust-ipnet" ,rust-ipnet-2) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.8) - ("rust-ring" ,rust-ring-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-socket2" ,rust-socket2-0.3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))))) - -(define-public rust-trust-dns-proto-0.19 - (package - (inherit rust-trust-dns-proto-0.20) - (name "rust-trust-dns-proto") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-proto" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0a4zlv60kkbg1nvy3zh18fdg681z83yzppzy39rdkm7llqdhdmyd")))) - (arguments - `(#:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-enum-as-inner" ,rust-enum-as-inner-0.3) - ("rust-futures" ,rust-futures-0.3) - ("rust-idna" ,rust-idna-0.2) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.7) - ("rust-ring" ,rust-ring-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-socket2" ,rust-socket2-0.3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-futures" ,rust-futures-0.3) - ("rust-tokio" ,rust-tokio-0.2)))))) - -(define-public rust-trust-dns-proto-0.18 - (package - (inherit rust-trust-dns-proto-0.19) - (name "rust-trust-dns-proto") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-proto" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vmhw7vdaa6b7wfv438f272ijjl2qlpcp6b1myvif4iay8pp4fi5")))) - (arguments - `(#:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-enum-as-inner" ,rust-enum-as-inner-0.3) - ("rust-failure" ,rust-failure-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-idna" ,rust-idna-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.7) - ("rust-ring" ,rust-ring-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-socket2" ,rust-socket2-0.3) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-url" ,rust-url-2)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-futures" ,rust-futures-0.3) - ("rust-tokio" ,rust-tokio-0.2)))))) - -(define-public rust-trust-dns-proto-0.7 - (package - (inherit rust-trust-dns-proto-0.19) - (name "rust-trust-dns-proto") - (version "0.7.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-proto" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0099dm57nnizx4apik9sh3mnvr7rp9mivc903v8xss13dkgynnam")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-enum-as-inner" ,rust-enum-as-inner-0.2) - ("rust-failure" ,rust-failure-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-idna" ,rust-idna-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-ring" ,rust-ring-0.14) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-0.6) - ("rust-socket2" ,rust-socket2-0.3) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-tokio-udp" ,rust-tokio-udp-0.1) - ("rust-untrusted" ,rust-untrusted-0.6) - ("rust-url" ,rust-url-1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6) - ("rust-tokio" ,rust-tokio-0.1)))))) - -(define-public rust-trust-dns-resolver-0.22 - (package - (name "rust-trust-dns-resolver") - (version "0.22.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-resolver" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zkw5fx7dwiy4ymn7ywmsb3qhf69mnqdw9mcpyps3c7gvjj1mwmg")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-ipconfig" ,rust-ipconfig-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-resolv-conf" ,rust-resolv-conf-0.7) - ("rust-rustls" ,rust-rustls-0.20) - ("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.23) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.22) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)) - #:cargo-development-inputs - (("rust-futures-executor" ,rust-futures-executor-0.3) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "http://www.trust-dns.org/index.html") - (synopsis "Safe and secure DNS library") - (description - "Trust-DNS is a safe and secure DNS library. This Resolver library uses -the Client library to perform all DNS queries. The Resolver is intended to be -a high-level library for any DNS record resolution see Resolver and -AsyncResolver for supported resolution types. The Client can be used for -other queries.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-resolver-0.20 - (package - (inherit rust-trust-dns-resolver-0.22) - (name "rust-trust-dns-resolver") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-resolver" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r2n933z9yrpdqv60c9mbhl64y2inpx9rm870nq1qqmx226d2wih")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-ipconfig" ,rust-ipconfig-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-resolv-conf" ,rust-resolv-conf-0.7) - ("rust-rustls" ,rust-rustls-0.19) - ("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.22) - ("rust-trust-dns-https" ,rust-trust-dns-https-0.20) - ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.20) - ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.20) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) - -(define-public rust-trust-dns-resolver-0.19 - (package - (inherit rust-trust-dns-resolver-0.20) - (name "rust-trust-dns-resolver") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-resolver" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xqv31gndybcrr5gi6jjp47qcvdxsc147s69a0y0nc6qqgyws8qg")))) - (arguments - `(#:tests? #false ;network unreachable - #:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-ipconfig" ,rust-ipconfig-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-resolv-conf" ,rust-resolv-conf-0.6) - ("rust-rustls" ,rust-rustls-0.17) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-trust-dns-https" ,rust-trust-dns-https-0.19) - ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.19) - ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.19) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.19) - ("rust-webpki-roots" ,rust-webpki-roots-0.19)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-futures" ,rust-futures-0.3)))))) - -(define-public rust-trust-dns-resolver-0.18 - (package - (inherit rust-trust-dns-resolver-0.19) - (name "rust-trust-dns-resolver") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-resolver" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cldg6y937il4kjk7rirgfhmk0chz41w7qys9h96skaznh4dzmvj")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #false ;network unreachable - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-failure" ,rust-failure-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-ipconfig" ,rust-ipconfig-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-resolv-conf" ,rust-resolv-conf-0.6) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-trust-dns-https" ,rust-trust-dns-https-0.18) - ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.18) - ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.18) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.18) - ("rust-webpki-roots" ,rust-webpki-roots-0.18)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-futures" ,rust-futures-0.3)))))) - -(define-public rust-trust-dns-resolver-0.11 - (package - (inherit rust-trust-dns-resolver-0.19) - (name "rust-trust-dns-resolver") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-resolver" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fd0w2zsdwlsag27fsg0fzyd7j7niw0r22rwh2c5fdmsipjr56bc")))) - (arguments - `(#:tests? #false ;networking failures - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-failure" ,rust-failure-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-ipconfig" ,rust-ipconfig-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-lru-cache" ,rust-lru-cache-0.1) - ("rust-resolv-conf" ,rust-resolv-conf-0.6) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-0.6) - ("rust-tokio" ,rust-tokio-0.1) - ("rust-tokio-executor" ,rust-tokio-executor-0.1) - ("rust-trust-dns-https" ,rust-trust-dns-https-0.3) - ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.6) - ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.6) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) - ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.6) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) - -(define-public rust-trust-dns-rustls-0.20 - (package - (name "rust-trust-dns-rustls") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00i5jf6bkfxikna0093swl0yz246nabpm0xngdxb94wkr3rz0kq9")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) - ("rust-webpki" ,rust-webpki-0.21)))) - (home-page "https://www.trust-dns.org/index.html") - (synopsis "rustls extension for the Trust-DNS client") - (description - "Trust-DNS is a safe and secure DNS library. This is an extension for -the Trust-DNS client to use rustls for TLS.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-trust-dns-rustls-0.19 - (package - (inherit rust-trust-dns-rustls-0.20) - (name "rust-trust-dns-rustls") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hj4fx2x4ncj7v8pf6bbn7634zq76hjigm1s2h6b6yjzzmz4yprn")))) - (arguments - `(#:tests? #false ;missing file - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.17) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10)))) - (native-inputs - (list perl pkg-config)) - (inputs - (list openssl)))) - -(define-public rust-trust-dns-rustls-0.18 - (package - (inherit rust-trust-dns-rustls-0.19) - (name "rust-trust-dns-rustls") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19vhb0xsyr0wy4p0liwhv4rqmwv6szfmmid6439gq7wah1x1hzp4")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #false ;missing file - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10)))))) - -(define-public rust-trust-dns-rustls-0.6 - (package - (inherit rust-trust-dns-rustls-0.19) - (name "rust-trust-dns-rustls") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-rustls" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vbh2y7w2s5gcw33fn4hb5f927kgjm6603vw63slg9riikmsiq43")))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)) - (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 - #:cargo-test-flags - '("--release" "--" "--skip=tests::test_tls_client_stream_ipv4") - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) - ("rust-webpki" ,rust-webpki-0.19)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10) - ("rust-tokio" ,rust-tokio-0.1)))))) - (define-public rust-try-lock-0.2 (package (name "rust-try-lock") @@ -83836,14 +73875,14 @@ the Trust-DNS client to use rustls for TLS.") (define-public rust-trybuild-1 (package (name "rust-trybuild") - (version "1.0.85") + (version "1.0.89") (source (origin (method url-fetch) (uri (crate-uri "trybuild" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wfzxp704x165x2n0sa1absi234x6yv3903dpywysv4h18k5hshr")))) + (base32 "13s8pchqdkwr4zby1y5hamw0p8aywwczc0r3fbb86d4icak3p7cs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -84044,34 +74083,31 @@ parser.") (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y")))) (arguments `(#:skip-build? #t)))) -(define-public rust-tui-0.16 +(define-public rust-tui-0.19 (package (name "rust-tui") - (version "0.16.0") + (version "0.19.0") (source (origin (method url-fetch) (uri (crate-uri "tui" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r")))) + (base32 "1ldswnqgmdkd2fkislyh1amd6rmnbx3s8b97k9j7w03lsv5jdpfc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cassowary" ,rust-cassowary-0.3) - ("rust-crossterm" ,rust-crossterm-0.20) - ("rust-easycurses" ,rust-easycurses-0.12) - ("rust-pancurses" ,rust-pancurses-0.16) - ("rust-rustbox" ,rust-rustbox-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-termion" ,rust-termion-1) - ("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-rand" ,rust-rand-0.8)))) + `(#:cargo-test-flags `("--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.25) + ("rust-serde" ,rust-serde-1) + ("rust-termion" ,rust-termion-1) + ("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-rand" ,rust-rand-0.8)))) (home-page "https://github.com/fdehau/tui-rs") (synopsis "Library to build rich terminal user interfaces or dashboards") (description @@ -84079,6 +74115,35 @@ parser.") or dashboards.") (license license:expat))) +(define-public rust-tui-0.16 + (package + (inherit rust-tui-0.19) + (name "rust-tui") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r")))) + (arguments + `(#:cargo-test-flags `("--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.20) + ("rust-easycurses" ,rust-easycurses-0.12) + ("rust-pancurses" ,rust-pancurses-0.16) + ("rust-rustbox" ,rust-rustbox-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-termion" ,rust-termion-1) + ("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-rand" ,rust-rand-0.8)))))) + (define-public rust-tui-0.15 (package (inherit rust-tui-0.16) @@ -84092,18 +74157,21 @@ or dashboards.") (sha256 (base32 "0w9azg9zj1nnwcwbra9pxrwy47ab0m2bhanbkchydv8lscx8y7c6")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cassowary" ,rust-cassowary-0.3) - ("rust-crossterm" ,rust-crossterm-0.19) - ("rust-easycurses" ,rust-easycurses-0.12) - ("rust-pancurses" ,rust-pancurses-0.16) - ("rust-rustbox" ,rust-rustbox-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-termion" ,rust-termion-1) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))))) + `(#:cargo-test-flags `("--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.19) + ("rust-easycurses" ,rust-easycurses-0.12) + ("rust-pancurses" ,rust-pancurses-0.16) + ("rust-rustbox" ,rust-rustbox-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-termion" ,rust-termion-1) + ("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-rand" ,rust-rand-0.8)))))) (define-public rust-tui-react-0.20 (package @@ -84130,35 +74198,65 @@ or dashboards.") render properties.") (license license:expat))) -(define-public rust-tuikit-0.4 +(define-public rust-tuikit-0.5 (package (name "rust-tuikit") - (version "0.4.5") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "tuikit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07x5218f9da6cbvmwpfyfymqyl7nksvkxxycxcrll9ajazy8qqlc")))) + (base32 "1n2kiq6kjl1g89v8f9v2dwcv5g8hp7w2zhf8a0yyxawb0fmwc6ay")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.14) - ("rust-term" ,rust-term-0.6) - ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6)))) + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("rust-term" ,rust-term-0.7) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "TERM" "xterm")))))) (home-page "https://github.com/lotabout/tuikit") (synopsis "Toolkit for writing TUI applications") (description "This package provides a toolkit for writing TUI applications in Rust.") (license license:expat))) +(define-public rust-tuikit-0.4 + (package + (inherit rust-tuikit-0.5) + (name "rust-tuikit") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "tuikit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02dx38hisji8a3bznl1siv97594k2w16k24d6nc6vrvm4q08wz36")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("rust-term" ,rust-term-0.7) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "TERM" "xterm")))))))) + (define-public rust-tuikit-0.2 (package (inherit rust-tuikit-0.4) @@ -84185,66 +74283,6 @@ render properties.") #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)))))) -(define-public rust-tungstenite-0.11 - (package - (name "rust-tungstenite") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tungstenite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-http" ,rust-http-0.2) - ("rust-httparse" ,rust-httparse-1) - ("rust-input-buffer" ,rust-input-buffer-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-rand" ,rust-rand-0.7) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-url" ,rust-url-2) - ("rust-utf-8" ,rust-utf-8-0.7)))) - (home-page "https://github.com/snapview/tungstenite-rs") - (synopsis "Lightweight stream-based WebSocket implementation") - (description - "This library provides an implementation of WebSockets, RFC6455. It -allows for both synchronous (like TcpStream) and asynchronous usage and is -easy to integrate into any third-party event loops including MIO. The API -design abstracts away all the internals of the WebSocket protocol but still -makes them accessible for those who wants full control over the network.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-twofish-0.7 - (package - (name "rust-twofish") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "twofish" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04w0ii2c0c9ws08aw6c7illh9zql22il9lbwjk1mgir30aiq73m7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Twofish block cipher") - (description "Twofish block cipher") - (license (list license:expat license:asl2.0)))) - (define-public rust-twoway-0.2 (package (name "rust-twoway") @@ -84341,75 +74379,65 @@ strings.") (build-system cargo-build-system) (arguments `(#:skip-build? #t)))) -(define-public rust-typed-builder-0.5 +(define-public rust-typed-builder-0.18 (package (name "rust-typed-builder") - (version "0.5.1") + (version "0.18.0") (source (origin (method url-fetch) (uri (crate-uri "typed-builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zi9mmkz2vwg5cn8x9738vli42h21jyspvfi83y2sa6lvlja5kkq")))) + (base32 "12pkf3h3hahfqm8g6k3kl2qicl346szqq24qa74vfqcq2jb08z74")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-inputs (("rust-typed-builder-macro" ,rust-typed-builder-macro-0.18)))) (home-page "https://github.com/idanarye/rust-typed-builder") (synopsis "Compile-time type-checked builder derive") (description "This package provides compile-time type-checked builder derive.") (license (list license:expat license:asl2.0)))) -(define-public rust-typed-headers-0.2 +(define-public rust-typed-builder-0.5 (package - (name "rust-typed-headers") - (version "0.2.0") + (inherit rust-typed-builder-0.18) + (name "rust-typed-builder") + (version "0.5.1") (source (origin (method url-fetch) - (uri (crate-uri "typed-headers" version)) + (uri (crate-uri "typed-builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0jm2xzvvml3a9hhvzf9q4v22l5ifrxrx2kspy7aymknckqgacy9i")))) - (build-system cargo-build-system) + (base32 "1zi9mmkz2vwg5cn8x9738vli42h21jyspvfi83y2sa6lvlja5kkq")))) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.11) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-http" ,rust-http-0.2) - ("rust-mime" ,rust-mime-0.3)))) - (home-page "https://github.com/sfackler/typed-headers") - (synopsis "Typed HTTP header serialization and deserialization") - (description "This package provides typed HTTP header serialization and -deserialization.") - (license (list license:expat license:asl2.0)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-typed-headers-0.1 +(define-public rust-typed-builder-macro-0.18 (package - (inherit rust-typed-headers-0.2) - (name "rust-typed-headers") - (version "0.1.1") + (name "rust-typed-builder-macro") + (version "0.18.0") (source (origin (method url-fetch) - (uri (crate-uri "typed-headers" version)) + (uri (crate-uri "typed-builder-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0g40nlq5iw0zxhwb7nfmfbr9m86abgwwhxwhzrm10nfq6bsmlvxx")))) + (base32 "14mlf9733bmdf6bqzmhrzc1hbxfazp0mxvs751wckdaifccy8blq")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-http" ,rust-http-0.1) - ("rust-mime" ,rust-mime-0.3)))))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/idanarye/rust-typed-builder") + (synopsis "Compile-time type-checked builder derive") + (description "Compile-time type-checked builder derive.") + (license (list license:expat license:asl2.0)))) (define-public rust-typemap-0.3 (package @@ -84457,6 +74485,29 @@ implementation is incomplete.") (license (list license:asl2.0 license:expat)))) +(define-public rust-ubyte-0.10 + (package + (name "rust-ubyte") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ubyte" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1spj3k9sx6xvfn7am9vm1b463hsr79nyvj8asi2grqhyrvvdw87p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/SergioBenitez/ubyte") + (synopsis "no_std library for byte units") + (description + "This package provides a simple, complete, const-everything, saturating, +human-friendly, no_std library for byte units.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ucd-parse-0.1 (package (name "rust-ucd-parse") @@ -84525,46 +74576,6 @@ with the Unicode character database.") (license (list license:asl2.0 license:expat)))) -(define-public rust-uds-windows-1 - (package - (name "rust-uds-windows") - (version "1.0.2") - (source (origin - (method url-fetch) - (uri (crate-uri "uds_windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03ckj6vnzvm4r5xd17dxyyqqqcfgs3xqj53hcswykk6k4i1n0rff")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tempfile" ,rust-tempfile-3) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/haraldh/rust_uds_windows") - (synopsis "Unix Domain Sockets for Windows") - (description "This library integrates Unix Domain Sockets on Windows.") - (license license:expat))) - -(define-public rust-uds-windows-0.1 - (package - (inherit rust-uds-windows-1) - (name "rust-uds-windows") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "uds_windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mdv9xyrf8z8zr2py5drbilkncgrkg61axq6h7hcvgggklv9f14z")))) - (arguments - `(#:cargo-inputs - (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-winapi" ,rust-winapi-0.2) - ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))))) - (define-public rust-ufmt-0.1 (package (name "rust-ufmt") @@ -84831,24 +74842,19 @@ arithmetic.") (define-public rust-ungrammar-1 (package (name "rust-ungrammar") - (version "1.14.9") + (version "1.16.1") (source - (origin - (method url-fetch) - (uri (crate-uri "ungrammar" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1agx2hpp3sirknnx8j17mzcg222024s6vkx6s5v3s3l8zp15kgk6")))) + (origin + (method url-fetch) + (uri (crate-uri "ungrammar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13ynrv658ikr4lqi3lk1xbcrr1d1qsjnrb8acwfyrwqbgwsdzrd3")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/matklad/ungrammar") - (synopsis - "DSL for describing concrete syntax trees") + (home-page "https://github.com/matklad/ungrammar") + (synopsis "DSL for describing concrete syntax trees") (description - "This package provides a DSL for describing concrete syntax trees.") + "This package provides a DSL for describing concrete syntax trees.") (license (list license:expat license:asl2.0)))) (define-public rust-unidecode-0.3 @@ -85038,20 +75044,18 @@ Unicode and Internationalization Crates (UNIC) project.") (define-public rust-unicase-2 (package (name "rust-unicase") - (version "2.6.0") + (version "2.7.0") (source (origin (method url-fetch) (uri (crate-uri "unicase" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1xmlbink4ycgxrkjspp0mf7pghcx4m7vxq7fpfm04ikr2zk7pwsh")))) + "12gd74j79f94k4clxpf06l99wiv4p30wjr0qm04ihqk9zgdd9lpp")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.9)))) (home-page "https://github.com/seanmonstar/unicase") (synopsis "Case-insensitive wrapper around strings") @@ -85346,14 +75350,14 @@ to Unicode Standard Annex #31.") (define-public rust-unindent-0.2 (package (name "rust-unindent") - (version "0.2.1") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "unindent" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kw1yivkklw1f5mpcwakxznwzn6br2g3yvbwg7yfvxqzlmg0z8ss")))) + (base32 "1km2iy6fr6gsh2wvr1mxz86pm4wrlh3fjkinb35qfi3mw5rpvpn7")))) (build-system cargo-build-system) (home-page "https://github.com/dtolnay/indoc") (synopsis "Remove a column of leading whitespace from a string") @@ -85366,14 +75370,14 @@ whitespace from a string.") (package (inherit rust-unindent-0.2) (name "rust-unindent") - (version "0.1.7") + (version "0.1.11") (source (origin (method url-fetch) (uri (crate-uri "unindent" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1is1gmx1l89z426rn3xsi0mii4vhy2imhqmhx8x2pd8mji6y0kpi")))))) + (base32 "171may3v15wzc10z64i8sahdz49d031v7424mjsifa205ml6sxp1")))))) (define-public rust-uniquote-3 (package @@ -85393,63 +75397,6 @@ whitespace from a string.") clear display in the output.") (license (list license:expat license:asl2.0)))) -(define-public rust-universal-hash-0.5 - (package - (name "rust-universal-hash") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "universal-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dfqh2jnf4pz2cr9v4adpyxinz658vadlbwsjgigf6cs7jvn0cbx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crypto-common" ,rust-crypto-common-0.1) - ("rust-subtle" ,rust-subtle-2)))) - (home-page "https://github.com/RustCrypto/traits") - (synopsis "Trait for universal hash functions") - (description "This package provides traits for universal hash functions.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-universal-hash-0.4 - (package - (inherit rust-universal-hash-0.5) - (name "rust-universal-hash") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "universal-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00hljq64l0p68yrncvyww4cdgkzpzl49vrlnj57kwblkak3b49l3")))) - (arguments - `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.14) - ("rust-subtle" ,rust-subtle-2)))))) - -(define-public rust-universal-hash-0.3 - (package - (inherit rust-universal-hash-0.4) - (name "rust-universal-hash") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "universal-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00aa241pab99z66f0s464vdrxnk3igs8z1qm6j01chcv5w7r036z")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.12) - ("rust-subtle" ,rust-subtle-2)))))) - (define-public rust-unix-socket-0.5 (package (name "rust-unix-socket") @@ -85539,14 +75486,14 @@ clear display in the output.") (define-public rust-unsafe-libyaml-0.2 (package (name "rust-unsafe-libyaml") - (version "0.2.8") + (version "0.2.10") (source (origin (method url-fetch) (uri (crate-uri "unsafe-libyaml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "19l0v20x83dvxbr68rqvs9hvawaqd929hia1nldfahlhamm80r8q")))) + "0jsyc1kqc536wpgx1js61lwj86crniqw16lyvh02va4m1f9r0k5b")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `unsafe_libyaml_test_suite` @@ -85598,8 +75545,28 @@ with changes and updated applied to it.") "This package provides a stable alternative to @code{CoerceUnsize}.") (license (list license:expat license:asl2.0 license:zlib)))) +(define-public rust-untrusted-0.9 + (package + (name "rust-untrusted") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "untrusted" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ha7ib98vkc538x0z60gfn0fc5whqdd85mb87dvisdcaifi6vjwf")))) + (build-system cargo-build-system) + (home-page "https://github.com/briansmith/untrusted") + (synopsis "Zero-allocation parsing of untrusted inputs in Rust") + (description + "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of +untrusted inputs in Rust.") + (license license:isc))) + (define-public rust-untrusted-0.7 (package + (inherit rust-untrusted-0.9) (name "rust-untrusted") (version "0.7.1") (source @@ -85609,14 +75576,7 @@ with changes and updated applied to it.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jkbqaj9d3v5a91pp3wp9mffvng1nhycx6sh4qkdd9qyr62ccmm1")))) - (build-system cargo-build-system) - (home-page "https://github.com/briansmith/untrusted") - (synopsis "Zero-allocation parsing of untrusted inputs in Rust") - (description - "Safe, fast, zero-panic, zero-crashing, zero-allocation parsing of -untrusted inputs in Rust.") - (license license:isc))) + "0jkbqaj9d3v5a91pp3wp9mffvng1nhycx6sh4qkdd9qyr62ccmm1")))))) (define-public rust-untrusted-0.6 (package @@ -85631,41 +75591,17 @@ untrusted inputs in Rust.") (sha256 (base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam")))))) -(define-public rust-unwrap-1 - (package - (name "rust-unwrap") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "unwrap" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03y24m63l85ng23z19bg7vwn6g1h1asg6ldyqwifca23sy6n8cvy")))) - (build-system cargo-build-system) - (home-page "https://github.com/canndrew/unwrap") - (synopsis "unwrap! and unwrap_err! macros") - (description - "This crate provides two macros, @code{unwrap!} and @code{unwrap_err!}. -The former can be used to unwrap values of type @code{Result} or @code{Option} -(or any type that implements VerboseUnwrap) and is comparable to calling -@code{unwrap()}. The latter can be used to unwrap an error from a -@code{Result} (or any type that implements @code{VerboseUnwrapErr}) and is -comparable to calling @code{unwrap_err()}.") - (license (list license:expat license:bsd-3)))) - (define-public rust-ureq-2 (package (name "rust-ureq") - (version "2.6.2") + (version "2.9.1") (source (origin (method url-fetch) (uri (crate-uri "ureq" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vf412wyfk1wpaknqiq2v7y5zy9djammgvgkmcx8zxhl2gfk32rk")))) + "15rz5g61fqbxh5w77mbinz4jhljfh58i9s2dzqlh284y6dfd5kgq")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -85673,33 +75609,32 @@ comparable to calling @code{unwrap_err()}.") ;; These tests want network access. "--skip=test::range::read_range_rustls" "--skip=tests::connect_http_google" - "--skip=tests::connect_https_google_rustls" - "--skip=tls_client_certificate" - "--skip=middleware::Middleware") + "--skip=tests::connect_https_google_rustls") #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) + (("rust-base64" ,rust-base64-0.21) ("rust-brotli-decompressor" ,rust-brotli-decompressor-2) - ("rust-cookie" ,rust-cookie-0.16) - ("rust-cookie-store" ,rust-cookie-store-0.19) + ("rust-cookie" ,rust-cookie-0.17) + ("rust-cookie-store" ,rust-cookie-store-0.20) ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-flate2" ,rust-flate2-1) + ("rust-http" ,rust-http-0.2) + ("rust-http" ,rust-http-1) ("rust-log" ,rust-log-0.4) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls" ,rust-rustls-0.21) ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-socks" ,rust-socks-0.3) ("rust-url" ,rust-url-2) - ("rust-webpki" ,rust-webpki-0.22) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) - ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls" ,rust-rustls-0.21) ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) ("rust-serde" ,rust-serde-1)))) - (native-inputs (list perl)) (home-page "https://github.com/algesten/ureq") (synopsis "Simple, safe HTTP client") (description "This package provides minimal request library in Rust.") @@ -85708,21 +75643,20 @@ comparable to calling @code{unwrap_err()}.") (define-public rust-url-2 (package (name "rust-url") - (version "2.4.1") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "url" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rbsx1nvz5ardf0x815639z1bxbbgjjjhj0mmnfaqzr5327m6fql")))) + "0cs65961miawncdg2z20171w0vqrmraswv2ihdpd8lxp7cp31rii")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) - ("rust-idna" ,rust-idna-0.4) + ("rust-idna" ,rust-idna-0.5) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs @@ -85765,58 +75699,37 @@ comparable to calling @code{unwrap_err()}.") ("rust-rustc-test" ,rust-rustc-test-0.3) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-urlencoding-1 +(define-public rust-urlencoding-2 (package (name "rust-urlencoding") - (version "1.1.1") + (version "2.1.3") (source (origin (method url-fetch) (uri (crate-uri "urlencoding" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9")))) + (base32 "1nj99jp37k47n0hvaz5fvz7z6jd0sb4ppvfy3nphr1zbnyixpy6s")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://lib.rs/urlencoding") - (synopsis "Rust library for doing URL percentage encoding") + (synopsis "A Rust library for doing URL percentage encoding.") (description - "This package provides a Rust library for doing URL percentage -encoding.") + "This package provides a Rust library for doing URL percentage encoding.") (license license:expat))) -(define-public rust-user32-sys-0.2 +(define-public rust-urlencoding-1 (package - (name "rust-user32-sys") - (version "0.2.0") + (inherit rust-urlencoding-2) + (name "rust-urlencoding") + (version "1.1.1") (source (origin (method url-fetch) - (uri (crate-uri "user32-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "urlencoding" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2)) - #:cargo-development-inputs - (("rust-winapi-build" ,rust-winapi-build-0.1)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Function definitions for the Windows API library user32") - (description - "Contains function definitions for the Windows API library user32. -See winapi for types and constants.") - (license license:expat))) + (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9")))) + (arguments `(#:skip-build? #t)))) (define-public rust-users-0.11 (package @@ -85965,30 +75878,21 @@ first byte.") (define-public rust-uuid-1 (package (name "rust-uuid") - (version "1.3.3") + (version "1.6.1") (source (origin (method url-fetch) (uri (crate-uri "uuid" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1lpcqp1z0zy3l00yd418dpjlpih9la2swm62gwk1nia24kil8m1l")))) + "0q45jxahvysldn3iy04m8xmr8hgig80855y9gq9di8x72v7myfay")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("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)) - #:cargo-inputs + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-atomic" ,rust-atomic-0.5) + ("rust-borsh" ,rust-borsh-0.10) + ("rust-bytemuck" ,rust-bytemuck-1) ("rust-getrandom" ,rust-getrandom-0.2) ("rust-md-5" ,rust-md-5-0.10) ("rust-rand" ,rust-rand-0.8) @@ -85997,7 +75901,17 @@ first byte.") ("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.6)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("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)))) (home-page "https://github.com/uuid-rs/uuid") (synopsis "Library to generate and parse UUIDs") (description @@ -86091,14 +76005,14 @@ first byte.") (define-public rust-uuid-macro-internal-1 (package (name "rust-uuid-macro-internal") - (version "1.3.3") + (version "1.6.1") (source (origin (method url-fetch) (uri (crate-uri "uuid-macro-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1nj53qzhk4xqw6rkz33q40rjs0mx9pdbjg11xvhydwiayicv8rrz")))) + "0pl474ljbn40f08a8asy26bhdlwz4cr1k88h0w80l15q7lzpz7pl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -86161,25 +76075,26 @@ and groups. A more maintained fork of the @code{rust-users} crate.") (define-public rust-v-frame-0.3 (package (name "rust-v-frame") - (version "0.3.3") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "v_frame" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0n03akfyk7a0an2d1mg06ghk2pma9qk1rfhwj5i5bbld7k72730l")))) + (base32 "1c26k38sf405s07bi0wqndh8b52qn8hn1nkgp1gpjafizbkf8wn3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-new-debug-unreachable" ,rust-new-debug-unreachable-1) ("rust-noop-proc-macro" ,rust-noop-proc-macro-0.3) - ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-derive" ,rust-num-derive-0.4) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rust-hawktracer" ,rust-rust-hawktracer-0.7) + ("rust-profiling" ,rust-profiling-1) ("rust-serde" ,rust-serde-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) (home-page "https://github.com/xiph/rav1e") (synopsis "Video Frame data structures, part of rav1e") (description "This package provides @code{Video Frame} data structures, as @@ -86360,25 +76275,6 @@ for @code{Valuable} types.") (description "Implementation detail for value-bag.") (license (list license:asl2.0 license:expat)))) -(define-public rust-vcell-0.1 - (package - (name "rust-vcell") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "vcell" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00n0ss2z3rh0ihig6d4w7xp72g58f7g1m6s5v4h3nc6jacdrqhvp")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/japaric/vcell") - (synopsis "Cell with volatile read / write operations") - (description "This package provides a Cell structure with volatile read / -write operations.") - (license (list license:expat license:asl2.0)))) - (define-public rust-vcpkg-0.2 (package (name "rust-vcpkg") @@ -86414,24 +76310,6 @@ write operations.") (license (list license:asl2.0 license:expat)))) -(define-public rust-vec-arena-1 - (package - (name "rust-vec-arena") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "vec-arena" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07866gmvn4cf2656bjf75nrmbnw4cj0cyqkv2wlmavzw5ndipz7a")))) - (build-system cargo-build-system) - (home-page "https://github.com/smol-rs/vec-arena") - (synopsis "Simple object arena") - (description - "This package provides a simple object arena.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-vec-map-0.8 (package (name "rust-vec-map") @@ -86455,30 +76333,6 @@ write operations.") (license (list license:asl2.0 license:expat)))) -(define-public rust-vec1-1 - (package - (name "rust-vec1") - (version "1.8.0") - (source (origin - (method url-fetch) - (uri (crate-uri "vec1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cv1b88k9fac0wlg3yzbkrwdxvyb8w9f14big5q9a3sgfwf67haz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1)))) - (home-page "https://github.com/rustonaut/vec1/") - (synopsis "Vec wrapper assuring that it has at least 1 element") - (description - "This package provides wrapper for a std::Vec assuring that it -has at least 1 element.") - (license (list license:expat license:asl2.0)))) - (define-public rust-vek-0.15 (package (name "rust-vek") @@ -86509,31 +76363,66 @@ has at least 1 element.") engines, with SIMD support and focus on convenience.") (license (list license:expat license:asl2.0)))) -(define-public rust-vergen-3 +(define-public rust-vergen-7 (package (name "rust-vergen") - (version "3.1.0") + (version "7.5.1") (source - (origin - (method url-fetch) - (uri (crate-uri "vergen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jrr0wihm9si98qz8ghjfnalfvmfv8rqvkgj2npqa7yzjs4hvrac")))) + (origin + (method url-fetch) + (uri (crate-uri "vergen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jap8dksn4i8pf2d10w64pz79rz13wyg073j6nbwwvk3sqf8h6zj")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-bitflags" ,rust-bitflags-1)))) + `(#:tests? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-enum-iterator" ,rust-enum-iterator-1) + ("rust-getset" ,rust-getset-0.1) + ("rust-git2" ,rust-git2-0.16) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-sysinfo" ,rust-sysinfo-0.27) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-serial-test" ,rust-serial-test-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2 zlib)) (home-page "https://github.com/rustyhorde/vergen") - (synopsis "Generate version related functions") + (synopsis + "Generate @code{cargo:rustc-env} instructions via @code{build.rs} for use +in your code via the @code{env!} macro") (description - "Generate version related functions.") + "This package provides version generation for use in your Rust code.") (license (list license:expat license:asl2.0)))) +(define-public rust-vergen-3 + (package + (inherit rust-vergen-7) + (name "rust-vergen") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "vergen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0npi6z9daviwhbay1pj5gasw680bmq6s5y6my4cqk77hb921w577")))) + (arguments + `(#:cargo-test-flags `("--release" + ;; Not the doc tests. + "--lib" "--bins" "--tests") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))))) + (define-public rust-version-check-0.9 (package (name "rust-version-check") @@ -86731,27 +76620,6 @@ updated when the crate version changes.") "The uninhabited void type for use in statically impossible cases.") (license license:expat))) -(define-public rust-volatile-register-0.2 - (package - (name "rust-volatile-register") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "volatile-register" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dh8x7z1ywjzyziz3jyjj39imp37s05c46whf2pkyablkngz3s4y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-vcell" ,rust-vcell-0.1)))) - (home-page "https://github.com/japaric/volatile-register") - (synopsis "Volatile access to memory mapped hardware registers") - (description "This package provides volatile access to memory mapped -hardware registers.") - (license (list license:expat license:asl2.0)))) - (define-public rust-vsock-0.3 (package (name "rust-vsock") @@ -86846,21 +76714,52 @@ hardware registers.") "This package provides a pure FFI to Jon Blow's VS discovery script.") (license license:expat))) -(define-public rust-vte-0.11 +(define-public rust-vt100-0.15 + (package + (name "rust-vt100") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "vt100" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pklc8y984axmxr0cd363srr2d27wd5rj15xlcmkjznvy0xqdkc4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itoa" ,rust-itoa-1) + ("rust-log" ,rust-log-0.4) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vte" ,rust-vte-0.11)) + #:cargo-development-inputs (("rust-nix" ,rust-nix-0.26) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-terminal-size" ,rust-terminal-size-0.2) + ("rust-vte" ,rust-vte-0.11)))) + (home-page "https://github.com/doy/vt100-rust") + (synopsis "Library for parsing terminal data") + (description "Library for parsing terminal data.") + (license license:expat))) + +(define-public rust-vte-0.13 (package (name "rust-vte") - (version "0.11.1") + (version "0.13.0") (source (origin (method url-fetch) (uri (crate-uri "vte" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15r1ff4j8ndqj9vsyil3wqwxhhl7jsz5g58f31n0h1wlpxgjn0pm")))) + (base32 "12qqlvx7qlw1r8l6k9fyqj7k8v72xbz47kppsv0f0l7hjsp25ss0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cursor-icon" ,rust-cursor-icon-1) ("rust-log" ,rust-log-0.4) ("rust-serde" ,rust-serde-1) ("rust-utf8parse" ,rust-utf8parse-0.2) @@ -86871,6 +76770,26 @@ hardware registers.") "This package provides a parser for implementing terminal emulators.") (license (list license:asl2.0 license:expat)))) +(define-public rust-vte-0.11 + (package + (inherit rust-vte-0.13) + (name "rust-vte") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "vte" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15r1ff4j8ndqj9vsyil3wqwxhhl7jsz5g58f31n0h1wlpxgjn0pm")))) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-utf8parse" ,rust-utf8parse-0.2) + ("rust-vte-generate-state-changes" ,rust-vte-generate-state-changes-0.1)))))) + (define-public rust-vte-0.10 (package (inherit rust-vte-0.11) @@ -86951,6 +76870,26 @@ hardware registers.") "This package provides a proc macro for generating VTE state changes.") (license (list license:asl2.0 license:expat)))) +(define-public rust-vtparse-0.6 + (package + (name "rust-vtparse") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "vtparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l5yz9650zhkaffxn28cvfys7plcw2wd6drajyf41pshn37jm6vd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-utf8parse" ,rust-utf8parse-0.2)) + #:cargo-development-inputs (("rust-k9" ,rust-k9-0.11)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Low level escape sequence parser") + (description "Low level escape sequence parser.") + (license license:expat))) + (define-public rust-wait-timeout-0.2 (package (name "rust-wait-timeout") @@ -86978,17 +76917,16 @@ specified across Unix and Windows platforms.") (define-public rust-waker-fn-1 (package (name "rust-waker-fn") - (version "1.1.0") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "waker-fn" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jpfiis0frk2b36krqvk8264kgxk2dyhfzjsr8g3wah1nii2qnwx")))) + (base32 "142n74wlmpwcazfb5v7vhnzj3lb3r97qy8mzpjdpg345aizm3i7k")))) (build-system cargo-build-system) - ;; (arguments `(#:skip-build? #t)) - (home-page "https://github.com/stjepang/waker-fn") + (home-page "https://github.com/smol-rs/waker-fn") (synopsis "Convert closures into wakers") (description "This package converts closures into wakers.") @@ -87090,48 +77028,6 @@ result.") (description "Detect when another Future wants a result.") (license license:expat))) -(define-public rust-warp-0.2 - (package - (name "rust-warp") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "warp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01wl8kv5hh1dd7gcwdrmn9xfs7jjsh9yc8xa06ph8yf9akgyc6zl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-compression" ,rust-async-compression-0.3) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-futures" ,rust-futures-0.3) - ("rust-headers" ,rust-headers-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-multipart" ,rust-multipart-0.17) - ("rust-pin-project" ,rust-pin-project-0.4) - ("rust-scoped-tls" ,rust-scoped-tls-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.11) - ("rust-tower-service" ,rust-tower-service-0.3) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-urlencoding" ,rust-urlencoding-1)))) - (home-page "https://github.com/seanmonstar/warp") - (synopsis "Composable web server framework") - (description "Warp is a composable, web server framework.") - (license license:expat))) - (define-public rust-wasi-0.11 (package (name "rust-wasi") @@ -87159,6 +77055,24 @@ result.") (license (list license:asl2.0 license:expat)))) +(define-public rust-wasi-0.10 + (package + (inherit rust-wasi-0.11) + (name "rust-wasi") + (version "0.10.2+wasi-snapshot-preview1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ii7nff4y1mpcrxzzvbpgxm7a1nn3szjf1n21jnx37c2g6dbsvzx")))) + (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)))))) + (define-public rust-wasi-0.9 (package (inherit rust-wasi-0.11) @@ -87175,15 +77089,14 @@ result.") (define-public rust-wasm-bindgen-0.2 (package (name "rust-wasm-bindgen") - (version "0.2.87") + (version "0.2.91") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hm3k42gcnrps2jh339h186scx1radqy1w7v1zwb333dncmaf1kp")) + (base32 "0zwbb07ln4m5hh6axamc701nnj090nd66syxbf6bagzf189j9qf1")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -87214,15 +77127,14 @@ result.") (define-public rust-wasm-bindgen-backend-0.2 (package (name "rust-wasm-bindgen-backend") - (version "0.2.87") + (version "0.2.91") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-backend" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gcsh3bjxhw3cirmin45107pcsnn0ymhkxg6bxg65s8hqp9vdwjy")))) + (base32 "02zpi9sjzhd8kfv1yj9m1bs4a41ik9ii5bc8hjf60arm1j8f3ry9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -87231,7 +77143,7 @@ result.") ("rust-once-cell" ,rust-once-cell-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) + ("rust-syn" ,rust-syn-2) ("rust-wasm-bindgen-shared" ,rust-wasm-bindgen-shared-0.2)))) (home-page "https://rustwasm.github.io/wasm-bindgen/") (synopsis "Backend code generation of the wasm-bindgen tool") @@ -87242,15 +77154,14 @@ result.") (define-public rust-wasm-bindgen-futures-0.4 (package (name "rust-wasm-bindgen-futures") - (version "0.4.37") + (version "0.4.41") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-futures" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00zagjk39g4jjjnvfh35s7w6s0p6sy88i5c7y421z7vga4hvqbf0")))) + (base32 "15zd36y0jpzvh18x963hd905rlpk2cxp918r6db0xsnfc4zrqyw7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -87299,15 +77210,14 @@ result.") (define-public rust-wasm-bindgen-macro-0.2 (package (name "rust-wasm-bindgen-macro") - (version "0.2.87") + (version "0.2.91") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07cg0b6zkcxa1yg1n10h62paid59s9zr8yss214bv8w2b7jrbr6y")))) + (base32 "1va6dilw9kcnvsg5043h5b9mwc5sgq0lyhj9fif2n62qsgigj2mk")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; 'Async blocks are unstable' @@ -87330,21 +77240,20 @@ dependency.") (define-public rust-wasm-bindgen-macro-support-0.2 (package (name "rust-wasm-bindgen-macro-support") - (version "0.2.87") + (version "0.2.91") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-macro-support" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yqc46pr6mlgb9bsnfdnd50qvsqnrz8g5243fnaz0rb7lhc1ns2l")))) + (base32 "0rlyl3yzwbcnc691mvx78m1wbqf1qs52mlc3g88bh7ihwrdk4bv4")))) (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-2) ("rust-wasm-bindgen-backend" ,rust-wasm-bindgen-backend-0.2) ("rust-wasm-bindgen-shared" ,rust-wasm-bindgen-shared-0.2)))) (home-page "https://rustwasm.github.io/wasm-bindgen/") @@ -87357,14 +77266,14 @@ attribute that is not in the shared backend crate.") (define-public rust-wasm-bindgen-shared-0.2 (package (name "rust-wasm-bindgen-shared") - (version "0.2.87") + (version "0.2.91") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-shared" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18bmjwvfyhvlq49nzw6mgiyx4ys350vps4cmx5gvzckh91dd0sna")))) + (base32 "0f4qmjv57ppwi4xpdxgcd77vz9vmvlrnybg8dj430hzhvk96n62g")))) (build-system cargo-build-system) (home-page "https://rustwasm.github.io/wasm-bindgen/") (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli") @@ -87376,15 +77285,14 @@ attribute that is not in the shared backend crate.") (define-public rust-wasm-bindgen-test-0.3 (package (name "rust-wasm-bindgen-test") - (version "0.3.37") + (version "0.3.41") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-test" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w86d3ykwxfh495c4a98pj3b39wwgpfffy4ys2k86kx9gqm30vkf")) + (base32 "0qgbv1fh8bsvs1vqvlpja877pz4bw638jq9f4l6yvqikz2sdwg8l")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -87482,21 +77390,21 @@ attribute that is not in the shared backend crate.") (define-public rust-wasm-bindgen-test-macro-0.3 (package (name "rust-wasm-bindgen-test-macro") - (version "0.3.37") + (version "0.3.41") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-test-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xd5245xixdhj33nf6xbzg85vrmjv5vhw0hf2gnk0sc3ikfr7fgc")))) + (base32 "12bgbvygyi04d1gcrgl7w7m94mn7is59f7ds5cqmfs30a1sin8d5")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; could not find `wasm_bindgen_test` #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1)) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/rustwasm/wasm-bindgen") @@ -87523,8 +77431,37 @@ attribute that is not in the shared backend crate.") (("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6)))))) +(define-public rust-wasm-streams-0.3 + (package + (name "rust-wasm-streams") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-streams" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iqa4kmhbsjj8k4q15i1x0x4p3xda0dhbg7zw51mydr4g129sq5l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs (("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/MattiasBuelens/wasm-streams/") + (synopsis "Bridge between web streams and Rust streams using WebAssembly") + (description + "Bridging between web streams and Rust streams using WebAssembly.") + (license (list license:expat license:asl2.0)))) + (define-public rust-wasm-streams-0.2 (package + (inherit rust-wasm-streams-0.3) (name "rust-wasm-streams") (version "0.2.3") (source (origin @@ -87533,7 +77470,6 @@ attribute that is not in the shared backend crate.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0y60yy64p07h684h49159hhws50q6zdnffyirjnjqcq87hvf7fkb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) @@ -87545,11 +77481,7 @@ attribute that is not in the shared backend crate.") (("rust-pin-project" ,rust-pin-project-1) ("rust-tokio" ,rust-tokio-1) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/MattiasBuelens/wasm-streams/") - (synopsis "Bridging between web streams and Rust streams using WebAssembly") - (description "Bridging between web streams and Rust streams using WebAssembly") - (license (list license:expat license:asl2.0)))) + ("rust-web-sys" ,rust-web-sys-0.3)))))) (define-public rust-wasmparser-0.57 (package @@ -87604,8 +77536,42 @@ WebAssembly binary files.") modifications.") (license license:asl2.0))) +(define-public rust-wl-clipboard-rs-0.7 + (package + (name "rust-wl-clipboard-rs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wl-clipboard-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n8sg981h3d08hnnlrsgs81w2qz3n8a5ml0jcsgnapdpzcyk06lq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Failed to create a server socket. + #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tree-magic-mini" ,rust-tree-magic-mini-3) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) + #:cargo-development-inputs + (("rust-wayland-protocols" ,rust-wayland-protocols-0.29) + ("rust-wayland-server" ,rust-wayland-server-0.29)))) + (home-page "https://github.com/YaLTeR/wl-clipboard-rs") + (synopsis "Access to the Wayland clipboard") + (description "This package provides access to the Wayland clipboard +for terminal and other window-less applications.") + (license (list license:expat license:asl2.0)))) + (define-public rust-wl-clipboard-rs-0.4 (package + (inherit rust-wl-clipboard-rs-0.7) (name "rust-wl-clipboard-rs") (version "0.4.1") (source @@ -87616,7 +77582,6 @@ modifications.") (patches (search-patches "rust-wl-clipboard-rs-newer-wl.patch")) (sha256 (base32 "1252cm67pkrr6ik5ys2cdyfr2zzw6ds7v351i1cmyi94yiv01l13")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -87635,68 +77600,19 @@ modifications.") ("rust-tree-magic" ,rust-tree-magic-0.2) ("rust-wayland-client" ,rust-wayland-client-0.28) ("rust-wayland-commons" ,rust-wayland-commons-0.28) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))) - (home-page "https://github.com/YaLTeR/wl-clipboard-rs") - (synopsis "Access to the Wayland clipboard") - (description "This package provides access to the Wayland clipboard -for terminal and other window-less applications.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-web-view-0.7 - (package - (name "rust-web-view") - (version "0.7.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "web-view" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1smgmc00nk2wn8kpagp0mpsd0d9f5mvljidf2x7plbi3bymac7gf")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;missing files - #:cargo-inputs - (("rust-boxfnonce" ,rust-boxfnonce-0.1) - ("rust-tinyfiledialogs" ,rust-tinyfiledialogs-3) - ("rust-urlencoding" ,rust-urlencoding-1) - ("rust-webview-sys" ,rust-webview-sys-0.6)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-web" ,rust-actix-web-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-grep" ,rust-grep-0.2) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-rust-embed" ,rust-rust-embed-5) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (native-inputs - (list pkg-config)) - (inputs - (list gtk+ - webkitgtk-with-libsoup2)) - (home-page "https://github.com/Boscop/web-view") - (synopsis "Rust bindings for webview") - (description - "This library provides a Rust binding to the original implementation of -webview, a tiny cross-platform library to render web-based GUIs as desktop -applications.") - (license license:expat))) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))))) (define-public rust-web-sys-0.3 (package (name "rust-web-sys") - (version "0.3.64") + (version "0.3.68") (source (origin (method url-fetch) (uri (crate-uri "web-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16r4fww3l99kxhb66hka3kxkmhhgzhnqkzdf0ay6l2i2ikpwp1cv")))) + (base32 "0il4nbsf782l5y1jb7s75vc7214a19vh7z65bfrwwykzd03mjmln")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -87712,6 +77628,37 @@ applications.") "Bindings for all Web APIs, a procedurally generated crate from WebIDL.") (license (list license:expat license:asl2.0)))) +(define-public rust-web-time-0.2 + (package + (name "rust-web-time") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "web-time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + #:cargo-development-inputs + (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-pollster" ,rust-pollster-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/daxpedda/web-time") + (synopsis "Drop-in replacement for std::time for Wasm in browsers") + (description + "Drop-in replacement for @code{std::time} for Wasm in browsers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-webbrowser-0.8 (package (name "rust-webbrowser") @@ -87761,331 +77708,6 @@ available on a platform.") ("rust-widestring" ,rust-widestring-0.4) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-webpki-0.22 - (package - (name "rust-webpki") - (version "0.22.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gd1gxip5kgdwmrvhj5gjxij2mgg2mavq1ych4q1h272ja0xg5gh")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.9)))) - (native-inputs - (list perl)) - (home-page "https://github.com/briansmith/webpki") - (synopsis "Web PKI X.509 Certificate Verification") - (description "This package provides Web PKI X.509 Certificate -Verification.") - (license license:isc))) - -(define-public rust-webpki-0.21 - (package - (inherit rust-webpki-0.22) - (name "rust-webpki") - (version "0.21.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sm4i8c5bw3bdhi7mjk0wpvwx55hvsmyn0k2lpa4cb161038rqxq")))) - (arguments - `(#:tests? #f ;; tests fail to build "missing file tests/ed25519/ee.der" - #:cargo-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.9)))))) - -(define-public rust-webpki-0.19 - (package - (inherit rust-webpki-0.21) - (name "rust-webpki") - (version "0.19.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10nhyxlqsa4caxlxrijm5h79rdg6ld8hqy78ldjnnfhaj3biqzjg")))) - (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 - #:tests? #f ; tests fail to build "missing file tests/ed25519/ee.der" - #:cargo-inputs - (("rust-ring" ,rust-ring-0.14) - ("rust-untrusted" ,rust-untrusted-0.6)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.9)) - #:phases - (modify-phases %standard-phases - (add-before 'build 'build-curve25519-tables - (lambda* (#:key vendor-dir #:allow-other-keys) - (with-directory-excursion - (dirname (car (find-files vendor-dir "make_curve25519_tables.py"))) - (with-output-to-file "curve25519_tables.h" - (lambda _ - (invoke "python" "make_curve25519_tables.py"))))))))) - (native-inputs - (list clang perl python-2)))) - -(define-public rust-webpki-0.18 - (package - (inherit rust-webpki-0.19) - (name "rust-webpki") - (version "0.18.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zx1v8afa4ig97dyqfrnlj5i7pib6dnfw88qn2iiqhfq2rrrdmqp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.13 - #:cargo-inputs - (("rust-ring" ,rust-ring-0.13) - ("rust-untrusted" ,rust-untrusted-0.6)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.9)) - #:phases - (modify-phases %standard-phases - (add-before 'build 'build-curve25519-tables - (lambda* (#:key vendor-dir #:allow-other-keys) - (with-directory-excursion - (dirname (car (find-files vendor-dir "make_curve25519_tables.py"))) - (with-output-to-file "curve25519_tables.h" - (lambda _ - (invoke "python" "make_curve25519_tables.py"))))))))))) - -(define-public rust-webpki-roots-0.25 - (package - (name "rust-webpki-roots") - (version "0.25.1") - (source (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15piy0vccppqb74li32gnn9l5a4ysxzwh8bp3qv6z8rhr2hyvin9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - (list "--release" "--" - ;; This test wants network access. - "--skip=generated_code_is_fresh") - #:cargo-development-inputs - (("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-ring" ,rust-ring-0.16) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) - ("rust-tokio" ,rust-tokio-1)))) - (native-inputs - (list perl pkg-config)) - (inputs - (list openssl)) - (home-page "https://github.com/rustls/webpki-roots") - (synopsis "Mozilla's CA root certificates for use with webpki") - (description "This package provides Mozilla's CA root certificates for use -with webpki.") - (license license:mpl2.0))) - -(define-public rust-webpki-roots-0.23 - (package - (inherit rust-webpki-roots-0.25) - (name "rust-webpki-roots") - (version "0.23.1") - (source (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f4k8nng542iilxbibh1nhrdf5wbyi9is4fr219zzrc6hgw5hc5h")))) - (arguments - `(#:cargo-inputs (("rust-rustls-webpki" ,rust-rustls-webpki-0.100)))))) - -(define-public rust-webpki-roots-0.22 - (package - (inherit rust-webpki-roots-0.25) - (name "rust-webpki-roots") - (version "0.22.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jbll0ys9jakrvv3l1i216bbgj7jbxr7ad2dihw28xcm7s8fnb2m")))) - (arguments - `(#:cargo-inputs - (("rust-webpki" ,rust-webpki-0.22)))))) - -(define-public rust-webpki-roots-0.21 - (package - (inherit rust-webpki-roots-0.22) - (name "rust-webpki-roots") - (version "0.21.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0h49lkr7hrxpyr0xg1nph4m3v1l6rhg8ax9n8msvfwz48hsibgma")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-webpki" ,rust-webpki-0.21)))))) - -(define-public rust-webpki-roots-0.20 - (package - (inherit rust-webpki-roots-0.21) - (name "rust-webpki-roots") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17qpmyym1lsi967b4nc3112nb13ism8731bhjqd9hlajafkxw80g")))) - (arguments - `(#:cargo-inputs - (("rust-webpki" ,rust-webpki-0.21)))))) - -(define-public rust-webpki-roots-0.19 - (package - (inherit rust-webpki-roots-0.20) - (name "rust-webpki-roots") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fapdqwbfv0kncplpvbgnr0bjd5a9krlpij9jdzk0mvaa6vz9vzq")))))) - -(define-public rust-webpki-roots-0.18 - (package - (inherit rust-webpki-roots-0.19) - (name "rust-webpki-roots") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1d4ss607rgi9pj01zzqa13c1p3m35z314yh6lmjaj4kzvwv5gkci")))))) - -(define-public rust-webpki-roots-0.17 - (package - (inherit rust-webpki-roots-0.18) - (name "rust-webpki-roots") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12vi8dh0yik0h4f0b9dnlw5i3gxyky7iblbksh6zcq4xvlvswqm2")))))) - -(define-public rust-webpki-roots-0.16 - (package - (inherit rust-webpki-roots-0.17) - (name "rust-webpki-roots") - (version "0.16.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03ny02mwqdgd2ff23k03kbwr2rrcaymxhp7jcjjikfh340hs83y1")))) - (arguments - `(#:skip-build? #t ; TODO: Fix building rust-ring-0.14 - #:cargo-inputs - (("rust-untrusted" ,rust-untrusted-0.6) - ("rust-webpki" ,rust-webpki-0.19)))))) - -(define-public rust-webpki-roots-0.15 - (package - (inherit rust-webpki-roots-0.20) - (name "rust-webpki-roots") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "webpki-roots" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gya8j75jnvf9lz36w0l4bf2xnw8qdx6plvhia891mcgj44g9lc5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-untrusted" ,rust-untrusted-0.6) - ("rust-webpki" ,rust-webpki-0.18)))))) - -(define-public rust-webview-sys-0.6 - (package - (name "rust-webview-sys") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "webview-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jb6h261lzp4b9rp7iwssbc7vs5d3q4wp08a4wvgwps2q4jz0080")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-gdk-sys" ,rust-gdk-sys-0.10) - ("rust-gio-sys" ,rust-gio-sys-0.10) - ("rust-glib-sys" ,rust-glib-sys-0.10) - ("rust-gobject-sys" ,rust-gobject-sys-0.10) - ("rust-gtk-sys" ,rust-gtk-sys-0.10) - ("rust-javascriptcore-rs-sys" ,rust-javascriptcore-rs-sys-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-webkit2gtk-sys" ,rust-webkit2gtk-sys-0.12)))) - (native-inputs - (list pkg-config)) - (inputs - (list gtk+ webkitgtk-with-libsoup2)) - (home-page "https://github.com/Boscop/web-view") - (synopsis "Rust native ffi bindings for webview") - (description "This library provides a Rust binding to the original -implementation of webview, a tiny cross-platform library to render web-based -GUIs as desktop applications.") - (license license:expat))) - (define-public rust-wee-alloc-0.4 (package (name "rust-wee-alloc") @@ -88135,28 +77757,6 @@ GUIs as desktop applications.") "This package provides fast LZW compression and decompression.") (license (list license:expat license:asl2.0)))) -(define-public rust-wepoll-sys-3 - (package - (name "rust-wepoll-sys") - (version "3.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wepoll-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zvpkr4dz3ny0k20mg1wdlp8vawz5p4gnya7h8j24119m7g19jqg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #true ;missing "winsock.h" - #:cargo-inputs - (("rust-cc" ,rust-cc-1)))) - (home-page "https://gitlab.com/yorickpeterse/wepoll-sys") - (synopsis "Raw bindings to the @code{wepoll} library") - (description - "This crate provides unsafe Rust bindings to the @code{wepoll} library.") - (license license:mpl2.0))) - (define-public rust-wepoll-sys-stjepang-1 (package (name "rust-wepoll-sys-stjepang") @@ -88181,25 +77781,35 @@ GUIs as desktop applications.") using @code{bindgen}.") (license license:mpl2.0))) -(define-public rust-which-4 +(define-public rust-which-5 (package (name "rust-which") - (version "4.3.0") + (version "5.0.0") (source (origin (method url-fetch) (uri (crate-uri "which" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yybp94wikf21vkcl8b6w6l5pnd95nl4fxryz669l4lyxsxiz0qw")))) + (base32 "053fpbczryyn8lcbpkvwl8v2rzld0pr30r5lh1cxv87kjs2ymwwv")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-either" ,rust-either-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-regex" ,rust-regex-1)))) + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=it_works") + #:cargo-inputs (("rust-either" ,rust-either-1) + ("rust-home" ,rust-home-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/harryfei/which-rs.git") (synopsis "Rust equivalent of @command{which}") (description @@ -88208,6 +77818,26 @@ Unix @command{which} command. It returns the full path of an installed executable.") (license license:expat))) +(define-public rust-which-4 + (package + (inherit rust-which-5) + (name "rust-which") + (version "4.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "which" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yybp94wikf21vkcl8b6w6l5pnd95nl4fxryz669l4lyxsxiz0qw")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("rust-either" ,rust-either-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1)))))) + (define-public rust-which-3 (package (inherit rust-which-4) @@ -88250,27 +77880,6 @@ executable.") #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-which-1 - (package - (inherit rust-which-2) - (name "rust-which") - (version "1.0.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "which" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cjwa57kzfgzs681a27m5pjmq580pv3hkcg23smf270bgqz60jp8")))) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-whoami-1 (package (name "rust-whoami") @@ -88449,1218 +78058,17 @@ UTF-32 types are provided, including support for malformed encoding.") command-line, uniformly on all platforms") (license (list license:asl2.0 license:expat)))) -(define-public rust-win-crypto-ng-0.5 - (package - (name "rust-win-crypto-ng") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "win-crypto-ng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0faf5bd4d5kaf642yw91lh0n2bfwnz0l70bm85ysmj3dsj4hg9mf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Windows library - #:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))) - (home-page "https://github.com/emgre/win-crypto-ng") - (synopsis "Safe bindings to Windows Cryptography API: Next Generation") - (description "Safe bindings to Windows Cryptography API: Next Generation") - (license license:bsd-3))) - -(define-public rust-winapi-0.3 - (package - (name "rust-winapi") - (version "0.3.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06gl025x418lchw1wxj64ycr7gha83m44cjr5sarhynd9xkrm0sw")))) - (build-system cargo-build-system) - ;; This package depends unconditionally on these two crates. - (arguments - `(#:cargo-inputs - (("winapi-i686-pc-windows-gnu" ,rust-winapi-i686-pc-windows-gnu-0.4) - ("winapi-x86-64-pc-windows-gnu" ,rust-winapi-x86-64-pc-windows-gnu-0.4)))) - (inputs - (list rust-winapi-i686-pc-windows-gnu-0.4 - rust-winapi-x86-64-pc-windows-gnu-0.4)) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Raw FFI bindings for all of Windows API") - (description - "Raw FFI bindings for all of Windows API.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-winapi-0.2 - (package - (inherit rust-winapi-0.3) - (name "rust-winapi") - (version "0.2.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n")))) - (arguments '(#:skip-build? #t)))) - -(define-public rust-winapi-build-0.1 - (package - (name "rust-winapi-build") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-build" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d")))) - (build-system cargo-build-system) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Common code for build.rs in WinAPI -sys crates") - (description - "Common code for build.rs in WinAPI -sys crates.") - (license license:expat))) - -(define-public rust-winapi-i686-pc-windows-gnu-0.4 - (package - (name "rust-winapi-i686-pc-windows-gnu") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-i686-pc-windows-gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc")) - (modules '((guix build utils))) - (snippet - '(begin - (for-each delete-file (find-files "." "\\.a$")))))) - (build-system cargo-build-system) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Import libraries for the i686-pc-windows-gnu target") - (description "This crate provides import libraries for the -i686-pc-windows-gnu target. Please don't use this crate directly, depend on -@code{winapi} instead.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-winapi-util-0.1 - (package - (name "rust-winapi-util") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-util" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0y71bp7f6d536czj40dhqk0d55wfbbwqfp2ymqf1an5ibgl6rv3h")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/BurntSushi/winapi-util") - (synopsis "Dumping ground for high level safe wrappers over winapi") - (description - "This package provides a dumping ground for high level safe wrappers over -winapi.") - (license (list license:unlicense - license:expat)))) - -(define-public rust-winapi-wsapoll-0.1 - (package - (name "rust-winapi-wsapoll") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-wsapoll" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vnzlcm6yrlx0xdx4g7zr41n84aj73h0p8fwh0m60mbiyl873ha4")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/psychon/winapi-wsapoll") - (synopsis "Safe wrapper around WSAPoll") - (description "This package provides safe wrapper around WSAPoll.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-winapi-x86-64-pc-windows-gnu-0.4 - (package - (name "rust-winapi-x86-64-pc-windows-gnu") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki")) - (modules '((guix build utils))) - (snippet - '(begin - (for-each delete-file (find-files "." "\\.a$")))))) - (build-system cargo-build-system) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Import libraries for the x86_64-pc-windows-gnu target") - (description "This package provides import libraries for the -x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on -@code{winapi} instead.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-wincolor-1 - (package - (name "rust-wincolor") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "wincolor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "017x33ljndwc76cp5z9llgndn0nh7v8jcjaykbizkawmwy9n3pyp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3) - ("rust-winapi-util" ,rust-winapi-util-0.1)))) - (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor") - (synopsis "Windows API for controlling text color in a Windows console") - (description - "This package provides a simple Windows specific API for controlling text -color in a Windows console.") - (license (list license:unlicense - license:expat)))) - -(define-public rust-wincolor-0.1 - (package - (inherit rust-wincolor-1) - (name "rust-wincolor") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "wincolor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rvpvv26a8c4dla5i5hsxlkvjcjjbl0dylhhg4147m54lfcn9c7f")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-windows-0.48 - (package - (name "rust-windows") - (version "0.48.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-windows-implement" ,rust-windows-implement-0.48) - ("rust-windows-interface" ,rust-windows-interface-0.48) - ("rust-windows-targets" ,rust-windows-targets-0.48)))) - (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-0.46 - (package - (inherit rust-windows-0.48) - (name "rust-windows") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "098crdz9gxgy3614ygznqqhn28q097r498b3rg35584nd8gb9b6d")))) - (arguments - `(#:cargo-inputs - (("rust-windows-implement" ,rust-windows-implement-0.46) - ("rust-windows-interface" ,rust-windows-interface-0.46) - ("rust-windows-targets" ,rust-windows-targets-0.42)))))) - -(define-public rust-windows-0.44 - (package - (inherit rust-windows-0.48) - (name "rust-windows") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ax1ip82dhszxz4hhsrdj3b0681xw6axahnfldxcgi506nmmsx4y")))) - (arguments - `(#:tests? #f ; Test suite only runs on Windows. - #:cargo-inputs - (("rust-windows-implement" ,rust-windows-implement-0.44) - ("rust-windows-interface" ,rust-windows-interface-0.44) - ("rust-windows-targets" ,rust-windows-targets-0.42)))))) - -(define-public rust-windows-0.32 - (package - (inherit rust-windows-0.46) - (name "rust-windows") - (version "0.32.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1v0h5b5g1ak2f2a6gkgjqgrqkkbdcfmf02nfmmj27g4nj3dzdvgv")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-windows-implement" ,rust-windows-implement-0.32) - ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.32) - ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.32) - ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.32) - ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.32) - ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.32)))))) - -(define-public rust-windows-0.9 - (package - (inherit rust-windows-0.46) - (name "rust-windows") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zy9jmhkhmsng7l9qiznxpdh5ns303s875p5kf6a5q9ym0rka7rn")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-const-sha1" ,rust-const-sha1-0.2) - ("rust-windows-gen" ,rust-windows-gen-0.9) - ("rust-windows-macros" ,rust-windows-macros-0.9)))))) - -(define-public rust-windows-aarch64-gnullvm-0.48 - (package - (name "rust-windows-aarch64-gnullvm") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_aarch64_gnullvm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g71yxi61c410pwzq05ld7si4p9hyx6lf5fkw21sinvr3cp5gbli")) - (snippet - '(delete-file "lib/libwindows.0.48.0.a")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-aarch64-gnullvm-0.42 - (package - (inherit rust-windows-aarch64-gnullvm-0.48) - (name "rust-windows-aarch64-gnullvm") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_aarch64_gnullvm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y4q0qmvl0lvp7syxvfykafvmwal5hrjb4fmv04bqs0bawc52yjr")) - (snippet - '(delete-file "lib/libwindows.a")))) - (arguments - (list #:skip-build? #t)))) - -(define-public rust-windows-aarch64-msvc-0.48 - (package - (name "rust-windows-aarch64-msvc") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_aarch64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wvwipchhywcjaw73h998vzachf668fpqccbhrxzrz5xszh2gvxj")) - (snippet - '(delete-file "lib/windows.0.48.0.lib")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description "This package provides code gen support for the windows -crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-aarch64-msvc-0.42 - (package - (inherit rust-windows-aarch64-msvc-0.48) - (name "rust-windows-aarch64-msvc") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_aarch64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hsdikjl5sa1fva5qskpwlxzpc5q9l909fpl1w6yy1hglrj8i3p0")) - (snippet - '(delete-file "lib/windows.lib")))) - (arguments - (list #:skip-build? #t)))) - -(define-public rust-windows-aarch64-msvc-0.36 - (package - (inherit rust-windows-aarch64-msvc-0.42) - (name "rust-windows-aarch64-msvc") - (version "0.36.1") - (source - (origin - (inherit (package-source rust-windows-aarch64-msvc-0.42)) - (method url-fetch) - (uri (crate-uri "windows_aarch64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ixaxs2c37ll2smprzh0xq5p238zn8ylzb3lk1zddqmd77yw7f4v")))))) - -(define-public rust-windows-aarch64-msvc-0.32 - (package - (inherit rust-windows-aarch64-msvc-0.36) - (name "rust-windows-aarch64-msvc") - (version "0.32.0") - (source (origin - (inherit (package-source rust-windows-aarch64-msvc-0.36)) - (method url-fetch) - (uri (crate-uri "windows_aarch64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1x8bnafz15ksgpbjbgk1l1j2jx4rq4a2ylzcahb1jhy4n59jgsfq")))))) - -(define-public rust-windows-aarch64-msvc-0.28 - (package - (inherit rust-windows-aarch64-msvc-0.32) - (name "rust-windows-aarch64-msvc") - (version "0.28.0") - (source (origin - (inherit (package-source rust-windows-aarch64-msvc-0.32)) - (method url-fetch) - (uri (crate-uri "windows_aarch64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) - -(define-public rust-windows-bindgen-0.51 - (package - (name "rust-windows-bindgen") - (version "0.51.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-bindgen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xfdq4q958qal5iks8xkaanf7w3akzfxc58dxvz7amhjg2vic7xw")))) - (build-system cargo-build-system) - (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.51)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Windows metadata compiler") - (description "Windows metadata compiler.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-i686-gnu-0.48 - (package - (name "rust-windows-i686-gnu") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_i686_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0hd2v9kp8fss0rzl83wzhw0s5z8q1b4875m6s1phv0yvlxi1jak2")) - (snippet - '(delete-file "lib/libwindows.0.48.0.a")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-i686-gnu-0.42 - (package - (inherit rust-windows-i686-gnu-0.48) - (name "rust-windows-i686-gnu") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_i686_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kx866dfrby88lqs9v1vgmrkk1z6af9lhaghh5maj7d4imyr47f6")) - (snippet - '(delete-file "lib/libwindows.a")))) - (arguments - (list #:skip-build? #t)))) - -(define-public rust-windows-i686-gnu-0.36 - (package - (inherit rust-windows-i686-gnu-0.42) - (name "rust-windows-i686-gnu") - (version "0.36.1") - (source (origin - (inherit (package-source rust-windows-i686-gnu-0.42)) - (method url-fetch) - (uri (crate-uri "windows_i686_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dm3svxfzamrv6kklyda9c3qylgwn5nwdps6p0kc9x6s077nq3hq")))))) - -(define-public rust-windows-i686-gnu-0.32 - (package - (inherit rust-windows-i686-gnu-0.36) - (name "rust-windows-i686-gnu") - (version "0.32.0") - (source (origin - (inherit (package-source rust-windows-i686-gnu-0.36)) - (method url-fetch) - (uri (crate-uri "windows_i686_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05g6kpdfxwxnw2gn1nrd7bsf5997rci0k3h3nqby168ph5l1qwba")))))) - -(define-public rust-windows-i686-gnu-0.28 - (package - (inherit rust-windows-i686-gnu-0.32) - (name "rust-windows-i686-gnu") - (version "0.28.0") - (source (origin - (inherit (package-source rust-windows-i686-gnu-0.32)) - (method url-fetch) - (uri (crate-uri "windows_i686_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm")))))) - -(define-public rust-windows-i686-msvc-0.48 - (package - (name "rust-windows-i686-msvc") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_i686_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "004fkyqv3if178xx9ksqc4qqv8sz8n72mpczsr2vy8ffckiwchj5")) - (snippet - '(delete-file "lib/windows.0.48.0.lib")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-i686-msvc-0.42 - (package - (inherit rust-windows-i686-msvc-0.48) - (name "rust-windows-i686-msvc") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_i686_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0q0h9m2aq1pygc199pa5jgc952qhcnf0zn688454i7v4xjv41n24")) - (snippet - '(delete-file "lib/windows.lib")))) - (arguments - (list #:skip-build? #t)))) - -(define-public rust-windows-i686-msvc-0.36 - (package - (inherit rust-windows-i686-msvc-0.42) - (name "rust-windows-i686-msvc") - (version "0.36.1") - (source (origin - (inherit (package-source rust-windows-i686-msvc-0.42)) - (method url-fetch) - (uri (crate-uri "windows_i686_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "097h2a7wig04wbmpi3rz1akdy4s8gslj5szsx8g2v0dj91qr3rz2")))))) - -(define-public rust-windows-i686-msvc-0.32 - (package - (inherit rust-windows-i686-msvc-0.36) - (name "rust-windows-i686-msvc") - (version "0.32.0") - (source (origin - (inherit (package-source rust-windows-i686-msvc-0.36)) - (method url-fetch) - (uri (crate-uri "windows_i686_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wj1wi01fc8hrasbakjcq8y5a7ynw9l2mcw08svmsq823axi2v0l")))))) - -(define-public rust-windows-i686-msvc-0.28 - (package - (inherit rust-windows-i686-msvc-0.32) - (name "rust-windows-i686-msvc") - (version "0.28.0") - (source (origin - (inherit (package-source rust-windows-i686-msvc-0.32)) - (method url-fetch) - (uri (crate-uri "windows_i686_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai")))))) - -(define-public rust-windows-implement-0.48 - (package - (name "rust-windows-implement") - (version "0.48.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-implement" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy")))) - (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/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.46 - (package - (inherit rust-windows-implement-0.48) - (name "rust-windows-implement") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-implement" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09kw706qcms5yy34lf714zspj34v8jirfxv7yycavpcsa9czpd69")))) - (arguments - `(#:skip-build? #t - #: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.44 - (package - (inherit rust-windows-implement-0.48) - (name "rust-windows-implement") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-implement" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ij5q9khlcfn43a1p3ypjbn711k50s9pc8la5bf04ys1wfl7rs3c")))) - (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.32 - (package - (name "rust-windows-implement") - (version "0.32.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-implement" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-syn" ,rust-syn-1) - ("rust-windows-tokens" ,rust-windows-tokens-0.32)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Implement macro for the windows crate") - (description "This package provides the implement macro for the windows -crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-interface-0.48 - (package - (name "rust-windows-interface") - (version "0.48.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-interface" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6")))) - (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/microsoft/windows-rs") - (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.46 - (package - (inherit rust-windows-interface-0.48) - (name "rust-windows-interface") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-interface" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0a87zxh3wq5ng1vvgqf7jhydsshrpc5w39pyvr0l1vyv3q5k67xc")))) - (arguments - `(#:skip-build? #t - #: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.44 - (package - (inherit rust-windows-interface-0.48) - (name "rust-windows-interface") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-interface" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zwwwfzjdf087gvgy48bbfq9yd0fsh1fj5wzs88gim7cj6jnjgw5")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-windows-metadata-0.51 - (package - (name "rust-windows-metadata") - (version "0.51.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-metadata" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))) - (build-system cargo-build-system) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Windows metadata reader") - (description "Windows metadata reader.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-sys-0.48 - (package - (name "rust-windows-sys") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1aan23v5gs7gya1lc46hqn9mdh8yph3fhxmhxlw36pn6pqc28zb7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.48)))) - (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.45 - (package - (inherit rust-windows-sys-0.48) - (name "rust-windows-sys") - (version "0.45.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1l36bcqm4g89pknfp8r9rl1w4bn017q6a8qlx8viv0xjxzjkna3m")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-windows-targets" ,rust-windows-targets-0.42)))))) - -(define-public rust-windows-sys-0.42 - (package - (inherit rust-windows-sys-0.45) - (name "rust-windows-sys") - (version "0.42.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19waf8aryvyq9pzk0gamgfwjycgzk4gnrazpfvv171cby0h1hgjs")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("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-sys-0.36 - (package - (inherit rust-windows-sys-0.42) - (name "rust-windows-sys") - (version "0.36.1") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lmqangv0zg1l46xiq7rfnqwsx8f8m52mqbgg2mrx7x52rd1a17a")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.36) - ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.36) - ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.36) - ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.36) - ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.36)))))) - -(define-public rust-windows-sys-0.28 - (package - (inherit rust-windows-sys-0.36) - (name "rust-windows-sys") - (version "0.28.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xkghf343nll9i1yvha1a4spf53mnb5knzmnqj9adgsw5mh3kjl2")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.28) - ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.28) - ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.28) - ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28) - ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28)))))) - -(define-public rust-windows-gen-0.9 - (package - (name "rust-windows-gen") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows_gen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lh492px26rrna0harikyy4p7nk520pw2lv0dczp4n2xa6y4s5al")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t #:cargo-inputs (("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description "Code gen support for the windows crate") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-macros-0.9 - (package - (name "rust-windows-macros") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xivsg3lf023hs83xiab2k40fmrl11nbihcdrdkc8pc4ab398xqg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-syn" ,rust-syn-1) ("rust-windows-gen" ,rust-windows-gen-0.9)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Macros for the windows crate") - (description "Macros for the windows crate") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-targets-0.48 - (package - (name "rust-windows-targets") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-targets" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mfzg94w0c8h4ya9sva7rra77f3iy1712af9b6bwg03wrpqbc7kv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.48) - ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.48) - ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.48) - ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.48) - ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.48) - ("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.48) - ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.48)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-targets-0.42 - (package - (inherit rust-windows-targets-0.48) - (name "rust-windows-targets") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-targets" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wfhnib2fisxlx8c507dbmh97kgij4r6kcxdi0f9nk6l1k080lcf")))) - (arguments - `(#:cargo-inputs - (("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-tokens-0.32 - (package - (name "rust-windows-tokens") - (version "0.32.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-tokens" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description "This package provides code generation support for the -windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-x86-64-gnu-0.48 - (package - (name "rust-windows-x86-64-gnu") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya")) - (snippet - '(delete-file "lib/libwindows.0.48.0.a")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-x86-64-gnu-0.42 - (package - (inherit rust-windows-x86-64-gnu-0.48) - (name "rust-windows-x86-64-gnu") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dnbf2xnp3xrvy8v9mgs3var4zq9v9yh9kv79035rdgyp2w15scd")) - (snippet - '(delete-file "lib/libwindows.a")))) - (arguments - (list #:skip-build? #t)))) - -(define-public rust-windows-x86-64-gnu-0.36 - (package - (inherit rust-windows-x86-64-gnu-0.42) - (name "rust-windows-x86-64-gnu") - (version "0.36.1") - (source (origin - (inherit (package-source rust-windows-x86-64-gnu-0.42)) - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1qfrck3jnihymfrd01s8260d4snql8ks2p8yaabipi3nhwdigkad")))))) - -(define-public rust-windows-x86-64-gnu-0.32 - (package - (inherit rust-windows-x86-64-gnu-0.36) - (name "rust-windows-x86-64-gnu") - (version "0.32.0") - (source (origin - (inherit (package-source rust-windows-x86-64-gnu-0.36)) - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g34xhcayig9sndq3555w95q6lr7jr839zxv6l365ijlfhpv24n9")))))) - -(define-public rust-windows-x86-64-gnu-0.28 - (package - (inherit rust-windows-x86-64-gnu-0.32) - (name "rust-windows-x86-64-gnu") - (version "0.28.0") - (source (origin - (inherit (package-source rust-windows-x86-64-gnu-0.32)) - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw")))))) - -(define-public rust-windows-x86-64-gnullvm-0.48 - (package - (name "rust-windows-x86-64-gnullvm") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnullvm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0lxryz3ysx0145bf3i38jkr7f9nxiym8p3syklp8f20yyk0xp5kq")) - (snippet - '(delete-file "lib/libwindows.0.48.0.a")))) - (build-system cargo-build-system) - (arguments (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-x86-64-gnullvm-0.42 - (package - (inherit rust-windows-x86-64-gnullvm-0.48) - (name "rust-windows-x86-64-gnullvm") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_x86_64_gnullvm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18wl9r8qbsl475j39zvawlidp1bsbinliwfymr43fibdld31pm16")) - (snippet - '(delete-file "lib/libwindows.a")))) - (arguments (list #:skip-build? #t)))) - -(define-public rust-windows-x86-64-msvc-0.48 - (package - (name "rust-windows-x86-64-msvc") - (version "0.48.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_x86_64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s")) - (snippet - '(delete-file "lib/windows.0.48.0.lib")))) - (build-system cargo-build-system) - (arguments (list #:skip-build? #t)) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description - "This package provides code gen support for the windows crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-x86-64-msvc-0.42 - (package - (inherit rust-windows-x86-64-msvc-0.48) - (name "rust-windows-x86-64-msvc") - (version "0.42.2") - (source (origin - (method url-fetch) - (uri (crate-uri "windows_x86_64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1w5r0q0yzx827d10dpjza2ww0j8iajqhmb54s735hhaj66imvv4s")) - (snippet - '(delete-file "lib/windows.lib")))) - (arguments (list #:skip-build? #t)))) - -(define-public rust-windows-x86-64-msvc-0.36 - (package - (inherit rust-windows-x86-64-msvc-0.42) - (name "rust-windows-x86-64-msvc") - (version "0.36.1") - (source (origin - (inherit (package-source rust-windows-x86-64-msvc-0.42)) - (method url-fetch) - (uri (crate-uri "windows_x86_64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "103n3xijm5vr7qxr1dps202ckfnv7njjnnfqmchg8gl5ii5cl4f8")))))) - -(define-public rust-windows-x86-64-msvc-0.32 - (package - (inherit rust-windows-x86-64-msvc-0.36) - (name "rust-windows-x86-64-msvc") - (version "0.32.0") - (source (origin - (inherit (package-source rust-windows-x86-64-msvc-0.36)) - (method url-fetch) - (uri (crate-uri "windows_x86_64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05l392h518dxn808dc1zkv6d0r9z38q68qqc0ix9fs9741v28jjh")))))) - -(define-public rust-windows-x86-64-msvc-0.28 - (package - (inherit rust-windows-x86-64-msvc-0.32) - (name "rust-windows-x86-64-msvc") - (version "0.28.0") - (source (origin - (inherit (package-source rust-windows-x86-64-msvc-0.32)) - (method url-fetch) - (uri (crate-uri "windows_x86_64_msvc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz")))))) - (define-public rust-winnow-0.5 (package (name "rust-winnow") - (version "0.5.17") + (version "0.5.31") (source (origin (method url-fetch) (uri (crate-uri "winnow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p7n0rp982pjpscq6dnvbalz6lm45lb60zr0rivn8wm6w3803f53")))) + (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Cut the dependency graph. @@ -89680,254 +78088,21 @@ combinators library.") (package (inherit rust-winnow-0.5) (name "rust-winnow") - (version "0.4.1") + (version "0.4.11") (source (origin (method url-fetch) (uri (crate-uri "winnow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0a2b9f0n6fpn2a88jfbp1kdjj6xrhvf8arnny67qsjb6djrp12df")))) + "0jzbp2dkiiz51qzql7y9xja4946ih54p6q4x2z41xyyb5fr56sb5")))) (arguments `(#:skip-build? #t ; Cut the dependency graph. - #:cargo-inputs - (("rust-anstyle" ,rust-anstyle-0.2) - ("rust-concolor" ,rust-concolor-0.0.8) - ("rust-is-terminal" ,rust-is-terminal-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-terminal-size" ,rust-terminal-size-0.2)))))) - -(define-public rust-winreg-0.10 - (package - (name "rust-winreg") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/gentoo90/winreg-rs") - (synopsis "Rust bindings to the MS Windows Registry API") - (description - "This package provides Rust bindings to MS Windows Registry API.") - (license license:expat))) - -(define-public rust-winreg-0.8 - (package - (inherit rust-winreg-0.10) - (name "rust-winreg") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-winreg-0.7 - (package - (inherit rust-winreg-0.8) - (name "rust-winreg") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3) - ("rust-serde-derive" ,rust-serde-derive-1)))))) - -(define-public rust-winreg-0.6 - (package - (name "rust-winreg") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/gentoo90/winreg-rs") - (synopsis "Rust bindings to MS Windows Registry API") - (description - "This package provides Rust bindings to MS Windows Registry API.") - (license license:expat))) - -(define-public rust-winreg-0.5 - (package - (inherit rust-winreg-0.7) - (name "rust-winreg") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jkh4jj2g8g0bl7r1xvq9vv9hr4gdzphg9ndqm65q6f1jn9paym2")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-winres-0.1 - (package - (name "rust-winres") - (version "0.1.12") - (source - (origin - (method url-fetch) - (uri (crate-uri "winres" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0v2gvqnd8iwwvb6fs69nv0mmk1z96430527n0qlfbsarxxhv53dn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-toml" ,rust-toml-0.5)))) - (home-page "https://github.com/mxre/winres") - (synopsis "Create and set windows icons and metadata for executables") - (description "A simple library to facilitate adding metainformation and -icons to windows executables and dynamic libraries.") - (license license:expat))) - -(define-public rust-winutil-0.1 - (package - (name "rust-winutil") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winutil" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (build-system cargo-build-system) - (home-page "https://bitbucket.org/DaveLancaster/winutil") - (synopsis "Library wrapping a handful of useful winapi functions") - (description - "A simple library wrapping a handful of useful winapi functions.") - (license license:expat))) - -(define-public rust-wio-0.2 - (package - (name "rust-wio") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wio" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "199p404fp96w1f1c93bf1jrvaqwypxf3hmmldhww4jk4yhr9j4jx")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/retep998/wio-rs") - (synopsis "Windows IO wrapper") - (description - "Wio is a middle-level wrapper around various things in Windows API. It -is designed to be a very thin layer around Windows API to provide a safe Rusty -API but without hiding any functionality.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-write-json-0.1 - (package - (name "rust-write-json") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "write-json" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1qxr1xwwyf7rd270rvjlcssm515pikf0sg70wpiymz4miy29l1h6")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/matklad/write-json") - (synopsis - "Simple {dependency,trait,macro}-less JSON serialization") - (description - "This package provides a simple {dependency,trait,macro}-less JSON -serialization.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ws2-32-sys-0.2 - (package - (name "rust-ws2-32-sys") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ws2_32-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2) - ("rust-winapi-build" ,rust-winapi-build-0.1)))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Function definitions for the Windows API library ws2_32") - (description - "Contains function definitions for the Windows API library ws2_32.") - (license license:expat))) + #:cargo-inputs (("rust-anstyle" ,rust-anstyle-0.3) + ("rust-anstyle-stream" ,rust-anstyle-stream-0.2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-terminal-size" ,rust-terminal-size-0.2)))))) (define-public rust-wycheproof-0.5 (package @@ -90040,182 +78215,6 @@ non-cryptographic hashing algorithm and random number generator.") "This package provides a collection of utility functions.") (license license:expat))) -(define-public rust-x11rb-0.12 - (package - (name "rust-x11rb") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02h492k920mb1733cdmly138zfiwkspil6ssqcvi7inyshk1nr5i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Needs a newer version of rust-polling-2. - #:cargo-inputs - (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-gethostname" ,rust-gethostname-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-nix" ,rust-nix-0.26) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) - ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.12)) - #:cargo-development-inputs - (("rust-polling" ,rust-polling-2) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "This package provides Rust bindings to X11.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-x11rb-protocol-0.12 - (package - (name "rust-x11rb-protocol") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1g24qdvq0mbyl2npz7zqy5v6hpdxq2qakkpnp3x02rzvl3ww7ml2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.26) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4)))) - (home-page "https://github.com/psychon/x11rb") - (synopsis "Rust bindings to X11") - (description "This package provides Rust bindings to X11.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-x25519-dalek-1 - (package - (name "rust-x25519-dalek") - (version "1.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x25519-dalek" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xz0m1pczss9r25d1r52420dl2picdypbcn5ycmlwssp9awvd4i3")) - (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("version = \"=1.3\"") "version = \"^1.3\"")))))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) - ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://dalek.rs/") - (synopsis "X25519 elliptic curve Diffie-Hellman key exchange") - (description - "This crate provides a pure-Rust implementation of x25519 elliptic curve -Diffie-Hellman key exchange, with curve operations provided by -@code{curve25519-dalek}.") - (license license:bsd-3))) - -(define-public rust-x25519-dalek-ng-1 - (package - (name "rust-x25519-dalek-ng") - (version "1.1.1") - (source (origin - (method url-fetch) - (uri (crate-uri "x25519-dalek-ng" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09n35vgrryjy0m6ascfaykc8s0i517rzgj64qdq2jrlri7g78w5z")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-curve25519-dalek-ng" ,rust-curve25519-dalek-ng-4) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://dalek.rs/") - (synopsis "Fork of x25519-dalek") - (description "This package provides a fork x25519-dalek, with an updated -rand_core.") - (license license:bsd-3))) - -(define-public rust-x509-parser-0.15 - (package - (name "rust-x509-parser") - (version "0.15.0") - (source (origin - (method url-fetch) - (uri (crate-uri "x509-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0d7nshccpnybbh8mypirplf4bqxiy36bgh4rrd7jzng19bsw5c5s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-asn1-rs" ,rust-asn1-rs-0.5) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-der-parser" ,rust-der-parser-8) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nom" ,rust-nom-7) - ("rust-oid-registry" ,rust-oid-registry-0.6) - ("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)))) - -(define-public rust-x509-parser-0.12 - (package - (inherit rust-x509-parser-0.15) - (name "rust-x509-parser") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x509-parser" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vanwazknxwd1kmlp443bpph9qyas021ayqk6iljxdscm0v0ijgz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-data-encoding" ,rust-data-encoding-2) - ("rust-der-parser" ,rust-der-parser-6) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nom" ,rust-nom-7) - ("rust-oid-registry" ,rust-oid-registry-0.2) - ("rust-ring" ,rust-ring-0.16) - ("rust-rusticata-macros" ,rust-rusticata-macros-4) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-x86-0.52 (package (name "rust-x86") @@ -90300,26 +78299,6 @@ languages.") extended attributes.") (license (list license:expat license:asl2.0)))) -(define-public rust-xattr-0.2 - (package - (inherit rust-xattr-1) - (name "rust-xattr") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "xattr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-xcb-1 (package (name "rust-xcb") @@ -90354,33 +78333,6 @@ extended attributes.") "This package provides Rust bindings and wrappers for XCB.") (license license:expat))) -(define-public rust-xcb-0.9 - (package - (inherit rust-xcb-1) - (name "rust-xcb") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "xcb" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19i2pm8alpn2f0m4jg8bsw6ckw8irj1wjh55h9pi2fcb2diny1b2")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Building all the features tests the code. - #:cargo-build-flags '("--features" "debug_all") - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-x11" ,rust-x11-2)))) - (inputs - (list libx11 libxcb xcb-proto)) - (native-inputs - (list pkg-config python)))) - (define-public rust-xcursor-0.3 (package (name "rust-xcursor") @@ -90431,6 +78383,31 @@ to XDG Base Directory specification.") (license (list license:asl2.0 license:expat)))) +(define-public rust-xdg-home-1 + (package + (name "rust-xdg-home") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "xdg-home" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kbd1ks8bvpsay6lgk60yaf1w13daaf75ghmslan031ss4y20s97")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) + ("rust-winapi" ,rust-winapi-0.3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" (getcwd))))))) + (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.") + (license license:expat))) + (define-public rust-xflags-macros-0.2 (package (name "rust-xflags-macros") @@ -90458,31 +78435,6 @@ to XDG Base Directory specification.") "This package provides a private implementation details of xflags.") (license (list license:expat license:asl2.0)))) -(define-public rust-xflags-0.2 - (package - (name "rust-xflags") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "xflags" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12i0m43fmvwhlqid5xbr017c12j7jv3vlkjv04q428mpl3k6rbar")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-xflags-macros" ,rust-xflags-macros-0.2)))) - (home-page "https://github.com/matklad/xflags") - (synopsis - "Moderately simple command line arguments parser") - (description - "This package provides a moderately simple command line arguments parser.") - (license (list license:expat license:asl2.0)))) - (define-public rust-xi-unicode-0.3 (package (name "rust-xi-unicode") @@ -90662,53 +78614,6 @@ file into an in-memory tree structure.") (("rust-indexmap" ,rust-indexmap-1) ("rust-xml-rs" ,rust-xml-rs-0.7)))))) -(define-public rust-xshell-macros-0.1 - (package - (name "rust-xshell-macros") - (version "0.1.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "xshell-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0lkym5kfq446xymimxr226kppr3ynpi9n8iif32vrfbm5i5djzng")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/matklad/xshell") - (synopsis - "Private implementation detail of xshell crate") - (description - "This package provide a private implementation detail of xshell crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-xshell-0.1 - (package - (name "rust-xshell") - (version "0.1.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "xshell" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1iilg7cjgz3342f3na500dp3c371jk198qh053kfy57b84dvn5gb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-xshell-macros" ,rust-xshell-macros-0.1)))) - (home-page "https://github.com/matklad/xshell") - (synopsis - "Utilities for quick shell scripting in Rust") - (description - "This package provide a utilities for quick shell scripting in Rust.") - (license (list license:expat license:asl2.0)))) - (define-public rust-xxhash-rust-0.8 (package (name "rust-xxhash-rust") @@ -90823,20 +78728,20 @@ Read/Write streams as well as low-level in-memory encoding and decoding.") (("rust-clippy" ,rust-clippy-0.0) ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)))))) -(define-public rust-yansi-0.5 +(define-public rust-yansi-1 (package (name "rust-yansi") - (version "0.5.1") + (version "1.0.0-rc.1") (source (origin (method url-fetch) (uri (crate-uri "yansi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1v4qljgzh73knr7291cgwrf56zrvhmpn837n5n5pypzq1kciq109")))) + (base32 "0xr3n41j5v00scfkac2d6vhkxiq9nz3l5j6vw8f3g3bqixdjjrqk")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-0.6)))) + `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4)))) (home-page "https://github.com/SergioBenitez/yansi") (synopsis "Simple ANSI terminal color painting library") (description @@ -90844,6 +78749,45 @@ Read/Write streams as well as low-level in-memory encoding and decoding.") library.") (license (list license:expat license:asl2.0)))) +(define-public rust-yansi-0.5 + (package + (inherit rust-yansi-1) + (name "rust-yansi") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "yansi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v4qljgzh73knr7291cgwrf56zrvhmpn837n5n5pypzq1kciq109")))) + (arguments + `(#:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-0.6)))))) + +(define-public rust-yansi-term-0.1 + (package + (name "rust-yansi-term") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "yansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w8vjlvxba6yvidqdvxddx3crl6z66h39qxj8xi6aqayw2nk0p7y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/botika/yansi-term") + (synopsis "Library for ANSI terminal colours and styles (bold, underline)") + (description + "Library for ANSI terminal colours and styles (bold, underline).") + (license license:expat))) + (define-public rust-yasna-0.5 (package (name "rust-yasna") @@ -90977,38 +78921,39 @@ for locating fonts.") (define-public rust-zbus-3 (package (name "rust-zbus") - (version "3.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "zbus" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pl5ri4lihzzxzxgvw1m0lpq90pnack0hi6gg48jsqyb1iy5i79p")))) + (version "3.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j5rxgszrmkk5pbpwccrvj3gflwqw8jv8wfx9v84qbl75l53kpii")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-async-broadcast" ,rust-async-broadcast-0.5) ("rust-async-executor" ,rust-async-executor-1) + ("rust-async-fs" ,rust-async-fs-1) ("rust-async-io" ,rust-async-io-1) ("rust-async-lock" ,rust-async-lock-2) + ("rust-async-process" ,rust-async-process-1) ("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-byteorder" ,rust-byteorder-1) ("rust-derivative" ,rust-derivative-2) - ("rust-dirs" ,rust-dirs-4) ("rust-enumflags2" ,rust-enumflags2-0.7) ("rust-event-listener" ,rust-event-listener-2) ("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-lazy-static" ,rust-lazy-static-1) - ("rust-nix" ,rust-nix-0.25) + ("rust-nix" ,rust-nix-0.26) ("rust-once-cell" ,rust-once-cell-1) - ("rust-ordered-stream" ,rust-ordered-stream-0.1) + ("rust-ordered-stream" ,rust-ordered-stream-0.2) ("rust-quick-xml" ,rust-quick-xml-0.27) ("rust-rand" ,rust-rand-0.8) ("rust-serde" ,rust-serde-1) @@ -91022,6 +78967,7 @@ for locating fonts.") ("rust-uds-windows" ,rust-uds-windows-1) ("rust-vsock" ,rust-vsock-0.3) ("rust-winapi" ,rust-winapi-0.3) + ("rust-xdg-home" ,rust-xdg-home-1) ("rust-zbus-macros" ,rust-zbus-macros-3) ("rust-zbus-names" ,rust-zbus-names-2) ("rust-zvariant" ,rust-zvariant-3)) @@ -91078,26 +79024,25 @@ for locating fonts.") (define-public rust-zbus-macros-3 (package (name "rust-zbus-macros") - (version "3.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "zbus_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y4cw7x8hrpz9xd43spd0vzvfbm1991bik1yb2873py0j0p2ljb6")))) + (version "3.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbus_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17dwc1vvvwxlgn78cpds72hcf7y1hxqkjnpm0zlc0y38ji57kla1")))) (build-system cargo-build-system) (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) - ("rust-regex" ,rust-regex-1) - ("rust-syn" ,rust-syn-1)) + #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-1) + ("rust-zvariant-utils" ,rust-zvariant-utils-1)) #:cargo-development-inputs (("rust-async-io" ,rust-async-io-1) - ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-rustversion" ,rust-rustversion-1) ("rust-serde" ,rust-serde-1) @@ -91179,8 +79124,38 @@ for locating fonts.") (description "@code{PolicyKit} binding.") (license license:expat))) +(define-public rust-zerocopy-0.7 + (package + (name "rust-zerocopy") + (version "0.7.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l")))) + (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)))) + (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.6 (package + (inherit rust-zerocopy-0.7) (name "rust-zerocopy") (version "0.6.1") (source (origin @@ -91190,16 +79165,11 @@ for locating fonts.") (sha256 (base32 "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3)))) - (home-page "https://github.com/google/zerocopy") - (synopsis "Utilities for zero-copy parsing and serialization") - (description "Utilities for zero-copy parsing and serialization") - (license license:bsd-2))) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3)))))) (define-public rust-zerocopy-0.3 (package @@ -91220,8 +79190,36 @@ for locating fonts.") ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2)))) (license license:bsd-3))) +(define-public rust-zerocopy-derive-0.7 + (package + (name "rust-zerocopy-derive") + (version "0.7.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/google/zerocopy") + (synopsis "Custom derive for traits from the zerocopy Rust crate") + (description + "This package provides custom derive for traits from the zerocopy Rust +crate.") + (license (list license:bsd-2 license:asl2.0 license:expat)))) + (define-public rust-zerocopy-derive-0.3 (package + (inherit rust-zerocopy-derive-0.7) (name "rust-zerocopy-derive") (version "0.3.2") (source (origin @@ -91231,52 +79229,53 @@ for locating fonts.") (sha256 (base32 "18qr7dqlj89v1xl1g58l2xd6jidv0sbccscgl131gpppba0yc1b5")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; unresolved import `zerocopy` #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/google/zerocopy") - (synopsis "Custom derive for traits from the zerocopy Rust crate") - (description - "This package provides custom derive for traits from the zerocopy Rust -crate.") - (license license:bsd-2))) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-zerocopy-derive-0.2 (package (inherit rust-zerocopy-derive-0.3) (name "rust-zerocopy-derive") - (version "0.2.1") + (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "zerocopy-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1594sf9wwgpbavl1hb1avyz6n7km9apm8afc03x9y8h3spk3k76w")))) + (base32 "1yzd3057gr3csn3x4wrl8y4ji52hr8rirbh9cz487svvzp8xp66l")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; can't find crate for `rustc` #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (license license:bsd-3))) + ("rust-synstructure" ,rust-synstructure-0.12)) + #:cargo-development-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs-0.3)))))) (define-public rust-zeroize-1 (package (name "rust-zeroize") - (version "1.5.7") + (version "1.7.0") (source (origin (method url-fetch) (uri (crate-uri "zeroize" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17ql9c1qhh5kw5aas72swwicnr701alhmhnrfmr9wrkg1jyvb563")))) + (base32 "0bfvby7k9pdp6623p98yz2irqnamcyzpn7zh20nqmdn68b0lwnsj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -91291,21 +79290,6 @@ will not be ``optimized away'' by the compiler. It uses a portable pure Rust implementation that works everywhere, even WASM!") (license (list license:asl2.0 license:expat)))) -(define-public rust-zeroize-1.4 - (package - (inherit rust-zeroize-1) - (name "rust-zeroize") - (version "1.4.3") - (source (origin - (method url-fetch) - (uri (crate-uri "zeroize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "068nvl3n5hk6lfn5y24grf2c7anzzqfzjjccscq3md7rqp79v3fn")))) - (arguments - `(#:cargo-inputs (("rust-zeroize-derive" ,rust-zeroize-derive-1)))))) - (define-public rust-zeroize-derive-1 (package (name "rust-zeroize-derive") @@ -91416,8 +79400,54 @@ implementation that works everywhere, even WASM!") "This package provides a library for parsing compiled zoneinfo files.") (license license:expat))) +(define-public rust-zstd-0.13 + (package + (name "rust-zstd") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0401q54s9r35x2i7m1kwppgkj79g0pb6xz3xpby7qlkdb44k7yxz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-7)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-humansize" ,rust-humansize-2) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/gyscos/zstd-rs") + (synopsis "Binding to the zstd compression library") + (description + "This package provides a binding to the Zstd compression library.") + (license license:expat))) + +(define-public rust-zstd-0.12 + (package + (inherit rust-zstd-0.13) + (name "rust-zstd") + (version "0.12.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g654jj8z25rvzli2b1231pcp9y7n6vk44jaqwgifh9n2xg5j9qs")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-6)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-humansize" ,rust-humansize-2) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))))) + (define-public rust-zstd-0.11 (package + (inherit rust-zstd-0.13) (name "rust-zstd") (version "0.11.2+zstd.1.5.2") (source @@ -91428,7 +79458,6 @@ implementation that works everywhere, even WASM!") (string-append name "-" version ".tar.gz")) (sha256 (base32 "1r7xlmgnifhxbfyid8vkcnd5ip16gx9hf89d1l0lzrpc4q1rdk10")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -91437,12 +79466,7 @@ implementation that works everywhere, even WASM!") (("rust-clap" ,rust-clap-3) ("rust-humansize" ,rust-humansize-1) ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/gyscos/zstd-rs") - (synopsis "Binding to the zstd compression library") - (description - "This package provides a binding to the Zstd compression library.") - (license license:expat))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-zstd-0.9 (package @@ -91473,23 +79497,20 @@ implementation that works everywhere, even WASM!") ("rust-partial-io" ,rust-partial-io-0.5) ("rust-walkdir" ,rust-walkdir-2)))))) -(define-public rust-zstd-safe-5 +(define-public rust-zstd-safe-7 (package (name "rust-zstd-safe") - (version "5.0.2+zstd.1.5.2") + (version "7.0.0") (source (origin (method url-fetch) (uri (crate-uri "zstd-safe" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nzl4q3xl68pq58g9xlym299bvjdii8cl7ix595ym7jgw22maahx")))) + (base32 "0gpav2lcibrpmyslmjkcn3w0w64qif3jjljd2h8lr4p249s7qx23")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-zstd-sys" ,rust-zstd-sys-2)))) + `(#:cargo-inputs (("rust-zstd-sys" ,rust-zstd-sys-2)))) (home-page "https://github.com/gyscos/zstd-rs") (synopsis "Safe low-level bindings to the zstd compression library") (description @@ -91497,6 +79518,39 @@ implementation that works everywhere, even WASM!") library.") (license (list license:expat license:asl2.0)))) +(define-public rust-zstd-safe-6 + (package + (inherit rust-zstd-safe-7) + (name "rust-zstd-safe") + (version "6.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10cm0v8sw3jz3pi0wlwx9mbb2l25lm28w638a5n5xscfnk8gz67f")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-zstd-sys" ,rust-zstd-sys-2)))))) + +(define-public rust-zstd-safe-5 + (package + (inherit rust-zstd-safe-7) + (name "rust-zstd-safe") + (version "5.0.2+zstd.1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nzl4q3xl68pq58g9xlym299bvjdii8cl7ix595ym7jgw22maahx")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-zstd-sys" ,rust-zstd-sys-2)))))) + (define-public rust-zstd-safe-4 (package (inherit rust-zstd-safe-5) diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm new file mode 100644 index 0000000000..ee061cedcf --- /dev/null +++ b/gnu/packages/crates-tls.scm @@ -0,0 +1,1714 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> +;;; Copyright © 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2024 VÖRÖSKŐI András <voroskoi@gmail.com> +;;; +;;; 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/>. + +(define-module (gnu packages crates-tls) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages cmake) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages crypto) + #:use-module (gnu packages golang) + #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages rust-apps) + #:use-module (gnu packages tls)) + +(define-public rust-asn1-0.15 + (package + (name "rust-asn1") + (version "0.15.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nzg1gjiyfvpvrf3i7i8j21165snf5livqg6x2sjf9m2i77cngmf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-asn1-derive" ,rust-asn1-derive-0.15)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/alex/rust-asn1") + (synopsis "ASN.1 (DER) parser and writer") + (description + "This is a Rust library for parsing and generating ASN.1 data (DER only).") + (license license:bsd-3))) + +(define-public rust-asn1-0.13 + (package + (inherit rust-asn1-0.15) + (name "rust-asn1") + (version "0.13.0") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1idxxw14h3dvrj72k4g0hx1aqigd986a00cg0yxfw2gfc9gbmzra")))) + (arguments + `(#:cargo-inputs + (("rust-asn1-derive" ,rust-asn1-derive-0.13) + ("rust-chrono" ,rust-chrono-0.4)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-asn1-derive-0.15 + (package + (name "rust-asn1-derive") + (version "0.15.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1771kfjycjs4g2acqvxpjy3igfcgg8hychczl1lsqq64za4gj6l6")))) + (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/alex/rust-asn1") + (synopsis "#[derive] support for asn1") + (description + "This package provides #[derive] support for @code{asn1}.") + (license license:bsd-3))) + +(define-public rust-asn1-derive-0.13 + (package + (inherit rust-asn1-derive-0.15) + (name "rust-asn1-derive") + (version "0.13.0") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bvqriazb23gysygpzng1dhzjgnlv274q2yj5gpmlpl7jp0pkaxz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-asn1-rs-0.5 + (package + (name "rust-asn1-rs") + (version "0.5.2") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w7zq0392qs7kkv0nzw50bfqvq7q9zxv48fsp3sxyl83mzfxavvz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.4) + ("rust-asn1-rs-impl" ,rust-asn1-rs-impl-0.1) + ("rust-bitvec" ,rust-bitvec-1) + ("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.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)))) + +(define-public rust-asn1-rs-0.3 + (package + (inherit rust-asn1-rs-0.5) + (name "rust-asn1-rs") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0czsk1nd4dx2k83f7jzkn8klx05wbmblkx1jh51i4c170akhbzrh")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs-derive" ,rust-asn1-rs-derive-0.1) + ("rust-asn1-rs-impl" ,rust-asn1-rs-impl-0.1) + ("rust-bitvec" ,rust-bitvec-1) + ("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.3) + ("rust-oid-registry" ,rust-oid-registry-0.3) + ("rust-pem" ,rust-pem-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + +(define-public rust-asn1-rs-derive-0.4 + (package + (name "rust-asn1-rs-derive") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (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)))) + +(define-public rust-asn1-rs-derive-0.1 + (package + (inherit rust-asn1-rs-derive-0.4) + (name "rust-asn1-rs-derive") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gzf9vab06lk0zjvbr07axx64fndkng2s28bnj27fnwd548pb2yv")))) + (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)))))) + +(define-public rust-asn1-rs-impl-0.1 + (package + (name "rust-asn1-rs-impl") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "asn1-rs-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (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)))) + +(define-public rust-async-native-tls-0.3 + (package + (name "rust-async-native-tls") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cwv4vbrvcbv58b51y1azfbszzgzhrzxx92q5nl6hk6kkf97m7ly")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests want internet access. + #:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3) + ("rust-tokio" ,rust-tokio-0.2)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://docs.rs/crate/async-native-tls/") + (synopsis "Native TLS using futures") + (description "Native TLS using futures.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-async-tls-0.10 + (package + (name "rust-async-tls") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lnc61fb16wg76hbqh2kjzc4d9kqkh8mz51zzn78gkpcl329fnnq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `async_std::sync::channel` + #:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/async-std/async-tls") + (synopsis "Asynchronous TLS/SSL streams using Rustls") + (description + "This package provides asynchronous TLS/SSL streams using Rustls.") + (license (list license:expat license:asl2.0)))) + +;; TODO: Unbundle aws-lc-fips. +(define-public rust-aws-lc-fips-sys-0.12 + (package + (name "rust-aws-lc-fips-sys") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "aws-lc-fips-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fv2z5gcm9wm45hbsjhm657p6diqiq1vw5a2rzrzfg8j4vxdzz07")))) + (build-system cargo-build-system) + (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)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-home-directory + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs (list cmake-minimal go perl)) + (home-page "https://github.com/aws/aws-lc-rs") + (synopsis + "AWS-LC is a general-purpose cryptographic library (FIPS version)") + (description + "AWS-LC is a general-purpose cryptographic library maintained by the AWS +Cryptography team for AWS and their customers. This is the FIPS validated +version of AWS-LC.") + (license (list license:isc license:openssl license:asl2.0)))) + +(define-public rust-aws-lc-rs-1 + (package + (name "rust-aws-lc-rs") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "aws-lc-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jmwpin66yibpq0ha7i61g2ryz9gp4y6by4337fdjj2ckhwbm55v")))) + (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-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-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))) + (native-inputs (list cmake-minimal)) + (home-page "https://github.com/awslabs/aws-lc-rs") + (synopsis "AWS-LC is a general-purpose cryptographic library") + (description + "@code{aws-lc-rs} is a cryptographic library using AWS-LC for its +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 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (native-inputs (list cmake-minimal)) + (home-page "https://github.com/aws/aws-lc-rs") + (synopsis "AWS-LC is a general-purpose cryptographic library") + (description + "AWS-LC is a general-purpose cryptographic library maintained by the AWS +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)))) + +(define-public rust-der-0.7 + (package + (name "rust-der") + (version "0.7.5") + (source (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06f2clallhpjc51s3dc7mpcw5ms3jak727qc5yrfg3ncrpzqvr85")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-const-oid" ,rust-const-oid-0.9) + ("rust-der-derive" ,rust-der-derive-0.7) + ("rust-flagset" ,rust-flagset-0.4) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/der") + (synopsis + "Implementation of the Distinguished Encoding Rules (DER)") + (description + "This package provides a pure Rust embedded-friendly implementation of +the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One +(ASN.1) as described in ITU X.690 with full support for heapless no_std +targets") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-der-0.6 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pnl3y52m1s6srxpfrfbazf6qilzq8fgksk5dv79nxaybjk6g97i")))) + (arguments + `(#:cargo-inputs + (("rust-const-oid" ,rust-const-oid-0.9) + ("rust-der-derive" ,rust-der-derive-0.6) + ("rust-flagset" ,rust-flagset-0.4) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1)))))) + +(define-public rust-der-0.5 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p3h7nszn7jhjacpmkjrcyx5g8p3ma1qhxfy3397m7l3fdfq26b9")))) + (arguments + `(#:cargo-inputs (("rust-const-oid" ,rust-const-oid-0.7) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.3) + ("rust-der-derive" ,rust-der-derive-0.5) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.3) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-proptest" ,rust-proptest-1)))))) + +(define-public rust-der-0.4 + (package + (inherit rust-der-0.7) + (name "rust-der") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "der" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x4k0jln8va1657cghl40l6p7hyvr1ixz71v9cd6imwmgp51rdvr")))) + (arguments + `(#:skip-build? + #t ; FIXME + #:cargo-inputs + (("rust-const-oid" ,rust-const-oid-0.6) + ("rust-crypto-bigint" ,rust-crypto-bigint-0.2) + ("rust-der-derive" ,rust-der-derive-0.4)))))) + +(define-public rust-der-derive-0.7 + (package + (name "rust-der-derive") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive") + (synopsis + "Custom derive support for the `der` crate's `Choice` and `Sequence` traits") + (description + "This package provides a custom derive support for the `der` crate's +`Choice` and `Sequence` traits.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-der-derive-0.6 + (package + (inherit rust-der-derive-0.7) + (name "rust-der-derive") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fg3dv4cjjwd4a6dh62ch2gb477s1pvwh5s8wbg567rsbgdivxwf")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-der-derive-0.5 + (package + (inherit rust-der-derive-0.7) + (name "rust-der-derive") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zw4p6yqklv4i76ms2a0gcmna648337r379d5ljgpbir5cyqylrs")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-der-derive-0.4 + (package + (inherit rust-der-derive-0.7) + (name "rust-der-derive") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "der_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0snv85yfy9iln05qsgbhwr1159gd0jfrgzj5dkrnricdc0y3pvca")))) + (arguments + `(#:skip-build? + #t ; FIXME + #: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)))))) + +(define-public rust-der-oid-macro-0.5 + (package + (name "rust-der-oid-macro") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-oid-macro" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dply8g2p72hfhyymkrkr7fjqy844drj19xbrfkqrp55nq4z4fn7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/rusticata/der-parser") + (synopsis "Macro to encode DER oids at compile time") + (description + "This crate provides a macro to encode DER oids at compile time.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-der-parser-8 + (package + (name "rust-der-parser") + (version "8.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07mnz9y395zyxwj7nam2dbzkqdngfraxp2i7y2714dxmpbxpdmnv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-asn1-rs" ,rust-asn1-rs-0.5) + ("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.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)))) + +(define-public rust-der-parser-7 + (package + (inherit rust-der-parser-8) + (name "rust-der-parser") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10kfa2gzl3x20mwgrd43cyi79xgkqxyzcyrh0xylv4apa33qlfgy")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3) + ("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.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-test-case" ,rust-test-case-1)))))) + +(define-public rust-der-parser-6 + (package + (inherit rust-der-parser-8) + (name "rust-der-parser") + (version "6.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "der-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cik6kfx0bpp5gsw59h9b61widy09pqbggifn2r13d00ywhg3pac")))) + (arguments + `(#:cargo-inputs + (("rust-bitvec" ,rust-bitvec-0.22) + ("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-der-oid-macro" ,rust-der-oid-macro-0.5) + ("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.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-test-case" ,rust-test-case-1)))))) + +(define-public rust-native-tls-0.2 + (package + (name "rust-native-tls") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bmrlg0fmzxaycjpkgkchi93av07v2yf9k33gc12ca9gqdrn28h7")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; tests require network access + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" ,rust-security-framework-2) + ("rust-security-framework-sys" ,rust-security-framework-sys-2) + ("rust-tempfile" ,rust-tempfile-3)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3) + ("rust-test-cert-gen" ,rust-test-cert-gen-0.7)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (home-page "https://github.com/sfackler/rust-native-tls") + (synopsis "Wrapper over a platform's native TLS implementation") + (description + "This package provides a wrapper over a platform's native TLS +implementation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-oid-registry-0.6 + (package + (name "rust-oid-registry") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "oid-registry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (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)))) + +(define-public rust-oid-registry-0.4 + (package + (inherit rust-oid-registry-0.6) + (name "rust-oid-registry") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "oid-registry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0akbah3j8231ayrp2l1y5d9zmvbvqcsj0sa6s6dz6h85z8bhgqiq")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3)))))) + +(define-public rust-oid-registry-0.3 + (package + (inherit rust-oid-registry-0.6) + (name "rust-oid-registry") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "oid-registry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jxr4nqpcsgirl53yndhfhch1gzddkjh27z0p7rbsr2xngcpyj9n")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3)))))) + +(define-public rust-oid-registry-0.2 + (package + (inherit rust-oid-registry-0.4) + (name "rust-oid-registry") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "oid-registry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "058qip5j5y0i95ckmw67mp73372rq16ci0lcczyq9irv76r4qmgy")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-der-parser" ,rust-der-parser-6)))))) + +(define-public rust-rcgen-0.12 + (package + (name "rust-rcgen") + (version "0.12.1") + (source (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qg10xvayyxhkcjk1x3g6n59a5rq6iaw6vmmrmyvqg0zmjw6sh28")) + (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-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.15) + ("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-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)))) + +(define-public rust-rcgen-0.11 + (package + (inherit rust-rcgen-0.12) + (name "rust-rcgen") + (version "0.11.3") + (source (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1iivv3xycr9mjfmp522xjqj47nsl5amlzzsfpbxpvg53984g7i2j")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-inputs + (("rust-pem" ,rust-pem-3) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.15) + ("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-rsa" ,rust-rsa-0.9) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-x509-parser" ,rust-x509-parser-0.15)))))) + +(define-public rust-rcgen-0.10 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nvqgr697xzdzaavkcwcl59kxw7xfx9zdhdzx49fm3gkwbpq9gpz")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-inputs (("rust-pem" ,rust-pem-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.14) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-botan" ,rust-botan-0.8) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.6) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.14)))))) + +(define-public rust-rcgen-0.9 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pdwrza2j6bv94nxcfrb6dpbrrrjdnspb3hkwr137rfy3vgg64v4")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-inputs (("rust-pem" ,rust-pem-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.13) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-botan" ,rust-botan-0.8) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.5) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.13)))))) + +(define-public rust-rcgen-0.8 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.8.14") + (source (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19qvlcz8kl046q85xa40p3xg7l78jganj83hdbawjhs17x0d24ar")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::test_dt_to_generalized" + "--skip=tests::test_dt_utc_strip_nanos") + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-pem" ,rust-pem-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-x509-parser" ,rust-x509-parser-0.12) + ("rust-yasna" ,rust-yasna-0.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-botan" ,rust-botan-0.8) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.5) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.12)))))) + +(define-public rust-rustls-0.22 + (package + (name "rust-rustls") + (version "0.22.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (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) + ("rust-log" ,rust-log-0.4) + ("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)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-bencher" ,rust-bencher-0.1) + ("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)))) + +(define-public rust-rustls-0.21 + (package + (inherit rust-rustls-0.22) + (name "rust-rustls") + (version "0.21.10") + (source (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fmpzk3axnhkd99saqkvraifdfms4pkyi56lkihf8n877j0sdmgr")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.17) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-sct" ,rust-sct-0.7)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)))))) + +(define-public rust-rustls-0.20 + (package + (inherit rust-rustls-0.21) + (name "rust-rustls") + (version "0.20.9") + (source (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16byazb8jfr06kgbijy92bdk0ila806g6a00a6l9x64mqpgf700v")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-sct" ,rust-sct-0.7) + ("rust-webpki" ,rust-webpki-0.22)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)))))) + +(define-public rust-rustls-0.19 + (package + (inherit rust-rustls-0.20) + (name "rust-rustls") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mx6nzbplydy9khll4clsl35m6c1a2cgz9czr74swfgfzrsvdv9m")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-sct" ,rust-sct-0.6) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) + +(define-public rust-rustls-0.18 + (package + (inherit rust-rustls-0.19) + (name "rust-rustls") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "108cf3bfw5high066shz9xrfv4jz7djdmnwqs3kwx4wfypf2c4ax")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-base64" ,rust-base64-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-sct" ,rust-sct-0.6) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)))))) + +(define-public rust-rustls-0.17 + (package + (inherit rust-rustls-0.18) + (name "rust-rustls") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q8m835viqrf4bbd2fa8rnmaj48fkd984saxf0238hb8blgs7m60")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-base64" ,rust-base64-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-sct" ,rust-sct-0.6) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-webpki-roots" ,rust-webpki-roots-0.19)))))) + +(define-public rust-rustls-0.16 + (package + (inherit rust-rustls-0.17) + (name "rust-rustls") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17n0fx3fpkg4fhpdplrdhkissnl003kj90vzbqag11vkpyqihnmj")))) + (arguments + `(#:tests? #f ;; 1/114 tests fail (test file not found) + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-sct" ,rust-sct-0.6) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) + +(define-public rust-rustls-0.15 + (package + (inherit rust-rustls-0.16) + (name "rust-rustls") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vh93fhqfbn4ysw4xzkpkpqdz36xixz4mhs1qllgldfq5iay6wgj")))) + (arguments + `(#:tests? #f ; API tests panic + #:cargo-test-flags + '("--release" "--" + "--skip=msgs::message_test::test_read_fuzz_corpus") + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.14) + ("rust-sct" ,rust-sct-0.5) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-webpki" ,rust-webpki-0.19)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) + +(define-public rust-rustls-0.14 + (package + (inherit rust-rustls-0.18) + (name "rust-rustls") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nal4qca7f7mhwnvx3m824ymdj6qmzfcl64sxmrmpis32dwr2y4b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.13) + ("rust-sct" ,rust-sct-0.4) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-webpki" ,rust-webpki-0.18)))))) + +(define-public rust-rustls-ffi-0.8 + (package + (name "rust-rustls-ffi") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "rustls-ffi" version)) + (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) + ("rust-log" ,rust-log-0.4) + ("rust-num-enum" ,rust-num-enum-0.5) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-sct" ,rust-sct-0.7) + ("rust-webpki" ,rust-webpki-0.22)) + #:cargo-development-inputs + (("rust-cbindgen" ,rust-cbindgen-0.26)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'adjust-cbindgen-requirement + ;; The Cargo.toml in the git repository doesn't specify + ;; 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)))) + +(define-public rust-rustls-native-certs-0.7 + (package + (name "rust-rustls-native-certs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-native-certs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14ip15dcr6fmjzi12lla9cpln7mmkdid4a7wsp344v4kz9gbh7wg")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests want network access. + #:cargo-inputs (("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" ,rust-security-framework-2)) + #:cargo-development-inputs (("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-untrusted" ,rust-untrusted-0.7) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-x509-parser" ,rust-x509-parser-0.15)))) + (home-page "https://github.com/ctz/rustls-native-certs") + (synopsis "Use the platform native certificate store with rustls") + (description "@code{rustls-native-certs} allows rustls to use the platform +native certificate store.") + (license (list license:asl2.0 license:isc license:expat)))) + +(define-public rust-rustls-native-certs-0.6 + (package + (inherit rust-rustls-native-certs-0.7) + (name "rust-rustls-native-certs") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-native-certs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "007zind70rd5rfsrkdcfm8vn09j8sg02phg9334kark6rdscxam9")))) + (arguments + `(#:tests? #f ; Tests want network access. + #:cargo-inputs + (("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" ,rust-security-framework-2)) + #:cargo-development-inputs + (("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.100) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-untrusted" ,rust-untrusted-0.7) + ("rust-webpki-roots" ,rust-webpki-roots-0.23) + ("rust-x509-parser" ,rust-x509-parser-0.15)))))) + +(define-public rust-rustls-native-certs-0.5 + (package + (inherit rust-rustls-native-certs-0.6) + (name "rust-rustls-native-certs") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-native-certs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14i0bbbigk6r6262hvc51vz4dvqk1f3vg2f264wfvn2vi30vf1ss")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-rustls" ,rust-rustls-0.19) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" ,rust-security-framework-2)))))) + +(define-public rust-rustls-native-certs-0.4 + (package + (inherit rust-rustls-native-certs-0.5) + (name "rust-rustls-native-certs") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-native-certs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1f2rkvdkz92qcmwryyqiw9phkqkf95g4962ljpfq5nkjfsd477b2")))) + (arguments + `(#:tests? #f ; Tests want network access + #:cargo-inputs + (("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" + ,rust-security-framework-1)) + #:cargo-development-inputs + (("rust-ring" ,rust-ring-0.16) + ("rust-untrusted" ,rust-untrusted-0.7) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)))))) + +(define-public rust-rustls-pemfile-2 + (package + (name "rust-rustls-pemfile") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-pemfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x34xidvzn4br2vl8f8xwmhgbjv4lmlb0ggv5whlnk4yl87rir1m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://github.com/rustls/pemfile") + (synopsis "Basic parser for PEM formatted keys and certificates") + (description "This package provides a very basic parser for the +PEM-encodings commonly used to store keys and certificates at rest.") + (license (list license:asl2.0 license:isc license:expat)))) + +(define-public rust-rustls-pemfile-1 + (package + (inherit rust-rustls-pemfile-2) + (name "rust-rustls-pemfile") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-pemfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1324n5bcns0rnw6vywr5agff3rwfvzphi7rmbyzwnv6glkhclx0w")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.21)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))))) + +(define-public rust-rustls-pemfile-0.2 + (package + (inherit rust-rustls-pemfile-1) + (name "rust-rustls-pemfile") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-pemfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jfi97lqnnnnxhmfy6ygrsp0x70m8wsdpaw45svvz1qc6vmymssy")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.13)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))))) + +(define-public rust-rustls-pki-types-1 + (package + (name "rust-rustls-pki-types") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-pki-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16rkx6gn5l2zximxy8fx9h2vzks1hfxi5z5cd9y97r0fl853wrz7")))) + (build-system cargo-build-system) + (home-page "https://github.com/rustls/pki-types") + (synopsis "Shared types for the rustls PKI ecosystem") + (description "Shared types for the rustls PKI ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustls-webpki-0.102 + (package + (name "rust-rustls-webpki") + (version "0.102.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-webpki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nz9d3xhy8cg6anmvq64scyiva8bglrc6j3v6bdxw2f96xha4k7g")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #: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) + ("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-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/rustls/webpki") + (synopsis "Web PKI X.509 Certificate Verification") + (description "Web PKI X.509 Certificate Verification.") + (license license:isc))) + +(define-public rust-rustls-webpki-0.101 + (package + (inherit rust-rustls-webpki-0.102) + (name "rust-rustls-webpki") + (version "0.101.7") + (source (origin + (method url-fetch) + (uri (crate-uri "rustls-webpki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rapfhpkqp75552i8r0y7f4vq7csb4k7gjjans0df73sxv8paqlb")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-ring" ,rust-ring-0.17) + ("rust-untrusted" ,rust-untrusted-0.9)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rcgen" ,rust-rcgen-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-rustls-webpki-0.100 + (package + (inherit rust-rustls-webpki-0.101) + (name "rust-rustls-webpki") + (version "0.100.3") + (source (origin + (method url-fetch) + (uri (crate-uri "rustls-webpki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qsa7bgwbkgiqh7zq7lihd9jsvjl8mlm25ihzrnjghgib315ysjz")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-ring" ,rust-ring-0.16) + ("rust-untrusted" ,rust-untrusted-0.7)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13) + ("rust-rcgen" ,rust-rcgen-0.11)))))) + +(define-public rust-tls-parser-0.11 + (package + (name "rust-tls-parser") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tls-parser" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q0vd41sjf6pbcygp5bqlpqrxbqdd0qsqi4sm5zbzvb4vvi0d4j0")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Accept newer versions of rust-clap. + (substitute* "Cargo.toml" + (("~2\\.33") "^2.33")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; requires assets not included in crates.io tarball + #:cargo-inputs + (("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-enum-primitive" ,rust-enum-primitive-0.1) + ("rust-nom" ,rust-nom-7) + ("rust-nom-derive" ,rust-nom-derive-0.10) + ("rust-phf" ,rust-phf-0.10) + ("rust-phf-codegen" ,rust-phf-codegen-0.10) + ("rust-rusticata-macros" ,rust-rusticata-macros-4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) + (home-page "https://github.com/rusticata/tls-parser") + (synopsis "Parser for the TLS protocol") + (description "This package provides a Rust parser for the TLS protocol.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-x509-parser-0.15 + (package + (name "rust-x509-parser") + (version "0.15.1") + (source (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nk3ryam7yzsza735xdypkv1i4c35gqlygax5jyr74bbnsjznsbh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-asn1-rs" ,rust-asn1-rs-0.5) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-der-parser" ,rust-der-parser-8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-oid-registry" ,rust-oid-registry-0.6) + ("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)))) + +(define-public rust-x509-parser-0.14 + (package + (inherit rust-x509-parser-0.15) + (name "rust-x509-parser") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j7b3xxpwik38y9rajglmhis551gj3zz5irw1vj1bqkwnsvvxv70")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.5) + ("rust-base64" ,rust-base64-0.13) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-der-parser" ,rust-der-parser-8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-oid-registry" ,rust-oid-registry-0.6) + ("rust-ring" ,rust-ring-0.16) + ("rust-rusticata-macros" ,rust-rusticata-macros-4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)))))) + +(define-public rust-x509-parser-0.13 + (package + (inherit rust-x509-parser-0.15) + (name "rust-x509-parser") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "077bi0xyaa8cmrqf3rrw1z6kkzscwd1nxdxgs7mgz2ambg7bmfcz")))) + (arguments + `(#:cargo-inputs (("rust-asn1-rs" ,rust-asn1-rs-0.3) + ("rust-base64" ,rust-base64-0.13) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-der-parser" ,rust-der-parser-7) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-oid-registry" ,rust-oid-registry-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-rusticata-macros" ,rust-rusticata-macros-4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)))))) + +(define-public rust-x509-parser-0.12 + (package + (inherit rust-x509-parser-0.15) + (name "rust-x509-parser") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-parser" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vanwazknxwd1kmlp443bpph9qyas021ayqk6iljxdscm0v0ijgz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-der-parser" ,rust-der-parser-6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-oid-registry" ,rust-oid-registry-0.2) + ("rust-ring" ,rust-ring-0.16) + ("rust-rusticata-macros" ,rust-rusticata-macros-4) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-x509-signature-0.5 + (package + (name "rust-x509-signature") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-signature" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "063mjzgddfam4xb88wr0li3k0q6nzyq3mvkiykajr69dj0mbrclz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `const_err` has been removed: converted into hard error + #:cargo-test-flags '("--release" "--" + "--skip=tests::parses_openssl_generated_cert") + #:cargo-inputs (("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-untrusted" ,rust-untrusted-0.7) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)))) + (home-page "https://github.com/paritytech/x509-signature") + (synopsis "Low-level X.509 parsing and signature verification library") + (description "This package provides a low-level X.509 parsing and signature +verification library.") + (license (list license:expat license:asl2.0)))) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm new file mode 100644 index 0000000000..6a3ff50edb --- /dev/null +++ b/gnu/packages/crates-vcs.scm @@ -0,0 +1,4163 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019, 2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> +;;; Copyright © 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; +;;; 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/>. + +(define-module (gnu packages crates-vcs) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages curl) + #:use-module (gnu packages llvm) + #:use-module (gnu packages nettle) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages sequoia) + #:use-module (gnu packages ssh) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control)) + +(define-public rust-git-testament-0.2 + (package + (name "rust-git-testament") + (version "0.2.5") + (source (origin + (method url-fetch) + (uri (crate-uri "git-testament" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13pwvfrfgm4s7f80gk4ygzrl0rlqlaks0fx6bcpycilfnv97h33i")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find value `None` in this scope + #:cargo-inputs + (("rust-git-testament-derive" ,rust-git-testament-derive-0.2)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/kinnison/git-testament/") + (synopsis "Record git working tree status when compiling your crate") + (description "Record git working tree status when compiling your crate") + (license license:bsd-3))) + +(define-public rust-git-testament-derive-0.2 + (package + (name "rust-git-testament-derive") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git-testament-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hk8r71jjr1adxz1gpxl3i1xrj4j3g15jdwlyqq6f6myzd74jccv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-git-testament" ,rust-git-testament-0.2)))) + (home-page "https://github.com/kinnison/git-testament/") + (synopsis "Record git working tree status when compiling your crate") + (description + "This package provides an inner procedural macro for git-testament.") + (license license:bsd-3))) + +(define-public rust-git-testament-derive-0.1 + (package + (inherit rust-git-testament-derive-0.2) + (name "rust-git-testament-derive") + (version "0.1.14") + (source (origin + (method url-fetch) + (uri (crate-uri "git-testament-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rlais0i47mgsmp3r5jcqry2agjfyg5s9paj6mgvfykchssjsy2a")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs + (("rust-git-testament" ,rust-git-testament-0.2)))))) + +(define-public rust-git-version-0.3 + (package + (name "rust-git-version") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "git-version" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06ddi3px6l2ip0srn8512bsh8wrx4rzi65piya0vrz5h7nm6im8s")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; not a git repository + #:cargo-inputs + (("rust-git-version-macro" ,rust-git-version-macro-0.3)) + #:cargo-development-inputs (("rust-assert2" ,rust-assert2-0.3) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/fusion-engineering/rust-git-version") + (synopsis "Embed git information in your code at compile-time") + (description + "This crates compiles the git version (tag name, or hash otherwise) and +dirty state into your program.") + (license license:bsd-2))) + +(define-public rust-git-version-macro-0.3 + (package + (name "rust-git-version-macro") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "git-version-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h1s08fgh9bkwnc2hmjxcldv69hlxpq7a09cqdxsd5hb235hq0ak")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; not a git repository + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-assert2" ,rust-assert2-0.3)))) + (home-page "https://github.com/fusion-engineering/rust-git-version") + (synopsis "Internal macro crate for git-version") + (description + "This is an internal macro crate for git-version.") + (license license:bsd-2))) + +(define-public rust-git2-0.18 + (package + (name "rust-git2") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kf0kvg3i7p1223zs2h9fz99ndm0l9kdx3hcw63g73dh5nlppygv")))) + (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-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-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 libssh2 openssl zlib)) + (home-page "https://github.com/rust-lang/git2-rs") + (synopsis "Rust bindings to libgit2") + (description + "This package provides bindings to libgit2 for interoperating with git +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.17 + (package + (inherit rust-git2-0.18) + (name "rust-git2") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i00kg3yizh7mn6hnj3yz3hpniisidlavifgy8n3cnm9gim9v63v")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.15) + ("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-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (native-inputs + (list pkg-config + git-minimal)) ;for a single test + (inputs (list libgit2-1.6 libssh2 openssl zlib)))) + +(define-public rust-git2-0.16 + (package + (inherit rust-git2-0.17) + (name "rust-git2") + (version "0.16.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k1aavsfhk0i9jycc9gb61w2jwy8w9dgkd7zkz295wwm566gdxyc")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.14) + ("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-paste" ,rust-paste-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (native-inputs + (list pkg-config + git-minimal)) ;for a single test + (inputs + (list libgit2 libssh2 openssl zlib)))) + +(define-public rust-git2-0.15 + (package + (inherit rust-git2-0.16) + (name "rust-git2") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lf7yxgrbglx5qqvk033n44ymmrg72z271911jwix9d6lgjbx519")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.14) + ("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-paste" ,rust-paste-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("git" ,git-minimal))) ;for a single test + (inputs + (list libgit2 libssh2 openssl zlib)))) + +(define-public rust-git2-0.13 + (package + (inherit rust-git2-0.15) + (name "rust-git2") + (version "0.13.25") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mppxyjzi69m879mwpin4d9jljanwaijlx3f5w3fdh143g62k4pj")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.12) + ("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-paste" ,rust-paste-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (inputs + (list libgit2-1.3 libssh2 openssl zlib)))) + +(define-public rust-git2-0.9 + (package + (inherit rust-git2-0.13) + (name "rust-git2") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09lj6i26yial0drdbmfh36avz6wizaxqb0k41sqn2kca1qv01d4c")))) + (arguments + `(#:tests? #f ; Needs older version of libgit2. + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.8) + ("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-docopt" ,rust-docopt-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-thread-id" ,rust-thread-id-3) + ("rust-time" ,rust-time-0.1)))))) + +(define-public rust-git2-curl-0.19 + (package + (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")))) + (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-log" ,rust-log-0.4) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/rust-lang/git2-rs") + (synopsis "Libgit2 HTTP transport backend powered by @code{libcurl}") + (description "Backend for an HTTP transport in @code{libgit2}, powered by +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.18 + (package + (inherit rust-git2-curl-0.19) + (name "rust-git2-curl") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2-curl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "132zzrrfw3cnfh9ffc9pfr94my97agnmk7pnfvzqr4kj5d1vgy7q")))) + (arguments + `(#:skip-build? #t ;need rust-civet and others + #:cargo-inputs + (("rust-curl" ,rust-curl-0.4) + ("rust-git2" ,rust-git2-0.17) + ("rust-log" ,rust-log-0.4) + ("rust-url" ,rust-url-2)))))) + +(define-public rust-git2-curl-0.17 + (package + (inherit rust-git2-curl-0.18) + (name "rust-git2-curl") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2-curl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm")))) + (arguments + `(#:skip-build? #t ;need rust-civet and others + #:cargo-inputs + (("rust-curl" ,rust-curl-0.4) + ("rust-git2" ,rust-git2-0.16) + ("rust-log" ,rust-log-0.4) + ("rust-url" ,rust-url-2)))))) + +(define-public rust-gix-0.55 + (package + (name "rust-gix") + (version "0.55.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1spf1hgpbn76y2am0q4i1qxwy8987g9f7byhs09r6y5v3v6nf9h0")))) + (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.28) + ("rust-gix-archive" ,rust-gix-archive-0.6) + ("rust-gix-attributes" ,rust-gix-attributes-0.20) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) + ("rust-gix-config" ,rust-gix-config-0.31) + ("rust-gix-credentials" ,rust-gix-credentials-0.21) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-diff" ,rust-gix-diff-0.37) + ("rust-gix-discover" ,rust-gix-discover-0.26) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-filter" ,rust-gix-filter-0.6) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-ignore" ,rust-gix-ignore-0.9) + ("rust-gix-index" ,rust-gix-index-0.26) + ("rust-gix-lock" ,rust-gix-lock-11) + ("rust-gix-macros" ,rust-gix-macros-0.1) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.20) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.9) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-odb" ,rust-gix-odb-0.54) + ("rust-gix-pack" ,rust-gix-pack-0.44) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.4) + ("rust-gix-prompt" ,rust-gix-prompt-0.7) + ("rust-gix-protocol" ,rust-gix-protocol-0.41) + ("rust-gix-ref" ,rust-gix-ref-0.38) + ("rust-gix-refspec" ,rust-gix-refspec-0.19) + ("rust-gix-revision" ,rust-gix-revision-0.23) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.9) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.2) + ("rust-gix-submodule" ,rust-gix-submodule-0.5) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.38) + ("rust-gix-traverse" ,rust-gix-traverse-0.34) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-gix-worktree" ,rust-gix-worktree-0.27) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.4) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.6) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-26) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("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)))) + +(define-public rust-gix-0.54 + (package + (inherit rust-gix-0.55) + (name "rust-gix") + (version "0.54.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ly919iq2jnb28fvac5iwqv9jqn1pr7fl63xsn89cial8kkk4vdd")))) + (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.27) + ("rust-gix-archive" ,rust-gix-archive-0.5) + ("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) + ("rust-gix-config" ,rust-gix-config-0.30) + ("rust-gix-credentials" ,rust-gix-credentials-0.20) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-diff" ,rust-gix-diff-0.36) + ("rust-gix-discover" ,rust-gix-discover-0.25) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-filter" ,rust-gix-filter-0.5) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-ignore" ,rust-gix-ignore-0.8) + ("rust-gix-index" ,rust-gix-index-0.25) + ("rust-gix-lock" ,rust-gix-lock-10) + ("rust-gix-macros" ,rust-gix-macros-0.1) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.19) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.8) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-odb" ,rust-gix-odb-0.53) + ("rust-gix-pack" ,rust-gix-pack-0.43) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) + ("rust-gix-prompt" ,rust-gix-prompt-0.7) + ("rust-gix-protocol" ,rust-gix-protocol-0.40) + ("rust-gix-ref" ,rust-gix-ref-0.37) + ("rust-gix-refspec" ,rust-gix-refspec-0.18) + ("rust-gix-revision" ,rust-gix-revision-0.22) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.1) + ("rust-gix-submodule" ,rust-gix-submodule-0.4) + ("rust-gix-tempfile" ,rust-gix-tempfile-10) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.37) + ("rust-gix-traverse" ,rust-gix-traverse-0.33) + ("rust-gix-url" ,rust-gix-url-0.24) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-gix-worktree" ,rust-gix-worktree-0.26) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.3) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-26) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("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)))))) + +(define-public rust-gix-0.45 + (package + (inherit rust-gix-0.54) + (name "rust-gix") + (version "0.45.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10ndy5kvczbgfpv7zjqh71hl3w8lin7p3az3pard297fcvn06amz")))) + (arguments + `(#:tests? #f ; Tests aren't included + #:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.21) + ("rust-gix-attributes" ,rust-gix-attributes-0.13) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) + ("rust-gix-config" ,rust-gix-config-0.23) + ("rust-gix-credentials" ,rust-gix-credentials-0.15) + ("rust-gix-date" ,rust-gix-date-0.5) + ("rust-gix-diff" ,rust-gix-diff-0.30) + ("rust-gix-discover" ,rust-gix-discover-0.19) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-fs" ,rust-gix-fs-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-ignore" ,rust-gix-ignore-0.3) + ("rust-gix-index" ,rust-gix-index-0.17) + ("rust-gix-lock" ,rust-gix-lock-6) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.13) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.2) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-odb" ,rust-gix-odb-0.46) + ("rust-gix-pack" ,rust-gix-pack-0.36) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-prompt" ,rust-gix-prompt-0.5) + ("rust-gix-protocol" ,rust-gix-protocol-0.33) + ("rust-gix-ref" ,rust-gix-ref-0.30) + ("rust-gix-refspec" ,rust-gix-refspec-0.11) + ("rust-gix-revision" ,rust-gix-revision-0.15) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-gix-tempfile" ,rust-gix-tempfile-6) + ("rust-gix-transport" ,rust-gix-transport-0.32) + ("rust-gix-traverse" ,rust-gix-traverse-0.26) + ("rust-gix-url" ,rust-gix-url-0.19) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-gix-worktree" ,rust-gix-worktree-0.18) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-prodash" ,rust-prodash-25) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("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)))))) + +(define-public rust-gix-actor-0.28 + (package + (name "rust-gix-actor") + (version "0.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05xldn3aq58kjx2i87xsb2gdw7qhxvvikyvsiwvv85ppkq1cmb9f")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("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)))) + +(define-public rust-gix-actor-0.27 + (package + (inherit rust-gix-actor-0.28) + (name "rust-gix-actor") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09sychqipf8bsmrwn62svpda457h8wj65qnl49qqk42j5jc0xih8")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-itoa" ,rust-itoa-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-gix-actor-0.21 + (package + (inherit rust-gix-actor-0.27) + (name "rust-gix-actor") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f6q1ivdcgj26jln48nl2hphwmps6sb9m4dysldvzbz1dfgkzrwz")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.5) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-itoa" ,rust-itoa-1) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-gix-archive-0.6 + (package + (name "rust-gix-archive") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17gh1wzs1jrmywbchrqdmkma2c0saik7k52fralfdfkf6hbq97wh")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_attributes` + #: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.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.6) + ("rust-tar" ,rust-tar-0.4) + ("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)))) + +(define-public rust-gix-archive-0.5 + (package + (inherit rust-gix-archive-0.6) + (name "rust-gix-archive") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1izajfmninmjg7mvcp6y0mdy641hkvvqmsd7gp6d92mkgxgn6wdb")))) + (arguments + `(#:tests? #f ; undeclared crate gix_worktree, gix_filter, gix_odb + #: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.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.5) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-zip" ,rust-zip-0.6)))))) + +(define-public rust-gix-attributes-0.20 + (package + (name "rust-gix-attributes") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-attributes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "109kciz3cssfbx9zgslngdrkzwf3zd9mlv0srm3yqxlcsdlm8f8g")))) + (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.14) + ("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 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)))) + +(define-public rust-gix-attributes-0.19 + (package + (inherit rust-gix-attributes-0.20) + (name "rust-gix-attributes") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-attributes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "086qgrh8srr5vyswbchn72kw967f25szjgk27dss96vhf1g6cl94")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-byteyarn" ,rust-byteyarn-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("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-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) + +(define-public rust-gix-attributes-0.13 + (package + (inherit rust-gix-attributes-0.19) + (name "rust-gix-attributes") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-attributes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cfciacamnqbxl02l5fb7pcfbzn6r9gnyh86gvc80brqmj89bdvq")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.8) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-kstring" ,rust-kstring-2) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) + +(define-public rust-gix-bitmap-0.2 + (package + (name "rust-gix-bitmap") + (version "0.2.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-bitmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09bk3y4mb4zpncqv07mj6n0if69g245b1jgsv96h70314h7wvdkq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implement the standard git bitmap format") + (description + "This package provides a crate of the gitoxide project dedicated +implementing the standard git bitmap format.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-chunk-0.4 + (package + (name "rust-gix-chunk") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-chunk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y2wp3clilp5rdl727x4q4qw1chbgq91l9spq6h7d07nmkgccgh0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Interact with the git chunk file format") + (description + "Interact with the git chunk file format used in multi-pack index and +commit-graph files.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-command-0.2 + (package + (name "rust-gix-command") + (version "0.2.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ix44maislxlranv67yw5fan5k82lpgax22zgc4jrxvpypxnqmrw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Handle internal git command execution") + (description + "This package provides a crate of the gitoxide project handling internal git +command execution.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-commitgraph-0.22 + (package + (name "rust-gix-commitgraph") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-commitgraph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dpcdj9s5pkdvqpc22jm42y2lhkji2jgixps7a05kw11l1xh19w5")))) + (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.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("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)))) + +(define-public rust-gix-commitgraph-0.21 + (package + (inherit rust-gix-commitgraph-0.22) + (name "rust-gix-commitgraph") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-commitgraph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12nzyh8gyg0k15swsy51m1iy521a7p5xbdg9pw1a1w1cw9g9fnp7")))) + (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.35) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-commitgraph-0.16 + (package + (inherit rust-gix-commitgraph-0.21) + (name "rust-gix-commitgraph") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-commitgraph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "028s0ai44gb9ynic2ch3ingzg8h44c47q90xlzk4fp6mnghhljg8")))) + (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.30) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-config-0.31 + (package + (name "rust-gix-config") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fzraij8rb98j71id939qc56nzaqfaqp8ln3kcvhjv66nk39ibjw")))) + (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.36) + ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.38) + ("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)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Git-config file parser and editor from the Gitoxide project") + (description + "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.30 + (package + (inherit rust-gix-config-0.31) + (name "rust-gix-config") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dcaz3ylf2x763mjfg7jd4qhx65c8l7zqzp3g9kkyza8815m2wf1")))) + (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.35) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.37) + ("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.23 + (package + (inherit rust-gix-config-0.30) + (name "rust-gix-config") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0738kwxlmdp409rypczzr0ampbcvrrv2icigll68zfp118911wsi")))) + (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.12) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-glob" ,rust-gix-glob-0.8) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-ref" ,rust-gix-ref-0.30) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-nom" ,rust-nom-7) + ("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)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4)))))) + +(define-public rust-gix-config-value-0.14 + (package + (name "rust-gix-config-value") + (version "0.14.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config-value" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n1rbwp35jwjwhx61r6vdgan22ladmxb73a6p386x91pzdxix2jv")))) + (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-path" ,rust-gix-path-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "This crate implements @code{git-config} value parsing") + (description + "This package is a crate for @code{git-config} value parsing. Part of +Gitoxide a Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-config-value-0.12 + (package + (inherit rust-gix-config-value-0.14) + (name "rust-gix-config-value") + (version "0.12.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config-value" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15rqyj523ckas16sn0jbqpgzln4h1fcpdsnwj4lw0hbl8d0lz1vf")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-credentials-0.21 + (package + (name "rust-gix-credentials") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1956pmz4sj25kydwh4ardzv9zbdpqrx050g5c4c2m14v0rs5sp0w")))) + (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-command" ,rust-gix-command-0.2) + ("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.7) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Git credentials handlers for Gitoxide") + (description + "Gitoxide is a Rust implementation of Git. This package provides helpers +to interact with Git credentials.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-credentials-0.20 + (package + (inherit rust-gix-credentials-0.21) + (name "rust-gix-credentials") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12mwq0fah6wai26lnq9k3m71lr8cgih43rqy2in6mby59j40p426")))) + (arguments + `(#:tests? #f ;wants undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-command" ,rust-gix-command-0.2) + ("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.7) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.24) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-credentials-0.15 + (package + (inherit rust-gix-credentials-0.20) + (name "rust-gix-credentials") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r8dr9d1xzfq74sg3j2bhd6zsyk3y5322155izpzaa6dibm9zy66")))) + (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-command" ,rust-gix-command-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.12) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-prompt" ,rust-gix-prompt-0.5) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-gix-url" ,rust-gix-url-0.19) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-date-0.8 + (package + (name "rust-gix-date") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-date" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zh6yjxvzxbw92gz3f6846cbxk66wdjbwhp6nm4k9gmyfbxkszzv")))) + (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-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)))) + +(define-public rust-gix-date-0.5 + (package + (inherit rust-gix-date-0.8) + (name "rust-gix-date") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-date" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00jrc86398553z2mdljx9vh8skqgdydhsrr11ak3148fcx2l25mw")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-itoa" ,rust-itoa-1) + ("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)))))) + +(define-public rust-gix-diff-0.37 + (package + (name "rust-gix-diff") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m055q3sywj4i3c3xhdw75ir77l6pn3k9bhazimfvjdqkzv984wk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.38) + ("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. Part of +Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-diff-0.36 + (package + (inherit rust-gix-diff-0.37) + (name "rust-gix-diff") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "134jv0rw7v9lgci65ynq4xy85mvy9rbvpg1n3zl0d0iq5haxp3bq")))) + (arguments + `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-diff-0.30 + (package + (inherit rust-gix-diff-0.36) + (name "rust-gix-diff") + (version "0.30.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cqf3b2dypnd4hl1lwzj4sy8lfb6pdkbzczms95nla6chc0asach")))) + (arguments + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-discover-0.26 + (package + (name "rust-gix-discover") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wlhqkrfyln97arr3hyllw4xc9gnk2qb4nkh70z8hy0i6bq5qpd4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.38) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #: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)))) + +(define-public rust-gix-discover-0.25 + (package + (inherit rust-gix-discover-0.26) + (name "rust-gix-discover") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cyy5yahngnh16n08n9qjp69aavxa7nkrxzw0ajaj3jssx1pcl39")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.37) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #: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)))))) + +(define-public rust-gix-discover-0.19 + (package + (inherit rust-gix-discover-0.25) + (name "rust-gix-discover") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ijg43psf0ijg0z7g0wwsh94c0058gg77pl1apkfzcpjs70cdadb")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-ref" ,rust-gix-ref-0.30) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-thiserror" ,rust-thiserror-1)) + #: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)))))) + +(define-public rust-gix-features-0.36 + (package + (name "rust-gix-features") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-features" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ckilzixrfylgnw5by3wpmym3ri0v9dbc60dkknfnnxvqsjs8ijd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-jwalk" ,rust-jwalk-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-26) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha1-smol" ,rust-sha1-smol-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Crate to integrate various capabilities using compile-time feature flags") + (description + "This package provides a crate to integrate various capabilities using +compile-time feature flags.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-features-0.35 + (package + (inherit rust-gix-features-0.36) + (name "rust-gix-features") + (version "0.35.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-features" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k98r3742xrlqwyaq13a9gazppm5swyx2h4hcmigg0s9mqiz97wv")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-jwalk" ,rust-jwalk-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-26) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha1-smol" ,rust-sha1-smol-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)))))) + +(define-public rust-gix-features-0.30 + (package + (inherit rust-gix-features-0.35) + (name "rust-gix-features") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-features" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0543ggy5vxr2lpi1405mcq93bshj3gfvpjgf13a60q5z14s4k31s")))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-jwalk" ,rust-jwalk-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-25) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha1-smol" ,rust-sha1-smol-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-bstr" ,rust-bstr-1)))))) + +(define-public rust-gix-filter-0.6 + (package + (name "rust-gix-filter") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zs288v2l7n8qcbvsjrc3xkm11mynyjwj7jj0ixricdnzp9p9xlj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.20) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-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-smallvec" ,rust-smallvec-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 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)))) + +(define-public rust-gix-filter-0.5 + (package + (inherit rust-gix-filter-0.6) + (name "rust-gix-filter") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "024bv38s7q59wsp3whzpcra0x40mv53xii2jrnv5ni21rll0vr0v")))) + (arguments + `(#:tests? #f ; use of undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-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-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) + +(define-public rust-gix-fs-0.8 + (package + (name "rust-gix-fs") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01z1whm3qn0pinw4inbpvf53kbfw3kjq48h9vrd6lxzm82q6xs10")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.36) + ("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.7 + (package + (inherit rust-gix-fs-0.8) + (name "rust-gix-fs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0db6bj773ssqvy03mi28glzy963cd1aaaxcbj4nv7s9glsmmz089")))) + (arguments + `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.35)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-gix-fs-0.2 + (package + (inherit rust-gix-fs-0.7) + (name "rust-gix-fs") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ddah0c5ljpfpy2ab1gmgblli2lz4bpbgghm9vwqgnwa02bqknih")))) + (arguments + `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.30)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-gix-glob-0.14 + (package + (name "rust-gix-glob") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06gz18spc8p4b3rbbbh2i2dz1ld2cw3ikgxkwmhjkspfqnc95cax")))) + (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.36) + ("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)))) + +(define-public rust-gix-glob-0.13 + (package + (inherit rust-gix-glob-0.14) + (name "rust-gix-glob") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17dix59mc93m8z97ywkgpssjsmjgl4cfkifja7vxql8jy62nxmx9")))) + (arguments + `(#:tests? #f ; no method named `trim_start` found for reference `&BStr` + #: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.35) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1)))))) + +(define-public rust-gix-glob-0.8 + (package + (inherit rust-gix-glob-0.13) + (name "rust-gix-glob") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13jm1anf9xkp0hpzv9va72b9003kmwflx0ni0fbhf7xbh0gdw2nd")))) + (arguments + `(#:tests? #f ; no method named `trim_start` found for reference `&BStr` + #: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.30) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-serde" ,rust-serde-1)))))) + +(define-public rust-gix-hash-0.13 + (package + (name "rust-gix-hash") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q1xcp8f5prpyr4x62jixrlgm99snscnf87bny1faqvg4v1gi30z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-faster-hex" ,rust-faster-hex-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Borrowed and owned git hash digests used to identify git objects") + (description + "Borrowed and owned git hash digests used to identify git objects. This +package is part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-hash-0.11 + (package + (inherit rust-gix-hash-0.13) + (name "rust-gix-hash") + (version "0.11.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bq986grpsfc6ddav5dlb8zvz1aky264dnnnmax2h1lsmpr2yhjb")))) + (arguments + `(#:cargo-inputs + (("rust-document-features" ,rust-document-features-0.2) + ("rust-hex" ,rust-hex-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-hashtable-0.4 + (package + (name "rust-gix-hashtable") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-hashtable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jnk93sz53b28ajkn4yrvmh0hj3x2jcb81h6nbqc8zkdh601idpy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-parking-lot" ,rust-parking-lot-0.12)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Hashtable based data structures optimized to utilize ObjectId keys") + (description + "Hashtable based data structures optimized to utilize @code{ObjectId} +keys. Part of Gitoxide a Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-hashtable-0.2 + (package + (inherit rust-gix-hashtable-0.4) + (name "rust-gix-hashtable") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-hashtable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13f5v6vghfpzxm5xkmk86gjhsjfqng9rpam37hqjssgkxkk4qprq")))) + (arguments + `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-parking-lot" ,rust-parking-lot-0.12)))))) + +(define-public rust-gix-ignore-0.9 + (package + (name "rust-gix-ignore") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ydq53isj75vf7gjggnv8yf2jimx7sfk5xpw66hvqi8nya6cq5d2")))) + (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.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "This Gitoxide crate handles .gitignore files") + (description + "This crate is part of Gitoxide, it handles @code{.gitignore} files.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-ignore-0.8 + (package + (inherit rust-gix-ignore-0.9) + (name "rust-gix-ignore") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qzmpylhwqqnnb7hcbwfbvblbzg3hzid4d2w42j2vc7nl51z8j5h")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("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.3 + (package + (inherit rust-gix-ignore-0.8) + (name "rust-gix-ignore") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09anfy62zfsclkkvvrsp0bi99pny66hqn07pvc4fik0c3887yvzw")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.8) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) + +(define-public rust-gix-index-0.26 + (package + (name "rust-gix-index") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l0n7cld8m5fq1cnd3lyygmsirw5kzw7gxl8j082wbqv2b64yfn8")))) + (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-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-lock" ,rust-gix-lock-11) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-traverse" ,rust-gix-traverse-0.34) + ("rust-itoa" ,rust-itoa-1) + ("rust-memmap2" ,rust-memmap2-0.7) + ("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.25 + (package + (inherit rust-gix-index-0.26) + (name "rust-gix-index") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dqp5ri3kh87qgy0gxzlr0m4jki8xk5sr8zm867hh4rws6ln6kgm")))) + (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-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-lock" ,rust-gix-lock-10) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-traverse" ,rust-gix-traverse-0.33) + ("rust-itoa" ,rust-itoa-1) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-index-0.17 + (package + (inherit rust-gix-index-0.25) + (name "rust-gix-index") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10kvzsrn7wjgwb3y4xwj9szcg9j81mlkab04z9ii5cdzz9cajsv1")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-lock" ,rust-gix-lock-6) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-traverse" ,rust-gix-traverse-0.26) + ("rust-itoa" ,rust-itoa-1) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-lock-11 + (package + (name "rust-gix-lock") + (version "11.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0drgl9qhkvlhjl0jc0lh2h7h3by1yg9wx4a8cqss8c4qlbk6ap3y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("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") + (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-10 + (package + (inherit rust-gix-lock-11) + (name "rust-gix-lock") + (version "10.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15dazvw49bdx60366vngmrfn69rvxf0pr411a1ak6vbbigx9dz27")))) + (arguments + `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-10) + ("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-6 + (package + (inherit rust-gix-lock-10) + (name "rust-gix-lock") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lpqi927lacn2vz22q2mhacc4plkrlz5whm779ax65kky3kdbi9y")))) + (arguments + `(#:cargo-inputs + (("rust-gix-tempfile" ,rust-gix-tempfile-6) + ("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-macros-0.1 + (package + (name "rust-gix-macros") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fz8dqvavv28b6fksjdff4cj6sld3dvxh6nwdmgmk7q552vplpnp")))) + (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-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Proc-macro utilities for gix") + (description "Proc-macro utilities for Gitoxide. Gitoxide is a pure Rust +implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-mailmap-0.20 + (package + (name "rust-gix-mailmap") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-mailmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01wzzs8gifl6i4vzwbx1ywzwgazy1db6yfh8b3bjsssy1pn5ycp2")))) + (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.28) + ("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)))) + +(define-public rust-gix-mailmap-0.19 + (package + (inherit rust-gix-mailmap-0.20) + (name "rust-gix-mailmap") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-mailmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nx713bx8bi76h14zgg4786afpzryph16pcg43pndq19dslhzw20")))) + (arguments + `(#:tests? #f ; undeclared crate `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.27) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-mailmap-0.13 + (package + (inherit rust-gix-mailmap-0.19) + (name "rust-gix-mailmap") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-mailmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0spslf6r4l51z640fxqpw2nq4j7imzz0jhxwy44y086948cp0ls6")))) + (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-actor" ,rust-gix-actor-0.21) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-negotiate-0.9 + (package + (name "rust-gix-negotiate") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zxnxfjjqxap8plkhz5f4h0gwm83ain229y2vhwwxjgcj7sdqp1a")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; user of undeclared crate gix_testtools + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.9) + ("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.8 + (package + (inherit rust-gix-negotiate-0.9) + (name "rust-gix-negotiate") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01408hs82nhj40arkdx145cfmdccf7pydf89sywd3ihik6zrf5kg")))) + (arguments + `(#:tests? #f ; user of undeclared crate gix_testtools + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-negotiate-0.2 + (package + (inherit rust-gix-negotiate-0.8) + (name "rust-gix-negotiate") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "137hyq036adi5kapw98vd9b0087lxljfkjaz81glmr0jx7qkwp4l")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-revision" ,rust-gix-revision-0.15) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-object-0.38 + (package + (name "rust-gix-object") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lbaz0mzsg5vvm5qvi1nf6f0hyz62hfx18xk3h57fn3z4r22l3vl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.28) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("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.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)))) + +(define-public rust-gix-object-0.37 + (package + (inherit rust-gix-object-0.38) + (name "rust-gix-object") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vzxayiss5k7pmlm0q4axaliidg9a3lq7bkv2ds775k7dihijzhy")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.27) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("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.5)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-gix-object-0.30 + (package + (inherit rust-gix-object-0.37) + (name "rust-gix-object") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1is6hkzcv38m9k2yzja39h3d9s5rvs9vqpfb17kw7pj43kswh9l9")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.21) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-hex" ,rust-hex-0.4) + ("rust-itoa" ,rust-itoa-1) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-gix-odb-0.54 + (package + (name "rust-gix-odb") + (version "0.54.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fql2p0xinkdaq7bybz12j1yw0b4lq3d1nl3sf2ad3qdp1nbac46")))) + (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.8) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-pack" ,rust-gix-pack-0.44) + ("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.53 + (package + (inherit rust-gix-odb-0.54) + (name "rust-gix-odb") + (version "0.53.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gv4zvmizqvxh4n3gnv3yzp83v3spklj0cf6rlrz38m3dcn3jsld")))) + (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.35) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-pack" ,rust-gix-pack-0.43) + ("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.46 + (package + (inherit rust-gix-odb-0.53) + (name "rust-gix-odb") + (version "0.46.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wzqj6r0vgr2v0v9578s1hikg9abbh85m2vwj0psrvkqca04s8sb")))) + (arguments + `(#:tests? #f ; tests not included in release + #:cargo-inputs + (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-pack" ,rust-gix-pack-0.36) + ("rust-gix-path" ,rust-gix-path-0.8) + ("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)) + #:cargo-development-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + +(define-public rust-gix-pack-0.44 + (package + (name "rust-gix-pack") + (version "0.44.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hwphs7ks8pf6v4wrmhd4iy8vj1in95db4q6j82i9zyy60pblc8l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared create 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.37) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-traverse" ,rust-gix-traverse-0.34) + ("rust-memmap2" ,rust-memmap2-0.7) + ("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 for Gitoxide. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-pack-0.43 + (package + (inherit rust-gix-pack-0.44) + (name "rust-gix-pack") + (version "0.43.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cqsxdqz6sdk1m96mpa0f33kddx1inx91gsbd72in7mk8lx20dkm")))) + (arguments + `(#:tests? #f ; use of undeclared create 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.36) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-10) + ("rust-gix-traverse" ,rust-gix-traverse-0.33) + ("rust-memmap2" ,rust-memmap2-0.7) + ("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.36 + (package + (inherit rust-gix-pack-0.43) + (name "rust-gix-pack") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "125gs2hw111izv81zcj9i4mm503ikchbfv3xn7npw0sn675i8akx")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `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.30) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-tempfile" ,rust-gix-tempfile-6) + ("rust-gix-traverse" ,rust-gix-traverse-0.26) + ("rust-memmap2" ,rust-memmap2-0.5) + ("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-packetline-0.16 + (package + (name "rust-gix-packetline") + (version "0.16.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-packetline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ayp00k4a6qgjjyrd2rmzxyx0n8h36dxscjn1pzil5b4x6qq90wa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-faster-hex" ,rust-faster-hex-0.8) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-maybe-async" ,rust-maybe-async-0.2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Crate of the gitoxide project implementing the pkt-line serialization format") + (description + "This package provides a crate of the gitoxide project implementing the +pkt-line serialization format.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-packetline-blocking-0.16 + (package + (name "rust-gix-packetline-blocking") + (version "0.16.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-packetline-blocking" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f9dr79jz9y11qhf0syxwa4nvn4czpyka84hzshxd10wa3vrb0vx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-faster-hex" ,rust-faster-hex-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Duplicate of @code{gix-packetline} with @code{blocking-io} selected") + (description + "Part of Gitoxide, a pure Rust implementation of Git. This package is a +duplicate of @code{gix-packetline} with the @code{blocking-io} feature pre-selected") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-path-0.10 + (package + (name "rust-gix-path") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h1fkwz2ll7ahyd3sy127w3bkcv4lncl1ml37z6bxldf44k2i9hl")))) + (build-system cargo-build-system) + (arguments + `(#: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)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Part of the Gitoxide project, this crate deals with paths and their conversions") + (description + "Part of the Gitoxide project, a lean and safe Rust implementation of +Git. This crate deals with paths and their conversions") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-path-0.8 + (package + (inherit rust-gix-path-0.10) + (name "rust-gix-path") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z5733b3z2wbnz1x0y2aq3gpanrhrlrqr4v4gjlqwl68ps69qq0q")))) + (arguments + `(#: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)))))) + +(define-public rust-gix-pathspec-0.4 + (package + (name "rust-gix-pathspec") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pathspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ka9h2lfgbfbby5rciipgy6nkl1qkcrhp0xvr11z13m3flpvkfqx")))) + (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.20) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.14) + ("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)))) + +(define-public rust-gix-pathspec-0.3 + (package + (inherit rust-gix-pathspec-0.4) + (name "rust-gix-pathspec") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pathspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zg5m586s0sxxwadlvsx9hrrkyym9d4q936kk0zyf6y58ydnrqn3")))) + (arguments + `(#:tests? #f ;undeclared crate gix_testtools + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("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)))))) + +(define-public rust-gix-prompt-0.7 + (package + (name "rust-gix-prompt") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-prompt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y26b3d7z222b223ir9qf8yqwhknzc3c5yksjffmwvsid4vr36jw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("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)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Handles prompts in the terminal as part of Gitoxide") + (description + "Gitoxide is a Rust implementation of Git. This crate handles the +terminals prompt.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-prompt-0.5 + (package + (inherit rust-gix-prompt-0.7) + (name "rust-gix-prompt") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-prompt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sm5b24jpcv4whzxymk6fpb1ph1hhq6842115fpcqqx0yk5dw8ic")))) + (arguments + `(#:cargo-inputs + (("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.12) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("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)))))) + +(define-public rust-gix-protocol-0.41 + (package + (name "rust-gix-protocol") + (version "0.41.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03hy77hbszssdkc4iwig3f82ib4i6agfag37svd90pzsppm3y7ir")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-gix-credentials" ,rust-gix-credentials-0.21) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-transport" ,rust-gix-transport-0.38) + ("rust-maybe-async" ,rust-maybe-async-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-gix-packetline" ,rust-gix-packetline-0.16)))) + (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.40 + (package + (inherit rust-gix-protocol-0.41) + (name "rust-gix-protocol") + (version "0.40.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16qc5q53z5jdqb433106lzzifhf321zgv89ha65bxj8cq86p0yyc")))) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-gix-credentials" ,rust-gix-credentials-0.20) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-transport" ,rust-gix-transport-0.37) + ("rust-maybe-async" ,rust-maybe-async-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) + +(define-public rust-gix-protocol-0.33 + (package + (inherit rust-gix-protocol-0.40) + (name "rust-gix-protocol") + (version "0.33.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "093c9zlqxy8248nynyb909g12xkfxsv5z32j8w41yijwnic718cj")))) + (arguments + `(#:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-gix-credentials" ,rust-gix-credentials-0.15) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-transport" ,rust-gix-transport-0.32) + ("rust-maybe-async" ,rust-maybe-async-0.2) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) + +(define-public rust-gix-quote-0.4 + (package + (name "rust-gix-quote") + (version "0.4.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-quote" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07rjs58hp9mi41dpkd8idczaqdmhi08zi0pv206rcfnp0c1w2zcz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Various quotations used by git") + (description + "This package provides a crate of the gitoxide project dealing with various +quotations used by git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-ref-0.38 + (package + (name "rust-gix-ref") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ljasz4v4bikrb06wdp7hafznmhqh0zgmqvy02w2z3f8gb8gdhhf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.28) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-lock" ,rust-gix-lock-11) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-memmap2" ,rust-memmap2-0.7) + ("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)))) + +(define-public rust-gix-ref-0.37 + (package + (inherit rust-gix-ref-0.38) + (name "rust-gix-ref") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r4d0zpin2c62s4j88n32cd0gf1f2da1kp4yfr0kcq8bcr4vgri2")))) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.27) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-lock" ,rust-gix-lock-10) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-10) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)))))) + +(define-public rust-gix-ref-0.30 + (package + (inherit rust-gix-ref-0.37) + (name "rust-gix-ref") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "073y77045km55bb53ack6hzjd70mkj3rk6d8xxg8mkplas99kpgb")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs + (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.21) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-fs" ,rust-gix-fs-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-lock" ,rust-gix-lock-6) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-tempfile" ,rust-gix-tempfile-6) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-gix-refspec-0.19 + (package + (name "rust-gix-refspec") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-refspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rx6q4k13zciaajz9a6g1wb1w70y92m6fzqc30xb9g8xqi69gc6c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-revision" ,rust-gix-revision-0.23) + ("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)))) + +(define-public rust-gix-refspec-0.18 + (package + (inherit rust-gix-refspec-0.19) + (name "rust-gix-refspec") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-refspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07pniqh74kkm0n727m7wjxgrgwnaypljkhsh8nyw7wvh3rxwp588")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-revision" ,rust-gix-revision-0.22) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-refspec-0.11 + (package + (inherit rust-gix-refspec-0.18) + (name "rust-gix-refspec") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-refspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x0cayswa8m0yiybi8g3jimpc6jggfvrw6y53snxhvf8mciddgvj")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-revision" ,rust-gix-revision-0.15) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-revision-0.23 + (package + (name "rust-gix-revision") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revision" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1215fz886j5gzf31kg32g566vm9pds5679d4d9vg79sr6k3pma9c")))) + (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.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.9) + ("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.22 + (package + (inherit rust-gix-revision-0.23) + (name "rust-gix-revision") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revision" version)) + (file-name (string-append name "-" version + ".tar.gz")) + (sha256 + (base32 + "128fi6mblg4ic6h1q5vy2zq6vly8hxhi9vxkpkskaymby9fb3i68")))) + (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.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-revision-0.15 + (package + (inherit rust-gix-revision-0.22) + (name "rust-gix-revision") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revision" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mrcjg8180n3kgbsngfaavzlfsqbmr905gjc0fdwx1x4sxngai2h")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.5) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-revwalk-0.9 + (package + (name "rust-gix-revwalk") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q7sgvkm0zdpp09v51jgv7c77zff82fvyr82dzc7dmjc5s4qqvd1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Utilities for walking the 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.8 + (package + (inherit rust-gix-revwalk-0.9) + (name "rust-gix-revwalk") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yd27ip3xhxplsw6cmyjz1vk6q5c0qhkn33icx2hiwij21mhr1z9")))) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-revwalk-0.1 + (package + (inherit rust-gix-revwalk-0.8) + (name "rust-gix-revwalk") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jnkyb5yk8y76q5gbmdykm2snxn5v9dbc4jy3walz4a7hyx269mw")))) + (arguments + `(#:cargo-inputs + (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-sec-0.10 + (package + (name "rust-gix-sec") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-sec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ln6lgb92xq2jlggqn5dkj5dhd3cpjfkk9yb44hmzw7a5x3bzngq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this create provides a shared trust model") + (description + "This package is part of Gitoxide, it implements a shared trust model.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-sec-0.8 + (package + (inherit rust-gix-sec-0.10) + (name "rust-gix-sec") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-sec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iz9rcyx7lpb4gxg5gyv93ygp0n321c5xmrcjkmqm2annkbcn5cn")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-windows" ,rust-windows-0.48)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-gix-status-0.2 + (package + (name "rust-gix-status") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c3a1y91444vdl1krhhybhlcb5fmjcwll8g9df1fbg27zcgjfm0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-filter" ,rust-gix-filter-0.6) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-index" ,rust-gix-index-0.26) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.4) + ("rust-gix-worktree" ,rust-gix-worktree-0.27) + ("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)))) + +(define-public rust-gix-status-0.1 + (package + (inherit rust-gix-status-0.2) + (name "rust-gix-status") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yi2wl5c1zacr5nr8qj9g7rq9ylwp2ckvkjwgd0g41x75g202a08")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-index" ,rust-gix-index-0.25) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-submodule-0.5 + (package + (name "rust-gix-submodule") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hm1d7a9qb3zylln44bxcnmdy27zfajc6gj5g00kf95a2a6qr9xv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.31) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.4) + ("rust-gix-refspec" ,rust-gix-refspec-0.19) + ("rust-gix-url" ,rust-gix-url-0.25) + ("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)))) + +(define-public rust-gix-submodule-0.4 + (package + (inherit rust-gix-submodule-0.5) + (name "rust-gix-submodule") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dz2w3ikhbf938rfamlqkmxl9hznz4i7mm9dmgrd70lj5vl500fx")))) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.30) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) + ("rust-gix-refspec" ,rust-gix-refspec-0.18) + ("rust-gix-url" ,rust-gix-url-0.24) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-tempfile-11 + (package + (name "rust-gix-tempfile") + (version "11.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-tempfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08vykvfdgxvqqm63zav1rw730qm6cdnnvqni52dwcvm82j8x539q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("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 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)))) + +(define-public rust-gix-tempfile-10 + (package + (inherit rust-gix-tempfile-11) + (name "rust-gix-tempfile") + (version "10.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-tempfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kdc21s0dnqnbzfdazpsw8fclnw1gi3w4np71qlmgp0i7s7rgq2s")))) + (arguments + `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("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)))))) + +(define-public rust-gix-tempfile-6 + (package + (inherit rust-gix-tempfile-10) + (name "rust-gix-tempfile") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-tempfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "047baclw78xkzjg04z5290x7vhcz270jpw7vdm25rp7922q5qy5k")))) + (arguments + `(#:cargo-inputs + (("rust-dashmap" ,rust-dashmap-5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-fs" ,rust-gix-fs-0.2) + ("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)))))) + +(define-public rust-gix-trace-0.1 + (package + (name "rust-gix-trace") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-trace" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cd9288nj861b9ixm0pd79rsvn4avafaiiicdrczrzm7cvbh5ch2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-document-features" ,rust-document-features-0.2) + ("rust-tracing-core" ,rust-tracing-core-0.1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Crate to provide minimal `tracing` support") + (description + "This package provides a crate to provide minimal `tracing` support that +can be turned off to zero cost.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-transport-0.38 + (package + (name "rust-gix-transport") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lp7bg7pj9l2na92bdrbx0zjybi7j88c26vm341z492f6s9rl81g")))) + (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.21) + ("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-1) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-credentials" ,rust-gix-credentials-0.21) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-packetline" ,rust-gix-packetline-0.16) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("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.37 + (package + (inherit rust-gix-transport-0.38) + (name "rust-gix-transport") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kpv0aqx7c3hbsc14rk7c01yd7b73mm14d4swnn6hpi4d9p75v5r")))) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("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-1) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-credentials" ,rust-gix-credentials-0.20) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-packetline" ,rust-gix-packetline-0.16) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.24) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("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)))))) + +(define-public rust-gix-transport-0.32 + (package + (inherit rust-gix-transport-0.37) + (name "rust-gix-transport") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05fzh609x4d6djizmrv5m98axinp2m5hcpk003bqw1x9v7z9z8v4")))) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("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-1) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-credentials" ,rust-gix-credentials-0.15) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-packetline" ,rust-gix-packetline-0.16) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-gix-url" ,rust-gix-url-0.19) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("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)))))) + +(define-public rust-gix-traverse-0.34 + (package + (name "rust-gix-traverse") + (version "0.34.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12pk1w89kj978jdfsg2fwmq5p4gv0i0wydh6pxmbf6sfgpn51l0l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.9) + ("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.33 + (package + (inherit rust-gix-traverse-0.34) + (name "rust-gix-traverse") + (version "0.33.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "180vp1piwlalsv8qkmmif03l7h2kdxfx5vawkclbmb236smh9vr2")))) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.21) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.4) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.8) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-traverse-0.26 + (package + (inherit rust-gix-traverse-0.33) + (name "rust-gix-traverse") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n9kgzw5jal2jsqb56bpaj1xp35zp2hz6nf5klrjdgxl9jc2x15h")))) + (arguments + `(#:cargo-inputs + (("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-url-0.25 + (package + (name "rust-gix-url") + (version "0.25.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01a0phpk3f0lrhavqm51cgpdwh925i2djiyslaj57ync24d7lhhc")))) + (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.36) + ("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.24 + (package + (inherit rust-gix-url-0.25) + (name "rust-gix-url") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03s2ds2z6whd44qapyvz4kqfpniik0issv6s09rbys4cdvsfq9b1")))) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.35) + ("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-libtest-mimic" ,rust-libtest-mimic-0.6)))))) + +(define-public rust-gix-url-0.19 + (package + (inherit rust-gix-url-0.24) + (name "rust-gix-url") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qy8shn5s8r9fjchcqrz0xwg89lsjykd463naji4f864bbr3srpi")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-home" ,rust-home-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2)))))) + +(define-public rust-gix-utils-0.1 + (package + (name "rust-gix-utils") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f3a4slyvxw72b1xz988h3ppd8c0wyzacg9625j2k2vrs3rkks2n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fastrand" ,rust-fastrand-2) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Crate with `gitoxide` utilities that don't need feature toggles") + (description + "This package provides a crate with `gitoxide` utilities that don't need +feature toggles.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-validate-0.8 + (package + (name "rust-gix-validate") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-validate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m1qi0xp59sa3540zdhdshjhfj44nsdjiyd0vindkmbb95pw6z5c")))) + (build-system cargo-build-system) + (arguments + `(#: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") + (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.7 + (package + (inherit rust-gix-validate-0.8) + (name "rust-gix-validate") + (version "0.7.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-validate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h4hr3rpgwc7ixyynjp53s9il3sb0gq8ad332k8drwyfn8vkg6xs")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-worktree-0.27 + (package + (name "rust-gix-worktree") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zfpqbrxxwjjhjk1rn60rmajxm4f7ix2jbx44vklz9nv47kpkbyx")))) + (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.20) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-ignore" ,rust-gix-ignore-0.9) + ("rust-gix-index" ,rust-gix-index-0.26) + ("rust-gix-object" ,rust-gix-object-0.38) + ("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)))) + +(define-public rust-gix-worktree-0.26 + (package + (inherit rust-gix-worktree-0.27) + (name "rust-gix-worktree") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zhl1wlf4zl0ny1mwp7j24gzln63xy2grrh9cvaq5g8152bk4plz")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-ignore" ,rust-gix-ignore-0.8) + ("rust-gix-index" ,rust-gix-index-0.25) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1)))))) + +(define-public rust-gix-worktree-0.18 + (package + (inherit rust-gix-worktree-0.26) + (name "rust-gix-worktree") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xjhxw6lmjhnmcnhajaks34dnsqgg7w7lf576hkl0m485sbav26k")))) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-attributes" ,rust-gix-attributes-0.13) + ("rust-gix-features" ,rust-gix-features-0.30) + ("rust-gix-fs" ,rust-gix-fs-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-ignore" ,rust-gix-ignore-0.3) + ("rust-gix-index" ,rust-gix-index-0.17) + ("rust-gix-object" ,rust-gix-object-0.30) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-io-close" ,rust-io-close-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-symlink" ,rust-symlink-0.1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-walkdir" ,rust-walkdir-2)))))) + +(define-public rust-gix-worktree-state-0.4 + (package + (name "rust-gix-worktree-state") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m5y0qsf8r7sl6ffvi5ymd6497a5mb4k3pq31b072g5gvk6gr8il")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-filter" ,rust-gix-filter-0.6) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-index" ,rust-gix-index-0.26) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.27) + ("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.3 + (package + (inherit rust-gix-worktree-state-0.4) + (name "rust-gix-worktree-state") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bcpspxpvl8yybz8b0p64pjxb69b7kmkhsyv9jgarigjc1lv1bn3")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-filter" ,rust-gix-filter-0.5) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-glob" ,rust-gix-glob-0.13) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-index" ,rust-gix-index-0.25) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.26) + ("rust-io-close" ,rust-io-close-0.3) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-worktree-stream-0.6 + (package + (name "rust-gix-worktree-stream") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b5gf6pq9ypxhg0x9dj9b1agrhbj7rz64r10d0kp6d69z2v38jzf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; using undeclared crates gix_worktree/gix_testtools + #:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.20) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-filter" ,rust-gix-filter-0.6) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.38) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-traverse" ,rust-gix-traverse-0.34) + ("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)))) + +(define-public rust-gix-worktree-stream-0.5 + (package + (inherit rust-gix-worktree-stream-0.6) + (name "rust-gix-worktree-stream") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sbmcar5r2wrv5dacx3381ykvc06fpfsfad4dfnw6p7428xfk7y8")))) + (arguments + `(#:tests? #f ; using undeclared crates gix_worktree/gix_testtools + #:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.19) + ("rust-gix-features" ,rust-gix-features-0.35) + ("rust-gix-filter" ,rust-gix-filter-0.5) + ("rust-gix-fs" ,rust-gix-fs-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-traverse" ,rust-gix-traverse-0.33) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-libgit2-sys-0.16 + (package + (name "rust-libgit2-sys") + (version "0.16.1+1.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "030dnq7hz79qs4rxdllc3ailvqzc432jwwxk7g8av55hh0vbp8pj")) + (modules '((guix build utils))) + (snippet + #~(begin (delete-file-recursively "libgit2"))))) + (build-system cargo-build-system) + (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)) + (home-page "https://github.com/rust-lang/git2-rs") + (synopsis "Native bindings to the libgit2 library") + (description + "This package provides native Rust bindings to the @code{libgit2} +library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libgit2-sys-0.15 + (package + (inherit rust-libgit2-sys-0.16) + (name "rust-libgit2-sys") + (version "0.15.2+1.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yllyq9wiryy257cfx8s7wadls24yzkxnhmbl95iz9ml3zhz43d8")) + (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)))) + (inputs (list libgit2-1.6 openssl zlib)))) + +(define-public rust-libgit2-sys-0.14 + (package + (inherit rust-libgit2-sys-0.15) + (name "rust-libgit2-sys") + (version "0.14.2+1.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1926x5f84ykr8j2lsdmb0n0bj4jz173j5bm722cgwx8hnpv9agbz")) + (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.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (inputs + (list libgit2 openssl zlib)))) + +(define-public rust-libgit2-sys-0.13 + (package + (inherit rust-libgit2-sys-0.14) + (name "rust-libgit2-sys") + (version "0.13.5+1.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fkdgfqdkd38hfsyw3znq629gp7wdknzslym5l0g29k9q83fmrai")) + (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.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (inputs + (list libgit2-1.4 openssl zlib)))) + +(define-public rust-libgit2-sys-0.12 + (package + (inherit rust-libgit2-sys-0.14) + (name "rust-libgit2-sys") + (version "0.12.26+1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "153l8nvz9p8vyd5840xi6fwblvhpn3c33jwdwsznyq4f4jcwiq8r")) + (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.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-libgit2-sys-0.8 + (package + (inherit rust-libgit2-sys-0.12) + (name "rust-libgit2-sys") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libgit2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "libgit2") #t)))))) + +;; Keep this package for future packaging of pijul. +(define-public rust-libpijul-0.12 + (package + (name "rust-libpijul") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libpijul" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18d9n8xaq5ncq3375f0xrr96l8si1frczgzdlrz3fl1jby8vbl6f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; TODO: Fix build + #:tests? #f ; backend::file_header::test_fileheader_alignment fails + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bincode" ,rust-bincode-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bs58" ,rust-bs58-0.2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-diffs" ,rust-diffs-0.3) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-hex" ,rust-hex-0.3) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-sanakirja" ,rust-sanakirja-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-toml" ,rust-toml-0.4)))) + (native-inputs + (list pkg-config)) + (inputs + (list clang nettle openssl)) + (home-page "https://pijul.org/") + (synopsis "Library component of the pijul version control system") + (description + "This crate contains the core API to access Pijul repositories. + +The key object is a @code{Repository}, on which @code{Txn} (immutable +transactions) and @code{MutTxn} (mutable transactions) can be started, to +perform a variety of operations. + +Another important object is a @code{Patch}, which encodes two different pieces +of information: + +@itemize +@item Information about deleted and inserted lines between two versions of a +file. +@item Information about file moves, additions and deletions. +@end itemize") + (license license:gpl2+))) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm new file mode 100644 index 0000000000..6650c26913 --- /dev/null +++ b/gnu/packages/crates-web.scm @@ -0,0 +1,5654 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020 John Soo <jsoo1@asu.edu> +;;; Copyright © 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 VÖRÖSKŐI András <voroskoi@gmail.com> +;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu> +;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; +;;; 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/>. + +(define-module (gnu packages crates-web) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (gnu packages) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages curl) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) + #:use-module (gnu packages webkit)) + +(define-public rust-actix-0.10 + (package + (name "rust-actix") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q6cd08d0xikilj9l3gfsyhva5b91y55lfxy7yd7w7ivizw43qhv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #false ;doc test fails + #:cargo-inputs + (("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-derive" ,rust-actix-derive-0.5) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-util" ,rust-tokio-util-0.3) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19)))) + (home-page "https://actix.rs") + (synopsis "Actor framework for Rust") + (description "This package provides Actix actor framework for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-0.8 + (package + (inherit rust-actix-0.10) + (name "rust-actix") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xqyrwq7hgi640h5czy73zrkxl1s0yhm7laxga13dwhkfg9f6737")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-http" ,rust-actix-http-0.2) + ("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-derive" ,rust-actix-derive-0.4) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.3) + ("rust-derive-more" ,rust-derive-more-0.14) + ("rust-futures" ,rust-futures-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.8) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-tokio-codec" ,rust-tokio-codec-0.1) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))))) + +(define-public rust-actix-codec-0.3 + (package + (name "rust-actix-codec") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-codec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w7506qd2f8q83z6l5lqx1363ks0ysx8f7qgvy8fknrq70xq7lbq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-util" ,rust-tokio-util-0.3)))) + (home-page "https://actix.rs") + (synopsis "Codec utilities for working with framed protocols") + (description + "This package provides codec utilities for working with framed +protocols.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-codec-0.2 + (package + (inherit rust-actix-codec-0.3) + (name "rust-actix-codec") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-codec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "100k0n155fnnjqjz2s1gnwim2fp7s1mw942x0famg89cbh55zr89")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-util" ,rust-tokio-util-0.2)))))) + +(define-public rust-actix-codec-0.1 + (package + (inherit rust-actix-codec-0.3) + (name "rust-actix-codec") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-codec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lv42xf57y3kwy8nl2a9pkz35yvbspd9250virfr7p069fpi2b4z")))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-tokio-codec" ,rust-tokio-codec-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)))))) + +(define-public rust-actix-connect-2 + (package + (name "rust-actix-connect") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-connect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p6hh5rj9zpx4wx0h87d56ahk68hmhpw2gmfsfl5pwb312hkfy0p")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-utils" ,rust-actix-utils-2) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-either" ,rust-either-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19) + ("rust-webpki" ,rust-webpki-0.21)))) + (home-page "https://actix.rs") + (synopsis "TCP connector service for Actix ecosystem") + (description + "This package provides a TCP connector service for Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-connect-1 + (package + (inherit rust-actix-connect-2) + (name "rust-actix-connect") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-connect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v77m394gzbrrzg12xkqgli11vwhig0zcxy3yhmq1s91j9bcjp69")))) + (arguments + ;; XXX: The crate fails to't build with: "error[E0432]: unresolved import + ;; `trust_dns_resolver::Background`". I assume it really expects + ;; trust-dns-resolver at version 0.18-alpha.2, which we do not provide. + `(#:skip-build? #true + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-utils" ,rust-actix-utils-1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.18) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-actix-testing" ,rust-actix-testing-1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-version-requirements + (lambda _ + (substitute* "Cargo.toml" + (("0.18.0-alpha.2") + ,(package-version rust-trust-dns-proto-0.18))) + #t))))))) + +(define-public rust-actix-connect-0.2 + (package + (inherit rust-actix-connect-2) + (name "rust-actix-connect") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-connect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "187whz05gjkp9pcza4i714v0a8yxlg3jdrzii7gaqsxl9fyykbcz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-actix-utils" ,rust-actix-utils-0.4) + ("rust-derive-more" ,rust-derive-more-0.15) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11) + ("rust-webpki" ,rust-webpki-0.19)) + #:cargo-development-inputs + (("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-actix-test-server" ,rust-actix-test-server-0.2) + ("rust-bytes" ,rust-bytes-0.4)))))) + +(define-public rust-actix-derive-0.5 + (package + (name "rust-actix-derive") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k1kg4gkp2jhi5fgdfd0cq2qfbyy3gfgwqjrvzq1hzrjmynwwnmr")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #true ;bootsrapping issues with rust-actix + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + ;; #:cargo-development-inputs + ;; (("rust-actix" ,rust-actix-0.8)) + )) + (home-page "https://github.com/actix/actix-derive/") + (synopsis "Proc macros for Actix Rust actor framework") + (description + "This package provides proc macros for the Rust actor framework Actix.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-derive-0.4 + (package + (inherit rust-actix-derive-0.5) + (name "rust-actix-derive") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v0mvq883aq5z6d0893bh32bfddvfajh5bm7nkl0l8idpzbzdx8b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)))))) + +(define-public rust-actix-http-2 + (package + (name "rust-actix-http") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x78h9lzqdhp06v1kf4dhbiqp8sc911w4lqfj5rmdbhpg3l9j8j5")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix" ,rust-actix-0.10) + ("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-connect" ,rust-actix-connect-2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) + ("rust-actix-tls" ,rust-actix-tls-2) + ("rust-actix-utils" ,rust-actix-utils-2) + ("rust-base64" ,rust-base64-0.13) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-brotli2" ,rust-brotli2-0.3) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-cookie" ,rust-cookie-0.14) + ("rust-copyless" ,rust-copyless-0.1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-either" ,rust-either-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-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-fxhash" ,rust-fxhash-0.2) + ("rust-h2" ,rust-h2-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-language-tags" ,rust-language-tags-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-rand" ,rust-rand-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-slab" ,rust-slab-0.4) + ("rust-time" ,rust-time-0.2)))) + (home-page "https://actix.rs") + (synopsis "HTTP primitives for the Actix ecosystem") + (description + "This package provides HTTP primitives for the Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-http-1 + (package + (inherit rust-actix-http-2) + (name "rust-actix-http") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06chrs9asbxmxzgiw5sw7ky97yrin9g88nmd6w407a6y9z668rn1")))) + ;; XXX: The crate fails to't build with with the same error as + ;; rust-actix-connect. Skip build for now. + (arguments + `(#:skip-build? #true + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-connect" ,rust-actix-connect-1) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) + ("rust-actix-tls" ,rust-actix-tls-1) + ("rust-actix-utils" ,rust-actix-utils-1) + ("rust-base64" ,rust-base64-0.11) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-brotli2" ,rust-brotli2-0.3) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-copyless" ,rust-copyless-0.1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-either" ,rust-either-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-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-fxhash" ,rust-fxhash-0.2) + ("rust-h2" ,rust-h2-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-language-tags" ,rust-language-tags-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-rand" ,rust-rand-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-sha1" ,rust-sha1-0.6) + ("rust-slab" ,rust-slab-0.4) + ("rust-time" ,rust-time-0.1)) + #:cargo-development-inputs + (("rust-actix-http-test" ,rust-actix-http-test-1)))))) + +(define-public rust-actix-http-0.2 + (package + (inherit rust-actix-http-2) + (name "rust-actix-http") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fdi9pi33am22qbqni5dn2in11xfbchgsjnm9ws0s918rmvhzdgw")))) + ;; XXX: The crate fails to't build without rust-actix-http-test-0.2 making + ;; a circular dependency with rust-awc-0.2 + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-connect" ,rust-actix-connect-0.2) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.1) + ("rust-actix-utils" ,rust-actix-utils-0.4) + ("rust-base64" ,rust-base64-0.10) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-brotli2" ,rust-brotli2-0.3) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-copyless" ,rust-copyless-0.1) + ("rust-derive-more" ,rust-derive-more-0.15) + ("rust-either" ,rust-either-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-h2" ,rust-h2-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.6) + ("rust-http" ,rust-http-0.1) + ("rust-httparse" ,rust-httparse-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-language-tags" ,rust-language-tags-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-ring" ,rust-ring-0.14) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-sha1" ,rust-sha1-0.6) + ("rust-slab" ,rust-slab-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) + +(define-public rust-actix-http-test-1 + (package + (name "rust-actix-http-test") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06z6iy9ffsjcw3g8zwwghky5zpyg7c1z823x35lgc4y1yjzxfizq")))) + (build-system cargo-build-system) + (arguments + ;; XXX: The crate fails to't build with with the same error as + ;; rust-actix-connect. Skip build for now. + `(#:skip-build? #true + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-connect" ,rust-actix-connect-1) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-server" ,rust-actix-server-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-testing" ,rust-actix-testing-1) + ("rust-actix-utils" ,rust-actix-utils-1) + ("rust-awc" ,rust-awc-1) + ("rust-base64" ,rust-base64-0.11) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-net2" ,rust-net2-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-sha1" ,rust-sha1-0.6) + ("rust-slab" ,rust-slab-0.4) + ("rust-time" ,rust-time-0.1)) + #:cargo-development-inputs + (("rust-actix-http" ,rust-actix-http-1)))) + (home-page "https://actix.rs") + (synopsis "Helpers for Actix applications to use during testing") + (description + "This package provides various helpers for Actix applications to use +during testing.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-http-test-0.2 + (package + (inherit rust-actix-http-test-1) + (name "rust-actix-http-test-2") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m1ghgllf7ws5wk51x8phcdjq21phylawmvp7wb29zd1d0aw2aac")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-connect" ,rust-actix-connect-0.2) + ("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server" ,rust-actix-server-0.6) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-actix-utils" ,rust-actix-utils-0.4) + ("rust-awc" ,rust-awc-0.2) + ("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-futures" ,rust-futures-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-net2" ,rust-net2-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-sha1" ,rust-sha1-0.6) + ("rust-slab" ,rust-slab-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) + +(define-public rust-actix-macros-0.2 + (package + (name "rust-actix-macros") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jsmhq9k5nsms8sci2lqkihym5nrhlpfv8dgd0n4539g1cad67p0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `rustversion` + #:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://actix.rs") + (synopsis "Actix runtime macros") + (description "This package provides Actix runtime macros.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-macros-0.1 + (package + (inherit rust-actix-macros-0.2) + (name "rust-actix-macros") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mfnprr8gy1gb5xcr18iwsv781hysvh7sr5xxg6ghyi61gh8rjml")))) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + "--skip=compile_macros") + #:cargo-inputs + (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-trybuild" ,rust-trybuild-1)))))) + +(define-public rust-actix-router-0.2 + (package + (name "rust-actix-router") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-router" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0df2626hk4n4yki6j88v3k0gcm8pi5hdnm1mldyvyi8nvbdzgldv")))) + (build-system cargo-build-system) + (arguments + ;; Tests fail with "error[E0432]: unresolved import `serde_derive`". + `(#:tests? #false + #:cargo-inputs + (("rust-bytestring" ,rust-bytestring-0.1) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://actix.rs") + (synopsis "Resource path matching library") + (description "This package provides resource path matching library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-router-0.1 + (package + (inherit rust-actix-router-0.2) + (name "rust-actix-router") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-router" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xyc0kzawfwjfiw4znb7xx6hh4r7nnwjq44i08fjc1724ysln8i3")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-http" ,rust-http-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-string" ,rust-string-0.2)))))) + +(define-public rust-actix-rt-2 + (package + (name "rust-actix-rt") + (version "2.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-rt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "078mjccgha4xlqk2hjb9hxfg26pmpra9v2h2w0m40gvx5102vwr8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `hyper` + #:cargo-inputs (("rust-actix-macros" ,rust-actix-macros-0.2) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-uring" ,rust-tokio-uring-0.4)))) + (home-page "https://actix.rs") + (synopsis "Actix runtime") + (description "This package provides Actix runtime.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-rt-1 + (package + (inherit rust-actix-rt-2) + (name "rust-actix-rt") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-rt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09xj7pxy0ng13rd6hya1md98dhk0586p4bsfrwmxxlg028lwqgql")))) + (arguments + `(#:cargo-inputs + (("rust-actix-macros" ,rust-actix-macros-0.1) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) + ("rust-copyless" ,rust-copyless-0.1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-actix-rt-0.2 + (package + (inherit rust-actix-rt-1) + (name "rust-actix-rt") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-rt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13h9dph54lhxlzcz6wxmsv96qqpbh1dzr4365gn84gb00qfxmjc8")))) + (arguments + `(#:cargo-inputs + (("rust-actix-threadpool" ,rust-actix-threadpool-0.1) + ("rust-copyless" ,rust-copyless-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) + +(define-public rust-actix-server-1 + (package + (name "rust-actix-server") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13khzd6pz9pqksxmw2syipfwq2gi5v9warx6pa24g8iccxp7wh25")))) + (build-system cargo-build-system) + (arguments + ;; Tests fail with "error[E0432]: unresolved import `bytes`" error. + `(#:tests? #false + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-utils" ,rust-actix-utils-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.6) + ("rust-mio-uds" ,rust-mio-uds-0.6) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-socket2" ,rust-socket2-0.3)))) + (home-page "https://actix.rs") + (synopsis "General purpose TCP server built for the Actix ecosystem") + (description + "This package provides a general purpose TCP server built for the Actix +ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-server-0.6 + (package + (inherit rust-actix-server-1) + (name "rust-actix-server") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19b2sl8dz01xfrynmf4iixq4a15g0gk1z43lby7762ldmws6aqnx")))) + (arguments + `(#:cargo-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.6) + ("rust-mio-uds" ,rust-mio-uds-0.6) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-signal" ,rust-tokio-signal-0.2) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-tokio-uds" ,rust-tokio-uds-0.2) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-env-logger" ,rust-env-logger-0.6)))))) + +(define-public rust-actix-server-0.5 + (package + (inherit rust-actix-server-1) + (name "rust-actix-server") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fyxkkgm3cbyzxgx0qw86i1dq9hrr891n1c7mc7450n8arir735s")))) + (arguments + `(#:cargo-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-mio" ,rust-mio-0.6) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-signal" ,rust-tokio-signal-0.2) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-env-logger" ,rust-env-logger-0.6)))))) + +(define-public rust-actix-server-config-0.1 + (package + (name "rust-actix-server-config") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-server-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c7zp4l63n5skljbpq6j0a0avdjv6w067bdc5ca96bb8kjc38fj8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-uds" ,rust-tokio-uds-0.2)))) + (home-page "https://actix.rs") + (synopsis "Actix server config utils") + (description "Actix server config utils.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-service-1 + (package + (name "rust-actix-service") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-service" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fw2b1cpxrpqk778mpvxv0cazj0pwjyb6khzs4syhnqvb1fl6lh0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project" ,rust-pin-project-0.4)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-1) + ("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://actix.rs") + (synopsis + "Service trait and combinators for asynchronous request/response") + (description + "This package provides a service trait and combinators for representing +asynchronous request/response operations.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-service-0.4 + (package + (inherit rust-actix-service-1) + (name "rust-actix-service") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-service" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gvpw11hcr1zmi5qzq3np6qzd0j51mdxn7yfgmzgyhc8ja7b99dw")))) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2)))))) + +(define-public rust-actix-testing-1 + (package + (name "rust-actix-testing") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-testing" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "073r3rlnz9km7w7zfhpj6snb453hhp7d354adbp79awrhyirq8s7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-actix-macros" ,rust-actix-macros-0.1) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-server" ,rust-actix-server-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-log" ,rust-log-0.4) + ("rust-socket2" ,rust-socket2-0.3)))) + (home-page "https://actix.rs") + (synopsis "Actix testing utils") + (description "This package provides Actix testing utils.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-testing-0.1 + (package + (inherit rust-actix-testing-1) + (name "rust-actix-testing") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-testing" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w9p7wv2n2wda8ph3ahp8fqslmbh12vs206l4i49jl37mjbiw05g")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server" ,rust-actix-server-0.6) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-net2" ,rust-net2-0.2) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)))))) + +(define-public rust-actix-test-server-0.2 + (package + (name "rust-actix-test-server") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-test-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lqx8adsl3nlhbnvvjrmy9mkfa0d8wmwyy4gdz5ik8xhbwibxnn2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server" ,rust-actix-server-0.5) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-actix-service" ,rust-actix-service-0.4)))) + (home-page "https://actix.rs") + (synopsis "Actix test server") + (description "Actix test server.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-threadpool-0.3 + (package + (name "rust-actix-threadpool") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-threadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c0frk19ml94d01mvgv5g60mhq86gfi34c3lsfpvjm18016z02fj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-derive-more" ,rust-derive-more-0.99) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-threadpool" ,rust-threadpool-1)))) + (home-page "https://actix.rs") + (synopsis "Actix thread pool for sync code") + (description "This package provides Actix thread pool for sync code.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-threadpool-0.1 + (package + (inherit rust-actix-threadpool-0.3) + (name "rust-actix-threadpool") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-threadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pfk6k09cdw0w63wh8glqm6bvqz0hlqwhyqvdfw6yzns2dfyhnkb")))) + (arguments + `(#:cargo-inputs + (("rust-derive-more" ,rust-derive-more-0.15) + ("rust-futures" ,rust-futures-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.9) + ("rust-threadpool" ,rust-threadpool-1)))))) + +(define-public rust-actix-tls-2 + (package + (name "rust-actix-tls") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yqmlyn02c72a1rrmjkfx5hnz286130y3sq4ll1mbkv1fdyrny14")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-utils" ,rust-actix-utils-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)))) + (home-page "https://actix.rs") + (synopsis "TLS acceptor services for Actix ecosystem") + (description + "This package provides TLS acceptor services for Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-tls-1 + (package + (inherit rust-actix-tls-2) + (name "rust-actix-tls") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a4m96jz6vzmknpk5m803c337c6dillnqq4w71nrlphhmzxb9rd4")))) + (arguments + `(#:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-utils" ,rust-actix-utils-1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)) + #:cargo-development-inputs + (("rust-actix-testing" ,rust-actix-testing-1)))))) + +(define-public rust-actix-utils-2 + (package + (name "rust-actix-utils") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nkby6wpwcmjr3zcghd962l2hyjry0aayncyjzbx2ck6qpg2541f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-either" ,rust-either-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-slab" ,rust-slab-0.4)))) + (home-page "https://actix.rs") + (synopsis "Network related services and utilities for the Actix ecosystem") + (description + "This package provides various network related services and utilities for +the Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-utils-1 + (package + (inherit rust-actix-utils-2) + (name "rust-actix-utils") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kkz2hfz8r2k1gxcjk2qq1h1qxlb487g023q4v1dw6ph3dizby7w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-slab" ,rust-slab-0.4)))))) + +(define-public rust-actix-utils-0.4 + (package + (inherit rust-actix-utils-2) + (name "rust-actix-utils") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15bv06z7pccnmh067l5zj0fvpmfagnil7lvznnl3fp4gjh4k334h")))) + (arguments + `(#:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2)))))) + +(define-public rust-actix-web-3 + (package + (name "rust-actix-web") + (version "3.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11kv8y1p9dw78lnhrw3rqavhmazmy7s0z8j14a3a1yp7fahx8hg6")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-http" ,rust-actix-http-2) + ("rust-actix-macros" ,rust-actix-macros-0.1) + ("rust-actix-router" ,rust-actix-router-0.2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-server" ,rust-actix-server-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-testing" ,rust-actix-testing-1) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) + ("rust-actix-tls" ,rust-actix-tls-2) + ("rust-actix-utils" ,rust-actix-utils-2) + ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.4) + ("rust-awc" ,rust-awc-2) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("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-fxhash" ,rust-fxhash-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-time" ,rust-time-0.2) + ("rust-tinyvec" ,rust-tinyvec-1) + ("rust-url" ,rust-url-2)))) + (home-page "https://actix.rs") + (synopsis "Powerful, pragmatic, and fast web framework for Rust") + (description + "Actix Web is a powerful, pragmatic, and fast web framework for +Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-web-2 + (package + (inherit rust-actix-web-3) + (name "rust-actix-web") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dgnn7xiw2yhvrx7l7b57gwra7yfqawka5xz1lpq4h0h8qifhn1i")))) + (arguments + ;; XXX: The crate fails to't build with with the same error as + ;; rust-actix-connect. Skip build for now. + `(#:skip-build? #true + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-http" ,rust-actix-http-1) + ("rust-actix-macros" ,rust-actix-macros-0.1) + ("rust-actix-router" ,rust-actix-router-0.2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-server" ,rust-actix-server-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-actix-testing" ,rust-actix-testing-1) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.3) + ("rust-actix-tls" ,rust-actix-tls-1) + ("rust-actix-utils" ,rust-actix-utils-1) + ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.2) + ("rust-awc" ,rust-awc-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures" ,rust-futures-0.3) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-net2" ,rust-net2-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-time" ,rust-time-0.1) + ("rust-url" ,rust-url-2)))))) + +(define-public rust-actix-web-1 + (package + (inherit rust-actix-web-3) + (name "rust-actix-web") + (version "1.0.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00wvayn7v2s61hylisr53f48s2bzg8jp3bmrqh1vkb6vgjb1nfmg")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-http" ,rust-actix-http-0.2) + ("rust-actix-router" ,rust-actix-router-0.1) + ("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server" ,rust-actix-server-0.6) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-actix-testing" ,rust-actix-testing-0.1) + ("rust-actix-threadpool" ,rust-actix-threadpool-0.1) + ("rust-actix-utils" ,rust-actix-utils-0.4) + ("rust-actix-web-codegen" ,rust-actix-web-codegen-0.1) + ("rust-awc" ,rust-awc-0.2) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-derive-more" ,rust-derive-more-0.15) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures" ,rust-futures-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.6) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-net2" ,rust-net2-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-parking-lot" ,rust-parking-lot-0.9) + ("rust-regex" ,rust-regex-1) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-time" ,rust-time-0.1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-actix" ,rust-actix-0.8) + ("rust-actix-connect" ,rust-actix-connect-0.2) + ("rust-actix-http-test" ,rust-actix-http-test-0.2) + ("rust-brotli2" ,rust-brotli2-0.3) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-flate2" ,rust-flate2-1) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) + +(define-public rust-actix-web-codegen-0.4 + (package + (name "rust-actix-web-codegen") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ys3f6q0hgflqvp271s49q88m41db3iynm7ydxy0wgikjdqgf9md")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://actix.rs") + (synopsis "Actix web proc macros") + (description "This package provides Actix web proc macros.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-web-codegen-0.2 + (package + (inherit rust-actix-web-codegen-0.4) + (name "rust-actix-web-codegen") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rjpzwsm51nfjqsz269jwbkiic9d454bnsk9ng882wp0rdsz86x7")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-web" ,rust-actix-web-3)))))) + +(define-public rust-actix-web-codegen-0.1 + (package + (inherit rust-actix-web-codegen-0.4) + (name "rust-actix-web-codegen") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1frs0id6k1vjczhnfhwh8q8birp27imlvgi6jylfxh911r9372h6")))) + (arguments + `(#:tests? #f ; cannot subtract `chrono::Duration` from `Tm` + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-actix-http" ,rust-actix-http-0.2) + ("rust-actix-http-test" ,rust-actix-http-test-0.2) + ("rust-actix-web" ,rust-actix-web-1) + ("rust-futures" ,rust-futures-0.1)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)))) + +(define-public rust-async-h1-2 + (package + (name "rust-async-h1") + (version "2.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-h1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p6ls50p1ixnxrhmx4sdb5d2kqrl1kfhcb0lkqlhzzqjz1sqmip5")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-channel" ,rust-async-channel-1) + ("rust-async-dup" ,rust-async-dup-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-byte-pool" ,rust-byte-pool-0.2) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-http-types" ,rust-http-types-2) + ("rust-httparse" ,rust-httparse-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-pin-project" ,rust-pin-project-1)))) + (home-page "https://github.com/http-rs/async-h1") + (synopsis "Asynchronous HTTP 1.1 parser") + (description + "This package provides an asynchronous HTTP 1.1 parser.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-awc-2 + (package + (name "rust-awc") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14g6m53zmxw3f1sf990l7ps3w2fq2c29n1slpizc7kxhwy8f90dk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.3) + ("rust-actix-http" ,rust-actix-http-2) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) + (home-page "https://actix.rs") + (synopsis "Async HTTP and WebSocket client library") + (description + "This package provides async HTTP and WebSocket client library +built on the Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-awc-1 + (package + (inherit rust-awc-2) + (name "rust-awc") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1idacmq7n3irmdjkbxc5kdwspxk9w1gip94pcmfk7wky3m6isq6p")))) + ;; XXX: The crate fails to't build with with the same error as + ;; rust-actix-connect. Skip build for now. + (arguments + `(#:skip-build? #true + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.2) + ("rust-actix-http" ,rust-actix-http-1) + ("rust-actix-rt" ,rust-actix-rt-1) + ("rust-actix-service" ,rust-actix-service-1) + ("rust-base64" ,rust-base64-0.11) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)) + #:cargo-development-inputs + (("rust-actix-http-test" ,rust-actix-http-test-1) + ("rust-actix-web" ,rust-actix-web-2) + ("rust-brotli" ,rust-brotli-3)))))) + +(define-public rust-awc-0.2 + (package + (inherit rust-awc-2) + (name "rust-awc-2") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i5qinnh37bwpx86m2yyq1q1bnsa31vlwlz7942bzlwd4y1m56ay")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-actix-codec" ,rust-actix-codec-0.1) + ("rust-actix-http" ,rust-actix-http-0.2) + ("rust-actix-service" ,rust-actix-service-0.4) + ("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-derive-more" ,rust-derive-more-0.15) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.7) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) + +(define-public rust-axum-0.6 + (package + (name "rust-axum") + (version "0.6.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gynqkg3dcy1zd7il69h8a3zax86v6qq5zpawqyn87mr6979x0iv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests" "--" + "--skip=routing::tests::logging_rejections") + #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-axum-core" ,rust-axum-core-0.3) + ("rust-axum-macros" ,rust-axum-macros-0.3) + ("rust-base64" ,rust-base64-0.21) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-itoa" ,rust-itoa-1) + ("rust-matchit" ,rust-matchit-0.7) + ("rust-memchr" ,rust-memchr-2) + ("rust-mime" ,rust-mime-0.3) + ("rust-multer" ,rust-multer-2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sync-wrapper" ,rust-sync-wrapper-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-http" ,rust-tower-http-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-axum-macros" ,rust-axum-macros-0.3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-http" ,rust-tower-http-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-uuid" ,rust-uuid-1)))) + (home-page "https://github.com/tokio-rs/axum") + (synopsis "Web framework that focuses on ergonomics and modularity") + (description "Web framework that focuses on ergonomics and modularity.") + (license license:expat))) + +(define-public rust-axum-core-0.3 + (package + (name "rust-axum-core") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b1d9nkqb8znaba4qqzxzc968qwj4ybn4vgpyz9lz4a7l9vsb7vm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-tower-http" ,rust-tower-http-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs (("rust-axum" ,rust-axum-0.6) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower-http" ,rust-tower-http-0.4)))) + (home-page "https://github.com/tokio-rs/axum") + (synopsis "Core types and traits for @code{axum}") + (description "Core types and traits for @code{axum}.") + (license license:expat))) + +(define-public rust-axum-extra-0.7 + (package + (name "rust-axum-extra") + (version "0.7.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-extra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gr8mdpi5xfq964zhaygap0qjvzwspvj8fdg41rp6b1qx4xl6gm9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-axum" ,rust-axum-0.6) + ("rust-axum-core" ,rust-axum-core-0.3) + ("rust-axum-macros" ,rust-axum-macros-0.3) + ("rust-bytes" ,rust-bytes-1) + ("rust-cookie" ,rust-cookie-0.17) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-multer" ,rust-multer-2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-prost" ,rust-prost-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-html-form" ,rust-serde-html-form-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs (("rust-axum" ,rust-axum-0.6) + ("rust-axum-macros" ,rust-axum-macros-0.3) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-http" ,rust-tower-http-0.4)))) + (home-page "https://github.com/tokio-rs/axum") + (synopsis "Extra utilities for axum") + (description "Extra utilities for axum") + (license license:expat))) + +(define-public rust-axum-macros-0.3 + (package + (name "rust-axum-macros") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qkb5cg06bnp8994ay0smk57shd5hpphcmp90kd7p65dxh86mjnd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=debug_handler") + #:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-axum" ,rust-axum-0.6) + ("rust-axum-extra" ,rust-axum-extra-0.7) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-tokio" ,rust-tokio-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/tokio-rs/axum") + (synopsis "Macros for @code{axum}") + (description "Macros for @code{axum}.") + (license license:expat))) + +(define-public rust-chunked-transfer-1 + (package + (name "rust-chunked-transfer") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chunked_transfer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00a9h3csr1xwkqrzpz5kag4h92zdkrnxq4ppxidrhrx29syf6kbf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/frewsxcv/rust-chunked-transfer") + (synopsis "Encoder and decoder for HTTP chunked transfer coding") + (description "This package provides an encoder and decoder for HTTP chunked +transfer coding.") + (license license:asl2.0))) + +(define-public rust-chunked-transfer-0.3 + (package + (inherit rust-chunked-transfer-1) + (name "rust-chunked-transfer") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chunked_transfer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9")))) + (arguments `()))) + +(define-public rust-gemini-fetch-0.2 + (package + (name "rust-gemini-fetch") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gemini-fetch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1851jk1a7w6pcb9qcgmgp7vvg3dfihwr7ldlh5k9qxmyaymdy4ma")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.19) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) + ("rust-url" ,rust-url-2) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.21) + ("rust-x509-signature" ,rust-x509-signature-0.5)))) + (home-page "https://github.com/jsvana/gemini-fetch/") + (synopsis "Fetch gemini pages") + (description "This package provides a library to fetch gemini pages.") + (license license:expat))) + +(define-public rust-h2-0.3 + (package + (name "rust-h2") + (version "0.3.21") + (source + (origin + (method url-fetch) + (uri (crate-uri "h2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cq8g5bgk3fihnqicy3g8gc3dpsalzqjg4bjyip9g4my26m27z4i")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-fnv" ,rust-fnv-1) + ("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-http" ,rust-http-0.2) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-hex" ,rust-hex-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)))) + (home-page "https://github.com/hyperium/h2") + (synopsis "HTTP/2.0 client and server") + (description "This package provides an HTTP/2.0 client and server.") + (license license:expat))) + +(define-public rust-h2-0.2 + (package + (inherit rust-h2-0.3) + (name "rust-h2") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "h2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dd5jyxmmy88pdmvag7n41k9z1qs6sliagcyx4jss5292byjhisy")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-fnv" ,rust-fnv-1) + ("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-http" ,rust-http-0.2) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-util" ,rust-tokio-util-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-hex" ,rust-hex-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.4) + ("rust-rand" ,rust-rand-0.3) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) + ("rust-walkdir" ,rust-walkdir-1) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) + +(define-public rust-h2-0.1 + (package + (inherit rust-h2-0.2) + (name "rust-h2") + (version "0.1.26") + (source + (origin + (method url-fetch) + (uri (crate-uri "h2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qn457y8xh03p7c7cpk76r22gqpyqxc58g5022j3iya7d0j4rcx5")))) + (arguments + `(#:skip-build? #t ;; TODO missing indirect dependency + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-fnv" ,rust-fnv-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-log" ,rust-log-0.4) + ("rust-slab" ,rust-slab-0.4) + ("rust-string" ,rust-string-0.2) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-hex" ,rust-hex-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.4) + ("rust-rand" ,rust-rand-0.3) + ;;("rust-rustls" ,rust-rustls-0.12) requires 0.5 + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) + ("rust-walkdir" ,rust-walkdir-1) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) + +(define-public rust-h3-0.0.3 + (package + (name "rust-h3") + (version "0.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "101vg73galsyk5gnjb49cjb6q40c9z2npcdxpfsj99ky2waijgmq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-quinn" ,rust-quinn-0.10) + ("rust-quinn-proto" ,rust-quinn-proto-0.10) + ("rust-rcgen" ,rust-rcgen-0.11) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/hyperium/h3") + (synopsis "Async HTTP/3 implementation") + (description "This package provides an async HTTP/3 implementation.") + (license license:expat))) + +(define-public rust-h3-quinn-0.0.4 + (package + (name "rust-h3-quinn") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3-quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r0sm0j51crlfpy2j1wfhgpg2lrfq2xmf5qjd98ksg3h9l0pb5mc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-h3" ,rust-h3-0.0.3) + ("rust-quinn" ,rust-quinn-0.10) + ("rust-quinn-proto" ,rust-quinn-proto-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) + (home-page "https://github.com/hyperium/h3") + (synopsis "QUIC transport implementation based on Quinn") + (description + "This package provides QUIC transport implementation based on Quinn.") + (license license:expat))) + +(define-public rust-headers-0.3 + (package + (name "rust-headers") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w62gnwh2p1lml0zqdkrx9dp438881nhz32zrzdy61qa0a9kns06")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-bytes" ,rust-bytes-1) + ("rust-headers-core" ,rust-headers-core-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-mime" ,rust-mime-0.3) + ("rust-sha1" ,rust-sha1-0.10)))) + (home-page "https://hyper.rs") + (synopsis "Typed HTTP headers") + (description "This package provides typed HTTP headers.") + (license license:expat))) + +(define-public rust-headers-0.2 + (package + (inherit rust-headers-0.3) + (name "rust-headers") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hmnrra00cjqpsn05klnr9cysrv2bm19akxl5lncwcrgfbcafb48")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-headers-core" ,rust-headers-core-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-mime" ,rust-mime-0.3) + ("rust-sha-1" ,rust-sha-1-0.8) + ("rust-time" ,rust-time-0.1)))))) + +(define-public rust-headers-core-0.2 + (package + (name "rust-headers-core") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ab469xfpd411mc3dhmjhmzrhqikzyj8a17jn5bkj9zfpy0n9xp7")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-http" ,rust-http-0.2)))) + (home-page "https://hyper.rs") + (synopsis "Typed HTTP headers core trait") + (description "This package provides typed HTTP headers core trait.") + (license license:expat))) + +(define-public rust-headers-core-0.1 + (package + (inherit rust-headers-core-0.2) + (name "rust-headers-core") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ds20kg0igncs2r0jrcf26mq72k3j6ilanr0qwh7r7xak8kk2wcn")))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-http" ,rust-http-0.1)))))) + +(define-public rust-http-1 + (package + (name "rust-http") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sllw565jn8r5w7h928nsfqq33x586pyasdfr7vid01scwwgsamk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-itoa" ,rust-itoa-1)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-indexmap" ,rust-indexmap-1.8) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-seahash" ,rust-seahash-3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/hyperium/http") + (synopsis "Set of types for representing HTTP requests and responses") + (description "This package provides a set of types for representing HTTP +requests and responses.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-http-0.2 + (package + (inherit rust-http-1) + (name "rust-http") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fwz3mhh86h5kfnr5767jlx9agpdggclq7xsqx930fflzakb2iw9")))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-itoa" ,rust-itoa-1)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-indexmap" ,rust-indexmap-1.8) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-seahash" ,rust-seahash-3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-http-0.1 + (package + (inherit rust-http-0.2) + (name "rust-http") + (version "0.1.21") + (source + (origin + (method url-fetch) + (uri (crate-uri "http" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w21xnhd8f48zvbmm5njg2y1nb4p08ppn8r0cs2xi5d8wgnzbk6n")))) + (arguments + `(#:tests? #f ; doc tests fail + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-fnv" ,rust-fnv-1) + ("rust-itoa" ,rust-itoa-0.4)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-indexmap" ,rust-indexmap-1.8) + ("rust-quickcheck" ,rust-quickcheck-0.6) + ("rust-rand" ,rust-rand-0.4) + ("rust-seahash" ,rust-seahash-3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-http-auth-0.1 + (package + (name "rust-http-auth") + (version "0.1.8") + (source (origin + (method url-fetch) + (uri (crate-uri "http-auth" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g6gpn2py0c4l45wp61k3zc45vg5l20zq39mxgxh56hzgb6wlc2l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.21) + ("rust-digest" ,rust-digest-0.10) + ("rust-hex" ,rust-hex-0.4) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-reqwest" ,rust-reqwest-0.11)))) + (inputs + (list openssl)) + (native-inputs + (list pkg-config)) + (home-page "https://github.com/scottlamb/http-auth") + (synopsis "HTTP authentication for rust") + (description "This package provices HTTP authentication; it can parse +challenge lists, respond to Basic and Digest challenges. It is likely to be +extended with server support and additional auth schemes.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-http-body-0.4 + (package + (name "rust-http-body") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lmyjfk6bqk6k9gkn1dxq770sb78pqbqshga241hr5p995bb5skw")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-http" ,rust-http-0.2)))) + (home-page "https://github.com/hyperium/http-body") + (synopsis "Asynchronous, streaming, HTTP request or response body") + (description + "This crate provides a trait representing an asynchronous, streaming, +HTTP request or response body.") + (license license:expat))) + +(define-public rust-http-body-0.3 + (package + (inherit rust-http-body-0.4) + (name "rust-http-body") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06qi0ni45lb92w3ml260c0bxbq5zd4snjmz0a9k69xq6021zzm8k")))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-http" ,rust-http-0.2)))))) + +(define-public rust-http-body-0.1 + (package + (inherit rust-http-body-0.3) + (name "rust-http-body") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b99404k4mw6a92hvyr0qwzkqv4f866ykg0x7913limjq5cwhhb7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-tokio-buf" ,rust-tokio-buf-0.1)))))) + +(define-public rust-http-client-6 + (package + (name "rust-http-client") + (version "6.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i0mys38gsih9kkrdbfsmd8p9lnb2nd5wch76cpkjmqk8mm2mhcq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-h1" ,rust-async-h1-2) + ("rust-async-native-tls" ,rust-async-native-tls-0.3) + ("rust-async-std" ,rust-async-std-1) + ("rust-async-tls" ,rust-async-tls-0.10) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-dashmap" ,rust-dashmap-4) + ("rust-deadpool" ,rust-deadpool-0.7) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http-types" ,rust-http-types-2) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-hyper-tls" ,rust-hyper-tls-0.4) + ("rust-isahc" ,rust-isahc-0.9) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/http-rs/http-client") + (synopsis "Types and traits for HTTP clients") + (description "This package provides types and traits for HTTP clients.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-http-range-header-0.3 + (package + (name "rust-http-range-header") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-range-header" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13vm511vq3bhschkw2xi9nhxzkw53m55gn9vxg7qigfxc29spl5d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/MarcusGrass/parse-range-headers") + (synopsis "No-dep range header parser") + (description "This crate provides a no-dep range header parser.") + (license license:expat))) + +(define-public rust-http-types-2 + (package + (name "rust-http-types") + (version "2.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p7g2rzgzvnd419a5ddlyb2nz85z9bw7cdkqyl7467cx2fxkwq9j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-channel" ,rust-async-channel-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-cookie" ,rust-cookie-0.14) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-http" ,rust-http-0.2) + ("rust-infer" ,rust-infer-0.2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-qs" ,rust-serde-qs-0.7) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/http-rs/http-types") + (synopsis "Common types for HTTP operations") + (description + "This package provides common types for HTTP operations.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-httparse-1 + (package + (name "rust-httparse") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "httparse" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "010rrfahm1jss3p022fqf3j3jmm72vhn4iqhykahb9ynpaag75yq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/seanmonstar/httparse") + (synopsis "Zero-copy HTTP/1.x parser") + (description + "This package provides a tiny, safe, speedy, zero-copy HTTP/1.x parser.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-httpdate-1 + (package + (name "rust-httpdate") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "httpdate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1aa9rd2sac0zhjqh24c9xvir96g188zldkx0hr6dnnlx5904cfyz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/pyfisch/httpdate") + (synopsis "HTTP date parsing and formatting") + (description + "This crates parses and formats HTTP datetime strings.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hyper-0.14 + (package + (name "rust-hyper") + (version "0.14.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s2l74p3harvjgb0bvaxlxgxq71vpfrzv0cqz2p9w8d8akbczcgz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-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-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-httparse" ,rust-httparse-1) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pin-project" ,rust-pin-project-lite-0.2) + ("rust-socket2" ,rust-socket2-0.4) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-want" ,rust-want-0.3)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-matches" ,rust-matches-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-pnet-datalink" ,rust-pnet-datalink-0.27) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-spmc" ,rust-spmc-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower" ,rust-tower-0.4) + ("rust-url" ,rust-url-2)))) + (home-page "https://hyper.rs") + (synopsis "Fast and correct HTTP library") + (description "This package provides a fast and correct HTTP library.") + (license license:expat))) + +(define-public rust-hyper-0.13 + (package + (inherit rust-hyper-0.14) + (name "rust-hyper") + (version "0.13.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1symcnba2y03b8lj6xp2wd994lk3xyk3wizacjg5s60njzfshs1y")))) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("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-h2" ,rust-h2-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.3) + ("rust-httparse" ,rust-httparse-1) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-time" ,rust-time-0.1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-want" ,rust-want-0.3)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-matches" ,rust-matches-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-spmc" ,rust-spmc-0.3) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-test" ,rust-tokio-test-0.2) + ("rust-tokio-util" ,rust-tokio-util-0.3) + ("rust-tower-util" ,rust-tower-util-0.3) + ("rust-url" ,rust-url-1)))))) + +(define-public rust-hyper-0.12 + (package + (inherit rust-hyper-0.13) + (name "rust-hyper") + (version "0.12.35") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xnm8zi4bdjqhlnx3238kx8yjf29jjd1ww54apcql7wf8g8nxglx")))) + (arguments + `(#:skip-build? #t ;; fails due to some missing example file + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-futures-cpupool" ,rust-futures-cpupool-0.1) + ("rust-h2" ,rust-h2-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-http-body" ,rust-http-body-0.1) + ("rust-httparse" ,rust-httparse-1) + ("rust-iovec" ,rust-iovec-0.1) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-net2" ,rust-net2-0.2) + ("rust-time" ,rust-time-0.1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-buf" ,rust-tokio-buf-0.1) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-threadpool" ,rust-tokio-threadpool-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-want" ,rust-want-0.2)) + #:cargo-development-inputs + (("rust-futures-timer" ,rust-futures-timer-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-rustc-version" ,rust-rustc-version-0.2) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-spmc" ,rust-spmc-0.3) + ("rust-tokio-fs" ,rust-tokio-fs-0.1) + ("rust-tokio-mockstream" ,rust-tokio-mockstream-1) + ("rust-url" ,rust-url-1)))))) + +(define-public rust-hyper-0.10 + (package + (inherit rust-hyper-0.13) + (name "rust-hyper") + (version "0.10.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wwjh9p3mzvg3fss2lqz5r7ddcgl1fh9w6my2j69d6k0lbcm41ha")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-httparse" ,rust-httparse-1) + ("rust-language-tags" ,rust-language-tags-0.2) + ("rust-log" ,rust-log-0.3) + ("rust-mime" ,rust-mime-0.2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-time" ,rust-time-0.1) + ("rust-traitobject" ,rust-traitobject-0.1) + ("rust-typeable" ,rust-typeable-0.1) + ("rust-unicase" ,rust-unicase-1) + ("rust-url" ,rust-url-1)))))) + +(define-public rust-hyper-native-tls-0.3 + (package + (name "rust-hyper-native-tls") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s30y20qy0akzss91yxsq1x1q7rr04jy33i0cq72nx22yjc5advd")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-antidote" ,rust-antidote-1) + ("rust-hyper" ,rust-hyper-0.10) + ("rust-native-tls" ,rust-native-tls-0.2)))) + (home-page "https://github.com/sfackler/hyper-native-tls") + (synopsis "native-tls support for Hyper 0.10") + (description "This package provides native-tls support for Hyper 0.10.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hyper-proxy-0.9 + (package + (name "rust-hyper-proxy") + (version "0.9.1") + (source (origin + (method url-fetch) + (uri (crate-uri "hyper-proxy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1k3mpq6d4rhz58dam1757sav14j32n39q8x37wjgpz943f4mm0fa")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs + `(("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.22) + ("rust-hyper-tls" ,rust-hyper-tls-0.5) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) + ("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.22) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)) + #:cargo-development-inputs + `(("rust-hyper" ,rust-hyper-0.14) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/tafia/hyper-proxy") + (synopsis "Proxy connector for Hyper-based applications") + (description "Proxy connector for the Hyper HTTP library.") + (license license:expat))) + +(define-public rust-hyper-rustls-0.24 + (package + (name "rust-hyper-rustls") + (version "0.24.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1475j4a2nczz4aajzzsq3hpwg1zacmzbqg393a14j80ff8izsgpc")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rustls/hyper-rustls") + (synopsis "Rustls+Hyper integration for pure Rust HTTPS") + (description + "This package provides Rustls+Hyper integration for pure Rust HTTPS.") + (license (list license:asl2.0 license:isc license:expat)))) + +(define-public rust-hyper-rustls-0.23 + (package + (inherit rust-hyper-rustls-0.24) + (name "rust-hyper-rustls") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0736s6a32dqr107f943xaz1n05flbinq6l19lq1wsrxkc5g9d20p")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-tokio" ,rust-tokio-1)))))) + +(define-public rust-hyper-rustls-0.22 + (package + (inherit rust-hyper-rustls-0.23) + (name "rust-hyper-rustls") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r2szp06nzqx6gblcw69kwx8afjp218fc083kfpw0i3d66bpm7sz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ct-logs" ,rust-ct-logs-0.8) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.19) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) + +(define-public rust-hyper-rustls-0.21 + (package + (inherit rust-hyper-rustls-0.22) + (name "rust-hyper-rustls") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dmbj15fx6qyg26hji2jm7q9y383090jy3z9zjn5xs4f7v43qx1p")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-ct-logs" ,rust-ct-logs-0.7) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.4) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-hyper-sync-rustls-0.3 + (package + (name "rust-hyper-sync-rustls") + (version "0.3.0-rc.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-sync-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16zirxhsk26kz5jxxxs37wxsm02id97h57kkqs512fj1j0x486kd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; not all files included + "--skip=client" + "--skip=server") + #:cargo-inputs + (("rust-hyper" ,rust-hyper-0.10) + ("rust-rustls" ,rust-rustls-0.14) + ("rust-webpki" ,rust-webpki-0.18) + ("rust-webpki-roots" ,rust-webpki-roots-0.15)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.5)))) + (home-page "https://github.com/SergioBenitez/hyper-sync-rustls") + (synopsis "Glue code for Rustls and synchronous Hyper") + (description + "This package provides glue code for Rustls and synchronous Hyper.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hyper-timeout-0.4 + (package + (name "rust-hyper-timeout") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-timeout" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c8k3g8k2yh1gxvsx9p7amkimgxhl9kafwpj7jyf8ywc5r45ifdv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-hyper" ,rust-hyper-0.14) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-io-timeout" ,rust-tokio-io-timeout-1)))) + (home-page "https://github.com/hjr3/hyper-timeout") + (synopsis "Connect, read and write timeout aware connector for Hyper") + (description + "This package provides a connect, read and write timeout aware connector +to be used with Hyper client.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hyper-tls-0.5 + (package + (name "rust-hyper-tls") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)))) + (home-page "https://hyper.rs") + (synopsis "Default TLS implementation for use with hyper") + (description "This package provides the default TLS implementation for use +with hyper.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hyper-tls-0.4 + (package + (inherit rust-hyper-tls-0.5) + (name "rust-hyper-tls") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vcfyz7dxavf4brns15afmj5fxz88lbn05rrpbfqsnybdp2sqyfr")))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-tls" ,rust-tokio-tls-0.3)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-iron-0.6 + (package + (name "rust-iron") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "iron" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s4mf8395f693nhwsr0znw3j5frzn56gzllypyl50il85p50ily6")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-hyper" ,rust-hyper-0.10) + ("rust-hyper-native-tls" ,rust-hyper-native-tls-0.3) + ("rust-log" ,rust-log-0.3) + ("rust-mime-guess" ,rust-mime-guess-1) + ("rust-modifier" ,rust-modifier-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-plugin" ,rust-plugin-0.2) + ("rust-typemap" ,rust-typemap-0.3) + ("rust-url" ,rust-url-1)))) + (home-page "https://github.com/iron/iron") + (synopsis "Extensible, concurrency focused web development in Rust") + (description + "Iron is a high level web framework built in and for Rust. It is highly +concurrent and can scale horizontally on more machines behind a load balancer +or by running more threads on a more powerful machine. Iron avoids the +bottlenecks encountered in highly concurrent code by avoiding shared writes +and locking in the core framework.") + (license license:expat))) + +(define-public rust-isahc-0.9 + (package + (name "rust-isahc") + (version "0.9.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "isahc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"static-curl\", ") "")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testserver` + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-curl" ,rust-curl-0.4) + ("rust-curl-sys" ,rust-curl-sys-0.4) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flume" ,rust-flume-0.9) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-publicsuffix" ,rust-publicsuffix-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-sluice" ,rust-sluice-0.5) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-url" ,rust-url-2) + ("rust-waker-fn" ,rust-waker-fn-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-indicatif" ,rust-indicatif-0.15) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-test-case" ,rust-test-case-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)))) + (native-inputs + (list pkg-config)) + (inputs + (list curl openssl zlib)) + (home-page "https://github.com/sagebind/isahc") + (synopsis "Practical HTTP client") + (description + "Isahc is an acronym that stands for Incredible Streaming Asynchronous +HTTP Client. It is an asynchronous HTTP client for the Rust language. It +uses libcurl as an HTTP engine inside, and provides an easy-to-use API on top +that integrates with Rust idioms.") + (license license:expat))) + +(define-public rust-multipart-0.18 + (package + (name "rust-multipart") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "multipart" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10libwfbazqcyxcpgpcdf1a66jnzghwlmxlxnffg4rrqhqrwdph0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-buf-redux" ,rust-buf-redux-0.8) + ("rust-clippy" ,rust-clippy-0.0) + ("rust-httparse" ,rust-httparse-1) + ("rust-hyper" ,rust-hyper-0.10) + ("rust-iron" ,rust-iron-0.6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-nickel" ,rust-nickel-0.11) + ("rust-quick-error" ,rust-quick-error-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rocket" ,rust-rocket-0.4) + ("rust-safemem" ,rust-safemem-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tiny-http" ,rust-tiny-http-0.6) + ("rust-twoway" ,rust-twoway-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.5)))) + (home-page "https://github.com/abonander/multipart") + (synopsis "Backend-agnostic extension for file uploads in HTTP libraries for Rust") + (description "This package provides a backend-agnostic extension for HTTP +libraries that provides support for POST multipart/form-data requests on both +client and server.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-multipart-0.17 + (package + (inherit rust-multipart-0.18) + (name "rust-multipart") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "multipart" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m3nrydgc56wjixsahipmvjgnxnw2cz7w8ryghsgahwjr3nswl6h")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-buf-redux" ,rust-buf-redux-0.8) + ("rust-clippy" ,rust-clippy-0.0) + ("rust-httparse" ,rust-httparse-1) + ("rust-hyper" ,rust-hyper-0.10) + ("rust-iron" ,rust-iron-0.6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-nickel" ,rust-nickel-0.11) + ("rust-quick-error" ,rust-quick-error-1) + ("rust-rand" ,rust-rand-0.7) + ("rust-rocket" ,rust-rocket-0.4) + ("rust-safemem" ,rust-safemem-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tiny-http" ,rust-tiny-http-0.6) + ("rust-twoway" ,rust-twoway-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.5)))))) + +(define-public rust-nickel-0.11 + (package + (name "rust-nickel") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nickel" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1na619j2k0hkv5qhws7ccibzhn1v637f1vqwnsn2vnr84y1il1p5")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs-0.3) + ("rust-groupable" ,rust-groupable-0.2) + ("rust-hyper" ,rust-hyper-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.3) + ("rust-modifier" ,rust-modifier-0.1) + ("rust-mustache" ,rust-mustache-0.9) + ("rust-plugin" ,rust-plugin-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.1) + ("rust-typemap" ,rust-typemap-0.3) + ("rust-url" ,rust-url-1)))) + (home-page "https://nickel-org.github.io/") + (synopsis "Web application framework for Rust") + (description + "@code{nickel.rs} is a simple and lightweight foundation for web +applications written in Rust. Its API is inspired by the popular +@code{express} framework for JavaScript.") + (license license:expat))) + +(define-public rust-reqwest-0.11 + (package + (name "rust-reqwest") + (version "0.11.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "reqwest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hgvzb7r46656r9vqhl5qk1kbr2xzjb91yr2cb321160ka6sxc9p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; These tests go to the network + "--skip=test_badssl_modern" + "--skip=test_badssl_self_signed" + "--skip=connect_timeout" + "--skip=test_allowed_methods" + "--skip=test_tls_info" + "--skip=connect_many_timeout") + #:cargo-inputs + (("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-encoding-rs" ,rust-encoding-rs-0.8) + ("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-h2" ,rust-h2-0.3) + ("rust-h3" ,rust-h3-0.0.3) + ("rust-h3-quinn" ,rust-h3-quinn-0.0.4) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.24) + ("rust-hyper-tls" ,rust-hyper-tls-0.5) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-quinn" ,rust-quinn-0.10) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-system-configuration" ,rust-system-configuration-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("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-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-hyper" ,rust-hyper-0.14) + ("rust-libflate" ,rust-libflate-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (inputs + (list openssl)) + (native-inputs + (list pkg-config)) + (home-page "https://github.com/seanmonstar/reqwest") + (synopsis "High level HTTP client library") + (description "This package provides a high level HTTP client library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-reqwest-0.10 + (package + (inherit rust-reqwest-0.11) + (name "rust-reqwest") + (version "0.10.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "reqwest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0z7l46m1mjnvncscaq61zq6qmazrmb33vwjcnfrxpi0liqdgh607")))) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; These tests require internet access. + "--skip=test_badssl_modern" + "--skip=test_badssl_self_signed" + ;; XXX: Not sure why these fail. + "--skip=test_allowed_methods" + "--skip=connect_timeout") + #:cargo-inputs + (("rust-async-compression" ,rust-async-compression-0.3) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-cookie" ,rust-cookie-0.14) + ("rust-cookie-store" ,rust-cookie-store-0.12) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.3) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.21) + ("rust-hyper-tls" ,rust-hyper-tls-0.4) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-time" ,rust-time-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) + ("rust-tokio-socks" ,rust-tokio-socks-0.3) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19) + ("rust-url" ,rust-url-2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-webpki-roots" ,rust-webpki-roots-0.20) + ("rust-winreg" ,rust-winreg-0.7)) + #:cargo-development-inputs + (("rust-brotli" ,rust-brotli-3) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-libflate" ,rust-libflate-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)))) + +(define-public rust-rocket-0.4 + (package + (name "rust-rocket") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-base64" ,rust-base64-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-pear" ,rust-pear-0.1) + ("rust-rocket-codegen" ,rust-rocket-codegen-0.4) + ("rust-rocket-http" ,rust-rocket-http-0.4) + ("rust-state" ,rust-state-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-toml" ,rust-toml-0.4) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-0.5) + ("rust-yansi" ,rust-yansi-0.5)))) + (home-page "https://rocket.rs") + (synopsis + "Web framework with focus on ease-of-use, expressibility, and speed") + (description + "Rocket is a web framework with a focus on ease-of-use, expressibility, +and speed.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rocket-codegen-0.4 + (package + (name "rust-rocket-codegen") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-devise" ,rust-devise-0.2) + ("rust-glob" ,rust-glob-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-quote" ,rust-quote-0.6) + ("rust-rocket-http" ,rust-rocket-http-0.4) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-0.5)))) + (home-page "https://rocket.rs") + (synopsis "Procedural macros for the Rocket web framework") + (description + "This package provides procedural macros for the Rocket web framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rocket-http-0.4 + (package + (name "rust-rocket-http") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cookie" ,rust-cookie-0.11) + ("rust-hyper" ,rust-hyper-0.10) + ("rust-hyper-sync-rustls" ,rust-hyper-sync-rustls-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-pear" ,rust-pear-0.1) + ("rust-percent-encoding" ,rust-percent-encoding-1) + ("rust-rustls" ,rust-rustls-0.14) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-state" ,rust-state-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)))) + (home-page "https://rocket.rs") + (synopsis "HTTP requests, responses and headers tooling for Rocket") + (description + "This package provides types, traits, and parsers for HTTP requests, +responses, and headers for the Rocket web framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stdweb-0.4 + (package + (name "rust-stdweb") + (version "0.4.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "stdweb" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1md14n9rzxzdskz3hpgln8vxfwqsw2cswc0f5nslh4r82rmlj8nh")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-discard" ,rust-discard-1) + ("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3) + ("rust-futures-core-preview" ,rust-futures-core-preview-0.3) + ("rust-futures-executor-preview" ,rust-futures-executor-preview-0.3) + ("rust-futures-util-preview" ,rust-futures-util-preview-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-stdweb-derive" ,rust-stdweb-derive-0.5) + ("rust-stdweb-internal-macros" ,rust-stdweb-internal-macros-0.2) + ("rust-stdweb-internal-runtime" ,rust-stdweb-internal-runtime-0.1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-rustc-version" ,rust-rustc-version-0.2)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-stdweb-internal-test-macro" ,rust-stdweb-internal-test-macro-0.1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) + (home-page "https://github.com/koute/stdweb") + (synopsis "Standard library for the client-side Web") + (description + "This package provides a standard library for the client-side +Web.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stdweb-0.1 + (package + (inherit rust-stdweb-0.4) + (name "rust-stdweb") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (crate-uri "stdweb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gjk7ch31a3kgdc39kj4zqinf10yqaf717wanh9kwwbbwg430m7g")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-stdweb-derive-0.5 + (package + (name "rust-stdweb-derive") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "stdweb-derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vsh7g0gaxn4kxqq3knhymdn02p2pfxmnd2j0vplpj6c1yj60yn8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/koute/stdweb") + (synopsis "Derive macros for the stdweb crate") + (description + "This crate currently defines a derive macro for @code{stdweb} which allows +you to define custom reference types outside of the @code{stdweb} library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stdweb-internal-macros-0.2 + (package + (name "rust-stdweb-internal-macros") + (version "0.2.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "stdweb-internal-macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "049fq8fl5ny9l5if2qv7kxwng7g6ns95h4fbm3zx360dmpv5zyjq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base-x" ,rust-base-x-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha1" ,rust-sha1-0.6) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/koute/stdweb") + (synopsis "Internal procedural macros for the stdweb crate") + (description + "Internal procedural macros for the @code{stdweb} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stdweb-internal-runtime-0.1 + (package + (name "rust-stdweb-internal-runtime") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "stdweb-internal-runtime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h0nkppb4r8dbrbms2hw9n5xdcs392m0r5hj3b6lsx3h6fx02dr1")))) + (build-system cargo-build-system) + (home-page "https://github.com/koute/stdweb") + (synopsis "Internal runtime for the @code{stdweb} crate") + (description "This crate provides internal runtime for the @code{stdweb} +crate.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-stdweb-internal-test-macro-0.1 + (package + (name "rust-stdweb-internal-test-macro") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "stdweb-internal-test-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wx3jlm98qrg1pdw149fprzs9x3x3igqkm5ll23jv2v62yddfrjf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) + (home-page "https://github.com/koute/stdweb") + (synopsis "Internal crate of the `stdweb` crate") + (description + "Internal crate of the @code{stdweb} crate.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-surf-2 + (package + (name "rust-surf") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "surf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a33kw06jspi54rf38ncyqjj8861bid0wxhwzpk1ypkbr8rls59a")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http-client" ,rust-http-client-6) + ("rust-http-types" ,rust-http-types-2) + ("rust-log" ,rust-log-0.4) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/http-rs/surf") + (synopsis "HTTP client framework") + (description + "Surf is a friendly HTTP client built for casual Rustaceans and veterans +alike. It's completely modular, and built directly for @code{async/await}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tiny-http-0.12 + (package + (name "rust-tiny-http") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10nw9kk2i2aq4l4csy0825qkq0l66f9mz2c1n57yg8hkckgib69q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ascii" ,rust-ascii-1) + ("rust-chunked-transfer" ,rust-chunked-transfer-1) + ("rust-httparse" ,rust-httparse-1) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)) + #:cargo-development-inputs + (("rust-fdlimit" ,rust-fdlimit-0.1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-sha1" ,rust-sha1-0.6)))) + (home-page "https://github.com/tiny-http/tiny-http") + (synopsis "Low level HTTP server library") + (description "This package provides a low level HTTP server library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tiny-http-0.6 + (package + (inherit rust-tiny-http-0.12) + (name "rust-tiny-http") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ascii" ,rust-ascii-0.8) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chunked-transfer" ,rust-chunked-transfer-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-url" ,rust-url-1)))))) + +(define-public rust-tonic-0.10 + (package + (name "rust-tonic") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03hx1b2810p4jmsphbql8cn3r22c9n1ar73bj8azf7761lx96q6m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-axum" ,rust-axum-0.6) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-timeout" ,rust-hyper-timeout-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-prost" ,rust-prost-0.12) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4)))) + (home-page "https://github.com/hyperium/tonic") + (synopsis "gRPC over HTTP/2 implementation for Rust") + (description + "This package provides a @code{gRPC} over HTTP/2 implementation focused +on high performance, interoperability, and flexibility.") + (license license:expat))) + +(define-public rust-tonic-0.6 + (package + (inherit rust-tonic-0.10) + (name "rust-tonic") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02jxiy0n2mw2c1fchykj3m18wp986685bji26px0z9qhkmjg827z")))) + (arguments + `(#:tests? #f ; unresolved import `crate::codec::compression` + #:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-timeout" ,rust-hyper-timeout-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-prost" ,rust-prost-0.9) + ("rust-prost-derive" ,rust-prost-derive-0.9) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.6) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4)))))) + +(define-public rust-tonic-build-0.10 + (package + (name "rust-tonic-build") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "129qd12ka65h5f1dzi5mrlz6wndi0pfx1320lawq51f18k01y0lx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-prost-build" ,rust-prost-build-0.12) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/hyperium/tonic") + (synopsis "Codegen module of @code{tonic} gRPC implementation") + (description "Codegen module of @code{tonic} @code{gRPC} implementation.") + (license license:expat))) + +(define-public rust-tower-0.4 + (package + (name "rust-tower") + (version "0.4.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "073wncyqav4sak1p755hf6vl66njgfc1z1g1di9rxx3cvvh9pymq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `map_request` found for struct `ServiceBuilder` + #:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hdrhistogram" ,rust-hdrhistogram-7) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-hdrhistogram" ,rust-hdrhistogram-7) + ("rust-http" ,rust-http-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-tower-test" ,rust-tower-test-0.4) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Library for building clients and servers") + (description + "Tower is a library of modular and reusable components for building +robust clients and servers.") + (license license:expat))) + +(define-public rust-tower-http-0.4 + (package + (name "rust-tower-http") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h0i2flrw25zwxv72sifq4v5mwcb030spksy7r2a4xl2d4fvpib1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags (list "--release" + ;; Not the doc tests. + "--lib" "--bins" "--tests") + #:cargo-inputs (("rust-async-compression" ,rust-async-compression-0.4) + ("rust-base64" ,rust-base64-0.21) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http-body" ,rust-http-body-0.4) + ("rust-http-range-header" ,rust-http-range-header-0.3) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-iri-string" ,rust-iri-string-0.7) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs + (("rust-brotli" ,rust-brotli-3) + ("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-uuid" ,rust-uuid-1) + ("rust-zstd" ,rust-zstd-0.12)))) + (home-page "https://github.com/tower-rs/tower-http") + (synopsis "Tower middleware and utilities for HTTP clients and servers") + (description "This package provides the tower middleware and utilities for +HTTP clients and servers.") + (license license:expat))) + +(define-public rust-tower-layer-0.3 + (package + (name "rust-tower-layer") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-layer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l7i17k9vlssrdg4s3b0ia5jjkmmxsvv8s9y9ih0jfi8ssz8s362")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=layer_fn::layer_fn") + #:cargo-development-inputs + (("rust-tower" ,rust-tower-0.4) + ("rust-tower-service" ,rust-tower-service-0.3)))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Easy composition between @code{Service}s") + (description "This package decorates a @code{Service} to allow easy +composition between @code{Service}s.") + (license license:expat))) + +(define-public rust-tower-service-0.3 + (package + (name "rust-tower-service") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-service" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lmfzmmvid2yp2l36mbavhmqgsvzqf7r2wiwz73ml4xmwaf1rg5n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower-layer" ,rust-tower-layer-0.3)))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Asynchronous, request / response based, client or server") + (description "This package provides a trait representing an asynchronous, +request/response based, client or server.") + (license license:expat))) + +(define-public rust-tower-test-0.4 + (package + (name "rust-tower-test") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19zgjwzr9216yg1ayrnsly06lqdv96m2z1xq0bmf9fgazxrnfm54")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Utilities for writing client and server @code{Service} tests") + (description "This package provides utilities for writing client and +server @code{Service} tests.") + (license license:expat))) + +(define-public rust-tower-test-0.3 + (package + (inherit rust-tower-test-0.4) + (name "rust-tower-test") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1j2k07g3z8ascq7r30bmw3b75v8lhd63mhfl60y59a74q71bp94v")))) + (arguments + `(#:cargo-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-test" ,rust-tokio-test-0.2) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-tower-util-0.3 + (package + (name "rust-tower-util") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x4np2s7h891spvxaarcyainj12a7gvnh7jif9y80cvdh8ckq2fi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-test" ,rust-tokio-test-0.2) + ("rust-tower-test" ,rust-tower-test-0.3)))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Utilities for working with @code{Service}") + (description "This package provides utilities for working with +@code{Service}.") + (license license:expat))) + +(define-public rust-trust-dns-client-0.22 + (package + (name "rust-trust-dns-client") + (version "0.22.0") + (source (origin + (method url-fetch) + (uri (crate-uri "trust-dns-client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1znkfhzwikii6v9k98ccbn3krwic1xs3bknf6y0b7nx9wqr8qh3c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests require network access. + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-radix-trie" ,rust-radix-trie-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.22) + ("rust-webpki" ,rust-webpki-0.22)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (home-page "https://trust-dns.org/") + (synopsis "DNS library with DNSSEC support") + (description + "Trust-DNS is a DNS library. This is the Client library with DNSSEC +support. DNSSEC with NSEC validation for negative records, is complete. The +client supports dynamic DNS with SIG0 authenticated requests, implementing +easy to use high level funtions. Trust-DNS is based on the Tokio and Futures +libraries, which means it should be easily integrated into other software that +also use those libraries.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-https-0.20 + (package + (name "rust-trust-dns-https") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-https" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19f0l1illl69ycb97652rjrjppilz2pz7l9572lrjpkasffgcqr6")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.19) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)))) + (home-page "https://www.trust-dns.org/index.html") + (synopsis "DNS over HTTPS extension for the Trust-DNS client") + (description + "Trust-DNS is a safe and secure DNS library. This is an extension for +the Trust-DNS client to use DNS over HTTPS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-https-0.19 + (package + (inherit rust-trust-dns-https-0.20) + (name "rust-trust-dns-https") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-https" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zfzykz7x6x7g90jl8f1l4w7qj3qxqr1r2w16j5qh2c409lsnqhz")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Requires the internet. + "--skip=https_client_stream::tests::test_https_google") + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-h2" ,rust-h2-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.17) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.19) + ("rust-typed-headers" ,rust-typed-headers-0.2) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.19)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3)))))) + +(define-public rust-trust-dns-https-0.18 + (package + (inherit rust-trust-dns-https-0.19) + (name "rust-trust-dns-https") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-https" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03dapd5larsjlpk6mr4xnm2sb0h7l6dg988wjnaxd8zfi5swq5nl")))) + (arguments + `(#:tests? #false ;network unreachable + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-h2" ,rust-h2-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.18) + ("rust-typed-headers" ,rust-typed-headers-0.2) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.18)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3)))))) + +(define-public rust-trust-dns-https-0.3 + (package + (inherit rust-trust-dns-https-0.19) + (name "rust-trust-dns-https") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-https" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14ps1fxngm8d3ynp9jf86zrqbyzjzh62v5grwrqb1q0xhbz98vv1")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #false ;network unreachable + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-h2" ,rust-h2-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.6) + ("rust-typed-headers" ,rust-typed-headers-0.1) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.1)))))) + +(define-public rust-trust-dns-native-tls-0.20 + (package + (name "rust-trust-dns-native-tls") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "129map2cvy9xcdjg6927xyzic48mq6hqmils0qrmigbr61djxkna")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)))) + (home-page "https://www.trust-dns.org/index.html") + (synopsis "native-tls extension for the Trust-DNS client") + (description "Trust-DNS is a safe and secure DNS library. This is an +extension for the Trust-DNS client to use native-tls for TLS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-native-tls-0.19 + (package + (inherit rust-trust-dns-native-tls-0.20) + (name "rust-trust-dns-native-tls") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12rh378g144cmw8lpjnivndknlf56i4lzfwnhigp1zviyw5jb7lj")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=tests::test_tls_client_stream_ipv4") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)))) + +(define-public rust-trust-dns-native-tls-0.18 + (package + (inherit rust-trust-dns-native-tls-0.19) + (name "rust-trust-dns-native-tls") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rcg018vdd5chd4hcmjp753qjlf4k311nmrxa5ay2hxjllzmqd1y")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #false ;missing files + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)))))) + +(define-public rust-trust-dns-native-tls-0.6 + (package + (inherit rust-trust-dns-native-tls-0.19) + (name "rust-trust-dns-native-tls") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v18xwcy2vz57gnp1a6wx52c4zpwlakpr75ydmai8gc0h2kfzd7l")))) + (arguments + `(#:tests? #false + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-tls" ,rust-tokio-tls-0.2) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.1)))))) + +(define-public rust-trust-dns-openssl-0.20 + (package + (name "rust-trust-dns-openssl") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zd10g824qrs0yw2bmxphw43iylxlpgvnwb3l3hnwblp2ffhcx50")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)))) + (home-page "https://www.trust-dns.org/index.html") + (synopsis "tokio-openssl extension for the Trust-DNS client") + (description "Trust-DNS is a safe and secure DNS library. This is an +extension for the Trust-DNS client to use tokio-openssl for TLS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-openssl-0.19 + (package + (inherit rust-trust-dns-openssl-0.20) + (name "rust-trust-dns-openssl") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pn6q6ipgmjp35gbjbly3hc8lqz3f359wcwlj603f9nwahfnahif")))) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.2)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)))) + +(define-public rust-trust-dns-openssl-0.18 + (package + (inherit rust-trust-dns-openssl-0.19) + (name "rust-trust-dns-openssl") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1870s27ifsdh9plgcwwbxzvlw17r3dn9v6s0zfryf6kfp9hzpfz2")))) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-trust-dns-openssl-0.6 + (package + (inherit rust-trust-dns-openssl-0.19) + (name "rust-trust-dns-openssl") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zwx2bsf1rbyjr6l2c3vi24z7414n4b5qiymva9dmbvwxnqqyk1j")))) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.1)))))) + +(define-public rust-trust-dns-proto-0.23 + (package + (name "rust-trust-dns-proto") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x6kaa9vdzq5j6yx6ik0kmp76nd4d9c1x81ii54g8my1a4k1269i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-bytes" ,rust-bytes-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.6) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-idna" ,rust-idna-0.4) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-quinn" ,rust-quinn-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tinyvec" ,rust-tinyvec-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-url" ,rust-url-2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://trust-dns.org/") + (synopsis "Safe and secure DNS library") + (description + "Trust-DNS is a safe and secure DNS library. This is the foundational +DNS protocol library for all Trust-DNS projects.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-proto-0.22 + (package + (inherit rust-trust-dns-proto-0.23) + (name "rust-trust-dns-proto") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09mwv7fnjrkdpf82qqvsbby5xnnpwn0kcp2cqn53br50wk8q6zsg")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-bytes" ,rust-bytes-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.5) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-idna" ,rust-idna-0.2) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-quinn" ,rust-quinn-0.8) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-socket2" ,rust-socket2-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tinyvec" ,rust-tinyvec-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.23) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)))))) + +(define-public rust-trust-dns-proto-0.20 + (package + (inherit rust-trust-dns-proto-0.22) + (name "rust-trust-dns-proto") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gdsxjl628h02dp0fhcjz6js79fc4dxprqgqny6rghk450dki84q")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.3) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-idna" ,rust-idna-0.2) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))))) + +(define-public rust-trust-dns-proto-0.19 + (package + (inherit rust-trust-dns-proto-0.20) + (name "rust-trust-dns-proto") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a8mhawa5bhavmhickmr8ncnvs5jiwpyidig3nabk2nnq2h73b8w")))) + (arguments + `(#:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-idna" ,rust-idna-0.2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-ring" ,rust-ring-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-url" ,rust-url-2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3) + ("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-trust-dns-proto-0.18 + (package + (inherit rust-trust-dns-proto-0.19) + (name "rust-trust-dns-proto") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vmhw7vdaa6b7wfv438f272ijjl2qlpcp6b1myvif4iay8pp4fi5")))) + (arguments + `(#:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.3) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-idna" ,rust-idna-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-ring" ,rust-ring-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3) + ("rust-tokio" ,rust-tokio-0.2)))))) + +(define-public rust-trust-dns-proto-0.7 + (package + (inherit rust-trust-dns-proto-0.19) + (name "rust-trust-dns-proto") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0099dm57nnizx4apik9sh3mnvr7rp9mivc903v8xss13dkgynnam")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.2) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-idna" ,rust-idna-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-ring" ,rust-ring-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-tokio-udp" ,rust-tokio-udp-0.1) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-url" ,rust-url-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tokio" ,rust-tokio-0.1)))))) + +(define-public rust-trust-dns-resolver-0.23 + (package + (name "rust-trust-dns-resolver") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rhbwg7v93yvl3p64skwhkx2zfh2abrx35g3fcy8nwgimz1yd8qh")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests require network access + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("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-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-trust-dns-proto" ,rust-trust-dns-proto-0.23) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://trust-dns.org/") + (synopsis "Safe and secure DNS library") + (description + "Trust-DNS is a safe and secure DNS library. This Resolver library uses +the Client library to perform all DNS queries. The Resolver is intended to be +a high-level library for any DNS record resolution see Resolver and +AsyncResolver for supported resolution types. The Client can be used for +other queries.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-resolver-0.22 + (package + (inherit rust-trust-dns-resolver-0.23) + (name "rust-trust-dns-resolver") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zkw5fx7dwiy4ymn7ywmsb3qhf69mnqdw9mcpyps3c7gvjj1mwmg")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-ipconfig" ,rust-ipconfig-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-resolv-conf" ,rust-resolv-conf-0.7) + ("rust-rustls" ,rust-rustls-0.20) + ("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.23) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + +(define-public rust-trust-dns-resolver-0.20 + (package + (inherit rust-trust-dns-resolver-0.22) + (name "rust-trust-dns-resolver") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r2n933z9yrpdqv60c9mbhl64y2inpx9rm870nq1qqmx226d2wih")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-ipconfig" ,rust-ipconfig-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-resolv-conf" ,rust-resolv-conf-0.7) + ("rust-rustls" ,rust-rustls-0.19) + ("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.22) + ("rust-trust-dns-https" ,rust-trust-dns-https-0.20) + ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.20) + ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.20) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) + +(define-public rust-trust-dns-resolver-0.19 + (package + (inherit rust-trust-dns-resolver-0.20) + (name "rust-trust-dns-resolver") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1sqcvwcfllypmjqnhf4dksggpykq57nkh2vdl99xnx8i6wxmj3vi")))) + (arguments + `(#:tests? #false ;network unreachable + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-ipconfig" ,rust-ipconfig-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-resolv-conf" ,rust-resolv-conf-0.7) + ("rust-rustls" ,rust-rustls-0.17) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.4) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) + ("rust-tokio-tls" ,rust-tokio-tls-0.3) + ("rust-trust-dns-https" ,rust-trust-dns-https-0.19) + ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.19) + ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.19) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.19)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3)))))) + +(define-public rust-trust-dns-resolver-0.18 + (package + (inherit rust-trust-dns-resolver-0.19) + (name "rust-trust-dns-resolver") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cldg6y937il4kjk7rirgfhmk0chz41w7qys9h96skaznh4dzmvj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #false ;network unreachable + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-ipconfig" ,rust-ipconfig-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-resolv-conf" ,rust-resolv-conf-0.6) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-trust-dns-https" ,rust-trust-dns-https-0.18) + ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.18) + ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.18) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.18) + ("rust-webpki-roots" ,rust-webpki-roots-0.18)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures" ,rust-futures-0.3)))))) + +(define-public rust-trust-dns-resolver-0.11 + (package + (inherit rust-trust-dns-resolver-0.19) + (name "rust-trust-dns-resolver") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fd0w2zsdwlsag27fsg0fzyd7j7niw0r22rwh2c5fdmsipjr56bc")))) + (arguments + `(#:tests? #false ;networking failures + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-ipconfig" ,rust-ipconfig-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-resolv-conf" ,rust-resolv-conf-0.6) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-trust-dns-https" ,rust-trust-dns-https-0.3) + ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.6) + ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.6) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.6) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) + +(define-public rust-trust-dns-rustls-0.20 + (package + (name "rust-trust-dns-rustls") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00i5jf6bkfxikna0093swl0yz246nabpm0xngdxb94wkr3rz0kq9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.19) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) + ("rust-webpki" ,rust-webpki-0.21)))) + (home-page "https://www.trust-dns.org/index.html") + (synopsis "rustls extension for the Trust-DNS client") + (description + "Trust-DNS is a safe and secure DNS library. This is an extension for +the Trust-DNS client to use rustls for TLS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trust-dns-rustls-0.19 + (package + (inherit rust-trust-dns-rustls-0.20) + (name "rust-trust-dns-rustls") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0d113r4j2821wzxl440bac1xk4c6s5qyx4va0srs6gjvbzhv143h")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=tests::test_tls_client_stream_ipv4") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.17) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)))) + +(define-public rust-trust-dns-rustls-0.18 + (package + (inherit rust-trust-dns-rustls-0.19) + (name "rust-trust-dns-rustls") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19vhb0xsyr0wy4p0liwhv4rqmwv6szfmmid6439gq7wah1x1hzp4")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #false ;missing file + #:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.12) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10)))))) + +(define-public rust-trust-dns-rustls-0.6 + (package + (inherit rust-trust-dns-rustls-0.19) + (name "rust-trust-dns-rustls") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vbh2y7w2s5gcw33fn4hb5f927kgjm6603vw63slg9riikmsiq43")))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=tests::test_tls_client_stream_ipv4") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) + ("rust-webpki" ,rust-webpki-0.19)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.1)))))) + +(define-public rust-tungstenite-0.20 + (package + (name "rust-tungstenite") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fbgcv3h4h1bhhf5sqbwqsp7jnc44bi4m41sgmhzdsk2zl8aqgcy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2) + ("rust-utf-8" ,rust-utf-8-0.7) + ("rust-webpki-roots" ,rust-webpki-roots-0.24)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-input-buffer" ,rust-input-buffer-0.5) + ("rust-net2" ,rust-net2-0.2) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/snapview/tungstenite-rs") + (synopsis "Lightweight stream-based WebSocket implementation") + (description + "This library provides an implementation of WebSockets, RFC6455. It +allows for both synchronous (like TcpStream) and asynchronous usage and is +easy to integrate into any third-party event loops including MIO. The API +design abstracts away all the internals of the WebSocket protocol but still +makes them accessible for those who wants full control over the network.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tungstenite-0.19 + (package + (inherit rust-tungstenite-0.20) + (name "rust-tungstenite") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rxzxg4y22rsvdvs4la7igy9117yidc2m6lsfm2hf0xvsska3yqm")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2) + ("rust-utf-8" ,rust-utf-8-0.7) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.23)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-input-buffer" ,rust-input-buffer-0.5) + ("rust-net2" ,rust-net2-0.2) + ("rust-rand" ,rust-rand-0.8)))))) + +(define-public rust-tungstenite-0.11 + (package + (inherit rust-tungstenite-0.19) + (name "rust-tungstenite") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08ra94x3zqkmbsrcmwszknxv2a8g08gk5xlyif3wa037v208sc7h")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-base64" ,rust-base64-0.12) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-input-buffer" ,rust-input-buffer-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rand" ,rust-rand-0.7) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-url" ,rust-url-2) + ("rust-utf-8" ,rust-utf-8-0.7)))))) + +(define-public rust-typed-headers-0.2 + (package + (name "rust-typed-headers") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jm2xzvvml3a9hhvzf9q4v22l5ifrxrx2kspy7aymknckqgacy9i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.11) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-http" ,rust-http-0.2) + ("rust-mime" ,rust-mime-0.3)))) + (home-page "https://github.com/sfackler/typed-headers") + (synopsis "Typed HTTP header serialization and deserialization") + (description "This package provides typed HTTP header serialization and +deserialization.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-typed-headers-0.1 + (package + (inherit rust-typed-headers-0.2) + (name "rust-typed-headers") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g40nlq5iw0zxhwb7nfmfbr9m86abgwwhxwhzrm10nfq6bsmlvxx")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-http" ,rust-http-0.1) + ("rust-mime" ,rust-mime-0.3)))))) + +(define-public rust-warp-0.2 + (package + (name "rust-warp") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "warp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01wl8kv5hh1dd7gcwdrmn9xfs7jjsh9yc8xa06ph8yf9akgyc6zl")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-compression" ,rust-async-compression-0.3) + ("rust-bytes" ,rust-bytes-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-multipart" ,rust-multipart-0.17) + ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.11) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-urlencoding" ,rust-urlencoding-1)))) + (home-page "https://github.com/seanmonstar/warp") + (synopsis "Composable web server framework") + (description "Warp is a composable, web server framework.") + (license license:expat))) + +(define-public rust-web-view-0.7 + (package + (name "rust-web-view") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "web-view" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1smgmc00nk2wn8kpagp0mpsd0d9f5mvljidf2x7plbi3bymac7gf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing files + #:cargo-inputs + (("rust-boxfnonce" ,rust-boxfnonce-0.1) + ("rust-tinyfiledialogs" ,rust-tinyfiledialogs-3) + ("rust-urlencoding" ,rust-urlencoding-1) + ("rust-webview-sys" ,rust-webview-sys-0.6)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-web" ,rust-actix-web-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-grep" ,rust-grep-0.2) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-rust-embed" ,rust-rust-embed-5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs + (list pkg-config)) + (inputs + (list gtk+ + webkitgtk-with-libsoup2)) + (home-page "https://github.com/Boscop/web-view") + (synopsis "Rust bindings for webview") + (description + "This library provides a Rust binding to the original implementation of +webview, a tiny cross-platform library to render web-based GUIs as desktop +applications.") + (license license:expat))) + +(define-public rust-webpki-0.22 + (package + (name "rust-webpki") + (version "0.22.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lwv7jdlcqjjqqhxcrapnyk5bz4lvr12q444b50gzl3krsjswqzd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ring" ,rust-ring-0.17) + ("rust-untrusted" ,rust-untrusted-0.9)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/briansmith/webpki") + (synopsis "Web PKI X.509 Certificate Verification") + (description "This package provides Web PKI X.509 Certificate +Verification.") + (license license:isc))) + +(define-public rust-webpki-0.21 + (package + (inherit rust-webpki-0.22) + (name "rust-webpki") + (version "0.21.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sm4i8c5bw3bdhi7mjk0wpvwx55hvsmyn0k2lpa4cb161038rqxq")))) + (arguments + `(#:tests? #f ;; tests fail to build "missing file tests/ed25519/ee.der" + #:cargo-inputs + (("rust-ring" ,rust-ring-0.16) + ("rust-untrusted" ,rust-untrusted-0.7)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.9)))))) + +(define-public rust-webpki-0.19 + (package + (inherit rust-webpki-0.21) + (name "rust-webpki") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10nhyxlqsa4caxlxrijm5h79rdg6ld8hqy78ldjnnfhaj3biqzjg")))) + (arguments + `(#:tests? #f ; tests fail to build "missing file tests/ed25519/ee.der" + #:cargo-inputs + (("rust-ring" ,rust-ring-0.14) + ("rust-untrusted" ,rust-untrusted-0.6)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.9)))))) + +(define-public rust-webpki-0.18 + (package + (inherit rust-webpki-0.19) + (name "rust-webpki") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zx1v8afa4ig97dyqfrnlj5i7pib6dnfw88qn2iiqhfq2rrrdmqp")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Fix doctest errors + ;; `...` range patterns are deprecated + (substitute* "src/name.rs" + (("'\\.\\.\\.") "'..=")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ring" ,rust-ring-0.13) + ("rust-untrusted" ,rust-untrusted-0.6)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.9)))))) + +(define-public rust-webpki-roots-0.26 + (package + (name "rust-webpki-roots") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "029006qfs61q75gl60aap25m0gdqmvd1pcpljid9b0q44yp39pmk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `webpki_ccadb` + #:cargo-inputs (("rust-rustls-pki-types" ,rust-rustls-pki-types-1)) + #:cargo-development-inputs (("rust-hex" ,rust-hex-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rcgen" ,rust-rcgen-0.12) + ("rust-ring" ,rust-ring-0.17) + ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-tokio" ,rust-tokio-1) + ("rust-x509-parser" ,rust-x509-parser-0.15) + ("rust-yasna" ,rust-yasna-0.5)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) + (home-page "https://github.com/rustls/webpki-roots") + (synopsis "Mozilla's CA root certificates for use with webpki") + (description "This package provides Mozilla's CA root certificates for use +with webpki.") + (license license:mpl2.0))) + +(define-public rust-webpki-roots-0.25 + (package + (inherit rust-webpki-roots-0.26) + (name "rust-webpki-roots") + (version "0.25.4") + (source (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qgqa615gc1cgklls4bkjp9jv9pvv3jnl82lc6wd7dkximywa82z")))) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; This test wants network access. + "--skip=generated_code_is_fresh") + #:cargo-development-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rcgen" ,rust-rcgen-0.11) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-x509-parser" ,rust-x509-parser-0.15) + ("rust-yasna" ,rust-yasna-0.5)))))) + +(define-public rust-webpki-roots-0.24 + (package + (inherit rust-webpki-roots-0.25) + (name "rust-webpki-roots") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "120q85pvzpckvvrg085a5jhh91fby94pgiv9y1san7lxbmnm94dj")))) + (arguments + `(#:cargo-inputs (("rust-rustls-webpki" ,rust-rustls-webpki-0.101)))))) + +(define-public rust-webpki-roots-0.23 + (package + (inherit rust-webpki-roots-0.25) + (name "rust-webpki-roots") + (version "0.23.1") + (source (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f4k8nng542iilxbibh1nhrdf5wbyi9is4fr219zzrc6hgw5hc5h")))) + (arguments + `(#:cargo-inputs (("rust-rustls-webpki" ,rust-rustls-webpki-0.100)))))) + +(define-public rust-webpki-roots-0.22 + (package + (inherit rust-webpki-roots-0.25) + (name "rust-webpki-roots") + (version "0.22.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11rd1aj73qzcvdj3x78crm1758sc4wrbc7rh0r8lmhyjsx01xixn")))) + (arguments + `(#:cargo-inputs + (("rust-webpki" ,rust-webpki-0.22)))))) + +(define-public rust-webpki-roots-0.21 + (package + (inherit rust-webpki-roots-0.22) + (name "rust-webpki-roots") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h49lkr7hrxpyr0xg1nph4m3v1l6rhg8ax9n8msvfwz48hsibgma")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-webpki" ,rust-webpki-0.21)))))) + +(define-public rust-webpki-roots-0.20 + (package + (inherit rust-webpki-roots-0.21) + (name "rust-webpki-roots") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17qpmyym1lsi967b4nc3112nb13ism8731bhjqd9hlajafkxw80g")))) + (arguments + `(#:cargo-inputs + (("rust-webpki" ,rust-webpki-0.21)))))) + +(define-public rust-webpki-roots-0.19 + (package + (inherit rust-webpki-roots-0.20) + (name "rust-webpki-roots") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fapdqwbfv0kncplpvbgnr0bjd5a9krlpij9jdzk0mvaa6vz9vzq")))))) + +(define-public rust-webpki-roots-0.18 + (package + (inherit rust-webpki-roots-0.19) + (name "rust-webpki-roots") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d4ss607rgi9pj01zzqa13c1p3m35z314yh6lmjaj4kzvwv5gkci")))))) + +(define-public rust-webpki-roots-0.17 + (package + (inherit rust-webpki-roots-0.18) + (name "rust-webpki-roots") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12vi8dh0yik0h4f0b9dnlw5i3gxyky7iblbksh6zcq4xvlvswqm2")))))) + +(define-public rust-webpki-roots-0.16 + (package + (inherit rust-webpki-roots-0.17) + (name "rust-webpki-roots") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03ny02mwqdgd2ff23k03kbwr2rrcaymxhp7jcjjikfh340hs83y1")))) + (arguments + `(#:cargo-inputs + (("rust-untrusted" ,rust-untrusted-0.6) + ("rust-webpki" ,rust-webpki-0.19)))))) + +(define-public rust-webpki-roots-0.15 + (package + (inherit rust-webpki-roots-0.20) + (name "rust-webpki-roots") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gya8j75jnvf9lz36w0l4bf2xnw8qdx6plvhia891mcgj44g9lc5")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-untrusted" ,rust-untrusted-0.6) + ("rust-webpki" ,rust-webpki-0.18)))))) + +(define-public rust-webview-sys-0.6 + (package + (name "rust-webview-sys") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "webview-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jb6h261lzp4b9rp7iwssbc7vs5d3q4wp08a4wvgwps2q4jz0080")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-gdk-sys" ,rust-gdk-sys-0.10) + ("rust-gio-sys" ,rust-gio-sys-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk-sys" ,rust-gtk-sys-0.10) + ("rust-javascriptcore-rs-sys" ,rust-javascriptcore-rs-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-webkit2gtk-sys" ,rust-webkit2gtk-sys-0.12)))) + (native-inputs + (list pkg-config)) + (inputs + (list gtk+ webkitgtk-with-libsoup2)) + (home-page "https://github.com/Boscop/web-view") + (synopsis "Rust native ffi bindings for webview") + (description "This library provides a Rust binding to the original +implementation of webview, a tiny cross-platform library to render web-based +GUIs as desktop applications.") + (license license:expat))) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm new file mode 100644 index 0000000000..e50c63f80f --- /dev/null +++ b/gnu/packages/crates-windows.scm @@ -0,0 +1,2523 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2021 John Soo <jsoo1@asu.edu> +;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> +;;; Copyright © 2022 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2022 ( <paren@disroot.org> +;;; Copyright © 2022 Marius Bakke <marius@gnu.org> +;;; Copyright © 2022, 2023 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2022, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch> +;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; +;;; 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/>. + +(define-module (gnu packages crates-windows) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-io)) + +(define-public rust-anstyle-wincon-3 + (package + (name "rust-anstyle-wincon") + (version "3.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle-wincon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19v0fv400bmp4niqpzxnhg83vz12mmqv7l2l8vi80qcdxj0lpm8w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))) + (home-page "https://github.com/rust-cli/anstyle") + (synopsis "Styling legacy Windows terminals") + (description "Styling legacy Windows terminals.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-anstyle-wincon-1 + (package + (inherit rust-anstyle-wincon-3) + (name "rust-anstyle-wincon") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "anstyle-wincon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12714vwjf4c1wm3qf49m5vmd93qvq2nav6zpjc0bxbh3ayjby2hq")))) + (arguments + `(#:cargo-inputs + (("rust-anstyle" ,rust-anstyle-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-lexopt" ,rust-lexopt-0.3)))))) + +(define-public rust-anstyle-wincon-0.2 + (package + (inherit rust-anstyle-wincon-3) + (name "rust-anstyle-wincon") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle-wincon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yil703c9gp5hn1d8fn5m3dr4mlwml80v6mvhwr9y52v2kv7l4n3")))) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.45)) + #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))))) + +(define-public rust-cargo-credential-wincred-0.4 + (package + (name "rust-cargo-credential-wincred") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-wincred" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d3h1y0f42xv2sjvn2bmyib4pdimpxjmsi17npx0bd6wlsn568xs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis + "Cargo credential process that stores tokens with Windows Credential Manager") + (description + "This package provides a Cargo credential process that stores tokens with +Windows Credential Manager.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cargo-credential-wincred-0.3 + (package + (inherit rust-cargo-credential-wincred-0.4) + (name "rust-cargo-credential-wincred") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-credential-wincred" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w8ciyyrq0vp25bdpsmj8221xh09x4np80wrhc53br8gkldljdv6")))) + (arguments + `(#:cargo-inputs + (("rust-cargo-credential" ,rust-cargo-credential-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.48)))))) + +(define-public rust-clipboard-win-4 + (package + (name "rust-clipboard-win") + (version "4.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clipboard-win" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qh3rypkf1lazniq4nr04hxsck0d55rigb5sjvpvgnap4dyc54bi")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `clipboard_win::raw` + #:cargo-inputs + (("rust-error-code" ,rust-error-code-2) + ("rust-str-buf" ,rust-str-buf-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/DoumanAsh/clipboard-win") + (synopsis "Simple way to interact with Windows clipboard") + (description + "This package provides simple way to interact with Windows clipboard.") + (license license:boost1.0))) + +(define-public rust-clipboard-win-3 + (package + (inherit rust-clipboard-win-4) + (name "rust-clipboard-win") + (version "3.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clipboard-win" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hh3npqfa1lfn62fwvkmjlpfnizq343a994b898ffsvb100mxpwz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-codepage-0.1 + (package + (name "rust-codepage") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "codepage" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sdxp0f8dy2rscln646326lny9i0jm7ncgyp4yncdwndq0i943lb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-encoding-rs" ,rust-encoding-rs-0.8)))) + (home-page "https://docs.rs/codepage/") + (synopsis "Mapping between Windows code page and @code{encoding_rs}") + (description + "This package provides mapping between Windows code page numbers and +@code{encoding_rs} character encodings.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-conpty-0.5 + (package + (name "rust-conpty") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "conpty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nmkhiysnssvbi4kqaq8cybb0ffngbl64kfpk8s86ihdg940caxp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Specifically for Windows. + #:cargo-inputs + (("rust-windows" ,rust-windows-0.44)) + #:cargo-development-inputs + (("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)))) + (home-page "https://github.com/zhiburt/conpty") + (synopsis "Library which provides an interface for ConPTY") + (description + "This package provides a library which provides an interface for @code{ConPTY}.") + (license license:expat))) + +(define-public rust-dunce-1 + (package + (name "rust-dunce") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "dunce" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fqcbwfclldbknmawi69l6zyncaiqzxkpbybcb2cc7jmlxnqrkjn")))) + (build-system cargo-build-system) + (home-page "https://gitlab.com/kornelski/dunce") + (synopsis "Normalize Windows paths to the most compatible format") + (description + "This crate converts Windows UNC paths to the MS-DOS-compatible format +whenever possible, but leaves UNC paths as-is when they can't be unambiguously +expressed in a simpler way. This allows legacy programs to access all paths +they can possibly access, and doesn't break any paths for UNC-aware +programs.") + (license (list license:cc0 license:expat-0 license:asl2.0)))) + +(define-public rust-embed-resource-2 + (package + (name "rust-embed-resource") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "embed-resource" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cicrqlblz5xf4ns7yk4aifpskbvvvg436ls4c93h77f4zlc6k7m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-toml" ,rust-toml-0.8) + ("rust-vswhom" ,rust-vswhom-0.1) + ("rust-winreg" ,rust-winreg-0.51)))) + (home-page "https://github.com/nabijaczleweli/rust-embed-resource") + (synopsis + "Cargo library to handle compilation and inclusion of Windows resources") + (description + "This package provides a Cargo library to handle compilation and +inclusion of Windows resources in the most resilient fashion imaginable.") + (license license:expat))) + +(define-public rust-embed-resource-1 + (package + (inherit rust-embed-resource-2) + (name "rust-embed-resource") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "embed-resource" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6")))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-toml" ,rust-toml-0.5) + ("rust-vswhom" ,rust-vswhom-0.1) + ("rust-winreg" ,rust-winreg-0.10)))))) + +(define-public rust-gdi32-sys-0.2 + (package + (name "rust-gdi32-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdi32-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0605d4ngjsspghwjv4jicajich1gnl0aik9f880ajjzjixd524h9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.2) + ("rust-winapi-build" ,rust-winapi-build-0.1)))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Function definitions for the Windows API library gdi32") + (description "This package contains function definitions for the Windows +API library @code{gdi32}.") + (license license:expat))) + +(define-public rust-ipconfig-0.3 + (package + (name "rust-ipconfig") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ipconfig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gn5j5sp58mz0630dhs1b8by7j0jqagldbd5iyln690gp7qjlc5x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-socket2" ,rust-socket2-0.4) + ("rust-widestring" ,rust-widestring-0.5) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winreg" ,rust-winreg-0.10)))) + (home-page "https://github.com/liranringel/ipconfig") + (synopsis "Get network adapters and configuration information for Windows") + (description "This package lets you get network adapters information and +network configuration for Windows.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ipconfig-0.2 + (package + (inherit rust-ipconfig-0.3) + (name "rust-ipconfig") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ipconfig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mzsagc6bk3i3fpggqlq8am5rxn4hgs297rsaya90w79xj5g3qpp")))) + (arguments + `(#:tests? #f ; failed to resolve: could not find `computer` in `ipconfig` + #:cargo-inputs + (("rust-socket2" ,rust-socket2-0.3) + ("rust-widestring" ,rust-widestring-0.4) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winreg" ,rust-winreg-0.6)))))) + +(define-public rust-kernel32-sys-0.2 + (package + (name "rust-kernel32-sys") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "kernel32-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1389av0601a9yz8dvx5zha9vmkd6ik7ax0idpb032d28555n41vm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.2) + ("rust-winapi-build" ,rust-winapi-build-0.1)))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Function definitions for the Windows API library kernel32") + (description "Contains function definitions for the Windows API library +kernel32.") + (license license:expat))) + +(define-public rust-miow-0.6 + (package + (name "rust-miow") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i307jyhxnhgzj148cdb9zq59rhlhr1b65g142g9z9r01d1pd7rm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.5)))) + (home-page "https://github.com/yoshuawuyts/miow") + (synopsis "Rust I/O library for Windows") + (description + "This package provides a zero overhead I/O library for Windows, focusing on +IOCP and Async I/O abstractions.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-miow-0.5 + (package + (inherit rust-miow-0.6) + (name "rust-miow") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08qi8xm2zf8dqacdbnrp19aqk2xiwmw75n1mpq43rqsmysibrzsj")))) + (arguments + `(#:cargo-inputs + (("rust-windows-sys" ,rust-windows-sys-0.42)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.4)))))) + +(define-public rust-miow-0.4 + (package + (inherit rust-miow-0.5) + (name "rust-miow") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03p0dgbahlysgxk0sihhf09k5h13r9aam3d6rfivdbxkj9vpydx7")))) + (arguments + `(#:cargo-inputs + (("rust-windows-sys" ,rust-windows-sys-0.28)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.4)))))) + +(define-public rust-miow-0.3 + (package + (inherit rust-miow-0.4) + (name "rust-miow") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08afp2xfpxmdw003111lxz6g9jgbj4zi2fpldvv7da6d4nqcbwdr")))) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.4)))))) + +(define-public rust-miow-0.2 + (package + (inherit rust-miow-0.3) + (name "rust-miow") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "miow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kcl8rnv0bhiarcdakik670w8fnxzlxhi1ys7152sck68510in7b")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-winapi" ,rust-winapi-0.2) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3)))))) + +(define-public rust-output-vt100-0.1 + (package + (name "rust-output-vt100") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "output_vt100" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ygqplpxz4gg3i8f3rkan2q69pqll7gv65l2mmd8r9dphnvwbkak")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/Phundrak/output-vt100-rs") + (synopsis + "Utility to activate escape codes in Windows' CMD and PowerShell") + (description + "Utility to activate escape codes in Windows' CMD and PowerShell.") + (license license:expat))) + +(define-public rust-python3-dll-a-0.2 + (package + (name "rust-python3-dll-a") + (version "0.2.9") + (source (origin + (method url-fetch) + (uri (crate-uri "python3-dll-a" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0grlz344xq435qgs5mic0yz1p643qh3h1m11lw4zms1b87a7rw6m")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;Windows-like targets only + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/pyo3/python3-dll-a") + (synopsis "Python import library generator") + (description + "This crate generates import libraries for the Python shared library +for MinGW-w64 and MSVC (cross-)compile targets.") + (license license:expat))) + +(define-public rust-remove-dir-all-0.8 + (package + (name "rust-remove-dir-all") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "remove_dir_all" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ay0mi06ak1n5gw3yjgp0hvzl59nj31ahxpdqvczw5qrvkx5r293")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aligned" ,rust-aligned-0.4) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clap" ,rust-clap-4) + ("rust-cvt" ,rust-cvt-0.1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-fs-at" ,rust-fs-at-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-normpath" ,rust-normpath-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-windows-sys" ,rust-windows-sys-0.45)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-log" ,rust-test-log-0.2)))) + (home-page "https://github.com/XAMPPRocky/remove_dir_all.git") + (synopsis "Implementation of remove_dir_all for Windows") + (description + "This package provides a safe, reliable implementation of +@code{remove_dir_all} for Windows") + (license (list license:expat license:asl2.0)))) + +(define-public rust-remove-dir-all-0.5 + (package + (inherit rust-remove-dir-all-0.8) + (name "rust-remove-dir-all") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "remove_dir_all" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s")))) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))))) + +(define-public rust-schannel-0.1 + (package + (name "rust-schannel") + (version "0.1.21") + (source + (origin + (method url-fetch) + (uri (crate-uri "schannel" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cxivcbczzfv4295pqi5s80kr7nhs7xc0i40zf43b7q5qw3gng3i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-windows-sys" ,rust-windows-sys-0.42)))) + (home-page "https://github.com/steffengy/schannel-rs") + (synopsis "Rust bindings to the Windows SChannel APIs") + (description + "Rust bindings to the Windows SChannel APIs providing TLS client and +server functionality.") + (license license:expat))) + +(define-public rust-serde-ini-0.2 + (package + (name "rust-serde-ini") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_ini" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f8ir1bbcdyad50aj1c53dkiwr24x6dr88f045skl1xvwa3nc8zb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-result" ,rust-result-1) + ("rust-serde" ,rust-serde-1) + ("rust-void" ,rust-void-1)))) + (home-page "https://github.com/arcnmx/serde-ini") + (synopsis "Windows INI file {de,}serialization") + (description + "@code{serde_ini} provides a serde @code{Serializer} and +@code{Deserializer} for the INI format.") + (license license:expat))) + +(define-public rust-uds-windows-1 + (package + (name "rust-uds-windows") + (version "1.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "uds_windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fb4y65pw0rsp0gyfyinjazlzxz1f6zv7j4zmb20l5pxwv1ypnl9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-memoffset" ,rust-memoffset-0.9) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/haraldh/rust_uds_windows") + (synopsis "Unix Domain Sockets for Windows") + (description "This library integrates Unix Domain Sockets on Windows.") + (license license:expat))) + +(define-public rust-uds-windows-0.1 + (package + (inherit rust-uds-windows-1) + (name "rust-uds-windows") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "uds_windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v7g9hl06s13xc4d2bn6khqn2cz6ha2f2d71j8l6mvlhypsjpch9")))) + (arguments + `(#:cargo-inputs + (("rust-tempdir" ,rust-tempdir-0.3) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-user32-sys-0.2 + (package + (name "rust-user32-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "user32-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.2)) + #:cargo-development-inputs (("rust-winapi-build" ,rust-winapi-build-0.1)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-cargo-toml + (lambda _ + (substitute* "Cargo.toml" + ((", path =.*}") + "}")) #t))))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Function definitions for the Windows API library user32") + (description + "Contains function definitions for the Windows API library user32. +See winapi for types and constants.") + (license license:expat))) + +(define-public rust-win-crypto-ng-0.5 + (package + (name "rust-win-crypto-ng") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "win-crypto-ng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0faf5bd4d5kaf642yw91lh0n2bfwnz0l70bm85ysmj3dsj4hg9mf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Windows library + #:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "https://github.com/emgre/win-crypto-ng") + (synopsis "Safe bindings to Windows Cryptography API: Next Generation") + (description "Safe bindings to Windows Cryptography API: Next Generation") + (license license:bsd-3))) + +(define-public rust-winapi-0.3 + (package + (name "rust-winapi") + (version "0.3.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06gl025x418lchw1wxj64ycr7gha83m44cjr5sarhynd9xkrm0sw")))) + (build-system cargo-build-system) + ;; This package depends unconditionally on these two crates. + (arguments + `(#:cargo-inputs + (("winapi-i686-pc-windows-gnu" ,rust-winapi-i686-pc-windows-gnu-0.4) + ("winapi-x86-64-pc-windows-gnu" ,rust-winapi-x86-64-pc-windows-gnu-0.4)))) + (inputs + (list rust-winapi-i686-pc-windows-gnu-0.4 + rust-winapi-x86-64-pc-windows-gnu-0.4)) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Raw FFI bindings for all of Windows API") + (description + "Raw FFI bindings for all of Windows API.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-winapi-0.2 + (package + (inherit rust-winapi-0.3) + (name "rust-winapi") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yh816lh6lf56dpsgxy189c2ai1z3j8mw9si6izqb6wsjkbcjz8n")))) + (arguments '(#:skip-build? #t)))) + +(define-public rust-winapi-build-0.1 + (package + (name "rust-winapi-build") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g4rqsgjky0a7530qajn2bbfcrl2v0zb39idgdws9b1l7gp5wc9d")))) + (build-system cargo-build-system) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Common code for build.rs in WinAPI -sys crates") + (description + "Common code for build.rs in WinAPI -sys crates.") + (license license:expat))) + +(define-public rust-winapi-i686-pc-windows-gnu-0.4 + (package + (name "rust-winapi-i686-pc-windows-gnu") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi-i686-pc-windows-gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file (find-files "." "\\.a$")))))) + (build-system cargo-build-system) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Import libraries for the i686-pc-windows-gnu target") + (description "This crate provides import libraries for the +i686-pc-windows-gnu target. Please don't use this crate directly, depend on +@code{winapi} instead.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-winapi-util-0.1 + (package + (name "rust-winapi-util") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15i5lm39wd44004i9d5qspry2cynkrpvwzghr6s2c3dsk28nz7pj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/BurntSushi/winapi-util") + (synopsis "Dumping ground for high level safe wrappers over winapi") + (description + "This package provides a dumping ground for high level safe wrappers over +winapi.") + (license (list license:unlicense + license:expat)))) + +(define-public rust-winapi-wsapoll-0.1 + (package + (name "rust-winapi-wsapoll") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi-wsapoll" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vnzlcm6yrlx0xdx4g7zr41n84aj73h0p8fwh0m60mbiyl873ha4")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/psychon/winapi-wsapoll") + (synopsis "Safe wrapper around WSAPoll") + (description "This package provides safe wrapper around WSAPoll.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-winapi-x86-64-pc-windows-gnu-0.4 + (package + (name "rust-winapi-x86-64-pc-windows-gnu") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file (find-files "." "\\.a$")))))) + (build-system cargo-build-system) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Import libraries for the x86_64-pc-windows-gnu target") + (description "This package provides import libraries for the +x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on +@code{winapi} instead.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-wincolor-1 + (package + (name "rust-wincolor") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "wincolor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "017x33ljndwc76cp5z9llgndn0nh7v8jcjaykbizkawmwy9n3pyp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3) + ("rust-winapi-util" ,rust-winapi-util-0.1)))) + (home-page "https://github.com/BurntSushi/termcolor/tree/master/wincolor") + (synopsis "Windows API for controlling text color in a Windows console") + (description + "This package provides a simple Windows specific API for controlling text +color in a Windows console.") + (license (list license:unlicense + license:expat)))) + +(define-public rust-wincolor-0.1 + (package + (inherit rust-wincolor-1) + (name "rust-wincolor") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "wincolor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rvpvv26a8c4dla5i5hsxlkvjcjjbl0dylhhg4147m54lfcn9c7f")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-winreg-0.51 + (package + (name "rust-winreg") + (version "0.51.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z48nmaskwsiyyq9576sgf8ya3fvf1xg3kma8q7n8ml1jkvkszwk")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; OS not supported + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/gentoo90/winreg-rs") + (synopsis "Rust bindings to the MS Windows Registry API") + (description + "This package provides Rust bindings to MS Windows Registry API.") + (license license:expat))) + +(define-public rust-winreg-0.50 + (package + (inherit rust-winreg-0.51) + (name "rust-winreg") + (version "0.50.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cddmp929k882mdh6i9f2as848f13qqna6czwsqzkh1pqnr5fkjj")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:skip-build? #t ; OS not supported + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-winreg-0.10 + (package + (inherit rust-winreg-0.50) + (name "rust-winreg") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-winreg-0.8 + (package + (inherit rust-winreg-0.10) + (name "rust-winreg") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-winreg-0.7 + (package + (inherit rust-winreg-0.8) + (name "rust-winreg") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3) + ("rust-serde-derive" ,rust-serde-derive-1)))))) + +(define-public rust-winreg-0.6 + (package + (name "rust-winreg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/gentoo90/winreg-rs") + (synopsis "Rust bindings to MS Windows Registry API") + (description + "This package provides Rust bindings to MS Windows Registry API.") + (license license:expat))) + +(define-public rust-winreg-0.5 + (package + (inherit rust-winreg-0.7) + (name "rust-winreg") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jkh4jj2g8g0bl7r1xvq9vv9hr4gdzphg9ndqm65q6f1jn9paym2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-clippy" ,rust-clippy-0.0) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-winres-0.1 + (package + (name "rust-winres") + (version "0.1.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "winres" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v2gvqnd8iwwvb6fs69nv0mmk1z96430527n0qlfbsarxxhv53dn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-toml" ,rust-toml-0.5)))) + (home-page "https://github.com/mxre/winres") + (synopsis "Create and set windows icons and metadata for executables") + (description "A simple library to facilitate adding metainformation and +icons to windows executables and dynamic libraries.") + (license license:expat))) + +(define-public rust-winutil-0.1 + (package + (name "rust-winutil") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winutil" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (build-system cargo-build-system) + (home-page "https://bitbucket.org/DaveLancaster/winutil") + (synopsis "Library wrapping a handful of useful winapi functions") + (description + "A simple library wrapping a handful of useful winapi functions.") + (license license:expat))) + +(define-public rust-wio-0.2 + (package + (name "rust-wio") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "199p404fp96w1f1c93bf1jrvaqwypxf3hmmldhww4jk4yhr9j4jx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/retep998/wio-rs") + (synopsis "Windows IO wrapper") + (description + "Wio is a middle-level wrapper around various things in Windows API. It +is designed to be a very thin layer around Windows API to provide a safe Rusty +API but without hiding any functionality.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-wmi-0.12 + (package + (name "rust-wmi") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wmi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "000sdzx8fnw913ws28ranf8bhm8dvvdpz89s4fhqfbkxpd5b9zys")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-windows" ,rust-windows-0.48)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/ohadravid/wmi-rs") + (synopsis "WMI crate for Rust") + (description + "This package provides the WMI (Windows Management Instrumentation) crate +for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ws2-32-sys-0.2 + (package + (name "rust-ws2-32-sys") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ws2_32-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.2) + ("rust-winapi-build" ,rust-winapi-build-0.1)))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Function definitions for the Windows API library ws2_32") + (description + "Contains function definitions for the Windows API library ws2_32.") + (license license:expat))) + +(define-public rust-windows-0.48 + (package + (name "rust-windows") + (version "0.48.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-windows-implement" ,rust-windows-implement-0.48) + ("rust-windows-interface" ,rust-windows-interface-0.48) + ("rust-windows-targets" ,rust-windows-targets-0.48)))) + (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-0.46 + (package + (inherit rust-windows-0.48) + (name "rust-windows") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "098crdz9gxgy3614ygznqqhn28q097r498b3rg35584nd8gb9b6d")))) + (arguments + `(#:cargo-inputs + (("rust-windows-implement" ,rust-windows-implement-0.46) + ("rust-windows-interface" ,rust-windows-interface-0.46) + ("rust-windows-targets" ,rust-windows-targets-0.42)))))) + +(define-public rust-windows-0.44 + (package + (inherit rust-windows-0.48) + (name "rust-windows") + (version "0.44.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ax1ip82dhszxz4hhsrdj3b0681xw6axahnfldxcgi506nmmsx4y")))) + (arguments + `(#:tests? #f ; Test suite only runs on Windows. + #:cargo-inputs + (("rust-windows-implement" ,rust-windows-implement-0.44) + ("rust-windows-interface" ,rust-windows-interface-0.44) + ("rust-windows-targets" ,rust-windows-targets-0.42)))))) + +(define-public rust-windows-0.39 + (package + (inherit rust-windows-0.46) + (name "rust-windows") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jkr4rxj6jn7brqxycr1pjgvnixsimsiywl4a7v20q5ca05bvi7i")))) + (arguments + `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.39) + ("rust-windows-interface" ,rust-windows-interface-0.39) + ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.39) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.39) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.39) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.39) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.39)))))) + +(define-public rust-windows-0.32 + (package + (inherit rust-windows-0.46) + (name "rust-windows") + (version "0.32.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v0h5b5g1ak2f2a6gkgjqgrqkkbdcfmf02nfmmj27g4nj3dzdvgv")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-windows-implement" ,rust-windows-implement-0.32) + ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.32) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.32) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.32) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.32) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.32)))))) + +(define-public rust-windows-0.9 + (package + (inherit rust-windows-0.46) + (name "rust-windows") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zy9jmhkhmsng7l9qiznxpdh5ns303s875p5kf6a5q9ym0rka7rn")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-const-sha1" ,rust-const-sha1-0.2) + ("rust-windows-gen" ,rust-windows-gen-0.9) + ("rust-windows-macros" ,rust-windows-macros-0.9)))))) + +(define-public rust-windows-aarch64-gnullvm-0.52 + (package + (name "rust-windows-aarch64-gnullvm") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1shmn1kbdc0bpphcxz0vlph96bxz0h1jlmh93s9agf2dbpin8xyb")) + (snippet + '(delete-file "lib/libwindows.0.52.0.a")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-aarch64-gnullvm-0.48 + (package + (inherit rust-windows-aarch64-gnullvm-0.52) + (name "rust-windows-aarch64-gnullvm") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g71yxi61c410pwzq05ld7si4p9hyx6lf5fkw21sinvr3cp5gbli")) + (snippet + '(delete-file "lib/libwindows.0.48.0.a")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-aarch64-gnullvm-0.42 + (package + (inherit rust-windows-aarch64-gnullvm-0.48) + (name "rust-windows-aarch64-gnullvm") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1y4q0qmvl0lvp7syxvfykafvmwal5hrjb4fmv04bqs0bawc52yjr")) + (snippet + '(delete-file "lib/libwindows.a")))) + (arguments + (list #:skip-build? #t)))) + +(define-public rust-windows-aarch64-msvc-0.52 + (package + (name "rust-windows-aarch64-msvc") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vvmy1ypvzdvxn9yf0b8ygfl85gl2gpcyvsvqppsmlpisil07amv")) + (snippet + '(delete-file "lib/windows.0.52.0.lib")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description "This package provides code gen support for the windows +crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-aarch64-msvc-0.48 + (package + (inherit rust-windows-aarch64-msvc-0.52) + (name "rust-windows-aarch64-msvc") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wvwipchhywcjaw73h998vzachf668fpqccbhrxzrz5xszh2gvxj")) + (snippet + #~(delete-file "lib/windows.0.48.0.lib")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-aarch64-msvc-0.42 + (package + (inherit rust-windows-aarch64-msvc-0.48) + (name "rust-windows-aarch64-msvc") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hsdikjl5sa1fva5qskpwlxzpc5q9l909fpl1w6yy1hglrj8i3p0")) + (snippet + #~(delete-file "lib/windows.lib")))) + (arguments + (list #:skip-build? #t)))) + +(define-public rust-windows-aarch64-msvc-0.39 + (package + (inherit rust-windows-aarch64-msvc-0.42) + (name "rust-windows-aarch64-msvc") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wj0nfmyli4bn5af243r4s3zncxv0n4j6dd8zyb41gcnc1k12xzc")) + (snippet + #~(delete-file "lib/windows.lib")))))) + +(define-public rust-windows-aarch64-msvc-0.36 + (package + (inherit rust-windows-aarch64-msvc-0.42) + (name "rust-windows-aarch64-msvc") + (version "0.36.1") + (source + (origin + (inherit (package-source rust-windows-aarch64-msvc-0.42)) + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ixaxs2c37ll2smprzh0xq5p238zn8ylzb3lk1zddqmd77yw7f4v")))))) + +(define-public rust-windows-aarch64-msvc-0.32 + (package + (inherit rust-windows-aarch64-msvc-0.36) + (name "rust-windows-aarch64-msvc") + (version "0.32.0") + (source (origin + (inherit (package-source rust-windows-aarch64-msvc-0.36)) + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1x8bnafz15ksgpbjbgk1l1j2jx4rq4a2ylzcahb1jhy4n59jgsfq")))))) + +(define-public rust-windows-aarch64-msvc-0.28 + (package + (inherit rust-windows-aarch64-msvc-0.32) + (name "rust-windows-aarch64-msvc") + (version "0.28.0") + (source (origin + (inherit (package-source rust-windows-aarch64-msvc-0.32)) + (method url-fetch) + (uri (crate-uri "windows_aarch64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) + +(define-public rust-windows-bindgen-0.52 + (package + (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")))) + (build-system cargo-build-system) + (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)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows metadata compiler") + (description "Windows metadata compiler.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-bindgen-0.51 + (package + (inherit rust-windows-bindgen-0.52) + (name "rust-windows-bindgen") + (version "0.51.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xfdq4q958qal5iks8xkaanf7w3akzfxc58dxvz7amhjg2vic7xw")))) + (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.51)))))) + +(define-public rust-windows-i686-gnu-0.52 + (package + (name "rust-windows-i686-gnu") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04zkglz4p3pjsns5gbz85v4s5aw102raz4spj4b0lmm33z5kg1m2")) + (snippet + '(delete-file "lib/libwindows.0.52.0.a")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-i686-gnu-0.48 + (package + (inherit rust-windows-i686-gnu-0.52) + (name "rust-windows-i686-gnu") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hd2v9kp8fss0rzl83wzhw0s5z8q1b4875m6s1phv0yvlxi1jak2")) + (snippet + #~(delete-file "lib/libwindows.0.48.0.a")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-i686-gnu-0.42 + (package + (inherit rust-windows-i686-gnu-0.48) + (name "rust-windows-i686-gnu") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kx866dfrby88lqs9v1vgmrkk1z6af9lhaghh5maj7d4imyr47f6")) + (snippet + #~(delete-file "lib/libwindows.a")))) + (arguments + (list #:skip-build? #t)))) + +(define-public rust-windows-i686-gnu-0.39 + (package + (inherit rust-windows-i686-gnu-0.42) + (name "rust-windows-i686-gnu") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06wynhxklmh3s1ril9bh00rhv1npppcyirsp60p09xx501qwagvn")) + (snippet + #~(delete-file "lib/libwindows.a")))))) + +(define-public rust-windows-i686-gnu-0.36 + (package + (inherit rust-windows-i686-gnu-0.42) + (name "rust-windows-i686-gnu") + (version "0.36.1") + (source (origin + (inherit (package-source rust-windows-i686-gnu-0.42)) + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dm3svxfzamrv6kklyda9c3qylgwn5nwdps6p0kc9x6s077nq3hq")))))) + +(define-public rust-windows-i686-gnu-0.32 + (package + (inherit rust-windows-i686-gnu-0.36) + (name "rust-windows-i686-gnu") + (version "0.32.0") + (source (origin + (inherit (package-source rust-windows-i686-gnu-0.36)) + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05g6kpdfxwxnw2gn1nrd7bsf5997rci0k3h3nqby168ph5l1qwba")))))) + +(define-public rust-windows-i686-gnu-0.28 + (package + (inherit rust-windows-i686-gnu-0.32) + (name "rust-windows-i686-gnu") + (version "0.28.0") + (source (origin + (inherit (package-source rust-windows-i686-gnu-0.32)) + (method url-fetch) + (uri (crate-uri "windows_i686_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12hx7qpsjg9p7jggfcplqa3mf1mzr7k7s5ybzqwg1zmg4fn2aizm")))))) + +(define-public rust-windows-i686-msvc-0.52 + (package + (name "rust-windows-i686-msvc") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16kvmbvx0vr0zbgnaz6nsks9ycvfh5xp05bjrhq65kj623iyirgz")) + (snippet + '(delete-file "lib/windows.0.52.0.lib")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-i686-msvc-0.48 + (package + (inherit rust-windows-i686-msvc-0.52) + (name "rust-windows-i686-msvc") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "004fkyqv3if178xx9ksqc4qqv8sz8n72mpczsr2vy8ffckiwchj5")) + (snippet + #~(delete-file "lib/windows.0.48.0.lib")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-i686-msvc-0.42 + (package + (inherit rust-windows-i686-msvc-0.48) + (name "rust-windows-i686-msvc") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0q0h9m2aq1pygc199pa5jgc952qhcnf0zn688454i7v4xjv41n24")) + (snippet + #~(delete-file "lib/windows.lib")))) + (arguments + (list #:skip-build? #t)))) + +(define-public rust-windows-i686-msvc-0.39 + (package + (inherit rust-windows-i686-msvc-0.42) + (name "rust-windows-i686-msvc") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01hiv9msxssy5iqxs7bczvf094k4mz56yi4z1bhj32c2b3zcpivv")) + (snippet + #~(delete-file "lib/windows.lib")))))) + +(define-public rust-windows-i686-msvc-0.36 + (package + (inherit rust-windows-i686-msvc-0.42) + (name "rust-windows-i686-msvc") + (version "0.36.1") + (source (origin + (inherit (package-source rust-windows-i686-msvc-0.42)) + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "097h2a7wig04wbmpi3rz1akdy4s8gslj5szsx8g2v0dj91qr3rz2")))))) + +(define-public rust-windows-i686-msvc-0.32 + (package + (inherit rust-windows-i686-msvc-0.36) + (name "rust-windows-i686-msvc") + (version "0.32.0") + (source (origin + (inherit (package-source rust-windows-i686-msvc-0.36)) + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wj1wi01fc8hrasbakjcq8y5a7ynw9l2mcw08svmsq823axi2v0l")))))) + +(define-public rust-windows-i686-msvc-0.28 + (package + (inherit rust-windows-i686-msvc-0.32) + (name "rust-windows-i686-msvc") + (version "0.28.0") + (source (origin + (inherit (package-source rust-windows-i686-msvc-0.32)) + (method url-fetch) + (uri (crate-uri "windows_i686_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai")))))) + +(define-public rust-windows-implement-0.48 + (package + (name "rust-windows-implement") + (version "0.48.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy")))) + (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/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.46 + (package + (inherit rust-windows-implement-0.48) + (name "rust-windows-implement") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09kw706qcms5yy34lf714zspj34v8jirfxv7yycavpcsa9czpd69")))) + (arguments + `(#:skip-build? #t + #: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.44 + (package + (inherit rust-windows-implement-0.48) + (name "rust-windows-implement") + (version "0.44.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ij5q9khlcfn43a1p3ypjbn711k50s9pc8la5bf04ys1wfl7rs3c")))) + (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) + (name "rust-windows-implement") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ryfy5sgf26xmflf33zabzqn10pp6pjrbz75yh2xrdcwa27zj0ds")))) + (arguments + `(#:cargo-inputs (("rust-syn" ,rust-syn-1) + ("rust-windows-tokens" ,rust-windows-tokens-0.39)))))) + +(define-public rust-windows-implement-0.32 + (package + (inherit rust-windows-implement-0.46) + (name "rust-windows-implement") + (version "0.32.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-syn" ,rust-syn-1) + ("rust-windows-tokens" ,rust-windows-tokens-0.32)))))) + +(define-public rust-windows-interface-0.48 + (package + (name "rust-windows-interface") + (version "0.48.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6")))) + (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/microsoft/windows-rs") + (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.46 + (package + (inherit rust-windows-interface-0.48) + (name "rust-windows-interface") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a87zxh3wq5ng1vvgqf7jhydsshrpc5w39pyvr0l1vyv3q5k67xc")))) + (arguments + `(#:skip-build? #t + #: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.44 + (package + (inherit rust-windows-interface-0.48) + (name "rust-windows-interface") + (version "0.44.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zwwwfzjdf087gvgy48bbfq9yd0fsh1fj5wzs88gim7cj6jnjgw5")))) + (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) + (name "rust-windows-interface") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2")))))) + +(define-public rust-windows-metadata-0.52 + (package + (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")))) + (build-system cargo-build-system) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows metadata reader") + (description "Windows metadata reader.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-metadata-0.51 + (package + (inherit rust-windows-metadata-0.52) + (name "rust-windows-metadata") + (version "0.51.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))))) + +(define-public rust-windows-sys-0.52 + (package + (name "rust-windows-sys") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (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)))) + +(define-public rust-windows-sys-0.48 + (package + (inherit rust-windows-sys-0.52) + (name "rust-windows-sys") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1aan23v5gs7gya1lc46hqn9mdh8yph3fhxmhxlw36pn6pqc28zb7")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.48)))))) + +(define-public rust-windows-sys-0.45 + (package + (inherit rust-windows-sys-0.48) + (name "rust-windows-sys") + (version "0.45.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l36bcqm4g89pknfp8r9rl1w4bn017q6a8qlx8viv0xjxzjkna3m")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("rust-windows-targets" ,rust-windows-targets-0.42)))))) + +(define-public rust-windows-sys-0.42 + (package + (inherit rust-windows-sys-0.45) + (name "rust-windows-sys") + (version "0.42.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19waf8aryvyq9pzk0gamgfwjycgzk4gnrazpfvv171cby0h1hgjs")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("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-sys-0.36 + (package + (inherit rust-windows-sys-0.42) + (name "rust-windows-sys") + (version "0.36.1") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lmqangv0zg1l46xiq7rfnqwsx8f8m52mqbgg2mrx7x52rd1a17a")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.36) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.36) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.36) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.36) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.36)))))) + +(define-public rust-windows-sys-0.28 + (package + (inherit rust-windows-sys-0.36) + (name "rust-windows-sys") + (version "0.28.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xkghf343nll9i1yvha1a4spf53mnb5knzmnqj9adgsw5mh3kjl2")))) + (arguments + (list #:skip-build? #t + #:cargo-inputs + `(("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.28) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.28) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.28) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28)))))) + +(define-public rust-windows-gen-0.9 + (package + (name "rust-windows-gen") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_gen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lh492px26rrna0harikyy4p7nk520pw2lv0dczp4n2xa6y4s5al")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t #:cargo-inputs (("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description "Code gen support for the windows crate") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-macros-0.9 + (package + (name "rust-windows-macros") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xivsg3lf023hs83xiab2k40fmrl11nbihcdrdkc8pc4ab398xqg")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-syn" ,rust-syn-1) ("rust-windows-gen" ,rust-windows-gen-0.9)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Macros for the windows crate") + (description "Macros for the windows crate") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-targets-0.52 + (package + (name "rust-windows-targets") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-targets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kg7a27ynzw8zz3krdgy6w5gbqcji27j1sz4p7xk2j5j8082064a")))) + (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-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) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-targets-0.48 + (package + (inherit rust-windows-targets-0.52) + (name "rust-windows-targets") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-targets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mfzg94w0c8h4ya9sva7rra77f3iy1712af9b6bwg03wrpqbc7kv")))) + (arguments + `(#:cargo-inputs + (("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.48) + ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.48) + ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.48) + ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.48) + ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.48) + ("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.48) + ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.48)))))) + +(define-public rust-windows-targets-0.42 + (package + (inherit rust-windows-targets-0.48) + (name "rust-windows-targets") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-targets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wfhnib2fisxlx8c507dbmh97kgij4r6kcxdi0f9nk6l1k080lcf")))) + (arguments + `(#:cargo-inputs + (("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-tokens-0.39 + (package + (name "rust-windows-tokens") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-tokens" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15zmsz8ji6z7471xwznrm4hqp6j94s7pjjz7i34vmrjzw4pxwf7q")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description "This package provides code generation support for the +windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-tokens-0.32 + (package + (inherit rust-windows-tokens-0.39) + (name "rust-windows-tokens") + (version "0.32.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows-tokens" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn")))))) + +(define-public rust-windows-x86-64-gnu-0.52 + (package + (name "rust-windows-x86-64-gnu") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zdy4qn178sil5sdm63lm7f0kkcjg6gvdwmcprd2yjmwn8ns6vrx")) + (snippet + '(delete-file "lib/libwindows.0.52.0.a")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-x86-64-gnu-0.48 + (package + (inherit rust-windows-x86-64-gnu-0.52) + (name "rust-windows-x86-64-gnu") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya")) + (snippet + #~(delete-file "lib/libwindows.0.48.0.a")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-x86-64-gnu-0.42 + (package + (inherit rust-windows-x86-64-gnu-0.48) + (name "rust-windows-x86-64-gnu") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dnbf2xnp3xrvy8v9mgs3var4zq9v9yh9kv79035rdgyp2w15scd")) + (snippet + #~(delete-file "lib/libwindows.a")))) + (arguments + (list #:skip-build? #t)))) + +(define-public rust-windows-x86-64-gnu-0.39 + (package + (inherit rust-windows-x86-64-gnu-0.42) + (name "rust-windows-x86-64-gnu") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r9b4lmapq66nn2dga7a0mkdv5sgbp184kfwx3hklrbxcdjw2s38")) + (snippet + #~(delete-file "lib/libwindows.a")))))) + +(define-public rust-windows-x86-64-gnu-0.36 + (package + (inherit rust-windows-x86-64-gnu-0.42) + (name "rust-windows-x86-64-gnu") + (version "0.36.1") + (source (origin + (inherit (package-source rust-windows-x86-64-gnu-0.42)) + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qfrck3jnihymfrd01s8260d4snql8ks2p8yaabipi3nhwdigkad")))))) + +(define-public rust-windows-x86-64-gnu-0.32 + (package + (inherit rust-windows-x86-64-gnu-0.36) + (name "rust-windows-x86-64-gnu") + (version "0.32.0") + (source (origin + (inherit (package-source rust-windows-x86-64-gnu-0.36)) + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g34xhcayig9sndq3555w95q6lr7jr839zxv6l365ijlfhpv24n9")))))) + +(define-public rust-windows-x86-64-gnu-0.28 + (package + (inherit rust-windows-x86-64-gnu-0.32) + (name "rust-windows-x86-64-gnu") + (version "0.28.0") + (source (origin + (inherit (package-source rust-windows-x86-64-gnu-0.32)) + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0m79bhdr54g4h4wh2q8wkjlkypb5wvl7xzhc2csiaqb5yl4z8cdw")))))) + +(define-public rust-windows-x86-64-gnullvm-0.52 + (package + (name "rust-windows-x86-64-gnullvm") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17lllq4l2k1lqgcnw1cccphxp9vs7inq99kjlm2lfl9zklg7wr8s")) + (snippet + '(delete-file "lib/libwindows.0.52.0.a")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-x86-64-gnullvm-0.48 + (package + (inherit rust-windows-x86-64-gnullvm-0.52) + (name "rust-windows-x86-64-gnullvm") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lxryz3ysx0145bf3i38jkr7f9nxiym8p3syklp8f20yyk0xp5kq")) + (snippet + '(delete-file "lib/libwindows.0.48.0.a")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-x86-64-gnullvm-0.42 + (package + (inherit rust-windows-x86-64-gnullvm-0.48) + (name "rust-windows-x86-64-gnullvm") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_gnullvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18wl9r8qbsl475j39zvawlidp1bsbinliwfymr43fibdld31pm16")) + (snippet + '(delete-file "lib/libwindows.a")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-x86-64-msvc-0.52 + (package + (name "rust-windows-x86-64-msvc") + (version "0.52.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz")) + (snippet + '(delete-file "lib/windows.0.52.0.lib")))) + (build-system cargo-build-system) + (arguments (list #:skip-build? #t)) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Code gen support for the windows crate") + (description + "This package provides code gen support for the windows crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-x86-64-msvc-0.48 + (package + (inherit rust-windows-x86-64-msvc-0.52) + (name "rust-windows-x86-64-msvc") + (version "0.48.0") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s")) + (snippet + #~(delete-file "lib/windows.0.48.0.lib")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-x86-64-msvc-0.42 + (package + (inherit rust-windows-x86-64-msvc-0.48) + (name "rust-windows-x86-64-msvc") + (version "0.42.2") + (source (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1w5r0q0yzx827d10dpjza2ww0j8iajqhmb54s735hhaj66imvv4s")) + (snippet + #~(delete-file "lib/windows.lib")))) + (arguments (list #:skip-build? #t)))) + +(define-public rust-windows-x86-64-msvc-0.39 + (package + (inherit rust-windows-x86-64-msvc-0.42) + (name "rust-windows-x86-64-msvc") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02g8fy1sv8g0p4fi2yk62j9a5zwhcfknp9vwg1ifkjp97a440kay")) + (snippet + #~(delete-file "lib/windows.lib")))))) + +(define-public rust-windows-x86-64-msvc-0.36 + (package + (inherit rust-windows-x86-64-msvc-0.42) + (name "rust-windows-x86-64-msvc") + (version "0.36.1") + (source (origin + (inherit (package-source rust-windows-x86-64-msvc-0.42)) + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "103n3xijm5vr7qxr1dps202ckfnv7njjnnfqmchg8gl5ii5cl4f8")))))) + +(define-public rust-windows-x86-64-msvc-0.32 + (package + (inherit rust-windows-x86-64-msvc-0.36) + (name "rust-windows-x86-64-msvc") + (version "0.32.0") + (source (origin + (inherit (package-source rust-windows-x86-64-msvc-0.36)) + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05l392h518dxn808dc1zkv6d0r9z38q68qqc0ix9fs9741v28jjh")))))) + +(define-public rust-windows-x86-64-msvc-0.28 + (package + (inherit rust-windows-x86-64-msvc-0.32) + (name "rust-windows-x86-64-msvc") + (version "0.28.0") + (source (origin + (inherit (package-source rust-windows-x86-64-msvc-0.32)) + (method url-fetch) + (uri (crate-uri "windows_x86_64_msvc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz")))))) + diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 6857ea2075..9d47ebb4fd 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -53,6 +53,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) #:use-module (gnu packages cryptsetup) #:use-module (gnu packages curl) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 953bd817ed..d14651c792 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -238,6 +238,7 @@ #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix platform) #:use-module (guix utils) #:use-module (guix gexp) #:use-module (ice-9 match) @@ -3593,12 +3594,12 @@ for dealing with different structured file formats.") ;; In lieu of #:make-flags (setenv "CC" #$(cc-for-target)) (setenv "PKG_CONFIG" #$(pkg-config-for-target)) - (when #$(%current-target-system) - (setenv "RUST_TARGET" - (string-replace - #$(%current-target-system) - "-unknown-linux-gnu" - (string-index #$(%current-target-system) #\-)))) + #$@(if (%current-target-system) + #~((setenv "RUST_TARGET" + #$(platform-rust-target + (lookup-platform-by-target + (%current-target-system))))) + #~()) ;; Something about the build environment resists building ;; successfully with the '--locked' flag. (substitute* '("Makefile.am" "Makefile.in") diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index f750b975eb..84741fa280 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016, 2018 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> -;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> @@ -66,14 +66,14 @@ ;; directory. (package (name "gnucash") - (version "5.3") + (version "5.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" version "/gnucash-" version ".tar.bz2")) (sha256 - (base32 "0npilq0spalpg1ma956j7vlbn0yc5f0z5imy4kbyksl5ql4cnn0l")))) + (base32 "0fzds1yq298c3rvi07if1bfxff904jbzmsb27wr0ddwjp1xzdnml")))) (outputs '("out" "doc" "debug" "python")) (build-system cmake-build-system) (arguments @@ -214,13 +214,11 @@ installed as well as Yelp, the Gnome help browser.") (source (origin (method url-fetch) - ;; The filename for version 5.3 is gnucash-docs-5.2.tar.gz, not - ;; gnucash-docs-5.3.tar.gz. (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" - version "/gnucash-docs-5.2" revision ".tar.gz")) + version "/gnucash-docs-" version revision ".tar.gz")) (sha256 - (base32 "16xlxwdgc0w4cg9kxg4w2f1y974cb16wq2c9icq5qrh3nj0nbsxr")))) + (base32 "1ay8jzxrsb9qmbx0v12kqdjk6l3j7cafgxswa92yynihv5ahymlk")))) (build-system cmake-build-system) ;; These are native-inputs because they are only required for building the ;; documentation. diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index fd684ca77d..a3607689a3 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2017-2024 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com> ;;; Copyright © 2018, 2020, 2022 Tobias Geerinckx-Rice <me@tobias.gr> -;;; Copyright © 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019, 2021, 2022, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2020 Alexander Krotov <krotov@iitp.ru> ;;; Copyright © 2020 Pierre Langlois <pierre.langlos@gmx.com> @@ -833,6 +833,8 @@ transformed into common image formats for display or printing.") (guix build python-build-system)) #:modules (,@%gnu-build-system-modules ((guix build python-build-system) #:select (site-packages))) + ;; The build process peaks around 4GB/RAM per core. + #:parallel-build? #f #:configure-flags (list (string-append "--with-boost=" (assoc-ref %build-inputs "boost")) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 71f8e3453a..2be9f6b314 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014 John Darrington <jmd@gnu.org> ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org> -;;; Copyright © 2016, 2017, 2022 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2017, 2022-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name> ;;; Copyright © 2017, 2023 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> @@ -800,19 +800,17 @@ model to base your own plug-in on, here it is.") ;; The 'elements_curlhttpsrc' test sometimes times out. ((".*'elements/curlhttpsrc\\.c'.*") "") - ;; This test is flaky on at least some architectures. - ;; https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1244 + ;; TODO: Figure out why this test fails on riscv64-linux. #$@(if (target-riscv64?) - `((("'elements/camerabin\\.c'\\].*],") - "'elements/camerabin.c'], true, ],") - (("'elements/viewfinderbin\\.c'\\].*],") - "'elements/viewfinderbin.c'], true, ],")) - '()) + `((("'elements/viewfinderbin\\.c'\\].*],") + "'elements/viewfinderbin.c'], true, ],")) + '()) - ;; This substitution is no longer effective and can be removed. + ;; This test is flaky on at least some architectures. + ;; https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1244 #$@(if (member (%current-system) - '("i686-linux" "aarch64-linux" "riscv64-linux")) - `((("'elements/camerabin\\.c'\\]\\],") + '("aarch64-linux" "riscv64-linux")) + `((("'elements/camerabin\\.c'\\].*],") "'elements/camerabin.c'], true, ],")) '()) diff --git a/gnu/packages/patches/i3status-rust-enable-unstable-features.patch b/gnu/packages/patches/i3status-rust-enable-unstable-features.patch deleted file mode 100644 index 535b45d865..0000000000 --- a/gnu/packages/patches/i3status-rust-enable-unstable-features.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 3006390c0058f06c255d9850327163aebcdc3b40 Mon Sep 17 00:00:00 2001 -From: Petr Hodina <phodina@protonmail.com> -Date: Mon, 11 Oct 2021 22:35:39 +0200 -Subject: [PATCH] Enable unstable features. - - -diff --git a/src/main.rs b/src/main.rs -index d9e964b..820e22e 100644 ---- a/src/main.rs -+++ b/src/main.rs -@@ -1,3 +1,6 @@ -+#![feature(bool_to_option)] -+#![feature(clamp)] -+ - #[macro_use] - mod de; - #[macro_use] --- -2.33.0 - diff --git a/gnu/packages/patches/maturin-no-cross-compile.patch b/gnu/packages/patches/maturin-no-cross-compile.patch index 7394d0854e..98af33d3c7 100644 --- a/gnu/packages/patches/maturin-no-cross-compile.patch +++ b/gnu/packages/patches/maturin-no-cross-compile.patch @@ -2,27 +2,27 @@ Remove dependencies on xwin and zig. We're not offering cross-compilation options using these crates. diff --git a/Cargo.toml b/Cargo.toml -index 6cbdca3..22ea5ef 100644 +index 6704e46..ff126a9 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -76,16 +76,6 @@ version = "0.1.4" +@@ -83,16 +83,6 @@ version = "0.1.16" [dependencies.cargo-options] - version = "0.6.0" + version = "0.7.2" -[dependencies.cargo-xwin] --version = "0.14.3" +-version = "0.16.2" -optional = true -default-features = false - -[dependencies.cargo-zigbuild] --version = "0.16.10" +-version = "0.18.0" -optional = true -default-features = false - [dependencies.cargo_metadata] - version = "0.15.3" + version = "0.18.0" -@@ -310,8 +300,6 @@ version = "4.3.0" +@@ -321,8 +311,6 @@ version = "5.0.0" [features] cli-completion = ["dep:clap_complete_command"] cross-compile = [ @@ -31,7 +31,7 @@ index 6cbdca3..22ea5ef 100644 ] default = [ "full", -@@ -330,7 +318,6 @@ log = ["tracing-subscriber"] +@@ -341,7 +329,6 @@ log = ["tracing-subscriber"] native-tls = [ "dep:native-tls", "ureq?/native-tls", @@ -39,7 +39,7 @@ index 6cbdca3..22ea5ef 100644 "dep:rustls-pemfile", ] password-storage = [ -@@ -340,7 +327,6 @@ password-storage = [ +@@ -351,7 +338,6 @@ password-storage = [ rustls = [ "dep:rustls", "ureq?/tls", @@ -47,7 +47,7 @@ index 6cbdca3..22ea5ef 100644 "dep:rustls-pemfile", ] scaffolding = [ -@@ -358,5 +344,3 @@ upload = [ +@@ -369,5 +355,3 @@ upload = [ "wild", "dep:dirs", ] diff --git a/gnu/packages/patches/rust-cargo-edit-remove-ureq.patch b/gnu/packages/patches/rust-cargo-edit-remove-ureq.patch new file mode 100644 index 0000000000..99c58103c7 --- /dev/null +++ b/gnu/packages/patches/rust-cargo-edit-remove-ureq.patch @@ -0,0 +1,33 @@ +This is modeled after the upstream commit which removes ureq as a dependency. + +diff --git a/Cargo.toml b/Cargo.toml +index 5a787e1..27171c7 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -201,26 +201,3 @@ test-external-apis = [] + upgrade = ["cli"] + vendored-libgit2 = ["git2/vendored-libgit2"] + vendored-openssl = ["git2/vendored-openssl"] +- +-[target."cfg(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\"))".dependencies.ureq] +-version = "2.7.1" +-features = [ +- "tls", +- "json", +- "socks", +- "socks-proxy", +-] +-default-features = false +- +-[target."cfg(not(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\")))".dependencies.native-tls] +-version = "^0.2" +- +-[target."cfg(not(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\")))".dependencies.ureq] +-version = "2.7.1" +-features = [ +- "native-tls", +- "json", +- "socks", +- "socks-proxy", +-] +-default-features = false diff --git a/gnu/packages/patches/rust-ring-0.16-missing-files.patch b/gnu/packages/patches/rust-ring-0.16-missing-files.patch deleted file mode 100644 index fa2f94a801..0000000000 --- a/gnu/packages/patches/rust-ring-0.16-missing-files.patch +++ /dev/null @@ -1,2293 +0,0 @@ -These 4 files exist in the git repository for rust-ring, and are from -the same commit where 0.16.20 is taken from. They were not added to the -include list in Cargo.toml, so they were not added to the tarball. - ---- - crypto/curve25519/make_curve25519_tables.py | 222 +++++ - crypto/fipsmodule/aes/asm/vpaes-armv7.pl | 896 ++++++++++++++++++ - crypto/fipsmodule/aes/asm/vpaes-armv8.pl | 837 ++++++++++++++++ - .../fipsmodule/modes/asm/ghash-neon-armv8.pl | 294 ++++++ - 4 files changed, 2249 insertions(+) - create mode 100755 crypto/curve25519/make_curve25519_tables.py - create mode 100644 crypto/fipsmodule/aes/asm/vpaes-armv7.pl - create mode 100755 crypto/fipsmodule/aes/asm/vpaes-armv8.pl - create mode 100644 crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl - -diff --git a/crypto/curve25519/make_curve25519_tables.py b/crypto/curve25519/make_curve25519_tables.py -new file mode 100755 -index 0000000..50dee2a ---- /dev/null -+++ b/crypto/curve25519/make_curve25519_tables.py -@@ -0,0 +1,222 @@ -+#!/usr/bin/env python -+# coding=utf-8 -+# Copyright (c) 2020, Google Inc. -+# -+# Permission to use, copy, modify, and/or distribute this software for any -+# purpose with or without fee is hereby granted, provided that the above -+# copyright notice and this permission notice appear in all copies. -+# -+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -+# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION -+# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -+# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -+ -+import StringIO -+import subprocess -+ -+# Base field Z_p -+p = 2**255 - 19 -+ -+def modp_inv(x): -+ return pow(x, p-2, p) -+ -+# Square root of -1 -+modp_sqrt_m1 = pow(2, (p-1) // 4, p) -+ -+# Compute corresponding x-coordinate, with low bit corresponding to -+# sign, or return None on failure -+def recover_x(y, sign): -+ if y >= p: -+ return None -+ x2 = (y*y-1) * modp_inv(d*y*y+1) -+ if x2 == 0: -+ if sign: -+ return None -+ else: -+ return 0 -+ -+ # Compute square root of x2 -+ x = pow(x2, (p+3) // 8, p) -+ if (x*x - x2) % p != 0: -+ x = x * modp_sqrt_m1 % p -+ if (x*x - x2) % p != 0: -+ return None -+ -+ if (x & 1) != sign: -+ x = p - x -+ return x -+ -+# Curve constant -+d = -121665 * modp_inv(121666) % p -+ -+# Base point -+g_y = 4 * modp_inv(5) % p -+g_x = recover_x(g_y, 0) -+ -+# Points are represented as affine tuples (x, y). -+ -+def point_add(P, Q): -+ x1, y1 = P -+ x2, y2 = Q -+ x3 = ((x1*y2 + y1*x2) * modp_inv(1 + d*x1*x2*y1*y2)) % p -+ y3 = ((y1*y2 + x1*x2) * modp_inv(1 - d*x1*x2*y1*y2)) % p -+ return (x3, y3) -+ -+# Computes Q = s * P -+def point_mul(s, P): -+ Q = (0, 1) # Neutral element -+ while s > 0: -+ if s & 1: -+ Q = point_add(Q, P) -+ P = point_add(P, P) -+ s >>= 1 -+ return Q -+ -+def to_bytes(x): -+ ret = bytearray(32) -+ for i in range(len(ret)): -+ ret[i] = x % 256 -+ x >>= 8 -+ assert x == 0 -+ return ret -+ -+def to_ge_precomp(P): -+ # typedef struct { -+ # fe_loose yplusx; -+ # fe_loose yminusx; -+ # fe_loose xy2d; -+ # } ge_precomp; -+ x, y = P -+ return ((y + x) % p, (y - x) % p, (x * y * 2 * d) % p) -+ -+def to_base_25_5(x): -+ limbs = (26, 25, 26, 25, 26, 25, 26, 25, 26, 25) -+ ret = [] -+ for l in limbs: -+ ret.append(x & ((1<<l) - 1)) -+ x >>= l -+ assert x == 0 -+ return ret -+ -+def to_base_51(x): -+ ret = [] -+ for _ in range(5): -+ ret.append(x & ((1<<51) - 1)) -+ x >>= 51 -+ assert x == 0 -+ return ret -+ -+def to_literal(x): -+ ret = "{{\n#if defined(BORINGSSL_CURVE25519_64BIT)\n" -+ ret += ", ".join(map(str, to_base_51(x))) -+ ret += "\n#else\n" -+ ret += ", ".join(map(str, to_base_25_5(x))) -+ ret += "\n#endif\n}}" -+ return ret -+ -+def main(): -+ d2 = (2 * d) % p -+ -+ small_precomp = bytearray() -+ for i in range(1, 16): -+ s = (i&1) | ((i&2) << (64-1)) | ((i&4) << (128-2)) | ((i&8) << (192-3)) -+ P = point_mul(s, (g_x, g_y)) -+ small_precomp += to_bytes(P[0]) -+ small_precomp += to_bytes(P[1]) -+ -+ large_precomp = [] -+ for i in range(32): -+ large_precomp.append([]) -+ for j in range(8): -+ P = point_mul((j + 1) << (i * 8), (g_x, g_y)) -+ large_precomp[-1].append(to_ge_precomp(P)) -+ -+ bi_precomp = [] -+ for i in range(8): -+ P = point_mul(2*i + 1, (g_x, g_y)) -+ bi_precomp.append(to_ge_precomp(P)) -+ -+ -+ buf = StringIO.StringIO() -+ buf.write("""/* Copyright (c) 2020, Google Inc. -+ * -+ * Permission to use, copy, modify, and/or distribute this software for any -+ * purpose with or without fee is hereby granted, provided that the above -+ * copyright notice and this permission notice appear in all copies. -+ * -+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -+ * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION -+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -+ -+// This file is generated from -+// ./make_curve25519_tables.py > curve25519_tables.h -+ -+ -+static const fe d = """) -+ buf.write(to_literal(d)) -+ buf.write("""; -+ -+static const fe sqrtm1 = """) -+ buf.write(to_literal(modp_sqrt_m1)) -+ buf.write("""; -+ -+static const fe d2 = """) -+ buf.write(to_literal(d2)) -+ buf.write("""; -+ -+#if defined(OPENSSL_SMALL) -+ -+// This block of code replaces the standard base-point table with a much smaller -+// one. The standard table is 30,720 bytes while this one is just 960. -+// -+// This table contains 15 pairs of group elements, (x, y), where each field -+// element is serialised with |fe_tobytes|. If |i| is the index of the group -+// element then consider i+1 as a four-bit number: (i₀, i₁, i₂, i₃) (where i₀ -+// is the most significant bit). The value of the group element is then: -+// (i₀×2^192 + i₁×2^128 + i₂×2^64 + i₃)G, where G is the generator. -+static const uint8_t k25519SmallPrecomp[15 * 2 * 32] = {""") -+ for i, b in enumerate(small_precomp): -+ buf.write("0x%02x, " % b) -+ buf.write(""" -+}; -+ -+#else -+ -+// k25519Precomp[i][j] = (j+1)*256^i*B -+static const ge_precomp k25519Precomp[32][8] = { -+""") -+ for child in large_precomp: -+ buf.write("{\n") -+ for val in child: -+ buf.write("{\n") -+ for term in val: -+ buf.write(to_literal(term) + ",\n") -+ buf.write("},\n") -+ buf.write("},\n") -+ buf.write("""}; -+ -+#endif // OPENSSL_SMALL -+ -+// Bi[i] = (2*i+1)*B -+static const ge_precomp Bi[8] = { -+""") -+ for val in bi_precomp: -+ buf.write("{\n") -+ for term in val: -+ buf.write(to_literal(term) + ",\n") -+ buf.write("},\n") -+ buf.write("""}; -+""") -+ -+ proc = subprocess.Popen(["clang-format"], stdin=subprocess.PIPE) -+ proc.communicate(buf.getvalue()) -+ -+if __name__ == "__main__": -+ main() -diff --git a/crypto/fipsmodule/aes/asm/vpaes-armv7.pl b/crypto/fipsmodule/aes/asm/vpaes-armv7.pl -new file mode 100644 -index 0000000..d36a97a ---- /dev/null -+++ b/crypto/fipsmodule/aes/asm/vpaes-armv7.pl -@@ -0,0 +1,896 @@ -+#! /usr/bin/env perl -+# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. -+# -+# Licensed under the OpenSSL license (the "License"). You may not use -+# this file except in compliance with the License. You can obtain a copy -+# in the file LICENSE in the source distribution or at -+# https://www.openssl.org/source/license.html -+ -+ -+###################################################################### -+## Constant-time SSSE3 AES core implementation. -+## version 0.1 -+## -+## By Mike Hamburg (Stanford University), 2009 -+## Public domain. -+## -+## For details see http://shiftleft.org/papers/vector_aes/ and -+## http://crypto.stanford.edu/vpaes/. -+## -+###################################################################### -+# Adapted from the original x86_64 version and <appro@openssl.org>'s ARMv8 -+# version. -+# -+# armv7, aarch64, and x86_64 differ in several ways: -+# -+# * x86_64 SSSE3 instructions are two-address (destination operand is also a -+# source), while NEON is three-address (destination operand is separate from -+# two sources). -+# -+# * aarch64 has 32 SIMD registers available, while x86_64 and armv7 have 16. -+# -+# * x86_64 instructions can take memory references, while ARM is a load/store -+# architecture. This means we sometimes need a spare register. -+# -+# * aarch64 and x86_64 have 128-bit byte shuffle instructions (tbl and pshufb), -+# while armv7 only has a 64-bit byte shuffle (vtbl). -+# -+# This means this armv7 version must be a mix of both aarch64 and x86_64 -+# implementations. armv7 and aarch64 have analogous SIMD instructions, so we -+# base the instructions on aarch64. However, we cannot use aarch64's register -+# allocation. x86_64's register count matches, but x86_64 is two-address. -+# vpaes-armv8.pl already accounts for this in the comments, which use -+# three-address AVX instructions instead of the original SSSE3 ones. We base -+# register usage on these comments, which are preserved in this file. -+# -+# This means we do not use separate input and output registers as in aarch64 and -+# cannot pin as many constants in the preheat functions. However, the load/store -+# architecture means we must still deviate from x86_64 in places. -+# -+# Next, we account for the byte shuffle instructions. vtbl takes 64-bit source -+# and destination and 128-bit table. Fortunately, armv7 also allows addressing -+# upper and lower halves of each 128-bit register. The lower half of q{N} is -+# d{2*N}. The upper half is d{2*N+1}. Instead of the following non-existent -+# instruction, -+# -+# vtbl.8 q0, q1, q2 @ Index each of q2's 16 bytes into q1. Store in q0. -+# -+# we write: -+# -+# vtbl.8 d0, q1, d4 @ Index each of d4's 8 bytes into q1. Store in d0. -+# vtbl.8 d1, q1, d5 @ Index each of d5's 8 bytes into q1. Store in d1. -+# -+# For readability, we write d0 and d1 as q0#lo and q0#hi, respectively and -+# post-process before outputting. (This is adapted from ghash-armv4.pl.) Note, -+# however, that destination (q0) and table (q1) registers may no longer match. -+# We adjust the register usage from x86_64 to avoid this. (Unfortunately, the -+# two-address pshufb always matched these operands, so this is common.) -+# -+# This file also runs against the limit of ARMv7's ADR pseudo-instruction. ADR -+# expands to an ADD or SUB of the pc register to find an address. That immediate -+# must fit in ARM's encoding scheme: 8 bits of constant and 4 bits of rotation. -+# This means larger values must be more aligned. -+# -+# ARM additionally has two encodings, ARM and Thumb mode. Our assembly files may -+# use either encoding (do we actually need to support this?). In ARM mode, the -+# distances get large enough to require 16-byte alignment. Moving constants -+# closer to their use resolves most of this, but common constants in -+# _vpaes_consts are used by the whole file. Affected ADR instructions must be -+# placed at 8 mod 16 (the pc register is 8 ahead). Instructions with this -+# constraint have been commented. -+# -+# For details on ARM's immediate value encoding scheme, see -+# https://alisdair.mcdiarmid.org/arm-immediate-value-encoding/ -+# -+# Finally, a summary of armv7 and aarch64 SIMD syntax differences: -+# -+# * armv7 prefixes SIMD instructions with 'v', while aarch64 does not. -+# -+# * armv7 SIMD registers are named like q0 (and d0 for the half-width ones). -+# aarch64 names registers like v0, and denotes half-width operations in an -+# instruction suffix (see below). -+# -+# * aarch64 embeds size and lane information in register suffixes. v0.16b is -+# 16 bytes, v0.8h is eight u16s, v0.4s is four u32s, and v0.2d is two u64s. -+# armv7 embeds the total size in the register name (see above) and the size of -+# each element in an instruction suffix, which may look like vmov.i8, -+# vshr.u8, or vtbl.8, depending on instruction. -+ -+use strict; -+ -+my $flavour = shift; -+my $output; -+while (($output=shift) && ($output!~/\w[\w\-]*\.\w+$/)) {} -+ -+$0 =~ m/(.*[\/\\])[^\/\\]+$/; -+my $dir=$1; -+my $xlate; -+( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or -+( $xlate="${dir}../../../perlasm/arm-xlate.pl" and -f $xlate) or -+die "can't locate arm-xlate.pl"; -+ -+open OUT,"| \"$^X\" $xlate $flavour $output"; -+*STDOUT=*OUT; -+ -+my $code = ""; -+ -+$code.=<<___; -+.syntax unified -+ -+.arch armv7-a -+.fpu neon -+ -+#if defined(__thumb2__) -+.thumb -+#else -+.code 32 -+#endif -+ -+.text -+ -+.type _vpaes_consts,%object -+.align 7 @ totally strategic alignment -+_vpaes_consts: -+.Lk_mc_forward: @ mc_forward -+ .quad 0x0407060500030201, 0x0C0F0E0D080B0A09 -+ .quad 0x080B0A0904070605, 0x000302010C0F0E0D -+ .quad 0x0C0F0E0D080B0A09, 0x0407060500030201 -+ .quad 0x000302010C0F0E0D, 0x080B0A0904070605 -+.Lk_mc_backward:@ mc_backward -+ .quad 0x0605040702010003, 0x0E0D0C0F0A09080B -+ .quad 0x020100030E0D0C0F, 0x0A09080B06050407 -+ .quad 0x0E0D0C0F0A09080B, 0x0605040702010003 -+ .quad 0x0A09080B06050407, 0x020100030E0D0C0F -+.Lk_sr: @ sr -+ .quad 0x0706050403020100, 0x0F0E0D0C0B0A0908 -+ .quad 0x030E09040F0A0500, 0x0B06010C07020D08 -+ .quad 0x0F060D040B020900, 0x070E050C030A0108 -+ .quad 0x0B0E0104070A0D00, 0x0306090C0F020508 -+ -+@ -+@ "Hot" constants -+@ -+.Lk_inv: @ inv, inva -+ .quad 0x0E05060F0D080180, 0x040703090A0B0C02 -+ .quad 0x01040A060F0B0780, 0x030D0E0C02050809 -+.Lk_ipt: @ input transform (lo, hi) -+ .quad 0xC2B2E8985A2A7000, 0xCABAE09052227808 -+ .quad 0x4C01307D317C4D00, 0xCD80B1FCB0FDCC81 -+.Lk_sbo: @ sbou, sbot -+ .quad 0xD0D26D176FBDC700, 0x15AABF7AC502A878 -+ .quad 0xCFE474A55FBB6A00, 0x8E1E90D1412B35FA -+.Lk_sb1: @ sb1u, sb1t -+ .quad 0x3618D415FAE22300, 0x3BF7CCC10D2ED9EF -+ .quad 0xB19BE18FCB503E00, 0xA5DF7A6E142AF544 -+.Lk_sb2: @ sb2u, sb2t -+ .quad 0x69EB88400AE12900, 0xC2A163C8AB82234A -+ .quad 0xE27A93C60B712400, 0x5EB7E955BC982FCD -+ -+.asciz "Vector Permutation AES for ARMv7 NEON, Mike Hamburg (Stanford University)" -+.size _vpaes_consts,.-_vpaes_consts -+.align 6 -+___ -+ -+{ -+my ($inp,$out,$key) = map("r$_", (0..2)); -+ -+my ($invlo,$invhi) = map("q$_", (10..11)); -+my ($sb1u,$sb1t,$sb2u,$sb2t) = map("q$_", (12..15)); -+ -+$code.=<<___; -+@@ -+@@ _aes_preheat -+@@ -+@@ Fills q9-q15 as specified below. -+@@ -+.type _vpaes_preheat,%function -+.align 4 -+_vpaes_preheat: -+ adr r10, .Lk_inv -+ vmov.i8 q9, #0x0f @ .Lk_s0F -+ vld1.64 {q10,q11}, [r10]! @ .Lk_inv -+ add r10, r10, #64 @ Skip .Lk_ipt, .Lk_sbo -+ vld1.64 {q12,q13}, [r10]! @ .Lk_sb1 -+ vld1.64 {q14,q15}, [r10] @ .Lk_sb2 -+ bx lr -+ -+@@ -+@@ _aes_encrypt_core -+@@ -+@@ AES-encrypt q0. -+@@ -+@@ Inputs: -+@@ q0 = input -+@@ q9-q15 as in _vpaes_preheat -+@@ [$key] = scheduled keys -+@@ -+@@ Output in q0 -+@@ Clobbers q1-q5, r8-r11 -+@@ Preserves q6-q8 so you get some local vectors -+@@ -+@@ -+.type _vpaes_encrypt_core,%function -+.align 4 -+_vpaes_encrypt_core: -+ mov r9, $key -+ ldr r8, [$key,#240] @ pull rounds -+ adr r11, .Lk_ipt -+ @ vmovdqa .Lk_ipt(%rip), %xmm2 # iptlo -+ @ vmovdqa .Lk_ipt+16(%rip), %xmm3 # ipthi -+ vld1.64 {q2, q3}, [r11] -+ adr r11, .Lk_mc_forward+16 -+ vld1.64 {q5}, [r9]! @ vmovdqu (%r9), %xmm5 # round0 key -+ vand q1, q0, q9 @ vpand %xmm9, %xmm0, %xmm1 -+ vshr.u8 q0, q0, #4 @ vpsrlb \$4, %xmm0, %xmm0 -+ vtbl.8 q1#lo, {q2}, q1#lo @ vpshufb %xmm1, %xmm2, %xmm1 -+ vtbl.8 q1#hi, {q2}, q1#hi -+ vtbl.8 q2#lo, {q3}, q0#lo @ vpshufb %xmm0, %xmm3, %xmm2 -+ vtbl.8 q2#hi, {q3}, q0#hi -+ veor q0, q1, q5 @ vpxor %xmm5, %xmm1, %xmm0 -+ veor q0, q0, q2 @ vpxor %xmm2, %xmm0, %xmm0 -+ -+ @ .Lenc_entry ends with a bnz instruction which is normally paired with -+ @ subs in .Lenc_loop. -+ tst r8, r8 -+ b .Lenc_entry -+ -+.align 4 -+.Lenc_loop: -+ @ middle of middle round -+ add r10, r11, #0x40 -+ vtbl.8 q4#lo, {$sb1t}, q2#lo @ vpshufb %xmm2, %xmm13, %xmm4 # 4 = sb1u -+ vtbl.8 q4#hi, {$sb1t}, q2#hi -+ vld1.64 {q1}, [r11]! @ vmovdqa -0x40(%r11,%r10), %xmm1 # .Lk_mc_forward[] -+ vtbl.8 q0#lo, {$sb1u}, q3#lo @ vpshufb %xmm3, %xmm12, %xmm0 # 0 = sb1t -+ vtbl.8 q0#hi, {$sb1u}, q3#hi -+ veor q4, q4, q5 @ vpxor %xmm5, %xmm4, %xmm4 # 4 = sb1u + k -+ vtbl.8 q5#lo, {$sb2t}, q2#lo @ vpshufb %xmm2, %xmm15, %xmm5 # 4 = sb2u -+ vtbl.8 q5#hi, {$sb2t}, q2#hi -+ veor q0, q0, q4 @ vpxor %xmm4, %xmm0, %xmm0 # 0 = A -+ vtbl.8 q2#lo, {$sb2u}, q3#lo @ vpshufb %xmm3, %xmm14, %xmm2 # 2 = sb2t -+ vtbl.8 q2#hi, {$sb2u}, q3#hi -+ vld1.64 {q4}, [r10] @ vmovdqa (%r11,%r10), %xmm4 # .Lk_mc_backward[] -+ vtbl.8 q3#lo, {q0}, q1#lo @ vpshufb %xmm1, %xmm0, %xmm3 # 0 = B -+ vtbl.8 q3#hi, {q0}, q1#hi -+ veor q2, q2, q5 @ vpxor %xmm5, %xmm2, %xmm2 # 2 = 2A -+ @ Write to q5 instead of q0, so the table and destination registers do -+ @ not overlap. -+ vtbl.8 q5#lo, {q0}, q4#lo @ vpshufb %xmm4, %xmm0, %xmm0 # 3 = D -+ vtbl.8 q5#hi, {q0}, q4#hi -+ veor q3, q3, q2 @ vpxor %xmm2, %xmm3, %xmm3 # 0 = 2A+B -+ vtbl.8 q4#lo, {q3}, q1#lo @ vpshufb %xmm1, %xmm3, %xmm4 # 0 = 2B+C -+ vtbl.8 q4#hi, {q3}, q1#hi -+ @ Here we restore the original q0/q5 usage. -+ veor q0, q5, q3 @ vpxor %xmm3, %xmm0, %xmm0 # 3 = 2A+B+D -+ and r11, r11, #~(1<<6) @ and \$0x30, %r11 # ... mod 4 -+ veor q0, q0, q4 @ vpxor %xmm4, %xmm0, %xmm0 # 0 = 2A+3B+C+D -+ subs r8, r8, #1 @ nr-- -+ -+.Lenc_entry: -+ @ top of round -+ vand q1, q0, q9 @ vpand %xmm0, %xmm9, %xmm1 # 0 = k -+ vshr.u8 q0, q0, #4 @ vpsrlb \$4, %xmm0, %xmm0 # 1 = i -+ vtbl.8 q5#lo, {$invhi}, q1#lo @ vpshufb %xmm1, %xmm11, %xmm5 # 2 = a/k -+ vtbl.8 q5#hi, {$invhi}, q1#hi -+ veor q1, q1, q0 @ vpxor %xmm0, %xmm1, %xmm1 # 0 = j -+ vtbl.8 q3#lo, {$invlo}, q0#lo @ vpshufb %xmm0, %xmm10, %xmm3 # 3 = 1/i -+ vtbl.8 q3#hi, {$invlo}, q0#hi -+ vtbl.8 q4#lo, {$invlo}, q1#lo @ vpshufb %xmm1, %xmm10, %xmm4 # 4 = 1/j -+ vtbl.8 q4#hi, {$invlo}, q1#hi -+ veor q3, q3, q5 @ vpxor %xmm5, %xmm3, %xmm3 # 3 = iak = 1/i + a/k -+ veor q4, q4, q5 @ vpxor %xmm5, %xmm4, %xmm4 # 4 = jak = 1/j + a/k -+ vtbl.8 q2#lo, {$invlo}, q3#lo @ vpshufb %xmm3, %xmm10, %xmm2 # 2 = 1/iak -+ vtbl.8 q2#hi, {$invlo}, q3#hi -+ vtbl.8 q3#lo, {$invlo}, q4#lo @ vpshufb %xmm4, %xmm10, %xmm3 # 3 = 1/jak -+ vtbl.8 q3#hi, {$invlo}, q4#hi -+ veor q2, q2, q1 @ vpxor %xmm1, %xmm2, %xmm2 # 2 = io -+ veor q3, q3, q0 @ vpxor %xmm0, %xmm3, %xmm3 # 3 = jo -+ vld1.64 {q5}, [r9]! @ vmovdqu (%r9), %xmm5 -+ bne .Lenc_loop -+ -+ @ middle of last round -+ add r10, r11, #0x80 -+ -+ adr r11, .Lk_sbo -+ @ Read to q1 instead of q4, so the vtbl.8 instruction below does not -+ @ overlap table and destination registers. -+ vld1.64 {q1}, [r11]! @ vmovdqa -0x60(%r10), %xmm4 # 3 : sbou -+ vld1.64 {q0}, [r11] @ vmovdqa -0x50(%r10), %xmm0 # 0 : sbot .Lk_sbo+16 -+ vtbl.8 q4#lo, {q1}, q2#lo @ vpshufb %xmm2, %xmm4, %xmm4 # 4 = sbou -+ vtbl.8 q4#hi, {q1}, q2#hi -+ vld1.64 {q1}, [r10] @ vmovdqa 0x40(%r11,%r10), %xmm1 # .Lk_sr[] -+ @ Write to q2 instead of q0 below, to avoid overlapping table and -+ @ destination registers. -+ vtbl.8 q2#lo, {q0}, q3#lo @ vpshufb %xmm3, %xmm0, %xmm0 # 0 = sb1t -+ vtbl.8 q2#hi, {q0}, q3#hi -+ veor q4, q4, q5 @ vpxor %xmm5, %xmm4, %xmm4 # 4 = sb1u + k -+ veor q2, q2, q4 @ vpxor %xmm4, %xmm0, %xmm0 # 0 = A -+ @ Here we restore the original q0/q2 usage. -+ vtbl.8 q0#lo, {q2}, q1#lo @ vpshufb %xmm1, %xmm0, %xmm0 -+ vtbl.8 q0#hi, {q2}, q1#hi -+ bx lr -+.size _vpaes_encrypt_core,.-_vpaes_encrypt_core -+ -+.globl GFp_vpaes_encrypt -+.type GFp_vpaes_encrypt,%function -+.align 4 -+GFp_vpaes_encrypt: -+ @ _vpaes_encrypt_core uses r8-r11. Round up to r7-r11 to maintain stack -+ @ alignment. -+ stmdb sp!, {r7-r11,lr} -+ @ _vpaes_encrypt_core uses q4-q5 (d8-d11), which are callee-saved. -+ vstmdb sp!, {d8-d11} -+ -+ vld1.64 {q0}, [$inp] -+ bl _vpaes_preheat -+ bl _vpaes_encrypt_core -+ vst1.64 {q0}, [$out] -+ -+ vldmia sp!, {d8-d11} -+ ldmia sp!, {r7-r11, pc} @ return -+.size GFp_vpaes_encrypt,.-GFp_vpaes_encrypt -+___ -+} -+{ -+my ($inp,$bits,$out,$dir)=("r0","r1","r2","r3"); -+my ($rcon,$s0F,$invlo,$invhi,$s63) = map("q$_",(8..12)); -+ -+$code.=<<___; -+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -+@@ @@ -+@@ AES key schedule @@ -+@@ @@ -+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ -+ -+@ This function diverges from both x86_64 and armv7 in which constants are -+@ pinned. x86_64 has a common preheat function for all operations. aarch64 -+@ separates them because it has enough registers to pin nearly all constants. -+@ armv7 does not have enough registers, but needing explicit loads and stores -+@ also complicates using x86_64's register allocation directly. -+@ -+@ We pin some constants for convenience and leave q14 and q15 free to load -+@ others on demand. -+ -+@ -+@ Key schedule constants -+@ -+.type _vpaes_key_consts,%object -+.align 4 -+_vpaes_key_consts: -+.Lk_rcon: @ rcon -+ .quad 0x1F8391B9AF9DEEB6, 0x702A98084D7C7D81 -+ -+.Lk_opt: @ output transform -+ .quad 0xFF9F4929D6B66000, 0xF7974121DEBE6808 -+ .quad 0x01EDBD5150BCEC00, 0xE10D5DB1B05C0CE0 -+.Lk_deskew: @ deskew tables: inverts the sbox's "skew" -+ .quad 0x07E4A34047A4E300, 0x1DFEB95A5DBEF91A -+ .quad 0x5F36B5DC83EA6900, 0x2841C2ABF49D1E77 -+.size _vpaes_key_consts,.-_vpaes_key_consts -+ -+.type _vpaes_key_preheat,%function -+.align 4 -+_vpaes_key_preheat: -+ adr r11, .Lk_rcon -+ vmov.i8 $s63, #0x5b @ .Lk_s63 -+ adr r10, .Lk_inv @ Must be aligned to 8 mod 16. -+ vmov.i8 $s0F, #0x0f @ .Lk_s0F -+ vld1.64 {$invlo,$invhi}, [r10] @ .Lk_inv -+ vld1.64 {$rcon}, [r11] @ .Lk_rcon -+ bx lr -+.size _vpaes_key_preheat,.-_vpaes_key_preheat -+ -+.type _vpaes_schedule_core,%function -+.align 4 -+_vpaes_schedule_core: -+ @ We only need to save lr, but ARM requires an 8-byte stack alignment, -+ @ so save an extra register. -+ stmdb sp!, {r3,lr} -+ -+ bl _vpaes_key_preheat @ load the tables -+ -+ adr r11, .Lk_ipt @ Must be aligned to 8 mod 16. -+ vld1.64 {q0}, [$inp]! @ vmovdqu (%rdi), %xmm0 # load key (unaligned) -+ -+ @ input transform -+ @ Use q4 here rather than q3 so .Lschedule_am_decrypting does not -+ @ overlap table and destination. -+ vmov q4, q0 @ vmovdqa %xmm0, %xmm3 -+ bl _vpaes_schedule_transform -+ adr r10, .Lk_sr @ Must be aligned to 8 mod 16. -+ vmov q7, q0 @ vmovdqa %xmm0, %xmm7 -+ -+ add r8, r8, r10 -+ -+ @ encrypting, output zeroth round key after transform -+ vst1.64 {q0}, [$out] @ vmovdqu %xmm0, (%rdx) -+ -+ @ *ring*: Decryption removed. -+ -+.Lschedule_go: -+ cmp $bits, #192 @ cmp \$192, %esi -+ bhi .Lschedule_256 -+ @ 128: fall though -+ -+@@ -+@@ .schedule_128 -+@@ -+@@ 128-bit specific part of key schedule. -+@@ -+@@ This schedule is really simple, because all its parts -+@@ are accomplished by the subroutines. -+@@ -+.Lschedule_128: -+ mov $inp, #10 @ mov \$10, %esi -+ -+.Loop_schedule_128: -+ bl _vpaes_schedule_round -+ subs $inp, $inp, #1 @ dec %esi -+ beq .Lschedule_mangle_last -+ bl _vpaes_schedule_mangle @ write output -+ b .Loop_schedule_128 -+ -+@@ -+@@ .aes_schedule_256 -+@@ -+@@ 256-bit specific part of key schedule. -+@@ -+@@ The structure here is very similar to the 128-bit -+@@ schedule, but with an additional "low side" in -+@@ q6. The low side's rounds are the same as the -+@@ high side's, except no rcon and no rotation. -+@@ -+.align 4 -+.Lschedule_256: -+ vld1.64 {q0}, [$inp] @ vmovdqu 16(%rdi),%xmm0 # load key part 2 (unaligned) -+ bl _vpaes_schedule_transform @ input transform -+ mov $inp, #7 @ mov \$7, %esi -+ -+.Loop_schedule_256: -+ bl _vpaes_schedule_mangle @ output low result -+ vmov q6, q0 @ vmovdqa %xmm0, %xmm6 # save cur_lo in xmm6 -+ -+ @ high round -+ bl _vpaes_schedule_round -+ subs $inp, $inp, #1 @ dec %esi -+ beq .Lschedule_mangle_last -+ bl _vpaes_schedule_mangle -+ -+ @ low round. swap xmm7 and xmm6 -+ vdup.32 q0, q0#hi[1] @ vpshufd \$0xFF, %xmm0, %xmm0 -+ vmov.i8 q4, #0 -+ vmov q5, q7 @ vmovdqa %xmm7, %xmm5 -+ vmov q7, q6 @ vmovdqa %xmm6, %xmm7 -+ bl _vpaes_schedule_low_round -+ vmov q7, q5 @ vmovdqa %xmm5, %xmm7 -+ -+ b .Loop_schedule_256 -+ -+@@ -+@@ .aes_schedule_mangle_last -+@@ -+@@ Mangler for last round of key schedule -+@@ Mangles q0 -+@@ when encrypting, outputs out(q0) ^ 63 -+@@ when decrypting, outputs unskew(q0) -+@@ -+@@ Always called right before return... jumps to cleanup and exits -+@@ -+.align 4 -+.Lschedule_mangle_last: -+ @ schedule last round key from xmm0 -+ adr r11, .Lk_deskew @ lea .Lk_deskew(%rip),%r11 # prepare to deskew -+ -+ @ encrypting -+ vld1.64 {q1}, [r8] @ vmovdqa (%r8,%r10),%xmm1 -+ adr r11, .Lk_opt @ lea .Lk_opt(%rip), %r11 # prepare to output transform -+ add $out, $out, #32 @ add \$32, %rdx -+ vmov q2, q0 -+ vtbl.8 q0#lo, {q2}, q1#lo @ vpshufb %xmm1, %xmm0, %xmm0 # output permute -+ vtbl.8 q0#hi, {q2}, q1#hi -+ -+.Lschedule_mangle_last_dec: -+ sub $out, $out, #16 @ add \$-16, %rdx -+ veor q0, q0, $s63 @ vpxor .Lk_s63(%rip), %xmm0, %xmm0 -+ bl _vpaes_schedule_transform @ output transform -+ vst1.64 {q0}, [$out] @ vmovdqu %xmm0, (%rdx) # save last key -+ -+ @ cleanup -+ veor q0, q0, q0 @ vpxor %xmm0, %xmm0, %xmm0 -+ veor q1, q1, q1 @ vpxor %xmm1, %xmm1, %xmm1 -+ veor q2, q2, q2 @ vpxor %xmm2, %xmm2, %xmm2 -+ veor q3, q3, q3 @ vpxor %xmm3, %xmm3, %xmm3 -+ veor q4, q4, q4 @ vpxor %xmm4, %xmm4, %xmm4 -+ veor q5, q5, q5 @ vpxor %xmm5, %xmm5, %xmm5 -+ veor q6, q6, q6 @ vpxor %xmm6, %xmm6, %xmm6 -+ veor q7, q7, q7 @ vpxor %xmm7, %xmm7, %xmm7 -+ ldmia sp!, {r3,pc} @ return -+.size _vpaes_schedule_core,.-_vpaes_schedule_core -+ -+@@ -+@@ .aes_schedule_round -+@@ -+@@ Runs one main round of the key schedule on q0, q7 -+@@ -+@@ Specifically, runs subbytes on the high dword of q0 -+@@ then rotates it by one byte and xors into the low dword of -+@@ q7. -+@@ -+@@ Adds rcon from low byte of q8, then rotates q8 for -+@@ next rcon. -+@@ -+@@ Smears the dwords of q7 by xoring the low into the -+@@ second low, result into third, result into highest. -+@@ -+@@ Returns results in q7 = q0. -+@@ Clobbers q1-q4, r11. -+@@ -+.type _vpaes_schedule_round,%function -+.align 4 -+_vpaes_schedule_round: -+ @ extract rcon from xmm8 -+ vmov.i8 q4, #0 @ vpxor %xmm4, %xmm4, %xmm4 -+ vext.8 q1, $rcon, q4, #15 @ vpalignr \$15, %xmm8, %xmm4, %xmm1 -+ vext.8 $rcon, $rcon, $rcon, #15 @ vpalignr \$15, %xmm8, %xmm8, %xmm8 -+ veor q7, q7, q1 @ vpxor %xmm1, %xmm7, %xmm7 -+ -+ @ rotate -+ vdup.32 q0, q0#hi[1] @ vpshufd \$0xFF, %xmm0, %xmm0 -+ vext.8 q0, q0, q0, #1 @ vpalignr \$1, %xmm0, %xmm0, %xmm0 -+ -+ @ fall through... -+ -+ @ low round: same as high round, but no rotation and no rcon. -+_vpaes_schedule_low_round: -+ @ The x86_64 version pins .Lk_sb1 in %xmm13 and .Lk_sb1+16 in %xmm12. -+ @ We pin other values in _vpaes_key_preheat, so load them now. -+ adr r11, .Lk_sb1 -+ vld1.64 {q14,q15}, [r11] -+ -+ @ smear xmm7 -+ vext.8 q1, q4, q7, #12 @ vpslldq \$4, %xmm7, %xmm1 -+ veor q7, q7, q1 @ vpxor %xmm1, %xmm7, %xmm7 -+ vext.8 q4, q4, q7, #8 @ vpslldq \$8, %xmm7, %xmm4 -+ -+ @ subbytes -+ vand q1, q0, $s0F @ vpand %xmm9, %xmm0, %xmm1 # 0 = k -+ vshr.u8 q0, q0, #4 @ vpsrlb \$4, %xmm0, %xmm0 # 1 = i -+ veor q7, q7, q4 @ vpxor %xmm4, %xmm7, %xmm7 -+ vtbl.8 q2#lo, {$invhi}, q1#lo @ vpshufb %xmm1, %xmm11, %xmm2 # 2 = a/k -+ vtbl.8 q2#hi, {$invhi}, q1#hi -+ veor q1, q1, q0 @ vpxor %xmm0, %xmm1, %xmm1 # 0 = j -+ vtbl.8 q3#lo, {$invlo}, q0#lo @ vpshufb %xmm0, %xmm10, %xmm3 # 3 = 1/i -+ vtbl.8 q3#hi, {$invlo}, q0#hi -+ veor q3, q3, q2 @ vpxor %xmm2, %xmm3, %xmm3 # 3 = iak = 1/i + a/k -+ vtbl.8 q4#lo, {$invlo}, q1#lo @ vpshufb %xmm1, %xmm10, %xmm4 # 4 = 1/j -+ vtbl.8 q4#hi, {$invlo}, q1#hi -+ veor q7, q7, $s63 @ vpxor .Lk_s63(%rip), %xmm7, %xmm7 -+ vtbl.8 q3#lo, {$invlo}, q3#lo @ vpshufb %xmm3, %xmm10, %xmm3 # 2 = 1/iak -+ vtbl.8 q3#hi, {$invlo}, q3#hi -+ veor q4, q4, q2 @ vpxor %xmm2, %xmm4, %xmm4 # 4 = jak = 1/j + a/k -+ vtbl.8 q2#lo, {$invlo}, q4#lo @ vpshufb %xmm4, %xmm10, %xmm2 # 3 = 1/jak -+ vtbl.8 q2#hi, {$invlo}, q4#hi -+ veor q3, q3, q1 @ vpxor %xmm1, %xmm3, %xmm3 # 2 = io -+ veor q2, q2, q0 @ vpxor %xmm0, %xmm2, %xmm2 # 3 = jo -+ vtbl.8 q4#lo, {q15}, q3#lo @ vpshufb %xmm3, %xmm13, %xmm4 # 4 = sbou -+ vtbl.8 q4#hi, {q15}, q3#hi -+ vtbl.8 q1#lo, {q14}, q2#lo @ vpshufb %xmm2, %xmm12, %xmm1 # 0 = sb1t -+ vtbl.8 q1#hi, {q14}, q2#hi -+ veor q1, q1, q4 @ vpxor %xmm4, %xmm1, %xmm1 # 0 = sbox output -+ -+ @ add in smeared stuff -+ veor q0, q1, q7 @ vpxor %xmm7, %xmm1, %xmm0 -+ veor q7, q1, q7 @ vmovdqa %xmm0, %xmm7 -+ bx lr -+.size _vpaes_schedule_round,.-_vpaes_schedule_round -+ -+@@ -+@@ .aes_schedule_transform -+@@ -+@@ Linear-transform q0 according to tables at [r11] -+@@ -+@@ Requires that q9 = 0x0F0F... as in preheat -+@@ Output in q0 -+@@ Clobbers q1, q2, q14, q15 -+@@ -+.type _vpaes_schedule_transform,%function -+.align 4 -+_vpaes_schedule_transform: -+ vld1.64 {q14,q15}, [r11] @ vmovdqa (%r11), %xmm2 # lo -+ @ vmovdqa 16(%r11), %xmm1 # hi -+ vand q1, q0, $s0F @ vpand %xmm9, %xmm0, %xmm1 -+ vshr.u8 q0, q0, #4 @ vpsrlb \$4, %xmm0, %xmm0 -+ vtbl.8 q2#lo, {q14}, q1#lo @ vpshufb %xmm1, %xmm2, %xmm2 -+ vtbl.8 q2#hi, {q14}, q1#hi -+ vtbl.8 q0#lo, {q15}, q0#lo @ vpshufb %xmm0, %xmm1, %xmm0 -+ vtbl.8 q0#hi, {q15}, q0#hi -+ veor q0, q0, q2 @ vpxor %xmm2, %xmm0, %xmm0 -+ bx lr -+.size _vpaes_schedule_transform,.-_vpaes_schedule_transform -+ -+@@ -+@@ .aes_schedule_mangle -+@@ -+@@ Mangles q0 from (basis-transformed) standard version -+@@ to our version. -+@@ -+@@ On encrypt, -+@@ xor with 0x63 -+@@ multiply by circulant 0,1,1,1 -+@@ apply shiftrows transform -+@@ -+@@ On decrypt, -+@@ xor with 0x63 -+@@ multiply by "inverse mixcolumns" circulant E,B,D,9 -+@@ deskew -+@@ apply shiftrows transform -+@@ -+@@ -+@@ Writes out to [r2], and increments or decrements it -+@@ Keeps track of round number mod 4 in r8 -+@@ Preserves q0 -+@@ Clobbers q1-q5 -+@@ -+.type _vpaes_schedule_mangle,%function -+.align 4 -+_vpaes_schedule_mangle: -+ tst $dir, $dir -+ vmov q4, q0 @ vmovdqa %xmm0, %xmm4 # save xmm0 for later -+ adr r11, .Lk_mc_forward @ Must be aligned to 8 mod 16. -+ vld1.64 {q5}, [r11] @ vmovdqa .Lk_mc_forward(%rip),%xmm5 -+ -+ @ encrypting -+ @ Write to q2 so we do not overlap table and destination below. -+ veor q2, q0, $s63 @ vpxor .Lk_s63(%rip), %xmm0, %xmm4 -+ add $out, $out, #16 @ add \$16, %rdx -+ vtbl.8 q4#lo, {q2}, q5#lo @ vpshufb %xmm5, %xmm4, %xmm4 -+ vtbl.8 q4#hi, {q2}, q5#hi -+ vtbl.8 q1#lo, {q4}, q5#lo @ vpshufb %xmm5, %xmm4, %xmm1 -+ vtbl.8 q1#hi, {q4}, q5#hi -+ vtbl.8 q3#lo, {q1}, q5#lo @ vpshufb %xmm5, %xmm1, %xmm3 -+ vtbl.8 q3#hi, {q1}, q5#hi -+ veor q4, q4, q1 @ vpxor %xmm1, %xmm4, %xmm4 -+ vld1.64 {q1}, [r8] @ vmovdqa (%r8,%r10), %xmm1 -+ veor q3, q3, q4 @ vpxor %xmm4, %xmm3, %xmm3 -+ -+.Lschedule_mangle_both: -+ @ Write to q2 so table and destination do not overlap. -+ vtbl.8 q2#lo, {q3}, q1#lo @ vpshufb %xmm1, %xmm3, %xmm3 -+ vtbl.8 q2#hi, {q3}, q1#hi -+ add r8, r8, #64-16 @ add \$-16, %r8 -+ and r8, r8, #~(1<<6) @ and \$0x30, %r8 -+ vst1.64 {q2}, [$out] @ vmovdqu %xmm3, (%rdx) -+ bx lr -+.size _vpaes_schedule_mangle,.-_vpaes_schedule_mangle -+ -+.globl GFp_vpaes_set_encrypt_key -+.type GFp_vpaes_set_encrypt_key,%function -+.align 4 -+GFp_vpaes_set_encrypt_key: -+ stmdb sp!, {r7-r11, lr} -+ vstmdb sp!, {d8-d15} -+ -+ lsr r9, $bits, #5 @ shr \$5,%eax -+ add r9, r9, #5 @ \$5,%eax -+ str r9, [$out,#240] @ mov %eax,240(%rdx) # AES_KEY->rounds = nbits/32+5; -+ -+ mov $dir, #0 @ mov \$0,%ecx -+ mov r8, #0x30 @ mov \$0x30,%r8d -+ bl _vpaes_schedule_core -+ eor r0, r0, r0 -+ -+ vldmia sp!, {d8-d15} -+ ldmia sp!, {r7-r11, pc} @ return -+.size GFp_vpaes_set_encrypt_key,.-GFp_vpaes_set_encrypt_key -+___ -+} -+ -+{ -+my ($out, $inp) = map("r$_", (0..1)); -+my ($s0F, $s63, $s63_raw, $mc_forward) = map("q$_", (9..12)); -+ -+$code .= <<___; -+ -+@ Additional constants for converting to bsaes. -+.type _vpaes_convert_consts,%object -+.align 4 -+_vpaes_convert_consts: -+@ .Lk_opt_then_skew applies skew(opt(x)) XOR 0x63, where skew is the linear -+@ transform in the AES S-box. 0x63 is incorporated into the low half of the -+@ table. This was computed with the following script: -+@ -+@ def u64s_to_u128(x, y): -+@ return x | (y << 64) -+@ def u128_to_u64s(w): -+@ return w & ((1<<64)-1), w >> 64 -+@ def get_byte(w, i): -+@ return (w >> (i*8)) & 0xff -+@ def apply_table(table, b): -+@ lo = b & 0xf -+@ hi = b >> 4 -+@ return get_byte(table[0], lo) ^ get_byte(table[1], hi) -+@ def opt(b): -+@ table = [ -+@ u64s_to_u128(0xFF9F4929D6B66000, 0xF7974121DEBE6808), -+@ u64s_to_u128(0x01EDBD5150BCEC00, 0xE10D5DB1B05C0CE0), -+@ ] -+@ return apply_table(table, b) -+@ def rot_byte(b, n): -+@ return 0xff & ((b << n) | (b >> (8-n))) -+@ def skew(x): -+@ return (x ^ rot_byte(x, 1) ^ rot_byte(x, 2) ^ rot_byte(x, 3) ^ -+@ rot_byte(x, 4)) -+@ table = [0, 0] -+@ for i in range(16): -+@ table[0] |= (skew(opt(i)) ^ 0x63) << (i*8) -+@ table[1] |= skew(opt(i<<4)) << (i*8) -+@ print("\t.quad\t0x%016x, 0x%016x" % u128_to_u64s(table[0])) -+@ print("\t.quad\t0x%016x, 0x%016x" % u128_to_u64s(table[1])) -+.Lk_opt_then_skew: -+ .quad 0x9cb8436798bc4763, 0x6440bb9f6044bf9b -+ .quad 0x1f30062936192f00, 0xb49bad829db284ab -+ -+@ void GFp_vpaes_encrypt_key_to_bsaes(AES_KEY *bsaes, const AES_KEY *vpaes); -+.globl GFp_vpaes_encrypt_key_to_bsaes -+.type GFp_vpaes_encrypt_key_to_bsaes,%function -+.align 4 -+GFp_vpaes_encrypt_key_to_bsaes: -+ stmdb sp!, {r11, lr} -+ -+ @ See _vpaes_schedule_core for the key schedule logic. In particular, -+ @ _vpaes_schedule_transform(.Lk_ipt) (section 2.2 of the paper), -+ @ _vpaes_schedule_mangle (section 4.3), and .Lschedule_mangle_last -+ @ contain the transformations not in the bsaes representation. This -+ @ function inverts those transforms. -+ @ -+ @ Note also that bsaes-armv7.pl expects aes-armv4.pl's key -+ @ representation, which does not match the other aes_nohw_* -+ @ implementations. The ARM aes_nohw_* stores each 32-bit word -+ @ byteswapped, as a convenience for (unsupported) big-endian ARM, at the -+ @ cost of extra REV and VREV32 operations in little-endian ARM. -+ -+ vmov.i8 $s0F, #0x0f @ Required by _vpaes_schedule_transform -+ adr r2, .Lk_mc_forward @ Must be aligned to 8 mod 16. -+ add r3, r2, 0x90 @ .Lk_sr+0x10-.Lk_mc_forward = 0x90 (Apple's toolchain doesn't support the expression) -+ -+ vld1.64 {$mc_forward}, [r2] -+ vmov.i8 $s63, #0x5b @ .Lk_s63 from vpaes-x86_64 -+ adr r11, .Lk_opt @ Must be aligned to 8 mod 16. -+ vmov.i8 $s63_raw, #0x63 @ .LK_s63 without .Lk_ipt applied -+ -+ @ vpaes stores one fewer round count than bsaes, but the number of keys -+ @ is the same. -+ ldr r2, [$inp,#240] -+ add r2, r2, #1 -+ str r2, [$out,#240] -+ -+ @ The first key is transformed with _vpaes_schedule_transform(.Lk_ipt). -+ @ Invert this with .Lk_opt. -+ vld1.64 {q0}, [$inp]! -+ bl _vpaes_schedule_transform -+ vrev32.8 q0, q0 -+ vst1.64 {q0}, [$out]! -+ -+ @ The middle keys have _vpaes_schedule_transform(.Lk_ipt) applied, -+ @ followed by _vpaes_schedule_mangle. _vpaes_schedule_mangle XORs 0x63, -+ @ multiplies by the circulant 0,1,1,1, then applies ShiftRows. -+.Loop_enc_key_to_bsaes: -+ vld1.64 {q0}, [$inp]! -+ -+ @ Invert the ShiftRows step (see .Lschedule_mangle_both). Note we cycle -+ @ r3 in the opposite direction and start at .Lk_sr+0x10 instead of 0x30. -+ @ We use r3 rather than r8 to avoid a callee-saved register. -+ vld1.64 {q1}, [r3] -+ vtbl.8 q2#lo, {q0}, q1#lo -+ vtbl.8 q2#hi, {q0}, q1#hi -+ add r3, r3, #16 -+ and r3, r3, #~(1<<6) -+ vmov q0, q2 -+ -+ @ Handle the last key differently. -+ subs r2, r2, #1 -+ beq .Loop_enc_key_to_bsaes_last -+ -+ @ Multiply by the circulant. This is its own inverse. -+ vtbl.8 q1#lo, {q0}, $mc_forward#lo -+ vtbl.8 q1#hi, {q0}, $mc_forward#hi -+ vmov q0, q1 -+ vtbl.8 q2#lo, {q1}, $mc_forward#lo -+ vtbl.8 q2#hi, {q1}, $mc_forward#hi -+ veor q0, q0, q2 -+ vtbl.8 q1#lo, {q2}, $mc_forward#lo -+ vtbl.8 q1#hi, {q2}, $mc_forward#hi -+ veor q0, q0, q1 -+ -+ @ XOR and finish. -+ veor q0, q0, $s63 -+ bl _vpaes_schedule_transform -+ vrev32.8 q0, q0 -+ vst1.64 {q0}, [$out]! -+ b .Loop_enc_key_to_bsaes -+ -+.Loop_enc_key_to_bsaes_last: -+ @ The final key does not have a basis transform (note -+ @ .Lschedule_mangle_last inverts the original transform). It only XORs -+ @ 0x63 and applies ShiftRows. The latter was already inverted in the -+ @ loop. Note that, because we act on the original representation, we use -+ @ $s63_raw, not $s63. -+ veor q0, q0, $s63_raw -+ vrev32.8 q0, q0 -+ vst1.64 {q0}, [$out] -+ -+ @ Wipe registers which contained key material. -+ veor q0, q0, q0 -+ veor q1, q1, q1 -+ veor q2, q2, q2 -+ -+ ldmia sp!, {r11, pc} @ return -+.size GFp_vpaes_encrypt_key_to_bsaes,.-GFp_vpaes_encrypt_key_to_bsaes -+___ -+} -+ -+{ -+# Register-passed parameters. -+my ($inp, $out, $len, $key) = map("r$_", 0..3); -+# Temporaries. _vpaes_encrypt_core already uses r8..r11, so overlap $ivec and -+# $tmp. $ctr is r7 because it must be preserved across calls. -+my ($ctr, $ivec, $tmp) = map("r$_", 7..9); -+ -+# void vpaes_ctr32_encrypt_blocks(const uint8_t *in, uint8_t *out, size_t len, -+# const AES_KEY *key, const uint8_t ivec[16]); -+$code .= <<___; -+.globl GFp_vpaes_ctr32_encrypt_blocks -+.type GFp_vpaes_ctr32_encrypt_blocks,%function -+.align 4 -+GFp_vpaes_ctr32_encrypt_blocks: -+ mov ip, sp -+ stmdb sp!, {r7-r11, lr} -+ @ This function uses q4-q7 (d8-d15), which are callee-saved. -+ vstmdb sp!, {d8-d15} -+ -+ cmp $len, #0 -+ @ $ivec is passed on the stack. -+ ldr $ivec, [ip] -+ beq .Lctr32_done -+ -+ @ _vpaes_encrypt_core expects the key in r2, so swap $len and $key. -+ mov $tmp, $key -+ mov $key, $len -+ mov $len, $tmp -+___ -+my ($len, $key) = ($key, $len); -+$code .= <<___; -+ -+ @ Load the IV and counter portion. -+ ldr $ctr, [$ivec, #12] -+ vld1.8 {q7}, [$ivec] -+ -+ bl _vpaes_preheat -+ rev $ctr, $ctr @ The counter is big-endian. -+ -+.Lctr32_loop: -+ vmov q0, q7 -+ vld1.8 {q6}, [$inp]! @ Load input ahead of time -+ bl _vpaes_encrypt_core -+ veor q0, q0, q6 @ XOR input and result -+ vst1.8 {q0}, [$out]! -+ subs $len, $len, #1 -+ @ Update the counter. -+ add $ctr, $ctr, #1 -+ rev $tmp, $ctr -+ vmov.32 q7#hi[1], $tmp -+ bne .Lctr32_loop -+ -+.Lctr32_done: -+ vldmia sp!, {d8-d15} -+ ldmia sp!, {r7-r11, pc} @ return -+.size GFp_vpaes_ctr32_encrypt_blocks,.-GFp_vpaes_ctr32_encrypt_blocks -+___ -+} -+ -+foreach (split("\n",$code)) { -+ s/\bq([0-9]+)#(lo|hi)/sprintf "d%d",2*$1+($2 eq "hi")/geo; -+ print $_,"\n"; -+} -+ -+close STDOUT; -diff --git a/crypto/fipsmodule/aes/asm/vpaes-armv8.pl b/crypto/fipsmodule/aes/asm/vpaes-armv8.pl -new file mode 100755 -index 0000000..b31bbb8 ---- /dev/null -+++ b/crypto/fipsmodule/aes/asm/vpaes-armv8.pl -@@ -0,0 +1,837 @@ -+#! /usr/bin/env perl -+# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. -+# -+# Licensed under the OpenSSL license (the "License"). You may not use -+# this file except in compliance with the License. You can obtain a copy -+# in the file LICENSE in the source distribution or at -+# https://www.openssl.org/source/license.html -+ -+ -+###################################################################### -+## Constant-time SSSE3 AES core implementation. -+## version 0.1 -+## -+## By Mike Hamburg (Stanford University), 2009 -+## Public domain. -+## -+## For details see http://shiftleft.org/papers/vector_aes/ and -+## http://crypto.stanford.edu/vpaes/. -+## -+###################################################################### -+# ARMv8 NEON adaptation by <appro@openssl.org> -+# -+# Reason for undertaken effort is that there is at least one popular -+# SoC based on Cortex-A53 that doesn't have crypto extensions. -+# -+# CBC enc ECB enc/dec(*) [bit-sliced enc/dec] -+# Cortex-A53 21.5 18.1/20.6 [17.5/19.8 ] -+# Cortex-A57 36.0(**) 20.4/24.9(**) [14.4/16.6 ] -+# X-Gene 45.9(**) 45.8/57.7(**) [33.1/37.6(**) ] -+# Denver(***) 16.6(**) 15.1/17.8(**) [8.80/9.93 ] -+# Apple A7(***) 22.7(**) 10.9/14.3 [8.45/10.0 ] -+# Mongoose(***) 26.3(**) 21.0/25.0(**) [13.3/16.8 ] -+# -+# (*) ECB denotes approximate result for parallelizable modes -+# such as CBC decrypt, CTR, etc.; -+# (**) these results are worse than scalar compiler-generated -+# code, but it's constant-time and therefore preferred; -+# (***) presented for reference/comparison purposes; -+ -+$flavour = shift; -+while (($output=shift) && ($output!~/\w[\w\-]*\.\w+$/)) {} -+ -+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; -+( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or -+( $xlate="${dir}../../../perlasm/arm-xlate.pl" and -f $xlate) or -+die "can't locate arm-xlate.pl"; -+ -+open OUT,"| \"$^X\" $xlate $flavour $output"; -+*STDOUT=*OUT; -+ -+$code.=<<___; -+#include <GFp/arm_arch.h> -+ -+.section .rodata -+ -+.type _vpaes_consts,%object -+.align 7 // totally strategic alignment -+_vpaes_consts: -+.Lk_mc_forward: // mc_forward -+ .quad 0x0407060500030201, 0x0C0F0E0D080B0A09 -+ .quad 0x080B0A0904070605, 0x000302010C0F0E0D -+ .quad 0x0C0F0E0D080B0A09, 0x0407060500030201 -+ .quad 0x000302010C0F0E0D, 0x080B0A0904070605 -+.Lk_mc_backward:// mc_backward -+ .quad 0x0605040702010003, 0x0E0D0C0F0A09080B -+ .quad 0x020100030E0D0C0F, 0x0A09080B06050407 -+ .quad 0x0E0D0C0F0A09080B, 0x0605040702010003 -+ .quad 0x0A09080B06050407, 0x020100030E0D0C0F -+.Lk_sr: // sr -+ .quad 0x0706050403020100, 0x0F0E0D0C0B0A0908 -+ .quad 0x030E09040F0A0500, 0x0B06010C07020D08 -+ .quad 0x0F060D040B020900, 0x070E050C030A0108 -+ .quad 0x0B0E0104070A0D00, 0x0306090C0F020508 -+ -+// -+// "Hot" constants -+// -+.Lk_inv: // inv, inva -+ .quad 0x0E05060F0D080180, 0x040703090A0B0C02 -+ .quad 0x01040A060F0B0780, 0x030D0E0C02050809 -+.Lk_ipt: // input transform (lo, hi) -+ .quad 0xC2B2E8985A2A7000, 0xCABAE09052227808 -+ .quad 0x4C01307D317C4D00, 0xCD80B1FCB0FDCC81 -+.Lk_sbo: // sbou, sbot -+ .quad 0xD0D26D176FBDC700, 0x15AABF7AC502A878 -+ .quad 0xCFE474A55FBB6A00, 0x8E1E90D1412B35FA -+.Lk_sb1: // sb1u, sb1t -+ .quad 0x3618D415FAE22300, 0x3BF7CCC10D2ED9EF -+ .quad 0xB19BE18FCB503E00, 0xA5DF7A6E142AF544 -+.Lk_sb2: // sb2u, sb2t -+ .quad 0x69EB88400AE12900, 0xC2A163C8AB82234A -+ .quad 0xE27A93C60B712400, 0x5EB7E955BC982FCD -+ -+// -+// Key schedule constants -+// -+.Lk_dksd: // decryption key schedule: invskew x*D -+ .quad 0xFEB91A5DA3E44700, 0x0740E3A45A1DBEF9 -+ .quad 0x41C277F4B5368300, 0x5FDC69EAAB289D1E -+.Lk_dksb: // decryption key schedule: invskew x*B -+ .quad 0x9A4FCA1F8550D500, 0x03D653861CC94C99 -+ .quad 0x115BEDA7B6FC4A00, 0xD993256F7E3482C8 -+.Lk_dkse: // decryption key schedule: invskew x*E + 0x63 -+ .quad 0xD5031CCA1FC9D600, 0x53859A4C994F5086 -+ .quad 0xA23196054FDC7BE8, 0xCD5EF96A20B31487 -+.Lk_dks9: // decryption key schedule: invskew x*9 -+ .quad 0xB6116FC87ED9A700, 0x4AED933482255BFC -+ .quad 0x4576516227143300, 0x8BB89FACE9DAFDCE -+ -+.Lk_rcon: // rcon -+ .quad 0x1F8391B9AF9DEEB6, 0x702A98084D7C7D81 -+ -+.Lk_opt: // output transform -+ .quad 0xFF9F4929D6B66000, 0xF7974121DEBE6808 -+ .quad 0x01EDBD5150BCEC00, 0xE10D5DB1B05C0CE0 -+.Lk_deskew: // deskew tables: inverts the sbox's "skew" -+ .quad 0x07E4A34047A4E300, 0x1DFEB95A5DBEF91A -+ .quad 0x5F36B5DC83EA6900, 0x2841C2ABF49D1E77 -+ -+.asciz "Vector Permutation AES for ARMv8, Mike Hamburg (Stanford University)" -+.size _vpaes_consts,.-_vpaes_consts -+.align 6 -+ -+.text -+___ -+ -+{ -+my ($inp,$out,$key) = map("x$_",(0..2)); -+ -+my ($invlo,$invhi,$iptlo,$ipthi,$sbou,$sbot) = map("v$_.16b",(18..23)); -+my ($sb1u,$sb1t,$sb2u,$sb2t) = map("v$_.16b",(24..27)); -+my ($sb9u,$sb9t,$sbdu,$sbdt,$sbbu,$sbbt,$sbeu,$sbet)=map("v$_.16b",(24..31)); -+ -+$code.=<<___; -+## -+## _aes_preheat -+## -+## Fills register %r10 -> .aes_consts (so you can -fPIC) -+## and %xmm9-%xmm15 as specified below. -+## -+.type _vpaes_encrypt_preheat,%function -+.align 4 -+_vpaes_encrypt_preheat: -+ adrp x10, :pg_hi21:.Lk_inv -+ add x10, x10, :lo12:.Lk_inv -+ movi v17.16b, #0x0f -+ ld1 {v18.2d-v19.2d}, [x10],#32 // .Lk_inv -+ ld1 {v20.2d-v23.2d}, [x10],#64 // .Lk_ipt, .Lk_sbo -+ ld1 {v24.2d-v27.2d}, [x10] // .Lk_sb1, .Lk_sb2 -+ ret -+.size _vpaes_encrypt_preheat,.-_vpaes_encrypt_preheat -+ -+## -+## _aes_encrypt_core -+## -+## AES-encrypt %xmm0. -+## -+## Inputs: -+## %xmm0 = input -+## %xmm9-%xmm15 as in _vpaes_preheat -+## (%rdx) = scheduled keys -+## -+## Output in %xmm0 -+## Clobbers %xmm1-%xmm5, %r9, %r10, %r11, %rax -+## Preserves %xmm6 - %xmm8 so you get some local vectors -+## -+## -+.type _vpaes_encrypt_core,%function -+.align 4 -+_vpaes_encrypt_core: -+ mov x9, $key -+ ldr w8, [$key,#240] // pull rounds -+ adrp x11, :pg_hi21:.Lk_mc_forward+16 -+ add x11, x11, :lo12:.Lk_mc_forward+16 -+ // vmovdqa .Lk_ipt(%rip), %xmm2 # iptlo -+ ld1 {v16.2d}, [x9], #16 // vmovdqu (%r9), %xmm5 # round0 key -+ and v1.16b, v7.16b, v17.16b // vpand %xmm9, %xmm0, %xmm1 -+ ushr v0.16b, v7.16b, #4 // vpsrlb \$4, %xmm0, %xmm0 -+ tbl v1.16b, {$iptlo}, v1.16b // vpshufb %xmm1, %xmm2, %xmm1 -+ // vmovdqa .Lk_ipt+16(%rip), %xmm3 # ipthi -+ tbl v2.16b, {$ipthi}, v0.16b // vpshufb %xmm0, %xmm3, %xmm2 -+ eor v0.16b, v1.16b, v16.16b // vpxor %xmm5, %xmm1, %xmm0 -+ eor v0.16b, v0.16b, v2.16b // vpxor %xmm2, %xmm0, %xmm0 -+ b .Lenc_entry -+ -+.align 4 -+.Lenc_loop: -+ // middle of middle round -+ add x10, x11, #0x40 -+ tbl v4.16b, {$sb1t}, v2.16b // vpshufb %xmm2, %xmm13, %xmm4 # 4 = sb1u -+ ld1 {v1.2d}, [x11], #16 // vmovdqa -0x40(%r11,%r10), %xmm1 # .Lk_mc_forward[] -+ tbl v0.16b, {$sb1u}, v3.16b // vpshufb %xmm3, %xmm12, %xmm0 # 0 = sb1t -+ eor v4.16b, v4.16b, v16.16b // vpxor %xmm5, %xmm4, %xmm4 # 4 = sb1u + k -+ tbl v5.16b, {$sb2t}, v2.16b // vpshufb %xmm2, %xmm15, %xmm5 # 4 = sb2u -+ eor v0.16b, v0.16b, v4.16b // vpxor %xmm4, %xmm0, %xmm0 # 0 = A -+ tbl v2.16b, {$sb2u}, v3.16b // vpshufb %xmm3, %xmm14, %xmm2 # 2 = sb2t -+ ld1 {v4.2d}, [x10] // vmovdqa (%r11,%r10), %xmm4 # .Lk_mc_backward[] -+ tbl v3.16b, {v0.16b}, v1.16b // vpshufb %xmm1, %xmm0, %xmm3 # 0 = B -+ eor v2.16b, v2.16b, v5.16b // vpxor %xmm5, %xmm2, %xmm2 # 2 = 2A -+ tbl v0.16b, {v0.16b}, v4.16b // vpshufb %xmm4, %xmm0, %xmm0 # 3 = D -+ eor v3.16b, v3.16b, v2.16b // vpxor %xmm2, %xmm3, %xmm3 # 0 = 2A+B -+ tbl v4.16b, {v3.16b}, v1.16b // vpshufb %xmm1, %xmm3, %xmm4 # 0 = 2B+C -+ eor v0.16b, v0.16b, v3.16b // vpxor %xmm3, %xmm0, %xmm0 # 3 = 2A+B+D -+ and x11, x11, #~(1<<6) // and \$0x30, %r11 # ... mod 4 -+ eor v0.16b, v0.16b, v4.16b // vpxor %xmm4, %xmm0, %xmm0 # 0 = 2A+3B+C+D -+ sub w8, w8, #1 // nr-- -+ -+.Lenc_entry: -+ // top of round -+ and v1.16b, v0.16b, v17.16b // vpand %xmm0, %xmm9, %xmm1 # 0 = k -+ ushr v0.16b, v0.16b, #4 // vpsrlb \$4, %xmm0, %xmm0 # 1 = i -+ tbl v5.16b, {$invhi}, v1.16b // vpshufb %xmm1, %xmm11, %xmm5 # 2 = a/k -+ eor v1.16b, v1.16b, v0.16b // vpxor %xmm0, %xmm1, %xmm1 # 0 = j -+ tbl v3.16b, {$invlo}, v0.16b // vpshufb %xmm0, %xmm10, %xmm3 # 3 = 1/i -+ tbl v4.16b, {$invlo}, v1.16b // vpshufb %xmm1, %xmm10, %xmm4 # 4 = 1/j -+ eor v3.16b, v3.16b, v5.16b // vpxor %xmm5, %xmm3, %xmm3 # 3 = iak = 1/i + a/k -+ eor v4.16b, v4.16b, v5.16b // vpxor %xmm5, %xmm4, %xmm4 # 4 = jak = 1/j + a/k -+ tbl v2.16b, {$invlo}, v3.16b // vpshufb %xmm3, %xmm10, %xmm2 # 2 = 1/iak -+ tbl v3.16b, {$invlo}, v4.16b // vpshufb %xmm4, %xmm10, %xmm3 # 3 = 1/jak -+ eor v2.16b, v2.16b, v1.16b // vpxor %xmm1, %xmm2, %xmm2 # 2 = io -+ eor v3.16b, v3.16b, v0.16b // vpxor %xmm0, %xmm3, %xmm3 # 3 = jo -+ ld1 {v16.2d}, [x9],#16 // vmovdqu (%r9), %xmm5 -+ cbnz w8, .Lenc_loop -+ -+ // middle of last round -+ add x10, x11, #0x80 -+ // vmovdqa -0x60(%r10), %xmm4 # 3 : sbou .Lk_sbo -+ // vmovdqa -0x50(%r10), %xmm0 # 0 : sbot .Lk_sbo+16 -+ tbl v4.16b, {$sbou}, v2.16b // vpshufb %xmm2, %xmm4, %xmm4 # 4 = sbou -+ ld1 {v1.2d}, [x10] // vmovdqa 0x40(%r11,%r10), %xmm1 # .Lk_sr[] -+ tbl v0.16b, {$sbot}, v3.16b // vpshufb %xmm3, %xmm0, %xmm0 # 0 = sb1t -+ eor v4.16b, v4.16b, v16.16b // vpxor %xmm5, %xmm4, %xmm4 # 4 = sb1u + k -+ eor v0.16b, v0.16b, v4.16b // vpxor %xmm4, %xmm0, %xmm0 # 0 = A -+ tbl v0.16b, {v0.16b}, v1.16b // vpshufb %xmm1, %xmm0, %xmm0 -+ ret -+.size _vpaes_encrypt_core,.-_vpaes_encrypt_core -+ -+.globl GFp_vpaes_encrypt -+.type GFp_vpaes_encrypt,%function -+.align 4 -+GFp_vpaes_encrypt: -+ AARCH64_SIGN_LINK_REGISTER -+ stp x29,x30,[sp,#-16]! -+ add x29,sp,#0 -+ -+ ld1 {v7.16b}, [$inp] -+ bl _vpaes_encrypt_preheat -+ bl _vpaes_encrypt_core -+ st1 {v0.16b}, [$out] -+ -+ ldp x29,x30,[sp],#16 -+ AARCH64_VALIDATE_LINK_REGISTER -+ ret -+.size GFp_vpaes_encrypt,.-GFp_vpaes_encrypt -+ -+.type _vpaes_encrypt_2x,%function -+.align 4 -+_vpaes_encrypt_2x: -+ mov x9, $key -+ ldr w8, [$key,#240] // pull rounds -+ adrp x11, :pg_hi21:.Lk_mc_forward+16 -+ add x11, x11, :lo12:.Lk_mc_forward+16 -+ // vmovdqa .Lk_ipt(%rip), %xmm2 # iptlo -+ ld1 {v16.2d}, [x9], #16 // vmovdqu (%r9), %xmm5 # round0 key -+ and v1.16b, v14.16b, v17.16b // vpand %xmm9, %xmm0, %xmm1 -+ ushr v0.16b, v14.16b, #4 // vpsrlb \$4, %xmm0, %xmm0 -+ and v9.16b, v15.16b, v17.16b -+ ushr v8.16b, v15.16b, #4 -+ tbl v1.16b, {$iptlo}, v1.16b // vpshufb %xmm1, %xmm2, %xmm1 -+ tbl v9.16b, {$iptlo}, v9.16b -+ // vmovdqa .Lk_ipt+16(%rip), %xmm3 # ipthi -+ tbl v2.16b, {$ipthi}, v0.16b // vpshufb %xmm0, %xmm3, %xmm2 -+ tbl v10.16b, {$ipthi}, v8.16b -+ eor v0.16b, v1.16b, v16.16b // vpxor %xmm5, %xmm1, %xmm0 -+ eor v8.16b, v9.16b, v16.16b -+ eor v0.16b, v0.16b, v2.16b // vpxor %xmm2, %xmm0, %xmm0 -+ eor v8.16b, v8.16b, v10.16b -+ b .Lenc_2x_entry -+ -+.align 4 -+.Lenc_2x_loop: -+ // middle of middle round -+ add x10, x11, #0x40 -+ tbl v4.16b, {$sb1t}, v2.16b // vpshufb %xmm2, %xmm13, %xmm4 # 4 = sb1u -+ tbl v12.16b, {$sb1t}, v10.16b -+ ld1 {v1.2d}, [x11], #16 // vmovdqa -0x40(%r11,%r10), %xmm1 # .Lk_mc_forward[] -+ tbl v0.16b, {$sb1u}, v3.16b // vpshufb %xmm3, %xmm12, %xmm0 # 0 = sb1t -+ tbl v8.16b, {$sb1u}, v11.16b -+ eor v4.16b, v4.16b, v16.16b // vpxor %xmm5, %xmm4, %xmm4 # 4 = sb1u + k -+ eor v12.16b, v12.16b, v16.16b -+ tbl v5.16b, {$sb2t}, v2.16b // vpshufb %xmm2, %xmm15, %xmm5 # 4 = sb2u -+ tbl v13.16b, {$sb2t}, v10.16b -+ eor v0.16b, v0.16b, v4.16b // vpxor %xmm4, %xmm0, %xmm0 # 0 = A -+ eor v8.16b, v8.16b, v12.16b -+ tbl v2.16b, {$sb2u}, v3.16b // vpshufb %xmm3, %xmm14, %xmm2 # 2 = sb2t -+ tbl v10.16b, {$sb2u}, v11.16b -+ ld1 {v4.2d}, [x10] // vmovdqa (%r11,%r10), %xmm4 # .Lk_mc_backward[] -+ tbl v3.16b, {v0.16b}, v1.16b // vpshufb %xmm1, %xmm0, %xmm3 # 0 = B -+ tbl v11.16b, {v8.16b}, v1.16b -+ eor v2.16b, v2.16b, v5.16b // vpxor %xmm5, %xmm2, %xmm2 # 2 = 2A -+ eor v10.16b, v10.16b, v13.16b -+ tbl v0.16b, {v0.16b}, v4.16b // vpshufb %xmm4, %xmm0, %xmm0 # 3 = D -+ tbl v8.16b, {v8.16b}, v4.16b -+ eor v3.16b, v3.16b, v2.16b // vpxor %xmm2, %xmm3, %xmm3 # 0 = 2A+B -+ eor v11.16b, v11.16b, v10.16b -+ tbl v4.16b, {v3.16b}, v1.16b // vpshufb %xmm1, %xmm3, %xmm4 # 0 = 2B+C -+ tbl v12.16b, {v11.16b},v1.16b -+ eor v0.16b, v0.16b, v3.16b // vpxor %xmm3, %xmm0, %xmm0 # 3 = 2A+B+D -+ eor v8.16b, v8.16b, v11.16b -+ and x11, x11, #~(1<<6) // and \$0x30, %r11 # ... mod 4 -+ eor v0.16b, v0.16b, v4.16b // vpxor %xmm4, %xmm0, %xmm0 # 0 = 2A+3B+C+D -+ eor v8.16b, v8.16b, v12.16b -+ sub w8, w8, #1 // nr-- -+ -+.Lenc_2x_entry: -+ // top of round -+ and v1.16b, v0.16b, v17.16b // vpand %xmm0, %xmm9, %xmm1 # 0 = k -+ ushr v0.16b, v0.16b, #4 // vpsrlb \$4, %xmm0, %xmm0 # 1 = i -+ and v9.16b, v8.16b, v17.16b -+ ushr v8.16b, v8.16b, #4 -+ tbl v5.16b, {$invhi},v1.16b // vpshufb %xmm1, %xmm11, %xmm5 # 2 = a/k -+ tbl v13.16b, {$invhi},v9.16b -+ eor v1.16b, v1.16b, v0.16b // vpxor %xmm0, %xmm1, %xmm1 # 0 = j -+ eor v9.16b, v9.16b, v8.16b -+ tbl v3.16b, {$invlo},v0.16b // vpshufb %xmm0, %xmm10, %xmm3 # 3 = 1/i -+ tbl v11.16b, {$invlo},v8.16b -+ tbl v4.16b, {$invlo},v1.16b // vpshufb %xmm1, %xmm10, %xmm4 # 4 = 1/j -+ tbl v12.16b, {$invlo},v9.16b -+ eor v3.16b, v3.16b, v5.16b // vpxor %xmm5, %xmm3, %xmm3 # 3 = iak = 1/i + a/k -+ eor v11.16b, v11.16b, v13.16b -+ eor v4.16b, v4.16b, v5.16b // vpxor %xmm5, %xmm4, %xmm4 # 4 = jak = 1/j + a/k -+ eor v12.16b, v12.16b, v13.16b -+ tbl v2.16b, {$invlo},v3.16b // vpshufb %xmm3, %xmm10, %xmm2 # 2 = 1/iak -+ tbl v10.16b, {$invlo},v11.16b -+ tbl v3.16b, {$invlo},v4.16b // vpshufb %xmm4, %xmm10, %xmm3 # 3 = 1/jak -+ tbl v11.16b, {$invlo},v12.16b -+ eor v2.16b, v2.16b, v1.16b // vpxor %xmm1, %xmm2, %xmm2 # 2 = io -+ eor v10.16b, v10.16b, v9.16b -+ eor v3.16b, v3.16b, v0.16b // vpxor %xmm0, %xmm3, %xmm3 # 3 = jo -+ eor v11.16b, v11.16b, v8.16b -+ ld1 {v16.2d}, [x9],#16 // vmovdqu (%r9), %xmm5 -+ cbnz w8, .Lenc_2x_loop -+ -+ // middle of last round -+ add x10, x11, #0x80 -+ // vmovdqa -0x60(%r10), %xmm4 # 3 : sbou .Lk_sbo -+ // vmovdqa -0x50(%r10), %xmm0 # 0 : sbot .Lk_sbo+16 -+ tbl v4.16b, {$sbou}, v2.16b // vpshufb %xmm2, %xmm4, %xmm4 # 4 = sbou -+ tbl v12.16b, {$sbou}, v10.16b -+ ld1 {v1.2d}, [x10] // vmovdqa 0x40(%r11,%r10), %xmm1 # .Lk_sr[] -+ tbl v0.16b, {$sbot}, v3.16b // vpshufb %xmm3, %xmm0, %xmm0 # 0 = sb1t -+ tbl v8.16b, {$sbot}, v11.16b -+ eor v4.16b, v4.16b, v16.16b // vpxor %xmm5, %xmm4, %xmm4 # 4 = sb1u + k -+ eor v12.16b, v12.16b, v16.16b -+ eor v0.16b, v0.16b, v4.16b // vpxor %xmm4, %xmm0, %xmm0 # 0 = A -+ eor v8.16b, v8.16b, v12.16b -+ tbl v0.16b, {v0.16b},v1.16b // vpshufb %xmm1, %xmm0, %xmm0 -+ tbl v1.16b, {v8.16b},v1.16b -+ ret -+.size _vpaes_encrypt_2x,.-_vpaes_encrypt_2x -+___ -+} -+{ -+my ($inp,$bits,$out,$dir)=("x0","w1","x2","w3"); -+my ($invlo,$invhi,$iptlo,$ipthi,$rcon) = map("v$_.16b",(18..21,8)); -+ -+$code.=<<___; -+######################################################## -+## ## -+## AES key schedule ## -+## ## -+######################################################## -+.type _vpaes_key_preheat,%function -+.align 4 -+_vpaes_key_preheat: -+ adrp x10, :pg_hi21:.Lk_inv -+ add x10, x10, :lo12:.Lk_inv -+ movi v16.16b, #0x5b // .Lk_s63 -+ adrp x11, :pg_hi21:.Lk_sb1 -+ add x11, x11, :lo12:.Lk_sb1 -+ movi v17.16b, #0x0f // .Lk_s0F -+ ld1 {v18.2d-v21.2d}, [x10] // .Lk_inv, .Lk_ipt -+ adrp x10, :pg_hi21:.Lk_dksd -+ add x10, x10, :lo12:.Lk_dksd -+ ld1 {v22.2d-v23.2d}, [x11] // .Lk_sb1 -+ adrp x11, :pg_hi21:.Lk_mc_forward -+ add x11, x11, :lo12:.Lk_mc_forward -+ ld1 {v24.2d-v27.2d}, [x10],#64 // .Lk_dksd, .Lk_dksb -+ ld1 {v28.2d-v31.2d}, [x10],#64 // .Lk_dkse, .Lk_dks9 -+ ld1 {v8.2d}, [x10] // .Lk_rcon -+ ld1 {v9.2d}, [x11] // .Lk_mc_forward[0] -+ ret -+.size _vpaes_key_preheat,.-_vpaes_key_preheat -+ -+.type _vpaes_schedule_core,%function -+.align 4 -+_vpaes_schedule_core: -+ AARCH64_SIGN_LINK_REGISTER -+ stp x29, x30, [sp,#-16]! -+ add x29,sp,#0 -+ -+ bl _vpaes_key_preheat // load the tables -+ -+ ld1 {v0.16b}, [$inp],#16 // vmovdqu (%rdi), %xmm0 # load key (unaligned) -+ -+ // input transform -+ mov v3.16b, v0.16b // vmovdqa %xmm0, %xmm3 -+ bl _vpaes_schedule_transform -+ mov v7.16b, v0.16b // vmovdqa %xmm0, %xmm7 -+ -+ adrp x10, :pg_hi21:.Lk_sr // lea .Lk_sr(%rip),%r10 -+ add x10, x10, :lo12:.Lk_sr -+ -+ add x8, x8, x10 -+ -+ // encrypting, output zeroth round key after transform -+ st1 {v0.2d}, [$out] // vmovdqu %xmm0, (%rdx) -+ -+ cmp $bits, #192 // cmp \$192, %esi -+ b.hi .Lschedule_256 -+ b.eq .Lschedule_192 -+ // 128: fall though -+ -+## -+## .schedule_128 -+## -+## 128-bit specific part of key schedule. -+## -+## This schedule is really simple, because all its parts -+## are accomplished by the subroutines. -+## -+.Lschedule_128: -+ mov $inp, #10 // mov \$10, %esi -+ -+.Loop_schedule_128: -+ sub $inp, $inp, #1 // dec %esi -+ bl _vpaes_schedule_round -+ cbz $inp, .Lschedule_mangle_last -+ bl _vpaes_schedule_mangle // write output -+ b .Loop_schedule_128 -+ -+## -+## .aes_schedule_192 -+## -+## 192-bit specific part of key schedule. -+## -+## The main body of this schedule is the same as the 128-bit -+## schedule, but with more smearing. The long, high side is -+## stored in %xmm7 as before, and the short, low side is in -+## the high bits of %xmm6. -+## -+## This schedule is somewhat nastier, however, because each -+## round produces 192 bits of key material, or 1.5 round keys. -+## Therefore, on each cycle we do 2 rounds and produce 3 round -+## keys. -+## -+.align 4 -+.Lschedule_192: -+ sub $inp, $inp, #8 -+ ld1 {v0.16b}, [$inp] // vmovdqu 8(%rdi),%xmm0 # load key part 2 (very unaligned) -+ bl _vpaes_schedule_transform // input transform -+ mov v6.16b, v0.16b // vmovdqa %xmm0, %xmm6 # save short part -+ eor v4.16b, v4.16b, v4.16b // vpxor %xmm4, %xmm4, %xmm4 # clear 4 -+ ins v6.d[0], v4.d[0] // vmovhlps %xmm4, %xmm6, %xmm6 # clobber low side with zeros -+ mov $inp, #4 // mov \$4, %esi -+ -+.Loop_schedule_192: -+ sub $inp, $inp, #1 // dec %esi -+ bl _vpaes_schedule_round -+ ext v0.16b, v6.16b, v0.16b, #8 // vpalignr \$8,%xmm6,%xmm0,%xmm0 -+ bl _vpaes_schedule_mangle // save key n -+ bl _vpaes_schedule_192_smear -+ bl _vpaes_schedule_mangle // save key n+1 -+ bl _vpaes_schedule_round -+ cbz $inp, .Lschedule_mangle_last -+ bl _vpaes_schedule_mangle // save key n+2 -+ bl _vpaes_schedule_192_smear -+ b .Loop_schedule_192 -+ -+## -+## .aes_schedule_256 -+## -+## 256-bit specific part of key schedule. -+## -+## The structure here is very similar to the 128-bit -+## schedule, but with an additional "low side" in -+## %xmm6. The low side's rounds are the same as the -+## high side's, except no rcon and no rotation. -+## -+.align 4 -+.Lschedule_256: -+ ld1 {v0.16b}, [$inp] // vmovdqu 16(%rdi),%xmm0 # load key part 2 (unaligned) -+ bl _vpaes_schedule_transform // input transform -+ mov $inp, #7 // mov \$7, %esi -+ -+.Loop_schedule_256: -+ sub $inp, $inp, #1 // dec %esi -+ bl _vpaes_schedule_mangle // output low result -+ mov v6.16b, v0.16b // vmovdqa %xmm0, %xmm6 # save cur_lo in xmm6 -+ -+ // high round -+ bl _vpaes_schedule_round -+ cbz $inp, .Lschedule_mangle_last -+ bl _vpaes_schedule_mangle -+ -+ // low round. swap xmm7 and xmm6 -+ dup v0.4s, v0.s[3] // vpshufd \$0xFF, %xmm0, %xmm0 -+ movi v4.16b, #0 -+ mov v5.16b, v7.16b // vmovdqa %xmm7, %xmm5 -+ mov v7.16b, v6.16b // vmovdqa %xmm6, %xmm7 -+ bl _vpaes_schedule_low_round -+ mov v7.16b, v5.16b // vmovdqa %xmm5, %xmm7 -+ -+ b .Loop_schedule_256 -+ -+## -+## .aes_schedule_mangle_last -+## -+## Mangler for last round of key schedule -+## Mangles %xmm0 -+## when encrypting, outputs out(%xmm0) ^ 63 -+## when decrypting, outputs unskew(%xmm0) -+## -+## Always called right before return... jumps to cleanup and exits -+## -+.align 4 -+.Lschedule_mangle_last: -+ // schedule last round key from xmm0 -+ adrp x11, :pg_hi21:.Lk_deskew // lea .Lk_deskew(%rip),%r11 # prepare to deskew -+ add x11, x11, :lo12:.Lk_deskew -+ -+ cbnz $dir, .Lschedule_mangle_last_dec -+ -+ // encrypting -+ ld1 {v1.2d}, [x8] // vmovdqa (%r8,%r10),%xmm1 -+ adrp x11, :pg_hi21:.Lk_opt // lea .Lk_opt(%rip), %r11 # prepare to output transform -+ add x11, x11, :lo12:.Lk_opt -+ add $out, $out, #32 // add \$32, %rdx -+ tbl v0.16b, {v0.16b}, v1.16b // vpshufb %xmm1, %xmm0, %xmm0 # output permute -+ -+.Lschedule_mangle_last_dec: -+ ld1 {v20.2d-v21.2d}, [x11] // reload constants -+ sub $out, $out, #16 // add \$-16, %rdx -+ eor v0.16b, v0.16b, v16.16b // vpxor .Lk_s63(%rip), %xmm0, %xmm0 -+ bl _vpaes_schedule_transform // output transform -+ st1 {v0.2d}, [$out] // vmovdqu %xmm0, (%rdx) # save last key -+ -+ // cleanup -+ eor v0.16b, v0.16b, v0.16b // vpxor %xmm0, %xmm0, %xmm0 -+ eor v1.16b, v1.16b, v1.16b // vpxor %xmm1, %xmm1, %xmm1 -+ eor v2.16b, v2.16b, v2.16b // vpxor %xmm2, %xmm2, %xmm2 -+ eor v3.16b, v3.16b, v3.16b // vpxor %xmm3, %xmm3, %xmm3 -+ eor v4.16b, v4.16b, v4.16b // vpxor %xmm4, %xmm4, %xmm4 -+ eor v5.16b, v5.16b, v5.16b // vpxor %xmm5, %xmm5, %xmm5 -+ eor v6.16b, v6.16b, v6.16b // vpxor %xmm6, %xmm6, %xmm6 -+ eor v7.16b, v7.16b, v7.16b // vpxor %xmm7, %xmm7, %xmm7 -+ ldp x29, x30, [sp],#16 -+ AARCH64_VALIDATE_LINK_REGISTER -+ ret -+.size _vpaes_schedule_core,.-_vpaes_schedule_core -+ -+## -+## .aes_schedule_192_smear -+## -+## Smear the short, low side in the 192-bit key schedule. -+## -+## Inputs: -+## %xmm7: high side, b a x y -+## %xmm6: low side, d c 0 0 -+## %xmm13: 0 -+## -+## Outputs: -+## %xmm6: b+c+d b+c 0 0 -+## %xmm0: b+c+d b+c b a -+## -+.type _vpaes_schedule_192_smear,%function -+.align 4 -+_vpaes_schedule_192_smear: -+ movi v1.16b, #0 -+ dup v0.4s, v7.s[3] -+ ins v1.s[3], v6.s[2] // vpshufd \$0x80, %xmm6, %xmm1 # d c 0 0 -> c 0 0 0 -+ ins v0.s[0], v7.s[2] // vpshufd \$0xFE, %xmm7, %xmm0 # b a _ _ -> b b b a -+ eor v6.16b, v6.16b, v1.16b // vpxor %xmm1, %xmm6, %xmm6 # -> c+d c 0 0 -+ eor v1.16b, v1.16b, v1.16b // vpxor %xmm1, %xmm1, %xmm1 -+ eor v6.16b, v6.16b, v0.16b // vpxor %xmm0, %xmm6, %xmm6 # -> b+c+d b+c b a -+ mov v0.16b, v6.16b // vmovdqa %xmm6, %xmm0 -+ ins v6.d[0], v1.d[0] // vmovhlps %xmm1, %xmm6, %xmm6 # clobber low side with zeros -+ ret -+.size _vpaes_schedule_192_smear,.-_vpaes_schedule_192_smear -+ -+## -+## .aes_schedule_round -+## -+## Runs one main round of the key schedule on %xmm0, %xmm7 -+## -+## Specifically, runs subbytes on the high dword of %xmm0 -+## then rotates it by one byte and xors into the low dword of -+## %xmm7. -+## -+## Adds rcon from low byte of %xmm8, then rotates %xmm8 for -+## next rcon. -+## -+## Smears the dwords of %xmm7 by xoring the low into the -+## second low, result into third, result into highest. -+## -+## Returns results in %xmm7 = %xmm0. -+## Clobbers %xmm1-%xmm4, %r11. -+## -+.type _vpaes_schedule_round,%function -+.align 4 -+_vpaes_schedule_round: -+ // extract rcon from xmm8 -+ movi v4.16b, #0 // vpxor %xmm4, %xmm4, %xmm4 -+ ext v1.16b, $rcon, v4.16b, #15 // vpalignr \$15, %xmm8, %xmm4, %xmm1 -+ ext $rcon, $rcon, $rcon, #15 // vpalignr \$15, %xmm8, %xmm8, %xmm8 -+ eor v7.16b, v7.16b, v1.16b // vpxor %xmm1, %xmm7, %xmm7 -+ -+ // rotate -+ dup v0.4s, v0.s[3] // vpshufd \$0xFF, %xmm0, %xmm0 -+ ext v0.16b, v0.16b, v0.16b, #1 // vpalignr \$1, %xmm0, %xmm0, %xmm0 -+ -+ // fall through... -+ -+ // low round: same as high round, but no rotation and no rcon. -+_vpaes_schedule_low_round: -+ // smear xmm7 -+ ext v1.16b, v4.16b, v7.16b, #12 // vpslldq \$4, %xmm7, %xmm1 -+ eor v7.16b, v7.16b, v1.16b // vpxor %xmm1, %xmm7, %xmm7 -+ ext v4.16b, v4.16b, v7.16b, #8 // vpslldq \$8, %xmm7, %xmm4 -+ -+ // subbytes -+ and v1.16b, v0.16b, v17.16b // vpand %xmm9, %xmm0, %xmm1 # 0 = k -+ ushr v0.16b, v0.16b, #4 // vpsrlb \$4, %xmm0, %xmm0 # 1 = i -+ eor v7.16b, v7.16b, v4.16b // vpxor %xmm4, %xmm7, %xmm7 -+ tbl v2.16b, {$invhi}, v1.16b // vpshufb %xmm1, %xmm11, %xmm2 # 2 = a/k -+ eor v1.16b, v1.16b, v0.16b // vpxor %xmm0, %xmm1, %xmm1 # 0 = j -+ tbl v3.16b, {$invlo}, v0.16b // vpshufb %xmm0, %xmm10, %xmm3 # 3 = 1/i -+ eor v3.16b, v3.16b, v2.16b // vpxor %xmm2, %xmm3, %xmm3 # 3 = iak = 1/i + a/k -+ tbl v4.16b, {$invlo}, v1.16b // vpshufb %xmm1, %xmm10, %xmm4 # 4 = 1/j -+ eor v7.16b, v7.16b, v16.16b // vpxor .Lk_s63(%rip), %xmm7, %xmm7 -+ tbl v3.16b, {$invlo}, v3.16b // vpshufb %xmm3, %xmm10, %xmm3 # 2 = 1/iak -+ eor v4.16b, v4.16b, v2.16b // vpxor %xmm2, %xmm4, %xmm4 # 4 = jak = 1/j + a/k -+ tbl v2.16b, {$invlo}, v4.16b // vpshufb %xmm4, %xmm10, %xmm2 # 3 = 1/jak -+ eor v3.16b, v3.16b, v1.16b // vpxor %xmm1, %xmm3, %xmm3 # 2 = io -+ eor v2.16b, v2.16b, v0.16b // vpxor %xmm0, %xmm2, %xmm2 # 3 = jo -+ tbl v4.16b, {v23.16b}, v3.16b // vpshufb %xmm3, %xmm13, %xmm4 # 4 = sbou -+ tbl v1.16b, {v22.16b}, v2.16b // vpshufb %xmm2, %xmm12, %xmm1 # 0 = sb1t -+ eor v1.16b, v1.16b, v4.16b // vpxor %xmm4, %xmm1, %xmm1 # 0 = sbox output -+ -+ // add in smeared stuff -+ eor v0.16b, v1.16b, v7.16b // vpxor %xmm7, %xmm1, %xmm0 -+ eor v7.16b, v1.16b, v7.16b // vmovdqa %xmm0, %xmm7 -+ ret -+.size _vpaes_schedule_round,.-_vpaes_schedule_round -+ -+## -+## .aes_schedule_transform -+## -+## Linear-transform %xmm0 according to tables at (%r11) -+## -+## Requires that %xmm9 = 0x0F0F... as in preheat -+## Output in %xmm0 -+## Clobbers %xmm1, %xmm2 -+## -+.type _vpaes_schedule_transform,%function -+.align 4 -+_vpaes_schedule_transform: -+ and v1.16b, v0.16b, v17.16b // vpand %xmm9, %xmm0, %xmm1 -+ ushr v0.16b, v0.16b, #4 // vpsrlb \$4, %xmm0, %xmm0 -+ // vmovdqa (%r11), %xmm2 # lo -+ tbl v2.16b, {$iptlo}, v1.16b // vpshufb %xmm1, %xmm2, %xmm2 -+ // vmovdqa 16(%r11), %xmm1 # hi -+ tbl v0.16b, {$ipthi}, v0.16b // vpshufb %xmm0, %xmm1, %xmm0 -+ eor v0.16b, v0.16b, v2.16b // vpxor %xmm2, %xmm0, %xmm0 -+ ret -+.size _vpaes_schedule_transform,.-_vpaes_schedule_transform -+ -+## -+## .aes_schedule_mangle -+## -+## Mangle xmm0 from (basis-transformed) standard version -+## to our version. -+## -+## On encrypt, -+## xor with 0x63 -+## multiply by circulant 0,1,1,1 -+## apply shiftrows transform -+## -+## On decrypt, -+## xor with 0x63 -+## multiply by "inverse mixcolumns" circulant E,B,D,9 -+## deskew -+## apply shiftrows transform -+## -+## -+## Writes out to (%rdx), and increments or decrements it -+## Keeps track of round number mod 4 in %r8 -+## Preserves xmm0 -+## Clobbers xmm1-xmm5 -+## -+.type _vpaes_schedule_mangle,%function -+.align 4 -+_vpaes_schedule_mangle: -+ mov v4.16b, v0.16b // vmovdqa %xmm0, %xmm4 # save xmm0 for later -+ // vmovdqa .Lk_mc_forward(%rip),%xmm5 -+ -+ // encrypting -+ eor v4.16b, v0.16b, v16.16b // vpxor .Lk_s63(%rip), %xmm0, %xmm4 -+ add $out, $out, #16 // add \$16, %rdx -+ tbl v4.16b, {v4.16b}, v9.16b // vpshufb %xmm5, %xmm4, %xmm4 -+ tbl v1.16b, {v4.16b}, v9.16b // vpshufb %xmm5, %xmm4, %xmm1 -+ tbl v3.16b, {v1.16b}, v9.16b // vpshufb %xmm5, %xmm1, %xmm3 -+ eor v4.16b, v4.16b, v1.16b // vpxor %xmm1, %xmm4, %xmm4 -+ ld1 {v1.2d}, [x8] // vmovdqa (%r8,%r10), %xmm1 -+ eor v3.16b, v3.16b, v4.16b // vpxor %xmm4, %xmm3, %xmm3 -+ -+.Lschedule_mangle_both: -+ tbl v3.16b, {v3.16b}, v1.16b // vpshufb %xmm1, %xmm3, %xmm3 -+ add x8, x8, #64-16 // add \$-16, %r8 -+ and x8, x8, #~(1<<6) // and \$0x30, %r8 -+ st1 {v3.2d}, [$out] // vmovdqu %xmm3, (%rdx) -+ ret -+.size _vpaes_schedule_mangle,.-_vpaes_schedule_mangle -+ -+.globl GFp_vpaes_set_encrypt_key -+.type GFp_vpaes_set_encrypt_key,%function -+.align 4 -+GFp_vpaes_set_encrypt_key: -+ AARCH64_SIGN_LINK_REGISTER -+ stp x29,x30,[sp,#-16]! -+ add x29,sp,#0 -+ stp d8,d9,[sp,#-16]! // ABI spec says so -+ -+ lsr w9, $bits, #5 // shr \$5,%eax -+ add w9, w9, #5 // \$5,%eax -+ str w9, [$out,#240] // mov %eax,240(%rdx) # AES_KEY->rounds = nbits/32+5; -+ -+ mov $dir, #0 // mov \$0,%ecx -+ mov x8, #0x30 // mov \$0x30,%r8d -+ bl _vpaes_schedule_core -+ eor x0, x0, x0 -+ -+ ldp d8,d9,[sp],#16 -+ ldp x29,x30,[sp],#16 -+ AARCH64_VALIDATE_LINK_REGISTER -+ ret -+.size GFp_vpaes_set_encrypt_key,.-GFp_vpaes_set_encrypt_key -+___ -+} -+{ -+my ($inp,$out,$len,$key,$ivec) = map("x$_",(0..4)); -+my ($ctr, $ctr_tmp) = ("w6", "w7"); -+ -+# void GFp_vpaes_ctr32_encrypt_blocks(const uint8_t *in, uint8_t *out, size_t len, -+# const AES_KEY *key, const uint8_t ivec[16]); -+$code.=<<___; -+.globl GFp_vpaes_ctr32_encrypt_blocks -+.type GFp_vpaes_ctr32_encrypt_blocks,%function -+.align 4 -+GFp_vpaes_ctr32_encrypt_blocks: -+ AARCH64_SIGN_LINK_REGISTER -+ stp x29,x30,[sp,#-16]! -+ add x29,sp,#0 -+ stp d8,d9,[sp,#-16]! // ABI spec says so -+ stp d10,d11,[sp,#-16]! -+ stp d12,d13,[sp,#-16]! -+ stp d14,d15,[sp,#-16]! -+ -+ cbz $len, .Lctr32_done -+ -+ // Note, unlike the other functions, $len here is measured in blocks, -+ // not bytes. -+ mov x17, $len -+ mov x2, $key -+ -+ // Load the IV and counter portion. -+ ldr $ctr, [$ivec, #12] -+ ld1 {v7.16b}, [$ivec] -+ -+ bl _vpaes_encrypt_preheat -+ tst x17, #1 -+ rev $ctr, $ctr // The counter is big-endian. -+ b.eq .Lctr32_prep_loop -+ -+ // Handle one block so the remaining block count is even for -+ // _vpaes_encrypt_2x. -+ ld1 {v6.16b}, [$inp], #16 // Load input ahead of time -+ bl _vpaes_encrypt_core -+ eor v0.16b, v0.16b, v6.16b // XOR input and result -+ st1 {v0.16b}, [$out], #16 -+ subs x17, x17, #1 -+ // Update the counter. -+ add $ctr, $ctr, #1 -+ rev $ctr_tmp, $ctr -+ mov v7.s[3], $ctr_tmp -+ b.ls .Lctr32_done -+ -+.Lctr32_prep_loop: -+ // _vpaes_encrypt_core takes its input from v7, while _vpaes_encrypt_2x -+ // uses v14 and v15. -+ mov v15.16b, v7.16b -+ mov v14.16b, v7.16b -+ add $ctr, $ctr, #1 -+ rev $ctr_tmp, $ctr -+ mov v15.s[3], $ctr_tmp -+ -+.Lctr32_loop: -+ ld1 {v6.16b,v7.16b}, [$inp], #32 // Load input ahead of time -+ bl _vpaes_encrypt_2x -+ eor v0.16b, v0.16b, v6.16b // XOR input and result -+ eor v1.16b, v1.16b, v7.16b // XOR input and result (#2) -+ st1 {v0.16b,v1.16b}, [$out], #32 -+ subs x17, x17, #2 -+ // Update the counter. -+ add $ctr_tmp, $ctr, #1 -+ add $ctr, $ctr, #2 -+ rev $ctr_tmp, $ctr_tmp -+ mov v14.s[3], $ctr_tmp -+ rev $ctr_tmp, $ctr -+ mov v15.s[3], $ctr_tmp -+ b.hi .Lctr32_loop -+ -+.Lctr32_done: -+ ldp d14,d15,[sp],#16 -+ ldp d12,d13,[sp],#16 -+ ldp d10,d11,[sp],#16 -+ ldp d8,d9,[sp],#16 -+ ldp x29,x30,[sp],#16 -+ AARCH64_VALIDATE_LINK_REGISTER -+ ret -+.size GFp_vpaes_ctr32_encrypt_blocks,.-GFp_vpaes_ctr32_encrypt_blocks -+___ -+} -+ -+print $code; -+ -+close STDOUT or die "error closing STDOUT"; -diff --git a/crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl b/crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl -new file mode 100644 -index 0000000..7e52ad6 ---- /dev/null -+++ b/crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl -@@ -0,0 +1,294 @@ -+#! /usr/bin/env perl -+# Copyright 2010-2016 The OpenSSL Project Authors. All Rights Reserved. -+# -+# Licensed under the OpenSSL license (the "License"). You may not use -+# this file except in compliance with the License. You can obtain a copy -+# in the file LICENSE in the source distribution or at -+# https://www.openssl.org/source/license.html -+ -+# ==================================================================== -+# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL -+# project. The module is, however, dual licensed under OpenSSL and -+# CRYPTOGAMS licenses depending on where you obtain it. For further -+# details see http://www.openssl.org/~appro/cryptogams/. -+# ==================================================================== -+ -+# This file was adapted to AArch64 from the 32-bit version in ghash-armv4.pl. It -+# implements the multiplication algorithm described in: -+# -+# Câmara, D.; Gouvêa, C. P. L.; López, J. & Dahab, R.: Fast Software -+# Polynomial Multiplication on ARM Processors using the NEON Engine. -+# -+# http://conradoplg.cryptoland.net/files/2010/12/mocrysen13.pdf -+# -+# The main distinction to keep in mind between 32-bit NEON and AArch64 SIMD is -+# AArch64 cannot compute over the upper halves of SIMD registers. In 32-bit -+# NEON, the low and high halves of the 128-bit register q0 are accessible as -+# 64-bit registers d0 and d1, respectively. In AArch64, dN is the lower half of -+# vN. Where the 32-bit version would use the upper half, this file must keep -+# halves in separate registers. -+# -+# The other distinction is in syntax. 32-bit NEON embeds lane information in the -+# instruction name, while AArch64 uses suffixes on the registers. For instance, -+# left-shifting 64-bit lanes of a SIMD register in 32-bit would be written: -+# -+# vshl.i64 q0, q0, #1 -+# -+# in 64-bit, it would be written: -+# -+# shl v0.2d, v0.2d, #1 -+# -+# See Programmer's Guide for ARMv8-A, section 7 for details. -+# http://infocenter.arm.com/help/topic/com.arm.doc.den0024a/DEN0024A_v8_architecture_PG.pdf -+# -+# Finally, note the 8-bit and 64-bit polynomial multipliers in AArch64 differ -+# only by suffix. pmull vR.8h, vA.8b, vB.8b multiplies eight 8-bit polynomials -+# and is always available. pmull vR.1q, vA.1d, vB.1d multiplies a 64-bit -+# polynomial and is conditioned on the PMULL extension. This file emulates the -+# latter with the former. -+ -+use strict; -+ -+my $flavour = shift; -+my $output; -+if ($flavour=~/\w[\w\-]*\.\w+$/) { $output=$flavour; undef $flavour; } -+else { while (($output=shift) && ($output!~/\w[\w\-]*\.\w+$/)) {} } -+ -+if ($flavour && $flavour ne "void") { -+ $0 =~ m/(.*[\/\\])[^\/\\]+$/; -+ my $dir = $1; -+ my $xlate; -+ ( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or -+ ( $xlate="${dir}../../../perlasm/arm-xlate.pl" and -f $xlate) or -+ die "can't locate arm-xlate.pl"; -+ -+ open OUT,"| \"$^X\" $xlate $flavour $output"; -+ *STDOUT=*OUT; -+} else { -+ open OUT,">$output"; -+ *STDOUT=*OUT; -+} -+ -+my ($Xi, $Htbl, $inp, $len) = map("x$_", (0..3)); # argument block -+my ($Xl, $Xm, $Xh, $INlo, $INhi) = map("v$_", (0..4)); -+my ($Hlo, $Hhi, $Hhl) = map("v$_", (5..7)); -+# d8-d15 are callee-saved, so avoid v8-v15. AArch64 SIMD has plenty of registers -+# to spare. -+my ($t0, $t1, $t2, $t3) = map("v$_", (16..19)); -+my ($t0l_t1l, $t0h_t1h, $t2l_t3l, $t2h_t3h) = map("v$_", (20..23)); -+my ($k48_k32, $k16_k0) = map("v$_", (24..25)); -+ -+my $code = ""; -+ -+# clmul64x64 emits code which emulates pmull $r.1q, $a.1d, $b.1d. $r, $a, and $b -+# must be distinct from $t* and $k*. $t* are clobbered by the emitted code. -+sub clmul64x64 { -+my ($r, $a, $b) = @_; -+$code .= <<___; -+ ext $t0.8b, $a.8b, $a.8b, #1 // A1 -+ pmull $t0.8h, $t0.8b, $b.8b // F = A1*B -+ ext $r.8b, $b.8b, $b.8b, #1 // B1 -+ pmull $r.8h, $a.8b, $r.8b // E = A*B1 -+ ext $t1.8b, $a.8b, $a.8b, #2 // A2 -+ pmull $t1.8h, $t1.8b, $b.8b // H = A2*B -+ ext $t3.8b, $b.8b, $b.8b, #2 // B2 -+ pmull $t3.8h, $a.8b, $t3.8b // G = A*B2 -+ ext $t2.8b, $a.8b, $a.8b, #3 // A3 -+ eor $t0.16b, $t0.16b, $r.16b // L = E + F -+ pmull $t2.8h, $t2.8b, $b.8b // J = A3*B -+ ext $r.8b, $b.8b, $b.8b, #3 // B3 -+ eor $t1.16b, $t1.16b, $t3.16b // M = G + H -+ pmull $r.8h, $a.8b, $r.8b // I = A*B3 -+ -+ // Here we diverge from the 32-bit version. It computes the following -+ // (instructions reordered for clarity): -+ // -+ // veor \$t0#lo, \$t0#lo, \$t0#hi @ t0 = P0 + P1 (L) -+ // vand \$t0#hi, \$t0#hi, \$k48 -+ // veor \$t0#lo, \$t0#lo, \$t0#hi -+ // -+ // veor \$t1#lo, \$t1#lo, \$t1#hi @ t1 = P2 + P3 (M) -+ // vand \$t1#hi, \$t1#hi, \$k32 -+ // veor \$t1#lo, \$t1#lo, \$t1#hi -+ // -+ // veor \$t2#lo, \$t2#lo, \$t2#hi @ t2 = P4 + P5 (N) -+ // vand \$t2#hi, \$t2#hi, \$k16 -+ // veor \$t2#lo, \$t2#lo, \$t2#hi -+ // -+ // veor \$t3#lo, \$t3#lo, \$t3#hi @ t3 = P6 + P7 (K) -+ // vmov.i64 \$t3#hi, #0 -+ // -+ // \$kN is a mask with the bottom N bits set. AArch64 cannot compute on -+ // upper halves of SIMD registers, so we must split each half into -+ // separate registers. To compensate, we pair computations up and -+ // parallelize. -+ -+ ext $t3.8b, $b.8b, $b.8b, #4 // B4 -+ eor $t2.16b, $t2.16b, $r.16b // N = I + J -+ pmull $t3.8h, $a.8b, $t3.8b // K = A*B4 -+ -+ // This can probably be scheduled more efficiently. For now, we just -+ // pair up independent instructions. -+ zip1 $t0l_t1l.2d, $t0.2d, $t1.2d -+ zip1 $t2l_t3l.2d, $t2.2d, $t3.2d -+ zip2 $t0h_t1h.2d, $t0.2d, $t1.2d -+ zip2 $t2h_t3h.2d, $t2.2d, $t3.2d -+ eor $t0l_t1l.16b, $t0l_t1l.16b, $t0h_t1h.16b -+ eor $t2l_t3l.16b, $t2l_t3l.16b, $t2h_t3h.16b -+ and $t0h_t1h.16b, $t0h_t1h.16b, $k48_k32.16b -+ and $t2h_t3h.16b, $t2h_t3h.16b, $k16_k0.16b -+ eor $t0l_t1l.16b, $t0l_t1l.16b, $t0h_t1h.16b -+ eor $t2l_t3l.16b, $t2l_t3l.16b, $t2h_t3h.16b -+ zip1 $t0.2d, $t0l_t1l.2d, $t0h_t1h.2d -+ zip1 $t2.2d, $t2l_t3l.2d, $t2h_t3h.2d -+ zip2 $t1.2d, $t0l_t1l.2d, $t0h_t1h.2d -+ zip2 $t3.2d, $t2l_t3l.2d, $t2h_t3h.2d -+ -+ ext $t0.16b, $t0.16b, $t0.16b, #15 // t0 = t0 << 8 -+ ext $t1.16b, $t1.16b, $t1.16b, #14 // t1 = t1 << 16 -+ pmull $r.8h, $a.8b, $b.8b // D = A*B -+ ext $t3.16b, $t3.16b, $t3.16b, #12 // t3 = t3 << 32 -+ ext $t2.16b, $t2.16b, $t2.16b, #13 // t2 = t2 << 24 -+ eor $t0.16b, $t0.16b, $t1.16b -+ eor $t2.16b, $t2.16b, $t3.16b -+ eor $r.16b, $r.16b, $t0.16b -+ eor $r.16b, $r.16b, $t2.16b -+___ -+} -+ -+$code .= <<___; -+#include <GFp/arm_arch.h> -+ -+.text -+ -+.global GFp_gcm_init_neon -+.type GFp_gcm_init_neon,%function -+.align 4 -+GFp_gcm_init_neon: -+ AARCH64_VALID_CALL_TARGET -+ // This function is adapted from gcm_init_v8. xC2 is t3. -+ ld1 {$t1.2d}, [x1] // load H -+ movi $t3.16b, #0xe1 -+ shl $t3.2d, $t3.2d, #57 // 0xc2.0 -+ ext $INlo.16b, $t1.16b, $t1.16b, #8 -+ ushr $t2.2d, $t3.2d, #63 -+ dup $t1.4s, $t1.s[1] -+ ext $t0.16b, $t2.16b, $t3.16b, #8 // t0=0xc2....01 -+ ushr $t2.2d, $INlo.2d, #63 -+ sshr $t1.4s, $t1.4s, #31 // broadcast carry bit -+ and $t2.16b, $t2.16b, $t0.16b -+ shl $INlo.2d, $INlo.2d, #1 -+ ext $t2.16b, $t2.16b, $t2.16b, #8 -+ and $t0.16b, $t0.16b, $t1.16b -+ orr $INlo.16b, $INlo.16b, $t2.16b // H<<<=1 -+ eor $Hlo.16b, $INlo.16b, $t0.16b // twisted H -+ st1 {$Hlo.2d}, [x0] // store Htable[0] -+ ret -+.size GFp_gcm_init_neon,.-GFp_gcm_init_neon -+ -+.global GFp_gcm_gmult_neon -+.type GFp_gcm_gmult_neon,%function -+.align 4 -+GFp_gcm_gmult_neon: -+ AARCH64_VALID_CALL_TARGET -+ ld1 {$INlo.16b}, [$Xi] // load Xi -+ ld1 {$Hlo.1d}, [$Htbl], #8 // load twisted H -+ ld1 {$Hhi.1d}, [$Htbl] -+ adrp x9, :pg_hi21:.Lmasks // load constants -+ add x9, x9, :lo12:.Lmasks -+ ld1 {$k48_k32.2d, $k16_k0.2d}, [x9] -+ rev64 $INlo.16b, $INlo.16b // byteswap Xi -+ ext $INlo.16b, $INlo.16b, $INlo.16b, #8 -+ eor $Hhl.8b, $Hlo.8b, $Hhi.8b // Karatsuba pre-processing -+ -+ mov $len, #16 -+ b .Lgmult_neon -+.size GFp_gcm_gmult_neon,.-GFp_gcm_gmult_neon -+ -+.global GFp_gcm_ghash_neon -+.type GFp_gcm_ghash_neon,%function -+.align 4 -+GFp_gcm_ghash_neon: -+ AARCH64_VALID_CALL_TARGET -+ ld1 {$Xl.16b}, [$Xi] // load Xi -+ ld1 {$Hlo.1d}, [$Htbl], #8 // load twisted H -+ ld1 {$Hhi.1d}, [$Htbl] -+ adrp x9, :pg_hi21:.Lmasks // load constants -+ add x9, x9, :lo12:.Lmasks -+ ld1 {$k48_k32.2d, $k16_k0.2d}, [x9] -+ rev64 $Xl.16b, $Xl.16b // byteswap Xi -+ ext $Xl.16b, $Xl.16b, $Xl.16b, #8 -+ eor $Hhl.8b, $Hlo.8b, $Hhi.8b // Karatsuba pre-processing -+ -+.Loop_neon: -+ ld1 {$INlo.16b}, [$inp], #16 // load inp -+ rev64 $INlo.16b, $INlo.16b // byteswap inp -+ ext $INlo.16b, $INlo.16b, $INlo.16b, #8 -+ eor $INlo.16b, $INlo.16b, $Xl.16b // inp ^= Xi -+ -+.Lgmult_neon: -+ // Split the input into $INlo and $INhi. (The upper halves are unused, -+ // so it is okay to leave them alone.) -+ ins $INhi.d[0], $INlo.d[1] -+___ -+&clmul64x64 ($Xl, $Hlo, $INlo); # H.lo·Xi.lo -+$code .= <<___; -+ eor $INlo.8b, $INlo.8b, $INhi.8b // Karatsuba pre-processing -+___ -+&clmul64x64 ($Xm, $Hhl, $INlo); # (H.lo+H.hi)·(Xi.lo+Xi.hi) -+&clmul64x64 ($Xh, $Hhi, $INhi); # H.hi·Xi.hi -+$code .= <<___; -+ ext $t0.16b, $Xl.16b, $Xh.16b, #8 -+ eor $Xm.16b, $Xm.16b, $Xl.16b // Karatsuba post-processing -+ eor $Xm.16b, $Xm.16b, $Xh.16b -+ eor $Xm.16b, $Xm.16b, $t0.16b // Xm overlaps Xh.lo and Xl.hi -+ ins $Xl.d[1], $Xm.d[0] // Xh|Xl - 256-bit result -+ // This is a no-op due to the ins instruction below. -+ // ins $Xh.d[0], $Xm.d[1] -+ -+ // equivalent of reduction_avx from ghash-x86_64.pl -+ shl $t1.2d, $Xl.2d, #57 // 1st phase -+ shl $t2.2d, $Xl.2d, #62 -+ eor $t2.16b, $t2.16b, $t1.16b // -+ shl $t1.2d, $Xl.2d, #63 -+ eor $t2.16b, $t2.16b, $t1.16b // -+ // Note Xm contains {Xl.d[1], Xh.d[0]}. -+ eor $t2.16b, $t2.16b, $Xm.16b -+ ins $Xl.d[1], $t2.d[0] // Xl.d[1] ^= t2.d[0] -+ ins $Xh.d[0], $t2.d[1] // Xh.d[0] ^= t2.d[1] -+ -+ ushr $t2.2d, $Xl.2d, #1 // 2nd phase -+ eor $Xh.16b, $Xh.16b,$Xl.16b -+ eor $Xl.16b, $Xl.16b,$t2.16b // -+ ushr $t2.2d, $t2.2d, #6 -+ ushr $Xl.2d, $Xl.2d, #1 // -+ eor $Xl.16b, $Xl.16b, $Xh.16b // -+ eor $Xl.16b, $Xl.16b, $t2.16b // -+ -+ subs $len, $len, #16 -+ bne .Loop_neon -+ -+ rev64 $Xl.16b, $Xl.16b // byteswap Xi and write -+ ext $Xl.16b, $Xl.16b, $Xl.16b, #8 -+ st1 {$Xl.16b}, [$Xi] -+ -+ ret -+.size GFp_gcm_ghash_neon,.-GFp_gcm_ghash_neon -+ -+.section .rodata -+.align 4 -+.Lmasks: -+.quad 0x0000ffffffffffff // k48 -+.quad 0x00000000ffffffff // k32 -+.quad 0x000000000000ffff // k16 -+.quad 0x0000000000000000 // k0 -+.asciz "GHASH for ARMv8, derived from ARMv4 version by <appro\@openssl.org>" -+.align 2 -+___ -+ -+foreach (split("\n",$code)) { -+ s/\`([^\`]*)\`/eval $1/geo; -+ -+ print $_,"\n"; -+} -+close STDOUT or die "error closing STDOUT"; # enforce flush --- -Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא -GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 -Confidentiality cannot be guaranteed on emails sent or received unencrypted - diff --git a/gnu/packages/patches/rust-ring-0.16-test-files.patch b/gnu/packages/patches/rust-ring-0.16-test-files.patch deleted file mode 100644 index dbe5c0f4ee..0000000000 --- a/gnu/packages/patches/rust-ring-0.16-test-files.patch +++ /dev/null @@ -1,54 +0,0 @@ -This file exists in the upstream repository at the commit which -corresponds to the ring-0.16.20 release, but was excluded from the -release tarball. - ---- - tests/ed25519_verify_tests.txt | 34 ++++++++++++++++++++++++++++++++++ - 1 file changed, 34 insertions(+) - create mode 100644 tests/ed25519_verify_tests.txt - -diff --git a/tests/ed25519_verify_tests.txt b/tests/ed25519_verify_tests.txt -new file mode 100644 -index 0000000..74c94b3 ---- /dev/null -+++ b/tests/ed25519_verify_tests.txt -@@ -0,0 +1,34 @@ -+# BoringSSL TEST(Ed25519Test Malleability) -+ -+# Control; S is in range. -+MESSAGE = 54657374 -+SIG = 7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d -+PUB = 7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa -+Result = P -+ -+# Same as above, but with the order L added to S so it is out of range. -+# BoringSSL commit 472ba2c2dd52d06a657a63b7fbf02732a6649d21 -+MESSAGE = 54657374 -+SIG = 7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab067654bce3832c2d76f8f6f5dafc08d9339d4eef676573336a5c51eb6f946b31d -+PUB = 7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa -+Result = F -+ -+ -+# BoringSSL commit 3094902fcdc2db2cc832fa854b9a6a8be383926c -+MESSAGE = 124e583f8b8eca58bb29c271b41d36986bbc45541f8e51f9cb0133eca447601e -+SIG = dac119d6ca87fc59ae611c157048f4d4fc932a149dbe20ec6effd1436abf83ea05c7df0fef06147241259113909bc71bd3c53ba4464ffcad3c0968f2ffffff0f -+PUB = 100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86 -+Result = P -+ -+# Control. Same key as above; same message and signature as below, except S is in range. -+PUB = 100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86 -+MESSAGE = 6a0bc2b0057cedfc0fa2e3f7f7d39279b30f454a69dfd1117c758d86b19d85e0 -+SIG = 0971f86d2c9c78582524a103cb9cf949522ae528f8054dc20107d999be673ff4f58ac9d20ec563133cabc6230b1db8625f8446639ede46ad4df4053000000000 -+Result = P -+ -+# Same key as above, but S is out of range. -+# BoringSSL commit 472ba2c2dd52d06a657a63b7fbf02732a6649d21 -+PUB = 100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86 -+MESSAGE = 6a0bc2b0057cedfc0fa2e3f7f7d39279b30f454a69dfd1117c758d86b19d85e0 -+SIG = 0971f86d2c9c78582524a103cb9cf949522ae528f8054dc20107d999be673ff4e25ebf2f2928766b1248bec6e91697775f8446639ede46ad4df4053000000010 -+Result = F --- -Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא -GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 -Confidentiality cannot be guaranteed on emails sent or received unencrypted - diff --git a/gnu/packages/patches/rust-ring-0.17-ring-core.patch b/gnu/packages/patches/rust-ring-0.17-ring-core.patch new file mode 100644 index 0000000000..faa3a8a191 --- /dev/null +++ b/gnu/packages/patches/rust-ring-0.17-ring-core.patch @@ -0,0 +1,496 @@ +These two files are needed to finish generating the files for windows +and were generated using 'RING_PREGENERATE_ASM=1 cargo build +--target-dir=target/pregenerate_asm'. Included here so we don't need to +add cargo to the computed-source. + +--- + .../ring_core_generated/prefix_symbols_asm.h | 236 ++++++++++++++++++ + .../prefix_symbols_nasm.inc | 236 ++++++++++++++++++ + 2 files changed, 472 insertions(+) + create mode 100644 pregenerated/tmp/ring_core_generated/prefix_symbols_asm.h + create mode 100644 pregenerated/tmp/ring_core_generated/prefix_symbols_nasm.inc + +diff --git a/pregenerated/tmp/ring_core_generated/prefix_symbols_asm.h b/pregenerated/tmp/ring_core_generated/prefix_symbols_asm.h +new file mode 100644 +index 000000000..1cd766400 +--- /dev/null ++++ b/pregenerated/tmp/ring_core_generated/prefix_symbols_asm.h +@@ -0,0 +1,236 @@ ++ ++#ifndef ring_core_generated_PREFIX_SYMBOLS_ASM_H ++#define ring_core_generated_PREFIX_SYMBOLS_ASM_H ++ ++#if defined(__APPLE__) ++#define _ecp_nistz256_point_double _p256_point_double ++#define _ecp_nistz256_point_add _p256_point_add ++#define _ecp_nistz256_point_add_affine _p256_point_add_affine ++#define _ecp_nistz256_ord_mul_mont _p256_scalar_mul_mont ++#define _ecp_nistz256_ord_sqr_mont _p256_scalar_sqr_rep_mont ++#define _ecp_nistz256_mul_mont _p256_mul_mont ++#define _ecp_nistz256_sqr_mont _p256_sqr_mont ++#define _CRYPTO_memcmp _ring_core_0_17_7_CRYPTO_memcmp ++#define _CRYPTO_poly1305_finish _ring_core_0_17_7_CRYPTO_poly1305_finish ++#define _CRYPTO_poly1305_finish_neon _ring_core_0_17_7_CRYPTO_poly1305_finish_neon ++#define _CRYPTO_poly1305_init _ring_core_0_17_7_CRYPTO_poly1305_init ++#define _CRYPTO_poly1305_init_neon _ring_core_0_17_7_CRYPTO_poly1305_init_neon ++#define _CRYPTO_poly1305_update _ring_core_0_17_7_CRYPTO_poly1305_update ++#define _CRYPTO_poly1305_update_neon _ring_core_0_17_7_CRYPTO_poly1305_update_neon ++#define _ChaCha20_ctr32 _ring_core_0_17_7_ChaCha20_ctr32 ++#define _LIMBS_add_mod _ring_core_0_17_7_LIMBS_add_mod ++#define _LIMBS_are_even _ring_core_0_17_7_LIMBS_are_even ++#define _LIMBS_are_zero _ring_core_0_17_7_LIMBS_are_zero ++#define _LIMBS_equal _ring_core_0_17_7_LIMBS_equal ++#define _LIMBS_equal_limb _ring_core_0_17_7_LIMBS_equal_limb ++#define _LIMBS_less_than _ring_core_0_17_7_LIMBS_less_than ++#define _LIMBS_less_than_limb _ring_core_0_17_7_LIMBS_less_than_limb ++#define _LIMBS_reduce_once _ring_core_0_17_7_LIMBS_reduce_once ++#define _LIMBS_select_512_32 _ring_core_0_17_7_LIMBS_select_512_32 ++#define _LIMBS_shl_mod _ring_core_0_17_7_LIMBS_shl_mod ++#define _LIMBS_sub_mod _ring_core_0_17_7_LIMBS_sub_mod ++#define _LIMBS_window5_split_window _ring_core_0_17_7_LIMBS_window5_split_window ++#define _LIMBS_window5_unsplit_window _ring_core_0_17_7_LIMBS_window5_unsplit_window ++#define _LIMB_shr _ring_core_0_17_7_LIMB_shr ++#define _OPENSSL_armcap_P _ring_core_0_17_7_OPENSSL_armcap_P ++#define _OPENSSL_cpuid_setup _ring_core_0_17_7_OPENSSL_cpuid_setup ++#define _OPENSSL_ia32cap_P _ring_core_0_17_7_OPENSSL_ia32cap_P ++#define _aes_hw_ctr32_encrypt_blocks _ring_core_0_17_7_aes_hw_ctr32_encrypt_blocks ++#define _aes_hw_encrypt _ring_core_0_17_7_aes_hw_encrypt ++#define _aes_hw_set_encrypt_key _ring_core_0_17_7_aes_hw_set_encrypt_key ++#define _aes_nohw_ctr32_encrypt_blocks _ring_core_0_17_7_aes_nohw_ctr32_encrypt_blocks ++#define _aes_nohw_encrypt _ring_core_0_17_7_aes_nohw_encrypt ++#define _aes_nohw_set_encrypt_key _ring_core_0_17_7_aes_nohw_set_encrypt_key ++#define _aesni_gcm_decrypt _ring_core_0_17_7_aesni_gcm_decrypt ++#define _aesni_gcm_encrypt _ring_core_0_17_7_aesni_gcm_encrypt ++#define _bn_from_montgomery_in_place _ring_core_0_17_7_bn_from_montgomery_in_place ++#define _bn_gather5 _ring_core_0_17_7_bn_gather5 ++#define _bn_mul_mont _ring_core_0_17_7_bn_mul_mont ++#define _bn_mul_mont_gather5 _ring_core_0_17_7_bn_mul_mont_gather5 ++#define _bn_neg_inv_mod_r_u64 _ring_core_0_17_7_bn_neg_inv_mod_r_u64 ++#define _bn_power5 _ring_core_0_17_7_bn_power5 ++#define _bn_scatter5 _ring_core_0_17_7_bn_scatter5 ++#define _bn_sqr8x_internal _ring_core_0_17_7_bn_sqr8x_internal ++#define _bn_sqrx8x_internal _ring_core_0_17_7_bn_sqrx8x_internal ++#define _bsaes_ctr32_encrypt_blocks _ring_core_0_17_7_bsaes_ctr32_encrypt_blocks ++#define _bssl_constant_time_test_conditional_memcpy _ring_core_0_17_7_bssl_constant_time_test_conditional_memcpy ++#define _bssl_constant_time_test_conditional_memxor _ring_core_0_17_7_bssl_constant_time_test_conditional_memxor ++#define _bssl_constant_time_test_main _ring_core_0_17_7_bssl_constant_time_test_main ++#define _chacha20_poly1305_open _ring_core_0_17_7_chacha20_poly1305_open ++#define _chacha20_poly1305_seal _ring_core_0_17_7_chacha20_poly1305_seal ++#define _fiat_curve25519_adx_mul _ring_core_0_17_7_fiat_curve25519_adx_mul ++#define _fiat_curve25519_adx_square _ring_core_0_17_7_fiat_curve25519_adx_square ++#define _gcm_ghash_avx _ring_core_0_17_7_gcm_ghash_avx ++#define _gcm_ghash_clmul _ring_core_0_17_7_gcm_ghash_clmul ++#define _gcm_ghash_neon _ring_core_0_17_7_gcm_ghash_neon ++#define _gcm_gmult_clmul _ring_core_0_17_7_gcm_gmult_clmul ++#define _gcm_gmult_neon _ring_core_0_17_7_gcm_gmult_neon ++#define _gcm_init_avx _ring_core_0_17_7_gcm_init_avx ++#define _gcm_init_clmul _ring_core_0_17_7_gcm_init_clmul ++#define _gcm_init_neon _ring_core_0_17_7_gcm_init_neon ++#define _k25519Precomp _ring_core_0_17_7_k25519Precomp ++#define _limbs_mul_add_limb _ring_core_0_17_7_limbs_mul_add_limb ++#define _little_endian_bytes_from_scalar _ring_core_0_17_7_little_endian_bytes_from_scalar ++#define _ecp_nistz256_neg _ring_core_0_17_7_ecp_nistz256_neg ++#define _ecp_nistz256_select_w5 _ring_core_0_17_7_ecp_nistz256_select_w5 ++#define _ecp_nistz256_select_w7 _ring_core_0_17_7_ecp_nistz256_select_w7 ++#define _p256_mul_mont _ring_core_0_17_7_p256_mul_mont ++#define _p256_point_add _ring_core_0_17_7_p256_point_add ++#define _p256_point_add_affine _ring_core_0_17_7_p256_point_add_affine ++#define _p256_point_double _ring_core_0_17_7_p256_point_double ++#define _p256_point_mul _ring_core_0_17_7_p256_point_mul ++#define _p256_point_mul_base _ring_core_0_17_7_p256_point_mul_base ++#define _p256_point_mul_base_vartime _ring_core_0_17_7_p256_point_mul_base_vartime ++#define _p256_scalar_mul_mont _ring_core_0_17_7_p256_scalar_mul_mont ++#define _p256_scalar_sqr_rep_mont _ring_core_0_17_7_p256_scalar_sqr_rep_mont ++#define _p256_sqr_mont _ring_core_0_17_7_p256_sqr_mont ++#define _p384_elem_div_by_2 _ring_core_0_17_7_p384_elem_div_by_2 ++#define _p384_elem_mul_mont _ring_core_0_17_7_p384_elem_mul_mont ++#define _p384_elem_neg _ring_core_0_17_7_p384_elem_neg ++#define _p384_elem_sub _ring_core_0_17_7_p384_elem_sub ++#define _p384_point_add _ring_core_0_17_7_p384_point_add ++#define _p384_point_double _ring_core_0_17_7_p384_point_double ++#define _p384_point_mul _ring_core_0_17_7_p384_point_mul ++#define _p384_scalar_mul_mont _ring_core_0_17_7_p384_scalar_mul_mont ++#define _openssl_poly1305_neon2_addmulmod _ring_core_0_17_7_openssl_poly1305_neon2_addmulmod ++#define _openssl_poly1305_neon2_blocks _ring_core_0_17_7_openssl_poly1305_neon2_blocks ++#define _sha256_block_data_order _ring_core_0_17_7_sha256_block_data_order ++#define _sha512_block_data_order _ring_core_0_17_7_sha512_block_data_order ++#define _vpaes_ctr32_encrypt_blocks _ring_core_0_17_7_vpaes_ctr32_encrypt_blocks ++#define _vpaes_encrypt _ring_core_0_17_7_vpaes_encrypt ++#define _vpaes_encrypt_key_to_bsaes _ring_core_0_17_7_vpaes_encrypt_key_to_bsaes ++#define _vpaes_set_encrypt_key _ring_core_0_17_7_vpaes_set_encrypt_key ++#define _x25519_NEON _ring_core_0_17_7_x25519_NEON ++#define _x25519_fe_invert _ring_core_0_17_7_x25519_fe_invert ++#define _x25519_fe_isnegative _ring_core_0_17_7_x25519_fe_isnegative ++#define _x25519_fe_mul_ttt _ring_core_0_17_7_x25519_fe_mul_ttt ++#define _x25519_fe_neg _ring_core_0_17_7_x25519_fe_neg ++#define _x25519_fe_tobytes _ring_core_0_17_7_x25519_fe_tobytes ++#define _x25519_ge_double_scalarmult_vartime _ring_core_0_17_7_x25519_ge_double_scalarmult_vartime ++#define _x25519_ge_frombytes_vartime _ring_core_0_17_7_x25519_ge_frombytes_vartime ++#define _x25519_ge_scalarmult_base _ring_core_0_17_7_x25519_ge_scalarmult_base ++#define _x25519_ge_scalarmult_base_adx _ring_core_0_17_7_x25519_ge_scalarmult_base_adx ++#define _x25519_public_from_private_generic_masked _ring_core_0_17_7_x25519_public_from_private_generic_masked ++#define _x25519_sc_mask _ring_core_0_17_7_x25519_sc_mask ++#define _x25519_sc_muladd _ring_core_0_17_7_x25519_sc_muladd ++#define _x25519_sc_reduce _ring_core_0_17_7_x25519_sc_reduce ++#define _x25519_scalar_mult_adx _ring_core_0_17_7_x25519_scalar_mult_adx ++#define _x25519_scalar_mult_generic_masked _ring_core_0_17_7_x25519_scalar_mult_generic_masked ++ ++#else ++#define ecp_nistz256_point_double p256_point_double ++#define ecp_nistz256_point_add p256_point_add ++#define ecp_nistz256_point_add_affine p256_point_add_affine ++#define ecp_nistz256_ord_mul_mont p256_scalar_mul_mont ++#define ecp_nistz256_ord_sqr_mont p256_scalar_sqr_rep_mont ++#define ecp_nistz256_mul_mont p256_mul_mont ++#define ecp_nistz256_sqr_mont p256_sqr_mont ++#define CRYPTO_memcmp ring_core_0_17_7_CRYPTO_memcmp ++#define CRYPTO_poly1305_finish ring_core_0_17_7_CRYPTO_poly1305_finish ++#define CRYPTO_poly1305_finish_neon ring_core_0_17_7_CRYPTO_poly1305_finish_neon ++#define CRYPTO_poly1305_init ring_core_0_17_7_CRYPTO_poly1305_init ++#define CRYPTO_poly1305_init_neon ring_core_0_17_7_CRYPTO_poly1305_init_neon ++#define CRYPTO_poly1305_update ring_core_0_17_7_CRYPTO_poly1305_update ++#define CRYPTO_poly1305_update_neon ring_core_0_17_7_CRYPTO_poly1305_update_neon ++#define ChaCha20_ctr32 ring_core_0_17_7_ChaCha20_ctr32 ++#define LIMBS_add_mod ring_core_0_17_7_LIMBS_add_mod ++#define LIMBS_are_even ring_core_0_17_7_LIMBS_are_even ++#define LIMBS_are_zero ring_core_0_17_7_LIMBS_are_zero ++#define LIMBS_equal ring_core_0_17_7_LIMBS_equal ++#define LIMBS_equal_limb ring_core_0_17_7_LIMBS_equal_limb ++#define LIMBS_less_than ring_core_0_17_7_LIMBS_less_than ++#define LIMBS_less_than_limb ring_core_0_17_7_LIMBS_less_than_limb ++#define LIMBS_reduce_once ring_core_0_17_7_LIMBS_reduce_once ++#define LIMBS_select_512_32 ring_core_0_17_7_LIMBS_select_512_32 ++#define LIMBS_shl_mod ring_core_0_17_7_LIMBS_shl_mod ++#define LIMBS_sub_mod ring_core_0_17_7_LIMBS_sub_mod ++#define LIMBS_window5_split_window ring_core_0_17_7_LIMBS_window5_split_window ++#define LIMBS_window5_unsplit_window ring_core_0_17_7_LIMBS_window5_unsplit_window ++#define LIMB_shr ring_core_0_17_7_LIMB_shr ++#define OPENSSL_armcap_P ring_core_0_17_7_OPENSSL_armcap_P ++#define OPENSSL_cpuid_setup ring_core_0_17_7_OPENSSL_cpuid_setup ++#define OPENSSL_ia32cap_P ring_core_0_17_7_OPENSSL_ia32cap_P ++#define aes_hw_ctr32_encrypt_blocks ring_core_0_17_7_aes_hw_ctr32_encrypt_blocks ++#define aes_hw_encrypt ring_core_0_17_7_aes_hw_encrypt ++#define aes_hw_set_encrypt_key ring_core_0_17_7_aes_hw_set_encrypt_key ++#define aes_nohw_ctr32_encrypt_blocks ring_core_0_17_7_aes_nohw_ctr32_encrypt_blocks ++#define aes_nohw_encrypt ring_core_0_17_7_aes_nohw_encrypt ++#define aes_nohw_set_encrypt_key ring_core_0_17_7_aes_nohw_set_encrypt_key ++#define aesni_gcm_decrypt ring_core_0_17_7_aesni_gcm_decrypt ++#define aesni_gcm_encrypt ring_core_0_17_7_aesni_gcm_encrypt ++#define bn_from_montgomery_in_place ring_core_0_17_7_bn_from_montgomery_in_place ++#define bn_gather5 ring_core_0_17_7_bn_gather5 ++#define bn_mul_mont ring_core_0_17_7_bn_mul_mont ++#define bn_mul_mont_gather5 ring_core_0_17_7_bn_mul_mont_gather5 ++#define bn_neg_inv_mod_r_u64 ring_core_0_17_7_bn_neg_inv_mod_r_u64 ++#define bn_power5 ring_core_0_17_7_bn_power5 ++#define bn_scatter5 ring_core_0_17_7_bn_scatter5 ++#define bn_sqr8x_internal ring_core_0_17_7_bn_sqr8x_internal ++#define bn_sqrx8x_internal ring_core_0_17_7_bn_sqrx8x_internal ++#define bsaes_ctr32_encrypt_blocks ring_core_0_17_7_bsaes_ctr32_encrypt_blocks ++#define bssl_constant_time_test_conditional_memcpy ring_core_0_17_7_bssl_constant_time_test_conditional_memcpy ++#define bssl_constant_time_test_conditional_memxor ring_core_0_17_7_bssl_constant_time_test_conditional_memxor ++#define bssl_constant_time_test_main ring_core_0_17_7_bssl_constant_time_test_main ++#define chacha20_poly1305_open ring_core_0_17_7_chacha20_poly1305_open ++#define chacha20_poly1305_seal ring_core_0_17_7_chacha20_poly1305_seal ++#define fiat_curve25519_adx_mul ring_core_0_17_7_fiat_curve25519_adx_mul ++#define fiat_curve25519_adx_square ring_core_0_17_7_fiat_curve25519_adx_square ++#define gcm_ghash_avx ring_core_0_17_7_gcm_ghash_avx ++#define gcm_ghash_clmul ring_core_0_17_7_gcm_ghash_clmul ++#define gcm_ghash_neon ring_core_0_17_7_gcm_ghash_neon ++#define gcm_gmult_clmul ring_core_0_17_7_gcm_gmult_clmul ++#define gcm_gmult_neon ring_core_0_17_7_gcm_gmult_neon ++#define gcm_init_avx ring_core_0_17_7_gcm_init_avx ++#define gcm_init_clmul ring_core_0_17_7_gcm_init_clmul ++#define gcm_init_neon ring_core_0_17_7_gcm_init_neon ++#define k25519Precomp ring_core_0_17_7_k25519Precomp ++#define limbs_mul_add_limb ring_core_0_17_7_limbs_mul_add_limb ++#define little_endian_bytes_from_scalar ring_core_0_17_7_little_endian_bytes_from_scalar ++#define ecp_nistz256_neg ring_core_0_17_7_ecp_nistz256_neg ++#define ecp_nistz256_select_w5 ring_core_0_17_7_ecp_nistz256_select_w5 ++#define ecp_nistz256_select_w7 ring_core_0_17_7_ecp_nistz256_select_w7 ++#define p256_mul_mont ring_core_0_17_7_p256_mul_mont ++#define p256_point_add ring_core_0_17_7_p256_point_add ++#define p256_point_add_affine ring_core_0_17_7_p256_point_add_affine ++#define p256_point_double ring_core_0_17_7_p256_point_double ++#define p256_point_mul ring_core_0_17_7_p256_point_mul ++#define p256_point_mul_base ring_core_0_17_7_p256_point_mul_base ++#define p256_point_mul_base_vartime ring_core_0_17_7_p256_point_mul_base_vartime ++#define p256_scalar_mul_mont ring_core_0_17_7_p256_scalar_mul_mont ++#define p256_scalar_sqr_rep_mont ring_core_0_17_7_p256_scalar_sqr_rep_mont ++#define p256_sqr_mont ring_core_0_17_7_p256_sqr_mont ++#define p384_elem_div_by_2 ring_core_0_17_7_p384_elem_div_by_2 ++#define p384_elem_mul_mont ring_core_0_17_7_p384_elem_mul_mont ++#define p384_elem_neg ring_core_0_17_7_p384_elem_neg ++#define p384_elem_sub ring_core_0_17_7_p384_elem_sub ++#define p384_point_add ring_core_0_17_7_p384_point_add ++#define p384_point_double ring_core_0_17_7_p384_point_double ++#define p384_point_mul ring_core_0_17_7_p384_point_mul ++#define p384_scalar_mul_mont ring_core_0_17_7_p384_scalar_mul_mont ++#define openssl_poly1305_neon2_addmulmod ring_core_0_17_7_openssl_poly1305_neon2_addmulmod ++#define openssl_poly1305_neon2_blocks ring_core_0_17_7_openssl_poly1305_neon2_blocks ++#define sha256_block_data_order ring_core_0_17_7_sha256_block_data_order ++#define sha512_block_data_order ring_core_0_17_7_sha512_block_data_order ++#define vpaes_ctr32_encrypt_blocks ring_core_0_17_7_vpaes_ctr32_encrypt_blocks ++#define vpaes_encrypt ring_core_0_17_7_vpaes_encrypt ++#define vpaes_encrypt_key_to_bsaes ring_core_0_17_7_vpaes_encrypt_key_to_bsaes ++#define vpaes_set_encrypt_key ring_core_0_17_7_vpaes_set_encrypt_key ++#define x25519_NEON ring_core_0_17_7_x25519_NEON ++#define x25519_fe_invert ring_core_0_17_7_x25519_fe_invert ++#define x25519_fe_isnegative ring_core_0_17_7_x25519_fe_isnegative ++#define x25519_fe_mul_ttt ring_core_0_17_7_x25519_fe_mul_ttt ++#define x25519_fe_neg ring_core_0_17_7_x25519_fe_neg ++#define x25519_fe_tobytes ring_core_0_17_7_x25519_fe_tobytes ++#define x25519_ge_double_scalarmult_vartime ring_core_0_17_7_x25519_ge_double_scalarmult_vartime ++#define x25519_ge_frombytes_vartime ring_core_0_17_7_x25519_ge_frombytes_vartime ++#define x25519_ge_scalarmult_base ring_core_0_17_7_x25519_ge_scalarmult_base ++#define x25519_ge_scalarmult_base_adx ring_core_0_17_7_x25519_ge_scalarmult_base_adx ++#define x25519_public_from_private_generic_masked ring_core_0_17_7_x25519_public_from_private_generic_masked ++#define x25519_sc_mask ring_core_0_17_7_x25519_sc_mask ++#define x25519_sc_muladd ring_core_0_17_7_x25519_sc_muladd ++#define x25519_sc_reduce ring_core_0_17_7_x25519_sc_reduce ++#define x25519_scalar_mult_adx ring_core_0_17_7_x25519_scalar_mult_adx ++#define x25519_scalar_mult_generic_masked ring_core_0_17_7_x25519_scalar_mult_generic_masked ++ ++#endif ++#endif +diff --git a/pregenerated/tmp/ring_core_generated/prefix_symbols_nasm.inc b/pregenerated/tmp/ring_core_generated/prefix_symbols_nasm.inc +new file mode 100644 +index 000000000..65ce0cfaa +--- /dev/null ++++ b/pregenerated/tmp/ring_core_generated/prefix_symbols_nasm.inc +@@ -0,0 +1,236 @@ ++ ++%ifndef ring_core_generated_PREFIX_SYMBOLS_NASM_INC ++%define ring_core_generated_PREFIX_SYMBOLS_NASM_INC ++ ++%ifidn __OUTPUT_FORMAT__,win32 ++%define _ecp_nistz256_point_double _p256_point_double ++%define _ecp_nistz256_point_add _p256_point_add ++%define _ecp_nistz256_point_add_affine _p256_point_add_affine ++%define _ecp_nistz256_ord_mul_mont _p256_scalar_mul_mont ++%define _ecp_nistz256_ord_sqr_mont _p256_scalar_sqr_rep_mont ++%define _ecp_nistz256_mul_mont _p256_mul_mont ++%define _ecp_nistz256_sqr_mont _p256_sqr_mont ++%define _CRYPTO_memcmp _ring_core_0_17_7_CRYPTO_memcmp ++%define _CRYPTO_poly1305_finish _ring_core_0_17_7_CRYPTO_poly1305_finish ++%define _CRYPTO_poly1305_finish_neon _ring_core_0_17_7_CRYPTO_poly1305_finish_neon ++%define _CRYPTO_poly1305_init _ring_core_0_17_7_CRYPTO_poly1305_init ++%define _CRYPTO_poly1305_init_neon _ring_core_0_17_7_CRYPTO_poly1305_init_neon ++%define _CRYPTO_poly1305_update _ring_core_0_17_7_CRYPTO_poly1305_update ++%define _CRYPTO_poly1305_update_neon _ring_core_0_17_7_CRYPTO_poly1305_update_neon ++%define _ChaCha20_ctr32 _ring_core_0_17_7_ChaCha20_ctr32 ++%define _LIMBS_add_mod _ring_core_0_17_7_LIMBS_add_mod ++%define _LIMBS_are_even _ring_core_0_17_7_LIMBS_are_even ++%define _LIMBS_are_zero _ring_core_0_17_7_LIMBS_are_zero ++%define _LIMBS_equal _ring_core_0_17_7_LIMBS_equal ++%define _LIMBS_equal_limb _ring_core_0_17_7_LIMBS_equal_limb ++%define _LIMBS_less_than _ring_core_0_17_7_LIMBS_less_than ++%define _LIMBS_less_than_limb _ring_core_0_17_7_LIMBS_less_than_limb ++%define _LIMBS_reduce_once _ring_core_0_17_7_LIMBS_reduce_once ++%define _LIMBS_select_512_32 _ring_core_0_17_7_LIMBS_select_512_32 ++%define _LIMBS_shl_mod _ring_core_0_17_7_LIMBS_shl_mod ++%define _LIMBS_sub_mod _ring_core_0_17_7_LIMBS_sub_mod ++%define _LIMBS_window5_split_window _ring_core_0_17_7_LIMBS_window5_split_window ++%define _LIMBS_window5_unsplit_window _ring_core_0_17_7_LIMBS_window5_unsplit_window ++%define _LIMB_shr _ring_core_0_17_7_LIMB_shr ++%define _OPENSSL_armcap_P _ring_core_0_17_7_OPENSSL_armcap_P ++%define _OPENSSL_cpuid_setup _ring_core_0_17_7_OPENSSL_cpuid_setup ++%define _OPENSSL_ia32cap_P _ring_core_0_17_7_OPENSSL_ia32cap_P ++%define _aes_hw_ctr32_encrypt_blocks _ring_core_0_17_7_aes_hw_ctr32_encrypt_blocks ++%define _aes_hw_encrypt _ring_core_0_17_7_aes_hw_encrypt ++%define _aes_hw_set_encrypt_key _ring_core_0_17_7_aes_hw_set_encrypt_key ++%define _aes_nohw_ctr32_encrypt_blocks _ring_core_0_17_7_aes_nohw_ctr32_encrypt_blocks ++%define _aes_nohw_encrypt _ring_core_0_17_7_aes_nohw_encrypt ++%define _aes_nohw_set_encrypt_key _ring_core_0_17_7_aes_nohw_set_encrypt_key ++%define _aesni_gcm_decrypt _ring_core_0_17_7_aesni_gcm_decrypt ++%define _aesni_gcm_encrypt _ring_core_0_17_7_aesni_gcm_encrypt ++%define _bn_from_montgomery_in_place _ring_core_0_17_7_bn_from_montgomery_in_place ++%define _bn_gather5 _ring_core_0_17_7_bn_gather5 ++%define _bn_mul_mont _ring_core_0_17_7_bn_mul_mont ++%define _bn_mul_mont_gather5 _ring_core_0_17_7_bn_mul_mont_gather5 ++%define _bn_neg_inv_mod_r_u64 _ring_core_0_17_7_bn_neg_inv_mod_r_u64 ++%define _bn_power5 _ring_core_0_17_7_bn_power5 ++%define _bn_scatter5 _ring_core_0_17_7_bn_scatter5 ++%define _bn_sqr8x_internal _ring_core_0_17_7_bn_sqr8x_internal ++%define _bn_sqrx8x_internal _ring_core_0_17_7_bn_sqrx8x_internal ++%define _bsaes_ctr32_encrypt_blocks _ring_core_0_17_7_bsaes_ctr32_encrypt_blocks ++%define _bssl_constant_time_test_conditional_memcpy _ring_core_0_17_7_bssl_constant_time_test_conditional_memcpy ++%define _bssl_constant_time_test_conditional_memxor _ring_core_0_17_7_bssl_constant_time_test_conditional_memxor ++%define _bssl_constant_time_test_main _ring_core_0_17_7_bssl_constant_time_test_main ++%define _chacha20_poly1305_open _ring_core_0_17_7_chacha20_poly1305_open ++%define _chacha20_poly1305_seal _ring_core_0_17_7_chacha20_poly1305_seal ++%define _fiat_curve25519_adx_mul _ring_core_0_17_7_fiat_curve25519_adx_mul ++%define _fiat_curve25519_adx_square _ring_core_0_17_7_fiat_curve25519_adx_square ++%define _gcm_ghash_avx _ring_core_0_17_7_gcm_ghash_avx ++%define _gcm_ghash_clmul _ring_core_0_17_7_gcm_ghash_clmul ++%define _gcm_ghash_neon _ring_core_0_17_7_gcm_ghash_neon ++%define _gcm_gmult_clmul _ring_core_0_17_7_gcm_gmult_clmul ++%define _gcm_gmult_neon _ring_core_0_17_7_gcm_gmult_neon ++%define _gcm_init_avx _ring_core_0_17_7_gcm_init_avx ++%define _gcm_init_clmul _ring_core_0_17_7_gcm_init_clmul ++%define _gcm_init_neon _ring_core_0_17_7_gcm_init_neon ++%define _k25519Precomp _ring_core_0_17_7_k25519Precomp ++%define _limbs_mul_add_limb _ring_core_0_17_7_limbs_mul_add_limb ++%define _little_endian_bytes_from_scalar _ring_core_0_17_7_little_endian_bytes_from_scalar ++%define _ecp_nistz256_neg _ring_core_0_17_7_ecp_nistz256_neg ++%define _ecp_nistz256_select_w5 _ring_core_0_17_7_ecp_nistz256_select_w5 ++%define _ecp_nistz256_select_w7 _ring_core_0_17_7_ecp_nistz256_select_w7 ++%define _p256_mul_mont _ring_core_0_17_7_p256_mul_mont ++%define _p256_point_add _ring_core_0_17_7_p256_point_add ++%define _p256_point_add_affine _ring_core_0_17_7_p256_point_add_affine ++%define _p256_point_double _ring_core_0_17_7_p256_point_double ++%define _p256_point_mul _ring_core_0_17_7_p256_point_mul ++%define _p256_point_mul_base _ring_core_0_17_7_p256_point_mul_base ++%define _p256_point_mul_base_vartime _ring_core_0_17_7_p256_point_mul_base_vartime ++%define _p256_scalar_mul_mont _ring_core_0_17_7_p256_scalar_mul_mont ++%define _p256_scalar_sqr_rep_mont _ring_core_0_17_7_p256_scalar_sqr_rep_mont ++%define _p256_sqr_mont _ring_core_0_17_7_p256_sqr_mont ++%define _p384_elem_div_by_2 _ring_core_0_17_7_p384_elem_div_by_2 ++%define _p384_elem_mul_mont _ring_core_0_17_7_p384_elem_mul_mont ++%define _p384_elem_neg _ring_core_0_17_7_p384_elem_neg ++%define _p384_elem_sub _ring_core_0_17_7_p384_elem_sub ++%define _p384_point_add _ring_core_0_17_7_p384_point_add ++%define _p384_point_double _ring_core_0_17_7_p384_point_double ++%define _p384_point_mul _ring_core_0_17_7_p384_point_mul ++%define _p384_scalar_mul_mont _ring_core_0_17_7_p384_scalar_mul_mont ++%define _openssl_poly1305_neon2_addmulmod _ring_core_0_17_7_openssl_poly1305_neon2_addmulmod ++%define _openssl_poly1305_neon2_blocks _ring_core_0_17_7_openssl_poly1305_neon2_blocks ++%define _sha256_block_data_order _ring_core_0_17_7_sha256_block_data_order ++%define _sha512_block_data_order _ring_core_0_17_7_sha512_block_data_order ++%define _vpaes_ctr32_encrypt_blocks _ring_core_0_17_7_vpaes_ctr32_encrypt_blocks ++%define _vpaes_encrypt _ring_core_0_17_7_vpaes_encrypt ++%define _vpaes_encrypt_key_to_bsaes _ring_core_0_17_7_vpaes_encrypt_key_to_bsaes ++%define _vpaes_set_encrypt_key _ring_core_0_17_7_vpaes_set_encrypt_key ++%define _x25519_NEON _ring_core_0_17_7_x25519_NEON ++%define _x25519_fe_invert _ring_core_0_17_7_x25519_fe_invert ++%define _x25519_fe_isnegative _ring_core_0_17_7_x25519_fe_isnegative ++%define _x25519_fe_mul_ttt _ring_core_0_17_7_x25519_fe_mul_ttt ++%define _x25519_fe_neg _ring_core_0_17_7_x25519_fe_neg ++%define _x25519_fe_tobytes _ring_core_0_17_7_x25519_fe_tobytes ++%define _x25519_ge_double_scalarmult_vartime _ring_core_0_17_7_x25519_ge_double_scalarmult_vartime ++%define _x25519_ge_frombytes_vartime _ring_core_0_17_7_x25519_ge_frombytes_vartime ++%define _x25519_ge_scalarmult_base _ring_core_0_17_7_x25519_ge_scalarmult_base ++%define _x25519_ge_scalarmult_base_adx _ring_core_0_17_7_x25519_ge_scalarmult_base_adx ++%define _x25519_public_from_private_generic_masked _ring_core_0_17_7_x25519_public_from_private_generic_masked ++%define _x25519_sc_mask _ring_core_0_17_7_x25519_sc_mask ++%define _x25519_sc_muladd _ring_core_0_17_7_x25519_sc_muladd ++%define _x25519_sc_reduce _ring_core_0_17_7_x25519_sc_reduce ++%define _x25519_scalar_mult_adx _ring_core_0_17_7_x25519_scalar_mult_adx ++%define _x25519_scalar_mult_generic_masked _ring_core_0_17_7_x25519_scalar_mult_generic_masked ++ ++%else ++%define ecp_nistz256_point_double p256_point_double ++%define ecp_nistz256_point_add p256_point_add ++%define ecp_nistz256_point_add_affine p256_point_add_affine ++%define ecp_nistz256_ord_mul_mont p256_scalar_mul_mont ++%define ecp_nistz256_ord_sqr_mont p256_scalar_sqr_rep_mont ++%define ecp_nistz256_mul_mont p256_mul_mont ++%define ecp_nistz256_sqr_mont p256_sqr_mont ++%define CRYPTO_memcmp ring_core_0_17_7_CRYPTO_memcmp ++%define CRYPTO_poly1305_finish ring_core_0_17_7_CRYPTO_poly1305_finish ++%define CRYPTO_poly1305_finish_neon ring_core_0_17_7_CRYPTO_poly1305_finish_neon ++%define CRYPTO_poly1305_init ring_core_0_17_7_CRYPTO_poly1305_init ++%define CRYPTO_poly1305_init_neon ring_core_0_17_7_CRYPTO_poly1305_init_neon ++%define CRYPTO_poly1305_update ring_core_0_17_7_CRYPTO_poly1305_update ++%define CRYPTO_poly1305_update_neon ring_core_0_17_7_CRYPTO_poly1305_update_neon ++%define ChaCha20_ctr32 ring_core_0_17_7_ChaCha20_ctr32 ++%define LIMBS_add_mod ring_core_0_17_7_LIMBS_add_mod ++%define LIMBS_are_even ring_core_0_17_7_LIMBS_are_even ++%define LIMBS_are_zero ring_core_0_17_7_LIMBS_are_zero ++%define LIMBS_equal ring_core_0_17_7_LIMBS_equal ++%define LIMBS_equal_limb ring_core_0_17_7_LIMBS_equal_limb ++%define LIMBS_less_than ring_core_0_17_7_LIMBS_less_than ++%define LIMBS_less_than_limb ring_core_0_17_7_LIMBS_less_than_limb ++%define LIMBS_reduce_once ring_core_0_17_7_LIMBS_reduce_once ++%define LIMBS_select_512_32 ring_core_0_17_7_LIMBS_select_512_32 ++%define LIMBS_shl_mod ring_core_0_17_7_LIMBS_shl_mod ++%define LIMBS_sub_mod ring_core_0_17_7_LIMBS_sub_mod ++%define LIMBS_window5_split_window ring_core_0_17_7_LIMBS_window5_split_window ++%define LIMBS_window5_unsplit_window ring_core_0_17_7_LIMBS_window5_unsplit_window ++%define LIMB_shr ring_core_0_17_7_LIMB_shr ++%define OPENSSL_armcap_P ring_core_0_17_7_OPENSSL_armcap_P ++%define OPENSSL_cpuid_setup ring_core_0_17_7_OPENSSL_cpuid_setup ++%define OPENSSL_ia32cap_P ring_core_0_17_7_OPENSSL_ia32cap_P ++%define aes_hw_ctr32_encrypt_blocks ring_core_0_17_7_aes_hw_ctr32_encrypt_blocks ++%define aes_hw_encrypt ring_core_0_17_7_aes_hw_encrypt ++%define aes_hw_set_encrypt_key ring_core_0_17_7_aes_hw_set_encrypt_key ++%define aes_nohw_ctr32_encrypt_blocks ring_core_0_17_7_aes_nohw_ctr32_encrypt_blocks ++%define aes_nohw_encrypt ring_core_0_17_7_aes_nohw_encrypt ++%define aes_nohw_set_encrypt_key ring_core_0_17_7_aes_nohw_set_encrypt_key ++%define aesni_gcm_decrypt ring_core_0_17_7_aesni_gcm_decrypt ++%define aesni_gcm_encrypt ring_core_0_17_7_aesni_gcm_encrypt ++%define bn_from_montgomery_in_place ring_core_0_17_7_bn_from_montgomery_in_place ++%define bn_gather5 ring_core_0_17_7_bn_gather5 ++%define bn_mul_mont ring_core_0_17_7_bn_mul_mont ++%define bn_mul_mont_gather5 ring_core_0_17_7_bn_mul_mont_gather5 ++%define bn_neg_inv_mod_r_u64 ring_core_0_17_7_bn_neg_inv_mod_r_u64 ++%define bn_power5 ring_core_0_17_7_bn_power5 ++%define bn_scatter5 ring_core_0_17_7_bn_scatter5 ++%define bn_sqr8x_internal ring_core_0_17_7_bn_sqr8x_internal ++%define bn_sqrx8x_internal ring_core_0_17_7_bn_sqrx8x_internal ++%define bsaes_ctr32_encrypt_blocks ring_core_0_17_7_bsaes_ctr32_encrypt_blocks ++%define bssl_constant_time_test_conditional_memcpy ring_core_0_17_7_bssl_constant_time_test_conditional_memcpy ++%define bssl_constant_time_test_conditional_memxor ring_core_0_17_7_bssl_constant_time_test_conditional_memxor ++%define bssl_constant_time_test_main ring_core_0_17_7_bssl_constant_time_test_main ++%define chacha20_poly1305_open ring_core_0_17_7_chacha20_poly1305_open ++%define chacha20_poly1305_seal ring_core_0_17_7_chacha20_poly1305_seal ++%define fiat_curve25519_adx_mul ring_core_0_17_7_fiat_curve25519_adx_mul ++%define fiat_curve25519_adx_square ring_core_0_17_7_fiat_curve25519_adx_square ++%define gcm_ghash_avx ring_core_0_17_7_gcm_ghash_avx ++%define gcm_ghash_clmul ring_core_0_17_7_gcm_ghash_clmul ++%define gcm_ghash_neon ring_core_0_17_7_gcm_ghash_neon ++%define gcm_gmult_clmul ring_core_0_17_7_gcm_gmult_clmul ++%define gcm_gmult_neon ring_core_0_17_7_gcm_gmult_neon ++%define gcm_init_avx ring_core_0_17_7_gcm_init_avx ++%define gcm_init_clmul ring_core_0_17_7_gcm_init_clmul ++%define gcm_init_neon ring_core_0_17_7_gcm_init_neon ++%define k25519Precomp ring_core_0_17_7_k25519Precomp ++%define limbs_mul_add_limb ring_core_0_17_7_limbs_mul_add_limb ++%define little_endian_bytes_from_scalar ring_core_0_17_7_little_endian_bytes_from_scalar ++%define ecp_nistz256_neg ring_core_0_17_7_ecp_nistz256_neg ++%define ecp_nistz256_select_w5 ring_core_0_17_7_ecp_nistz256_select_w5 ++%define ecp_nistz256_select_w7 ring_core_0_17_7_ecp_nistz256_select_w7 ++%define p256_mul_mont ring_core_0_17_7_p256_mul_mont ++%define p256_point_add ring_core_0_17_7_p256_point_add ++%define p256_point_add_affine ring_core_0_17_7_p256_point_add_affine ++%define p256_point_double ring_core_0_17_7_p256_point_double ++%define p256_point_mul ring_core_0_17_7_p256_point_mul ++%define p256_point_mul_base ring_core_0_17_7_p256_point_mul_base ++%define p256_point_mul_base_vartime ring_core_0_17_7_p256_point_mul_base_vartime ++%define p256_scalar_mul_mont ring_core_0_17_7_p256_scalar_mul_mont ++%define p256_scalar_sqr_rep_mont ring_core_0_17_7_p256_scalar_sqr_rep_mont ++%define p256_sqr_mont ring_core_0_17_7_p256_sqr_mont ++%define p384_elem_div_by_2 ring_core_0_17_7_p384_elem_div_by_2 ++%define p384_elem_mul_mont ring_core_0_17_7_p384_elem_mul_mont ++%define p384_elem_neg ring_core_0_17_7_p384_elem_neg ++%define p384_elem_sub ring_core_0_17_7_p384_elem_sub ++%define p384_point_add ring_core_0_17_7_p384_point_add ++%define p384_point_double ring_core_0_17_7_p384_point_double ++%define p384_point_mul ring_core_0_17_7_p384_point_mul ++%define p384_scalar_mul_mont ring_core_0_17_7_p384_scalar_mul_mont ++%define openssl_poly1305_neon2_addmulmod ring_core_0_17_7_openssl_poly1305_neon2_addmulmod ++%define openssl_poly1305_neon2_blocks ring_core_0_17_7_openssl_poly1305_neon2_blocks ++%define sha256_block_data_order ring_core_0_17_7_sha256_block_data_order ++%define sha512_block_data_order ring_core_0_17_7_sha512_block_data_order ++%define vpaes_ctr32_encrypt_blocks ring_core_0_17_7_vpaes_ctr32_encrypt_blocks ++%define vpaes_encrypt ring_core_0_17_7_vpaes_encrypt ++%define vpaes_encrypt_key_to_bsaes ring_core_0_17_7_vpaes_encrypt_key_to_bsaes ++%define vpaes_set_encrypt_key ring_core_0_17_7_vpaes_set_encrypt_key ++%define x25519_NEON ring_core_0_17_7_x25519_NEON ++%define x25519_fe_invert ring_core_0_17_7_x25519_fe_invert ++%define x25519_fe_isnegative ring_core_0_17_7_x25519_fe_isnegative ++%define x25519_fe_mul_ttt ring_core_0_17_7_x25519_fe_mul_ttt ++%define x25519_fe_neg ring_core_0_17_7_x25519_fe_neg ++%define x25519_fe_tobytes ring_core_0_17_7_x25519_fe_tobytes ++%define x25519_ge_double_scalarmult_vartime ring_core_0_17_7_x25519_ge_double_scalarmult_vartime ++%define x25519_ge_frombytes_vartime ring_core_0_17_7_x25519_ge_frombytes_vartime ++%define x25519_ge_scalarmult_base ring_core_0_17_7_x25519_ge_scalarmult_base ++%define x25519_ge_scalarmult_base_adx ring_core_0_17_7_x25519_ge_scalarmult_base_adx ++%define x25519_public_from_private_generic_masked ring_core_0_17_7_x25519_public_from_private_generic_masked ++%define x25519_sc_mask ring_core_0_17_7_x25519_sc_mask ++%define x25519_sc_muladd ring_core_0_17_7_x25519_sc_muladd ++%define x25519_sc_reduce ring_core_0_17_7_x25519_sc_reduce ++%define x25519_scalar_mult_adx ring_core_0_17_7_x25519_scalar_mult_adx ++%define x25519_scalar_mult_generic_masked ring_core_0_17_7_x25519_scalar_mult_generic_masked ++ ++%endif ++%endif diff --git a/gnu/packages/patches/rust-rspec-1-remove-clippy.patch b/gnu/packages/patches/rust-rspec-1-remove-clippy.patch new file mode 100644 index 0000000000..46c994f7ee --- /dev/null +++ b/gnu/packages/patches/rust-rspec-1-remove-clippy.patch @@ -0,0 +1,16 @@ +Remove the dependency on clippy + +diff --git a/Cargo.toml b/Cargo.toml +index 177cb80..7260c34 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -39,9 +39,6 @@ version = "1.5" + + [dependencies.time] + version = "0.2" +-[build-dependencies.clippy] +-version = "0.0.153" +-optional = true + + [features] + default = [] diff --git a/gnu/packages/patches/rust-trash-2-update-windows.patch b/gnu/packages/patches/rust-trash-2-update-windows.patch new file mode 100644 index 0000000000..f6b13a4658 --- /dev/null +++ b/gnu/packages/patches/rust-trash-2-update-windows.patch @@ -0,0 +1,132 @@ +This patch is taken from upstream so we can use an already packaged +version of the windows crate. + +diff --git a/Cargo.toml b/Cargo.toml +index 2c28dfe..6b61771 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -87,9 +87,8 @@ version = "0.2.7" + version = "1.0.0" + + [target."cfg(windows)".dependencies.windows] +-version = "0.37.0" ++version = "0.44.0" + features = [ +- "alloc", + "Win32_Foundation", + "Win32_System_Com_StructuredStorage", + "Win32_UI_Shell_PropertiesSystem", +diff --git a/Cargo.toml.orig b/Cargo.toml.orig +index 894a78c..c17fc02 100644 +--- a/Cargo.toml.orig ++++ b/Cargo.toml.orig +@@ -44,7 +44,7 @@ once_cell = "1.7.2" + once_cell = "1.7.2" + + [target.'cfg(windows)'.dependencies] +-windows = { version = "0.37.0", features = [ "alloc", ++windows = { version = "0.44.0", features = [ + "Win32_Foundation", + "Win32_System_Com_StructuredStorage", + "Win32_UI_Shell_PropertiesSystem", +diff --git a/src/windows.rs b/src/windows.rs +index c1379d3..3f4426b 100644 +--- a/src/windows.rs ++++ b/src/windows.rs +@@ -1,7 +1,6 @@ + use crate::{Error, TrashContext, TrashItem}; + use std::{ +- ffi::{OsStr, OsString}, +- mem::MaybeUninit, ++ ffi::{c_void, OsStr, OsString}, + os::windows::{ffi::OsStrExt, prelude::*}, + path::PathBuf, + }; +@@ -66,7 +65,7 @@ impl TrashContext { + let shi: IShellItem = + SHCreateItemFromParsingName(PCWSTR(wide_path_slice.as_ptr()), None)?; + +- pfo.DeleteItem(shi, None)?; ++ pfo.DeleteItem(&shi, None)?; + } + pfo.PerformOperations()?; + Ok(()) +@@ -78,28 +77,18 @@ pub fn list() -> Result<Vec<TrashItem>, Error> { + ensure_com_initialized(); + unsafe { + let mut item_vec = Vec::new(); +- let mut recycle_bin = MaybeUninit::<Option<IShellItem>>::uninit(); + +- SHGetKnownFolderItem( +- &FOLDERID_RecycleBinFolder, +- KF_FLAG_DEFAULT, +- HANDLE::default(), +- &IShellItem::IID, +- recycle_bin.as_mut_ptr() as _, +- )?; +- +- let recycle_bin = recycle_bin.assume_init().ok_or(Error::Unknown { +- description: "SHGetKnownFolderItem gave NULL for FOLDERID_RecycleBinFolder".into(), +- })?; ++ let recycle_bin: IShellItem = ++ SHGetKnownFolderItem(&FOLDERID_RecycleBinFolder, KF_FLAG_DEFAULT, HANDLE::default())?; + + let pesi: IEnumShellItems = recycle_bin.BindToHandler(None, &BHID_EnumItems)?; +- let mut fetched: u32 = 0; + + loop { ++ let mut fetched_count: u32 = 0; + let mut arr = [None]; +- pesi.Next(&mut arr, &mut fetched)?; ++ pesi.Next(&mut arr, Some(&mut fetched_count as *mut u32))?; + +- if fetched == 0 { ++ if fetched_count == 0 { + break; + } + +@@ -145,7 +134,7 @@ where + at_least_one = true; + let id_as_wide: Vec<u16> = item.id.encode_wide().chain(std::iter::once(0)).collect(); + let parsing_name = PCWSTR(id_as_wide.as_ptr()); +- let trash_item: IShellItem = SHCreateItemFromParsingName(&parsing_name, None)?; ++ let trash_item: IShellItem = SHCreateItemFromParsingName(parsing_name, None)?; + pfo.DeleteItem(&trash_item, None)?; + } + if at_least_one { +@@ -181,7 +170,7 @@ where + for item in items.iter() { + let id_as_wide: Vec<u16> = item.id.encode_wide().chain(std::iter::once(0)).collect(); + let parsing_name = PCWSTR(id_as_wide.as_ptr()); +- let trash_item: IShellItem = SHCreateItemFromParsingName(&parsing_name, None)?; ++ let trash_item: IShellItem = SHCreateItemFromParsingName(parsing_name, None)?; + let parent_path_wide: Vec<_> = + item.original_parent.as_os_str().encode_wide().chain(std::iter::once(0)).collect(); + let orig_folder_shi: IShellItem = +@@ -191,7 +180,7 @@ where + .chain(std::iter::once(0)) + .collect(); + +- pfo.MoveItem(trash_item, orig_folder_shi, PCWSTR(name_wstr.as_ptr()), None)?; ++ pfo.MoveItem(&trash_item, &orig_folder_shi, PCWSTR(name_wstr.as_ptr()), None)?; + } + if !items.is_empty() { + pfo.PerformOperations()?; +@@ -203,7 +192,7 @@ where + unsafe fn get_display_name(psi: &IShellItem, sigdnname: SIGDN) -> Result<OsString, Error> { + let name = psi.GetDisplayName(sigdnname)?; + let result = wstr_to_os_string(name); +- CoTaskMemFree(name.0 as _); ++ CoTaskMemFree(Some(name.0 as *const c_void)); + Ok(result) + } + +@@ -257,7 +246,7 @@ impl CoInitializer { + if cfg!(feature = "coinit_speed_over_memory") { + init_mode |= COINIT_SPEED_OVER_MEMORY; + } +- let hr = unsafe { CoInitializeEx(std::ptr::null_mut(), init_mode) }; ++ let hr = unsafe { CoInitializeEx(None, init_mode) }; + if hr.is_err() { + panic!("Call to CoInitializeEx failed. HRESULT: {:?}. Consider using `trash` with the feature `coinit_multithreaded`", hr); + } diff --git a/gnu/packages/patches/rustc-1.54.0-src.patch b/gnu/packages/patches/rustc-1.54.0-src.patch index d075dce39b..d322fd0d49 100644 --- a/gnu/packages/patches/rustc-1.54.0-src.patch +++ b/gnu/packages/patches/rustc-1.54.0-src.patch @@ -28,51 +28,111 @@ rustc_data_structures::static_assert_size!(ForeignItemKind, 72); impl From<ForeignItemKind> for ItemKind { + --- compiler/rustc_hir/src/hir.rs +++ compiler/rustc_hir/src/hir.rs -@@ -3050,3 +3050,3 @@ +@@ -3048,7 +3048,7 @@ impl<'hir> Node<'hir> { + } + // Some nodes are used a lot. Make sure they don't unintentionally get bigger. -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[cfg(all(not(rust_compiler="mrustc"),target_arch = "x86_64", target_pointer_width = "64"))] mod size_asserts { + rustc_data_structures::static_assert_size!(super::Block<'static>, 48); + rustc_data_structures::static_assert_size!(super::Expr<'static>, 64); + --- compiler/rustc_middle/src/mir/interpret/error.rs +++ compiler/rustc_middle/src/mir/interpret/error.rs -@@ -452,2 +452,2 @@ +@@ -449,7 +449,7 @@ impl dyn MachineStopType { + } + } + -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[cfg(all(not(rust_compiler="mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] static_assert_size!(InterpError<'_>, 64); + + pub enum InterpError<'tcx> { + --- compiler/rustc_middle/src/mir/mod.rs +++ compiler/rustc_middle/src/mir/mod.rs -@@ -2203,2 +2203,2 @@ +@@ -2200,7 +2200,7 @@ pub enum AggregateKind<'tcx> { + Generator(DefId, SubstsRef<'tcx>, hir::Movability), + } + -#[cfg(target_arch = "x86_64")] +#[cfg(all(not(rust_compiler="mrustc"), target_arch = "x86_64"))] static_assert_size!(AggregateKind<'_>, 48); + + #[derive(Copy, Clone, Debug, PartialEq, PartialOrd, Eq, TyEncodable, TyDecodable, Hash, HashStable)] + --- compiler/rustc_middle/src/thir.rs +++ compiler/rustc_middle/src/thir.rs -@@ -147,2 +147,2 @@ +@@ -144,7 +144,7 @@ pub enum StmtKind<'tcx> { + } + + // `Expr` is used a lot. Make sure it doesn't unintentionally get bigger. -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[cfg(all(not(rust_compiler="mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] rustc_data_structures::static_assert_size!(Expr<'_>, 144); ---- compiler/rustc_mir/src/interpret/place.rs -+++ compiler/rustc_mir/src/interpret/place.rs -@@ -91,2 +91,2 @@ --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(Place, 64); -@@ -100,2 +100,2 @@ --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(PlaceTy<'_>, 80); + + /// The Thir trait implementor lowers their expressions (`&'tcx H::Expr`) + --- compiler/rustc_mir/src/interpret/operand.rs +++ compiler/rustc_mir/src/interpret/operand.rs -@@ -35,2 +35,2 @@ +@@ -32,7 +32,7 @@ pub enum Immediate<Tag = ()> { + ScalarPair(ScalarMaybeUninit<Tag>, ScalarMaybeUninit<Tag>), + } + -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] rustc_data_structures::static_assert_size!(Immediate, 56); -@@ -90,2 +90,2 @@ + + impl<Tag> From<ScalarMaybeUninit<Tag>> for Immediate<Tag> { +@@ -87,7 +87,7 @@ pub struct ImmTy<'tcx, Tag = ()> { + pub layout: TyAndLayout<'tcx>, + } + -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] rustc_data_structures::static_assert_size!(ImmTy<'_>, 72); + + impl<Tag: Copy> std::fmt::Display for ImmTy<'tcx, Tag> { + +--- compiler/rustc_mir/src/interpret/place.rs ++++ compiler/rustc_mir/src/interpret/place.rs +@@ -88,7 +88,7 @@ pub enum Place<Tag = ()> { + Local { frame: usize, local: mir::Local }, + } + +-#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] ++#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] + rustc_data_structures::static_assert_size!(Place, 64); + + #[derive(Copy, Clone, Debug)] +@@ -97,7 +97,7 @@ pub struct PlaceTy<'tcx, Tag = ()> { + pub layout: TyAndLayout<'tcx>, + } + +-#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] ++#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] + rustc_data_structures::static_assert_size!(PlaceTy<'_>, 80); + + impl<'tcx, Tag> std::ops::Deref for PlaceTy<'tcx, Tag> { + +# +# Disable std_detect's detection logic (use the same logic as miri) +# +--- library/stdarch/crates/std_detect/src/detect/mod.rs ++++ library/stdarch/crates/std_detect/src/detect/mod.rs +@@ -86,7 +86,7 @@ mod bit; + mod cache; + + cfg_if! { +- if #[cfg(miri)] { ++ if #[cfg(any(miri, rust_compiler = "mrustc"))] { + // When running under miri all target-features that are not enabled at + // compile-time are reported as disabled at run-time. + // # # Disable crc32fast's use of stdarch @@ -88,19 +148,145 @@ ))] { # -# Disable std_detect's detection logic (use the same logic as miri) +# Backport which is required to support arm64 on macOS 12 +# See: https://github.com/alexcrichton/curl-rust/commit/0aea09c428b9bc2bcf46da0fc33959fe3f03c74a # ---- library/stdarch/crates/std_detect/src/detect/mod.rs -+++ library/stdarch/crates/std_detect/src/detect/mod.rs -@@ -88,2 +88,2 @@ - cfg_if! { -- if #[cfg(miri)] { -+ if #[cfg(any(miri, rust_compiler = "mrustc"))] { +--- vendor/curl/src/lib.rs ++++ vendor/curl/src/lib.rs +@@ -82,6 +82,9 @@ pub mod easy; + pub mod multi; + mod panic; + ++#[cfg(test)] ++static INITIALIZED: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false); ++ + /// Initializes the underlying libcurl library. + /// + /// The underlying libcurl library must be initialized before use, and must be +@@ -102,46 +105,62 @@ pub fn init() { + /// Used to prevent concurrent or duplicate initialization. + static INIT: Once = Once::new(); + +- /// An exported constructor function. On supported platforms, this will be +- /// invoked automatically before the program's `main` is called. +- #[cfg_attr( +- any(target_os = "linux", target_os = "freebsd", target_os = "android"), +- link_section = ".init_array" +- )] +- #[cfg_attr(target_os = "macos", link_section = "__DATA,__mod_init_func")] +- #[cfg_attr(target_os = "windows", link_section = ".CRT$XCU")] +- static INIT_CTOR: extern "C" fn() = init_inner; ++ INIT.call_once(|| { ++ #[cfg(need_openssl_init)] ++ openssl_probe::init_ssl_cert_env_vars(); ++ #[cfg(need_openssl_init)] ++ openssl_sys::init(); ++ ++ unsafe { ++ assert_eq!(curl_sys::curl_global_init(curl_sys::CURL_GLOBAL_ALL), 0); ++ } ++ ++ #[cfg(test)] ++ { ++ INITIALIZED.store(true, std::sync::atomic::Ordering::SeqCst); ++ } ++ ++ // Note that we explicitly don't schedule a call to ++ // `curl_global_cleanup`. The documentation for that function says ++ // ++ // > You must not call it when any other thread in the program (i.e. a ++ // > thread sharing the same memory) is running. This doesn't just mean ++ // > no other thread that is using libcurl. ++ // ++ // We can't ever be sure of that, so unfortunately we can't call the ++ // function. ++ }); ++} + ++/// An exported constructor function. On supported platforms, this will be ++/// invoked automatically before the program's `main` is called. This is done ++/// for the convenience of library users since otherwise the thread-safety rules ++/// around initialization can be difficult to fulfill. ++/// ++/// This is a hidden public item to ensure the symbol isn't optimized away by a ++/// rustc/LLVM bug: https://github.com/rust-lang/rust/issues/47384. As long as ++/// any item in this module is used by the final binary (which `init` will be) ++/// then this symbol should be preserved. ++#[used] ++#[doc(hidden)] ++#[cfg_attr( ++ any(target_os = "linux", target_os = "freebsd", target_os = "android"), ++ link_section = ".init_array" ++)] ++#[cfg_attr(target_os = "macos", link_section = "__DATA,__mod_init_func")] ++#[cfg_attr(target_os = "windows", link_section = ".CRT$XCU")] ++pub static INIT_CTOR: extern "C" fn() = { + /// This is the body of our constructor function. + #[cfg_attr( + any(target_os = "linux", target_os = "android"), + link_section = ".text.startup" + )] +- extern "C" fn init_inner() { +- INIT.call_once(|| { +- #[cfg(need_openssl_init)] +- openssl_sys::init(); +- +- unsafe { +- assert_eq!(curl_sys::curl_global_init(curl_sys::CURL_GLOBAL_ALL), 0); +- } +- +- // Note that we explicitly don't schedule a call to +- // `curl_global_cleanup`. The documentation for that function says +- // +- // > You must not call it when any other thread in the program (i.e. +- // > a thread sharing the same memory) is running. This doesn't just +- // > mean no other thread that is using libcurl. +- // +- // We can't ever be sure of that, so unfortunately we can't call the +- // function. +- }); ++ extern "C" fn init_ctor() { ++ init(); + } + +- // We invoke our init function through our static to ensure the symbol isn't +- // optimized away by a bug: https://github.com/rust-lang/rust/issues/47384 +- INIT_CTOR(); +-} ++ init_ctor ++}; + + unsafe fn opt_str<'a>(ptr: *const libc::c_char) -> Option<&'a str> { + if ptr.is_null() { +@@ -158,3 +177,20 @@ fn cvt(r: curl_sys::CURLcode) -> Result<(), Error> { + Err(Error::new(r)) + } + } ++ ++#[cfg(test)] ++mod tests { ++ use super::*; ++ ++ #[test] ++ #[cfg(any( ++ target_os = "linux", ++ target_os = "macos", ++ target_os = "windows", ++ target_os = "freebsd", ++ target_os = "android" ++ ))] ++ fn is_initialized_before_main() { ++ assert!(INITIALIZED.load(std::sync::atomic::Ordering::SeqCst)); ++ } ++} # PPV-Lite also needs to know that we're pretending to be miri --- vendor/ppv-lite86/src/lib.rs +++ vendor/ppv-lite86/src/lib.rs -@@ -12,9 +12,9 @@ +@@ -9,14 +9,14 @@ mod soft; + mod types; + pub use self::types::*; + -#[cfg(all(feature = "simd", target_arch = "x86_64", not(miri)))] +#[cfg(all(feature = "simd", target_arch = "x86_64", not(miri), not(rust_compiler = "mrustc")))] pub mod x86_64; @@ -114,4 +300,5 @@ -#[cfg(any(miri, not(all(feature = "simd", any(target_arch = "x86_64")))))] +#[cfg(any(miri, rust_compiler = "mrustc", not(all(feature = "simd", any(target_arch = "x86_64")))))] use self::generic as arch; - + + pub use self::arch::{vec128_storage, vec256_storage, vec512_storage}; diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index bb1df3e9aa..2ea457cdba 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -216,13 +216,13 @@ PyPI (pypi.org).") (define-public python-typing-extensions (package (name "python-typing-extensions") - (version "4.5.0") + (version "4.9.0") (source (origin (method url-fetch) (uri (pypi-uri "typing_extensions" version)) (sha256 (base32 - "1jx7ki3sji60v7h2805b2phq9ynsvshj5xiygdh9kmirj6kz9daw")))) + "10spkx7xjbxwcsgkqv483c5kn53s042wkrmfr1mdf9vzqf48yir3")))) (build-system pyproject-build-system) ;; Disable the test suite to keep the dependencies to a minimum. Also, ;; the test suite requires Python's test module, not available in Guix. diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index b787d6207f..ff6b3a3e1a 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -57,6 +57,7 @@ #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls) #:use-module (gnu packages crypto) #:use-module (gnu packages kerberos) #:use-module (gnu packages libffi) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cb74de1051..0abd25df07 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14,7 +14,7 @@ ;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <leo@famulari.name> ;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com> -;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2017, 2020 Kyle Meyer <kyle@kyleam.com> ;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org> @@ -181,6 +181,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) @@ -577,7 +578,13 @@ workspaces. (method url-fetch) (uri (pypi-uri "databind.core" version)) (sha256 - (base32 "130hr19kbzizx9n2q7cwfzfk20ii3cqmqjrzb16psnafll303k2d")))) + (base32 "130hr19kbzizx9n2q7cwfzfk20ii3cqmqjrzb16psnafll303k2d")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; The problem with python-typing-extensions >= 4.7 is only + ;; with python-3.7. + (substitute* "pyproject.toml" + ((",<4.7.*") "\"\n")))))) (build-system pyproject-build-system) (arguments (list @@ -622,7 +629,13 @@ Python dataclasses.") (method url-fetch) (uri (pypi-uri "databind.json" version)) (sha256 - (base32 "1lm864d7arfq0pw64hyc83bwn1z94wjg7a22q1xf0qkjynqs70gg")))) + (base32 "1lm864d7arfq0pw64hyc83bwn1z94wjg7a22q1xf0qkjynqs70gg")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; The problem with python-typing-extensions >= 4.7 is only + ;; with python-3.7. + (substitute* "pyproject.toml" + ((",<4.7.*") "\"\n")))))) (build-system pyproject-build-system) (arguments (list @@ -6239,6 +6252,30 @@ important tasks for becoming a daemon process: ;; Only setup.py is gpl3+, everything else is apache 2.0 licensed. (license (list license:asl2.0 license:gpl3+)))) +(define-public python-annotated-types + (package + (name "python-annotated-types") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "annotated_types" version)) + (sha256 + (base32 "0paaz0i4xqk335ji5w887i2bhgm2krnzr6by4sfgsgz50zl3jcsn")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling + python-pytest)) + (propagated-inputs (list python-typing-extensions)) + (home-page "https://github.com/annotated-types/annotated-types") + (synopsis "Reusable constraint types to use with typing.Annotated") + (description "This package provides metadata objects which can be used to +represent common constraints such as upper and lower bounds on scalar values and +collection sizes, a Predicate marker for runtime checks, and descriptions of how +we intend these metadata to be interpreted. In some cases, we also note +alternative representations which do not require this package.") + (license license:expat))) + (define-public python-anytree (package (name "python-anytree") @@ -7397,6 +7434,101 @@ which can produce feeds in RSS 2.0, RSS 0.91, and Atom formats.") errors when data is invalid.") (license license:expat))) +(define-public python-pydantic-2 + (package + (inherit python-pydantic) + (name "python-pydantic") + (version "2.5.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pydantic" version)) + (sha256 + (base32 "0yiz75zp93x6x2czm772cz5pzn00i703irncjwb99c1m4p35gvxk")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--ignore=tests/test_docs.py" ; no pytest_examples + ;; need python-email-validator >= 2.0.0 + "-k not test_fastapi_startup_perf") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Remove the addopts from pyproject.toml, it breaks the 'check phase. + (substitute* "pyproject.toml" + (("'--benchmark") "#'--benchmark"))))))) + (native-inputs + (list python-hatchling + python-hatch-fancy-pypi-readme + python-cloudpickle + python-dirty-equals + python-faker + python-pytest + python-pytest-benchmark + python-pytest-mock)) + (propagated-inputs + (list python-annotated-types + python-pydantic-core + python-typing-extensions)))) + +(define-public python-pydantic-core + (package + (name "python-pydantic-core") + (version "2.14.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pydantic_core" version)) + (sha256 + (base32 "0j79pd6ixapsiwsigsxzmvbrpmdr7f7c4l9sl7xl6a1pjp9w3l0z")))) + (build-system cargo-build-system) + (arguments + (list + #:imported-modules `(,@%cargo-build-system-modules + ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) #:prefix py:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'prepare-python-module 'build-python-module + (assoc-ref py:%standard-phases 'build)) + (add-after 'build-python-module 'install-python-module + (assoc-ref py:%standard-phases 'install))) + #:cargo-inputs + `(("rust-ahash" ,rust-ahash-0.8) + ("rust-base64" ,rust-base64-0.21) + ("rust-enum-dispatch" ,rust-enum-dispatch-0.3) + ("rust-idna" ,rust-idna-0.4) + ("rust-jiter" ,rust-jiter-0.0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) + ("rust-regex" ,rust-regex-1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-speedate" ,rust-speedate-0.13) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs + `(("rust-pyo3" ,rust-pyo3-0.20)) + #:install-source? #false)) + (native-inputs + (list maturin python-wrapper)) + (propagated-inputs + (list python-typing-extensions)) + (home-page "https://github.com/pydantic/pydantic-core") + (synopsis "Core validation logic for pydantic") + (description "This package provides the core functionality for pydantic +validation and serialization.") + (license license:expat))) + (define-public python-pydantic-cli (package (name "python-pydantic-cli") diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index ab8534f64a..01e01ecba3 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> -;;; Copyright © 2019-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020 Leo Famulari <leo@famulari.name> @@ -25,8 +25,11 @@ ;;; Copyright © 2022 Greg Hogan <code@greghogan.com> ;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com> ;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu> -;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com> +;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> +;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; ;;; This file is part of GNU Guix. ;;; @@ -58,8 +61,14 @@ #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-vcs) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) @@ -74,10 +83,12 @@ #:use-module (gnu packages kde) #:use-module (gnu packages linux) #:use-module (gnu packages networking) + #:use-module (gnu packages shells) #:use-module (gnu packages ssh) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-build) @@ -91,31 +102,35 @@ (define-public agate (package (name "agate") - (version "2.5.2") + (version "3.2.4") (source (origin (method url-fetch) (uri (crate-uri "agate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mhrl4j5r6wzsnwpqsbgzny5vqschyjm3gnk4y88har7skk7j19v")))) + (base32 "1wvbhzm4k3hdy8x7aq8rj3galhgfizdwf5fi419hzvg3kmvbawh1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-configparser" ,rust-configparser-2) - ("rust-env-logger" ,rust-env-logger-0.8) + `(#:install-source? #f + #:cargo-inputs + (("rust-configparser" ,rust-configparser-3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-futures-util" ,rust-futures-util-0.3) ("rust-getopts" ,rust-getopts-0.2) ("rust-glob" ,rust-glob-0.3) ("rust-log" ,rust-log-0.4) ("rust-mime-guess" ,rust-mime-guess-2) ("rust-once-cell" ,rust-once-cell-1) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rustls" ,rust-rustls-0.19) + ("rust-rcgen" ,rust-rcgen-0.9) + ("rust-rustls" ,rust-rustls-0.20) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) - ("rust-url" ,rust-url-2)))) - (native-inputs - (list perl)) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) + ("rust-url" ,rust-url-2) + ("rust-webpki" ,rust-webpki-0.22)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-gemini-fetch" ,rust-gemini-fetch-0.2)))) (home-page "https://github.com/mbrubeck/agate") (synopsis "Very simple server for the Gemini hypertext protocol") (description @@ -192,7 +207,7 @@ low-end hardware and serving many concurrent requests.") (("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-serde-derive" ,rust-serde-derive-1)))) (native-inputs - (list perl pkg-config)) + (list pkg-config)) (inputs (list at-spi2-core gtk @@ -211,57 +226,91 @@ alternative zones.") (define-public bat (package (name "bat") - (version "0.20.0") + (version "0.24.0") (source (origin (method url-fetch) (uri (crate-uri "bat" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05sj0chxpai26fhk1k7p5m54v3j7n1x64ayx53mcimsj1skdr77m")))) + (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-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) + (list + #:install-source? #f + #:cargo-inputs + `(("rust-ansi-colours" ,rust-ansi-colours-1) ("rust-bincode" ,rust-bincode-1) - ("rust-bugreport" ,rust-bugreport-0.4) + ("rust-bugreport" ,rust-bugreport-0.5) ("rust-bytesize" ,rust-bytesize-1) - ("rust-clap" ,rust-clap-2) - ("rust-clap" ,rust-clap-2) - ("rust-clircle" ,rust-clircle-0.3) + ("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-dirs-next" ,rust-dirs-next-2) - ("rust-encoding" ,rust-encoding-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.13) + ("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.8) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) ("rust-shell-words" ,rust-shell-words-1) - ("rust-syntect" ,rust-syntect-4) + ("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-nix" ,rust-nix-0.23) - ("rust-predicates" ,rust-predicates-2) - ("rust-serial-test" ,rust-serial-test-0.5) + #: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 zlib)) + ("rust-wait-timeout" ,rust-wait-timeout-0.2)) + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'pre-build + (lambda _ + (setenv "BAT_ASSETS_GEN_DIR" "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 share "/bash-completion/completions")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (man1 (string-append share "/man/man1"))) + (mkdir-p bash-completions-dir) + (mkdir-p zsh-completions-dir) + (mkdir-p fish-completions-dir) + (copy-file "target/assets/completions/bat.bash" + (string-append bash-completions-dir "/bat")) + (copy-file "target/assets/completions/bat.zsh" + (string-append zsh-completions-dir "/_bat")) + (install-file "target/assets/completions/bat.fish" + fish-completions-dir) + (install-file "target/assets/manual/bat.1" man1))))))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 zlib)) (home-page "https://github.com/sharkdp/bat") (synopsis "@command{cat} clone with syntax highlighting and git integration") (description @@ -270,38 +319,67 @@ highlighting for a large number of languages, git integration, and automatic paging.") (license (list license:expat license:asl2.0)))) +(define-public cargo-machete + (package + (name "cargo-machete") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri name version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lbymfxgcizmj1c1ydpzinjbjhc7c9j0wb5y1xq33j80s5hzayaz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;Error: No such file or directory (os error 2) + #: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.16) + ("rust-grep" ,rust-grep-0.2) + ("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.20) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/est31/cargo-udeps") + (synopsis "Find unused dependencies in Cargo.toml") + (description "@code{cargo-machete} finds unused dependencies in Cargo.toml.") + (license (list license:expat license:asl2.0)))) + (define-public diffr (package (name "diffr") - (version "0.1.4") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "diffr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b0mz1ki2ksxni6g49x5l5j9ijpyhc11mywvxr9i9h3nr098nc5l")))) + (base32 "1kdngd5g1ssdiq7d10jr3jwg0sx740x3vmhq3j594a5kd467ikib")))) (build-system cargo-build-system) (arguments `(#:install-source? #f ;; https://github.com/mookid/diffr/issues/79 #:cargo-test-flags '("--release" "--" - "--skip=tests::success" - "--skip=test_cli::color_invalid_attribute_name" - "--skip=test_cli::color_invalid_color_not_done" - "--skip=test_cli::color_invalid_color_value_ansi" - "--skip=test_cli::color_invalid_color_value_name" - "--skip=test_cli::color_invalid_color_value_rgb" - "--skip=test_cli::color_invalid_face_name" - "--skip=test_cli::color_ok" - "--skip=test_cli::color_ok_multiple" - "--skip=test_cli::color_only_face_name" - "--skip=test_cli::debug_flag") + "--skip=tests_cli::color_invalid_attribute_name" + "--skip=tests_cli::color_invalid_color_not_done" + "--skip=tests_cli::color_invalid_color_value_ansi" + "--skip=tests_cli::color_invalid_color_value_name" + "--skip=tests_cli::color_invalid_color_value_rgb" + "--skip=tests_cli::color_invalid_face_name" + "--skip=tests_cli::color_ok" + "--skip=tests_cli::color_ok_multiple" + "--skip=tests_cli::color_only_face_name" + "--skip=tests_cli::debug_flag" + "--skip=tests_cli::line_numbers_style" + "--skip=tests_cli::test_bad_argument") #:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-clap" ,rust-clap-2) - ("rust-diffr-lib" ,rust-diffr-lib-0.1) ("rust-termcolor" ,rust-termcolor-1)))) (home-page "https://github.com/mookid/diffr") (synopsis "Longest Common Sequence based diff highlighting tool") @@ -313,31 +391,34 @@ highlighting tool to ease code review from your terminal.") (define-public drill (package (name "drill") - (version "0.7.1") + (version "0.8.2") (source (origin (method url-fetch) (uri (crate-uri "drill" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1m73d7rzi0p5c1hn0081d2235kcyapdza7h0vqf5jhnirpnjn793")))) + (base32 "0jp9r19zc9m3hgxc7a98fhyi1ga0qwjprxjsqaxiykmjpb86bxf3")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-clap" ,rust-clap-2) - ("rust-colored" ,rust-colored-1) + ("rust-colored" ,rust-colored-2) ("rust-csv" ,rust-csv-1) ("rust-futures" ,rust-futures-0.3) + ("rust-hdrhistogram" ,rust-hdrhistogram-7) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-rand" ,rust-rand-0.7) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-rand" ,rust-rand-0.8) ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.10) + ("rust-reqwest" ,rust-reqwest-0.11) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio" ,rust-tokio-1) ("rust-url" ,rust-url-2) ("rust-yaml-rust" ,rust-yaml-rust-0.4)))) (native-inputs @@ -347,7 +428,7 @@ highlighting tool to ease code review from your terminal.") (home-page "https://github.com/fcsonline/drill") (synopsis "HTTP load testing application") (description - "Drill is a HTTP load testing application written in Rust inspired by + "Drill is a HTTP load testing application written in Rust inspired by Ansible syntax. Benchmark files can be written in YAML.") (license license:gpl3))) @@ -387,103 +468,17 @@ Features include: @end enumerate\n") (license license:gpl3))) -(define-public exa - (package - (name "exa") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "exa" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dd7waq2bnxc1xwygqphi8k1g2qzykr6fk0q4rgrhhxp2jd09f04")))) - (build-system cargo-build-system) - (arguments - `(#:install-source? #f - #:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-datetime" ,rust-datetime-0.5) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-git2" ,rust-git2-0.13) - ("rust-glob" ,rust-glob-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-locale" ,rust-locale-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-natord" ,rust-natord-1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-number-prefix" ,rust-number-prefix-0.4) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-term-grid" ,rust-term-grid-0.1) - ("rust-term-size" ,rust-term-size-0.3) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-users" ,rust-users-0.11) - ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5)) - #:cargo-development-inputs - (("rust-datetime" ,rust-datetime-0.5)) - #:phases - (modify-phases %standard-phases - (add-after 'build 'build-manual - (lambda* (#:key inputs #:allow-other-keys) - (when (assoc-ref inputs "pandoc") - (map (lambda (page) - (with-output-to-file page - (lambda _ - (invoke "pandoc" "--standalone" - "-f" "markdown" - "-t" "man" - (string-append "man/" page ".md"))))) - (list "exa.1" "exa_colors.5"))))) - (add-after 'install 'install-extras - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share")) - (man1 (string-append share "/man/man1")) - (man5 (string-append share "/man/man5"))) - (when (file-exists? "exa.1") - (install-file "exa.1" man1)) - (when (file-exists? "exa_colors.5") - (install-file "exa_colors.5" man5)) - (mkdir-p (string-append out "/etc/bash_completion.d")) - (mkdir-p (string-append share "/fish/vendor_completions.d")) - (mkdir-p (string-append share "/zsh/site-functions")) - (copy-file "completions/completions.bash" - (string-append out "/etc/bash_completion.d/exa")) - (copy-file "completions/completions.fish" - (string-append - share "/fish/vendor_completions.d/exa.fish")) - (copy-file "completions/completions.zsh" - (string-append - share "/zsh/site-functions/_exa")))))))) - (inputs (list libgit2 zlib)) - (native-inputs - (append - (list pkg-config) - (if (member (%current-system) - (package-transitive-supported-systems pandoc)) - (list pandoc) - '()))) - (home-page "https://the.exa.website/") - (synopsis "Modern replacement for ls") - (description "@code{exa} is a modern replacement for the command-line -program @code{ls}. It uses colours to distinguish file types and metadata. It -also knows about symlinks, extended attributes, and Git.") - (license license:expat))) - (define-public eza (package (name "eza") - (version "0.15.2") + (version "0.17.0") (source (origin (method url-fetch) (uri (crate-uri "eza" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14qapnxc1rwqsq6c13b35wgaiypn23niajk39c44i1w3if91rd85")))) + (base32 "026xagh42nrdy2yg9197mmb2bhm5mdvbf9vd9fk9iysrj1iay63r")))) (build-system cargo-build-system) (arguments (list @@ -499,8 +494,10 @@ also knows about symlinks, extended attributes, and Git.") ("rust-num-cpus" ,rust-num-cpus-1) ("rust-number-prefix" ,rust-number-prefix-0.4) ("rust-once-cell" ,rust-once-cell-1) + ("rust-palette" ,rust-palette-0.7) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-phf" ,rust-phf-0.11) + ("rust-plist" ,rust-plist-1) ("rust-proc-mounts" ,rust-proc-mounts-0.3) ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) ("rust-terminal-size" ,rust-terminal-size-0.3) @@ -508,7 +505,7 @@ also knows about symlinks, extended attributes, and Git.") ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-uutils-term-grid" ,rust-uutils-term-grid-0.3) ("rust-uzers" ,rust-uzers-0.11) - ("rust-windows-sys" ,rust-windows-sys-0.48) + ("rust-windows-sys" ,rust-windows-sys-0.52) ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5)) #:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.5) ("rust-trycmd" ,rust-trycmd-0.14)) @@ -528,31 +525,33 @@ also knows about symlinks, extended attributes, and Git.") (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) + (bash-completions-dir (string-append share + "/bash-completion/completions")) + (zsh-completions-dir (string-append share + "/zsh/site-functions")) + (fish-completions-dir (string-append share + "/fish/vendor_completions.d")) (man1 (string-append share "/man/man1")) (man5 (string-append share "/man/man5"))) (when (file-exists? "eza.1") (install-file "eza.1" man1)) (when (file-exists? "eza_colors.5") (install-file "eza_colors.5" man5)) - (mkdir-p (string-append out "/etc/bash_completion.d")) - (mkdir-p (string-append - share "/fish/vendor_completions.d")) - (mkdir-p (string-append share "/zsh/site-functions")) + (mkdir-p bash-completions-dir) + (mkdir-p zsh-completions-dir) + (mkdir-p fish-completions-dir) (copy-file "completions/bash/eza" - (string-append - out "/etc/bash_completion.d/eza")) - (copy-file "completions/fish/eza.fish" - (string-append - share "/fish/vendor_completions.d/eza.fish")) + (string-append bash-completions-dir "/eza")) (copy-file "completions/zsh/_eza" - (string-append - share "/zsh/site-functions/_eza")))))))) + (string-append zsh-completions-dir "/_eza")) + (copy-file "completions/fish/eza.fish" + (string-append fish-completions-dir + "/eza.fish")))))))) (native-inputs - (append - (list pkg-config) - (if (supported-package? pandoc) - (list pandoc) - '()))) + (append (list pkg-config) + (if (supported-package? pandoc) + (list pandoc) + '()))) (inputs (list libgit2-1.7 zlib)) (home-page "https://github.com/eza-community/eza") (synopsis "Modern replacement for ls") @@ -563,10 +562,13 @@ metadata. It also knows about symlinks, extended attributes, and Git. This package is the community maintained fork of @code{exa}.") (license license:expat))) +(define-public exa + (deprecated-package "exa" eza)) + (define-public fd (package (name "fd") - (version "8.7.0") + (version "9.0.0") (source (origin (method url-fetch) @@ -575,106 +577,127 @@ This package is the community maintained fork of @code{exa}.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "186217yyb0znfn4jcc9l3i51fhfyb23lhbm3gg084sdrbj6bdnbg")))) + "1is6xrsnbiy4la3lrmxzl3pzzkygnx9mp8h5k8gfrc29bq8m7891")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - '("--release" - "--" - ;; No user 'root' in the build environment. - "--skip=test_owner_root") - #:install-source? #f - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) + (list + #:cargo-test-flags + ;; No user 'root' in the build environment. + '(list "--release" "--" + "--skip=test_owner_root") + #:install-source? #f + #:cargo-inputs + `(("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-anyhow" ,rust-anyhow-1) ("rust-argmax" ,rust-argmax-0.3) - ("rust-atty" ,rust-atty-0.2) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) ("rust-ctrlc" ,rust-ctrlc-3) - ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-etcetera" ,rust-etcetera-0.8) ("rust-faccess" ,rust-faccess-0.2) ("rust-globset" ,rust-globset-0.4) ("rust-humantime" ,rust-humantime-2) ("rust-ignore" ,rust-ignore-0.4) ("rust-jemallocator" ,rust-jemallocator-0.5) ("rust-libc" ,rust-libc-0.2) - ("rust-lscolors" ,rust-lscolors-0.13) - ("rust-nix" ,rust-nix-0.26) - ("rust-normpath" ,rust-normpath-0.3) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.46) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-once-cell" ,rust-once-cell-1) + ("rust-lscolors" ,rust-lscolors-0.16) + ("rust-nix" ,rust-nix-0.27) + ("rust-normpath" ,rust-normpath-1) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49) ("rust-regex" ,rust-regex-1) - ("rust-regex-syntax" ,rust-regex-syntax-0.6) - ("rust-users" ,rust-users-0.11) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) ("rust-version-check" ,rust-version-check-0.9)) - #:cargo-development-inputs - (("rust-diff" ,rust-diff-0.1) + #:cargo-development-inputs + `(("rust-diff" ,rust-diff-0.1) ("rust-filetime" ,rust-filetime-0.2) ("rust-tempfile" ,rust-tempfile-3) - ("rust-test-case" ,rust-test-case-2)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack '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.so"))))) - (add-after 'unpack 'adjust-feature-flags - (lambda _ - ;; unstable-grouped was stablized in rust-clap 4.2.0 - (substitute* "Cargo.toml" - ((".*unstable-grouped.*") "")))) - (add-after 'install 'install-extra - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - ;; Manpages - (install-file "doc/fd.1" (string-append out "/share/man/man1")) - ;; Completions require running the built binary. - (unless ,(%current-target-system) - (invoke "make" "completions") - (install-file "autocomplete/fd.bash" - (string-append out "/etc/bash_completion.d")) - (install-file "autocomplete/fd.fish" - (string-append out "/share/fish/vendor_completions.d")) - (install-file "autocomplete/_fd" - (string-append out "/share/zsh/site-functions")) - (rename-file (string-append out "/etc/bash_completion.d/fd.bash") - (string-append out "/etc/bash_completion.d/fd"))))))))) - (inputs (list jemalloc)) - (home-page "https://github.com/sharkdp/fd") - (synopsis "Simple, fast and user-friendly alternative to find") - (description - "@code{fd} is a simple, fast and user-friendly alternative to @code{find}. -While it does not seek to mirror all of find's powerful functionality, it -provides defaults for 80% of the use cases.") - (license (list license:expat license:asl2.0)))) + ("rust-test-case" ,rust-test-case-3)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack '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.so"))))) + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + ;; Manpages + (install-file "doc/fd.1" (string-append out "/share/man/man1")) + ;; Completions require running the built binary. + (unless #$(%current-target-system) + (invoke "make" "completions") + (install-file "autocomplete/fd.bash" + (string-append out "/etc/bash_completion.d")) + (install-file "autocomplete/fd.fish" + (string-append out "/share/fish/vendor_completions.d")) + (install-file "autocomplete/_fd" + (string-append out "/share/zsh/site-functions")) + (rename-file (string-append out "/etc/bash_completion.d/fd.bash") + (string-append out "/etc/bash_completion.d/fd"))))))))) + (inputs (list jemalloc)) + (home-page "https://github.com/sharkdp/fd") + (synopsis "Simple, fast and user-friendly alternative to find") + (description + "@code{fd} is a simple, fast and user-friendly alternative to @code{find}. +While it does not seek to mirror all of find's powerful functionality, it provides +defaults for 80% of the use cases.") + (license (list license:expat license:asl2.0)))) (define-public hexyl (package (name "hexyl") - (version "0.8.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "hexyl" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0sipag77196467idbznbk5q5lwhqz85zw7y1pwg9b27jxqyk04rp")))) + (base32 "0fhbc4ibpbbgcgx2v6wzxcn63jz76cvdp2f8jdg747h65hvp5bcm")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "doc/hexyl.1.md" + (("0\\.12\\.0") "0.14.0")))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-clap" ,rust-clap-2) - ("rust-libc" ,rust-libc-0.2)))) + `(#:install-source? #f + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-const-format" ,rust-const-format-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-owo-colors" ,rust-owo-colors-3) + ("rust-supports-color" ,rust-supports-color-2) + ("rust-terminal-size" ,rust-terminal-size-0.2) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-predicates" ,rust-predicates-3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-manual + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((man1 (string-append (assoc-ref outputs "out") + "/share/man/man1"))) + (when (assoc-ref inputs "pandoc") + (mkdir-p man1) + (with-output-to-file (string-append man1 "/hexyl.1") + (lambda _ + (invoke "pandoc" "--standalone" + "--from" "markdown" + "--to" "man" + "doc/hexyl.1.md")))))))))) + (native-inputs + (if (supported-package? pandoc) + (list pandoc) + '())) (home-page "https://github.com/sharkdp/hexyl") (synopsis "Command-line hex viewer") (description @@ -747,7 +770,7 @@ characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (define-public i3status-rust (package (name "i3status-rust") - (version "0.20.1") + (version "0.32.3") (source (origin (method git-fetch) @@ -755,48 +778,99 @@ characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (url "https://github.com/greshake/i3status-rust") (commit (string-append "v" version)))) (file-name (git-file-name name version)) - (patches (search-patches "i3status-rust-enable-unstable-features.patch")) (sha256 - (base32 "00gzm3g297s9bfp13vnb623p7dfac3g6cdhz2b3lc6l0kmnnqs1s")))) + (base32 "11n32kkfwlv38mj9018hp5rbg4w3d1vq9f6x8rhqahs19mm5amqa")) + (snippet + #~(begin + (use-modules (guix build utils)) + ;; This comes a few commits after the 0.32.3 tag. + (substitute* "Cargo.toml" + (("^(wayrs-client = \\{ version = \")0\\.12\"" all most) + (string-append most "1.0\"")) + (("^(wayrs-protocols = \\{ version = \")0\\.12\"" all most) + (string-append most "0.13\""))))))) (build-system cargo-build-system) (arguments - `(#:features '("pulseaudio" "libpulse-binding") - #:install-source? #f + `(#:install-source? #f #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-tz" ,rust-chrono-tz-0.5) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-curl" ,rust-curl-0.4) - ("rust-dbus" ,rust-dbus-0.9) - ("rust-dbus-tree" ,rust-dbus-tree-0.9) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nix" ,rust-nix-0.20) - ("rust-nl80211" ,rust-nl80211-0.0.2) + (("rust-anyhow" ,rust-anyhow-1) ; Dependency of xtask. + ("rust-async-once-cell" ,rust-async-once-cell-0.5) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-backon" ,rust-backon-0.4) + ("rust-calibright" ,rust-calibright-0.1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-clap" ,rust-clap-4) ; Dependency of xtask also. + ("rust-clap-mangen" ,rust-clap-mangen-0.2) ; Dependency of xtask. + ("rust-dirs" ,rust-dirs-5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-glob" ,rust-glob-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-inotify" ,rust-inotify-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-libpulse-binding" ,rust-libpulse-binding-2) + ("rust-log" ,rust-log-0.4) + ("rust-maildir" ,rust-maildir-0.6) + ("rust-neli" ,rust-neli-0.6) + ("rust-neli-wifi" ,rust-neli-wifi-0.6) + ("rust-nix" ,rust-nix-0.27) + ("rust-nom" ,rust-nom-7) + ("rust-notmuch" ,rust-notmuch-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pandoc" ,rust-pandoc-0.8) ; Dependency of xtask. + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-sensors" ,rust-sensors-0.2) ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-3) + ("rust-shellexpand" ,rust-shellexpand-3) ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-swayipc" ,rust-swayipc-2) - ("rust-toml" ,rust-toml-0.5) - ("rust-cpuprofiler" ,rust-cpuprofiler-0.0) - ("rust-inotify" ,rust-inotify-0.9) - ("rust-libpulse-binding" ,rust-libpulse-binding-2) - ("rust-maildir" ,rust-maildir-0.5) - ("rust-notmuch" ,rust-notmuch-0.6) - ("rust-progress" ,rust-progress-0.2)) - #:cargo-development-inputs - (("rust-assert-fs" ,rust-assert-fs-1)) + ("rust-signal-hook-tokio" ,rust-signal-hook-tokio-0.3) + ("rust-smart-default" ,rust-smart-default-0.7) + ("rust-swayipc-async" ,rust-swayipc-async-2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-wayrs-client" ,rust-wayrs-client-1) + ("rust-wayrs-protocols" ,rust-wayrs-protocols-0.13) + ("rust-zbus" ,rust-zbus-3)) #:phases (modify-phases %standard-phases - (add-after 'unpack 'enable-unstable-features + (add-after 'unpack 'remove-optional-icu-deps (lambda _ - (setenv "RUSTC_BOOTSTRAP" "1"))) + (substitute* "Cargo.toml" + (("^icu_calendar.*") "") + (("^icu_datetime.*") "") + (("^icu_locid.*") "")))) (add-after 'unpack 'fix-resources-path (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share"))) (substitute* "src/util.rs" (("/usr/share/i3status-rust") share))))) + (add-after 'unpack 'substitute-package-paths + (lambda* (#:key inputs #:allow-other-keys) + (define* (substitute-command-block* file command full-command) + (substitute* file + (((string-append "Command::new\\(\"" command "\"\\)")) + (string-append "Command::new(\"" full-command "\")")))) + (substitute-command-block* "src/blocks/keyboard_layout/set_xkb_map.rs" + "setxkbmap" (search-input-file inputs "/bin/setxkbmap")) + (substitute-command-block* "src/blocks/sound/alsa.rs" + "alsactl" (search-input-file inputs "/sbin/alsactl")) + (substitute-command-block* "src/blocks/sound/alsa.rs" + "amixer" (search-input-file inputs "/bin/amixer")) + (substitute-command-block* "src/blocks/speedtest.rs" + "speedtest-cli" (search-input-file inputs "/bin/speedtest-cli")) + (substitute-command-block* "src/blocks/xrandr.rs" + "xrandr" (search-input-file inputs "/bin/xrandr")) + (substitute-command-block* "src/util.rs" + "sh" (search-input-file inputs "/bin/sh")) + (substitute-command-block* "src/subprocess.rs" + "sh" (search-input-file inputs "/bin/sh")))) (add-after 'install 'install-resources (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -806,35 +880,27 @@ characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (let ((out (assoc-ref outputs "out")) (paths (map (lambda (input) - (string-append (assoc-ref inputs input) "/bin")) - '("alsa-utils" "coreutils" "curl" "dbus" "ibus" "iproute" - "kdeconnect" "lm-sensors" "pulseaudio" - "openssl" - "setxkbmap" "speedtest-cli" "xdg-utils" "xrandr" - "zlib")))) + (string-append + (assoc-ref inputs input) "/bin")) + '("iproute2" "kdeconnect")))) (wrap-program (string-append out "/bin/i3status-rs") `("PATH" prefix ,paths)))))))) (native-inputs (list pkg-config)) (inputs - `(("alsa-utils" ,alsa-utils) - ("bash-minimal" ,bash-minimal) - ("coreutils" ,coreutils) - ("curl" ,curl) - ("dbus" ,dbus) - ("ibus" ,ibus) - ("iproute" ,iproute) - ("kdeconnect" ,kdeconnect) - ("lm-sensors" ,lm-sensors) - ("pulseaudio" ,pulseaudio) - ("openssl" ,openssl) - ("setxkbmap" ,setxkbmap) - ("speedtest-cli" ,speedtest-cli) - ("xdg-utils" ,xdg-utils) - ("xrandr" ,xrandr) - ("zlib" ,zlib))) - (home-page "https://github.com/greshake/i3status-rust") - (synopsis "i3status, written in pure Rust") + (list alsa-utils + bash-minimal + dbus + iproute + kdeconnect + (list lm-sensors "lib") + pulseaudio + openssl + setxkbmap + speedtest-cli + xrandr)) + (home-page "https://github.com/greshake/i3status-rust/") + (synopsis "Replacement for i3status, written in Rust") (description "@code{i3status-rs} is a feature-rich and resource-friendly replacement for i3status, written in pure Rust. It provides a way to display @code{blocks} of system information (time, battery status, volume, etc) on the i3 @@ -844,13 +910,13 @@ bar. It is also compatible with sway.") (define-public just (package (name "just") - (version "1.14.0") + (version "1.23.0") (source (origin (method url-fetch) (uri (crate-uri "just" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kafd87zmjf7wswyiqakqd2r5b8q3a761ipsihmrg9wr57k5zlis")))) + (base32 "0wpjv098a2yymsb41h6104cdia4gb6hwwh05pkwj5fx7b7g41a2q")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -865,6 +931,7 @@ bar. It is also compatible with sway.") ("rust-clap" ,rust-clap-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) @@ -872,13 +939,15 @@ bar. It is also compatible with sway.") ("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-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-similar" ,rust-similar-2) - ("rust-snafu" ,rust-snafu-0.7) - ("rust-strum" ,rust-strum-0.24) + ("rust-snafu" ,rust-snafu-0.8) + ("rust-strum" ,rust-strum-0.25) ("rust-target" ,rust-target-2) ("rust-tempfile" ,rust-tempfile-3) ("rust-typed-arena" ,rust-typed-arena-2) @@ -889,7 +958,7 @@ bar. It is also compatible with sway.") ("rust-executable-path" ,rust-executable-path-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-temptree" ,rust-temptree-0.2) - ("rust-which" ,rust-which-4) + ("rust-which" ,rust-which-5) ("rust-yaml-rust" ,rust-yaml-rust-0.4)) #:phases (modify-phases %standard-phases @@ -905,32 +974,42 @@ bar. It is also compatible with sway.") (search-input-file inputs "/bin/env")) (("/bin/echo") (search-input-file inputs "/bin/echo"))))) - (add-after 'install 'install-manpage - (lambda* (#:key outputs #:allow-other-keys) - (install-file "man/just.1" - (string-append (assoc-ref outputs "out") - "/share/man/man1")))) - (add-after 'install 'install-completions - (lambda* (#:key outputs #:allow-other-keys) + (add-after 'install 'install-extras + (lambda* (#:key native-inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) - (just (string-append out "/bin/just"))) - (mkdir-p (string-append share "/bash-completion/completions")) + (man1 (string-append share "/man/man1")) + (bash-completions-dir + (string-append share "/bash-completion/completions")) + (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")) + (just (if ,(%current-target-system) + (search-input-file native-inputs "/bin/just") + (string-append out "/bin/just")))) + (install-file "man/just.1" man1) + (mkdir-p bash-completions-dir) (with-output-to-file - (string-append share "/bash-completion/completions/just") + (string-append bash-completions-dir "/just") (lambda _ (invoke just "--completions" "bash"))) - (mkdir-p (string-append share "/fish/vendor_completions.d")) + (mkdir-p zsh-completions-dir) (with-output-to-file - (string-append share "/fish/vendor_completions.d/just.fish") - (lambda _ (invoke just "--completions" "fish"))) - (mkdir-p (string-append share "/zsh/site-functions")) - (with-output-to-file - (string-append share "/zsh/site-functions/_just") + (string-append zsh-completions-dir "/_just") (lambda _ (invoke just "--completions" "zsh"))) - (mkdir-p (string-append share "/elvish/lib")) + (mkdir-p fish-completions-dir) + (with-output-to-file + (string-append fish-completions-dir "/just.fish") + (lambda _ (invoke just "--completions" "fish"))) + (mkdir-p elvish-completions-dir) (with-output-to-file - (string-append share "/elvish/lib/just") + (string-append elvish-completions-dir "/just") (lambda _ (invoke just "--completions" "elvish"))))))))) + (native-inputs (if (%current-target-system) + (list this-package) + '())) (inputs (list bash-minimal coreutils-minimal)) (home-page "https://github.com/casey/just") (synopsis "Just a command runner") @@ -983,18 +1062,75 @@ editor in less than 1024 lines of code with syntax higlighting, search and more.") (license (list license:expat license:asl2.0)))) +(define-public macchina + (package + (name "macchina") + (version "6.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "macchina" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "044bygdazv8l1d5sf7pxn2xp26pmnx2b65122qzb37m1ylb1ksg6")))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs `(("rust-ansi-to-tui" ,rust-ansi-to-tui-2) + ("rust-atty" ,rust-atty-0.2) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-clap" ,rust-clap-4) + ("rust-color-to-tui" ,rust-color-to-tui-0.2) + ("rust-colored" ,rust-colored-2) + ("rust-dirs" ,rust-dirs-4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libmacchina" ,rust-libmacchina-6) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-tui" ,rust-tui-0.19) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vergen" ,rust-vergen-7)) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (contrib (string-append share "/contrib"))) + (mkdir-p contrib) + (copy-recursively "contrib" contrib))))))) + (native-inputs (list pkg-config)) + (inputs (list libgit2 sqlite zlib)) + (home-page "https://github.com/Macchina-CLI/macchina") + (synopsis "System information fetcher with an emphasis on performance") + (description + "This package provides a system information fetcher with an emphasis on +performance. Similar to neofetch, this package prints out system information +on the terminal in a visually appealing way.") + (license license:expat))) + (define-public maturin (package (name "maturin") - (version "1.1.0") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "maturin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0asdljd396kdsvnx9kbsr5s0x6w73b59kdpx732333dhm13qgn03")) - (patches (search-patches "maturin-no-cross-compile.patch")))) + "1ia5xziazpcpc1wwg8jlz5nmza87cz7nb039gg38jgw3704p4dls")) + (patches (search-patches "maturin-no-cross-compile.patch")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Remove support for x86_64h-apple-darwin. + ;; This target causes maturin to fail to build. + (substitute* "src/target.rs" + (("\\| Architecture::X86_64h ") "")))))) (build-system cargo-build-system) (arguments `(#:modules ((guix build cargo-build-system) @@ -1022,44 +1158,44 @@ more.") ("rust-base64" ,rust-base64-0.21) ("rust-bytesize" ,rust-bytesize-1) ("rust-cargo-config2" ,rust-cargo-config2-0.1) - ("rust-cargo-options" ,rust-cargo-options-0.6) - ;("rust-cargo-xwin" ,rust-cargo-xwin-0.14) - ;("rust-cargo-zigbuild" ,rust-cargo-zigbuild-0.16) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.15) - ("rust-cbindgen" ,rust-cbindgen-0.24) + ("rust-cargo-options" ,rust-cargo-options-0.7) + ;("rust-cargo-xwin" ,rust-cargo-xwin-0.16) + ;("rust-cargo-zigbuild" ,rust-cargo-zigbuild-0.18) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-cbindgen" ,rust-cbindgen-0.26) ("rust-cc" ,rust-cc-1) ("rust-clap" ,rust-clap-4) ("rust-clap-complete-command" ,rust-clap-complete-command-0.5) ("rust-configparser" ,rust-configparser-3) ("rust-console" ,rust-console-0.15) - ("rust-dialoguer" ,rust-dialoguer-0.10) + ("rust-dialoguer" ,rust-dialoguer-0.11) ("rust-dirs" ,rust-dirs-5) ("rust-dunce" ,rust-dunce-1) ("rust-fat-macho" ,rust-fat-macho-0.4) ("rust-flate2" ,rust-flate2-1) ("rust-fs-err" ,rust-fs-err-2) ("rust-glob" ,rust-glob-0.3) - ("rust-goblin" ,rust-goblin-0.6) + ("rust-goblin" ,rust-goblin-0.7) ("rust-ignore" ,rust-ignore-0.4) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-itertools" ,rust-itertools-0.12) ("rust-keyring" ,rust-keyring-2) ("rust-lddtree" ,rust-lddtree-0.3) - ("rust-minijinja" ,rust-minijinja-0.34) + ("rust-minijinja" ,rust-minijinja-1) ("rust-multipart" ,rust-multipart-0.18) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-normpath" ,rust-normpath-1) ("rust-once-cell" ,rust-once-cell-1) + ("rust-path-slash" ,rust-path-slash-0.2) ("rust-pep440-rs" ,rust-pep440-rs-0.3) ("rust-pep508-rs" ,rust-pep508-rs-0.2) ("rust-platform-info" ,rust-platform-info-2) - ("rust-pyproject-toml" ,rust-pyproject-toml-0.6) - ("rust-python-pkginfo" ,rust-python-pkginfo-0.5) + ("rust-pyproject-toml" ,rust-pyproject-toml-0.8) + ("rust-python-pkginfo" ,rust-python-pkginfo-0.6) ("rust-regex" ,rust-regex-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) - ("rust-same-file" ,rust-same-file-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) @@ -1070,8 +1206,8 @@ more.") ("rust-textwrap" ,rust-textwrap-0.16) ("rust-thiserror" ,rust-thiserror-1) ("rust-time" ,rust-time-0.3) - ("rust-toml" ,rust-toml-0.7) - ("rust-toml-edit" ,rust-toml-edit-0.19) + ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.21) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-ureq" ,rust-ureq-2) @@ -1079,12 +1215,13 @@ more.") ("rust-wild" ,rust-wild-2) ("rust-zip" ,rust-zip-0.6)) #:cargo-development-inputs - (("rust-indoc" ,rust-indoc-2) + (("rust-expect-test" ,rust-expect-test-1) + ("rust-indoc" ,rust-indoc-2) ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-rustversion" ,rust-rustversion-1) ("rust-time" ,rust-time-0.3) ("rust-trycmd" ,rust-trycmd-0.14) - ("rust-which" ,rust-which-4)) + ("rust-which" ,rust-which-5)) #:phases (modify-phases %standard-phases (add-after 'build 'build-python-module @@ -1135,8 +1272,7 @@ more.") (list python-tomli)) (inputs (list bzip2)) (native-inputs - (list perl - python-wheel + (list python-wheel python-wrapper python-setuptools-rust)) (home-page "https://github.com/pyo3/maturin") @@ -1146,84 +1282,164 @@ more.") @code{cffi} bindings as well as rust binaries as python packages.") (license (list license:expat license:asl2.0)))) +(define-public netavark + (package + (name "netavark") + (version "1.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "netavark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-fs2" ,rust-fs2-0.4) + ("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-ipnet" ,rust-ipnet-2) + ("rust-iptables" ,rust-iptables-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mozim" ,rust-mozim-0.2) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.18) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-nftables" ,rust-nftables-0.3) + ("rust-nispor" ,rust-nispor-1) + ("rust-nix" ,rust-nix-0.27) + ("rust-prost" ,rust-prost-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sysctl" ,rust-sysctl-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tonic" ,rust-tonic-0.10) + ("rust-tonic-build" ,rust-tonic-build-0.10) + ("rust-tower" ,rust-tower-0.4) + ("rust-url" ,rust-url-2) + ("rust-zbus" ,rust-zbus-3)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list protobuf)) + (home-page "https://github.com/containers/netavark") + (synopsis "Container network stack") + (description "Netavark is a rust based network stack for containers. It +is being designed to work with Podman but is also applicable for other OCI +container management applications.") + (license license:asl2.0))) + (define-public ripgrep (package (name "ripgrep") - (version "13.0.0") + (version "14.1.0") (source (origin (method url-fetch) (uri (crate-uri "ripgrep" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1gv4imhjgxmyxaa996yshcjlakmrjw9pf4rycp90pq675cn9sz7k")))) + (base32 "1n3zb5jfb8pv65jm4zmrcxlgpppkpd9pmcpg1ifvv13sqhxbrg6p")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) - ("rust-clap" ,rust-clap-2) - ("rust-grep" ,rust-grep-0.2) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-jemallocator" ,rust-jemallocator-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-termcolor" ,rust-termcolor-1)) - #:cargo-development-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:modules ((ice-9 match) - (guix build cargo-build-system) - (guix build utils)) - #:install-source? #f - #:phases - (modify-phases %standard-phases - (add-after 'build 'install-manpage - ;; NOTE: This is done before 'check so that there's only one output - ;; directory with the man page. - (lambda* (#:key outputs #:allow-other-keys) - (match (find-files "target" "^rg\\.1$") - ((manpage) - (install-file manpage (string-append - (assoc-ref outputs "out") - "/share/man/man1")))) - #t))) - #:features '("pcre2"))) - (inputs - (list pcre2)) - (native-inputs - (list asciidoc pkg-config)) + (list + #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) + ("rust-bstr" ,rust-bstr-1) + ("rust-grep" ,rust-grep-0.3) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-jemallocator" ,rust-jemallocator-0.5) + ("rust-lexopt" ,rust-lexopt-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-textwrap" ,rust-textwrap-0.16)) + #:cargo-development-inputs `(("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:install-source? #f + ;; Note: the built target 'rg' binary is required for 'install-extras + #: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")) + (bash-completions-dir + (string-append share "/bash-completion/completions")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (man1 (string-append share "/man/man1")) + (rg (if #$(%current-target-system) + (search-input-file native-inputs "/bin/rg") + (string-append out "/bin/rg")))) + (mkdir-p man1) + (with-output-to-file (string-append man1 "/rg.1") + (lambda _ + (invoke rg "--generate" "man"))) + (mkdir-p bash-completions-dir) + (with-output-to-file (string-append + bash-completions-dir "/rg") + (lambda _ + (invoke rg "--generate" "complete-bash"))) + (mkdir-p zsh-completions-dir) + (with-output-to-file (string-append + zsh-completions-dir "/_rg") + (lambda _ + (invoke rg "--generate" "complete-zsh"))) + (mkdir-p fish-completions-dir) + (with-output-to-file + (string-append fish-completions-dir "/rg.fish") + (lambda _ + (invoke rg "--generate" "complete-fish"))))))) + #:features '(list "pcre2"))) + (inputs (list pcre2)) + (native-inputs (cons* pkg-config (if (%current-target-system) + (list this-package) + '()))) (home-page "https://github.com/BurntSushi/ripgrep") - (synopsis "Line-oriented search tool") + (synopsis "Line-oriented search tool and Rust successor to @command{grep}") (description - "ripgrep is a line-oriented search tool that recursively searches -your current directory for a regex pattern while respecting your -gitignore rules.") + "@code{ripgrep} (@command{rg}) is a line-oriented search tool that +recursively searches your current directory for a regex pattern while +respecting your gitignore rules. @code{ripgrep} is similar to other popular +search tools like The Silver Searcher, @command{ack} and @command{grep}.") (license (list license:unlicense license:expat)))) (define-public rot8 (package (name "rot8") - (version "0.1.4") + (version "1.0.0") (source (origin (method url-fetch) (uri (crate-uri "rot8" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1m5kzpqq9pgc19lbnh20iaq654lzlmc1m5fc9f73w2vpwqdiw1qf")))) + "1bvb87sr9pkf6sj5ghgmga4nrp5kwiqnllzi672da5vs915xh8li")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-clap" ,rust-clap-2) - ("rust-glob" ,rust-glob-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) + `(#:install-source? #f + #:cargo-inputs + (("rust-clap" ,rust-clap-3) + ("rust-glob" ,rust-glob-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-wayland-client" ,rust-wayland-client-0.31) + ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2)))) (home-page "https://github.com/efernau/rot8/") (synopsis "Automatic display rotation using built-in accelerometer") (description "@command{rot8} is a daemon that automates rotating screen and @@ -1378,14 +1594,15 @@ browsers.") (define-public rust-cargo-edit (package (name "rust-cargo-edit") - (version "0.10.4") + (version "0.12.2") (source (origin (method url-fetch) (uri (crate-uri "cargo-edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "19wfjz7z4kqjfjmnq1bl6dhsvskjy6r656fqmbha9dfdspbsnmd0")))) + "03lxi7z1n9xq287lqvqnhzg5r0yv1fi3569ryw3jqcrvv8nqs0c2")) + (patches (search-patches "rust-cargo-edit-remove-ureq.patch")))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -1394,14 +1611,15 @@ browsers.") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cargo-metadata" ,rust-cargo-metadata-0.15) - ("rust-clap" ,rust-clap-3) + ("rust-clap" ,rust-clap-4) + ("rust-clap-cargo" ,rust-clap-cargo-0.12) ("rust-concolor-control" ,rust-concolor-control-0.0.7) - ("rust-crates-index" ,rust-crates-index-0.18) - ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-crates-index" ,rust-crates-index-0.19) ("rust-dunce" ,rust-dunce-1) ("rust-env-proxy" ,rust-env-proxy-0.4) - ("rust-git2" ,rust-git2-0.14) + ("rust-git2" ,rust-git2-0.17) ("rust-hex" ,rust-hex-0.4) + ("rust-home" ,rust-home-0.5) ("rust-indexmap" ,rust-indexmap-1) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-pathdiff" ,rust-pathdiff-0.2) @@ -1412,15 +1630,15 @@ browsers.") ("rust-serde-json" ,rust-serde-json-1) ("rust-subprocess" ,rust-subprocess-0.2) ("rust-termcolor" ,rust-termcolor-1) - ("rust-toml-edit" ,rust-toml-edit-0.14) - ("rust-ureq" ,rust-ureq-2) + ("rust-toml" ,rust-toml-0.7) + ("rust-toml-edit" ,rust-toml-edit-0.19) ("rust-url" ,rust-url-2)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) ("rust-assert-fs" ,rust-assert-fs-1) - ("rust-predicates" ,rust-predicates-2) - ("rust-snapbox" ,rust-snapbox-0.2) - ("rust-trycmd" ,rust-trycmd-0.13) + ("rust-predicates" ,rust-predicates-3) + ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-trycmd" ,rust-trycmd-0.14) ("rust-url" ,rust-url-2)) #:phases (modify-phases %standard-phases @@ -1429,9 +1647,9 @@ browsers.") (substitute* "Cargo.toml" ((".*\"vendored-libgit2\".*") ""))))))) (native-inputs - (list perl pkg-config)) + (list pkg-config)) (inputs - (list libgit2-1.4 + (list libgit2-1.6 libssh2 openssl zlib)) @@ -1552,14 +1770,14 @@ rebase.") (package (inherit rust-cbindgen-0.26) (name "rust-cbindgen") - (version "0.24.3") + (version "0.24.5") (source (origin (method url-fetch) (uri (crate-uri "cbindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1yqxqsz2d0cppd8zwihk2139g5gy38wqgl9snj6rnk8gyvnqsdd6")))))) + "13g1k2zljdp326b0cv1nhyh7jsacd364fh0cr2g828hiyfm2z4jb")))))) (define-public rust-cbindgen-0.23 (package @@ -1577,31 +1795,33 @@ rebase.") (define-public sniffglue (package (name "sniffglue") - (version "0.15.0") + (version "0.16.0") (source (origin (method url-fetch) (uri (crate-uri "sniffglue" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "038wcjiiay825wc8inmn62flklc1adxskg5fmjhmxqnhwmj1k5gn")))) + "0q63dysxzzqyknm3kqk0dff1vm8j6g05dkjwn7kqaglmf9ksd7v3")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-anyhow" ,rust-anyhow-1) - ("rust-atty" ,rust-atty-0.2) - ("rust-base64" ,rust-base64-0.13) - ("rust-bstr" ,rust-bstr-0.2) + ("rust-bstr" ,rust-bstr-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-data-encoding" ,rust-data-encoding-2) ("rust-dhcp4r" ,rust-dhcp4r-0.2) ("rust-dirs-next" ,rust-dirs-next-2) ("rust-dns-parser" ,rust-dns-parser-0.8) - ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-httparse" ,rust-httparse-1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.23) + ("rust-nix" ,rust-nix-0.27) ("rust-nom" ,rust-nom-7) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-pcap-sys" ,rust-pcap-sys-0.1) @@ -1611,17 +1831,14 @@ rebase.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha2" ,rust-sha2-0.10) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-syscallz" ,rust-syscallz-0.16) + ("rust-syscallz" ,rust-syscallz-0.17) ("rust-tls-parser" ,rust-tls-parser-0.11) - ("rust-toml" ,rust-toml-0.5) - ("rust-users" ,rust-users-0.11)) + ("rust-toml" ,rust-toml-0.8) + ("rust-uzers" ,rust-uzers-0.11)) #:cargo-development-inputs - (("rust-boxxy" ,rust-boxxy-0.12)))) + (("rust-boxxy" ,rust-boxxy-0.13)))) (inputs (list libpcap libseccomp)) - (native-inputs - (list perl)) (home-page "https://github.com/kpcyrd/sniffglue") (synopsis "Secure multithreaded packet sniffer") (description @@ -1770,26 +1987,38 @@ revert and check changes. (define-public hex (package (name "hex") - (version "0.4.2") + (version "0.6.0") (source (origin ;; crates.io does not provide the test data. + ;; Not all releases are pushed to crates.io. (method git-fetch) (uri (git-reference (url "https://github.com/sitkevij/hex") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "03x27nixdlnkkrh85gy4152arp02kpjwq0i9dn9p73lyr24s64lv")))) + (base32 "0kv07ghibifs6rnskg1na6a0hdb0f8vqfbpv5k8g09lc2075gjv1")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; rusty-hook provides a git hook for CI. + ((".*rusty-hook.*") "")))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-clap" ,rust-clap-2) + ("rust-clap" ,rust-clap-4) ("rust-no-color" ,rust-no-color-0.1)) #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-1)))) + (("rust-assert-cmd" ,rust-assert-cmd-2)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-more + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (install-file "hx.1" (string-append out "/share/man/man1")))))))) (home-page "https://github.com/sitkevij/hex") (synopsis "Hexadecimal colorized view of a file") (description @@ -1930,72 +2159,124 @@ runs a command whenever it detects modifications.") (define-public rbw (package (name "rbw") - (version "1.4.1") + (version "1.9.0") + (outputs '("out" "scripts")) (source (origin (method url-fetch) (uri (crate-uri "rbw" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zszp9hvilpikbd66b5zbvspks0spv8dh0yry0sxnc5yqvl2ixnf")))) + (base32 "0rlp55kcac9k0rz1zfhyslkfgsim1ka6bkllfzqrayvdfyxqq51i")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'configure 'relax-requirements - (lambda _ - (substitute* - "guix-vendor/rust-password-hash-0.3.2.tar.gz/Cargo.toml" - (("version = \">=1, <1.1.0\"") "version = \">=1\"")) - (substitute* - "guix-vendor/rust-rsa-0.5.0.tar.gz/Cargo.toml" - (("version = \">=1, <1.5\"") "version = \"^1\"")) - (substitute* - "Cargo.toml" - (("version = \"1.4\"") "version = \"^1\""))))) + `(#:install-source? #f #:cargo-inputs - (("rust-aes" ,rust-aes-0.7) + (("rust-aes" ,rust-aes-0.8) ("rust-anyhow" ,rust-anyhow-1) + ("rust-argon2" ,rust-argon2-0.5) ("rust-arrayvec" ,rust-arrayvec-0.7) ("rust-async-trait" ,rust-async-trait-0.1) ("rust-base32" ,rust-base32-0.4) - ("rust-base64" ,rust-base64-0.13) - ("rust-block-modes" ,rust-block-modes-0.8) - ("rust-block-padding" ,rust-block-padding-0.2) - ("rust-daemonize" ,rust-daemonize-0.4) - ("rust-directories" ,rust-directories-4) - ("rust-env-logger" ,rust-env-logger-0.9) - ("rust-hkdf" ,rust-hkdf-0.11) - ("rust-hmac" ,rust-hmac-0.11) + ("rust-base64" ,rust-base64-0.21) + ("rust-block-padding" ,rust-block-padding-0.3) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-copypasta" ,rust-copypasta-0.10) + ("rust-daemonize" ,rust-daemonize-0.5) + ("rust-directories" ,rust-directories-5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) ("rust-humantime" ,rust-humantime-2) + ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.23) - ("rust-paw" ,rust-paw-1) - ("rust-pbkdf2" ,rust-pbkdf2-0.9) + ("rust-nix" ,rust-nix-0.26) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pkcs8" ,rust-pkcs8-0.10) ("rust-rand" ,rust-rand-0.8) ("rust-region" ,rust-region-3) ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-rsa" ,rust-rsa-0.5) + ("rust-rmpv" ,rust-rmpv-1) + ("rust-rsa" ,rust-rsa-0.9) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) ("rust-serde-repr" ,rust-serde-repr-0.1) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-structopt" ,rust-structopt-0.3) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) ("rust-tempfile" ,rust-tempfile-3) - ("rust-term-size" ,rust-term-size-0.3) - ("rust-textwrap" ,rust-textwrap-0.11) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-textwrap" ,rust-textwrap-0.16) ("rust-thiserror" ,rust-thiserror-1) ("rust-tokio" ,rust-tokio-1) - ("rust-totp-lite" ,rust-totp-lite-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20) + ("rust-totp-lite" ,rust-totp-lite-2) ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8) - ("rust-zeroize" ,rust-zeroize-1)))) + ("rust-uuid" ,rust-uuid-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-completions + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (rbw (if ,(%current-target-system) + (search-input-file native-inputs "/bin/rbw") + (string-append out "/bin/rbw")))) + (mkdir-p (string-append share "/bash-completion/completions")) + (with-output-to-file + (string-append share "/bash-completion/completions/rbw") + (lambda _ (invoke rbw "gen-completions" "bash"))) + (mkdir-p (string-append share "/fish/vendor_completions.d")) + (with-output-to-file + (string-append share "/fish/vendor_completions.d/rbw.fish") + (lambda _ (invoke rbw "gen-completions" "fish"))) + (mkdir-p (string-append share "/zsh/site-functions")) + (with-output-to-file + (string-append share "/zsh/site-functions/_rbw") + (lambda _ (invoke rbw "gen-completions" "zsh"))) + (mkdir-p (string-append share "/elvish/lib")) + (with-output-to-file + (string-append share "/elvish/lib/rbw") + (lambda _ (invoke rbw "gen-completions" "elvish")))))) + (add-after 'install 'install-scripts + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (scripts (assoc-ref outputs "scripts"))) + (for-each (lambda (file) + (install-file file (string-append scripts "/bin"))) + (find-files "bin")) + (for-each (lambda (file) + (wrap-script file + ;; TODO: Do we want to wrap these with more programs? + ;; pass git fzf libsecret xclip rofi + `("PATH" prefix + (,(string-append out "/bin") + ,(dirname (search-input-file inputs "/bin/grep")) + ,(dirname (search-input-file inputs "/bin/sed")) + ,(dirname (search-input-file inputs "/bin/perl")) + ,(dirname (search-input-file inputs "/bin/xargs")) + ,(dirname (search-input-file inputs "/bin/sort")))))) + (find-files (string-append scripts "/bin"))))))))) (native-inputs - (list perl)) + (cons* perl (if (%current-target-system) + (list this-package) + '()))) + (inputs + (list coreutils-minimal findutils grep perl sed)) (home-page "https://git.tozt.net/rbw") (synopsis "Unofficial Bitwarden CLI") (description "This package is an unofficial command line client for @@ -2011,25 +2292,25 @@ background agent taking care of maintaining the necessary state.") (define-public rust-cargo-c (package (name "rust-cargo-c") - (version "0.9.27+cargo-0.74.0") + (version "0.9.29+cargo-0.76.0") (source (origin (method url-fetch) (uri (crate-uri "cargo-c" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xsw17zcxzlg7d7pg40anm9w8g95kvnxfp7ln9sbgv3zhsc9wggq")))) + (base32 "03ks9rl2skvf5j93sbmbz6l72k5cgvf4hc0nhnp7aadrvb05v5sr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-cargo" ,rust-cargo-0.74) + ("rust-cargo" ,rust-cargo-0.76) ("rust-cargo-util" ,rust-cargo-util-0.2) ("rust-cbindgen" ,rust-cbindgen-0.26) ("rust-cc" ,rust-cc-1) ("rust-clap" ,rust-clap-4) ("rust-glob" ,rust-glob-0.3) - ("rust-itertools" ,rust-itertools-0.11) + ("rust-itertools" ,rust-itertools-0.12) ("rust-log" ,rust-log-0.4) ("rust-regex" ,rust-regex-1) ("rust-semver" ,rust-semver-1) @@ -2037,11 +2318,11 @@ background agent taking care of maintaining the necessary state.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-toml" ,rust-toml-0.7) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (native-inputs (list pkg-config)) (inputs - (list curl libgit2-1.6 libssh2 openssl zlib)) + (list curl libgit2-1.7 libssh2 openssl zlib)) (home-page "https://github.com/lu-zero/cargo-c") (synopsis "Build and install C-compatible libraries") (description @@ -2075,126 +2356,85 @@ consecutive lines and since program start.") (define-public skim (package (name "skim") - (version "0.9.4") + (version "0.10.4") (source - (origin - (method url-fetch) - (uri (crate-uri "skim" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1d5v9vq8frkdjm7bnw3455h6xf3c277d51il2qasn7r20kwik7ab")))) + (origin + (method url-fetch) + (uri (crate-uri "skim" version)) + ;; Keep the same file name as the crate in crates-io + (file-name (string-append "rust-skim-" version ".tar.gz")) + (sha256 + (base32 "0chgv9nr8cmlf2mg2k94igh3m5svjsfxxwbnl21xsb6blvh8vlp5")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-atty-0.2" ,rust-atty-0.2) - ("rust-beef" ,rust-beef-0.5) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-defer-drop" ,rust-defer-drop-1) - ("rust-derive-builder" ,rust-derive-builder-0.9) - ("rust-env-logger" ,rust-env-logger-0.8) - ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.19) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-shlex" ,rust-shlex-0.1) - ("rust-time" ,rust-time-0.2) - ("rust-timer" ,rust-timer-0.2) - ("rust-tuikit" ,rust-tuikit-0.4) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-vte" ,rust-vte-0.9)) - #:phases - (modify-phases %standard-phases - (add-after 'install 'install-extras - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (share (string-append out "/share")) - (man (string-append out "/share/man")) - (vimfiles (string-append - share "/vim/vimfiles/pack/guix/start/skim/plugin")) - (bash-completion - (string-append share "/bash-completions/completions")) - (zsh-site (string-append share "/zsh/site-functions")) - (fish-vendor - (string-append share "/fish/vendor-completions.d"))) - ;; Binaries - (for-each - (lambda (binary) (install-file binary bin)) - (find-files "bin")) - (mkdir-p share) - ;; Manpages - (copy-recursively "man" man) - ;; Vim plugins - (mkdir-p vimfiles) - (copy-recursively "plugin" vimfiles) - ;; Completions - (mkdir-p bash-completion) - (copy-file - "shell/completion.bash" - (string-append bash-completion "/skim")) - (copy-file - "shell/key-bindings.bash" - (string-append bash-completion "/skim-bindings")) - (mkdir-p zsh-site) - (copy-file - "shell/completion.zsh" - (string-append zsh-site "/_skim")) - (copy-file - "shell/key-bindings.zsh" - (string-append zsh-site "/_skim-bindings")) - (mkdir-p fish-vendor) - (copy-file - "shell/key-bindings.fish" - (string-append fish-vendor "/skim-bindings.fish")))))))) + `(#:install-source? #f + #:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-beef" ,rust-beef-0.5) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-3) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-defer-drop" ,rust-defer-drop-1) + ("rust-derive-builder" ,rust-derive-builder-0.11) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.25) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-time" ,rust-time-0.3) + ("rust-timer" ,rust-timer-0.2) + ("rust-tuikit" ,rust-tuikit-0.5) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vte" ,rust-vte-0.11)) + #:phases (modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share")) + (man (string-append out "/share/man")) + (vimfiles (string-append share + "/vim/vimfiles/pack/guix/start/skim/plugin")) + (bash-completion (string-append share + "/bash-completions/completions")) + (zsh-site (string-append share + "/zsh/site-functions")) + (fish-vendor (string-append share + "/fish/vendor-completions.d"))) + ;; Binaries + (for-each (lambda (binary) + (install-file binary bin)) + (find-files "bin")) + (mkdir-p share) + ;; Manpages + (copy-recursively "man" man) + ;; Vim plugins + (mkdir-p vimfiles) + (copy-recursively "plugin" vimfiles) + ;; Completions + (mkdir-p bash-completion) + (copy-file "shell/completion.bash" + (string-append bash-completion "/skim")) + (copy-file "shell/key-bindings.bash" + (string-append bash-completion + "/skim-bindings")) + (mkdir-p zsh-site) + (copy-file "shell/completion.zsh" + (string-append zsh-site "/_skim")) + (copy-file "shell/key-bindings.zsh" + (string-append zsh-site "/_skim-bindings")) + (mkdir-p fish-vendor) + (copy-file "shell/key-bindings.fish" + (string-append fish-vendor + "/skim-bindings.fish")))))))) (home-page "https://github.com/lotabout/skim") (synopsis "Fuzzy Finder in Rust") (description "This package provides a fuzzy finder in Rust.") (license license:expat))) -(define-public skim-0.7 - (package - (inherit skim) - (name "skim") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "skim" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1yiyd6fml5hd2l811sckkzmiiq9bd7018ajk4qk3ai4wyvqnw8mv")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-derive-builder" ,rust-derive-builder-0.9) - ("rust-env-logger" ,rust-env-logger-0.6) - ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.14) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-shlex" ,rust-shlex-0.1) - ("rust-time" ,rust-time-0.1) - ("rust-timer" ,rust-timer-0.2) - ("rust-tuikit" ,rust-tuikit-0.2) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-vte" ,rust-vte-0.3)))))) - -(define-public rust-skim-0.7 - (deprecated-package "rust-skim-0.7" skim-0.7)) - (define-public spotifyd (package (name "spotifyd") @@ -2245,7 +2485,7 @@ consecutive lines and since program start.") ;"dbus_mpris" ; Conflicts with rust-chrono-0.4 version. "pulseaudio_backend" "rodio_backend"))) - (native-inputs (list perl pkg-config)) + (native-inputs (list pkg-config)) (inputs (list alsa-lib dbus pulseaudio)) (home-page "https://github.com/Spotifyd/spotifyd") (synopsis "Spotify streaming daemon with Spotify Connect support") @@ -2319,37 +2559,41 @@ terminal won't have to take up any space.") (define-public swayr (package (name "swayr") - (version "0.18.0") + (version "0.27.3") (source (origin (method url-fetch) (uri (crate-uri "swayr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1m443lwbs3lm20kkviw60db56w9i59dm393z1sn6llpfi2xihh3h")))) + (base32 "1akmq1qa3v8jxn7qgwmr70dhgamb1mvn2jkqdawc6i8accz33gca")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:cargo-test-flags + '("--release" "--" + "--skip=config::test_load_swayr_config") + #:install-source? #f #:cargo-inputs - (("rust-clap" ,rust-clap-3) - ("rust-directories" ,rust-directories-4) - ("rust-env-logger" ,rust-env-logger-0.9) + (("rust-clap" ,rust-clap-4) + ("rust-directories" ,rust-directories-5) + ("rust-env-logger" ,rust-env-logger-0.10) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) + ("rust-peg" ,rust-peg-0.8) ("rust-rand" ,rust-rand-0.8) ("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-swayipc" ,rust-swayipc-3) - ("rust-toml" ,rust-toml-0.5)))) + ("rust-toml" ,rust-toml-0.8)))) (home-page "https://sr.ht/~tsdh/swayr/") (synopsis "Window-switcher for the sway window manager") (description "This package provides a last-recently-used window-switcher for the sway -window manager. Swayr consists of a daemon, and a client. The swayrd daemon +window manager. Swayr consists of a daemon, and a client. The swayrd daemon records window/workspace creations, deletions, and focus changes using sway's -JSON IPC interface. The swayr client offers subcommands, and sends them to the +JSON IPC interface. The swayr client offers subcommands, and sends them to the daemon which executes them.") (license license:gpl3+))) @@ -2422,7 +2666,7 @@ daemon which executes them.") ("rust-predicates" ,rust-predicates-2) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs - (list perl pkg-config)) + (list pkg-config)) (inputs (list openssl)) (home-page "https://github.com/dbrgn/tealdeer/") @@ -2435,7 +2679,7 @@ Full featured offline client with caching support.") (define-public git-absorb (package (name "git-absorb") - (version "0.6.6") + (version "0.6.11") (source (origin ;; crates.io does not include the manual page. @@ -2445,13 +2689,19 @@ Full featured offline client with caching support.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "04v10bn24acify34vh5ayymsr1flcyb05f3az9k1s2m6nlxy5gb9")))) + (base32 "1mgqmbk2rz87blas86k340nshiy0zbw9pq76b8nqknpgghm4k029")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"~") "\"")) + (delete-file "Documentation/git-absorb.1"))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-clap" ,rust-clap-2) - ("rust-git2" ,rust-git2-0.13) + ("rust-git2" ,rust-git2-0.18) ("rust-memchr" ,rust-memchr-2) ("rust-slog" ,rust-slog-2) ("rust-slog-async" ,rust-slog-async-2) @@ -2460,19 +2710,17 @@ Full featured offline client with caching support.") (("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases - (add-after 'unpack 'relax-version-requirements - (lambda _ - (substitute* "Cargo.toml" - (("\"~") "\"")))) (add-after 'install 'install-manual-page (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (man (string-append out "/share/man/man1"))) + (with-directory-excursion "Documentation" + (invoke "a2x" "-L" "-d" "manpage" "-f" "manpage" "git-absorb.txt")) (install-file "Documentation/git-absorb.1" man))))))) (native-inputs - (list pkg-config)) + (list asciidoc pkg-config)) (inputs - (list libgit2-1.3 zlib)) + (list libgit2-1.7 zlib)) (home-page "https://github.com/tummychow/git-absorb") (synopsis "Git tool for making automatic fixup commits") (description @@ -2482,10 +2730,94 @@ are safe to modify, and which staged changes belong to each of those commits. It will then write @code{fixup!} commits for each of those changes.") (license license:bsd-3))) +(define-public git-delta + (package + (name "git-delta") + (version "0.16.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "git-delta" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pvy5jcpj3xzf2b8k9d5xwwamwlv9pzsx6p2yq61am38igafg9qb")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs + `(("rust-ansi-colours" ,rust-ansi-colours-1) + ("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-bat" ,rust-bat-0.22) + ("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-console" ,rust-console-0.15) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dirs" ,rust-dirs-4) + ("rust-git2" ,rust-git2-0.16) + ("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-pathdiff" ,rust-pathdiff-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("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-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)) + #:phases + #~(modify-phases %standard-phases + (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 share "/bash-completion/completions")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d"))) + (mkdir-p bash-completions-dir) + (mkdir-p zsh-completions-dir) + (mkdir-p fish-completions-dir) + (copy-file "etc/completion/completion.bash" + (string-append bash-completions-dir "/delta")) + (copy-file "etc/completion/completion.zsh" + (string-append zsh-completions-dir "/_delta")) + (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)) + (home-page "https://github.com/dandavison/delta") + (synopsis "Syntax-highlighting pager for git") + (description + "This package provides a syntax-highlighting pager for @command{git}. It +uses @command{bat} for syntax highlighting and provides many features such as +advanced keybindings, word-level diff highlighting, syntax highlighting for +@command{grep} and a stylized box presentation.") + (license license:expat))) + (define-public rust-xremap (package (name "rust-xremap") - (version "0.8.9") + (version "0.8.14") (source (origin (method url-fetch) @@ -2493,7 +2825,7 @@ It will then write @code{fixup!} commits for each of those changes.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1815hz1a93brj6v9102xypds1qslf6gxgk9vcvxhxlhy1c2pfxvj")))) + "1691clzqbwcywz66k0lf5wjz3q5cpbks0l090bfv42idzr5a0ghl")))) (build-system cargo-build-system) (arguments `(#:features '() @@ -2517,9 +2849,10 @@ It will then write @code{fixup!} commits for each of those changes.") ("rust-serde-with" ,rust-serde-with-3) ("rust-serde-yaml" ,rust-serde-yaml-0.9) ("rust-swayipc" ,rust-swayipc-3) + ("rust-toml" ,rust-toml-0.8) ("rust-wayland-client" ,rust-wayland-client-0.30) ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.1) - ("rust-x11rb" ,rust-x11rb-0.12) + ("rust-x11rb" ,rust-x11rb-0.13) ("rust-zbus" ,rust-zbus-1)) #:phases (modify-phases %standard-phases @@ -2621,36 +2954,69 @@ It will then write @code{fixup!} commits for each of those changes.") (define-public zoxide (package (name "zoxide") - (version "0.8.3") + (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "zoxide" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y5v2vgl9f3n0n0w4b3iddbfyxv0hls0vw5406ry0hcvnnjyy2l3")))) + (base32 "1dqndbxpnv0g82d52jaszsgh62y9cv9hq8rgypsimgkk9yxhn4rw")))) (build-system cargo-build-system) (arguments (list #:install-source? #f #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) - ("rust-askama" ,rust-askama-0.11) + ("rust-askama" ,rust-askama-0.12) ("rust-bincode" ,rust-bincode-1) - ("rust-clap" ,rust-clap-3) - ("rust-clap-complete" ,rust-clap-complete-3) - ("rust-clap-complete-fig" ,rust-clap-complete-fig-3) - ("rust-dirs" ,rust-dirs-4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) + ("rust-color-print" ,rust-color-print-0.3) + ("rust-dirs" ,rust-dirs-5) ("rust-dunce" ,rust-dunce-1) - ("rust-fastrand" ,rust-fastrand-1) + ("rust-fastrand" ,rust-fastrand-2) ("rust-glob" ,rust-glob-0.3) - ("rust-nix" ,rust-nix-0.24) + ("rust-nix" ,rust-nix-0.26) + ("rust-ouroboros" ,rust-ouroboros-0.17) ("rust-serde" ,rust-serde-1) ("rust-which" ,rust-which-4)) #:cargo-development-inputs `(("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-rstest" ,rust-rstest-0.15) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-more + (lambda _ + (let* ((out #$output) + (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"))) + ;; The completions are generated in build.rs. + (mkdir-p man1) + (mkdir-p bash-completions-dir) + (mkdir-p elvish-completions-dir) + (for-each (lambda (file) + (install-file file man1)) + (find-files "man/man1")) + (copy-file "contrib/completions/zoxide.bash" + (string-append bash-completions-dir "/zoxide")) + (install-file "contrib/completions/zoxide.fish" + fish-completions-dir) + (install-file "contrib/completions/_zoxide" + zsh-completions-dir) + (copy-file "contrib/completions/zoxide.elv" + (string-append elvish-completions-dir + "/zoxide")))))))) (home-page "https://github.com/ajeetdsouza/zoxide/") (synopsis "Fast way to navigate your file system") (description diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 104834deab..1f129a93bd 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -4,7 +4,7 @@ ;;; Copyright © 2016 Nikita <nikita@n0.is> ;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2017, 2018 Nikolai Merinov <nikolai.merinov@member.fsf.org> -;;; Copyright © 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2017, 2019-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Danny Milosavljevic <dannym+a@scratchpost.org> ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com> @@ -46,8 +46,7 @@ #:use-module (gnu packages flex) #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) - #:use-module (gnu packages jemalloc) - #:use-module (gnu packages libunwind) + #:use-module (gnu packages libffi) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages mingw) @@ -55,15 +54,18 @@ #:use-module (gnu packages python) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) + #:use-module (gnu packages web) #:use-module (gnu packages) #:use-module (guix build-system cargo) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) + #:use-module (guix search-paths) #:use-module (guix download) #:use-module (guix memoization) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix platform) #:use-module ((guix build utils) #:select (alist-replace)) #:use-module (guix utils) #:use-module (guix gexp) @@ -101,21 +103,6 @@ (define %cargo-reference-hash "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855") -(define* (nix-system->gnu-triplet-for-rust - #:optional (system (%current-system))) - (match system - ("x86_64-linux" "x86_64-unknown-linux-gnu") - ("i686-linux" "i686-unknown-linux-gnu") - ("armhf-linux" "armv7-unknown-linux-gnueabihf") - ("aarch64-linux" "aarch64-unknown-linux-gnu") - ("mips64el-linux" "mips64el-unknown-linux-gnuabi64") - ("riscv64-linux" "riscv64gc-unknown-linux-gnu") - ("i586-gnu" "i686-unknown-hurd-gnu") - ("i686-gnu" "i686-unknown-hurd-gnu") - ("i686-mingw" "i686-pc-windows-gnu") - ("x86_64-mingw" "x86_64-pc-windows-gnu") - (_ (nix-system->gnu-triplet system)))) - (define* (rust-uri version #:key (dist "static")) (string-append "https://" dist ".rust-lang.org/dist/" "rustc-" version "-src.tar.gz")) @@ -137,27 +124,28 @@ ;;; Note: mrustc's only purpose is to be able to bootstap Rust; it's designed ;;; to be used in source form. -(define %mrustc-commit "597593aba86fa2edbea80c6e09f0b1b2a480722d") +(define %mrustc-commit "b6754f574f8846eb842feba4ccbeeecb10bdfacc") (define %mrustc-source - (let* ((version "0.10") + (let* ((version "0.10.1") (commit %mrustc-commit) - (revision "2") + (revision "1") (name "mrustc")) (origin (method git-fetch) (uri (git-reference (url "https://github.com/thepowersgang/mrustc") - (commit commit))) - (file-name (git-file-name name (git-version version revision commit))) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "09rvm3zgx1d86gippl8qzh13m641ynbw9q0zsc90g0h1khd3z3b6")) + "0rqiif7rb5hg6ik3i1flldj311f014q4n9z8wb50cs8kspjz32di")) (modules '((guix build utils))) (snippet '(begin ;; Drastically reduces memory and build time requirements ;; by disabling debug by default. (substitute* (find-files "." "Makefile") + (("LINKFLAGS := -g") "LINKFLAGS :=") (("-g ") ""))))))) ;;; Rust 1.54 is special in that it is built with mrustc, which shortens the @@ -175,7 +163,9 @@ (snippet '(begin (for-each delete-file-recursively - '("src/llvm-project")) + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/jemalloc")) ;; Remove vendored dynamically linked libraries. ;; find . -not -type d -executable -exec file {} \+ | grep ELF (delete-file "vendor/vte/vim10m_match") @@ -183,23 +173,24 @@ ;; Also remove the bundled (mostly Windows) libraries. ;; find vendor -not -type d -exec file {} \+ | grep PE32 (for-each delete-file - (find-files "vendor" ".*\\.(a|dll|exe|lib)$")))) + (find-files "vendor" "\\.(a|dll|exe|lib)$")))) (patches (search-patches "rustc-1.54.0-src.patch")) (patch-flags '("-p0")))) ;default is -p1 (outputs '("out" "cargo")) (properties '((hidden? . #t) - (timeout . 72000) ;20 hours + (timeout . 129600) ;36 hours (max-silent-time . 18000))) ;5 hours (for armel) (build-system gnu-build-system) (inputs - `(("libcurl" ,curl) + `(,@(if (or (target-ppc64le?) + (target-riscv64?)) + `(("clang" ,clang-13)) + `()) ("llvm" ,llvm-13) ("openssl" ,openssl-1.1) ("zlib" ,zlib))) (native-inputs - `(("bison" ,bison) - ("flex" ,flex) - ("pkg-config" ,pkg-config) + `(("pkg-config" ,pkg-config) ;; Required for the libstd sources. ("mrustc-source" ,%mrustc-source))) (arguments @@ -213,11 +204,14 @@ #:validate-runpath? #f ;; Most of the build is single-threaded. This also improves the ;; build time on machines with "only" 8GB of RAM. + ;; ppc64le regularly sees race conditions between various dependant crates. #:parallel-build? ,(target-x86-64?) #:make-flags (list ,(string-append "RUSTC_TARGET=" - (or (%current-target-system) - (nix-system->gnu-triplet-for-rust))) + (platform-rust-target + (lookup-platform-by-target-or-system + (or (%current-target-system) + (%current-system))))) ,(string-append "RUSTC_VERSION=" version) ,(string-append "MRUSTC_TARGET_VER=" (version-major+minor version)) @@ -228,14 +222,15 @@ "OUTDIR_SUF=") ;do not add version suffix to output dir #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-reference-to-cc - ;; This prevents errors like 'error: linker `cc` not found' when - ;; "cc" is not found on PATH. - (lambda* (#:key inputs #:allow-other-keys) - (let ((gcc (assoc-ref inputs "gcc"))) - (substitute* (find-files "." "^link.rs$") - (("\"cc\".as_ref") - (format #f "~s.as_ref" (string-append gcc "/bin/gcc"))))))) + ,@(if (target-ppc64le?) + `((add-after 'unpack 'patch-sources-for-newer-llvm + (lambda _ + ;; Adjust some sources for llvm-13, see llvm commit + ;; acce401068e78a8c5dc9e06802111ffad3da763f + (substitute* (find-files "." "powerpc64le_unknown_linux_gnu.rs") + (("e-m:e-i64:64-n32:64-v256:256:256-v512:512:512") + "e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512"))))) + '()) (add-after 'unpack 'setup-mrustc-sources (lambda* (#:key inputs #:allow-other-keys) (copy-recursively (assoc-ref inputs "mrustc-source") "../mrustc") @@ -260,7 +255,9 @@ (string-append "LLVM_CONFIG := " llvm "/bin/llvm-config\n"))) (substitute* "minicargo.mk" ;; Do not try to fetch sources from the Internet. - (("@curl.*") "")) + (("@curl.*") "") + (("\\$\\(MINICARGO\\) \\$\\(RUSTC_SRC_DL\\)") + "$(MINICARGO)")) (substitute* "Makefile" ;; Patch date and git obtained version information. ((" -D VERSION_GIT_FULLHASH=.*") @@ -272,16 +269,7 @@ " -D VERSION_BUILDTIME=" "\"\\\"Thu, 01 Jan 1970 00:00:01 +0000\\\"\"" " -D VERSION_GIT_ISDIRTY=0\n"))) - (substitute* "minicargo.mk" - ;; Do not try to fetch sources from the Internet. - (("\\$\\(MINICARGO\\) \\$\\(RUSTC_SRC_DL\\)") - "$(MINICARGO)")) (substitute* "run_rustc/Makefile" - (("[$]Vtime ") - "$V ") - ;; Unlock the number of parallel jobs for cargo. - (("-j [[:digit:]]+ ") - "") ;; Patch the shebang of a generated wrapper for rustc (("#!/bin/sh") (string-append "#!" (which "sh")))) @@ -289,7 +277,7 @@ (("#!/bin/sh") (string-append "#!" (which "sh")))))))) (add-after 'patch-generated-file-shebangs 'patch-cargo-checksums - (lambda* _ + (lambda _ (substitute* "Cargo.lock" (("(checksum = )\".*\"" all name) (string-append name "\"" ,%cargo-reference-hash "\""))) @@ -301,8 +289,12 @@ (setenv "CARGO_HOME" cargo-home)))) (replace 'configure (lambda _ - (setenv "CC" "gcc") - (setenv "CXX" "g++") + ,@(if (or (target-ppc64le?) + (target-riscv64?)) + `((setenv "CC" "clang") + (setenv "CXX" "clang++")) + `((setenv "CC" "gcc") + (setenv "CXX" "g++"))) ;; The Guix LLVM package installs only shared libraries. (setenv "LLVM_LINK_SHARED" "1") ;; rustc still insists on having 'cc' on PATH in some places @@ -313,10 +305,9 @@ (delete 'patch-generated-file-shebangs) (replace 'build (lambda* (#:key make-flags parallel-build? #:allow-other-keys) - (let* ((src-root (getcwd)) - (job-count (if parallel-build? - (parallel-job-count) - 1))) + (let ((job-count (if parallel-build? + (parallel-job-count) + 1))) ;; Adapted from: ;; https://github.com/dtolnay/bootstrap/blob/master/build-1.54.0.sh. (chdir "../mrustc") @@ -335,10 +326,20 @@ (display "Building LIBS...\n") (apply invoke "make" "-f" "minicargo.mk" "LIBS" make-flags) + ;; The psm crate FTBFS on ppc64le with gcc. (display "Building rustc...\n") (apply invoke "make" "-f" "minicargo.mk" "output/rustc" make-flags) + ;; We can to continue the build with gcc after building rustc. + ;; librustc_driver.so undefined reference to + ;; `llvm::cfg::Update<llvm::BasicBlock*>::dump() const' + ,@(if (or (target-ppc64le?) + (target-riscv64?)) + `((setenv "CC" "gcc") + (setenv "CXX" "g++")) + `()) + (display "Building cargo...\n") (apply invoke "make" "-f" "minicargo.mk" "output/cargo" make-flags) @@ -354,10 +355,12 @@ (rustc (string-append bin "/rustc")) (cargo-bin (string-append cargo "/bin")) (lib (string-append out "/lib")) - (gnu-triplet ,(or (%current-target-system) - (nix-system->gnu-triplet-for-rust))) - (system-lib-prefix (string-append lib "/rustlib/" - gnu-triplet "/lib"))) + (system-lib-prefix + (string-append lib "/rustlib/" + ,(platform-rust-target + (lookup-platform-by-target-or-system + (or (%current-target-system) + (%current-system)))) "/lib"))) (mkdir-p (dirname rustc)) (copy-file "run_rustc/output/prefix/bin/rustc_binary" rustc) (wrap-program rustc @@ -374,9 +377,9 @@ safety and thread safety guarantees.") ;; therefore the build process needs 8GB of RAM while building. ;; It may support i686 soon: ;; <https://github.com/thepowersgang/mrustc/issues/78>. - ;; XXX: The rust bootstrap is currently broken on riscv64, - ;; remove it until this is fixed. - (supported-systems '("x86_64-linux" "aarch64-linux")) + ;; List of systems where rust-bootstrap is explicitly known to build: + (supported-systems '("x86_64-linux" "aarch64-linux" + "riscv64-linux" "powerpc64le-linux")) ;; Dual licensed. (license (list license:asl2.0 license:expat)))) @@ -395,6 +398,7 @@ safety and thread safety guarantees.") '(begin (for-each delete-file-recursively '("src/llvm-project" + "vendor/openssl-src/openssl" "vendor/tikv-jemalloc-sys/jemalloc")) ;; Remove vendored dynamically linked libraries. ;; find . -not -type d -executable -exec file {} \+ | grep ELF @@ -403,7 +407,7 @@ safety and thread safety guarantees.") ;; Also remove the bundled (mostly Windows) libraries. ;; find vendor -not -type d -exec file {} \+ | grep PE32 (for-each delete-file - (find-files "vendor" ".*\\.(a|dll|exe|lib)$")) + (find-files "vendor" "\\.(a|dll|exe|lib)$")) ;; Add support for riscv64-linux. (substitute* "vendor/tikv-jemallocator/src/lib.rs" ((" target_arch = \"s390x\"," all) @@ -451,16 +455,7 @@ safety and thread safety guarantees.") (binutils (assoc-ref inputs "binutils")) (rustc (assoc-ref inputs "rustc-bootstrap")) (cargo (assoc-ref inputs "cargo-bootstrap")) - (llvm (assoc-ref inputs "llvm")) - (jemalloc (assoc-ref inputs "jemalloc"))) - ;; The compiler is no longer directly built against jemalloc, but - ;; rather via the jemalloc-sys crate (which vendors the jemalloc - ;; source). To use jemalloc we must enable linking to it (otherwise - ;; it would use the system allocator), and set an environment - ;; variable pointing to the compiled jemalloc. - (setenv "JEMALLOC_OVERRIDE" - (search-input-file inputs - "/lib/libjemalloc_pic.a")) + (llvm (assoc-ref inputs "llvm"))) (call-with-output-file "config.toml" (lambda (port) (display (string-append " @@ -477,11 +472,11 @@ prefix = \"" out "\" sysconfdir = \"etc\" [rust] debug=false -jemalloc=true +jemalloc=false default-linker = \"" gcc "/bin/gcc" "\" channel = \"stable\" rpath = true -[target." ,(nix-system->gnu-triplet-for-rust) "] +[target." ,(platform-rust-target (lookup-platform-by-system (%current-system))) "] llvm-config = \"" llvm "/bin/llvm-config" "\" cc = \"" gcc "/bin/gcc" "\" cxx = \"" gcc "/bin/g++" "\" @@ -502,9 +497,11 @@ ar = \"" binutils "/bin/ar" "\" (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (cargo-out (assoc-ref outputs "cargo")) - (gnu-triplet ,(or (%current-target-system) - (nix-system->gnu-triplet-for-rust))) - (build (string-append "build/" gnu-triplet))) + (build (string-append "build/" + ,(platform-rust-target + (lookup-platform-by-target-or-system + (or (%current-target-system) + (%current-system))))))) ;; Manually do the installation instead of calling './x.py ;; install', as that is slow and needlessly rebuilds some ;; things. @@ -534,32 +531,18 @@ ar = \"" binutils "/bin/ar" "\" `("LIBRARY_PATH" ":" suffix (,(string-append libc "/lib")))))))))) (native-inputs - `(("cmake" ,cmake-minimal) - ("pkg-config" ,pkg-config) ; For "cargo" + `(("pkg-config" ,pkg-config) ("python" ,python-wrapper) ("rustc-bootstrap" ,rust-bootstrap) - ("cargo-bootstrap" ,rust-bootstrap "cargo") - ("which" ,which))) + ("cargo-bootstrap" ,rust-bootstrap "cargo"))) (inputs - `(("jemalloc" ,jemalloc) - ("llvm" ,llvm-13) - ("openssl" ,openssl) - ("libssh2" ,libssh2) ; For "cargo" - ("libcurl" ,curl))) ; For "cargo" + `(("llvm" ,llvm-13) + ("openssl" ,openssl))) ;; rustc invokes gcc, so we need to set its search paths accordingly. - ;; Note: duplicate its value here to cope with circular dependencies among - ;; modules (see <https://bugs.gnu.org/31392>). (native-search-paths - (list (search-path-specification - (variable "C_INCLUDE_PATH") - (files '("include"))) - (search-path-specification - (variable "CPLUS_INCLUDE_PATH") - (files '("include/c++" "include"))) - (search-path-specification - (variable "LIBRARY_PATH") - (files '("lib" "lib64"))))) - (supported-systems (delete "i586-gnu" %supported-systems)) + %gcc-search-paths) + ;; Limit this to systems where the final rust compiler builds successfully. + (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux")) (synopsis "Compiler for the Rust programming language") (description "Rust is a systems programming language that provides memory safety and thread safety guarantees.") @@ -574,14 +557,14 @@ safety and thread safety guarantees.") (package (inherit base-rust) (arguments - (substitute-keyword-arguments (package-arguments base-rust) - ((#:validate-runpath? _ #t) - #t) + (substitute-keyword-arguments + (strip-keyword-arguments '(#:validate-runpath?) + (package-arguments base-rust)) ((#:phases phases) `(modify-phases ,phases (delete 'add-cc-shim-to-path) (add-after 'patch-generated-file-shebangs 'patch-cargo-checksums - (lambda* _ + (lambda _ (substitute* "Cargo.lock" (("(checksum = )\".*\"" all name) (string-append name "\"" ,%cargo-reference-hash "\""))) @@ -651,6 +634,7 @@ safety and thread safety guarantees.") '(begin (for-each delete-file-recursively '("src/llvm-project" + "vendor/openssl-src/openssl" "vendor/tikv-jemalloc-sys/jemalloc")) ;; Remove vendored dynamically linked libraries. ;; find . -not -type d -executable -exec file {} \+ | grep ELF @@ -658,7 +642,7 @@ safety and thread safety guarantees.") (delete-file "vendor/vte/vim10m_table") ;; Also remove the bundled (mostly Windows) libraries. (for-each delete-file - (find-files "vendor" ".*\\.(a|dll|exe|lib)$"))))))))) + (find-files "vendor" "\\.(a|dll|exe|lib)$"))))))))) (define-public rust-1.62 (rust-bootstrapped-package @@ -677,6 +661,27 @@ safety and thread safety guarantees.") (source (origin (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/jemalloc")) + ;; ERROR: could not find native static library + ;; `rustix_outline_powerpc64`, perhaps an -L flag is missing? + ;; Adjust rustix to always build with cc. + (substitute* "src/bootstrap/Cargo.lock" + (("\"errno\",") "\"cc\",\n \"errno\",")) + ;; Add a dependency on the the 'cc' feature of rustix. + (substitute* "vendor/fd-lock/Cargo.toml" + (("\"fs\"") "\"fs\", \"cc\"")) + ;; Remove vendored dynamically linked libraries. + ;; find . -not -type d -executable -exec file {} \+ | grep ELF + (delete-file "vendor/vte/vim10m_match") + (delete-file "vendor/vte/vim10m_table") + ;; Also remove the bundled (mostly Windows) libraries. + (for-each delete-file + (find-files "vendor" "\\.(a|dll|exe|lib)$")))) (patches (search-patches "rust-1.64-fix-riscv64-bootstrap.patch")) (patch-flags '("-p1" "--reverse")))) (arguments @@ -714,6 +719,31 @@ safety and thread safety guarantees.") rust-1.66 "1.67.1" "0vpzv6rm3w1wbni17ryvcw83k5klhghklylfdza3nnp8blz3sj26"))) (package (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/jemalloc")) + ;; Adjust rustix to always build with cc. + (substitute* '("Cargo.lock" + "src/bootstrap/Cargo.lock") + (("\"errno\",") "\"cc\",\n \"errno\",")) + ;; Add a dependency on the the 'cc' feature of rustix. + (substitute* "vendor/fd-lock/Cargo.toml" + (("\"fs\"") "\"fs\", \"cc\"")) + (substitute* "vendor/is-terminal/Cargo.toml" + (("\"termios\"") "\"termios\", \"cc\"")) + ;; Remove vendored dynamically linked libraries. + ;; find . -not -type d -executable -exec file {} \+ | grep ELF + (delete-file "vendor/vte/vim10m_match") + (delete-file "vendor/vte/vim10m_table") + ;; Also remove the bundled (mostly Windows) libraries. + (for-each delete-file + (find-files "vendor" "\\.(a|dll|exe|lib)$")))))) (inputs (modify-inputs (package-inputs base-rust) (replace "llvm" llvm-15)))))) @@ -735,7 +765,17 @@ safety and thread safety guarantees.") '(begin (for-each delete-file-recursively '("src/llvm-project" + "vendor/openssl-src/openssl" "vendor/tikv-jemalloc-sys/jemalloc")) + ;; Adjust rustix to always build with cc. + (substitute* '("Cargo.lock" + "src/bootstrap/Cargo.lock") + (("\"errno\",") "\"cc\",\n \"errno\",")) + ;; Add a dependency on the the 'cc' feature of rustix. + (substitute* "vendor/fd-lock/Cargo.toml" + (("\"fs\"") "\"fs\", \"cc\"")) + (substitute* "vendor/is-terminal/Cargo.toml" + (("\"termios\"") "\"termios\", \"cc\"")) ;; Also remove the bundled (mostly Windows) libraries. (for-each delete-file (find-files "vendor" "\\.(a|dll|exe|lib)$"))))))))) @@ -750,6 +790,22 @@ safety and thread safety guarantees.") (source (origin (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/jemalloc")) + ;; Adjust rustix to always build with cc. + (substitute* "Cargo.lock" + (("\"errno\",") "\"cc\",\n \"errno\",")) + ;; Add a dependency on the the 'cc' feature of rustix. + (substitute* '("vendor/is-terminal/Cargo.toml" + "vendor/is-terminal-0.4.4/Cargo.toml") + (("\"termios\"") "\"termios\", \"cc\"")) + ;; Also remove the bundled (mostly Windows) libraries. + (for-each delete-file + (find-files "vendor" "\\.(a|dll|exe|lib)$")))) ;; Rust 1.70 adds the rustix library which depends on the vendored ;; fd-lock crate. The fd-lock crate uses Outline assembly which expects ;; a precompiled static library. Enabling the "cc" feature tells the @@ -763,6 +819,26 @@ safety and thread safety guarantees.") rust-1.70 "1.71.1" "0bj79syjap1kgpg9pc0r4jxc0zkxwm6phjf3digsfafms580vabg"))) (package (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/jemalloc")) + ;; Adjust rustix to always build with cc. + (substitute* '("Cargo.lock" + "src/tools/cargo/Cargo.lock") + (("\"errno\",") "\"cc\",\n \"errno\",")) + ;; Add a dependency on the the 'cc' feature of rustix. + (substitute* '("vendor/is-terminal/Cargo.toml" + "vendor/is-terminal-0.4.6/Cargo.toml") + (("\"termios\"") "\"termios\", \"cc\"")) + ;; Also remove the bundled (mostly Windows) libraries. + (for-each delete-file + (find-files "vendor" "\\.(a|dll|exe|lib)$")))))) (arguments (substitute-keyword-arguments (package-arguments base-rust) ((#:phases phases) @@ -789,13 +865,17 @@ safety and thread safety guarantees.") '(begin (for-each delete-file-recursively '("src/llvm-project" + "vendor/openssl-src/openssl" "vendor/tikv-jemalloc-sys/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 rustc_driver to explicitly use rustix with libc backend. + ;; Adjust some crates to explicitly use rustix with the libc backend. + (substitute* '("vendor/is-terminal/Cargo.toml" + "vendor/is-terminal-0.4.7/Cargo.toml") + (("\"termios\"") "\"termios\", \"use-libc\"")) (substitute* "compiler/rustc_driver/Cargo.toml" (("rustix = \"=0.37.11\"") (string-append "rustix = { version = \"=0.37.11\"," @@ -813,6 +893,7 @@ safety and thread safety guarantees.") '(begin (for-each delete-file-recursively '("src/llvm-project" + "vendor/openssl-src/openssl" "vendor/tikv-jemalloc-sys/jemalloc")) ;; Remove vendored dynamically linked libraries. ;; find . -not -type d -executable -exec file {} \+ | grep ELF @@ -824,6 +905,48 @@ safety and thread safety guarantees.") (("features = \\[\"fs\"" all) (string-append all ", \"use-libc\"")))))))))) +(define rust-1.74 + (let ((base-rust (rust-bootstrapped-package rust-1.73 "1.74.1" + "07930r17dkj3dnsrmilywb6p9i2g2jx56ndfpa2wh8crzhi3xnv7"))) + (package + (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/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/Cargo.toml" + (("features = \\[\"fs\"" all) + (string-append all ", \"use-libc\""))))))) + (arguments + (if (target-riscv64?) + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + ;; This phase is no longer needed. + (delete 'revert-riscv-pause-instruction)))) + (package-arguments base-rust)))))) + +(define rust-1.75 + (let ((base-rust (rust-bootstrapped-package rust-1.74 "1.75.0" + "1260mf3066ki6y55pvr35lnf54am6z96a3ap3hniwd4xpi2rywsv"))) + (package + (inherit base-rust) + (source + (origin + (inherit (package-source base-rust)) + (patches '())))))) + (define (make-ignore-test-list strs) "Function to make creating a list to ignore tests a bit easier." (map (lambda (str) @@ -838,15 +961,47 @@ 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.73)) + (let ((base-rust rust-1.75)) (package (inherit base-rust) (properties (alist-delete 'hidden? (package-properties base-rust))) (outputs (cons* "rust-src" "tools" (package-outputs base-rust))) + (source + (origin + (inherit (package-source base-rust)) + (snippet + '(begin + (for-each delete-file-recursively + '("src/llvm-project" + "vendor/openssl-src/openssl" + "vendor/tikv-jemalloc-sys/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")) + ;; 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() {~@ + println!(\"cargo:rustc-link-lib=nghttp2\");~@ + }~%"))) + ;; 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\""))))))) (arguments - (substitute-keyword-arguments (package-arguments base-rust) - ((#:tests? _ #f) - (not (%current-target-system))) + (substitute-keyword-arguments + (strip-keyword-arguments '(#:tests?) + (package-arguments base-rust)) ((#:phases phases) `(modify-phases ,phases (add-after 'unpack 'relax-gdb-auto-load-safe-path @@ -906,6 +1061,19 @@ safety and thread safety guarantees.") (substitute* "patch.rs" ,@(make-ignore-test-list '("fn gitoxide_clones_shallow_old_git_patch")))))) + ,@(if (target-riscv64?) + ;; Keep this phase separate so it can be adjusted without needing + ;; to adjust the skipped tests on other architectures. + `((add-after 'unpack 'disable-tests-broken-on-riscv64 + (lambda _ + (with-directory-excursion "src/tools/cargo/tests/testsuite" + (substitute* "build.rs" + ,@(make-ignore-test-list + '("fn uplift_dwp_of_bin_on_linux"))) + (substitute* "cache_lock.rs" + ,@(make-ignore-test-list + '("fn multiple_download"))))))) + `()) (add-after 'unpack 'disable-tests-broken-on-aarch64 (lambda _ (with-directory-excursion "src/tools/cargo/tests/testsuite/" @@ -978,7 +1146,7 @@ safety and thread safety guarantees.") ;; different outputs while reusing the shared libraries. (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) - (substitute* "src/bootstrap/builder.rs" + (substitute* "src/bootstrap/src/core/builder.rs" ((" = rpath.*" all) (string-append all " " @@ -1041,6 +1209,12 @@ safety and thread safety guarantees.") (mkdir-p (string-append out dest)) (copy-recursively "library" (string-append out dest "/library")) (copy-recursively "src" (string-append out dest "/src"))))) + (add-after 'install 'remove-uninstall-script + (lambda* (#:key outputs #:allow-other-keys) + ;; This script has no use on Guix + ;; and it retains a reference to the host's bash. + (delete-file (string-append (assoc-ref outputs "out") + "/lib/rustlib/uninstall.sh")))) (add-after 'install-rust-src 'wrap-rust-analyzer (lambda* (#:key outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "tools") "/bin"))) @@ -1056,6 +1230,9 @@ exec -a \"$0\" \"~a\" \"$@\"" "/lib/rustlib/src/rust/library") (string-append bin "/.rust-analyzer-real")))) (chmod (string-append bin "/rust-analyzer") #o755)))))))) + (inputs + (modify-inputs (package-inputs base-rust) + (prepend curl libffi `(,nghttp2 "lib") zlib))) ;; Add test inputs. (native-inputs (cons* `("gdb" ,gdb/pinned) `("procps" ,procps) @@ -1109,7 +1286,7 @@ exec -a \"$0\" \"~a\" \"$@\"" (("\\.ceil\\(\\)") "")) ;; gcc doesn't recognize this flag. (substitute* - "compiler/rustc_target/src/spec/windows_gnullvm_base.rs" + "compiler/rustc_target/src/spec/base/windows_gnullvm.rs" ((", \"--unwindlib=none\"") ""))))) `()) (replace 'set-env @@ -1158,7 +1335,7 @@ docs = false python = \"" (which "python") "\" vendor = true submodules = false -target = [\"" ,(nix-system->gnu-triplet-for-rust (gnu-triplet->nix-system target)) "\"] +target = [\"" ,(platform-rust-target (lookup-platform-by-target target)) "\"] [install] prefix = \"" out "\" sysconfdir = \"etc\" @@ -1167,14 +1344,14 @@ debug = false jemalloc = false default-linker = \"" target-cc "\" channel = \"stable\" -[target." ,(nix-system->gnu-triplet-for-rust) "] +[target." ,(platform-rust-target (lookup-platform-by-system (%current-system))) "] # These are all native tools llvm-config = \"" (search-input-file inputs "/bin/llvm-config") "\" linker = \"" (which "gcc") "\" cc = \"" (which "gcc") "\" cxx = \"" (which "g++") "\" ar = \"" (which "ar") "\" -[target." ,(nix-system->gnu-triplet-for-rust (gnu-triplet->nix-system target)) "] +[target." ,(platform-rust-target (lookup-platform-by-target target)) "] llvm-config = \"" (search-input-file inputs "/bin/llvm-config") "\" linker = \"" target-cc "\" cc = \"" target-cc "\" @@ -1195,12 +1372,6 @@ ar = \"" (search-input-file inputs (string-append "/bin/" ,(ar-for-target target (replace 'install (lambda _ (invoke "./x.py" "install" "library/std"))) - (add-after 'install 'remove-uninstall-script - (lambda* (#:key outputs #:allow-other-keys) - ;; This script has no use on Guix - ;; and it retains a reference to the host's bash. - (delete-file (string-append (assoc-ref outputs "out") - "/lib/rustlib/uninstall.sh")))) (delete 'install-rust-src) (delete 'wrap-rust-analyzer) (delete 'wrap-rustc))))) @@ -1223,8 +1394,7 @@ ar = \"" (search-input-file inputs (string-append "/bin/" ,(ar-for-target target (cross-binutils target) (if (string=? "i686-w64-mingw32" target) mingw-w64-i686-winpthreads - mingw-w64-x86_64-winpthreads) - libunwind)) + mingw-w64-x86_64-winpthreads))) (modify-inputs (package-native-inputs base-rust) (prepend (cross-gcc target #:libc (cross-libc target)) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 6d6733c055..067197ffc5 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -27,7 +27,11 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages base) ; glibc + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages llvm) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index be8fa8d7a7..1822380ac8 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2022 Andrew Tropin <andrew@trop.in> ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2023 David Pflug <david@pflug.io> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2024 Tanguy Le Carrour <tanguy@bioneland.org> ;;; ;;; This file is part of GNU Guix. @@ -46,8 +47,11 @@ #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages curl) #:use-module (gnu packages documentation) #:use-module (gnu packages groff) @@ -1035,8 +1039,56 @@ directory. These values can be piped through a series of steps, in a series of commands called a ``pipeline''.") (license license:expat))) +(define-public rust-nu-ansi-term-0.49 + (package + (name "rust-nu-ansi-term") + (version "0.49.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s2svfnircd9jp06wk55qcbb9v5cadkfcjfg99vm21qdjg0x6wy0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://www.nushell.sh") + (synopsis "Library for ANSI terminal colors and styles (bold, underline)") + (description + "This package is a library for ANSI terminal colors and styles (bold, +underline).") + (license license:expat))) + +(define-public rust-nu-ansi-term-0.46 + (package + (inherit rust-nu-ansi-term-0.49) + (name "rust-nu-ansi-term") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p")))) + (arguments + `(#:cargo-inputs + (("rust-overload" ,rust-overload-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-nu-ansi-term-0.44 (package + (inherit rust-nu-ansi-term-0.49) (name "rust-nu-ansi-term") (version "0.44.0") (source @@ -1053,13 +1105,7 @@ of commands called a ``pipeline''.") (("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-overload" ,rust-overload-0.1) ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://www.nushell.sh") - (synopsis "Library for ANSI terminal colors and styles (bold, underline)") - (description - "This package is a library for ANSI terminal colors and styles (bold, -underline).") - (license license:expat))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-nu-cli-0.44 (package diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index a9e5b80bbf..7d9a27bbc3 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -41,6 +41,7 @@ #:use-module (gnu packages build-tools) #:use-module (gnu packages check) #:use-module (gnu packages cmake) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) #:use-module (gnu packages curl) #:use-module (gnu packages freedesktop) @@ -223,14 +224,14 @@ cards.") (define-public newsboat (package (name "newsboat") - (version "2.33") + (version "2.34") (source (origin (method url-fetch) (uri (string-append "https://newsboat.org/releases/" version "/newsboat-" version ".tar.xz")) (sha256 - (base32 "1yilrfa8h63x24mcl8a6a17fsaa12imhl337br7g2dw3c1g0v78p")))) + (base32 "0kj3qbm3881fkrplvgnng4747bh29a8f2hhm7a2gc1n9n0wvbmvk")))) (build-system cargo-build-system) (native-inputs `(("gettext" ,gettext-minimal) @@ -266,7 +267,6 @@ cards.") ("rust-md5" ,rust-md5-0.7) ("rust-natord" ,rust-natord-1) ("rust-nom" ,rust-nom-7) - ("rust-once-cell" ,rust-once-cell-1) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-url" ,rust-url-2) ("rust-unicode-width" ,rust-unicode-width-0.1) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index e5acac202b..49c42c8fcb 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015-2021, 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2015-2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Mckinley Olsen <mck.olsen@gmail.com> ;;; Copyright © 2016, 2017, 2019 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016 David Craven <david@craven.ch> @@ -76,8 +76,10 @@ #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages dlang) @@ -1510,10 +1512,11 @@ basic input/output.") (define-public alacritty (package (name "alacritty") - (version "0.12.3") + (version "0.13.1") (source (origin - ;; XXX: The crate at "crates.io" has limited contents. In particular, + ;; XXX: The crate at "crates.io" contains only the alacritty subproject + ;; of alacritty and thus has limited contents. In particular, ;; it does not contain "extra" directory with completions, icon, etc. (method git-fetch) (uri (git-reference @@ -1521,43 +1524,58 @@ basic input/output.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1jbyxnza38c22k7ri8apzn03q91l06isj8la9xca7cz06kn0hha9")))) + (base32 "1y5xc9ryn9r0adygq53vrbpb8lazkmcqw38q978pbf0i57nwczrn")))) (build-system cargo-build-system) (arguments - `(#:install-source? #f ; virtual manifest + `(#:install-source? #f + #:cargo-test-flags + '("--release" "--" + ;; Completions generated with a different minor version of clap? + "--skip=cli::tests::completions") #:cargo-inputs - (("rust-alacritty-config" ,rust-alacritty-config-0.1) - ("rust-alacritty-config-derive" ,rust-alacritty-config-derive-0.2) - ("rust-alacritty-terminal" ,rust-alacritty-terminal-0.19) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-clap" ,rust-clap-3) - ("rust-cocoa" ,rust-cocoa-0.24) - ("rust-copypasta" ,rust-copypasta-0.8) - ("rust-crossfont" ,rust-crossfont-0.5) - ("rust-dirs" ,rust-dirs-4) - ("rust-embed-resource" ,rust-embed-resource-1) - ("rust-fnv" ,rust-fnv-1) + (("rust-ahash" ,rust-ahash-0.8) + ("rust-base64" ,rust-base64-0.21) + ("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-dirs" ,rust-dirs-5) + ("rust-embed-resource" ,rust-embed-resource-2) ("rust-gl-generator" ,rust-gl-generator-0.14) - ("rust-glutin" ,rust-glutin-0.30) + ("rust-glutin" ,rust-glutin-0.31) + ("rust-home" ,rust-home-0.5) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-notify" ,rust-notify-5) + ("rust-miow" ,rust-miow-0.6) + ("rust-notify" ,rust-notify-6) ("rust-objc" ,rust-objc-0.2) - ("rust-once-cell" ,rust-once-cell-1) ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-piper" ,rust-piper-0.2) + ("rust-polling" ,rust-polling-3) ("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) ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-syn" ,rust-syn-2) + ("rust-toml" ,rust-toml-0.8) ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-windows-sys" ,rust-windows-sys-0.36) - ("rust-winit" ,rust-winit-0.28) - ("rust-x11-dl" ,rust-x11-dl-2) + ("rust-vte" ,rust-vte-0.13) + ("rust-windows-sys" ,rust-windows-sys-0.48) + ("rust-winit" ,rust-winit-0.29) ("rust-xdg" ,rust-xdg-2)) #:cargo-development-inputs - (("rust-clap-complete" ,rust-clap-complete-3)) + (("rust-clap-complete" ,rust-clap-complete-4) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.8)) #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-xdg-open @@ -1582,7 +1600,9 @@ basic input/output.") (search-input-file inputs (string-append "lib/" all))) ;; There are several libwayland libraries. - (("libwayland-.*\\.so" all) + (("libwayland\\.so" all) + (search-input-file inputs (string-append "lib/" all))) + (("libwayland-[[:alpha:]]*\\.so" all) (search-input-file inputs (string-append "lib/" all))) (("libxkbcommon\\.so") (search-input-file inputs "lib/libxkbcommon.so"))))) @@ -1594,21 +1614,30 @@ basic input/output.") (share (string-append out "/share")) (icons (string-append share "/icons/hicolor/scalable/apps")) (tic (search-input-file (or native-inputs inputs) "/bin/tic")) - (man (string-append share "/man/man1")) + (man (string-append share "/man")) (alacritty-bin (car (find-files "target" "^alacritty$")))) ;; Install the executable. (install-file alacritty-bin bin) ;; Install man pages. - (mkdir-p man) - (copy-file "extra/alacritty.man" - (string-append man "/alacritty.1")) - ;; Install example configuration. - (install-file "alacritty.yml" - (string-append share "/doc/alacritty-" - ,(package-version this-package) "/example")) + (mkdir-p (string-append man "/man1")) + (mkdir-p (string-append man "/man5")) + (define (create-manpage manpage) + (let ((mandir (string-append + "/man" (string-take-right manpage 1) "/"))) + (with-input-from-file (string-append manpage ".scd") + (lambda _ + (with-output-to-file (string-append man mandir manpage) + (lambda _ (invoke "scdoc"))))))) + (with-directory-excursion "extra/man" + (for-each create-manpage '("alacritty.1" + "alacritty-msg.1" + "alacritty.5" + "alacritty-bindings.5"))) ;; Install desktop file. (install-file "extra/linux/Alacritty.desktop" (string-append share "/applications")) + (install-file "extra/linux/org.alacritty.Alacritty.appdata.xml" + (string-append share "/metainfo")) ;; Install icon. (mkdir-p icons) (copy-file "extra/logo/alacritty-term.svg" @@ -1631,7 +1660,8 @@ basic input/output.") (native-inputs (list ncurses pkg-config - python)) + python + scdoc)) (inputs (list expat fontconfig diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 41257d42f1..dbaaa44df8 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -28,6 +28,7 @@ #:use-module (gnu packages) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) #:use-module (gnu packages graphviz) #:use-module (gnu packages icu4c) #:use-module (gnu packages node) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index ea1933f82c..b812a3dfbc 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -96,6 +96,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages cook) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-vcs) #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages docbook) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 894543d3cc..925f5ff83b 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2014, 2015, 2016 David Thompson <davet@gnu.org> ;;; Copyright © 2014, 2015, 2016, 2018, 2020 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> -;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016 Andy Patterson <ajpatter@uwaterloo.ca> ;;; Copyright © 2015, 2018, 2019, 2020, 2021, 2023 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Alex Vong <alexvong1995@gmail.com> @@ -915,7 +915,7 @@ television and DVD. It is also known as AC-3.") (define-public libaom (package (name "libaom") - (version "3.5.0") + (version "3.8.0") (source (origin (method git-fetch) (uri (git-reference @@ -924,10 +924,10 @@ television and DVD. It is also known as AC-3.") (file-name (git-file-name name version)) (sha256 (base32 - "0arn8a88jz4mj69n8cs4qmrdjwhbvzsqgnx20wr9mq01b06kqich")))) + "04zfgvzi4h4ybvjc4zfpfsmldz8w6vasjlrry7j4p6g3g7wk64r7")))) (build-system cmake-build-system) (native-inputs - (list perl pkg-config python)) ; to detect the version + (list perl pkg-config python)) ; to detect the version (arguments `(#:tests? #f ; downloads many video clips #:configure-flags @@ -5575,7 +5575,7 @@ and audio capture, network stream playback, and many more.") (define-public dav1d (package (name "dav1d") - (version "1.0.0") + (version "1.3.0") (source (origin (method git-fetch) @@ -5584,9 +5584,12 @@ and audio capture, network stream playback, and many more.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0jkvb5as7danpalzlwd0w1dc9i2vijvmf39z0j6fwqvialsgnnj5")))) + (base32 "17r6qdijdnqfciqa0ia2y4gyhaav6y5gc4d9xj4dg9h7xnpyxc3k")))) (build-system meson-build-system) - (native-inputs (list nasm)) + (native-inputs + (if (target-x86?) + (list nasm) + '())) (home-page "https://code.videolan.org/videolan/dav1d") (synopsis "AV1 decoder") (description "dav1d is a new AV1 cross-platform decoder, and focused on @@ -5851,84 +5854,76 @@ result in several formats: (define-public rav1e (package (name "rav1e") - (version "0.6.6") + (version "0.7.1") (source (origin (method url-fetch) (uri (crate-uri "rav1e" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h9fhmamb7mh3cv86y1qja9qb7r6w2jv3p8ydngvsyjy59lq7hqn")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) + (base32 "1sawva6nmj2fvynydbcirr3nb7wjyg0id2hz2771qnv6ly0cx1yd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-aom-sys" ,rust-aom-sys-0.3) - ("rust-arbitrary" ,rust-arbitrary-0.4) + ("rust-arbitrary" ,rust-arbitrary-1) ("rust-arg-enum-proc-macro" ,rust-arg-enum-proc-macro-0.3) ("rust-arrayvec" ,rust-arrayvec-0.7) ("rust-av-metrics" ,rust-av-metrics-0.9) ("rust-av1-grain" ,rust-av1-grain-0.2) ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-bitstream-io" ,rust-bitstream-io-1) - ("rust-built" ,rust-built-0.5) + ("rust-bitstream-io" ,rust-bitstream-io-2) + ("rust-built" ,rust-built-0.7) ("rust-byteorder" ,rust-byteorder-1) ("rust-cc" ,rust-cc-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-clap-lex" ,rust-clap-lex-0.3) ("rust-console" ,rust-console-0.15) ("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-dav1d-sys" ,rust-dav1d-sys-0.7) ("rust-fern" ,rust-fern-0.6) ("rust-image" ,rust-image-0.24) ("rust-interpolate-name" ,rust-interpolate-name-0.2) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-itertools" ,rust-itertools-0.12) ("rust-ivf" ,rust-ivf-0.1) ("rust-libc" ,rust-libc-0.2) - ("rust-libfuzzer-sys" ,rust-libfuzzer-sys-0.3) + ("rust-libdav1d-sys" ,rust-libdav1d-sys-0.6) + ("rust-libfuzzer-sys" ,rust-libfuzzer-sys-0.4) ("rust-log" ,rust-log-0.4) ("rust-maybe-rayon" ,rust-maybe-rayon-0.1) ("rust-nasm-rs" ,rust-nasm-rs-0.2) ("rust-new-debug-unreachable" ,rust-new-debug-unreachable-1) ("rust-nom" ,rust-nom-7) ("rust-noop-proc-macro" ,rust-noop-proc-macro-0.3) - ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-derive" ,rust-num-derive-0.4) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-paste" ,rust-paste-1) + ("rust-profiling" ,rust-profiling-1) ("rust-rand" ,rust-rand-0.8) ("rust-rand-chacha" ,rust-rand-chacha-0.3) - ("rust-rust-hawktracer" ,rust-rust-hawktracer-0.7) - ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-scan-fmt" ,rust-scan-fmt-0.2) ("rust-serde" ,rust-serde-1) - ("rust-serde-big-array" ,rust-serde-big-array-0.4) + ("rust-serde-big-array" ,rust-serde-big-array-0.5) ("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-simd-helpers" ,rust-simd-helpers-0.1) ("rust-system-deps" ,rust-system-deps-6) ("rust-thiserror" ,rust-thiserror-1) - ("rust-toml" ,rust-toml-0.5) + ("rust-toml" ,rust-toml-0.8) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-chrome" ,rust-tracing-chrome-0.7) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-v-frame" ,rust-v-frame-0.3) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-winnow" ,rust-winnow-0.4) ("rust-y4m" ,rust-y4m-0.8)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-criterion" ,rust-criterion-0.4) + ("rust-criterion" ,rust-criterion-0.5) ("rust-interpolate-name" ,rust-interpolate-name-0.2) ("rust-nom" ,rust-nom-7) - ("rust-predicates" ,rust-predicates-2) - ("rust-predicates-core" ,rust-predicates-core-1) - ("rust-predicates-tree" ,rust-predicates-tree-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) ("rust-rand" ,rust-rand-0.8) ("rust-rand-chacha" ,rust-rand-chacha-0.3) ("rust-semver" ,rust-semver-1)) @@ -5942,9 +5937,12 @@ result in several formats: "--library-type" "cdylib" (string-append "--prefix=" out)))))))) (native-inputs - (list nasm pkg-config rust-cargo-c)) + (append (if (target-x86?) + (list nasm) + '()) + (list pkg-config rust-cargo-c))) (inputs - (list libgit2 zlib)) + (list libgit2-1.7 zlib)) (home-page "https://github.com/xiph/rav1e/") (synopsis "Fast and safe AV1 encoder") (description "@code{rav1e} is an AV1 video encoder. It is designed to diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index d729e9bdbf..9ded719e71 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -119,8 +119,11 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) - #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-tls) + #:use-module (gnu packages crates-web) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages databases) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index ae8213ddae..768fbc5bc7 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -64,7 +64,7 @@ ;;; Copyright © 2023 Jonathan Brielamier <jonathan.brielmaier@web.de> ;;; Copyright © 2023 Vessel Wave <vesselwave@disroot.org> ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr> -;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz> ;;; Copyright © 2024 Timotej Lazar <timotej.lazar@araneo.si> ;;; Copyright © 2024 Ahmad Draidi <a.r.draidi@redscript.org> @@ -92,6 +92,7 @@ #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system asdf) + #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) @@ -109,8 +110,10 @@ #:use-module (gnu packages bison) #:use-module (gnu packages build-tools) #:use-module (gnu packages calendar) - #:use-module (gnu packages compression) #:use-module (gnu packages check) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-graphics) #:use-module (gnu packages datastructures) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -1935,6 +1938,94 @@ display a clock or apply image manipulation techniques to the background image." (description "Swaybg is a wallpaper utility for Wayland compositors.") (license license:expat))) ; MIT license +(define-public swww + (package + (name "swww") + (version "0.8.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LGFae/swww") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ps10dv6a8a0hiw7p8kg64mf81pvavskmyn5xpbfw6hrc991vdlz")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "utils/Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs + `(("rust-log" ,rust-log-0.4) + ("rust-simplelog" ,rust-simplelog-0.12) + ("rust-wayland-client" ,rust-wayland-client-0.31) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-nix" ,rust-nix-0.27) + ("rust-keyframe" ,rust-keyframe-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-rayon" ,rust-rayon-1) + ("rust-spin-sleep" ,rust-spin-sleep-1) + ("rust-sd-notify" ,rust-sd-notify-0.4) + ("rust-image" ,rust-image-0.24) + ("rust-fast-image-resize" ,rust-fast-image-resize-2) + ("rust-clap" ,rust-clap-4) + ("rust-rand" ,rust-rand-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lzzzz" ,rust-lzzzz-1)) + #:cargo-development-inputs + `(("rust-rand" ,rust-rand-0.8) + ("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-criterion" ,rust-criterion-0.5)) + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'build-documentation + (lambda* (#:key inputs #:allow-other-keys) + (invoke "doc/gen.sh"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share")) + (man1 (string-append share "/man/man1")) + (swww (car (find-files "target" "^swww$"))) + (swww-daemon (car (find-files "target" "^swww-daemon$"))) + (bash-completions-dir + (string-append share "/bash-completion/completions")) + (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"))) + (install-file swww bin) + (install-file swww-daemon bin) + (copy-recursively "doc/generated" man1) + (install-file "completions/swww.bash" bash-completions-dir) + (install-file "completions/_swww" zsh-completions-dir) + (install-file "completions/swww.fish" fish-completions-dir) + (install-file "completions/swww.elv" elvish-completions-dir)))) + (add-after 'install 'wrap-binaries + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (lz4 (assoc-ref inputs "lz4"))) + (wrap-program (string-append out "/bin/swww") + `("PATH" prefix (,(string-append lz4 "/bin")))) + (wrap-program (string-append out "/bin/swww-daemon") + `("PATH" prefix (,(string-append lz4 "/bin")))))))))) + (native-inputs (list scdoc)) + (inputs (list bash-minimal lz4)) + (home-page "https://github.com/LGFae/swww") + (synopsis + "Efficient animated wallpaper daemon for wayland controlled at runtime") + (description + "A Solution to your Wayland Wallpaper Woes (swww). It uses minimal resources +and provides animations for switching between backgrounds.") + (license license:gpl3+))) (define-public swaynotificationcenter (package diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm index ffb2ec898e..70ddf063d2 100644 --- a/guix/build/cargo-build-system.scm +++ b/guix/build/cargo-build-system.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2016 David Craven <david@craven.ch> ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com> -;;; Copyright © 2019-2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; @@ -162,6 +162,7 @@ libraries or executables." ("powerpc64le-linux-gnu" "powerpc64le-unknown-linux-gnu") ("riscv64-linux-gnu" "riscv64gc-unknown-linux-gnu") ("x86_64-linux-gnu" "x86_64-unknown-linux-gnu") + ("x86_64-linux-gnux32" "x86_64-unknown-linux-gnux32") ("i586-pc-gnu" "i686-unknown-hurd-gnu") ("i686-w64-mingw32" "i686-pc-windows-gnu") ("x86_64-w64-mingw32" "x86_64-pc-windows-gnu") |