diff --git a/gnu/local.mk b/gnu/local.mk index c10a93017b..16a31c4686 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2059,6 +2059,7 @@ dist_patch_DATA = \ %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-poem-1-fewer-deps.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 \ diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm index 1c06ab4ad8..11ceb517d3 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -143,14 +143,14 @@ (define-public rust-block-sys-0.1 (define-public rust-cargo-credential-macos-keychain-0.4 (package (name "rust-cargo-credential-macos-keychain") - (version "0.4.1") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-macos-keychain" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1df098axn8pab6l2mljbkxg3bw1v4mcr4k42x6xy6j15854nsz70")))) + (base32 "1ls1ak7xmjw5h04h1sqxz8fyiq7w6xva5kavfkrs7rgplgh0049n")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index d4205f7d70..422edfbc1d 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2019, 2020 John Soo ;;; Copyright © 2020 Hartmut Goebel ;;; Copyright © 2020 Arun Isaac -;;; Copyright © 2020, 2022, 2023 Efraim Flashner +;;; Copyright © 2020, 2022-2024 Efraim Flashner ;;; Copyright © 2020 Valentin Ignatev ;;; Copyright © 2021 Nicolas Goaziou ;;; Copyright © 2021 Vinicius Monego @@ -16,6 +16,7 @@ ;;; Copyright © 2023 Steve George ;;; Copyright © 2023 VÖRÖSKŐI András ;;; Copyright © 2024 Wilko Meyer +;;; Copyright © 2024 Herman Rimm ;;; ;;; This file is part of GNU Guix. ;;; @@ -155,14 +156,14 @@ (define-public rust-aead-0.2 (define-public rust-aes-0.8 (package (name "rust-aes") - (version "0.8.3") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "aes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qi7z96wf3zd6alg116nh2myp34bw2574jwly4zrhpz9k19887xc")))) + (base32 "1853796anlwp4kqim0s6wm1srl4ib621nm0cl2h3c8klsjkgfsdi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -192,13 +193,14 @@ (define-public rust-aes-0.7 (sha256 (base32 "1f0sdx2fsa8w3l7xzsyi9ry3shvnnsgc0znh50if9fm95vslg2wy")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#: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)))))) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.3) + ("rust-hex-literal" ,rust-hex-literal-0.2)))))) (define-public rust-aes-0.6 (package @@ -318,6 +320,36 @@ (define-public rust-aes-gcm-0.10 acceleration.") (license (list license:asl2.0 license:expat)))) +(define-public rust-aes-gcm-0.9 + (package + (inherit rust-aes-gcm-0.10) + (name "rust-aes-gcm") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "aes-gcm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xndncn1phjb7pjam63vl0yp7h8jh95m0yxanr1092vx7al8apyz")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4) + ("rust-aes" ,rust-aes-0.7) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-ctr" ,rust-ctr-0.8) + ("rust-ghash" ,rust-ghash-0.4) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-aead" ,rust-aead-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))))) + (define-public rust-aes-gcm-0.8 (package (inherit rust-aes-gcm-0.10) @@ -615,18 +647,18 @@ (define-public rust-base64ct-1 @code{no_std} support.") (license (list license:asl2.0 license:expat)))) -(define-public rust-base64ct-1.0.1 +(define-public rust-base64ct-1.1 (package (inherit rust-base64ct-1) (name "rust-base64ct") - (version "1.0.1") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "base64ct" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sx4a44c2n450lsmi0q1mgfbjhkw1sx57462cv77p0mmy9mgscla")))) + (base32 "0p4was874qc90q2chm2i14m9mn8zmxjis8vaxihd6a2x4aqxkd76")))) (arguments '()))) (define-public rust-blake2-0.10 @@ -703,20 +735,20 @@ (define-public rust-blake2-0.8 (define-public rust-blake2b-simd-1 (package (name "rust-blake2b-simd") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "blake2b_simd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1g04mc4gf6jyymyj41749jhhplm3ymnc6z7rhkc1fqwclv4hsbrw")))) + "102pfciq6g59hf47gv6kix42cgpqw8pjyf9hx0r3jyb94b9mla13")))) (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)))) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.3)))) (home-page "https://github.com/oconnor663/blake2_simd") (synopsis "Pure Rust BLAKE2b implementation with dynamic SIMD") (description @@ -901,14 +933,14 @@ (define-public rust-blowfish-0.9 (define-public rust-botan-0.10 (package (name "rust-botan") - (version "0.10.3") + (version "0.10.7") (source (origin (method url-fetch) (uri (crate-uri "botan" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vzl5pdysh848zpphsgvj9c40zdi3ynl32zzixsd8vg4vaflhb49")))) + "0gn5aznnaxwlf2500q5dk9c24sgy7dasqqzql7w86s1w3apq201m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -942,17 +974,17 @@ (define-public rust-botan-0.8 (define-public rust-botan-sys-0.10 (package (name "rust-botan-sys") - (version "0.10.3") + (version "0.10.5") (source (origin (method url-fetch) (uri (crate-uri "botan-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cbjr44gc5dhmgl43sfiqzbsma4anfi3h26m4yzsli23yd1lmyf8")))) + "1ji12rxvi4h7pap772cd2hw4xdgqdsgw6m8wqin9klpbp3hxsjcz")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-botan-src" ,rust-botan-src-0.21903)))) + `(#:cargo-inputs (("rust-botan-src" ,rust-botan-src-0.30101)))) (inputs (list botan)) (home-page "https://botan.randombit.net/") (synopsis "FFI wrapper for Botan cryptography library") @@ -975,20 +1007,20 @@ (define-public rust-botan-sys-0.8 (("rust-botan-src" ,rust-botan-src-0.21703) ("rust-cty" ,rust-cty-0.2)))))) -(define-public rust-botan-src-0.21903 +(define-public rust-botan-src-0.30101 (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"))))) + (version "0.30101.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "botan-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17xwnan8r21hzbxdailnidp9q54g787s9njhy63yqw83q0k09bxa")) + (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/") @@ -998,7 +1030,7 @@ (define-public rust-botan-src-0.21903 (define-public rust-botan-src-0.21703 (package - (inherit rust-botan-src-0.21903) + (inherit rust-botan-src-0.30101) (name "rust-botan-src") (version "0.21703.0") (source (origin @@ -1041,6 +1073,27 @@ (define-public rust-c2-chacha-0.2 "The ChaCha family of stream ciphers.") (license (list license:asl2.0 license:expat)))) +(define-public rust-camellia-0.1 + (package + (name "rust-camellia") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "camellia" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c6f61rf0gzq7x9d2qmp0330pb397aldwdpmwqybbwly9rby4r1j")))) + (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 "Camellia block cipher") + (description "This package provides the camellia block cipher.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cast5-0.11 (package (name "rust-cast5") @@ -1168,8 +1221,64 @@ (define-public rust-chacha20-0.8 (("rust-cipher" ,rust-cipher-0.3) ("rust-hex-literal" ,rust-hex-literal-0.2)))))) +(define-public rust-chacha20-0.7 + (package + (inherit rust-chacha20-0.9) + (name "rust-chacha20") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c8h4sp9zh13v8p9arydjcj92xc6j3mccrjc4mizrvq7fzx9717h")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \">=1, <1.4\"") "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.10 + (package + (name "rust-chacha20poly1305") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dfwq9ag7x7lnd0znafpcn8h7k4nfr9gkzm0w7sc1lcj451pkk8h")))) + (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-poly1305" ,rust-poly1305-0.8) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-aead" ,rust-aead-0.5)))) + (home-page "https://github.com/RustCrypto/AEADs/tree/master/chacha20poly1305") + (synopsis "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-chacha20poly1305-0.9 (package + (inherit rust-chacha20poly1305-0.10) (name "rust-chacha20poly1305") (version "0.9.1") (source @@ -1184,7 +1293,6 @@ (define-public rust-chacha20poly1305-0.9 '(begin (substitute* "Cargo.toml" (("version = \">=1, <1.5\"") "version = \"^1\"")))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4) @@ -1193,17 +1301,32 @@ (define-public rust-chacha20poly1305-0.9 ("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)))) + (("rust-aead" ,rust-aead-0.4)))))) + +(define-public rust-chacha20poly1305-0.8 + (package + (inherit rust-chacha20poly1305-0.10) + (name "rust-chacha20poly1305") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "chacha20poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18mb6k1w71dqv5q50an4rvp19l6yg8ssmvfrmknjfh2z0az7lm5n")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \">=1, <1.4\"") "version = \"^1\"")))))) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4) + ("rust-chacha20" ,rust-chacha20-0.7) + ("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)))))) (define-public rust-cipher-0.4 (package @@ -1622,6 +1745,36 @@ (define-public rust-crypto-hash-0.3 hash functions.") (license license:expat))) +(define-public rust-csrf-0.4 + (package + (name "rust-csrf") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "csrf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q7ixhshj6a7x2vgsr4d4iqa5mgp4fwkr4lx2hgvnj9xcy1py9dh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.4) + ("rust-aes-gcm" ,rust-aes-gcm-0.9) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.8) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-typemap" ,rust-typemap-0.3)))) + (home-page "https://github.com/heartsucker/rust-csrf") + (synopsis "CSRF protection primitives") + (description "This package provides CSRF protection primitives.") + (license license:expat))) + (define-public rust-ctr-0.9 (package (name "rust-ctr") @@ -1685,8 +1838,49 @@ (define-public rust-ctr-0.6 `(#:skip-build? #t #:cargo-inputs (("rust-cipher" ,rust-cipher-0.2)))))) +(define-public rust-curve25519-dalek-4 + (package + (name "rust-curve25519-dalek") + (version "4.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "curve25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j7kqchcgycs4a11gvlda93h9w2jr05nn4hjpfyh2kn94a4pnrqa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cpufeatures" ,rust-cpufeatures-0.2) + ("rust-curve25519-dalek-derive" ,rust-curve25519-dalek-derive-0.1) + ("rust-digest" ,rust-digest-0.10) + ("rust-ff" ,rust-ff-0.13) + ("rust-fiat-crypto" ,rust-fiat-crypto-0.2) + ("rust-group" ,rust-group-0.13) + ("rust-platforms" ,rust-platforms-3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("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.5) + ("rust-hex" ,rust-hex-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://doc.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-3 (package + (inherit rust-curve25519-dalek-4) (name "rust-curve25519-dalek") (version "3.2.0") (source @@ -1696,7 +1890,6 @@ (define-public rust-curve25519-dalek-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) @@ -1712,13 +1905,28 @@ (define-public rust-curve25519-dalek-3 ("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))) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-curve25519-dalek-derive-0.1 + (package + (name "rust-curve25519-dalek-derive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "curve25519-dalek-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cry71xxrr0mcy5my3fb502cwfxy6822k4pm19cwrilrg7hq4s7l")))) + (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://doc.dalek.rs/curve25519_dalek") + (synopsis "curve25519-dalek Derives") + (description "This package provides curve25519-dalek Derives.") + (license (list license:expat license:asl2.0)))) (define-public rust-curve25519-dalek-ng-4 (package @@ -1882,8 +2090,9 @@ (define-public rust-digest-0.8 (define-public rust-digest-0.6 (package + (inherit rust-digest-0.10) (name "rust-digest") - (version "0.6.2") + (version "0.6.1") (source (origin (method url-fetch) @@ -1891,16 +2100,45 @@ (define-public rust-digest-0.6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02mgf8z4hi96w9nl2zb5w3k6lqbhjgv5z8hhyv2b7x7kavqrpcp5")))) - (build-system cargo-build-system) + "1lgv5rs7i903zvmkdbil0bcjx9vxvi9rx4z9qavapz199q31rbpc")))) (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)))) + (("rust-generic-array" ,rust-generic-array-0.8)))))) + +(define-public rust-dsa-0.6 + (package + (name "rust-dsa") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "dsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12bn5d0nnni4mlla24m3bwi4mhy2nfmyak2qjl0pdbc4j1525g28")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-digest" ,rust-digest-0.10) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rfc6979" ,rust-rfc6979-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-sha1" ,rust-sha1-0.10)))) + (home-page "https://github.com/RustCrypto/signatures/tree/master/dsa") + (synopsis + "Rust implementation of the Digital Signature Algorithm (DSA)") + (description + "This package provides a pure Rust implementation of the @acronym{Digital +Signature Algorithm, DSA} 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-eax-0.5 (package @@ -1938,14 +2176,14 @@ (define-public rust-eax-0.5 (define-public rust-ecdsa-0.16 (package (name "rust-ecdsa") - (version "0.16.6") + (version "0.16.9") (source (origin (method url-fetch) (uri (crate-uri "ecdsa" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1zapr75j8w1b7bdnijppb94f2jrk2qdrhv8i4fqc0c4agd9mv3m4")))) + "1jhb0bcbkaz4001sdmfyv8ajrv8a1cg7z7aa5myrd4jjbhmz69zf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1955,7 +2193,8 @@ (define-public rust-ecdsa-0.16 ("rust-rfc6979" ,rust-rfc6979-0.4) ("rust-serdect" ,rust-serdect-0.2) ("rust-sha2" ,rust-sha2-0.10) - ("rust-signature" ,rust-signature-2)) + ("rust-signature" ,rust-signature-2) + ("rust-spki" ,rust-spki-0.7)) #:cargo-development-inputs (("rust-elliptic-curve" ,rust-elliptic-curve-0.13) ("rust-hex-literal" ,rust-hex-literal-0.4) @@ -2024,8 +2263,47 @@ (define-public rust-ecies-ed25519-0.5 "ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.") (license (list license:expat license:asl2.0)))) +(define-public rust-ed25519-2 + (package + (name "rust-ed25519") + (version "2.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lydzdf26zbn82g7xfczcac9d7mzm3qgx934ijjrd5hjpjx32m8i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-signature" ,rust-signature-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-2) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-ring-compat" ,rust-ring-compat-0.8)))) + (home-page "https://github.com/RustCrypto/signatures/tree/master/ed25519") + (synopsis "Edwards Digital Signature Algorithm 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-1 (package + (inherit rust-ed25519-2) (name "rust-ed25519") (version "1.5.3") (source (origin @@ -2047,20 +2325,7 @@ (define-public rust-ed25519-1 (("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)))) + ("rust-rand-core" ,rust-rand-core-0.5)))))) (define-public rust-ed25519-compact-2 (package @@ -2089,8 +2354,57 @@ (define-public rust-ed25519-compact-2 implementation.") (license license:expat))) +(define-public rust-ed25519-dalek-2 + (package + (name "rust-ed25519-dalek") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w88cafwglg9hjizldbmlza0ns3hls81zk1bcih3m5m3h67algaa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Some tests aren't shipped in the crate. + "--skip=vectors::against_reference_implementation" + "--skip=check_validation_criteria" + "--skip=find_validation_criteria") + #:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("rust-ed25519" ,rust-ed25519-2) + ("rust-merlin" ,rust-merlin-3) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-blake2" ,rust-blake2-0.10) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("rust-hex" ,rust-hex-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha3" ,rust-sha3-0.10) + ("rust-toml" ,rust-toml-0.7) + ("rust-x25519-dalek" ,rust-x25519-dalek-2)))) + (home-page "https:///doc.dalek.rs/ed25519_dalek") + (synopsis "Ed25519 EdDSA key generations, signing, and verification") + (description + "This package provides fast and efficient ed25519 @code{EdDSA} key +generations, signing, and verification in pure Rust.") + (license license:bsd-3))) + (define-public rust-ed25519-dalek-1 (package + (inherit rust-ed25519-dalek-2) (name "rust-ed25519-dalek") (version "1.0.1") (source @@ -2112,25 +2426,20 @@ (define-public rust-ed25519-dalek-1 ("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))) + ("rust-zeroize" ,rust-zeroize-1)))))) + (define-public rust-elliptic-curve-0.13 (package (name "rust-elliptic-curve") - (version "0.13.4") + (version "0.13.8") (source (origin (method url-fetch) (uri (crate-uri "elliptic-curve" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rqn7yq9rgfs7r0dcj4phxf9hqmw2alfxa0lciamsbkz6sm1xivm")))) + "0ixx4brgnzi61z29r3g1606nh2za88hzyz8c5r3p6ydzhqq09rmm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2150,6 +2459,7 @@ (define-public rust-elliptic-curve-0.13 ("rust-serde-json" ,rust-serde-json-1) ("rust-serdect" ,rust-serdect-0.2) ("rust-subtle" ,rust-subtle-2) + ("rust-tap" ,rust-tap-1) ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4) @@ -2199,6 +2509,38 @@ (define-public rust-elliptic-curve-0.12 ("rust-sha2" ,rust-sha2-0.10) ("rust-sha3" ,rust-sha3-0.10)))))) +(define-public rust-fiat-crypto-0.2 + (package + (name "rust-fiat-crypto") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "fiat-crypto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10hkkkjynhibvchznkxx81gwxqarn9i5sgz40d6xxb8xzhsz8xhn")))) + (build-system cargo-build-system) + (home-page "https://github.com/mit-plv/fiat-crypto") + (synopsis "Fiat-crypto generated Rust") + (description "This crate provides the extracted Rust code from the Coq +@code{fiat-crypto} libraries.") + (license (list license:expat license:asl2.0 license:bsd-1)))) + +(define-public rust-fiat-crypto-0.1 + (package + (inherit rust-fiat-crypto-0.2) + (name "rust-fiat-crypto") + (version "0.1.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "fiat-crypto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xvbcg6wh42q3n7294mzq5xxw8fpqsgc0d69dvm5srh1f6cgc9g8")))))) + (define-public rust-ghash-0.5 (package (name "rust-ghash") @@ -2225,6 +2567,31 @@ (define-public rust-ghash-0.5 authenticated encryption cipher.") (license (list license:expat license:asl2.0)))) +(define-public rust-ghash-0.4 + (package + (inherit rust-ghash-0.5) + (name "rust-ghash") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ghash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "169wvrc2k9lw776x3pmqp76kc0w5717wz01bfg9rz0ypaqbcr0qm")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) + (arguments + `(#:cargo-inputs (("rust-opaque-debug" ,rust-opaque-debug-0.3) + ("rust-polyval" ,rust-polyval-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + (define-public rust-ghash-0.3 (package (inherit rust-ghash-0.5) @@ -2520,6 +2887,48 @@ (define-public rust-hmac-sha1-0.1 Hash-based Message Authentication Code algorithm} for SHA1.") (license license:bsd-3))) +(define-public rust-k256-0.13 + (package + (name "rust-k256") + (version "0.13.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "k256" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ysq18pjz040am5llgly90464x7qqq98yxfbcsladq96gsvgjvwm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serdect" ,rust-serdect-0.2) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2)) + #:cargo-development-inputs (("rust-blobby" ,rust-blobby-0.3) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sha3" ,rust-sha3-0.10)))) + (home-page + "https://github.com/RustCrypto/elliptic-curves/tree/master/k256") + (synopsis + "Library supporting general-purpose elliptic curve group operations") + (description + "This package provides a secp256k1 elliptic curve library written in pure +Rust with support for ECDSA signing/verification/public-key recovery, +@dfn{Taproot Schnorr signatures} (BIP340), @dfn{Elliptic Curve Diffie-Hellman} +(ECDH), and general-purpose secp256k1 elliptic curve group operations which can +be used to implement arbitrary protocols.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-kuznyechik-0.8 (package (name "rust-kuznyechik") @@ -2542,23 +2951,69 @@ (define-public rust-kuznyechik-0.8 (description "Kuznyechik (GOST R 34.12-2015) block cipher") (license (list license:expat license:asl2.0)))) +(define-public rust-mas-jose-0.7 + (package + (name "rust-mas-jose") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mas-jose" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x1cikddf2z3994374ql0qs02l9mxrlb74cy4pbq3yrlzcfjb6mk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-digest" ,rust-digest-0.10) + ("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-elliptic-curve" ,rust-elliptic-curve-0.13) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-k256" ,rust-k256-0.13) + ("rust-mas-iana" ,rust-mas-iana-0.7) + ("rust-p256" ,rust-p256-0.13) + ("rust-p384" ,rust-p384-0.13) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-sec1" ,rust-sec1-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-3) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-insta" ,rust-insta-1) + ("rust-rand-chacha" ,rust-rand-chacha-0.3)))) + (home-page "https://matrix-org.github.io/matrix-authentication-service/") + (synopsis "JSON Object Signing and Encryption (JWT & co.) utilities") + (description "This package provides JSON Object Signing and Encryption +(JWT & co.) utilities.") + (license license:asl2.0))) + (define-public rust-md-5-0.10 (package (name "rust-md-5") - (version "0.10.5") + (version "0.10.6") (source (origin (method url-fetch) (uri (crate-uri "md-5" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jmrykh705dfclkgxwjysj5y8l1nyrn1gddw5xpgyjyla1l50rb3")))) + "1kvq5rnpm4fzwmyv5nmnxygdhhb2369888a06gdc9pxyrzh7x7nq")))) (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)))) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-digest" ,rust-digest-0.10) + ("rust-md5-asm" ,rust-md5-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 "MD5 hash function") (description @@ -2786,25 +3241,25 @@ (define-public rust-nettle-sys-2 (define-public rust-orion-0.17 (package (name "rust-orion") - (version "0.17.4") + (version "0.17.6") (source (origin (method url-fetch) (uri (crate-uri "orion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ri0b0vyd9vqwlzlcv0q4i7r9pga23q7nnnvd5z4zycjc9v4mryb")))) + "1rcm8vgzb1rvm1ilgak1lkia3wasdmnmv93b055qqg4hh40v3gbs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ct-codecs" ,rust-ct-codecs-1) - ("rust-fiat-crypto" ,rust-fiat-crypto-0.1) + ("rust-fiat-crypto" ,rust-fiat-crypto-0.2) ("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-criterion" ,rust-criterion-0.5) ("rust-hex" ,rust-hex-0.4) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) @@ -3213,6 +3668,34 @@ (define-public rust-pkcs5-0.3 ("rust-sha2" ,rust-sha2-0.9) ("rust-spki" ,rust-spki-0.4)))))) +(define-public rust-pkcs7-0.4 + (package + (name "rust-pkcs7") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkcs7" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rvp9gm7vzcbbzz6vr6xz6ri2szgxm35j0zk5dhf01b40sz7i4fp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-der" ,rust-der-0.7) + ("rust-spki" ,rust-spki-0.7) + ("rust-x509-cert" ,rust-x509-cert-0.2)) + #:cargo-development-inputs + (("rust-der" ,rust-der-0.7) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-x509-cert" ,rust-x509-cert-0.2)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs7") + (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #7") + (description + "This package is a pure Rust implementation of Public-Key +Cryptography Standards (PKCS) #7: Cryptographic Message Syntax +Specification (RFC 5652).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pkcs8-0.10 (package (name "rust-pkcs8") @@ -3378,8 +3861,7 @@ (define-public rust-pem-rfc7468-0.2 (sha256 (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1.1)))))) (define-public rust-poly1305-0.8 (package @@ -3458,6 +3940,33 @@ (define-public rust-polyval-0.6 for constructing a Message Authentication Code (MAC).") (license (list license:asl2.0 license:expat)))) +(define-public rust-polyval-0.5 + (package + (inherit rust-polyval-0.6) + (name "rust-polyval") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "polyval" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1890wqvc0csc9y9k9k4gsbz91rgdnhn6xnfmy9pqkh674fvd46c4")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) + (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.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))))) + (define-public rust-polyval-0.4 (package (inherit rust-polyval-0.6) @@ -3501,7 +4010,7 @@ (define-public rust-polyval-0.3 (define-public rust-ppv-lite86-0.2 (package (name "rust-ppv-lite86") - (version "0.2.8") + (version "0.2.17") (source (origin (method url-fetch) @@ -3509,7 +4018,7 @@ (define-public rust-ppv-lite86-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1shj4q7jwj0azssr8cg51dk3kh7d4lg9rmbbz1kbqk971vc5wyi3")))) + "1pp6g52aw970adv3x2310n7glqnji96z0a9wiamzw89ibf0ayh2v")))) (build-system cargo-build-system) (home-page "https://github.com/cryptocorrosion/cryptocorrosion") (synopsis "Implementation of the crypto-simd API for x86") @@ -3590,16 +4099,16 @@ (define-public rust-rfc6979-0.3 (define computed-origin-method (@@ (guix packages) computed-origin-method)) (define rust-ring-0.17-sources - (let* ((version "0.17.7") + (let* ((version "0.17.8") (upstream-source (origin (method git-fetch) (uri (git-reference (url "https://github.com/briansmith/ring") - (commit "2be687bebdf76648ce85109d40c015412e14b0da"))) + (commit "fa98b490bcbc99a01ff150896ec74c1813242d7f"))) (file-name (git-file-name "rust-ring" version)) (sha256 - (base32 "1i3b7sha8yj990v2s5yk2a5dx3v4x9b8ckzm6bgiyi6wk4vnid69")) + (base32 "0rqfal81bf4l3dja98cajfjq2jbz1rcx7xdp2r33cxrm5y5psr28")) (patches (search-patches "rust-ring-0.17-ring-core.patch"))))) (origin (method computed-origin-method) @@ -3680,6 +4189,7 @@ (define (prefix script) "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/modes/asm/aesv8-gcm-armv8.pl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) (for-each @@ -3779,16 +4289,17 @@ (define (prefix script) (define-public rust-ring-0.17 (package (name "rust-ring") - (version "0.17.7") + (version "0.17.8") (source rust-ring-0.17-sources) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("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)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) @@ -4408,6 +4919,40 @@ (define-public rust-ring-0.13 ;; build dependencies ("rust-cc" ,rust-cc-1)))))) +(define-public rust-ring-compat-0.8 + (package + (name "rust-ring-compat") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ring-compat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m2vvmbg607f55afx75b9kxbyx6b5wqvhhfv2445z08b2np7pknc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) + ("rust-digest" ,rust-digest-0.10) + ("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-ed25519" ,rust-ed25519-2) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-p256" ,rust-p256-0.13) + ("rust-p384" ,rust-p384-0.13) + ("rust-pkcs8" ,rust-pkcs8-0.10) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-ring" ,rust-ring-0.17) + ("rust-signature" ,rust-signature-2)) + #:cargo-development-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hex-literal" ,rust-hex-literal-0.4)))) + (home-page "https://github.com/RustCrypto/ring-compat") + (synopsis "RustCrypto trait and ring crypto algorithm compatibility") + (description + "This package provides compatibility for using @code{RustCrypto} +traits with cryptographic algorithm implementations from @code{ring}.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ripemd-0.1 (package (name "rust-ripemd") @@ -4738,14 +5283,14 @@ (define-public rust-scrypt-0.8 (define-public rust-sec1-0.7 (package (name "rust-sec1") - (version "0.7.2") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "sec1" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vh4pvdfnghbjglh6k74vs93jj337jpli28bbyqr0srxh67c9bph")))) + "1p273j8c87pid6a1iyyc7vxbvifrw55wbxgr0dh3l8vnbxb7msfk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -4757,7 +5302,7 @@ (define-public rust-sec1-0.7 ("rust-subtle" ,rust-subtle-2) ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs - (("rust-hex-literal" ,rust-hex-literal-0.3) + (("rust-hex-literal" ,rust-hex-literal-0.4) ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/RustCrypto/formats/tree/master/sec1") (synopsis @@ -5121,8 +5666,41 @@ (define-public rust-sha1-smol-1 SHA1 for Rust.") (license license:bsd-3))) +(define-public rust-sha1collisiondetection-0.3 + (package + (name "rust-sha1collisiondetection") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1collisiondetection" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jwnwrk1x78v9r16jnac2s4v1m2f5a19khwkx1vjh0d6whhn8q0z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-const-oid" ,rust-const-oid-0.9) + ("rust-digest" ,rust-digest-0.10) + ("rust-generic-array" ,rust-generic-array-0.12)) + #:cargo-development-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-sha1" ,rust-sha1-0.10)))) + (home-page "https://gitlab.com/sequoia-pgp/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-sha1collisiondetection-0.2 (package + (inherit rust-sha1collisiondetection-0.3) (name "rust-sha1collisiondetection") (version "0.2.3") (source @@ -5133,7 +5711,6 @@ (define-public rust-sha1collisiondetection-0.2 (string-append name "-" version ".tar.gz")) (sha256 (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -5141,15 +5718,7 @@ (define-public rust-sha1collisiondetection-0.2 ("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))) + ("rust-structopt" ,rust-structopt-0.3)))))) (define-public rust-sha2-0.10 (package @@ -5263,6 +5832,32 @@ (define-public rust-sha2-asm-0.5 (sha256 (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))))) +(define-public rust-sha256-1 + (package + (name "rust-sha256") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha256" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c35j1z4inpz7fwa6vy0xf3arffz5mykyj8nlc50g8sgj5m8y9qq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bytes" ,rust-bytes-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) + (home-page "https://github.com/baoyachi/sha256-rs") + (synopsis "Sha256 crypto digest") + (description "This package provides the sha256 crypto digest in Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-sha3-0.10 (package (name "rust-sha3") @@ -5313,14 +5908,14 @@ (define-public rust-sha3-0.9 (define-public rust-signature-2 (package (name "rust-signature") - (version "2.1.0") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "signature" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "00457czdia5gvll3a1vzf2ffsdpgcz2dz0h56z7zk28nsbp8h5sy")))) + "1pi9hd5vqfr3q3k49k37z06p7gs5si0in32qia4mmr1dancr6m3p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5328,7 +5923,7 @@ (define-public rust-signature-2 ("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-hex-literal" ,rust-hex-literal-0.4) ("rust-sha2" ,rust-sha2-0.10)))) (home-page "https://github.com/RustCrypto/traits/tree/master/signature") (synopsis @@ -5360,14 +5955,14 @@ (define-public rust-signature-1 (define-public rust-signature-derive-2 (package (name "rust-signature-derive") - (version "2.0.1") + (version "2.1.0") (source (origin (method url-fetch) (uri (crate-uri "signature_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1z0mjjg3fpj08kc3nkax4lczgp7sfzbcm8q2qgim865510wkgpxc")))) + "11h4z3bql9pzj0mf7bv30q9c3rldk9n03520pk3z9siyj78q20xb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5404,6 +5999,52 @@ (define-public rust-signature-derive-1 ("rust-syn" ,rust-syn-1) ("rust-synstructure" ,rust-synstructure-0.12)))))) +(define-public rust-simple-asn1-0.4 + (package + (name "rust-simple-asn1") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "simple_asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jxy9as8nj65c2n27j843g4fpb95x4fjz31w6qx63q3wwlys2b39")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.2) + ("rust-num-traits" ,rust-num-traits-0.2)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.7) + ("rust-rand" ,rust-rand-0.5)))) + (home-page "https://github.com/acw/simple_asn1") + (synopsis "Simple DER/ASN.1 encoding/decoding library") + (description + "This package provides a simple DER/ASN.1 encoding/decoding library.") + (license license:isc))) + +(define-public rust-sm3-0.4 + (package + (name "rust-sm3") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sm3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q2qn4d7qhd8v5grr0xdq9jv3likcr2i8nnqqhxy79yh0avs7fgb")))) + (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 "SM3 (OSCCA GM/T 0004-2012) hash function") + (description + "This package provides the SM3 (OSCCA GM/T 0004-2012) hash function.") + (license (list license:expat license:asl2.0)))) + (define-public rust-spki-0.7 (package (name "rust-spki") @@ -5662,6 +6303,67 @@ (define-public rust-tiger-0.1 "This package provides the Tiger cryptographic hash function.") (license (list license:expat license:asl2.0)))) +(define-public rust-tls-codec-0.4 + (package + (name "rust-tls-codec") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tls_codec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0spv5d8gjpmil4x14d8jk6wps59r4y7kdj77par8b30g6ff8rrxm")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-serde" ,rust-serde-1) + ("rust-tls-codec-derive" ,rust-tls-codec-derive-0.4) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-anstyle" ,rust-anstyle-1) + ("rust-anstyle-parse" ,rust-anstyle-parse-0.2) + ("rust-clap" ,rust-clap-4) + ("rust-clap-lex" ,rust-clap-lex-0.5) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/tls_codec") + (synopsis "Rust implementation of TLS (de)serialization") + (description + "This package provides a Rust implementation of TLS serialization +and deserialization.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-tls-codec-derive-0.4 + (package + (name "rust-tls-codec-derive") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tls_codec_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1704w8zpgpj40yjgq9dddnnfzmq44p63n0606c1g6y8fcm2zb7ld")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `tls_codec` + #: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/RustCrypto/formats/tree/master/tls_codec/derive") + (synopsis "Derive macros for the tls_codec trait") + (description + "This package provides Derive macros for the tls_codec trait.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-totp-lite-2 (package (name "rust-totp-lite") @@ -5798,8 +6500,37 @@ (define-public rust-universal-hash-0.3 (("rust-generic-array" ,rust-generic-array-0.12) ("rust-subtle" ,rust-subtle-2)))))) +(define-public rust-x25519-dalek-2 + (package + (name "rust-x25519-dalek") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "x25519-dalek" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xyjgqpsa0q6pprakdp58q1hy45rf8wnqqscgzx0gyw13hr6ir67")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("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.5) + ("rust-rand-core" ,rust-rand-core-0.6)))) + (home-page "https://doc.dalek.rs/x25519_dalek") + (synopsis "X25519 elliptic curve Diffie-Hellman key exchange") + (description + "This crate provides a 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-1 (package + (inherit rust-x25519-dalek-2) (name "rust-x25519-dalek") (version "1.2.0") (source @@ -5810,25 +6541,15 @@ (define-public rust-x25519-dalek-1 (sha256 (base32 "0xz0m1pczss9r25d1r52420dl2picdypbcn5ycmlwssp9awvd4i3")) (modules '((guix build utils))) - (snippet - '(begin - (substitute* "Cargo.toml" - (("version = \"=1.3\"") "version = \"^1.3\"")))))) - (build-system cargo-build-system) + (snippet '(substitute* "Cargo.toml" + (("version = \"=1.3\"") "version = \"^1.3\""))))) (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))) + ("rust-zeroize" ,rust-zeroize-1)))))) (define-public rust-x25519-dalek-ng-1 (package @@ -5857,3 +6578,25 @@ (define-public rust-x25519-dalek-ng-1 (description "This package provides a fork x25519-dalek, with an updated rand_core.") (license license:bsd-3))) + +(define-public rust-z85-3 + (package + (name "rust-z85") + (version "3.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "z85" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z10407jwvjfzpzaxwxgqsm9vcbyldzzh2qz2b0ijy2h3fprsn9a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/decafbad/z85") + (synopsis + "Rust implementation of ZeroMQ's Z85 encoding mechanism with padding") + (description + "This package provides a Rust implementation of @code{ZeroMQ's} Z85 +encoding mechanism with padding.") + (license (list license:expat license:asl2.0)))) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 117b4f5603..0c1b944736 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -292,8 +292,33 @@ (define-public rust-aom-sys-0.3 (description "This package provides FFI bindings to aom.") (license license:expat))) +(define-public rust-ascii-canvas-3 + (package + (name "rust-ascii-canvas") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ascii-canvas" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1in38ziqn4kh9sw89ys4naaqzvvjscfs0m4djqbfq7455v5fq948")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-term" ,rust-term-0.7)) + #:cargo-development-inputs (("rust-diff" ,rust-diff-0.1)))) + (home-page "https://github.com/nikomatsakis/ascii-canvas") + (synopsis "Simple canvas for drawing lines and styled text and emitting to +the terminal") + (description "@code{ASCII} canvas is a simple Rust library that allows you +to draw lines and colored text and then write them to the terminal. It uses +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-ascii-canvas-2 (package + (inherit rust-ascii-canvas-3) (name "rust-ascii-canvas") (version "2.0.0") (source @@ -303,19 +328,9 @@ (define-public rust-ascii-canvas-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0a9s8vrbc5jr6ry5ygjyfqmbs9gyya1v6dsxzsczpai8z4nvg3pz")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ;; TODO: failes due to an unresolved import - #:cargo-inputs - (("rust-term" ,rust-term-0.5)))) - (home-page "https://github.com/nikomatsakis/ascii-canvas") - (synopsis "Simple canvas for drawing lines and styled text and emitting to -the terminal") - (description "@code{ASCII} canvas is a simple Rust library that allows you -to draw lines and colored text and then write them to the terminal. It uses -the term library to handle the ANSI nonsense and hence it works on Windows, -Mac, and Unix.") - (license (list license:asl2.0 license:expat)))) + #:cargo-inputs (("rust-term" ,rust-term-0.5)))))) (define-public rust-ash-0.37 (package @@ -973,6 +988,25 @@ (define-public rust-dcv-color-primitives-0.4 "This package provides a library to perform image color model conversion.") (license license:expat-0))) +(define-public rust-deltae-0.3 + (package + (name "rust-deltae") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "deltae" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d3hw9hpvicl9x0x34jr2ybjk5g5ym1lhbyz6zj31110gq8zaaap")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-clap" ,rust-clap-4)))) + (home-page "https://gitlab.com/ryanobeirne/deltae") + (synopsis "Calculate delta-e between two colors") + (description "Calculate Delta E between two colors in CIE Lab space.") + (license license:expat))) + (define-public rust-drm-0.10 (package (name "rust-drm") @@ -1585,14 +1619,14 @@ (define-public rust-glutin-0.30 (package (inherit rust-glutin-0.31) (name "rust-glutin") - (version "0.30.7") + (version "0.30.10") (source (origin (method url-fetch) (uri (crate-uri "glutin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05gzw9icj4s0p9db9srnwrd3m3plcs7260jlblyy2pbiqygap6zq")))) + (base32 "1zk0cxchdy6fmnnwggylgg748wbk04mys9pv76nvh6974h1kpjcg")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -1600,7 +1634,7 @@ (define-public rust-glutin-0.30 ("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.4) + ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.5) ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.4) ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.4) ("rust-libloading" ,rust-libloading-0.7) @@ -1611,6 +1645,40 @@ (define-public rust-glutin-0.30 ("rust-windows-sys" ,rust-windows-sys-0.45) ("rust-x11-dl" ,rust-x11-dl-2)))))) +(define-public rust-glutin-0.29 + (package + (inherit rust-glutin-0.31) + (name "rust-glutin") + (version "0.29.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04y7s5m74j9gns5bdja0alkm0m0b727vf9k7rw6g5jpxjk99lk24")))) + (arguments + `(#:cargo-inputs (("rust-cgl" ,rust-cgl-0.3) + ("rust-cocoa" ,rust-cocoa-0.24) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-glutin-egl-sys" ,rust-glutin-egl-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-libloading" ,rust-libloading-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-objc" ,rust-objc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-wayland-egl" ,rust-wayland-egl-0.29) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winit" ,rust-winit-0.27)))) + (native-inputs (list pkg-config)) + (inputs (list expat fontconfig freetype)))) + (define-public rust-glutin-0.28 (package (inherit rust-glutin-0.30) @@ -1734,6 +1802,22 @@ (define-public rust-glutin-egl-sys-0.6 (description "The egl bindings for glutin.") (license license:asl2.0))) +(define-public rust-glutin-egl-sys-0.5 + (package + (inherit rust-glutin-egl-sys-0.6) + (name "rust-glutin-egl-sys") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "glutin_egl_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iapzqscy4891crxdddddq4qqqday1sf0s0j762yqs2sdjr4wy5g")))) + (arguments + `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) + ("rust-windows-sys" ,rust-windows-sys-0.45)))))) + (define-public rust-glutin-egl-sys-0.4 (package (inherit rust-glutin-egl-sys-0.6) @@ -1851,17 +1935,16 @@ (define-public rust-glutin-glx-sys-0.1 (package (inherit rust-glutin-glx-sys-0.4) (name "rust-glutin-glx-sys") - (version "0.1.7") + (version "0.1.8") (source (origin (method url-fetch) (uri (crate-uri "glutin_glx_sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0l8kk60kq5v6hl1qr6ym2arzvbsgkh71aa8485cp901bq27kqfby")))) + (base32 "0s14s3v2dddkx141w2x65s8ik54mrn432hisbc65i62hhrshagfr")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-gl-generator" ,rust-gl-generator-0.14) ("rust-x11-dl" ,rust-x11-dl-2)))))) @@ -2189,14 +2272,14 @@ (define-public rust-imageproc-0.23 (define-public rust-imgref-1 (package (name "rust-imgref") - (version "1.9.4") + (version "1.10.1") (source (origin (method url-fetch) (uri (crate-uri "imgref" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0b3czpz206z4nvpq7yq0v58bwjmqjwjmkr302hbzpp4523glkkxj")))) + (base32 "09l18s80crfn7g8ank3v44g43xns4pg7f6hpaz3sfna1bwsxmzj4")))) (build-system cargo-build-system) (home-page "https://github.com/kornelski/imgref") (synopsis "2D slice of a @code{Vec}") @@ -2256,7 +2339,7 @@ (define-public rust-jpeg-decoder-0.1 ("rust-rayon" ,rust-rayon-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-png" ,rust-png-0.14) + ("rust-png" ,rust-png-0.16) ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-keyframe-1 @@ -2545,14 +2628,19 @@ (define-public rust-osmesa-sys-0.1 (define-public rust-palette-0.7 (package (name "rust-palette") - (version "0.7.3") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "palette" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p2inf23vsqy06w7vp7rcxmb9vk91asib534m9cafykn8x0z7qmj")))) + (base32 "0ynr6q7629gpw6pg8w1wrsl31sq48nxh1bg4awyrhhk6nyj27z7b")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Regression tests not included. @@ -2567,17 +2655,10 @@ (define-public rust-palette-0.7 ("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-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") @@ -2621,14 +2702,14 @@ (define-public rust-palette-0.6 (define-public rust-palette-derive-0.7 (package (name "rust-palette-derive") - (version "0.7.3") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "palette_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02ps239sxcr5v294qf89d87sv7fdm9pr2cziwj2l6ggzql703nxp")))) + (base32 "0vcxjslri6f24zgv3n6ixhzb21a8z23fa6h42s8ss2zcvc10g2g8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-find-crate" ,rust-find-crate-0.6) @@ -2906,29 +2987,44 @@ (define-public rust-pistoncore-window-0.44 (define-public rust-png-0.17 (package (name "rust-png") - (version "0.17.7") + (version "0.17.13") (source (origin (method url-fetch) (uri (crate-uri "png" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0f66slx641p7an277xskz8vq7syy9cmhsx1qwnfb268ahspqww2x")))) + (base32 "1qdmajjzkdbmk5zk7qb5pc6927xa26hr2v68hbkpa9ris79v1r06")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ;XXX missing files in tarball + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files incuded. + "--skip=decoder::stream::tests::image_gamma" + "--skip=decoder::stream::tests::image_source_chromaticities" + "--skip=decoder::stream::tests::test_two_iccp_chunks" + "--skip=encoder::tests::image_palette" + "--skip=src/decoder/mod.rs - decoder::Decoder::set_ignore_text_chunk (line 269)" + "--skip=src/decoder/mod.rs - decoder::Decoder::set_limits (line 182)" + "--skip=src/lib.rs - (line 13)" + "--skip=src/text_metadata.rs - text_metadata (line 25)") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-deflate" ,rust-deflate-1) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.6)) + ("rust-fdeflate" ,rust-fdeflate-0.3) + ("rust-flate2" ,rust-flate2-1) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.7)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) + (("rust-byteorder" ,rust-byteorder-1) + ("rust-clap" ,rust-clap-3) + ("rust-criterion" ,rust-criterion-0.4) ("rust-getopts" ,rust-getopts-0.2) - ("rust-glium" ,rust-glium-0.31) + ("rust-glium" ,rust-glium-0.32) ("rust-glob" ,rust-glob-0.3) ("rust-rand" ,rust-rand-0.8) ("rust-term" ,rust-term-0.7)))) + (native-inputs (list pkg-config)) + (inputs (list expat fontconfig freetype)) (home-page "https://github.com/image-rs/image-png") (synopsis "PNG decoding and encoding library in pure Rust") (description @@ -3070,17 +3166,23 @@ (define-public rust-qoi-0.4 (define-public rust-ravif-0.11 (package (name "rust-ravif") - (version "0.11.3") + (version "0.11.6") (source (origin (method url-fetch) (uri (crate-uri "ravif" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vhn2p31z31c01j6i28slgbi01wq1hmyqjidwfkqy430hh16kp5s")))) + (base32 "1315abwxldavjxdl8dphab16fh8akw000hn406dbjnsi53b4kgl5")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-avif-serialize" ,rust-avif-serialize-0.8) + ("rust-bitstream-io" ,rust-bitstream-io-2) ("rust-imgref" ,rust-imgref-1) ("rust-loop9" ,rust-loop9-0.1) ("rust-quick-error" ,rust-quick-error-2) @@ -3111,7 +3213,8 @@ (define-public rust-ravif-0.8 (sha256 (base32 "1r3s78781kb9lwysdvpdc80gavly33dcs4inhhp2dawml9g3rjss")))) (arguments - `(#:cargo-inputs + `(#:skip-build? #t ; Needs rav1e-0.6 + #:cargo-inputs (("rust-avif-serialize" ,rust-avif-serialize-0.7) ("rust-imgref" ,rust-imgref-1) ("rust-loop9" ,rust-loop9-0.1) @@ -3283,7 +3386,7 @@ (define-public rust-resize-0.4 (define-public rust-rgb-0.8 (package (name "rust-rgb") - (version "0.8.36") + (version "0.8.37") (source (origin (method url-fetch) @@ -3291,7 +3394,7 @@ (define-public rust-rgb-0.8 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ncgzkgifbyfx7vpnygfl4mgpdhhbaywxybx6pnjraf77wz2vv10")))) + "1n275hng7hmnzjavmdf24vqd86nm6bkg80nhr4zmgzb49c0aiah5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3848,22 +3951,22 @@ (define-public rust-tiny-xlib-0.2 (define-public rust-wayland-backend-0.3 (package (name "rust-wayland-backend") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "wayland-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r7vz56z6ixfbljraxl4q59g43jfb6i9qkaksi704pzlfgfjs58r")))) + (base32 "0h4s8nfrl1q8xys1409lfwkb70cdh81c0pvzr1s69mwhrrhzll4x")))) (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-rustix" ,rust-rustix-0.38) ("rust-scoped-tls" ,rust-scoped-tls-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-wayland-sys" ,rust-wayland-sys-0.31)) @@ -3906,20 +4009,20 @@ (define-public rust-wayland-backend-0.1 (define-public rust-wayland-client-0.31 (package (name "rust-wayland-client") - (version "0.31.1") + (version "0.31.2") (source (origin (method url-fetch) (uri (crate-uri "wayland-client" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lryhibzmi4hb3jpbraj623l110f6rgp0migpxrm8vrl8wixb9qw")))) + (base32 "07rzml07li3bi4nnqx4i2rfj3xkifzxp1d6cd1kflb2wjgp9dyw2")))) (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-rustix" ,rust-rustix-0.38) ("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) @@ -4181,17 +4284,17 @@ (define-public rust-wayland-csd-frame-0.3 (define-public rust-wayland-cursor-0.31 (package (name "rust-wayland-cursor") - (version "0.31.0") + (version "0.31.1") (source (origin (method url-fetch) (uri (crate-uri "wayland-cursor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nxdyyg3a3649n316fbnm8rak5k90j580kfnfxn9src6x45a4jm4")))) + (base32 "1fii68l6x235b867q96yx1xqkl16azkf5i841ldd24yxd2l5zkki")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) + `(#:cargo-inputs (("rust-rustix" ,rust-rustix-0.38) ("rust-wayland-client" ,rust-wayland-client-0.31) ("rust-xcursor" ,rust-xcursor-0.3)))) (home-page "https://github.com/smithay/wayland-rs") @@ -4286,14 +4389,14 @@ (define-public rust-wayland-egl-0.28 (define-public rust-wayland-protocols-0.31 (package (name "rust-wayland-protocols") - (version "0.31.0") + (version "0.31.2") (source (origin (method url-fetch) (uri (crate-uri "wayland-protocols" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "077257bxv21whi33wm0lz5jkq6jnx0spz5jkq8yr44x9gc8dflz2")))) + (base32 "1x310l1p6p3p3l76nl1l2yava9408dy77s605917zadlp1jz70cg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -4490,14 +4593,14 @@ (define-public rust-wayland-protocols-wlr-0.1 (define-public rust-wayland-scanner-0.31 (package (name "rust-wayland-scanner") - (version "0.31.0") + (version "0.31.1") (source (origin (method url-fetch) (uri (crate-uri "wayland-scanner" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1760n887j18lzd1ni087q7jzsmpcf7ny3dq2698zkjb56r02i3pv")))) + (base32 "10y2nq076x4zml8wc5bw75560rwvrsfpi35mdyc02w1854lsdcv3")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -4505,7 +4608,7 @@ (define-public rust-wayland-scanner-0.31 "--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-quick-xml" ,rust-quick-xml-0.31) ("rust-quote" ,rust-quote-1)) #:cargo-development-inputs (("rust-similar" ,rust-similar-2)))) (home-page "https://github.com/smithay/wayland-rs") @@ -4613,21 +4716,21 @@ (define-public rust-wayland-scanner-0.21 (define-public rust-wayland-server-0.31 (package (name "rust-wayland-server") - (version "0.31.0") + (version "0.31.1") (source (origin (method url-fetch) (uri (crate-uri "wayland-server" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kmiii32hi7h3r9q923q628rrbglkjkg362c32hnr4s5li90qgrz")))) + (base32 "1dzxfabykj156abnbx2i8j8gvmgb9yys9mfj9sx29g45qbay9rh0")))) (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-rustix" ,rust-rustix-0.38) ("rust-wayland-backend" ,rust-wayland-backend-0.3) ("rust-wayland-scanner" ,rust-wayland-scanner-0.31)))) (home-page "https://github.com/smithay/wayland-rs") diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 51f02788d3..9c01ce3142 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -3054,8 +3054,37 @@ (define-public rust-pango-sys-0.9 (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-pangocairo-0.18 + (package + (name "rust-pangocairo") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "199qdgw5mf1vbqmslscy1qzz0szw2dcd21p6z61wzjngm64na0sp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18) + ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.18)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list pango)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the PangoCairo library") + (description + "This package provides Rust bindings for the @code{PangoCairo} library.") + (license license:expat))) + (define-public rust-pangocairo-0.17 (package + (inherit rust-pangocairo-0.18) (name "rust-pangocairo") (version "0.17.10") (source @@ -3065,7 +3094,6 @@ (define-public rust-pangocairo-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1kr2b31034b8zif4r3lf4rniqphk2bxi2q7n8iwq2wrf3k5jkgw6")))) - (build-system cargo-build-system) (arguments `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` #:tests? #f @@ -3077,16 +3105,7 @@ (define-public rust-pangocairo-0.17 ("rust-pango" ,rust-pango-0.17) ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.17)) #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list pango)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the PangoCairo library") - (description - "This package provides Rust bindings for the @code{PangoCairo} library.") - (license license:expat))) + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) (define-public rust-pangocairo-0.15 (package @@ -3114,8 +3133,38 @@ (define-public rust-pangocairo-0.15 #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-pangocairo-sys-0.18 + (package + (name "rust-pangocairo-sys") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cw82261ixgr9xw549rx11w74h0wz4lw0pqxxir7lzm3fvv8yg7w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.18) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs + ;; XXX: Should these be propagated from their respective crates? + (list cairo glib pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgtk-3") + (description "This package provides FFI bindings to @code{PangoCairo}.") + (license license:expat))) + (define-public rust-pangocairo-sys-0.17 (package + (inherit rust-pangocairo-sys-0.18) (name "rust-pangocairo-sys") (version "0.17.10") (source @@ -3125,7 +3174,6 @@ (define-public rust-pangocairo-sys-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ymr4aqrdpysz0rh383s4h6hj8nbkyj7n4723f45zzzqkf6x7pwl")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17) @@ -3133,18 +3181,8 @@ (define-public rust-pangocairo-sys-0.17 ("rust-libc" ,rust-libc-0.2) ("rust-pango-sys" ,rust-pango-sys-0.17) ("rust-system-deps" ,rust-system-deps-6)) - #:cargo-development-inputs - (("rust-shell-words" ,rust-shell-words-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs - (list pkg-config)) - (inputs - ;; XXX: Should these be propagated from their respective crates? - (list cairo glib pango)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgtk-3") - (description "This package provides FFI bindings to @code{PangoCairo}.") - (license license:expat))) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-pangocairo-sys-0.15 (package diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9fbe0e2a6a..a6eda94596 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42,6 +42,8 @@ ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh +;;; Copyright © 2024 Aaron Covrig +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -67,6 +69,7 @@ (define-module (gnu packages crates-io) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (gnu packages) + #:use-module (gnu packages acl) #:use-module (gnu packages admin) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) @@ -111,6 +114,7 @@ (define-module (gnu packages crates-io) #:use-module (gnu packages python) #:use-module (gnu packages rust) #:use-module (gnu packages rust-apps) + #:use-module (gnu packages selinux) #:use-module (gnu packages sequoia) #:use-module (gnu packages serialization) #:use-module (gnu packages shells) @@ -176,8 +180,53 @@ (define-public rust-ab-glyph-rasterizer-0.1 cubic beziers.") (license license:asl2.0))) +(define-public rust-abi-stable-0.11 + (package + (name "rust-abi-stable") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "abi_stable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0if428pq8ly97zi6q1842nak977rwxnj17650i8gwpxh7qnm3mk9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--features=testing") + #:cargo-inputs (("rust-abi-stable-derive" ,rust-abi-stable-derive-0.11) + ("rust-abi-stable-shared" ,rust-abi-stable-shared-0.11) + ("rust-const-panic" ,rust-const-panic-0.2) + ("rust-core-extensions" ,rust-core-extensions-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-generational-arena" ,rust-generational-arena-0.2) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-lock-api" ,rust-lock-api-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-paste" ,rust-paste-1) + ("rust-repr-offset" ,rust-repr-offset-0.2) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-fnv" ,rust-fnv-1) + ("rust-hashbrown" ,rust-hashbrown-0.13) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/rodrimati1992/abi_stable_crates/") + (synopsis "Rust-to-Rust ffi,writing libraries loaded at program startup") + (description + "This package contains code for doing Rust-to-Rust ffi, writing libraries +loaded at program startup.") + (license (list license:expat license:asl2.0)))) + (define-public rust-abi-stable-0.10 (package + (inherit rust-abi-stable-0.11) (name "rust-abi-stable") (version "0.10.5") (source @@ -194,7 +243,6 @@ (define-public rust-abi-stable-0.10 " <([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") _ version _) (string-append ">=" version))))))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; tests must be run with the "testing" feature #:cargo-inputs @@ -219,16 +267,43 @@ (define-public rust-abi-stable-0.10 ("rust-fnv" ,rust-fnv-1) ("rust-hashbrown" ,rust-hashbrown-0.11) ("rust-rand" ,rust-rand-0.8) - ("rust-serde-json" ,rust-serde-json-1)))) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-abi-stable-derive-0.11 + (package + (name "rust-abi-stable-derive") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "abi_stable_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16780mmr2hwx8ajcq59nhvq3krv5i8r7mg41x08fx907nil885yp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=sabi_trait::tests::sabi_trait_test_cases" + "--skip=stable_abi::tests::test_cases") + #:cargo-inputs (("rust-abi-stable-shared" ,rust-abi-stable-shared-0.11) + ("rust-as-derive-utils" ,rust-as-derive-utils-0.11) + ("rust-core-extensions" ,rust-core-extensions-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-typed-arena" ,rust-typed-arena-2)) + #:cargo-development-inputs + (("rust-as-derive-utils" ,rust-as-derive-utils-0.11)))) (home-page "https://github.com/rodrimati1992/abi_stable_crates/") - (synopsis "Rust-to-Rust ffi,writing libraries loaded at program startup") - (description - "This package contains code for doing Rust-to-Rust ffi,writing libraries -loaded at program startup.") + (synopsis "Implementation detail of abi_stable.") + (description "This package contains an implementation detail of abi_stable.") (license (list license:expat license:asl2.0)))) (define-public rust-abi-stable-derive-0.10 (package + (inherit rust-abi-stable-derive-0.11) (name "rust-abi-stable-derive") (version "0.10.3") (source @@ -238,7 +313,6 @@ (define-public rust-abi-stable-derive-0.10 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1w503n9rxja3h8ls6p5xsly8aclbp30dm4hd0525bvpbippi161v")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -254,14 +328,30 @@ (define-public rust-abi-stable-derive-0.10 ("rust-syn" ,rust-syn-1) ("rust-typed-arena" ,rust-typed-arena-2)) #:cargo-development-inputs - (("rust-as-derive-utils" ,rust-as-derive-utils-0.10)))) + (("rust-as-derive-utils" ,rust-as-derive-utils-0.10)))))) + +(define-public rust-abi-stable-shared-0.11 + (package + (name "rust-abi-stable-shared") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "abi_stable_shared" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qrbmlypvxx3zij1c6w6yykpp5pjcfx9qr2d9lzyc8y1i1vdzddj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-core-extensions" ,rust-core-extensions-1)))) (home-page "https://github.com/rodrimati1992/abi_stable_crates/") - (synopsis "Implementation detail of abi_stable.") + (synopsis "Implementation detail of abi_stable") (description "This package contains an implementation detail of abi_stable.") (license (list license:expat license:asl2.0)))) (define-public rust-abi-stable-shared-0.10 (package + (inherit rust-abi-stable-shared-0.11) (name "rust-abi-stable-shared") (version "0.10.3") (source @@ -271,13 +361,8 @@ (define-public rust-abi-stable-shared-0.10 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0psaz0vghdz84vrb311g4b74d2nhrlbmwxa8if88s0bf0s4xmsgc")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-core-extensions" ,rust-core-extensions-1)))) - (home-page "https://github.com/rodrimati1992/abi_stable_crates/") - (synopsis "Implementation detail of abi_stable") - (description "This package contains an implementation detail of abi_stable.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-core-extensions" ,rust-core-extensions-1)))))) (define-public rust-abomonation-0.7 (package @@ -449,8 +534,46 @@ (define-public rust-adblock-0.5 ("rust-sha2" ,rust-sha2-0.9) ("rust-tokio" ,rust-tokio-1)))))) +(define-public rust-addr2line-0.21 + (package + (name "rust-addr2line") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "addr2line" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jx0k3iwyqr8klqbzk6kjvr496yd94aspis10vwsj5wy7gib4c4a")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `auxiliary` + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-gimli" ,rust-gimli-0.28) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-object" ,rust-object-0.32) + ("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-4) + ("rust-findshlibs" ,rust-findshlibs-0.10) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.6) + ("rust-typed-arena" ,rust-typed-arena-2)))) + (home-page "https://github.com/gimli-rs/addr2line") + (synopsis "Symbolication library written in Rust, using gimli") + (description + "This package provides a cross-platform symbolication library written in +Rust, using gimli.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-addr2line-0.19 (package + (inherit rust-addr2line-0.21) (name "rust-addr2line") (version "0.19.0") (source (origin @@ -460,7 +583,6 @@ (define-public rust-addr2line-0.19 (sha256 (base32 "15ywmr5wx22q69ffnn79qp65ir5p1x0k2q06plcpv6v74c5xcvx7")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `auxiliary` #:cargo-inputs @@ -479,13 +601,7 @@ (define-public rust-addr2line-0.19 ("rust-findshlibs" ,rust-findshlibs-0.10) ("rust-memmap2" ,rust-memmap2-0.5) ("rust-rustc-test" ,rust-rustc-test-0.3) - ("rust-typed-arena" ,rust-typed-arena-2)))) - (home-page "https://github.com/gimli-rs/addr2line") - (synopsis "Symbolication library written in Rust, using gimli") - (description - "This package provides a cross-platform symbolication library written in -Rust, using gimli.") - (license (list license:asl2.0 license:expat)))) + ("rust-typed-arena" ,rust-typed-arena-2)))))) (define-public rust-addchain-0.2 (package @@ -647,6 +763,31 @@ (define-public rust-afl-0.12 "Fuzz Rust code with american-fuzzy-lop.") (license license:asl2.0))) +(define-public rust-afl-0.11 + (package + (inherit rust-afl-0.12) + (name "rust-afl") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "afl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a2jm690mcxd073j9isd16rpzkjfmpgamw9h64f5l2fpns0423vc")))) + (arguments + `(#:skip-build? #t ; We don't want to add AFL as an input. + #: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.4) + ("rust-xdg" ,rust-xdg-2)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)) + #: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") @@ -982,7 +1123,6 @@ (define-public rust-aliasable-deref-trait-0.2 (sha256 (base32 "0abzqsxd09jxl01brzjnwk8zg7k8zma76gzq87385q8fqm710jxb")))) (build-system cargo-build-system) - (arguments '(#:skip-build? #t)) (home-page "https://github.com/avitex/rust-aliasable-deref-trait") (synopsis "Marker trait for aliasable pointers") (description @@ -1003,8 +1143,7 @@ (define-public rust-aliasable-0.1 (base32 "1z8548zdjlm4ps1k0d7x68lfdyji02crwcc9rw3q3bb106f643r5")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-aliasable-deref-trait" ,rust-aliasable-deref-trait-0.2) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) (home-page "https://github.com/avitex/rust-aliasable") @@ -1098,6 +1237,27 @@ (define-public rust-allocator-api2-0.2 (description "Mirror of Rust's allocator API.") (license (list license:expat license:asl2.0)))) +(define-public rust-alphanumeric-sort-1 + (package + (name "rust-alphanumeric-sort") + (version "1.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "alphanumeric-sort" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13vyx3cqpylvc0md4563rd42b7dvk3fv4wny0kpcc48gy72n0z6n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://magiclen.org/alphanumeric-sort") + (synopsis "Sort order for files and folders whose names contain numerals") + (description + "This crate can help you sort order for files and folders whose names +contain numerals.") + (license license:expat))) + (define-public rust-alsa-0.8 (package (name "rust-alsa") @@ -1520,8 +1680,34 @@ (define-public rust-anes-0.1 ;; The user can choose either license. (license (list license:expat license:asl2.0)))) +(define-public rust-annotate-snippets-0.10 + (package + (name "rust-annotate-snippets") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "annotate-snippets" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rmzxhi079d6j67x1dyv3sjkrc13x6av513cn27pwjl8i5bnd6vd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-difference" ,rust-difference-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.5)))) + (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-annotate-snippets-0.9 (package + (inherit rust-annotate-snippets-0.10) (name "rust-annotate-snippets") (version "0.9.2") (source @@ -1531,7 +1717,6 @@ (define-public rust-annotate-snippets-0.9 (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)) @@ -1540,11 +1725,7 @@ (define-public rust-annotate-snippets-0.9 ("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)))) + ("rust-yansi-term" ,rust-yansi-term-0.1)))))) (define-public rust-ansi-parser-0.8 (package @@ -1584,17 +1765,81 @@ (define-public rust-ansi-parser-0.6 (("rust-heapless" ,rust-heapless-0.5) ("rust-nom" ,rust-nom-4)))))) +(define-public rust-ansi-str-0.8 + (package + (name "rust-ansi-str") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi-str" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07ddhqynv05xjyhw295w29qy77fi84sh5p2mm46ap0d94s4mgx0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansitok" ,rust-ansitok-0.2)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + (home-page "https://github.com/zhiburt/ansi-str") + (synopsis + "Library which provides a set of methods to work with ANSI strings") + (description + "This package provides a library which provides a set of methods to work +with ANSI strings.") + (license license:expat))) + +(define-public rust-ansi-width-0.1 + (package + (name "rust-ansi-width") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi-width" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "023693dwvci91456nfi0aygc44i1f098l2f23ssq67b1ybk3r7i1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://docs.rs/ansi-width") + (synopsis "Calculate the width of a string when printed to the terminal") + (description + "Calculate the width of a string when printed to the terminal.") + (license license:expat))) + +(define-public rust-ansitok-0.2 + (package + (name "rust-ansitok") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansitok" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10vc2d1325qsbvbnqnj48zg55wv7jz929drx9vpdscdvl7k48012")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-vte" ,rust-vte-0.10)))) + (home-page "https://gitlab.com/zhiburt/ansitok") + (synopsis "Library for parsing ANSI Escape Codes") + (description + "This package provides a library for parsing ANSI Escape Codes.") + (license license:expat))) + (define-public rust-anstream-0.6 (package (name "rust-anstream") - (version "0.6.11") + (version "0.6.13") (source (origin (method url-fetch) (uri (crate-uri "anstream" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19dndamalavhjwp4i74k8hdijcixb7gsfa6ycwyc1r8xn6y1wbkf")))) + (base32 "1yv2idkyf9mp9xwc684v0ywqiy86lwc9gvllwdishl7y6czx0syr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1695,26 +1940,47 @@ (define-public rust-anstyle-0.2 `(#:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))))) +(define-public rust-anstyle-lossy-1 + (package + (name "rust-anstyle-lossy") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle-lossy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10c1cg8vjb7mxwky2xc8j7zdp15i1qvpmd2w6nlsxm6vcx3l9859")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1)))) + (home-page "https://github.com/rust-cli/anstyle") + (synopsis "conversion between ANSI color codes") + (description "Lossy conversion between ANSI Color Codes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-anstyle-parse-0.2 (package (name "rust-anstyle-parse") - (version "0.2.0") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "anstyle-parse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vjprf080adyxxpls9iwwny3g7irawfns9s2cj9ngq28dqhzsrg7")))) + "134jhzrz89labrdwxxnjxqjdg06qvaflj1wkfnmyapwyldfwcnn7")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. + `(#:cargo-test-flags + '("--release" "--" + "--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-codegenrs" ,rust-codegenrs-3) + ("rust-criterion" ,rust-criterion-0.5) ("rust-proptest" ,rust-proptest-1) ("rust-snapbox" ,rust-snapbox-0.4) ("rust-vte-generate-state-changes" ,rust-vte-generate-state-changes-0.1)))) @@ -1752,17 +2018,17 @@ (define-public rust-anstyle-parse-0.1 (define-public rust-anstyle-query-1 (package (name "rust-anstyle-query") - (version "1.0.0") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "anstyle-query" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0js9bgpqz21g0p2nm350cba1d0zfyixsma9lhyycic5sw55iv8aw")))) + "0j3na4b1nma39g4x7cwvj009awxckjf3z2vkwhldgka44hqj72g2")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.48)))) + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://github.com/rust-cli/anstyle") (synopsis "Look up colored console capabilities") (description "Look up colored console capabilities") @@ -1799,6 +2065,31 @@ (define-public rust-anstyle-stream-0.2 writing colored text to a terminal.") (license (list license:expat license:asl2.0)))) +(define-public rust-anstyle-svg-0.1 + (package + (name "rust-anstyle-svg") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "anstyle-svg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yi8d0cv1spcisch35b1f7q7lz7j7yyircrnvgaxcj5l8zadlvcb")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests segfault. + #:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anstyle-lossy" ,rust-anstyle-lossy-1) + ("rust-html-escape" ,rust-html-escape-0.2) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.5)))) + (home-page "https://github.com/rust-cli/anstyle") + (synopsis "Convert ANSI escape codes to SVG") + (description "Convert ANSI escape codes to SVG.") + (license (list license:expat license:asl2.0)))) + (define-public rust-antidote-1 (package (name "rust-antidote") @@ -1823,14 +2114,14 @@ (define-public rust-antidote-1 (define-public rust-anyhow-1 (package (name "rust-anyhow") - (version "1.0.79") + (version "1.0.86") (source (origin (method url-fetch) (uri (crate-uri "anyhow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ji5irqiwr8yprgqj8zvnli7zd7fz9kzaiddq44jnrl2l289h3h8")))) + (base32 "1nk301x8qhpdaks6a9zvcp7yakjqnczjmqndbg7vk4494d3d1ldk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1855,22 +2146,141 @@ (define-public rust-anymap-0.12 (origin (method url-fetch) (uri (crate-uri "anymap" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0i23vv38i22aazp5z2hz0a44b943b6w5121kwwnpq1brpm1l559k")))) + (base32 "0i23vv38i22aazp5z2hz0a44b943b6w5121kwwnpq1brpm1l559k")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page - "https://github.com/chris-morgan/anymap") - (synopsis - "Safe and convenient store for one value of each type") + (arguments + `(#:tests? #f)) ; cannot transmute between types of different sizes + (home-page "https://github.com/chris-morgan/anymap") + (synopsis "Safe and convenient store for one value of each type") (description "This package provides a safe and convenient store for one value of each type.") (license (list license:expat license:asl2.0)))) +(define-public rust-anymap2-0.13 + (package + (name "rust-anymap2") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "anymap2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "031kw3bp0zh2pn9fcayaw0w0gydgpgfhm08pg4yz5cml9jwv60fk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f)) ; cannot transmute between types of different sizes + (home-page "https://github.com/azriel91/anymap2") + (synopsis "Safe and convenient store for one value of each type") + (description + "This package provides a safe and convenient store for one value of +each type.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-apache-avro-0.16 + (package + (name "rust-apache-avro") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "apache-avro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "180113hv4b7dw63szi5rzjb5pj8lwn5zyf8fnxq0kx7qna1wddyf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-apache-avro-derive" ,rust-apache-avro-derive-0.16) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-digest" ,rust-digest-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libflate" ,rust-libflate-2) + ("rust-log" ,rust-log-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-quad-rand" ,rust-quad-rand-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex-lite" ,rust-regex-lite-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snap" ,rust-snap-1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-typed-builder" ,rust-typed-builder-0.16) + ("rust-uuid" ,rust-uuid-1) + ("rust-xz2" ,rust-xz2-0.1) + ("rust-zstd" ,rust-zstd-0.12)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-apache-avro-test-helper" ,rust-apache-avro-test-helper-0.16) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/apache/avro") + (synopsis "Library for working with Apache Avro in Rust") + (description + "This package provides a library for working with Apache Avro in Rust.") + (license license:asl2.0))) + +(define-public rust-apache-avro-derive-0.16 + (package + (name "rust-apache-avro-derive") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "apache-avro-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "192wmrzjz1bwfiwv11979kk3dl51q50vgppn2iyph8v9048y85z3")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `apache_avro` + #:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/apache/avro") + (synopsis "Library for deriving Avro schemata from Rust structs and enums") + (description "This package provides a library for deriving Avro schemata +from Rust structs and enums.") + (license license:asl2.0))) + +(define-public rust-apache-avro-test-helper-0.16 + (package + (name "rust-apache-avro-test-helper") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "apache-avro-test-helper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mgj73sli4m49frp4y460p7sxpkc73f00n5rqcbby4sh5fdqh9hf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-color-backtrace" ,rust-color-backtrace-0.5) + ("rust-ctor" ,rust-ctor-0.2) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-ref-thread-local" ,rust-ref-thread-local-0.1)))) + (home-page "https://github.com/apache/avro") + (synopsis "Apache Avro tests helper") + (description "This package contains the Apache Avro tests helper.") + (license license:asl2.0))) + (define-public rust-app-dirs2-2 (package (name "rust-app-dirs2") @@ -1966,8 +2376,7 @@ (define-public rust-approx-0.3 (base32 "1hx580xjdxl3766js9b49rnbnmr8gw8c060809l43k9f0xshprph")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.2) ("rust-num-traits" ,rust-num-traits-0.2)))))) @@ -1990,18 +2399,18 @@ (define-public rust-approx-0.1 (define-public rust-arbitrary-1 (package (name "rust-arbitrary") - (version "1.3.0") + (version "1.3.2") (source (origin (method url-fetch) (uri (crate-uri "arbitrary" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0km5cj0sxfzv863blfjpz49mlikaxbaslyzk463i9jn1fgzril72")))) + "0471f0c4f1bgibhyhf8vnapkp158h1nkrzx0wnq97jwd9n0jcnkx")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-derive-arbitrary" ,rust-derive-arbitrary-1)))) + `(#:cargo-inputs (("rust-derive-arbitrary" ,rust-derive-arbitrary-1)) + #:cargo-development-inputs (("rust-exhaustigen" ,rust-exhaustigen-0.1)))) (home-page "https://github.com/rust-fuzz/arbitrary") (synopsis "Trait for generating structured data from unstructured data") (description @@ -2031,8 +2440,42 @@ (define-public rust-arbitrary-0.4 #:cargo-inputs (("rust-derive-arbitrary" ,rust-derive-arbitrary-0.4)))))) +(define-public rust-arboard-3 + (package + (name "rust-arboard") + (version "3.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "arboard" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n7s54yjbv3qksq2fivcdnvriplmzp8fd14dfrw7k7048cciy152")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; tests require X11 $DISPLAY + #:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-5) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-image" ,rust-image-0.24) + ("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-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-windows-sys" ,rust-windows-sys-0.48) + ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.8) + ("rust-x11rb" ,rust-x11rb-0.13)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9)))) + (home-page "https://github.com/1Password/arboard") + (synopsis "Image and text handling for the OS clipboard") + (description + "This package provides image and text handling for the OS clipboard.") + (license (list license:expat license:asl2.0)))) + (define-public rust-arboard-1 (package + (inherit rust-arboard-3) (name "rust-arboard") (version "1.2.1") (source @@ -2042,7 +2485,6 @@ (define-public rust-arboard-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1a5qfmpzcf5rwlwsligf9z1gzndpvj0jncc4s3k3z5g214c4l127")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -2064,12 +2506,7 @@ (define-public rust-arboard-1 ("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 - "This package provides image and text handling for the OS clipboard.") - (license (list license:expat license:asl2.0)))) + ("rust-simple-logger" ,rust-simple-logger-1)))))) (define-public rust-arc-swap-1 (package @@ -2291,23 +2728,59 @@ (define-public rust-argmax-0.3 too long errors.") (license (list license:expat license:asl2.0)))) +(define-public rust-argminmax-0.6 + (package + (name "rust-argminmax") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "argminmax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1alfp2wfh3pms6f5fj8qw9birndgac2jd2shdl2xascxsrclnhjj")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-arrow" ,rust-arrow-5) + ("rust-arrow2" ,rust-arrow2-0.7) + ("rust-half" ,rust-half-2) + ("rust-ndarray" ,rust-ndarray-0.15) + ("rust-num-traits" ,rust-num-traits-0.2)) + #:cargo-development-inputs + (("rust-codspeed-criterion-compat" ,rust-codspeed-criterion-compat-2) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6)))) + (home-page "https://github.com/jvdd/argminmax") + (synopsis + "ArgMinMax (argmin & argmax in 1 function) with SIMD for floats and integers") + (description + "@code{ArgMinMax} (argmin & argmax in 1 function) with SIMD for floats and +integers.") + (license license:expat))) + (define-public rust-ariadne-0.1 (package (name "rust-ariadne") - (version "0.1.6") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "ariadne" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dhxrhqgdwbl7v03m29zv4rb2fvjgw8a82lybp5xhzjp97khkm83")))) + "0303ig5g2v2xzhyzkis0nph2v21441vzalamhxgcxa5y8qh2mjzi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-concolor" ,rust-concolor-0.0.11) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-yansi" ,rust-yansi-0.5)))) + (("rust-yansi" ,rust-yansi-0.5)))) (home-page "https://github.com/zesterer/ariadne") (synopsis "Fancy diagnostics & reporting crate") (description "This package provides a fancy diagnostics & reporting crate.") @@ -2379,6 +2852,24 @@ (define-public rust-array-init-2 array.") (license (list license:expat license:asl2.0)))) +(define-public rust-array-init-cursor-0.2 + (package + (name "rust-array-init-cursor") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "array-init-cursor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xpbqf7qkvzplpjd7f0wbcf2n1v9vygdccwxkd1amxp4il0hlzdz")))) + (build-system cargo-build-system) + (home-page "https://github.com/planus-org/planus") + (synopsis "Utility crate to help keep track of arrays of MaybeUninit") + (description + "Utility crate to help keep track of arrays of @code{MaybeUninit}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-array-macro-1 (package (name "rust-array-macro") @@ -2391,7 +2882,6 @@ (define-public rust-array-macro-1 (sha256 (base32 "19mdx2xlppnqwl6rhsbzylx61a0kkp2ql8q16195b7iga977ps86")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://gitlab.com/KonradBorowski/array-macro") (synopsis "Array multiple elements constructor syntax") (description "This package implements constructor syntax for arrays with @@ -2489,8 +2979,7 @@ (define-public rust-arrayvec-0.5 (base32 "12q6hn01x5435bprwlb7w9m7817dyfq55yrl4psygr78bp32zdi3")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) @@ -2512,8 +3001,7 @@ (define-public rust-arrayvec-0.4 (base32 "1fdiv5m627gh6flp4mpmi1mh647imm9x423licsr11psz97d97yd")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-nodrop" ,rust-nodrop-0.1) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs @@ -2671,6 +3159,35 @@ (define-public rust-arrow-array-47 can be used for type-erasure.") (license license:asl2.0))) +(define-public rust-arrow-array-43 + (package + (inherit rust-arrow-array-47) + (name "rust-arrow-array") + (version "43.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-array" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l7k48p40b8j4nzda5z20b45zsaphm9yylzwryr8n7vxbxrfmmv3")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=array::binary_array::tests::test_binary_array_from_incorrect_list_array") + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-buffer" ,rust-arrow-buffer-43) + ("rust-arrow-data" ,rust-arrow-data-43) + ("rust-arrow-schema" ,rust-arrow-schema-43) + ("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-2" ,rust-packed-simd-2-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-arrow-buffer-47 (package (name "rust-arrow-buffer") @@ -2697,6 +3214,24 @@ (define-public rust-arrow-buffer-47 Rust implementation of Apache Arrow.") (license license:asl2.0))) +(define-public rust-arrow-buffer-43 + (package + (inherit rust-arrow-buffer-47) + (name "rust-arrow-buffer") + (version "43.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-buffer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08m7cxfksmc2qsygba0ingr1a3acbrxx9qdr0184wj3z0yg47gmx")))) + (arguments + `(#:cargo-inputs (("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)))))) + (define-public rust-arrow-cast-47 (package (name "rust-arrow-cast") @@ -2818,8 +3353,51 @@ (define-public rust-arrow-data-47 the Apache Arrow implementation in Rust.") (license license:asl2.0))) +(define-public rust-arrow-data-43 + (package + (inherit rust-arrow-data-47) + (name "rust-arrow-data") + (version "43.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-data" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12q2dvfaj78rfj5k3sfn8d3fnhwp3iizd4dbf5m14526qniz9x6l")))) + (arguments + `(#:cargo-inputs (("rust-arrow-buffer" ,rust-arrow-buffer-43) + ("rust-arrow-schema" ,rust-arrow-schema-43) + ("rust-half" ,rust-half-2) + ("rust-num" ,rust-num-0.4)))))) + +(define-public rust-arrow-format-0.8 + (package + (name "rust-arrow-format") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1irj67p6c224dzw86jr7j3z9r5zfid52gy6ml8rdqk4r2si4x207")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-planus" ,rust-planus-0.3) + ("rust-prost" ,rust-prost-0.11) + ("rust-prost-derive" ,rust-prost-derive-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-tonic" ,rust-tonic-0.8)))) + (home-page "https://github.com/DataEngineeringLabs/arrow-format") + (synopsis "Unofficial flatbuffers and tonic code of Apache Arrow spec") + (description "This package provides an nofficial flatbuffers and tonic +code of Apache Arrow spec.") + (license license:asl2.0))) + (define-public rust-arrow-format-0.3 (package + (inherit rust-arrow-format-0.8) (name "rust-arrow-format") (version "0.3.0") (source @@ -2829,19 +3407,13 @@ (define-public rust-arrow-format-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0apg3x3yllbazh6jr85g5yammjqxpnrk6jm4n2yypyhbcvcs4zcz")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-flatbuffers" ,rust-flatbuffers-2) ("rust-prost" ,rust-prost-0.9) ("rust-prost-derive" ,rust-prost-derive-0.9) - ("rust-tonic" ,rust-tonic-0.6)))) - (home-page "https://crates.io/crates/arrow-format") - (synopsis "Unofficial flatbuffers and tonic code of Apache Arrow spec") - (description "This package provides an nofficial flatbuffers and tonic -code of Apache Arrow spec.") - (license license:asl2.0))) + ("rust-tonic" ,rust-tonic-0.6)))))) (define-public rust-arrow-ipc-47 (package @@ -3029,6 +3601,24 @@ (define-public rust-arrow-schema-47 Apache Arrow implementation in Rust.") (license license:asl2.0))) +(define-public rust-arrow-schema-43 + (package + (inherit rust-arrow-schema-47) + (name "rust-arrow-schema") + (version "43.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow-schema" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zp8jz0pcr2d020rrmkdkzg6yizb2gc0fbfgzddb2w7mxrbwpsrb")))) + (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)))))) + (define-public rust-arrow-select-47 (package (name "rust-arrow-select") @@ -3087,6 +3677,86 @@ (define-public rust-arrow-string-47 @code{regexp} and @code{substring} kernels.") (license license:asl2.0))) +(define-public rust-arrow2-0.17 + (package + (name "rust-arrow2") + (version "0.17.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "arrow2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yh40rdx0hwyag621byl6rk8w2jzvgvsj78sg1yp82qlxbd6ii2r")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; failed to resolve: could not find `parquet` in `io` + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-array" ,rust-arrow-array-43) + ("rust-arrow-buffer" ,rust-arrow-buffer-43) + ("rust-arrow-data" ,rust-arrow-data-43) + ("rust-arrow-format" ,rust-arrow-format-0.8) + ("rust-arrow-schema" ,rust-arrow-schema-43) + ("rust-async-stream" ,rust-async-stream-0.3) + ("rust-avro-schema" ,rust-avro-schema-0.3) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-comfy-table" ,rust-comfy-table-6) + ("rust-csv" ,rust-csv-1) + ("rust-csv-async" ,rust-csv-async-1) + ("rust-csv-core" ,rust-csv-core-0.1) + ("rust-dyn-clone" ,rust-dyn-clone-1) + ("rust-either" ,rust-either-1) + ("rust-ethnum" ,rust-ethnum-1) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-foreign-vec" ,rust-foreign-vec-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hash-hasher" ,rust-hash-hasher-2) + ("rust-hashbrown" ,rust-hashbrown-0.13) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-json-deserializer" ,rust-json-deserializer-0.4) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-lz4" ,rust-lz4-1) + ("rust-multiversion" ,rust-multiversion-0.7) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-odbc-api" ,rust-odbc-api-0.36) + ("rust-orc-format" ,rust-orc-format-0.3) + ("rust-parquet2" ,rust-parquet2-0.17) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-streaming-iterator" ,rust-streaming-iterator-0.1) + ("rust-strength-reduce" ,rust-strength-reduce-0.2) + ("rust-zstd" ,rust-zstd-0.12)) + #:cargo-development-inputs + (("rust-avro-rs" ,rust-avro-rs-0.13) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-flate2" ,rust-flate2-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-sample-arrow2" ,rust-sample-arrow2-0.1) + ("rust-sample-std" ,rust-sample-std-0.1) + ("rust-sample-test" ,rust-sample-test-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) + (home-page "https://github.com/jorgecarleitao/arrow2") + (synopsis "Unofficial implementation of Apache Arrow spec in safe Rust") + (description "Unofficial implementation of Apache Arrow spec in safe Rust.") + (license license:asl2.0))) + (define-public rust-arrow2-0.7 (package (name "rust-arrow2") @@ -3178,8 +3848,39 @@ (define-public rust-article-scraper-1 ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) +(define-public rust-as-derive-utils-0.11 + (package + (name "rust-as-derive-utils") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "as_derive_utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i2kwzxdhydicj9bqscz5w73nmx612yi3ha137qlr900b5j9cg7z")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Only doc tests, which fail. + #:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-0.7) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-core-extensions" ,rust-core-extensions-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-ron" ,rust-ron-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/rodrimati1992/abi_stable_crates/") + (synopsis "Private derive utilities used by abi_stable and structural") + (description "This package contains private derive utilities used by +the abi_stable and structural crates.") + (license (list license:expat license:asl2.0)))) + (define-public rust-as-derive-utils-0.10 (package + (inherit rust-as-derive-utils-0.11) (name "rust-as-derive-utils") (version "0.10.3") (source @@ -3196,7 +3897,6 @@ (define-public rust-as-derive-utils-0.10 " <([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") _ version _) (string-append ">=" version))))))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Only doc tests, which fail. #:cargo-inputs @@ -3209,12 +3909,7 @@ (define-public rust-as-derive-utils-0.10 ("rust-ron" ,rust-ron-0.6) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/rodrimati1992/abi_stable_crates/") - (synopsis "Private derive utilities used by abi_stable and structural") - (description "This package contains private derive utilities used by -the abi_stable and structural crates.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-as-derive-utils-0.8 (package @@ -3246,6 +3941,25 @@ (define-public rust-as-derive-utils-0.8 ("rust-serde-derive" ,rust-serde-derive-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-as-variant-1 + (package + (name "rust-as-variant") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "as_variant" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13vryhfcslf50f8j1msnxg5689bzwz56z45dgzxqd7r40wis53zk")))) + (build-system cargo-build-system) + (home-page "https://github.com/jplatte/as_variant") + (synopsis "Macro to convert enums with newtype variants to Option") + (description + "This package provides a simple macro to convert enums with newtype +variants to `Option`s.") + (license license:mpl2.0))) + (define-public rust-asio-sys-0.2 (package (name "rust-asio-sys") @@ -3561,7 +4275,10 @@ (define-public rust-ascii-0.8 (base32 "051gh2bgjq90s0f0i0hd9p4z4fpg5k82b570d1223jj7rhd8kglp")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=src/ascii_char.rs - ascii_char::AsciiChar::from (line 296)" + "--skip=src/ascii_string.rs - ascii_string::AsciiString::pop (line 259)") #:cargo-inputs (("rust-quickcheck" ,rust-quickcheck-0.4)))))) @@ -3577,7 +4294,6 @@ (define-public rust-ascii-utils-0.9 (sha256 (base32 "0jpp550pwi38msflpy7lnqm2r153kn9k19bss6k9ak9yacq8z4vi")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/tredoe/ascii_utils") (synopsis "Utilities to handle ASCII characters") (description @@ -3587,16 +4303,15 @@ (define-public rust-ascii-utils-0.9 (define-public rust-assert-0.7 (package (name "rust-assert") - (version "0.7.4") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "assert" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hnph97yz3hpf71s4rdzcrgd492d1m7rj0k48ymxl1w5d2g8v450")))) + (base32 "1fxwnw8ypr6i6bxsy4ggzpjb70aysl044nfzyl3q8kyyv25zqisn")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/stainless-steel/assert") (synopsis "Assertions for testing") (description "This package provides assertions for testing.") @@ -3614,7 +4329,6 @@ (define-public rust-assert-approx-eq-1 (sha256 (base32 "1zagfwfad5wssmr830gk3489f97ppczv6xs627jxniwm6ssdl1rw")))) (build-system cargo-build-system) - (arguments '(#:skip-build? #t)) (home-page "https://github.com/ashleygwilliams/assert_approx_eq") (synopsis "Assert approximately equal") (description @@ -3654,18 +4368,18 @@ (define-public rust-assert-cli-0.6 (define-public rust-assert-cmd-2 (package (name "rust-assert-cmd") - (version "2.0.12") + (version "2.0.14") (source (origin (method url-fetch) (uri (crate-uri "assert_cmd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rnzd84nqijp147nld05j5j92xpj2j57zfrm6c0d9r138yqkr448")))) + (base32 "1a3k03dl57psaky6brb53awzmgbjdivb62j8gy1h8n3dqqx4jwpd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-anstream" ,rust-anstream-0.3) + (("rust-anstream" ,rust-anstream-0.6) ("rust-anstyle" ,rust-anstyle-1) ("rust-bstr" ,rust-bstr-1) ("rust-doc-comment" ,rust-doc-comment-0.3) @@ -3797,6 +4511,30 @@ (define-public rust-assert-impl-0.1 (description "Macro for static assert types implement a trait or not") (license license:expat))) +(define-public rust-assert-json-diff-2 + (package + (name "rust-assert-json-diff") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "assert-json-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04mg3w0rh3schpla51l18362hsirl23q93aisws2irrj32wg5r27")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1) + ("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 package lets you easily compare two JSON values +and get great output.") + (license license:expat))) + (define-public rust-assert-matches-1 (package (name "rust-assert-matches") @@ -4031,6 +4769,37 @@ (define-public rust-async-channel-1 (("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-futures-lite" ,rust-futures-lite-1)))))) +(define-public rust-async-compat-0.2 + (package + (name "rust-async-compat") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-compat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06s625ydwms36y4sn723mwq7s4bba2gmp9pq0y65s2gb3xy712pn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-blocking" ,rust-blocking-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-tokio" ,rust-tokio-1) + ("rust-warp" ,rust-warp-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/smol-rs/async-compat") + (synopsis "Compatibility adapter between tokio and futures") + (description + "This package provides compatibility adapter between tokio and futures.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-async-compression-0.4 (package (name "rust-async-compression") @@ -4123,7 +4892,6 @@ (define-public rust-async-datagram-3 (sha256 (base32 "0k4kiy67d24ay8l7xrfjpsa4zkmhxv97ddj0f16rcv61qkky3i4f")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/rustasync/async-datagram") (synopsis "Async datagram traits") (description "This package provides asynchronous datagram traits.") @@ -4601,6 +5369,29 @@ (define-public rust-async-pidfd-0.1 asynchronously (via the AsyncPidFd type).") (license (list license:expat license:asl2.0)))) +(define-public rust-async-priority-channel-0.1 + (package + (name "rust-async-priority-channel") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-priority-channel" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h36m0avgs86pgh286xkvbnhdhb8bxgsnlxwwazvw88v5scph5n2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-2)) + #:cargo-development-inputs (("rust-futures-lite" ,rust-futures-lite-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rmcgibbo/async-priority-channel") + (synopsis "Async channel with message delivery by priority") + (description + "This package provides an async channel where pending messages are +delivered in order of priority.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-async-process-1 (package (name "rust-async-process") @@ -4690,6 +5481,38 @@ (define-public rust-async-recursion-1 (description "This package provides recursion for async functions in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-async-session-3 + (package + (name "rust-async-session") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-session" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c76vazdlcs2rsxq8gd8a6wnb913vxhnfx1hyfmfpqml4gjlrnh7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-lock" ,rust-async-lock-2) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bincode" ,rust-bincode-1) + ("rust-blake3" ,rust-blake3-0.3) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)))) + (home-page "https://github.com/http-rs/async-session") + (synopsis "Async session support with pluggable middleware") + (description "Async session support with pluggable middleware.") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-signal-0.2 (package (name "rust-async-signal") @@ -5004,6 +5827,42 @@ (define-public rust-atoi-2 (description "Parse integers directly from `[u8]` slices in safe code.") (license license:expat))) +(define-public rust-atoi-0.4 + (package + (inherit rust-atoi-2) + (name "rust-atoi") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atoi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19fdm7gxwp98y67ghyis841vy5ka7hc1afm9cfa69qn0bzh9cs31")))) + (arguments + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) + +(define-public rust-atoi-simd-0.15 + (package + (name "rust-atoi-simd") + (version "0.15.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "atoi_simd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a98kvaqyhb1shi2c6qhvklahc7ckvpmibcy319i6g1i9xqkgq4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-numtoa" ,rust-numtoa-0.2)))) + (home-page "https://github.com/RoDmitry/atoi_simd") + (synopsis "Fast @code{&[u8]} to integer parser") + (description "This package provides a fast @code{&[u8]} to integer parser.") + (license (list license:expat license:asl2.0)))) + (define-public rust-atom-0.3 (package (name "rust-atom") @@ -5103,6 +5962,25 @@ (define-public rust-atomic-polyfill-0.1 they're not available.") (license (list license:expat license:asl2.0)))) +(define-public rust-atomic-take-1 + (package + (name "rust-atomic-take") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic-take" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hzvfqiy0ixsawkh7ci9visn95kx2j6yvnqxz536x5wpzranpax8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/Darksonn/atomic-take") + (synopsis "Atomically take a value out of a container once") + (description "Atomically take a value out of a container once.") + (license license:expat))) + (define-public rust-atomic-write-file-0.1 (package (name "rust-atomic-write-file") @@ -5162,7 +6040,7 @@ (define-public rust-atty-0.2 "1s7yslcs6a28c5vz7jwj63lkfgyx8mx99fdirlhi9lbhhzhrpcyr")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ;; tests expect a tty #:cargo-inputs (("rust-hermit-abi" ,rust-hermit-abi-0.1) ("rust-libc" ,rust-libc-0.2) @@ -5372,31 +6250,31 @@ (define-public rust-average-0.13 (define-public rust-average-0.10 (package (name "rust-average") - (version "0.10.4") + (version "0.10.6") (source (origin (method url-fetch) (uri (crate-uri "average" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dmsxqcr1n0i20qr9g2g6j89kkx8dy6w18dbqzx1wi42wj1chgvh")))) + "1npcsgksxa8c03cam1zyxgaw9rsifwbzbflf4pjrq55b0a01cg1j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-conv" ,rust-conv-0.3) ("rust-float-ord" ,rust-float-ord-0.2) ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-big-array" ,rust-serde-big-array-0.2) + ("rust-serde-big-array" ,rust-serde-big-array-0.3) ("rust-serde-derive" ,rust-serde-derive-1)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-proptest" ,rust-proptest-0.9) + ("rust-proptest" ,rust-proptest-0.10) ("rust-quantiles" ,rust-quantiles-0.7) ("rust-rand" ,rust-rand-0.7) - ("rust-rand-distr" ,rust-rand-distr-0.2) + ("rust-rand-distr" ,rust-rand-distr-0.3) ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.4) ("rust-serde-json" ,rust-serde-json-1) ("rust-streaming-stats" ,rust-streaming-stats-0.2)))) @@ -5533,6 +6411,37 @@ (define-public rust-avro-rs-0.13 "This package is a library for working with Apache Avro in Rust.") (license license:expat))) +(define-public rust-avro-schema-0.3 + (package + (name "rust-avro-schema") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "avro-schema" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gbvciwvi2isa6qanbzi4lbqzzgvhdlzjyzlsa29dflsndaiha5m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=file::round_trip_deflate" + "--skip=file::round_trip_snappy") + #:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-crc" ,rust-crc-2) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-libflate" ,rust-libflate-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snap" ,rust-snap-1)))) + (home-page "https://github.com/DataEngineeringLabs/avro-schema") + (synopsis "Apache Avro specification") + (description "This package contains the Apache Avro specification.") + (license (list license:expat license:asl2.0)))) + (define-public rust-az-1 (package (name "rust-az") @@ -5552,6 +6461,43 @@ (define-public rust-az-1 (description "This crate provides casts and checked casts.") (license (list license:expat license:asl2.0)))) +(define-public rust-backoff-0.4 + (package + (name "rust-backoff") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "backoff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h80d9xn5wngxdgza2m8w4x1kyhk0x6k9ydvsj50j2pcn6fdnbdn")) + (modules '((guix build utils))) + ;; XXX: Doctest hangs for no apparent reason. + (snippet '(substitute* "src/lib.rs" + (("```rust\n") + "```rust,no_run\n"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-instant" ,rust-instant-0.1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/ihrwein/backoff") + (synopsis "Retry operations with exponential backoff policy") + (description "Retry operations with exponential backoff policy.") + (license (list license:expat license:asl2.0)))) + (define-public rust-backon-0.4 (package (name "rust-backon") @@ -5583,27 +6529,26 @@ (define-public rust-backon-0.4 (define-public rust-backtrace-0.3 (package (name "rust-backtrace") - (version "0.3.67") + (version "0.3.69") (source (origin (method url-fetch) (uri (crate-uri "backtrace" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jk48laqafvbyc0mn1v0didk307qc0zji3z5jcq2lpqqdmnkfg93")))) + "0dsq23dhw4pfndkx2nsa1ml2g31idm7ss7ljxp8d57avygivg290")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs - (("rust-addr2line" ,rust-addr2line-0.19) + (("rust-addr2line" ,rust-addr2line-0.21) ("rust-cc" ,rust-cc-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) ("rust-libc" ,rust-libc-0.2) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.6) - ("rust-object" ,rust-object-0.30) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.7) + ("rust-object" ,rust-object-0.32) ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-1) @@ -5617,6 +6562,28 @@ (define-public rust-backtrace-0.3 trace (backtrace) at runtime in a Rust program.") (license (list license:asl2.0 license:expat)))) +(define-public rust-backtrace-ext-0.2 + (package + (name "rust-backtrace-ext") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "backtrace-ext" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l4xacjnx4jrn9k14xbs2swks018mviq03sp7c1gn62apviywysk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)) + #:cargo-development-inputs (("rust-miette" ,rust-miette-5) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/gankra/backtrace-ext") + (synopsis "conveniences on top of the backtrace crate") + (description + "This package provides minor conveniences on top of the backtrace crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-barrel-0.6 (package (name "rust-barrel") @@ -5685,31 +6652,54 @@ (define-public rust-base58-0.1 c6e7d37. However, this package works only up to 128 bytes.") (license license:expat))) -(define-public rust-base64-0.21 +(define-public rust-base64-0.22 (package (name "rust-base64") - (version "0.21.5") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base64" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1imqzgh7bxcikp5vx3shqvw9j09g9ly0xr0jma0q66i52r7jbcvj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-clap" ,rust-clap-3) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rstest" ,rust-rstest-0.13) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) + ("rust-strum" ,rust-strum-0.25)))) + (home-page "https://github.com/marshallpierce/rust-base64") + (synopsis "Encodes and decodes base64 as bytes or utf8") + (description + "This package encodes and decodes base64 as bytes or utf8.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-base64-0.21 + (package + (inherit rust-base64-0.22) + (name "rust-base64") + (version "0.21.7") (source (origin (method url-fetch) (uri (crate-uri "base64" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1y8x2xs9nszj5ix7gg4ycn5a6wy7ca74zxwqri3bdqzdjha6lqrm")))) - (build-system cargo-build-system) + "0rw52yvsk75kar9wgqfwgb414kvil1gn7mqkrhn9zf1537mpsacx")))) (arguments `(#:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) + (("rust-clap" ,rust-clap-3) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8) - ("rust-rstest" ,rust-rstest-0.12) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.3) - ("rust-structopt" ,rust-structopt-0.3)))) - (home-page "https://github.com/marshallpierce/rust-base64") - (synopsis "Encodes and decodes base64 as bytes or utf8") - (description - "This package encodes and decodes base64 as bytes or utf8.") - (license (list license:expat license:asl2.0)))) + ("rust-rstest" ,rust-rstest-0.13) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6) + ("rust-strum" ,rust-strum-0.25)))))) (define-public rust-base64-0.20 (package @@ -6029,6 +7019,27 @@ (define-public rust-bencher-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-better-panic-0.3 + (package + (name "rust-better-panic") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "better-panic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0djh7qs39z0mbkzxs4nrc9ngnyjpsxq67lqfv75q91i63b8y3abg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-console" ,rust-console-0.15) + ("rust-syntect" ,rust-syntect-4)))) + (home-page "https://github.com/mitsuhiko/better-panic") + (synopsis "Pretty panic backtraces") + (description "Pretty panic backtraces inspired by Python's tracebacks.") + (license license:expat))) + (define-public rust-bigdecimal-0.4 (package (name "rust-bigdecimal") @@ -6202,6 +7213,36 @@ (define-public rust-bindgen-0.69 bindings to C and C++ libraries.") (license license:bsd-3))) +(define-public rust-bindgen-0.68 + (package + (inherit rust-bindgen-0.69) + (name "rust-bindgen") + (version "0.68.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y40gndyay1fj8d3d8gsd9fyfzjlbghx92i560kmvhvfxc9l6vkj")))) + (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.66 (package (inherit rust-bindgen-0.69) @@ -6931,14 +7972,14 @@ (define-public rust-bitcoin-hashes-0.10 (define-public rust-bitflags-2 (package (name "rust-bitflags") - (version "2.4.1") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "bitflags" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01ryy3kd671b0ll4bhdvhsz67vwz1lz53fz504injrd7wpv64xrj")))) + (base32 "1h91vdx1il069vdiiissj8ymzj130rbiic0dbs77yxjgjim9sjyg")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -7065,31 +8106,45 @@ (define-public rust-bitflags-0.2 (build-system cargo-build-system) (arguments `(#:skip-build? #t)))) +(define-public rust-bitmaps-3 + (package + (name "rust-bitmaps") + (version "3.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitmaps" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mivd3wyyham6c8y21nq3ka29am6v8hqn7lzmwf91aks2fq89l51")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive" ,rust-proptest-derive-0.4)))) + (home-page "https://github.com/bodil/bitmaps") + (synopsis "Fixed size compact boolean array in Rust") + (description "This crate provides a convenient and efficient way of +declaring and working with fixed size bitmaps in Rust.") + (license license:mpl2.0))) + (define-public rust-bitmaps-2 (package + (inherit rust-bitmaps-3) (name "rust-bitmaps") (version "2.1.0") (source (origin (method url-fetch) (uri (crate-uri "bitmaps" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403")))) - (build-system cargo-build-system) + (base32 "18k4mcwxl96yvii5kcljkpb8pg5j4jj1zbsdn26nsx4r83846403")))) (arguments - `(#:cargo-inputs - (("rust-typenum" ,rust-typenum-1)) + `(#:cargo-inputs (("rust-typenum" ,rust-typenum-1)) #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.9) - ("rust-proptest-derive" ,rust-proptest-derive-0.1)))) - (home-page "https://github.com/bodil/bitmaps") - (synopsis "Fixed size compact boolean array in Rust") - (description "This crate provides a convenient and efficient way of -declaring and working with fixed size bitmaps in Rust.") - (license license:mpl2.0))) + ("rust-proptest-derive" ,rust-proptest-derive-0.1)))))) (define-public rust-bitpacking-0.8 (package @@ -7140,15 +8195,17 @@ (define-public rust-bitreader-0.3 (define-public rust-bitstream-io-2 (package (name "rust-bitstream-io") - (version "2.2.0") + (version "2.3.0") (source (origin (method url-fetch) (uri (crate-uri "bitstream-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nkny66c4hagpc6l656jvvlnz212msv6icca0f0jw7hpa6d9ij86")))) + (base32 "0vj4f4kg3ls3j41180a7ia65rj2p762mbzimm0bxiw22ds2x24kw")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-core2" ,rust-core2-0.4)))) (home-page "https://github.com/tuffy/bitstream-io") (synopsis "Read/write un-aligned values from big or little-endian streams") (description @@ -7160,15 +8217,14 @@ (define-public rust-bitstream-io-1 (package (inherit rust-bitstream-io-2) (name "rust-bitstream-io") - (version "1.0.0") + (version "1.10.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)))) + (base32 "0kq7hgc66pkbg9kwp8qazaz5x0dagaihml6b8ixsa17xb5k5fig4")))))) (define-public rust-bitstream-io-0.8 (package @@ -7235,7 +8291,7 @@ (define-public rust-bitvec-0.22 (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-funty" ,rust-funty-1) + (("rust-funty" ,rust-funty-1.2.0-yanked) ; Specifically ~1.2 ("rust-radium" ,rust-radium-0.6) ("rust-serde" ,rust-serde-1) ("rust-tap" ,rust-tap-1) @@ -7267,8 +8323,11 @@ (define-public rust-bitvec-0.20 (base32 "0j3qn0z31j06c965hs3kh41l78hxbzzsf1h46xvs3ym48i1i8x3p")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-funty" ,rust-funty-1.1) + `(#:cargo-test-flags + '("--release" "--" + "--skip=slice::tests::get_set") + #:cargo-inputs + (("rust-funty" ,rust-funty-1) ("rust-radium" ,rust-radium-0.6) ("rust-serde" ,rust-serde-1) ("rust-tap" ,rust-tap-1) @@ -7295,7 +8354,7 @@ (define-public rust-bitvec-0.19 (base32 "0cvb24nanb50vq61d3ac3pz7rxjcy0w6lr3nb56kcg1nyc73vyam")))) (arguments `(#:cargo-inputs - (("rust-funty" ,rust-funty-1.1) + (("rust-funty" ,rust-funty-1) ("rust-radium" ,rust-radium-0.5) ("rust-serde" ,rust-serde-1) ("rust-tap" ,rust-tap-1) @@ -7347,6 +8406,35 @@ (define-public rust-blas-0.22 (description "The package provides wrappers for BLAS (Fortran).") (license (list license:asl2.0 license:expat)))) +(define-public rust-blanket-0.3 + (package + (name "rust-blanket") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "blanket" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zvffm82h5825lcf9c0xy76mj487il472cpvcbiidy8dzslj3cg0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests fail to compile. + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-impls" ,rust-impls-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-syn" ,rust-syn-2) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/althonos/blanket") + (synopsis "Macro to derive blanket implementations for your traits") + (description + "This package provides a simple macro to derive blanket implementations for +your traits.") + (license license:expat))) + (define-public rust-blobby-0.3 (package (name "rust-blobby") @@ -7385,8 +8473,7 @@ (define-public rust-blobby-0.1 "1xicpf3s2mi5xqnx8ps5mdych4ib5nh2nfsbrsg8ar8bjk1girbg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)) #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) @@ -7395,25 +8482,20 @@ (define-public rust-blobby-0.1 (define-public rust-block-buffer-0.10 (package (name "rust-block-buffer") - (version "0.10.0") + (version "0.10.4") (source - (origin - (method url-fetch) - (uri (crate-uri "block-buffer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15cbh9jbcfcbbi863dlmamjka2f8l55ld915vr0b0xlf0l16mlzi")))) + (origin + (method url-fetch) + (uri (crate-uri "block-buffer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w9sa2ypmrsqqvc20nhwr75wbb5cjr4kkyhpjm1z1lv2kdicfy1h")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.14)))) + `(#:cargo-inputs (("rust-generic-array" ,rust-generic-array-0.14)))) (home-page "https://github.com/RustCrypto/utils") (synopsis "Fixed size buffer for block processing of data") - (description - "Fixed size buffer for block processing of data.") + (description "Fixed size buffer for block processing of data.") (license (list license:expat license:asl2.0)))) (define-public rust-block-buffer-0.9 @@ -7740,7 +8822,6 @@ (define-public rust-boxfnonce-0.1 (sha256 (base32 "09ilf4zyx92hyhkxlsxksfyprzr9iwq5gqqb22aaqr32c8fwp22r")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/stbuehler/rust-boxfnonce") (synopsis "Safe FnOnce boxing for Rust") (description "This package provides a safe FnOnce boxing for Rust.") @@ -7836,6 +8917,46 @@ (define-public rust-boxxy-0.12 ("rust-rustls" ,rust-rustls-0.16) ("rust-sha2" ,rust-sha2-0.9)))))) +(define-public rust-bracoxide-0.1 + (package + (name "rust-bracoxide") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bracoxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j71fs71ss70rj7n4na8hg63w93czhrjdgi7di6nma12lrfg79xd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/atahabaki/bracoxide") + (synopsis "Library for brace pattern combination, etc.") + (description "This package provides a feature-rich library for brace pattern +combination, permutation generation, and error handling.") + (license license:expat))) + +(define-public rust-branches-0.1 + (package + (name "rust-branches") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "branches" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0alxmzmms4s8vv1v94y2kdq49a4p7728fgkpxx36z2m092bznn3r")))) + (build-system cargo-build-system) + (home-page "https://github.com/fereidani/branches") + (synopsis "Branch hinting prediction and control functions") + (description + "This package provides branch hinting prediction and control functions for +stable Rust including likely, unlikely, assume and abort to help algorithm +optimization.") + (license license:expat))) + (define-public rust-bresenham-0.1 (package (name "rust-bresenham") @@ -8029,69 +9150,132 @@ (define-public rust-browserslist-rs-0.6 (description "Rust-ported Browserslist.") (license license:expat))) +(define-public rust-bs58-0.5 + (package + (name "rust-bs58") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bs58" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x3v51n5n2s3l0rgrsn142akdf331n2qsa75pscw71fi848vm25z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tinyvec" ,rust-tinyvec-1)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-base58" ,rust-base58-0.1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-rust-base58" ,rust-rust-base58-0.0) + ("rust-tinyvec" ,rust-tinyvec-1)))) + (home-page "https://github.com/Nullus157/bs58-rs") + (synopsis "Another Base58 codec implementation") + (description + "Another Base58 codec implementation. Compared to the base58 crate this +is significantly faster at decoding: about 2.4x as fast when decoding 32 bytes, +almost the same speed for encoding: about 3% slower when encoding 32 bytes. +@code{rust-bs58} is not limited to 128 bytes and supports a configurable alphabet.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-bs58-0.2 (package + (inherit rust-bs58-0.5) (name "rust-bs58") (version "0.2.5") (source (origin (method url-fetch) (uri (crate-uri "bs58" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "125i962x0m0ggdif6ds51wfif2lypiicy469dj5j2l6rm6xycpn9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.8)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-base58" ,rust-base58-0.1) - ("rust-rust-base58" ,rust-rust-base58-0.0)))) - (home-page "https://github.com/mycorrhiza/bs58-rs") - (synopsis "Another Base58 codec implementation") - (description - "Another Base58 codec implementation. Compared to the base58 crate this -is significantly faster at decoding (about 2.4x as fast when decoding 32 -bytes), almost the same speed for encoding (about 3% slower when encoding 32 -bytes), doesn't have the 128 byte limitation and supports a configurable -alphabet.") - (license (list license:asl2.0 license:expat)))) + ("rust-rust-base58" ,rust-rust-base58-0.0)))))) (define-public rust-bson-2 (package (name "rust-bson") - (version "2.0.1") + (version "2.9.0") (source - (origin - (method url-fetch) - (uri (crate-uri "bson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ff1xj1vgh2l6sl5gqhkgsfkbhh11jkwd5wf3h0f0mrbg1kd8n7z")))) + (origin + (method url-fetch) + (uri (crate-uri "bson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08h2v3yqydx1df27zmkavf746495b0h5rckbd62ll5cw3j64c8ff")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-base64" ,rust-base64-0.13) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-hex" ,rust-hex-0.4) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-uuid" ,rust-uuid-0.8)))) + `(#:tests? #f ; file not found for module `tests` + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-base64" ,rust-base64-0.13) + ("rust-bitvec" ,rust-bitvec-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-1) + ("rust-serde-with" ,rust-serde-with-3) + ("rust-time" ,rust-time-0.3) + ("rust-uuid" ,rust-uuid-1) + ("rust-uuid" ,rust-uuid-0.8)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) (home-page "https://github.com/mongodb/bson-rust") (synopsis "Encoding and decoding support for BSON in Rust") - (description - "This crate provides encoding and decoding support for BSON.") + (description "This crate provides encoding and decoding support for BSON.") (license license:expat))) +(define-public rust-bson-1 + (package + (inherit rust-bson-2) + (name "rust-bson") + (version "1.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cbc9mbjm4imzcv95y8r6rgl6kgv7ka5ifhhlxaqi4sv0dwaa2ny")))) + (arguments + `(#:tests? #f ; file not found for module `tests` + #:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-decimal" ,rust-decimal-2) + ("rust-hex" ,rust-hex-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-uuid" ,rust-uuid-0.8)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)))))) + (define-public rust-bstr-1 (package (name "rust-bstr") @@ -8201,8 +9385,7 @@ (define-public rust-buf-redux-0.8 (base32 "0zy0p4vd2kjk7z5m4m8kdwhs5cmx1z02n7v36njhgfs8fs4aclxr")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) ("rust-safemem" ,rust-safemem-0.3) ("rust-slice-deque" ,rust-slice-deque-0.2)))) @@ -8216,20 +9399,20 @@ (define-public rust-buf-redux-0.8 (define-public rust-buffered-reader-1 (package (name "rust-buffered-reader") - (version "1.1.2") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "buffered-reader" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jf6iqxm3yllm9h3q5f90yj8y9qzr5h0a7aiw38cgk4hagh2s8d4")))) + (base32 "1m4hh3kv5lk4hx9lh6rh05r7m59v3rp86pcqpiwkbs06xcjhm6rb")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-bzip2" ,rust-bzip2-0.4) ("rust-flate2" ,rust-flate2-1) + ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2)))) (home-page "https://sequoia-pgp.org/") (synopsis "Super-powered Reader") @@ -8472,6 +9655,31 @@ (define-public rust-build-context-0.1 libraries and binaries.") (license (list license:asl2.0 license:expat)))) +(define-public rust-build-fs-tree-0.6 + (package + (name "rust-build-fs-tree") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "build-fs-tree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11j2gv00zz4hpcsrnw519svchn7fml1m4hndfm2qc30xvnd36s2c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap-utilities" ,rust-clap-utilities-0.2) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-pipe-trait" ,rust-pipe-trait-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-text-block-macros" ,rust-text-block-macros-0.1)))) + (home-page "https://github.com/KSXGitHub/build-fs-tree.git") + (synopsis "Generate a filesystem tree from a macro or a YAML tree") + (description "Generate a filesystem tree from a macro or a YAML tree.") + (license license:expat))) + (define-public rust-built-0.7 (package (name "rust-built") @@ -8502,18 +9710,18 @@ (define-public rust-built-0.5 (package (inherit rust-built-0.7) (name "rust-built") - (version "0.5.3") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "built" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fwpyasbp4pb6ff070xn17w1kwhvzgcx83l15gh8kff6y9m92mff")))) + (base32 "1gig8y8786wkmvimjxgcmk31jgkqxjhkls2b0rgfwfnlkrmhb72v")))) (arguments `(#:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-8) ("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.16) + ("rust-git2" ,rust-git2-0.15) ("rust-semver" ,rust-semver-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) @@ -8572,6 +9780,27 @@ (define-public rust-bv-0.11 reasonable.") (license (list license:expat license:asl2.0)))) +(define-public rust-bwrap-1 + (package + (name "rust-bwrap") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bwrap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15dv9mawgmwgpj88k832qjdi94w70advg9zv28bpgig5k8qs6gfi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/micl2e2/bwrap") + (synopsis "Embedded systems-friendly library for wrapping text") + (description + "This package provides a fast, lightweight, embedded systems-friendly +library for wrapping text.") + (license (list license:expat license:gpl3+)))) + (define-public rust-byte-pool-0.2 (package (name "rust-byte-pool") @@ -8598,18 +9827,23 @@ (define-public rust-byte-pool-0.2 (define-public rust-byte-slice-cast-1 (package (name "rust-byte-slice-cast") - (version "1.2.0") + (version "1.2.2") (source (origin (method url-fetch) (uri (crate-uri "byte-slice-cast" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "162618ai9pnsim49lkjpq2yi2b3wssclvqxwwycw8xrbb58wfc0x")))) + (base32 "033vv1qddzsj9yfsam4abj55rp60digngcr9a8wgv9pccf5rzb63")))) (build-system cargo-build-system) - (home-page "https://github.com/sdroege/bytes-num-slice-cast") + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; Some of the tests fail. + "--skip=tests::u16_array"))) + (home-page "https://github.com/sdroege/byte-slice-cast") (synopsis - "Safely cast bytes slices from/to slices of built-in fundamental numeric types") + "Safely cast bytes slices from/to slices of built-in fundamental numeric types") (description "This Rust library enables safely cast bytes slices from/to slices of built-in fundamental numeric types.") (license license:expat))) @@ -8628,14 +9862,38 @@ (define-public rust-byte-tools-0.3 (base32 "1mqi29wsm8njpl51pfwr31wmpzs5ahlcb40wsjyd92l90ixcmdg3")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/RustCrypto/utils") (synopsis "Bytes related utility functions") (description "Bytes related utility functions.") (license (list license:asl2.0 license:expat)))) +(define-public rust-byte-unit-5 + (package + (name "rust-byte-unit") + (version "5.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "byte-unit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gnnl92szl7d6bxz028n03ifflg96z4xp0lxqc3m8rmjy2yikb1k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rocket" ,rust-rocket-0.5) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-utf8-width" ,rust-utf8-width-0.1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://magiclen.org/byte-unit") + (synopsis "Library for interaction with units of bytes") + (description + "This package provides a library for interaction with units of bytes.") + (license license:expat))) + (define-public rust-byte-unit-4 (package + (inherit rust-byte-unit-5) (name "rust-byte-unit") (version "4.0.9") (source @@ -8645,16 +9903,9 @@ (define-public rust-byte-unit-4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-utf8-width" ,rust-utf8-width-0.1)))) - (home-page "https://magiclen.org/byte-unit") - (synopsis "Library for interaction with units of bytes") - (description - "This package provides a library for interaction with units of bytes.") - (license license:expat))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-utf8-width" ,rust-utf8-width-0.1)))))) (define-public rust-bytecheck-0.6 (package @@ -8986,8 +10237,31 @@ (define-public rust-bytes-0.3 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-bytestring-1 + (package + (name "rust-bytestring") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytestring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wpf0c5c72x3ycdb85vznkmcy8fy6ckzd512064dyabbx81h5n3l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `ahash` + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://actix.rs") + (synopsis "UTF-8 encoded string with Bytes as a storage") + (description "This package provides a UTF-8 encoded read-only string using +`Bytes` as storage.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bytestring-0.1 (package + (inherit rust-bytestring-1) (name "rust-bytestring") (version "0.1.5") (source @@ -8997,18 +10271,12 @@ (define-public rust-bytestring-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qzkncgky5p5vsdb9msmfg6d92dcs9idcjcr5nk7inkja7x0az7w")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-0.5) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://actix.rs") - (synopsis "UTF-8 encoded string with Bytes as a storage") - (description - "This package provides a UTF-8 encoded string with Bytes as a storage.") - (license (list license:expat license:asl2.0)))) + (("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-byteyarn-0.2 (package @@ -9245,8 +10513,43 @@ (define-public rust-cachedir-0.3 others, add a tag, ensure/check a tag exists and get the state of a tag.") (license license:expat))) +(define-public rust-calamine-0.24 + (package + (name "rust-calamine") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "calamine" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nilccwz0vqzzxjxcr06pi25k80j2wz0f89mwg1v3igx4r932fla")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Doc tests segfault. + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-codepage" ,rust-codepage-0.1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-serde" ,rust-serde-1) + ("rust-zip" ,rust-zip-0.6)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-sha256" ,rust-sha256-1)))) + (home-page "https://github.com/tafia/calamine") + (synopsis "Reader and deserializer for spreadsheet files") + (description + "@code{calamine} is a pure Rust library to read and deserialize any +spreadsheet file.") + (license license:expat))) + (define-public rust-calamine-0.18 (package + (inherit rust-calamine-0.24) (name "rust-calamine") (version "0.18.0") (source @@ -9256,27 +10559,18 @@ (define-public rust-calamine-0.18 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fssrwkwar1z4d2f0xl3cqg2y8qlmlc05g5xy305mkmxlj6sfv5q")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-codepage" ,rust-codepage-0.1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-quick-xml" ,rust-quick-xml-0.19) - ("rust-serde" ,rust-serde-1) - ("rust-zip" ,rust-zip-0.5)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-glob" ,rust-glob-0.3)))) - (home-page "https://github.com/tafia/calamine") - (synopsis "Reader and deserializer for spreadsheet files") - (description - "@code{calamine} is a pure Rust library to read and deserialize any -spreadsheet file.") - (license license:expat))) + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-codepage" ,rust-codepage-0.1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-quick-xml" ,rust-quick-xml-0.19) + ("rust-serde" ,rust-serde-1) + ("rust-zip" ,rust-zip-0.5)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-glob" ,rust-glob-0.3)))))) (define-public rust-calibright-0.1 (package @@ -9402,8 +10696,7 @@ (define-public rust-calloop-0.6 (base32 "0z3jlsv3g28097dhsmi2l8nzkd3p937jhb4pg52njhb0wxkn20qb")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-nix" ,rust-nix-0.18)))))) @@ -9505,8 +10798,31 @@ (define-public rust-cap-0.1 tracking memory usage and enabling limits to be set.") (license (list license:expat license:asl2.0)))) +(define-public rust-capnp-0.19 + (package + (name "rust-capnp") + (version "0.19.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "capnp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v90fxhhwgcszxday345rmjp3nicpnbvshnccd55qsbszgk3465i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-embedded-io" ,rust-embedded-io-0.6) + ("rust-quickcheck" ,rust-quickcheck-1)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/capnproto/capnproto-rust") + (synopsis "Runtime library for Cap'n Proto data encoding") + (description "This package provides a runtime library for Cap'n Proto data +encoding.") + (license license:expat))) + (define-public rust-capnp-0.14 (package + (inherit rust-capnp-0.19) (name "rust-capnp") (version "0.14.11") (source (origin @@ -9516,17 +10832,11 @@ (define-public rust-capnp-0.14 (sha256 (base32 "1wwp619sib07raykk93n6j7amvsinlchnicxfjnnb7bx5if0ijid")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-quickcheck" ,rust-quickcheck-0.9)) #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))) - (home-page "https://github.com/capnproto/capnproto-rust") - (synopsis "Runtime library for Cap'n Proto data encoding") - (description "This package provides a runtime library for Cap'n Proto data -encoding.") - (license license:expat))) + (("rust-quickcheck" ,rust-quickcheck-0.9)))))) (define-public rust-capnp-0.13 (package @@ -9546,8 +10856,33 @@ (define-public rust-capnp-0.13 #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9)))))) +(define-public rust-capnp-futures-0.19 + (package + (name "rust-capnp-futures") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "capnp-futures" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06zvxipmy0xdsxxqr54gs4yi8rgl33iprfhx4nzc0fsfncy4ib2z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.19) + ("rust-futures" ,rust-futures-0.3)) + #:cargo-development-inputs (("rust-capnp" ,rust-capnp-0.19) + ("rust-futures" ,rust-futures-0.3) + ("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/dwrensha/capnproto-rust") + (synopsis "Async serialization for Cap'n Proto messages") + (description "This package provides async serialization for Cap'n Proto +messages.") + (license license:expat))) + (define-public rust-capnp-futures-0.14 (package + (inherit rust-capnp-futures-0.19) (name "rust-capnp-futures") (version "0.14.2") (source (origin @@ -9557,7 +10892,6 @@ (define-public rust-capnp-futures-0.14 (sha256 (base32 "0fp6lr04w50mzfpxvvrbdm9pny8ch17514y7qgcsk6giqqf808cq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.14) @@ -9565,12 +10899,7 @@ (define-public rust-capnp-futures-0.14 #:cargo-development-inputs (("rust-capnp" ,rust-capnp-0.14) ("rust-futures" ,rust-futures-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.9)))) - (home-page "https://github.com/dwrensha/capnproto-rust") - (synopsis "Async serialization for Cap'n Proto messages") - (description "This package provides async serialization for Cap'n Proto -messages.") - (license license:expat))) + ("rust-quickcheck" ,rust-quickcheck-0.9)))))) (define-public rust-capnp-futures-0.13 (package @@ -9592,8 +10921,32 @@ (define-public rust-capnp-futures-0.13 (("rust-capnp" ,rust-capnp-0.13) ("rust-quickcheck" ,rust-quickcheck-0.9)))))) +(define-public rust-capnp-rpc-0.19 + (package + (name "rust-capnp-rpc") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "capnp-rpc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05hahpmfjnn49mzv4b2zp4y6si9g6yvjy6kgm2ia9apndjcbl78p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.19) + ("rust-capnp-futures" ,rust-capnp-futures-0.19) + ("rust-futures" ,rust-futures-0.3)))) + (native-inputs (list capnproto)) + (home-page "https://github.com/capnproto/capnproto-rust") + (synopsis "Cap'n Proto remote procedure call protocol implementation") + (description "This package provides an implementation of the Cap'n Proto +remote procedure call protocol") + (license license:expat))) + (define-public rust-capnp-rpc-0.14 (package + (inherit rust-capnp-rpc-0.19) (name "rust-capnp-rpc") (version "0.14.1") (source (origin @@ -9603,19 +10956,11 @@ (define-public rust-capnp-rpc-0.14 (sha256 (base32 "0pm9bjw481lw1zp8lmzkpsjrb85lbjg5s46piqbc3wk8dzwifksc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.14) ("rust-capnp-futures" ,rust-capnp-futures-0.14) - ("rust-futures" ,rust-futures-0.3)))) - (native-inputs - (list capnproto)) - (home-page "https://github.com/capnproto/capnproto-rust") - (synopsis "Cap'n Proto remote procedure call protocol implementation") - (description "This package provides an implementation of the Cap'n Proto -remote procedure call protocol") - (license license:expat))) + ("rust-futures" ,rust-futures-0.3)))))) (define-public rust-capnp-rpc-0.13 (package @@ -9637,8 +10982,30 @@ (define-public rust-capnp-rpc-0.13 #:cargo-development-inputs (("rust-capnpc" ,rust-capnpc-0.13)))))) +(define-public rust-capnpc-0.19 + (package + (name "rust-capnpc") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "capnpc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v49w7zsv4bkdn88dfmi2hk5dzv5pgs0qwgkq99jsn081w7a6ny7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=compiler_command_new_no_out_dir") + #:cargo-inputs (("rust-capnp" ,rust-capnp-0.19)))) + (home-page "https://github.com/capnproto/capnproto-rust") + (synopsis "Cap'n Proto code generation") + (description "Cap'n Proto code generation.") + (license license:expat))) + (define-public rust-capnpc-0.13 (package + (inherit rust-capnpc-0.19) (name "rust-capnpc") (version "0.13.1") (source @@ -9648,14 +11015,9 @@ (define-public rust-capnpc-0.13 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13)))) - (home-page "https://github.com/capnproto/capnproto-rust") - (synopsis "Cap'n Proto code generation") - (description "Cap'n Proto code generation") - (license license:expat))) + #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13)))))) (define-public rust-caps-0.5 (package @@ -9725,104 +11087,6 @@ (define-public rust-carapace-spec-clap-0.1 (description "This package provides spec generation for clap-rs/clap.") (license license:expat))) -;; TODO: Remove this package in favor of rust-cargo in rust-apps.scm. -(define-public rust-cargo-0.76 - (package - (name "rust-cargo") - (version "0.76.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14yjyvj9bl6mlzx6bbi3igflgdrx1hil9ifnf1dl9xnm4mb2gjw6")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; unresolved import `cargo_test_support` - #:cargo-inputs - (("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.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-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-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) - ("rust-home" ,rust-home-0.5) - ("rust-http-auth" ,rust-http-auth-0.1) - ("rust-humantime" ,rust-humantime-2) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-im-rc" ,rust-im-rc-15) - ("rust-indexmap" ,rust-indexmap-2) - ("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.16) - ("rust-memchr" ,rust-memchr-2) - ("rust-opener" ,rust-opener-0.6) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-os-info" ,rust-os-info-3) - ("rust-pasetors" ,rust-pasetors-0.6) - ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) - ("rust-rand" ,rust-rand-0.8) - ("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-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-time" ,rust-time-0.3) - ("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) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2) - ("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)))) - (native-inputs - (list pkg-config)) - (inputs - (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 -the library crate of Cargo.") - (license (list license:expat license:asl2.0)))) - (define-public rust-cargo-config2-0.1 (package (name "rust-cargo-config2") @@ -9864,14 +11128,14 @@ (define-public rust-cargo-config2-0.1 (define-public rust-cargo-credential-0.4 (package (name "rust-cargo-credential") - (version "0.4.1") + (version "0.4.4") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0myp2fic79yaclb5lik9rv4kg12sly1k0zba4gbx2wljyqmkxdhy")))) + (base32 "1qvmiy683s4hq3fk9gz7bvshngjc2p1mn5arkw5fc5c7ygd04p2f")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -9880,7 +11144,7 @@ (define-public rust-cargo-credential-0.4 ("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)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #: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") @@ -9915,14 +11179,14 @@ (define-public rust-cargo-credential-0.3 (define-public rust-cargo-credential-libsecret-0.4 (package (name "rust-cargo-credential-libsecret") - (version "0.4.1") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-libsecret" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02dwjklxslbyp7y0kw4la05wn39l2pyim4vkqxid5kjzhlkzarhy")))) + (base32 "1mbqys6gv4my81zwxcf12mj5xkpvykd4254hfns1npzqwnmy3lv2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -9953,6 +11217,52 @@ (define-public rust-cargo-credential-libsecret-0.3 ("rust-cargo-credential" ,rust-cargo-credential-0.3) ("rust-libloading" ,rust-libloading-0.8)))))) +(define-public rust-cargo-husky-1 + (package + (name "rust-cargo-husky") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-husky" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b9jx720dzw9s7rl82bywz4d089c9rb0j526c1jfzs1g4llvc0kv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-semver" ,rust-semver-0.9)))) + (home-page "https://github.com/rhysd/cargo-husky#readme") + (synopsis "Autotest support with git hooks") + (description "Cargo-husky is a development tool to set Git hooks +automatically on cargo test.") + (license license:expat))) + +(define-public rust-cargo-manifest-0.13 + (package + (name "rust-cargo-manifest") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-manifest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13a0dgqchxjmhr4idswpri2l3lwv7fxga69yj5hvylla0adg8vxz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1)))) + (home-page "https://github.com/LukeMathWalker/cargo-manifest") + (synopsis "Parse and manipulate manifests @code{Cargo.toml} files") + (description "This package provides a helper crate to parse and manipulate +manifests in @code{Cargo.toml} files.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-cargo-metadata-0.18 (package (name "rust-cargo-metadata") @@ -10222,17 +11532,17 @@ (define-public rust-cargo-platform-0.1 supported by Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-toml-0.16 +(define-public rust-cargo-toml-0.19 (package (name "rust-cargo-toml") - (version "0.16.3") + (version "0.19.2") (source (origin (method url-fetch) (uri (crate-uri "cargo_toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lxgiwha2kqbk60iq5cvczbnd5xrqa4cj7bqk6k8wf64qsdn5yg3")))) + (base32 "1gljfkdjx07fisn5xkklv56ki3p49ppf8fkry7c1psx28bgmd0x9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) @@ -10243,17 +11553,33 @@ (define-public rust-cargo-toml-0.16 parsing with Serde.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cargo-toml-0.16 + (package + (inherit rust-cargo-toml-0.19) + (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")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.8)))))) + (define-public rust-cargo-util-0.2 (package (name "rust-cargo-util") - (version "0.2.8") + (version "0.2.9") (source (origin (method url-fetch) (uri (crate-uri "cargo-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yv3s2ycvr7hp5qx5y8gxvgg2lybc2xfm09qfvfksddji8fxsaxv")))) + (base32 "0hp3sj7j9l5k771ayz1srm39gr21mcw9v3qpy3wc38akdqy2r1kl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10261,6 +11587,7 @@ (define-public rust-cargo-util-0.2 ("rust-core-foundation" ,rust-core-foundation-0.9) ("rust-filetime" ,rust-filetime-0.2) ("rust-hex" ,rust-hex-0.4) + ("rust-ignore" ,rust-ignore-0.4) ("rust-jobserver" ,rust-jobserver-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-miow" ,rust-miow-0.6) @@ -10270,7 +11597,7 @@ (define-public rust-cargo-util-0.2 ("rust-tempfile" ,rust-tempfile-3) ("rust-tracing" ,rust-tracing-0.1) ("rust-walkdir" ,rust-walkdir-2) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (inputs (list openssl)) (native-inputs @@ -10311,6 +11638,51 @@ (define-public rust-cargo-util-0.1 ("rust-walkdir" ,rust-walkdir-2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-cargo-util-schemas-0.2 + (package + (name "rust-cargo-util-schemas") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-util-schemas" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jncrbsh5w8pl968a04893mwkaq0cgav19zyy6wpwj4lmj02fgg6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-untagged" ,rust-serde-untagged-0.1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Deserialization schemas for Cargo") + (description "This package provides deserialization schemas for Cargo.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-casey-0.4 + (package + (name "rust-casey") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "casey" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sv5ll6aavwcigmr53b22dg16adlz4pa2pb73367sna974k8cib1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/jordy25519/casey") + (synopsis "Case transforming macros for ident tokens") + (description "Case transforming macros for ident tokens.") + (license license:expat))) + (define-public rust-cassowary-0.3 (package (name "rust-cassowary") @@ -10323,7 +11695,6 @@ (define-public rust-cassowary-0.3 (sha256 (base32 "0lvanj0gsk6pc1chqrh4k5k0vi1rfbgzmsk46dwy3nmrqyw711nz")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/dylanede/cassowary-rs") (synopsis "Implementation of the Cassowary linear constraint solving algorithm") @@ -10405,6 +11776,20 @@ (define-public rust-castaway-0.2 types that works on stable Rust.") (license license:expat))) +(define-public rust-castaway-0.1 + (package + (inherit rust-castaway-0.2) + (name "rust-castaway") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "castaway" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xhspwy477qy5yg9c3jp713asxckjpx0vfrmz5l7r5zg7naqysd2")))) + (arguments '()))) + (define-public rust-cblas-sys-0.1 (package (name "rust-cblas-sys") @@ -10529,7 +11914,6 @@ (define-public rust-cfg-aliases-0.1 (sha256 (base32 "17p821nc6jm830vzl2lmwz60g3a30hcm33nk6l257i1rjdqw85px")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/katharostech/cfg_aliases") (synopsis "Utility to help you with long winded @code{#[cfg()]} checks") (description @@ -10644,6 +12028,29 @@ (define-public rust-cfg-if-0.1 (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) +(define-public rust-cfg-vis-0.3 + (package + (name "rust-cfg-vis") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cfg-vis" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1745qzkxar9yd3wy4gzzsakv1cjcibhgnr3m2p5f43y1byzw78n3")))) + (build-system cargo-build-system) + (arguments + `(#: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/TOETOE55/cfg-vis") + (synopsis "Macro to support `#[cfg()]` on visibility") + (description + "This package provides a macro to support `#[cfg()]` on visibility.") + (license license:expat))) + (define-public rust-chan-0.1 (package (name "rust-chan") @@ -11109,6 +12516,24 @@ (define-public rust-cint-0.3 interoperation between crates in Rust.") (license (list license:expat license:asl2.0 license:zlib)))) +(define-public rust-circular-0.3 + (package + (name "rust-circular") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "circular" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1slb0zd1xj0fjd0ql86zs57l1xbn5ywsyj1d8397bcvc1yg27z5h")))) + (build-system cargo-build-system) + (home-page "https://github.com/sozu-proxy/circular") + (synopsis "stream abstraction for nom") + (description + "This package provides a stream abstraction designed for use with nom.") + (license license:expat))) + (define-public rust-ci-info-0.3 (package (name "rust-ci-info") @@ -11403,18 +12828,18 @@ (define-public rust-clap-conf-0.1 (define-public rust-clap-derive-4 (package (name "rust-clap-derive") - (version "4.4.7") + (version "4.5.4") (source (origin (method url-fetch) (uri (crate-uri "clap_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hk4hcxl56qwqsf4hmf7c0gr19r9fbxk0ah2bgkr36pmmaph966g")))) + (base32 "0r2gs2p10pb435w52xzsgz2mmx5qd3qfkmk29y4mbz9ph11k30aj")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs - `(("rust-heck" ,rust-heck-0.4) + `(("rust-heck" ,rust-heck-0.5) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) @@ -11447,7 +12872,7 @@ (define-public rust-clap-derive-3 (define-public rust-clap-4 (package (name "rust-clap") - (version "4.4.16") + (version "4.5.4") (source (origin (method url-fetch) @@ -11455,7 +12880,7 @@ (define-public rust-clap-4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ialpybl8n8ybfikzy5f07d64pfdajls0s00bf4wgkh4q20liraq")))) + "1828wm9qws5gh2xnimnvmp2vria6d6hsxnqmhnm84dwjcxm0dg4h")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -11465,9 +12890,9 @@ (define-public rust-clap-4 `(("rust-humantime" ,rust-humantime-2) ("rust-rustversion" ,rust-rustversion-1) ("rust-shlex" ,rust-shlex-1) - ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-snapbox" ,rust-snapbox-0.5) ("rust-trybuild" ,rust-trybuild-1) - ("rust-trycmd" ,rust-trycmd-0.14)))) + ("rust-trycmd" ,rust-trycmd-0.15)))) (home-page "https://clap.rs/") (synopsis "Command Line Argument Parser") (description @@ -11553,14 +12978,14 @@ (define-public rust-clap-2 (define-public rust-clap-builder-4 (package (name "rust-clap-builder") - (version "4.4.16") + (version "4.5.2") (source (origin (method url-fetch) (uri (crate-uri "clap_builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fv06ivpzpkhjm4bvxzg3fl4y61mvlf481zms4pksq1iypbq5jsr")))) + "1d7p4hph4fyhaphkf0v5zv0kq4lz25a9jq2f901yrq3afqp9w4mf")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -11572,8 +12997,8 @@ (define-public rust-clap-builder-4 (("rust-anstream" ,rust-anstream-0.6) ("rust-anstyle" ,rust-anstyle-1) ("rust-backtrace" ,rust-backtrace-0.3) - ("rust-clap-lex" ,rust-clap-lex-0.6) - ("rust-strsim" ,rust-strsim-0.10) + ("rust-clap-lex" ,rust-clap-lex-0.7) + ("rust-strsim" ,rust-strsim-0.11) ("rust-terminal-size" ,rust-terminal-size-0.3) ("rust-unicase" ,rust-unicase-2) ("rust-unicode-width" ,rust-unicode-width-0.1)) @@ -11677,17 +13102,17 @@ (define-public rust-clap-complete-fig-3 with Clap to generate Fig completion scripts.") (license (list license:expat license:asl2.0)))) -(define-public rust-clap-lex-0.6 +(define-public rust-clap-lex-0.7 (package (name "rust-clap-lex") - (version "0.6.0") + (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "clap_lex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1l8bragdvim7mva9flvd159dskn2bdkpl0jqrr41wnjfn8pcfbvh")))) + (base32 "1kh1sckgq71kay2rrr149pl9gbsrvyccsq6xm5xpnq0cxnyqzk4q")))) (build-system cargo-build-system) (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex") (synopsis "Command line parser for Clap") @@ -11698,6 +13123,19 @@ (define-public rust-clap-lex-0.6 ;; The user can choose either license. (license (list license:expat license:asl2.0)))) +(define-public rust-clap-lex-0.6 + (package + (inherit rust-clap-lex-0.7) + (name "rust-clap-lex") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_lex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l8bragdvim7mva9flvd159dskn2bdkpl0jqrr41wnjfn8pcfbvh")))))) + (define-public rust-clap-lex-0.5 (package (inherit rust-clap-lex-0.6) @@ -11786,6 +13224,28 @@ (define-public rust-clap-mangen-0.1 (("rust-clap" ,rust-clap-3) ("rust-snapbox" ,rust-snapbox-0.2)))))) +(define-public rust-clap-utilities-0.2 + (package + (name "rust-clap-utilities") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-utilities" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "163p99zc3wp02khfrqvn176c5bbprv03l8jrbrh16lgngs0gzg0m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-pipe-trait" ,rust-pipe-trait-0.4) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/KSXGitHub/clap-utilities.git") + (synopsis "Small utilities related to clap") + (description "This package provides small utilities related to clap.") + (license license:expat))) + (define-public rust-clap-verbosity-flag-2 (package (name "rust-clap-verbosity-flag") @@ -11814,32 +13274,48 @@ (define-public rust-clap-verbosity-flag-2 Clap.") (license (list license:expat license:asl2.0)))) -(define-public rust-clearscreen-1 +(define-public rust-clearscreen-2 (package (name "rust-clearscreen") - (version "1.0.4") + (version "2.0.1") (source (origin (method url-fetch) (uri (crate-uri "clearscreen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "083ycj7qhwlq8azy0rl9lpbr69k87hn622wc8mi96w293rsq1zwy")))) + (base32 "15799yi8azfkn86m1i1kgb7xxk7k321gf8zx5vk08rjq38pz5wvj")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nix" ,rust-nix-0.20) - ("rust-terminfo" ,rust-terminfo-0.7) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-which" ,rust-which-4) - ("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.26) + ("rust-terminfo" ,rust-terminfo-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-which" ,rust-which-4) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/watchexec/clearscreen") (synopsis "Cross-platform terminal screen clearing") - (description - "This crate provides cross-platform terminal screen clearing.") + (description "This crate provides cross-platform terminal screen clearing.") (license (list license:asl2.0 license:expat)))) +(define-public rust-clearscreen-1 + (package + (inherit rust-clearscreen-2) + (name "rust-clearscreen") + (version "1.0.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "clearscreen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05xk23szs0s2ybf7gvhhaqs0bmj7dv58zivv2059rxh3saysspg5")))) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.24) + ("rust-terminfo" ,rust-terminfo-0.7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-which" ,rust-which-4) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-cli-clipboard-0.4 (package (name "rust-cli-clipboard") @@ -12103,8 +13579,56 @@ (define-public rust-cmake-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-cobs-0.2 + (package + (name "rust-cobs") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cobs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05gd16mws4yd63h8jr3p08in8y8w21rpjp5jb55hzl9bgalh5fk7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.5)))) + (home-page "https://github.com/jamesmunns/cobs.rs") + (synopsis + "Implementation of the Consistent Overhead Byte Stuffing (COBS) algorithm") + (description + "This is an implementation of the @acronym{Consistent Overhead Byte +Stuffing, COBS} algorithm. COBS is an algorithm for transforming a message into +an encoding where a specific value (the \"sentinel\" value) is not used. This +value can then be used to mark frame boundaries in a serial communication channel.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-codegenrs-3 + (package + (name "rust-codegenrs") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "codegenrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hjr5pp099aipm2apcd65a2fp2z6qsixnapsj3rbjgdiyixxzndx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-difference" ,rust-difference-2) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)))) + (home-page "https://github.com/crate-ci/codegenrs") + (synopsis "Moving code-gen out of build.rs") + (description "Moving code-gen out of build.rs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-codegenrs-2 (package + (inherit rust-codegenrs-3) (name "rust-codegenrs") (version "2.0.0") (source (origin @@ -12114,17 +13638,12 @@ (define-public rust-codegenrs-2 (sha256 (base32 "1mld8n8r4ns433gxs2jbndrzqjrxv7v0pwc66pf9a2v2mrgvbv6p")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-3) ("rust-derive-more" ,rust-derive-more-0.99) ("rust-difference" ,rust-difference-2) - ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)))) - (home-page "https://github.com/crate-ci/codegenrs") - (synopsis "Moving code-gen our of build.rs") - (description "Moving code-gen our of build.rs") - (license (list license:expat license:asl2.0)))) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3)))))) (define-public rust-codespan-reporting-0.11 (package @@ -12192,14 +13711,14 @@ (define-public rust-codespan-reporting-0.9 (define-public rust-codspeed-2 (package (name "rust-codspeed") - (version "2.3.3") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "codspeed" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16s95jrih19llp4m8rgmymvan0misfcnzc8gb57ynm35rd6spd0f")))) + (base32 "0ikj07wl9g7az7mnlarmsyjh6a77vm4l2lmwbsbx2h85m9bb11ab")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-colored" ,rust-colored-2) @@ -12214,14 +13733,14 @@ (define-public rust-codspeed-2 (define-public rust-codspeed-bencher-compat-2 (package (name "rust-codspeed-bencher-compat") - (version "2.3.3") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "codspeed-bencher-compat" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17nmj0yzyyv6450yshs1f2qa0n7d9wwzkcc5ixjkiy63dww2ivpy")))) + (base32 "172c4xkvwbpvjhrx0w6lc4fa250cxdi8fmfvpv6mffghcxaqpr6h")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bencher" ,rust-bencher-0.1) @@ -12231,6 +13750,31 @@ (define-public rust-codspeed-bencher-compat-2 (description "Bencher compatibility layer for @code{CodSpeed}.") (license (list license:expat license:asl2.0)))) +(define-public rust-codspeed-criterion-compat-2 + (package + (name "rust-codspeed-criterion-compat") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "codspeed-criterion-compat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dmhwap6q50a99rsixm2fyghnpr8axwzr8mw558mlcfn2vlrvbh2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-codspeed" ,rust-codspeed-2) + ("rust-colored" ,rust-colored-2) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-smol" ,rust-smol-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://codspeed.io") + (synopsis "Criterion.rs compatibility layer for CodSpeed") + (description "Criterion.rs compatibility layer for @code{CodSpeed}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-coitrees-0.2 (package (name "rust-coitrees") @@ -12257,6 +13801,28 @@ (define-public rust-coitrees-0.2 sets of intervals.") (license license:expat))) +(define-public rust-color-backtrace-0.5 + (package + (name "rust-color-backtrace") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "color-backtrace" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11fn3snykx90w3nznzrcf4r164zmhk790asx0kzryf4r7i308v6d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-termcolor" ,rust-termcolor-1)))) + (home-page "https://github.com/athre0z/color-backtrace") + (synopsis "Colorful panic backtraces") + (description "This package provides colorful panic backtraces.") + (license (list license:expat license:asl2.0)))) + (define-public rust-color-eyre-0.6 (package (name "rust-color-eyre") @@ -12589,6 +14155,31 @@ (define-public rust-comfy-table-7 wrapping.") (license license:expat))) +(define-public rust-comfy-table-6 + (package + (inherit rust-comfy-table-7) + (name "rust-comfy-table") + (version "6.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "comfy-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fmqjhry6xa6a9kr0769wiw06694n60kxs5c6nfvzqv8h9w9v5by")))) + (arguments + `(#:cargo-inputs (("rust-console" ,rust-console-0.15) + ("rust-crossterm" ,rust-crossterm-0.26) + ("rust-strum" ,rust-strum-0.24) + ("rust-strum-macros" ,rust-strum-macros-0.24) + ("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.17)))))) + (define-public rust-comfy-table-4 (package (inherit rust-comfy-table-7) @@ -12628,6 +14219,49 @@ (define-public rust-comfy-table-1 ("rust-strum" ,rust-strum-0.20) ("rust-strum-macros" ,rust-strum-macros-0.20)))))) +(define-public rust-command-group-2 + (package + (name "rust-command-group") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "command-group" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05lr58pzkpw9rnl3ssi6pv72b9vvjc6z0208ng57djqf1xmxz02h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-nix" ,rust-nix-0.26) + ("rust-tokio" ,rust-tokio-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/watchexec/command-group") + (synopsis "Extension to Command to spawn in a process group") + (description "This package provides an extension to Command to spawn in a +process group.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-command-group-1 + (package + (inherit rust-command-group-2) + (name "rust-command-group") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "command-group" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b7d9gy9dhw4jqx5x8njzmaifgxqw0nywjry7bgmjjlv81psia7p")))) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-nix" ,rust-nix-0.22) + ("rust-tokio" ,rust-tokio-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))))) + (define-public rust-common-path-1 (package (name "rust-common-path") @@ -12715,6 +14349,26 @@ (define-public rust-compound-duration-1 minutes, seconds.") (license license:bsd-3))) +(define-public rust-condtype-1 + (package + (name "rust-condtype") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "condtype" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1by78npyhkc30jccc7kirvwip1fj0jhi2bwfmcw44dqz81xa1w5s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/nvzqz/condtype") + (synopsis "Choose types at compile-time via boolean constants") + (description "Choose types at compile-time via boolean constants.") + (license (list license:expat license:asl2.0)))) + (define-public rust-const-cstr-0.3 (package (name "rust-const-cstr") @@ -12798,6 +14452,53 @@ (define-public rust-const-format-proc-macros-0.2 (description "Implementation detail of the @code{const_format} crate.") (license license:zlib))) +(define-public rust-const-panic-0.2 + (package + (name "rust-const-panic") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_panic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16w72mnzjqgwfhlq8cqm6xhd2n6lc1wan08987izv1pcxhwz4lb0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--features=test") + #:cargo-inputs + (("rust-const-panic-proc-macros" ,rust-const-panic-proc-macros-0.2) + ("rust-typewit" ,rust-typewit-1)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/rodrimati1992/const_panic/") + (synopsis "Const panic with formatting") + (description "This package provides const panic with formatting.") + (license license:zlib))) + +(define-public rust-const-panic-proc-macros-0.2 + (package + (name "rust-const-panic-proc-macros") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_panic_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1addx3a8vi02cdak3ygrqivv02jj73251h85x49aic78yznrhlrr")))) + (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)))) + (home-page "https://github.com/rodrimati1992/const_panic/") + (synopsis "Implementation detail of the `const_panic` crate") + (description "Implementation detail of the `const_panic` crate.") + (license license:zlib))) + ;; This package requires features which are unavailable ;; on the stable releases of Rust. (define-public rust-compiler-builtins-0.1 @@ -12885,6 +14586,19 @@ (define-public rust-compiletest-rs-0.10 Rust compiler.") (license (list license:asl2.0 license:expat)))) +(define-public rust-compiletest-rs-0.9 + (package + (inherit rust-compiletest-rs-0.10) + (name "rust-compiletest-rs") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "compiletest_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wmk12mb8xskdv5mf3p33l2w4w76bcxjx3zlwn94zslaf6xrnj3h")))))) + (define-public rust-compiletest-rs-0.3 (package (inherit rust-compiletest-rs-0.10) @@ -13259,8 +14973,58 @@ (define-public rust-concurrent-queue-1 (("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-fastrand" ,rust-fastrand-1)))))) +(define-public rust-config-0.13 + (package + (name "rust-config") + (version "0.13.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jjag1x3rl77zjykbrykzhd5fsiv8vy40y4lxkj46xicjw8qwwr3")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-json5" ,rust-json5-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-ron" ,rust-ron-0.7) + ("rust-rust-ini" ,rust-rust-ini-0.18) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-float-cmp" ,rust-float-cmp-0.9) + ("rust-futures" ,rust-futures-0.3) + ("rust-glob" ,rust-glob-0.3) + ("rust-notify" ,rust-notify-4) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-temp-env" ,rust-temp-env-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-warp" ,rust-warp-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/mehcode/config-rs") + (synopsis "Layered configuration system for Rust applications") + (description + "This package provides a layered configuration system for Rust +applications.") + (license (list license:expat license:asl2.0)))) + (define-public rust-config-0.11 (package + (inherit rust-config-0.13) (name "rust-config") (version "0.11.0") (source @@ -13270,7 +15034,6 @@ (define-public rust-config-0.11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0sdkxv77m65frsn3bx0r3v7asxar3gy3hmghcfk6h4rbijars6qv")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -13281,13 +15044,7 @@ (define-public rust-config-0.11 ("rust-serde-hjson" ,rust-serde-hjson-0.9) ("rust-serde-json" ,rust-serde-json-1) ("rust-toml" ,rust-toml-0.5) - ("rust-yaml-rust" ,rust-yaml-rust-0.4)))) - (home-page "https://github.com/mehcode/config-rs") - (synopsis "Layered configuration system for Rust applications") - (description - "This package provides a layered configuration system for Rust -applications.") - (license (list license:expat license:asl2.0)))) + ("rust-yaml-rust" ,rust-yaml-rust-0.4)))))) (define-public rust-config-0.10 (package @@ -13629,7 +15386,7 @@ (define-public rust-console-log-0.1 (define-public rust-const-fn-0.4 (package (name "rust-const-fn") - (version "0.4.2") + (version "0.4.9") (source (origin (method url-fetch) @@ -13637,7 +15394,7 @@ (define-public rust-const-fn-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wnhzyrhfcaawnzi172k98cfawwi5zwqql7pg0nz2qlccm6dz46f")))) + "0df9fv9jhnh9b4ni3s2fbfcvq77iia4lbb89fklwawbgv2vdrp7v")))) (build-system cargo-build-system) (home-page "https://github.com/taiki-e/const_fn") (synopsis "Generate const functions with conditional compilations") @@ -13648,14 +15405,14 @@ (define-public rust-const-fn-0.4 (define-public rust-const-oid-0.9 (package (name "rust-const-oid") - (version "0.9.2") + (version "0.9.6") (source (origin (method url-fetch) (uri (crate-uri "const-oid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04xr993r37hd3kcwzll34kpihxrxj7yhr7fawgir8gs80wyby3sj")))) + "1y0jnqaq7p2wvspnx7qj76m7hjcqpz73qzvr9l2p9n2s51vr6if2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1)) @@ -13701,17 +15458,18 @@ (define-public rust-const-oid-0.6 (define-public rust-const-random-0.1 (package (name "rust-const-random") - (version "0.1.17") + (version "0.1.18") (source (origin (method url-fetch) (uri (crate-uri "const-random" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16i9r34f5lmvrmvm5nsssywyjbg3yrqf2hnhrw5h44n6qb4idbss")))) + (base32 "0n8kqz3y82ks8znvz1mxn3a9hadca3amzf33gmi6dc3lzs103q47")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ; proc macro panicked + #:cargo-inputs (("rust-const-random-macro" ,rust-const-random-macro-0.1)))) (home-page "https://github.com/tkaitchuck/constrandom") (synopsis "Compile time random number generation") @@ -14007,14 +15765,14 @@ (define-public rust-cookie-0.15 (package (inherit rust-cookie-0.16) (name "rust-cookie") - (version "0.15.1") + (version "0.15.2") (source (origin (method url-fetch) (uri (crate-uri "cookie" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03gql9c2l0wg3hpfp67wg2ns21wysk0xsjxwdbjrf0s6grrcgwfm")))) + (base32 "0hlsi1hv5yrx4g92v5acha6yjz8dy1zj0pbppwynml44qpgjavpw")))) (arguments `(#:cargo-inputs (("rust-aes-gcm" ,rust-aes-gcm-0.8) @@ -14078,24 +15836,23 @@ (define-public rust-cookie-0.11 (package (inherit rust-cookie-0.12) (name "rust-cookie") - (version "0.11.3") + (version "0.11.5") (source (origin (method url-fetch) (uri (crate-uri "cookie" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i2x04kx1ifljsnwsa83k7cpmajk9j4ayyx2h11y6lkji6hcv5ap")))) + (base32 "1mwbcygk9als9h7bfp8fhax2ah278qamaz9l9p64in6iirv1h85y")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aes-gcm" ,rust-aes-gcm-0.5) - ("rust-base64" ,rust-base64-0.12) - ("rust-hkdf" ,rust-hkdf-0.8) - ("rust-hmac" ,rust-hmac-0.7) + `(#:cargo-inputs + (("rust-aes-gcm" ,rust-aes-gcm-0.8) + ("rust-base64" ,rust-base64-0.13) + ("rust-hkdf" ,rust-hkdf-0.10) + ("rust-hmac" ,rust-hmac-0.10) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.7) - ("rust-sha2" ,rust-sha2-0.8) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) ("rust-time" ,rust-time-0.1)))))) (define-public rust-cookie-factory-0.3 @@ -14122,8 +15879,29 @@ (define-public rust-cookie-factory-0.3 similar to the nom parser combinators library.") (license license:expat))) +(define-public rust-coolor-0.8 + (package + (name "rust-coolor") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "coolor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sjrs0k2ng69hilqrrkfayr2rjpwa6b6krp11y3da64zj10kxklm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency chain. + #:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.23)))) + (home-page "https://github.com/Canop/coolor") + (synopsis "Conversion between color formats") + (description "Conversion between color formats.") + (license license:expat))) + (define-public rust-coolor-0.5 (package + (inherit rust-coolor-0.8) (name "rust-coolor") (version "0.5.1") (source (origin @@ -14133,17 +15911,12 @@ (define-public rust-coolor-0.5 (sha256 (base32 "11pvplrm51xjr0mmhwrjaif6vd7p2xpmdbwd0rbx2kr4iq4c4smd")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.25)) #:cargo-development-inputs (("rust-crossterm" ,rust-crossterm-0.25) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/Canop/coolor") - (synopsis "conversion between color formats") - (description "conversion between color formats") - (license license:expat))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-copyless-0.1 (package @@ -14231,6 +16004,25 @@ (define-public rust-cordic-0.1 numbers using the CORDIC method.") (license license:bsd-3))) +(define-public rust-core-error-0.0.0 + (package + (name "rust-core-error") + (version "0.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-error" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13wvc7lcpi7f6rr0racns4l52gzpix4xhih6qns30hmn5sbv5kgg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://github.com/core-error/core-error") + (synopsis "std::error::Error for libcore") + (description "std::error::Error for libcore.") + (license (list license:expat license:asl2.0)))) + (define-public rust-core-extensions-1 (package (name "rust-core-extensions") @@ -14469,8 +16261,30 @@ (define-public rust-cookie-store-0.12 (("rust-env-logger" ,rust-env-logger-0.7) ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) +(define-public rust-core-affinity-0.8 + (package + (name "rust-core-affinity") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "core_affinity" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0113rfzyvjpl1camxnrf92pn9vakhn9zqvgir0wgrqawcgsr4a32")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/Elzair/core_affinity_rs") + (synopsis "Manage CPU affinities") + (description "This package manages CPU affinities.") + (license (list license:expat license:asl2.0)))) + (define-public rust-core-affinity-0.5 (package + (inherit rust-core-affinity-0.8) (name "rust-core-affinity") (version "0.5.10") (source @@ -14480,17 +16294,12 @@ (define-public rust-core-affinity-0.5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07qpwyxps4gp3gci2p6c5h4cmcql7551bp91qgbv0ky3bh8h72kz")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) ("rust-libc" ,rust-libc-0.2) ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-winapi" ,rust-winapi-0.2)))) - (home-page "https://github.com/Elzair/core_affinity_rs") - (synopsis "Manage CPU affinities") - (description "This package manages CPU affinities.") - (license (list license:expat license:asl2.0)))) + ("rust-winapi" ,rust-winapi-0.2)))))) (define-public rust-core-arch-0.1 (package @@ -14667,6 +16476,24 @@ (define-public rust-cpp-demangle-0.4 "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.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cpp_demangle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03vi33qz8x7lll0xd3acd3jp39nvzv174wg424qsb1nkm8z9bapf")))) + (arguments + `(#:cargo-inputs (("rust-afl" ,rust-afl-0.11) + ("rust-cfg-if" ,rust-cfg-if-1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-2) + ("rust-diff" ,rust-diff-0.1)))))) + (define-public rust-cpufeatures-0.2 (package (name "rust-cpufeatures") @@ -14733,40 +16560,6 @@ (define-public rust-cpuprofiler-0.0 (description "This package provides bindings to Google's cpu profiler.") (license license:bsd-2))) -(define-public rust-uom-0.34 - (package - (name "rust-uom") - (version "0.34.0") - (source (origin - (method url-fetch) - (uri (crate-uri "uom" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "190n79b5ywa9w0j13ld0q6dphz7vzsjkwrpp8pjnwrczsvfhxxg8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("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-typenum" ,rust-typenum-1) - ("rust-serde" ,rust-serde-1) - ("rust-num-bigint" ,rust-num-bigint-0.4)) - #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) - ("rust-quickcheck" ,rust-quickcheck-0.8) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/iliekturtles/uom") - (synopsis "Units of measurement") - (description - "@code{uom} (Units of measurement) is a crate that does automatic type-safe -zero-cost dimensional analysis. You can create your own systems or use the pre-built -International System of Units (SI) which is based on the International System of -Quantities (ISQ) and includes numerous quantities (length, mass, time, ...) with -conversion factors for even more numerous measurement units (meter, kilometer, foot, -mile, ...).") - (license (list license:expat license:asl2.0)))) - (define-public rust-cradle-0.2 (package (name "rust-cradle") @@ -14930,17 +16723,17 @@ (define-public rust-crates-index-0.13 #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-crates-io-0.39 +(define-public rust-crates-io-0.40 (package (name "rust-crates-io") - (version "0.39.1") + (version "0.40.0") (source (origin (method url-fetch) (uri (crate-uri "crates-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a5i5l9v2khikp3b1cbpqjbx0nhggfq261lpfv3skh9w2210qlx4")))) + (base32 "1y4f7hjs7wq84qcmfcc5mflp00by9vk2ypkfc1wcz2c8zi6qp58r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-curl" ,rust-curl-0.4) @@ -15037,29 +16830,23 @@ (define-public rust-crc-any-2 (define-public rust-crc32fast-1 (package (name "rust-crc32fast") - (version "1.3.2") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "crc32fast" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03c8f29yx293yf43xar946xbls1g60c207m9drf8ilqhr25vsh5m")))) + (base32 "1ahy259ypc955l5ak24hdlgllb6vm6y2pvwr6qrlyisbg255m1dk")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.4)))) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/srijs/rust-crc32fast") - (synopsis - "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation") - (description - "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.") + (synopsis "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation") + (description "Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.") (license (list license:expat license:asl2.0)))) (define-public rust-crc64-2 @@ -15546,20 +17333,20 @@ (define-public rust-crossbeam-channel-0.3 (define-public rust-crossbeam-deque-0.8 (package (name "rust-crossbeam-deque") - (version "0.8.3") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-deque" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vqczbcild7nczh5z116w8w46z991kpjyw7qxkf24c14apwdcvyf")))) + "03bp38ljx4wj6vvy4fbhx41q8f585zyqix6pncz1mkz93z08qgv1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.9) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)))) + (("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.9) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-deque") (synopsis "Concurrent work-stealing deque") @@ -15591,29 +17378,20 @@ (define-public rust-crossbeam-deque-0.7 (define-public rust-crossbeam-epoch-0.9 (package (name "rust-crossbeam-epoch") - (version "0.9.15") + (version "0.9.18") (source (origin (method url-fetch) (uri (crate-uri "crossbeam-epoch" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ixwc3cq816wb8rlh3ix4jnybqbyyq4l61nwlx0mfm3ck0s148df")))) + (base32 "03j2np8llwf376m3fxqx859mgp9f83hj1w34153c7a9c7i5ar0jv")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - (list "--release" "--" - "--skip=guard::unprotected") - #:cargo-inputs - (("rust-autocfg" ,rust-autocfg-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-loom" ,rust-loom-0.5) - ("rust-memoffset" ,rust-memoffset-0.9) - ("rust-scopeguard" ,rust-scopeguard-1)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-rustversion" ,rust-rustversion-1)))) + `(#:cargo-inputs + (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-loom" ,rust-loom-0.7)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-epoch") (synopsis "Epoch-based garbage collection") @@ -16087,8 +17865,37 @@ (define-public rust-crossterm-winapi-0.7 #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-crosstermion-0.13 + (package + (name "rust-crosstermion") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "crosstermion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q877s6rfm4n4amsg79ihxi583lhmlnq57hj9sg1ph2ddyw1a120")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansiterm" ,rust-ansiterm-0.12) + ("rust-async-channel" ,rust-async-channel-2) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-ratatui" ,rust-ratatui-0.25) + ("rust-tui-react" ,rust-tui-react-0.22)))) + (home-page "https://github.com/Byron/tui-crates") + (synopsis "Unification of crossterm and termion behind a common facade") + (description + "The unification of crossterm and termion behind a common facade for use with +feature flags.") + (license license:expat))) + (define-public rust-crosstermion-0.11 (package + (inherit rust-crosstermion-0.13) (name "rust-crosstermion") (version "0.11.0") (source @@ -16098,24 +17905,16 @@ (define-public rust-crosstermion-0.11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0jbpxv2h08a1rvpw42iq59l2y0xbqvzpdq09043i8ihdc9nz8bhm")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-async-channel" ,rust-async-channel-1) - ("rust-crossterm" ,rust-crossterm-0.26) - ("rust-futures-channel" ,rust-futures-channel-0.3) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-ratatui" ,rust-ratatui-0.20) - ("rust-termion" ,rust-termion-2) - ("rust-tui-react" ,rust-tui-react-0.20)))) - (home-page "https://github.com/Byron/tui-crates") - (synopsis "Unification of crossterm and termion behind a common facade") - (description - "The unification of crossterm and termion behind a common facade for use with -feature flags.") - (license license:expat))) + `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-async-channel" ,rust-async-channel-1) + ("rust-crossterm" ,rust-crossterm-0.26) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-ratatui" ,rust-ratatui-0.20) + ("rust-termion" ,rust-termion-2) + ("rust-tui-react" ,rust-tui-react-0.20)))))) (define-public rust-crunchy-0.2 (package @@ -16137,172 +17936,86 @@ (define-public rust-crunchy-0.2 number ``crunching``.") (license license:expat))) -(define-public rust-rodio-0.15 +(define-public rust-csscolorparser-0.6 (package - (name "rust-rodio") - (version "0.15.0") + (name "rust-csscolorparser") + (version "0.6.2") (source (origin (method url-fetch) - (uri (crate-uri "rodio" version)) + (uri (crate-uri "csscolorparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc")))) + (base32 "1gxh11hajx96mf5sd0az6mfsxdryfqvcfcphny3yfbfscqq7sapb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4) - ("rust-cpal" ,rust-cpal-0.13) - ("rust-hound" ,rust-hound-3) - ("rust-lewton" ,rust-lewton-0.10) - ("rust-minimp3" ,rust-minimp3-0.5) - ("rust-symphonia" ,rust-symphonia-0.4)) - #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9)))) - (native-inputs (list pkg-config)) - (inputs (list alsa-lib)) - (home-page "https://github.com/RustAudio/rodio") - (synopsis "Pure Rust audio playback library") - (description "Audio playback library written in pure Rust that supports -many formats including AAC, FLAC, MP3, MP4 and WAV.") + `(#:cargo-inputs (("rust-cint" ,rust-cint-0.3) + ("rust-lab" ,rust-lab-0.11) + ("rust-phf" ,rust-phf-0.11) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/mazznoer/csscolorparser-rs") + (synopsis "CSS color parser library") + (description "This crate is a CSS color parser library.") (license (list license:expat license:asl2.0)))) -(define-public rust-roxmltree-0.14 +(define-public rust-cssparser-0.33 (package - (name "rust-roxmltree") - (version "0.14.0") + (name "rust-cssparser") + (version "0.33.0") (source (origin (method url-fetch) - (uri (crate-uri "roxmltree" version)) + (uri (crate-uri "cssparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "010mahzyarkzb7kaawgga1a9y46nsp209yh2i4g4pq98bg8afn5z")))) + (base32 "07i8k47fmym7kzs95qfhg6zrh4yyf2vl4460rmdyvyx06vck9scv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-xmlparser" ,rust-xmlparser-0.13)))) - (home-page "https://github.com/RazrFalcon/roxmltree") - (synopsis "Represent an XML as a read-only tree") + `(#:tests? #f ; Not all files included in the tarball. + #:cargo-inputs (("rust-cssparser-macros" ,rust-cssparser-macros-0.6) + ("rust-dtoa-short" ,rust-dtoa-short-0.3) + ("rust-itoa" ,rust-itoa-1) + ("rust-phf" ,rust-phf-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs (("rust-difference" ,rust-difference-2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/servo/rust-cssparser") + (synopsis "Rust implementation of CSS Syntax Level 3") (description - "@code{roxmltree} represents an XML 1.0 document as a read-only tree.") - (license (list license:expat license:asl2.0)))) + "This package contains a Rust implementation of CSS Syntax Level 3.") + (license license:mpl2.0))) -(define-public rust-rtoolbox-0.0.1 +(define-public rust-cssparser-0.31 (package - (name "rust-rtoolbox") - (version "0.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "rtoolbox" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jjjngwn1fa39kschc8zb4hynp4b0jdind7z225cph7m2k2j4kh3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "") - (synopsis "Utility functions for other crates") - (description - "This package provides utility functions for other crates with no -backwards compatibility guarantees.") - (license license:asl2.0))) - -(define-public rust-rt-format-0.3 - (package - (name "rust-rt-format") - (version "0.3.1") + (inherit rust-cssparser-0.33) + (name "rust-cssparser") + (version "0.31.2") (source (origin (method url-fetch) - (uri (crate-uri "rt-format" version)) + (uri (crate-uri "cssparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225")))) - (build-system cargo-build-system) + (base32 "1gnmn2wjvhvkj98ygcd5jdwi0wxsigvd7j0yq0zfgfsz7vwz8gav")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/vstojkovic/rt-format") - (synopsis "Runtime equivalent of the Rust format! macro") - (description "This package provides a runtime equivalent of the Rust -format! macro. It allows formatting strings like the format! macro, with the -formatting string and the arguments provided at runtime. This crate supports -all the formatting features of the format! macro, except for the fill -character.") - (license license:asl2.0))) - -(define-public rust-rtnetlink-0.14 - (package - (name "rust-rtnetlink") - (version "0.14.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rtnetlink" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n")))) - (build-system cargo-build-system) - (arguments - `(#: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-4 - (package - (name "rust-rusticata-macros") - (version "4.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusticata-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5")))) - (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)))) + `(#:tests? #f ; Not all files included in the tarball. + #:cargo-inputs (("rust-cssparser-macros" ,rust-cssparser-macros-0.6) + ("rust-dtoa-short" ,rust-dtoa-short-0.3) + ("rust-itoa" ,rust-itoa-1) + ("rust-phf" ,rust-phf-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-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-0.29 (package + (inherit rust-cssparser-0.33) (name "rust-cssparser") (version "0.29.6") (source @@ -16312,7 +18025,6 @@ (define-public rust-cssparser-0.29 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1yp0zl5cmw9x95np9a51153fdb1ng8fgzwyssg7hr5dmki0h6ggr")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included in the tarball. #:cargo-inputs @@ -16329,12 +18041,7 @@ (define-public rust-cssparser-0.29 #:cargo-development-inputs (("rust-difference" ,rust-difference-2) ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/servo/rust-cssparser") - (synopsis "Rust implementation of CSS Syntax Level 3") - (description - "This package contains a Rust implementation of CSS Syntax Level 3.") - (license license:mpl2.0))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-cssparser-0.28 (package @@ -16397,27 +18104,59 @@ (define-public rust-cssparser-0.27 (define-public rust-cssparser-macros-0.6 (package (name "rust-cssparser-macros") - (version "0.6.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "cssparser-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0vp13g4blyjvhg3j4r9b7vrwhnfi1y2fmhv8hxgficpjazg7bbnz")))) + (base32 "0cfkzj60avrnskdmaf7f8zw6pp3di4ylplk455zrzaf19ax8id8k")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + `(#:cargo-test-flags '("--release" "--" + "--skip=match_byte") + #:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/servo/rust-cssparser") (synopsis "Procedural macros for cssparser") (description "This package provides the procedural macros for rust-cssparser.") (license license:mpl2.0))) +(define-public rust-csv-async-1 + (package + (name "rust-csv-async") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "csv-async" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w60k4pqm1lnbv0mbz1d1ypmkx487r0q36hyrrh84jkzs2qfazyk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Errors in the test suite code. + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-csv-core" ,rust-csv-core-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-bstr" ,rust-bstr-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-indoc" ,rust-indoc-2) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/gwierzchowski/csv-async") + (synopsis "CSV parsing for async") + (description "This package provides CSV parsing for async.") + (license license:expat))) + (define-public rust-csv-index-0.1 (package (name "rust-csv-index") @@ -16504,6 +18243,28 @@ (define-public rust-csv-core-0.1 (description "Bare bones CSV parsing with no_std support.") (license (list license:unlicense license:expat)))) +(define-public rust-cstr-0.2 + (package + (name "rust-cstr") + (version "0.2.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "cstr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dj6ll9ry27kn4k0vvhlvbhn9dyyr9haxnd06bxaqnmfr01kjlk8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/upsuper/cstr") + (synopsis "Macro for building static CStr reference") + (description + "This package provides the macro for building static CStr reference.") + (license license:expat))) + (define-public rust-cstr-core-0.2 (package (name "rust-cstr-core") @@ -16588,14 +18349,14 @@ (define-public rust-ct-logs-0.7 (define-public rust-ctor-0.2 (package (name "rust-ctor") - (version "0.2.0") + (version "0.2.7") (source (origin (method url-fetch) (uri (crate-uri "ctor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06rhrw85py0gkk7g99qk124mk6d5isq95nn3abc84fyf7zv5ch6x")))) + "0p289www67xwnxsqgvlh3mzi0zmdysxsqf4cx2kvgfcj96kiladd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -16722,14 +18483,14 @@ (define-public rust-cuda-std-macros-0.2 (define-public rust-curl-0.4 (package (name "rust-curl") - (version "0.4.44") + (version "0.4.46") (source (origin (method url-fetch) (uri (crate-uri "curl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08hsq6ssy228df56adv2wbgam05f5rw1f2wzs7mhkb678qbx36sh")))) + (base32 "1dk7xi1fv57ak5wsgzig702czv3ssrgyk120b7qhy2dsdvfn288y")))) (build-system cargo-build-system) (arguments `(#:tests? #false ;require internet access @@ -16739,8 +18500,8 @@ (define-public rust-curl-0.4 ("rust-openssl-probe" ,rust-openssl-probe-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-schannel" ,rust-schannel-0.1) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-mio" ,rust-mio-0.6) @@ -16759,7 +18520,7 @@ (define-public rust-curl-0.4 (define-public rust-curl-sys-0.4 (package (name "rust-curl-sys") - (version "0.4.70+curl-8.5.0") + (version "0.4.72+curl-8.6.0") (source (origin (method url-fetch) @@ -16767,7 +18528,7 @@ (define-public rust-curl-sys-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07l45np3bs10ana73w1ahdax1zbb8jd44ahhr2j7izlshkc360rw")) + "1sn97cah732ldcwkw5knm6kh57hx0gfxqmniiwgd2iy42j1xrjr9")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "curl"))))) @@ -16782,7 +18543,7 @@ (define-public rust-curl-sys-0.4 ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-rustls-ffi" ,rust-rustls-ffi-0.8) ("rust-vcpkg" ,rust-vcpkg-0.2) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (native-inputs (list pkg-config)) (inputs @@ -17319,24 +19080,20 @@ (define-public rust-darling-0.13 (package (inherit rust-darling-0.14) (name "rust-darling") - (version "0.13.1") + (version "0.13.4") (source (origin (method url-fetch) (uri (crate-uri "darling" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x7pgzjswg28798zd5gk5g6nifhcaqq0apqmclydi39zd2w21myh")))) + (base32 "0g25pad4mhq7315mw9n4wpg8j3mwyhwvr541kgdl0aar1j2ra7d0")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-darling-core" ,rust-darling-core-0.13) - ("rust-darling-macro" ,rust-darling-macro-0.13)) - #:cargo-development-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.13) + ("rust-darling-macro" ,rust-darling-macro-0.13)) + #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-darling-0.12 (package @@ -17464,23 +19221,21 @@ (define-public rust-darling-core-0.13 (package (inherit rust-darling-core-0.14) (name "rust-darling-core") - (version "0.13.1") + (version "0.13.4") (source (origin (method url-fetch) (uri (crate-uri "darling_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0933k2avb6xk9j4ryr0bvp3pww5j8i0nrqvsnkgd3vic3lj0yd3s")))) + (base32 "046n83f9jpszlngpjxkqi39ayzxf5a35q673c69jr1dn0ylnb7c5")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-fnv" ,rust-fnv-1) - ("rust-ident-case" ,rust-ident-case-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-strsim" ,rust-strsim-0.10) - ("rust-syn" ,rust-syn-1)))))) + `(#:cargo-inputs (("rust-fnv" ,rust-fnv-1) + ("rust-ident-case" ,rust-ident-case-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-strsim" ,rust-strsim-0.10) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-darling-core-0.12 (package @@ -17592,20 +19347,18 @@ (define-public rust-darling-macro-0.13 (package (inherit rust-darling-macro-0.14) (name "rust-darling-macro") - (version "0.13.1") + (version "0.13.4") (source - (origin - (method url-fetch) - (uri (crate-uri "darling_macro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jzljnd0y7idi5lb7lhvymh3nkhaf32ksx0d38hv7zjjfcxipi3j")))) + (origin + (method url-fetch) + (uri (crate-uri "darling_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d8q8ibmsb1yzby6vwgh2wx892jqqfv9clwhpm19rprvz1wjd5ww")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-darling-core" ,rust-darling-core-0.13) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.13) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-darling-macro-0.12 (package @@ -17667,6 +19420,30 @@ (define-public rust-darling-macro-0.9 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-dary-heap-0.3 + (package + (name "rust-dary-heap") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "dary_heap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jm04p72s7xij3cr71h59dw07s63nah5b10sh8akcr2129zx2qkp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/hanmertens/dary_heap") + (synopsis "D-ary heap") + (description "This package provides a d-ary heap.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dashmap-5 (package (name "rust-dashmap") @@ -17736,8 +19513,73 @@ (define-public rust-data-encoding-2 hexadecimal, base32, and base64.") (license license:expat))) +(define-public rust-data-encoding-macro-0.1 + (package + (name "rust-data-encoding-macro") + (version "0.1.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "data-encoding-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gnkqpd3h24wy272vpdphp7z6gcbq9kyn8df5ggyyaglyl31rh10")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-data-encoding" ,rust-data-encoding-2) + ("rust-data-encoding-macro-internal" + ,rust-data-encoding-macro-internal-0.1)))) + (home-page "https://github.com/ia0/data-encoding") + (synopsis "Macros for data-encoding") + (description "This package provides macros for data-encoding.") + (license license:expat))) + +(define-public rust-data-encoding-macro-internal-0.1 + (package + (name "rust-data-encoding-macro-internal") + (version "0.1.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "data-encoding-macro-internal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wvn4p7wzr6p8fy8q9qpzgbvb9j1k3b5016867b7vcc95izx0iq0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-data-encoding" ,rust-data-encoding-2) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/ia0/data-encoding") + (synopsis "Internal library for data-encoding-macro") + (description + "This package provides an internal library for data-encoding-macro.") + (license license:expat))) + +(define-public rust-data-url-0.3 + (package + (name "rust-data-url") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "data-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ahclz72myi350cs1xcsxdh1v0iljpfj4ghcy2fy46mpfhf7laaw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tester" ,rust-tester-0.9)))) + (home-page "https://github.com/servo/rust-url") + (synopsis "Processing of data: URL according to WHATWG's Fetch Standard") + (description + "Processing of data: URL according to WHATWG's Fetch Standard.") + (license (list license:expat license:asl2.0)))) + (define-public rust-data-url-0.2 (package + (inherit rust-data-url-0.3) (name "rust-data-url") (version "0.2.0") (source @@ -17747,17 +19589,10 @@ (define-public rust-data-url-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19828d6jby17ghi7vr0zia9sy3hlvvjbngrcsllmfh2zfg1kjx4d")))) - (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tester" ,rust-tester-0.9)))) - (home-page "https://github.com/servo/rust-url") - (synopsis "Processing of data: URL according to WHATWG's Fetch Standard") - (description - "Processing of data: URL according to WHATWG's Fetch Standard.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-development-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tester" ,rust-tester-0.9)))))) (define-public rust-datetime-0.5 (package @@ -17925,8 +19760,40 @@ (define-public rust-dbus-tree-0.9 "This crate is a framework for writing D-Bus method handlers (legacy).") (license (list license:asl2.0 license:expat)))) +(define-public rust-deadpool-0.9 + (package + (name "rust-deadpool") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vl5qg5pfx0c9c41g299clfdgz9la6z8361aycb21cia1zwy07s2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-retain-mut" ,rust-retain-mut-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-config" ,rust-config-0.13) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/bikeshedder/deadpool") + (synopsis "Dead simple async pool") + (description + "Deadpool is a dead simple async pool for connections and objects +of any type.") + (license (list license:expat license:asl2.0)))) + (define-public rust-deadpool-0.7 (package + (inherit rust-deadpool-0.9) (name "rust-deadpool") (version "0.7.0") (source @@ -17936,7 +19803,6 @@ (define-public rust-deadpool-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -17945,12 +19811,48 @@ (define-public rust-deadpool-0.7 ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-1)))) + ("rust-tokio" ,rust-tokio-1)))))) + +(define-public rust-deadpool-runtime-0.1 + (package + (name "rust-deadpool-runtime") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool-runtime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j9zmm37z6m4fnkf40z6qwidi4z1gwk0piqzx7yz6riazrjakpv3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/bikeshedder/deadpool") - (synopsis "Dead simple async pool") - (description - "Deadpool is a dead simple async pool for connections and objects of any -type.") + (synopsis "Dead simple async pool utitities for sync managers") + (description "This package provides dead simple async pool utitities +for sync managers.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-deadpool-sync-0.1 + (package + (name "rust-deadpool-sync") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool-sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02habnbf9gna5yg5parpfbgz1342mzyxmd5lcz7f9jhk9i4p1nzq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-deadpool-runtime" ,rust-deadpool-runtime-0.1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/bikeshedder/deadpool") + (synopsis "Dead simple async pool utitities for sync managers") + (description "This package provides dead simple async pool utitities +for sync managers.") (license (list license:expat license:asl2.0)))) (define-public rust-debug-helper-0.3 @@ -18290,20 +20192,23 @@ (define-public rust-defmac-0.1 (define-public rust-defmt-0.3 (package (name "rust-defmt") - (version "0.3.0") + (version "0.3.6") (source (origin (method url-fetch) (uri (crate-uri "defmt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "181l5wv6sihrjwjvk97wznmg2iaz3w1ljsx2dfzjssmhsbs5vyv2")))) + (base32 "15a53435jpy9jj3g49mxp94g961zslggbin2nd9f2va20wlmaf9r")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags '("--release" "--features=unstable-test") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-defmt-macros" ,rust-defmt-macros-0.3)))) + ("rust-defmt-macros" ,rust-defmt-macros-0.3)) + #:cargo-development-inputs + (("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://knurling.ferrous-systems.com/") (synopsis "Logging framework for resource-constrained devices") (description @@ -18314,23 +20219,26 @@ (define-public rust-defmt-0.3 (define-public rust-defmt-macros-0.3 (package (name "rust-defmt-macros") - (version "0.3.1") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "defmt-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rx25gp12c6j3krwjjsknigd803ycz1rpxh5jhr6ny51cfvrd0q9")))) + (base32 "1nmvni24vfrcqaaaa95ag278sfm7sdshw94mkvhi7i1ap6kwgg8q")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-defmt-parser" ,rust-defmt-parser-0.3) ("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)) + #:cargo-development-inputs + (("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.17)))) (home-page "https://github.com/knurling-rs/defmt") (synopsis "Macros for rust-defmt") (description "This package provides macros for rust-defmt crate") @@ -18339,16 +20247,18 @@ (define-public rust-defmt-macros-0.3 (define-public rust-defmt-parser-0.3 (package (name "rust-defmt-parser") - (version "0.3.0") + (version "0.3.4") (source (origin (method url-fetch) (uri (crate-uri "defmt-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1is90zrcifdky4rpra450779c3jf3bc2xwcqbj9fy6m5w48f074d")))) + (base32 "03zpg0i6vlalw7m976z66n70s041rvwii8qn3grxgs1hwgpmyjpz")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.17)))) (home-page "https://github.com/knurling-rs/defmt") (synopsis "Parsing library for defmt format strings") (description "This package is a parsing library for defmt format @@ -18482,20 +20392,20 @@ (define-public rust-derivative-2 (define-public rust-derive-arbitrary-1 (package (name "rust-derive-arbitrary") - (version "1.3.0") + (version "1.3.2") (source (origin (method url-fetch) (uri (crate-uri "derive_arbitrary" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dy8pmv7d8diqhbh1b88v8q5g0inwkgb465877jqimbjqjgfpkgk")))) + "04bnd985frl81r5sgixgpvncnnj1bfpfnd7qvdx1aahnqi9pbrv7")))) (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)))) (home-page "https://github.com/rust-fuzz/arbitrary") (synopsis "Derives arbitrary traits") (description "This crate implements support for automatically deriving the @@ -18504,7 +20414,8 @@ (define-public rust-derive-arbitrary-1 (license (list license:expat license:asl2.0)))) (define-public rust-derive-arbitrary-0.4 - (package/inherit rust-derive-arbitrary-1 + (package + (inherit rust-derive-arbitrary-1) (name "rust-derive-arbitrary") (version "0.4.7") (source @@ -18513,23 +20424,27 @@ (define-public rust-derive-arbitrary-0.4 (uri (crate-uri "derive_arbitrary" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rp0z4k0j5ip0bx6dssg97l4q6bakhf6lm5h1lpr3p3kwjsi585i")))))) + (base32 "1rp0z4k0j5ip0bx6dssg97l4q6bakhf6lm5h1lpr3p3kwjsi585i")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-derive-builder-0.12 +(define-public rust-derive-builder-0.13 (package (name "rust-derive-builder") - (version "0.12.0") + (version "0.13.1") (source (origin (method url-fetch) (uri (crate-uri "derive_builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1y4p569zcvpmly5s5hmjp9h83drxvdp6kj6bb61h225mhj3pfrwd")))) + "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.12)) + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13)) #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) ("rust-rustversion" ,rust-rustversion-1) @@ -18542,6 +20457,28 @@ (define-public rust-derive-builder-0.12 for arbitrary structs.") (license (list license:expat license:asl2.0)))) +(define-public rust-derive-builder-0.12 + (package + (inherit rust-derive-builder-0.13) + (name "rust-derive-builder") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "derive_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1y4p569zcvpmly5s5hmjp9h83drxvdp6kj6bb61h225mhj3pfrwd")))) + (arguments + `(#:cargo-inputs + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.12)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-derive-builder-0.11 (package (inherit rust-derive-builder-0.12) @@ -18629,8 +20566,34 @@ (define-public rust-derive-builder-0.7 ("rust-skeptic" ,rust-skeptic-0.13) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-derive-builder-core-0.13 + (package + (name "rust-derive-builder-core") + (version "0.13.1") + (source (origin + (method url-fetch) + (uri (crate-uri "derive_builder_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1381dgjq6jhirww088dff8b00v2d99illvnan0l0kvz7qdy33v54")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.14) + ("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://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Internal helper library for @code{rust-derive-builder}") + (description + "Internal helper library for @code{rust-derive-builder}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-core-0.12 (package + (inherit rust-derive-builder-core-0.13) (name "rust-derive-builder-core") (version "0.12.0") (source (origin @@ -18640,20 +20603,13 @@ (define-public rust-derive-builder-core-0.12 (sha256 (base32 "03vvmw3mfg370swq0dh2h5kcjjb8va2m4asqgp9wfyy4l08xq6y1")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-darling" ,rust-darling-0.14) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.14) + ("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/colin-kiegel/rust-derive-builder") - (synopsis "Internal helper library for @code{rust-derive-builder}") - (description - "Internal helper library for @code{rust-derive-builder}.") - (license (list license:expat license:asl2.0)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) (define-public rust-derive-builder-core-0.11 (package @@ -18743,8 +20699,31 @@ (define-public rust-derive-builder-core-0.5 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-derive-builder-macro-0.13 + (package + (name "rust-derive-builder-macro") + (version "0.13.1") + (source (origin + (method url-fetch) + (uri (crate-uri "derive_builder_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09q17rzgf8bsj8n1bhlf4f93nmqg8va6321ppcd07f1mzg1nh0w7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.13) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Automatically implement the builder pattern for arbitrary structs") + (description + "This crate provides a Rust macro to automatically implement the builder +pattern for arbitrary structs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-macro-0.12 (package + (inherit rust-derive-builder-macro-0.13) (name "rust-derive-builder-macro") (version "0.12.0") (source (origin @@ -18754,18 +20733,9 @@ (define-public rust-derive-builder-macro-0.12 (sha256 (base32 "17p71qzh7x1q2yxzz3xrg73zw3xl0h479b7ybyjm0s1rg9fa7kgb")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-derive-builder-core" ,rust-derive-builder-core-0.12) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis - "Rust macro to automatically implement the builder pattern for arbitrary structs") - (description - "This crate provides a Rust macro to automatically implement the builder -pattern for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.12) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-derive-builder-macro-0.11 (package @@ -18903,8 +20873,31 @@ (define-public rust-derive-more-0.14 ("rust-rustc-version" ,rust-rustc-version-0.2) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-derive-new-0.6 + (package + (name "rust-derive-new") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive-new" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b8jv6jx0b8jgkz9kmz0ciqmnf74xkk0mmvkb5z1c87932kdwl6i")))) + (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/nrc/derive-new") + (synopsis "Simple constructor functions for structs and enums") + (description "`#[derive(new)]` implements simple constructor functions for +structs and enums.") + (license license:expat))) + (define-public rust-derive-new-0.5 (package + (inherit rust-derive-new-0.6) (name "rust-derive-new") (version "0.5.9") (source @@ -18914,17 +20907,39 @@ (define-public rust-derive-new-0.5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0d9m5kcj1rdmdjqfgj7rxxhdzx0as7p4rp1mjx5j6w5dl2f3461l")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-derive-utils-0.11 + (package + (name "rust-derive-utils") + (version "0.11.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gx7giwn8x427d5f8c92n9h0hhcqdsasvz7i8iq2rqffvhalqask")))) (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/nrc/derive-new") - (synopsis "Simple constructor functions for structs and enums") - (description "`#[derive(new)]` implements simple constructor functions for -structs and enums.") - (license license:expat))) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/taiki-e/derive_utils") + (synopsis "Macro helper for easily writing derives macros for enum") + (description + "This crate provides a procedural macro helper for easily +writing derives macros for enums.") + (license (list license:expat license:asl2.0)))) (define-public rust-derive-where-1 (package @@ -18954,6 +20969,45 @@ (define-public rust-derive-where-1 (description "Deriving with custom trait bounds.") (license (list license:expat license:asl2.0)))) +(define-public rust-deser-hjson-1 + (package + (name "rust-deser-hjson") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deser-hjson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bacgp2zhyxj6m7hh00sl65b8bripw5nb80jwcniplglzscspq9h")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency chain. + #:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Canop/deser-hjson") + (synopsis "Hjson deserializer for Serde") + (description "This package provides an Hjson deserializer for Serde.") + (license license:expat))) + +(define-public rust-detone-1 + (package + (name "rust-detone") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "detone" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "052mnp8qjp71ypcv0ixvlw7isn1yv79qn05jrcfi9j2r70clq47p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-unic-normal" ,rust-unic-normal-0.9)))) + (home-page "https://docs.rs/detone/") + (synopsis "Decompose Vietnamese tone marks") + (description "Decompose Vietnamese tone marks.") + (license (list license:expat license:asl2.0)))) + (define-public rust-deunicode-0.4 (package (name "rust-deunicode") @@ -18996,6 +21050,22 @@ (define-public rust-devise-0.4 procedural macros.") (license (list license:expat license:asl2.0)))) +(define-public rust-devise-0.3 + (package + (inherit rust-devise-0.4) + (name "rust-devise") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15dmibnykic2a1ndi66shyvxmpfysnhf05lg2iv8871g0w5miish")))) + (arguments + `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.3) + ("rust-devise-core" ,rust-devise-core-0.3)))))) + (define-public rust-devise-0.2 (package (inherit rust-devise-0.4) @@ -19009,10 +21079,13 @@ (define-public rust-devise-0.2 (sha256 (base32 "09p52f54givb0g9l7clj11z755vldk8758y2lwm5mp3sa156qwfx")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-devise-codegen" ,rust-devise-codegen-0.2) - ("rust-devise-core" ,rust-devise-core-0.2)))))) + `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.2) + ("rust-devise-core" ,rust-devise-core-0.2)) + #:phases (modify-phases %standard-phases + ;; Enable using nightly/dev features + (add-after 'unpack 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1")))))))) (define-public rust-devise-codegen-0.4 (package @@ -19036,6 +21109,21 @@ (define-public rust-devise-codegen-0.4 procedural macros.") (license (list license:expat license:asl2.0)))) +(define-public rust-devise-codegen-0.3 + (package + (inherit rust-devise-codegen-0.4) + (name "rust-devise-codegen") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cp7nnfwvjp6wfq11n0ffjjrwfa1wbsb58g1bz3ha6z5lvkp6g0j")))) + (arguments + `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.3) + ("rust-quote" ,rust-quote-1)))))) (define-public rust-devise-codegen-0.2 (package @@ -19050,10 +21138,13 @@ (define-public rust-devise-codegen-0.2 (sha256 (base32 "0lxbixni2v6snx2mkgi0kyq5dv8v6c5s57b6wc47q4hqs6884yza")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-devise-core" ,rust-devise-core-0.2) - ("rust-quote" ,rust-quote-0.6)))))) + `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2) + ("rust-quote" ,rust-quote-0.6)) + #:phases (modify-phases %standard-phases + ;; Enable using nightly/dev features + (add-after 'unpack 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1")))))))) (define-public rust-devise-core-0.4 (package @@ -19081,6 +21172,26 @@ (define-public rust-devise-core-0.4 procedural macros.") (license (list license:expat license:asl2.0)))) +(define-public rust-devise-core-0.3 + (package + (inherit rust-devise-core-0.4) + (name "rust-devise-core") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l00qiih4z14ai0c3s16nlvw0kv4p07ygi6a0ms0knc78xpz87l4")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.9) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-devise-core-0.2 (package (inherit rust-devise-core-0.4) @@ -19094,12 +21205,15 @@ (define-public rust-devise-core-0.2 (sha256 (base32 "0wr3jdzzibpafz73hcca83wnzdgjinvm7axmxnyfkbasbnfkw1fi")))) (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)))))) + `(#: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)) + #:phases (modify-phases %standard-phases + ;; Enable using nightly/dev features + (add-after 'unpack 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1")))))))) (define-public rust-dhcproto-0.9 (package @@ -19114,7 +21228,9 @@ (define-public rust-dhcproto-0.9 (base32 "1hsbl77lxvxa94ihn2vna1sx2icrkch427w24a883xymhm9h9vnw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-dhcproto-macros" ,rust-dhcproto-macros-0.1) + `(#:cargo-test-flags '("--release" "--" + "--skip=v6::options::tests::test_range_binsearch") + #: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) @@ -19222,26 +21338,78 @@ (define-public rust-dialoguer-0.10 ("rust-tempfile" ,rust-tempfile-3) ("rust-zeroize" ,rust-zeroize-1)))))) -(define-public rust-diesel-1 +(define-public rust-diesel-2 (package (name "rust-diesel") - (version "1.4.6") + (version "2.1.5") (source (origin (method url-fetch) (uri (crate-uri "diesel" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ndmiv98xq2glkr4bqfq58fc3qncscfzx63xpj4ipwlqf30hbz03")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" + "--features" "sqlite") + #:cargo-inputs (("rust-bigdecimal" ,rust-bigdecimal-0.1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-diesel-derives" ,rust-diesel-derives-2) + ("rust-ipnet" ,rust-ipnet-2) + ("rust-ipnetwork" ,rust-ipnetwork-0.17) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.20) + ("rust-mysqlclient-sys" ,rust-mysqlclient-sys-0.2) + ("rust-num-bigint" ,rust-num-bigint-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pq-sys" ,rust-pq-sys-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-r2d2" ,rust-r2d2-0.8) + ("rust-serde-json" ,rust-serde-json-0.9) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.7)) + #:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-ipnetwork" ,rust-ipnetwork-0.17) + ("rust-quickcheck" ,rust-quickcheck-1)))) + (native-inputs (list sqlite)) + (home-page "https://diesel.rs") + (synopsis "Safe, extensible ORM and Query Builder") + (description "This package provides a safe, extensible ORM and Query +Builder for PostgreSQL, SQLite, and MySQL.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-diesel-1 + (package + (inherit rust-diesel-2) + (name "rust-diesel") + (version "1.4.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hpmwrc0zx3zvpgwp9zrm6wj8d8i8q8990grlrnfzlivbi6zqyq4")))) - (build-system cargo-build-system) + "0kcfkfhsv5yv3ksj440ajgic930359i2bqi77ss4dm5pyvn3b0dj")))) (arguments `(#:cargo-test-flags '("--release" "--features" "sqlite" "--" - "--skip=expression::count::count") + "--skip=expression::count::count" + "--skip=macros::internal::parse_type_args_with_bounds" + "--skip=macros::internal::parse_type_args_with_bounds_containing_braces_and_commas" + "--skip=macros::internal::parse_type_args_with_existentials_and_lifetimes" + "--skip=macros::internal::parse_type_args_with_trailer") #:cargo-inputs (("rust-bigdecimal" ,rust-bigdecimal-0.1) ("rust-bitflags" ,rust-bitflags-1) @@ -19267,16 +21435,45 @@ (define-public rust-diesel-1 (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-dotenv" ,rust-dotenv-0.10) ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-tempdir" ,rust-tempdir-0.3)))) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-diesel-derives-2 + (package + (name "rust-diesel-derives") + (version "2.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel_derives" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "036f3i1hsl2m2c0basg28adc9rh3vnr2vp0xwvzi9rsah75yw0jx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=derive_insertable" + "--skip=derive_multiconnection" + "--skip=derive_queryable" + "--skip=derive_queryable_by_name") + #:cargo-inputs + (("rust-diesel-table-macro-syntax" ,rust-diesel-table-macro-syntax-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-diesel" ,rust-diesel-2) + ("rust-dotenvy" ,rust-dotenvy-0.15)))) (native-inputs (list sqlite)) (home-page "https://diesel.rs") - (synopsis "Safe, extensible ORM and Query Builder") - (description "This package provides a safe, extensible ORM and Query -Builder for PostgreSQL, SQLite, and MySQL.") + (synopsis "Crate internal to Diesel") + (description "You should not use this crate directly, it is internal to +Diesel.") (license (list license:expat license:asl2.0)))) (define-public rust-diesel-derives-1 (package + (inherit rust-diesel-derives-2) (name "rust-diesel-derives") (version "1.4.1") (source @@ -19287,7 +21484,6 @@ (define-public rust-diesel-derives-1 (sha256 (base32 "1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; cannot find type `SqliteConnection` in this scope #:cargo-test-flags @@ -19302,13 +21498,7 @@ (define-public rust-diesel-derives-1 #:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-diesel" ,rust-diesel-1) - ("rust-dotenv" ,rust-dotenv-0.10)))) - (native-inputs (list sqlite)) - (home-page "https://diesel.rs") - (synopsis "Crate internal to Diesel") - (description "You should not use this crate directly, it is internal to -Diesel.") - (license (list license:expat license:asl2.0)))) + ("rust-dotenv" ,rust-dotenv-0.10)))))) (define-public rust-diesel-migrations-1 (package @@ -19339,6 +21529,25 @@ (define-public rust-diesel-migrations-1 (description "This package provides migration management for Diesel.") (license (list license:expat license:asl2.0)))) +(define-public rust-diesel-table-macro-syntax-0.1 + (package + (name "rust-diesel-table-macro-syntax") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel_table_macro_syntax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i9115qgsnargr6a707lqcjc45wqzq351a2gbvnnyw2kqkpmfmgw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-syn" ,rust-syn-2)))) + (home-page "https://diesel.rs") + (synopsis "Internal diesel crate") + (description "Internal diesel crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-diff-0.1 (package (name "rust-diff") @@ -19428,23 +21637,6 @@ (define-public rust-difflib-0.4 "This crate provides all necessary tools for comparing word sequences.") (license license:expat))) -(define-public rust-diffr-lib-0.1 - (package - (name "rust-diffr-lib") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "diffr-lib" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0id3hpblvvcw4ydcd1cc7wgcwqjbh3grlihrmd8zp7k0d2h47i3g")))) - (build-system cargo-build-system) - (home-page "https://github.com/mookid/diffr") - (synopsis "Implementation of Myers diff algorithm") - (description "An implementation of Myers diff algorithm.") - (license license:expat))) - (define-public rust-diffs-0.3 (package (name "rust-diffs") @@ -19467,6 +21659,28 @@ (define-public rust-diffs-0.3 diff.") (license (list license:asl2.0 license:expat)))) +(define-public rust-dircpy-0.3 + (package + (name "rust-dircpy") + (version "0.3.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "dircpy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jkj888b22ln6qcvjlrl6a2za1y5j1c8f021qjzq0jf3a6vrs999")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency chain. + #:cargo-inputs (("rust-jwalk" ,rust-jwalk-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/woelper/dircpy/") + (synopsis "Copy directories recursively with flexible options") + (description "Copy directories recursively with flexible options.") + (license license:expat))) + (define-public rust-directories-5 (package (name "rust-directories") @@ -19744,20 +21958,19 @@ (define-public rust-dirs-sys-next-0.1 (package (inherit rust-dirs-sys-0.3) (name "rust-dirs-sys-next") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "dirs-sys-next" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zgy7is3h2dyf1l4sa7k065w2kvx0l12l40my4rswm2mc1gkdplr")))) + "0kavhavdxv4phzj4l0psvh55hszwnr0rcz8sxbvx20pyqi2a3gaf")))) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-redox-users" ,rust-redox-users-0.3) + ("rust-redox-users" ,rust-redox-users-0.4) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/xdg-rs/dirs/tree/master/dirs-sys"))) @@ -19835,6 +22048,54 @@ (define-public rust-dissimilar-1 Google's diff-match-patch.") (license (list license:expat license:asl2.0)))) +(define-public rust-divan-0.1 + (package + (name "rust-divan") + (version "0.1.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "divan" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v757vmvlksbaqz7q8cgq7hvr3dimrddcarz7yj70a4w5kgngmd0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clap" ,rust-clap-4) + ("rust-condtype" ,rust-condtype-1) + ("rust-divan-macros" ,rust-divan-macros-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-regex-lite" ,rust-regex-lite-0.1)) + #:cargo-development-inputs (("rust-mimalloc" ,rust-mimalloc-0.1)))) + (inputs (list mimalloc)) + (home-page "https://github.com/nvzqz/divan") + (synopsis "Statistically-comfy benchmarking library") + (description "Statistically-comfy benchmarking library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-divan-macros-0.1 + (package + (name "rust-divan-macros") + (version "0.1.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "divan-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18klwl81akqmd0rqgz6l8hmc649hvbcdfc01ix6lh3dy96phnm17")))) + (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/nvzqz/divan") + (synopsis "Macros for Divan, a statistically-comfy benchmarking library") + (description "This package provides macros for Divan, a statistically-comfy +benchmarking library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dlib-0.5 (package (name "rust-dlib") @@ -19915,6 +22176,35 @@ (define-public rust-dlv-list-0.2 #:cargo-inputs (("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-dns-lookup-2 + (package + (name "rust-dns-lookup") + (version "2.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "dns-lookup" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Tries to access the network + "--skip=nameinfo::test_getnameinfo" + "--skip=src/lib.rs - (line 36)") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/keeperofdakeys/dns-lookup/") + (synopsis "DNS resolution interface") + (description + "This package provides a simple DNS resolving interface, much like Rust's +unstable API. It includes @code{getaddrinfo} and @code{getnameinfo} wrappers +for libc variants.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dns-parser-0.8 (package (name "rust-dns-parser") @@ -19942,36 +22232,6 @@ (define-public rust-dns-parser-0.8 not support network, only raw protocol parser.") (license (list license:expat license:asl2.0)))) -(define-public rust-dns-lookup-2 - (package - (name "rust-dns-lookup") - (version "2.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "dns-lookup" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--" - ;; the builder sandbox breaks getaddrinfo, failing two tests. - "--skip=nameinfo::test_getnameinfo" - "--skip=src/lib.rs") - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-socket2" ,rust-socket2-0.5) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) - (home-page "https://github.com/keeperofdakeys/dns-lookup/") - (synopsis "DNS resolution interface") - (description - "This package provides a simple DNS resolving interface, much like Rust's -unstable API. It includes @code{getaddrinfo} and @code{getnameinfo} wrappers -for libc variants.") - (license (list license:expat license:asl2.0)))) - (define-public rust-dns-sd-0.1 (package (name "rust-dns-sd") @@ -20371,8 +22631,34 @@ (define-public rust-dtoa-short-0.3 "Serialize float number and truncate to certain precision in Rust.") (license license:mpl2.0))) +(define-public rust-dtparse-2 + (package + (name "rust-dtparse") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dtparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fg8h07m0z38c6i556dfmgnhl18i8w37cl235iyfzc9l3kz7r325")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rust-decimal" ,rust-rust-decimal-1)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.21)))) + (home-page "https://github.com/bspeice/dtparse.git") + (synopsis "Dateutil-compatible timestamp parser for Rust") + (description + "This package provides a @code{dateutil}-compatible timestamp parser for +Rust.") + (license license:asl2.0))) + (define-public rust-dtparse-1 (package + (inherit rust-dtparse-2) (name "rust-dtparse") (version "1.3.0") (source @@ -20382,21 +22668,12 @@ (define-public rust-dtparse-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1awhyy58c28fhr5nvvfpikdzraihichkz3w1mzdg7smyffldi4w2")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rust-decimal" ,rust-rust-decimal-1)) - #:cargo-development-inputs - (("rust-base64" ,rust-base64-0.13)))) - (home-page "https://github.com/bspeice/dtparse.git") - (synopsis "Dateutil-compatible timestamp parser for Rust") - (description - "This package provides a @code{dateutil}-compatible timestamp parser for -Rust.") - (license license:asl2.0))) + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rust-decimal" ,rust-rust-decimal-1)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13)))))) (define-public rust-duct-0.13 (package @@ -20432,20 +22709,21 @@ (define-public rust-duct-0.13 (define-public rust-dyn-clone-1 (package (name "rust-dyn-clone") - (version "1.0.4") + (version "1.0.17") (source (origin (method url-fetch) (uri (crate-uri "dyn-clone" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kxb16nxiixn558gn82yaq2fl6271jay4rqkrw31lmnprjpjc9pf")))) + (base32 "09cig7dgg6jnqa10p4233nd8wllbjf4ffsw7wj0m4lwa5w3z0vhd")))) (arguments - `(#:skip-build? #t)) + `(#:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))) (build-system cargo-build-system) (home-page "https://crates.io/crates/dyn-clone") (synopsis "Clone trait that is object-safe") - (description "Clone trait that is object-safe") + (description "This package provides a clone trait that is object-safe.") (license (list license:expat license:asl2.0)))) (define-public rust-dwrote-0.11 @@ -20475,8 +22753,30 @@ (define-public rust-dwrote-0.11 "This package provides lightweight binding to DirectWrite.") (license license:mpl2.0))) +(define-public rust-easy-cast-0.5 + (package + (name "rust-easy-cast") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "easy-cast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mizff08p0rlmgvi81rqdblji372rhr17xlvzmqylfsz2iw6g4qh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--") ; fails in --release mode + #:cargo-inputs (("rust-libm" ,rust-libm-0.2)))) + (home-page "https://github.com/kas-gui/easy-cast") + (synopsis "Type conversions which are expected to succeed") + (description "This library is written to make numeric type conversions +easy.") + (license license:asl2.0))) + (define-public rust-easy-cast-0.4 (package + (inherit rust-easy-cast-0.5) (name "rust-easy-cast") (version "0.4.4") (source @@ -20486,15 +22786,9 @@ (define-public rust-easy-cast-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13ilmaplp2s4vw1vjh4pwbzk7jdxrn0kpf0rk5sli0s1ikp05lab")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-libm" ,rust-libm-0.2)))) - (home-page "https://github.com/kas-gui/easy-cast") - (synopsis "Type conversions which are expected to succeed") - (description "This library is written to make numeric type conversions -easy.") - (license license:asl2.0))) + #:cargo-inputs (("rust-libm" ,rust-libm-0.2)))))) (define-public rust-easy-parallel-3 (package @@ -20882,33 +23176,42 @@ (define-public rust-email-0.0.20 "This crate provides an implementation of RFC 5322 email messages.") (license license:expat))) -(define-public rust-lettre-email-0.9 +(define-public rust-embedded-io-0.6 (package - (name "rust-lettre-email") - (version "0.9.4") + (name "rust-embedded-io") + (version "0.6.1") (source (origin (method url-fetch) - (uri (crate-uri "lettre_email" version)) + (uri (crate-uri "embedded-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px")))) + (base32 "0v901xykajh3zffn6x4cnn4fhgfw3c8qpjwbsk6gai3gaccg3l7d")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-email" ,rust-email-0.0.20) - ("rust-lettre" ,rust-lettre-0.9) - ("rust-mime" ,rust-mime-0.3) - ("rust-time" ,rust-time-0.1) - ("rust-uuid" ,rust-uuid-0.7)))) - (home-page "https://github.com/lettre/lettre") - (synopsis "Mailer library for Rust") - (description "Lettre is a mailer library for Rust. It provides multiple -transport methods, unicode support, secure delivery with SMTP using encryption -and authentication, easy email builders, and async support.") - (license license:expat))) + `(#:cargo-inputs (("rust-defmt" ,rust-defmt-0.3)))) + (home-page "https://github.com/rust-embedded/embedded-hal") + (synopsis "Embedded IO traits") + (description "This package provides embedded IO traits.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-embedded-io-0.4 + (package + (inherit rust-embedded-io-0.6) + (name "rust-embedded-io") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "embedded-io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v9wrc5nsgaaady7i3ya394sik5251j0iq5rls7mrx7fv696h6pg")))) + (arguments + `(#:cargo-inputs (("rust-defmt" ,rust-defmt-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-emojis-0.5 (package @@ -21812,14 +24115,14 @@ (define-public rust-env-logger-0.10 (package (inherit rust-env-logger-0.11) (name "rust-env-logger") - (version "0.10.1") + (version "0.10.2") (source (origin (method url-fetch) (uri (crate-uri "env_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kmy9xmfjaqfvd4wkxr1f7d16ld3h9b487vqs2q9r0s8f3kg7cwm")))) + (base32 "1005v71kay9kbz1d5907l0y7vh9qn2fqsp2yfgb8bjvin6m0bm2c")))) (arguments `(#:cargo-inputs (("rust-humantime" ,rust-humantime-2) @@ -22237,8 +24540,28 @@ (define-public rust-error-chain-0.10 `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3)))))) +(define-public rust-error-code-3 + (package + (name "rust-error-code") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "error-code" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nqpbhi501z3ydaxg4kjyb68xcw025cj22prwabiky0xsljl8ix0")))) + (build-system cargo-build-system) + (home-page "https://github.com/DoumanAsh/error-code") + (synopsis "Alternative @code{Error} for Rust") + (description + "This package provides a simplified @code{Error} which works in +@code{no_std} environment.") + (license license:boost1.0))) + (define-public rust-error-code-2 (package + (inherit rust-error-code-3) (name "rust-error-code") (version "2.3.0") (source @@ -22248,18 +24571,30 @@ (define-public rust-error-code-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1zxi3pfrmj7hmv2bv94ax8vpylsfs49vwwp48c04wrr5mikma4dm")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-str-buf" ,rust-str-buf-1)))) - (home-page "") - (synopsis "Alternative @code{Error} for Rust") - (description - "This package provides a simplified @code{Error} which works in -@code{no_std} environment.") - (license license:boost1.0))) + ("rust-str-buf" ,rust-str-buf-1)))))) + +(define-public rust-escape8259-0.5 + (package + (name "rust-escape8259") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "escape8259" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vjpfnk9fyq6qcc18bq7yfk9ahi2r12lfywr4rwcsvv6wc8ljkxs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rustversion" ,rust-rustversion-1)))) + (home-page "https://github.com/ericseppanen/escape8259") + (synopsis "RFC8259-compliant string escaping and un-escaping") + (description "RFC8259-compliant string escaping and un-escaping.") + (license license:expat))) (define-public rust-escaper-0.1 (package @@ -22358,6 +24693,75 @@ (define-public rust-etcetera-0.8 they follow. Etcetera, on the other hand, gives you the choice.") (license (list license:expat license:asl2.0)))) +(define-public rust-ethnum-1 + (package + (name "rust-ethnum") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ethnum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b68ngvisb0d40vc6h30zlhghbb3mc8wlxjbf8gnmavk1dca435r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ethnum-intrinsics" ,rust-ethnum-intrinsics-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/nlordell/ethnum-rs") + (synopsis "256-bit integer implementation") + (description "This package contains a 256-bit integer implementation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ethnum-intrinsics-1 + (package + (name "rust-ethnum-intrinsics") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ethnum-intrinsics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qvb1r3vmnk5nplz6x1014rn6b9nfnig2qmlj8hi3jpq75j8cgh9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; error: unterminated attribute group + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (inputs (list clang)) + (home-page "https://github.com/nlordell/ethnum-rs") + (synopsis "LLVM generated 256-bit integer intrinsics") + (description + "This package contains LLVM generated 256-bit integer intrinsics.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-eui48-1 + (package + (name "rust-eui48") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "eui48" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00cpf25kc3mxhqnahm0bw9xl19gr2pzc5g84dvkc4mwdbsn1hx48")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-regex" ,rust-regex-1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))) + (home-page "https://github.com/abaumhauer/eui48") + (synopsis "Library to generate and parse IEEE EUI-48 and EUI-64") + (description + "This package provides a library to generate and parse IEEE EUI-48 +and EUI-64, also known as MAC-48 media access control addresses. The +IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an +abbreviation for Extended Unique Identifier.") + (license (list license:expat license:asl2.0)))) + (define-public rust-evdev-0.12 (package (name "rust-evdev") @@ -22504,6 +24908,48 @@ (define-public rust-event-listener-strategy-0.1 ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) #:cargo-development-inputs (("rust-futures-lite" ,rust-futures-lite-1)))))) +(define-public rust-exacl-0.11 + (package + (name "rust-exacl") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "exacl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17vd67mhppnw1kbb053c4bygilbdviz53zrzm4z1cxr73hn1b5f6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=acl::acl_tests::test_write_acl_posix" + "--skip=acl::acl_tests::test_write_default_acl" + "--skip=qualifier::qualifier_tests::test_group_named" + "--skip=qualifier::qualifier_tests::test_user_named" + "--skip=unix::unix_tests::test_gid_to_name" + "--skip=unix::unix_tests::test_name_to_gid" + "--skip=unix::unix_tests::test_name_to_uid" + "--skip=unix::unix_tests::test_uid_to_name") + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.68) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-log" ,rust-log-0.4) + ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-serde" ,rust-serde-1) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-ctor" ,rust-ctor-0.2) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (inputs (list acl)) + (home-page "https://github.com/byllyfish/exacl") + (synopsis "Manipulate file system (ACL) on macOS, Linux, and FreeBSD") + (description + "This package provides functions to manipulate file system access control +lists (ACL) on @code{macOS}, Linux, and @code{FreeBSD}.") + (license license:expat))) + (define-public rust-executable-path-1 (package (name "rust-executable-path") @@ -22555,6 +25001,23 @@ (define-public rust-executors-0.9 "This package provides a collection of high-performance task executors.") (license license:expat))) +(define-public rust-exhaustigen-0.1 + (package + (name "rust-exhaustigen") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "exhaustigen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1djym5wjcib78fxspkkal0vdq8dd1vlllk6f6858m5haf53zg23x")))) + (build-system cargo-build-system) + (home-page "https://github.com/graydon/exhaustigen-rs") + (synopsis "Exhaustive test generator") + (description "This package provides an exhaustive test generator.") + (license (list license:expat license:asl2.0)))) + (define-public rust-exitcode-1 (package (name "rust-exitcode") @@ -22635,14 +25098,14 @@ (define-public rust-expat-sys-2 (define-public rust-expect-test-1 (package (name "rust-expect-test") - (version "1.4.1") + (version "1.5.0") (source (origin (method url-fetch) (uri (crate-uri "expect-test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lzqx5hqh1g4llzqby4z1d18xmrjjx63c5l0na7ycf6mmpzfmn9h")))) + (base32 "1q55nrkgzg345905aqbsdrwlq4sk0gjn4z5bdph1an1kc6jy02wy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -22712,6 +25175,89 @@ (define-public rust-expectrl-0.7 like Don libes expect.") (license license:expat))) +(define-public rust-eyeball-0.8 + (package + (name "rust-eyeball") + (version "0.8.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "eyeball" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yw01cm6316xrq26nz3nhlvnsfahc96j692brrai04c2v69jhj22")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-readlock" ,rust-readlock-0.1) + ("rust-readlock-tokio" ,rust-readlock-tokio-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-stream-assert" ,rust-stream-assert-0.1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/jplatte/eyeball") + (synopsis "Add observability to your Rust types") + (description "Add observability to your Rust types!") + (license license:mpl2.0))) + +(define-public rust-eyeball-im-0.4 + (package + (name "rust-eyeball-im") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "eyeball-im" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pb2dmqji80hj1c7skk5pg0w64lsqaanmm8ngf3fa2v7v4lsn7q2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-imbl" ,rust-imbl-2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-stream-assert" ,rust-stream-assert-0.1)))) + (home-page "https://github.com/jplatte/eyeball") + (synopsis "Observable collections based on the `im` crate") + (description "Observable collections based on the `im` crate.") + (license license:mpl2.0))) + +(define-public rust-eyeball-im-util-0.5 + (package + (name "rust-eyeball-im-util") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "eyeball-im-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q4r3qi46s8mnvn2y9pk322y4qdl4j81pa53q7xg4c9zncma5zn0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-eyeball-im" ,rust-eyeball-im-0.4) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-imbl" ,rust-imbl-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs + (("rust-eyeball" ,rust-eyeball-0.8) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-stream-assert" ,rust-stream-assert-0.1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/jplatte/eyeball") + (synopsis "Helpful utilities for `eyeball-im`") + (description "Helpful utilities for `eyeball-im`.") + (license license:mpl2.0))) + (define-public rust-eyre-0.6 (package (name "rust-eyre") @@ -22769,6 +25315,28 @@ (define-public rust-faccess-0.2 (description "Simple file accessibility checks in rust.") (license license:expat))) +(define-public rust-fakeit-1 + (package + (name "rust-fakeit") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fakeit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zsz58zfawf3zk9ig3n7dbd382lgndjx0xxngwsymilcgipr0bfi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libmath" ,rust-libmath-0.2) + ("rust-rand" ,rust-rand-0.6) + ("rust-simplerand" ,rust-simplerand-1) + ("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://github.com/PumpkinSeed/fakeit") + (synopsis "Fake data generator") + (description "Fake data generator library with 130+ functions.") + (license license:expat))) + (define-public rust-fake-simd-0.1 (package (name "rust-fake-simd") @@ -22871,8 +25439,29 @@ (define-public rust-failure-derive-0.1 (description "Derives for the failure crate.") (license (list license:asl2.0 license:expat)))) +(define-public rust-fallible-iterator-0.3 + (package + (name "rust-fallible-iterator") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fallible-iterator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ja6l56yka5vn4y4pk6hn88z0bpny7a8k1919aqjzp0j1yhy9k1a")))) + (build-system cargo-build-system) + (home-page "https://github.com/sfackler/rust-fallible-iterator") + (synopsis "Fallible iterator traits") + (description "If the @code{std} or @code{alloc} features are enabled, this +crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and +@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally +provides implementations for @code{HashMap} and @code{HashSet}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fallible-iterator-0.2 (package + (inherit rust-fallible-iterator-0.3) (name "rust-fallible-iterator") (version "0.2.0") (source @@ -22881,17 +25470,7 @@ (define-public rust-fallible-iterator-0.2 (uri (crate-uri "fallible-iterator" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4")))) - (build-system cargo-build-system) - (home-page "https://github.com/sfackler/rust-fallible-iterator") - (synopsis "Fallible iterator traits") - (description "If the @code{std} or @code{alloc} features are enabled, this -crate provides implementations for @code{Box}, @code{Vec}, @code{BTreeMap}, and -@code{BTreeSet}. If the @code{std} feature is enabled, this crate additionally -provides implementations for @code{HashMap} and @code{HashSet}.") - (license (list license:asl2.0 - license:expat)))) + (base32 "1xq759lsr8gqss7hva42azn3whgrbrs2sd9xpn92c5ickxm1fhs4")))))) (define-public rust-fallible-streaming-iterator-0.1 (package @@ -22910,24 +25489,26 @@ (define-public rust-fallible-streaming-iterator-0.1 (description "Fallible streaming iteration") (license (list license:expat license:asl2.0)))) -(define-public rust-fancy-regex-0.11 +(define-public rust-fancy-regex-0.13 (package (name "rust-fancy-regex") - (version "0.11.0") + (version "0.13.0") (source (origin (method url-fetch) (uri (crate-uri "fancy-regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18j0mmzfycibhxhhhfja00dxd1vf8x5c28lbry224574h037qpxr")))) + (base32 "1wjbqjsdj8fkq6z2i9llq25iaqzd9f208vxnwg8mdbr2ba1lc7jk")))) (build-system cargo-build-system) (arguments `(#: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-regex-automata" ,rust-regex-automata-0.4) + ("rust-regex-syntax" ,rust-regex-syntax-0.8)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-matches" ,rust-matches-0.1) - ("rust-quickcheck" ,rust-quickcheck-1)))) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-regex" ,rust-regex-1)))) (home-page "https://github.com/fancy-regex/fancy-regex") (synopsis "Implementation of regexes with a rich set of features") (description @@ -22938,6 +25519,25 @@ (define-public rust-fancy-regex-0.11 supported in purely NFA-based implementations.") (license license:expat))) +(define-public rust-fancy-regex-0.11 + (package + (inherit rust-fancy-regex-0.13) + (name "rust-fancy-regex") + (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 "18j0mmzfycibhxhhhfja00dxd1vf8x5c28lbry224574h037qpxr")))) + (arguments + `(#: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)))))) + (define-public rust-fancy-regex-0.7 (package (inherit rust-fancy-regex-0.11) @@ -22978,6 +25578,29 @@ (define-public rust-fast-chemail-0.9 is defined in the HTML specification.") (license license:mpl2.0))) +(define-public rust-fast-float-0.2 + (package + (name "rust-fast-float") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast-float" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g7kfll3xyh99kc7r352lhljnwvgayxxa6saifb6725inikmyxlm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1) + ("rust-hexf-parse" ,rust-hexf-parse-0.1) + ("rust-lexical-core" ,rust-lexical-core-0.7) + ("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-ryu" ,rust-ryu-1)))) + (home-page "https://github.com/aldanor/fast-float-rust") + (synopsis "Fast floating-point number parser") + (description "This package provides a fast floating-point number parser.") + (license (list license:expat license:asl2.0)))) + (define-public rust-faster-hex-0.9 (package (name "rust-faster-hex") @@ -23113,8 +25736,32 @@ (define-public rust-fastrand-1 ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) ("rust-wyhash" ,rust-wyhash-0.5)))))) +(define-public rust-fd-lock-4 + (package + (name "rust-fd-lock") + (version "4.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fd-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ixrsd19k2cpl773p9hd0yk3hac684d9aphbxy0jq9q64bd6hmvy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/yoshuawuyts/fd-lock") + (synopsis "Advisory lock on a file") + (description "Fd-lock provides an advisory lock on a file using a file +descriptor to it.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fd-lock-3 (package + (inherit rust-fd-lock-4) (name "rust-fd-lock") (version "3.0.12") (source @@ -23124,20 +25771,12 @@ (define-public rust-fd-lock-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hlnn1302p37qlc9xl2k5y0vw8q8id5kg59an6riy89hjlynpbir")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-rustix" ,rust-rustix-0.37) ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/yoshuawuyts/fd-lock") - (synopsis "Advisory lock on a file") - (description - "Fd-lock provides an advisory lock on a file using a file descriptor to -it.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-fd-lock-2 (package @@ -23157,6 +25796,28 @@ (define-public rust-fd-lock-2 (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-fdeflate-0.3 + (package + (name "rust-fdeflate") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "fdeflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ig65nz4wcqaa3y109sh7yv155ldfyph6bs2ifmz1vad1vizx6sg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-simd-adler32" ,rust-simd-adler32-0.3)) + #:cargo-development-inputs (("rust-miniz-oxide" ,rust-miniz-oxide-0.7) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/image-rs/fdeflate") + (synopsis "Fast specialized deflate implementation") + (description + "This package provides a fast, specialized deflate implementation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fdlimit-0.1 (package (name "rust-fdlimit") @@ -23604,22 +26265,37 @@ (define-public rust-ff-derive-0.12 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-fiat-crypto-0.1 +(define-public rust-figment-0.10 (package - (name "rust-fiat-crypto") - (version "0.1.11") + (name "rust-figment") + (version "0.10.15") (source (origin (method url-fetch) - (uri (crate-uri "fiat-crypto" version)) + (uri (crate-uri "figment" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12gyr01z3bkahbxcrj2nsdq42qbqgq12w32dvpr6a7930i0qfxi1")))) + (base32 "1dnfri2371wzmk7lcxfd121z35b1b2251d93yc23w8b7f1z6fw3j")))) (build-system cargo-build-system) - (home-page "https://github.com/mit-plv/fiat-crypto") - (synopsis "Fiat-crypto generated Rust") - (description "This crate provides the extracted Rust code from the Coq -@code{fiat-crypto} libraries.") + (arguments + `(#:tests? #f ; unresolved import `figment::providers::Toml` + #:cargo-inputs (("rust-atomic" ,rust-atomic-0.6) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pear" ,rust-pear-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-toml" ,rust-toml-0.8) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/SergioBenitez/Figment") + (synopsis "Configuration library") + (description "This package provides an opinionated configuration library.") (license (list license:expat license:asl2.0)))) (define-public rust-file-diff-1 @@ -23639,6 +26315,30 @@ (define-public rust-file-diff-1 (description "An atomic utility for diffing files in testing.") (license license:bsd-3))) +(define-public rust-file-id-0.2 + (package + (name "rust-file-id") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "file-id" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jdg9xq830hghzrqkbnx8nda58a7z6mh8b6vlg5mj87v4l2ji135")))) + (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-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/notify-rs/notify") + (synopsis + "Utility for reading inode numbers (Linux, MacOS) and file IDs (Windows)") + (description + "This package provides a utility for reading inode numbers (Linux, +@code{MacOS}) and file IDs (Windows).") + (license (list license:expat license:asl2.0)))) + (define-public rust-filedescriptor-0.8 (package (name "rust-filedescriptor") @@ -23689,7 +26389,7 @@ (define-public rust-filesize-0.2 (define-public rust-filetime-0.2 (package (name "rust-filetime") - (version "0.2.22") + (version "0.2.23") (source (origin (method url-fetch) @@ -23697,14 +26397,14 @@ (define-public rust-filetime-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1w1a4zb4ciqjl1chvp9dplbacq07jv97pkdn0pzackbk7vfrw0nl")))) + "1za0sbq7fqidk8aaq9v7m9ms0sv8mmi49g6p5cphpan819q4gr0y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) - ("rust-redox-syscall" ,rust-redox-syscall-0.3) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-redox-syscall" ,rust-redox-syscall-0.4) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/alexcrichton/filetime") @@ -23738,6 +26438,29 @@ (define-public rust-filetime-0.1 ("rust-libc" ,rust-libc-0.2) ("rust-redox-syscall" ,rust-redox-syscall-0.1)))))) +(define-public rust-filetreelist-0.5 + (package + (name "rust-filetreelist") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "filetreelist" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i7lnk5ncbjg2nfgadx8phmv7ihaak5872cclrdv54bl620id132")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/extrawurst/gitui") + (synopsis "Filetree abstraction") + (description + "Filetree abstraction based on a sorted path list, supports key based +navigation events, folding, scrolling and more.") + (license license:expat))) + (define-public rust-field-offset-0.3 (package (name "rust-field-offset") @@ -23831,6 +26554,29 @@ (define-public rust-findshlibs-0.10 (license (list license:asl2.0 license:expat)))) +(define-public rust-finl-unicode-1 + (package + (name "rust-finl-unicode") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "finl_unicode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ipdx778849czik798sjbgk5yhwxqybydac18d2g9jb20dxdrkwg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-unicode-categories" ,rust-unicode-categories-0.1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) + (home-page "https://github.com/dahosek/finl_unicode") + (synopsis "Unicode handling library") + (description "Library for handling Unicode functionality.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fixed-1 (package (name "rust-fixed") @@ -24493,6 +27239,40 @@ (define-public rust-font-kit-0.10 ("rust-walkdir" ,rust-walkdir-2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-font8x8-0.3 + (package + (name "rust-font8x8") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "font8x8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0znh67wfv3pyx12619rm8v59fc3ig2ai6pfgqxl855hsf6w8hm47")))) + (build-system cargo-build-system) + (home-page "https://gitlab.com/saibatizoku/font8x8-rs") + (synopsis "8x8 monochrome bitmap font") + (description "8x8 monochrome bitmap font for rendering.") + (license license:expat))) + +(define-public rust-force-send-sync-1 + (package + (name "rust-force-send-sync") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "force-send-sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dpy69psypanm8mx3k0mjmvb0mccyyd8yffcdr1899la8k68ss1j")))) + (build-system cargo-build-system) + (home-page "https://github.com/pacman82/force-send-sync") + (synopsis "Unsafe wrappers to force Send and Sync") + (description "Unsafe wrappers to force Send and Sync.") + (license license:expat))) + (define-public rust-foreign-types-0.5 (package (name "rust-foreign-types") @@ -24625,6 +27405,23 @@ (define-public rust-foreign-types-shared-0.1 (base32 "0jxgzd04ra4imjv8jgkmdq59kj8fsz6w4zxsbmlai34h26225c00")))))) +(define-public rust-foreign-vec-0.1 + (package + (name "rust-foreign-vec") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "foreign_vec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wv6p8yfahcqbdg2wg7wxgj4dm32g2b6spa5sg5sxg34v35ha6zf")))) + (build-system cargo-build-system) + (home-page "https://github.com/DataEngineeringLabs/foreign_vec") + (synopsis "Unofficial implementation of Apache Arrow spec in safe Rust") + (description "Unofficial implementation of Apache Arrow spec in safe Rust.") + (license license:expat))) + (define-public rust-fork-0.1 (package (name "rust-fork") @@ -24670,25 +27467,40 @@ (define-public rust-form-urlencoded-1 syntax, as used by HTML forms.") (license (list license:expat license:asl2.0)))) -(define-public rust-fragile-1 +(define-public rust-fragile-2 (package (name "rust-fragile") - (version "1.0.0") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "fragile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wlihmkjyhvl5rckal32p010piy1l15s6l81h7z31jcd971kk839")))) + (base32 "1ajfdnwdn921bhjlzyvsqvdgci8ab40ln6w9ly422lf8svb428bc")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/mitsuhiko/rust-fragile") + (arguments + `(#:cargo-inputs (("rust-slab" ,rust-slab-0.4)))) + (home-page "https://github.com/mitsuhiko/fragile") (synopsis "Wrapper types for sending non-send values to other threads") (description "This package provides wrapper types for sending non-send values to other threads.") (license license:asl2.0))) +(define-public rust-fragile-1 + (package + (inherit rust-fragile-2) + (name "rust-fragile") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fragile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s2rz4cmmba5zi0gf2h6hprrcrf0wm83c1y45sdls09z99f4qimp")))) + (arguments `(#:cargo-inputs (("rust-fragile" ,rust-fragile-2)))))) + (define-public rust-freetype-0.7 (package (name "rust-freetype") @@ -25212,47 +28024,34 @@ (define-public rust-funty-2 (define-public rust-funty-1 (package - (name "rust-funty") - (version "1.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "funty" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07lb1f8yih3g694id3n90anlgxf8m6p98bllsnn6dmb5rfwsniqq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/myrrlyn/funty") - (synopsis "Trait generalization over the primitive types") - (description - "Prior to 1.0, Rust had traits for the numeric primitive types to permit -code to generalize over which specific type it accepted. This was never -stabilized, and eventually removed. This library reïnstates these traits.") - (license license:expat))) - -(define-public rust-funty-1.1 - (package - (inherit rust-funty-1) + (inherit rust-funty-2) (name "rust-funty") (version "1.1.0") (source (origin (method url-fetch) (uri (crate-uri "funty" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "19wx3p3jmv863y0mjb56sr4qf1kvqhl3fsyslkd92zli0p8lrlzy")))) + (base32 "19wx3p3jmv863y0mjb56sr4qf1kvqhl3fsyslkd92zli0p8lrlzy")))) (arguments `(#:cargo-development-inputs (("rust-static-assertions" ,rust-static-assertions-1)))))) +(define-public rust-funty-1.2.0-yanked + (package + (inherit rust-funty-1) + (name "rust-funty") + (version "1.2.0") ; This version was yanked! + (source + (origin + (method url-fetch) + (uri (crate-uri "funty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07lb1f8yih3g694id3n90anlgxf8m6p98bllsnn6dmb5rfwsniqq")))) + (properties '((crate-version-yanked? . #t))))) + (define-public rust-futf-0.1 (package (name "rust-futf") @@ -25453,6 +28252,40 @@ (define-public rust-futures-cpupool-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-futures-enum-0.1 + (package + (name "rust-futures-enum") + (version "0.1.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "futures-enum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07kvpnr21qalhw4hw44h3335wi0lgrdf02n1vglm4flhwx6x28il")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-derive-utils" ,rust-derive-utils-0.11) + ("rust-find-crate" ,rust-find-crate-0.6) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-futures" ,rust-futures-0.3) + ("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)))) + (home-page "https://github.com/taiki-e/futures-enum") + (synopsis + "Future, Stream, Sink, AsyncRead, AsyncWrite, AsyncSeek, AsyncBufRead for enums") + (description + "This crate provides @code{#[derive(Future, Stream, Sink, AsyncRead, AsyncWrite, +AsyncSeek, AsyncBufRead)]} for enums.") + (license (list license:asl2.0 license:expat)))) + + (define-public rust-futures-executor-0.3 (package (name "rust-futures-executor") @@ -26125,6 +28958,47 @@ (define-public rust-galil-seiferas-0.1 time, for nonorderable alphabets.") (license (list license:expat license:asl2.0)))) +(define-public rust-gat-std-0.1 + (package + (name "rust-gat-std") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gat-std" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14v4ldnzi8y8zkcj2qq7rj4af5ygk0s9iklflssxpcdgqzsfp3p0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gat-std-proc" ,rust-gat-std-proc-0.1)))) + (home-page "https://github.com/CraftSpider/gat-std") + (synopsis "Variants of Rust std traits that use GATs") + (description "This package provides variants of Rust std traits that +use GATs.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gat-std-proc-0.1 + (package + (name "rust-gat-std-proc") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gat-std-proc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0br6d92fg4g7s81lsms6q3ayss1bl19fanqxc7v1csnic2vaw84c")))) + (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/CraftSpider/gat-std") + (synopsis "Proc macros for gat-std") + (description "This package provides proc macros for @code{gat-std}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gcc-0.3 (package (name "rust-gcc") @@ -26525,14 +29399,14 @@ (define-public rust-getopts-0.2 (define-public rust-getrandom-0.2 (package (name "rust-getrandom") - (version "0.2.10") + (version "0.2.12") (source (origin (method url-fetch) (uri (crate-uri "getrandom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09zlimhhskzf7cmgcszix05wyz2i6fcpvh711cv1klsxl6r3chdy")))) + (base32 "1d8jb9bv38nkwlqqdjcav6gxckgwc9g30pm3qq506rvncpm9400r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -26556,27 +29430,27 @@ (define-public rust-getrandom-0.1 (package (inherit rust-getrandom-0.2) (name "rust-getrandom") - (version "0.1.14") + (version "0.1.16") (source (origin (method url-fetch) (uri (crate-uri "getrandom" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1sq30li71h19rhnhs1h6576ja68insajx8wvh1nn088r8pc8vg3s")))) + (base32 "1kjzmz60qx9mn615ks1akjbf36n3lkv27zfwbcam0fzmj56wphwg")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-js-sys" ,rust-js-sys-0.3) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-stdweb" ,rust-stdweb-0.4) ("rust-wasi" ,rust-wasi-0.9) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + #:cargo-development-inputs + (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))))) (define-public rust-getset-0.1 (package @@ -26735,6 +29609,27 @@ (define-public rust-gg-alloc-1 pointers above 2G.") (license license:gpl3))) +(define-public rust-gh-emoji-1 + (package + (name "rust-gh-emoji") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "gh-emoji" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dwc7kr1dsb4bn8n87x7363c2c6vc4pi9fy6s74nk0r8vxhxz2pb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-phf" ,rust-phf-0.11) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://lib.rs/crates/gh-emoji") + (synopsis "Convert @code{:emoji:} to Unicode") + (description + "Convert @code{:emoji:} to Unicode using @code{GitHub's} emoji names.") + (license license:expat))) + (define-public rust-ghost-0.1 (package (name "rust-ghost") @@ -26762,8 +29657,37 @@ (define-public rust-ghost-0.1 ;; Either license can be chosen at the users option. (license (list license:expat license:asl2.0)))) +(define-public rust-gimli-0.28 + (package + (name "rust-gimli") + (version "0.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gimli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)) + #:cargo-development-inputs (("rust-test-assembler" ,rust-test-assembler-0.1)))) + (home-page "https://github.com/gimli-rs/gimli") + (synopsis "Library for reading and writing the DWARF debugging format") + (description + "This package provides a library for reading and writing the DWARF +debugging format.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gimli-0.27 (package + (inherit rust-gimli-0.28) (name "rust-gimli") (version "0.27.2") (source (origin @@ -26773,7 +29697,6 @@ (define-public rust-gimli-0.27 (sha256 (base32 "1d5v6jjchf4872jynjsg5ni4vankm1341bas8qindygb6g9962md")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) @@ -26791,13 +29714,7 @@ (define-public rust-gimli-0.27 ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1) ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-typed-arena" ,rust-typed-arena-2)))) - (home-page "https://github.com/gimli-rs/gimli") - (synopsis "Library for reading and writing the DWARF debugging format") - (description - "This package provides a library for reading and writing the DWARF -debugging format.") - (license (list license:expat license:asl2.0)))) + ("rust-typed-arena" ,rust-typed-arena-2)))))) (define-public rust-gimli-0.26 (package @@ -27129,8 +30046,48 @@ (define-public rust-glam-0.13 graphics.") (license (list license:expat license:asl2.0)))) +(define-public rust-glium-0.32 + (package + (name "rust-glium") + (version "0.32.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "glium" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gwknlxblg5hlwjg91y8pp5slr9dnca7cs1x3nwi8q5qxhl6fxnj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Creating EventLoop multiple times is not supported. + #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-fnv" ,rust-fnv-1) + ("rust-gl-generator" ,rust-gl-generator-0.14) + ("rust-glutin" ,rust-glutin-0.29) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-memoffset" ,rust-memoffset-0.6) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-takeable-option" ,rust-takeable-option-0.5)) + #:cargo-development-inputs (("rust-cgmath" ,rust-cgmath-0.18) + ("rust-genmesh" ,rust-genmesh-0.6) + ("rust-image" ,rust-image-0.24) + ("rust-libc" ,rust-libc-0.2) + ("rust-obj" ,rust-obj-0.10) + ("rust-ouroboros" ,rust-ouroboros-0.15) + ("rust-rand" ,rust-rand-0.8)))) + (native-inputs (list pkg-config)) + (inputs (list expat fontconfig freetype)) + (home-page "https://github.com/glium/glium") + (synopsis "OpenGL wrapper") + (description + "Glium is an intermediate layer between OpenGL and your application. You +still need to manually handle the graphics pipeline, but without having to use +OpenGL's old and error-prone API.") + (license license:asl2.0))) + (define-public rust-glium-0.31 (package + (inherit rust-glium-0.32) (name "rust-glium") (version "0.31.0") (source @@ -27141,7 +30098,6 @@ (define-public rust-glium-0.31 (sha256 (base32 "06cfsq3mgjlq3bnxv7jh5bb5is7040xyvf8cf1x45vnq8fdz1d0a")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #true ;XXX circular dependencies #:cargo-inputs @@ -27157,14 +30113,7 @@ (define-public rust-glium-0.31 ("rust-genmesh" ,rust-genmesh-0.6) ("rust-gl-generator" ,rust-gl-generator-0.14) ("rust-obj" ,rust-obj-0.10) - ("rust-ouroboros" ,rust-ouroboros-0.14)))) - (home-page "https://github.com/glium/glium") - (synopsis "OpenGL wrapper") - (description - "Glium is an intermediate layer between OpenGL and your application. You -still need to manually handle the graphics pipeline, but without having to use -OpenGL's old and error-prone API.") - (license license:asl2.0))) + ("rust-ouroboros" ,rust-ouroboros-0.14)))))) (define-public rust-glium-0.25 (package @@ -27305,25 +30254,24 @@ (define-public rust-globwalk-0.8 open file descriptors.") (license license:expat))) -(define-public rust-gloo-timers-0.2 +(define-public rust-gloo-timers-0.3 (package (name "rust-gloo-timers") - (version "0.2.1") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "gloo-timers" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827")))) + (base32 "1519157n7xppkk6pdw5w52vy1llzn5iljkqd7q1h5609jv7l7cdv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3)) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) @@ -27335,6 +30283,19 @@ (define-public rust-gloo-timers-0.2 timers.") (license (list license:expat license:asl2.0)))) +(define-public rust-gloo-timers-0.2 + (package + (inherit rust-gloo-timers-0.3) + (name "rust-gloo-timers") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "gloo-timers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p2yqcxw0q9kclhwpgshq1r4ijns07nmmagll3lvrgl7pdk5m6cv")))))) + (define-public rust-gmp-mpfr-sys-1 (package (name "rust-gmp-mpfr-sys") @@ -27433,6 +30394,32 @@ (define-public rust-goblin-0.6 ("rust-plain" ,rust-plain-0.2) ("rust-scroll" ,rust-scroll-0.11)))))) +(define-public rust-graphql-parser-0.3 + (package + (name "rust-graphql-parser") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphql-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wp6vnrhgi6q3b942zkc6p4mi104gbw71pnc0d5c1ps7ab7d9ayi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-combine" ,rust-combine-3) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.5)))) + (home-page "https://github.com/graphql-rust/graphql-parser") + (synopsis + "Parser, AST and serializer for graphql query language") + (description + "This package provides a parser, AST and serializer for graphql query +language and scheme definition language (sometimes called IDL).") + (license (list license:expat license:asl2.0)))) + (define-public rust-greetd-ipc-0.9 (package (name "rust-greetd-ipc") @@ -27716,6 +30703,36 @@ (define-public rust-grep-searcher-0.1 "Fast line oriented regex searching as a library.") (license (list license:unlicense license:expat)))) +(define-public rust-griddle-0.5 + (package + (name "rust-griddle") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "griddle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qv3ynh0dzfjqz3wxz8yfkda1jxz8jam9mhjrlbv328v34i1vf3b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) + ("rust-hashbrown" ,rust-hashbrown-0.11) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-fnv" ,rust-fnv-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/jonhoo/griddle.git") + (synopsis "HashMap variant that spreads resize load across inserts") + (description + "This package provides a @code{HashMap} variant that spreads resize load +across inserts.") + (license (list license:expat license:asl2.0)))) + (define-public rust-group-0.13 (package (name "rust-group") @@ -27939,20 +30956,111 @@ (define-public rust-half-1 ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-halfbrown-0.2 + (package + (name "rust-halfbrown") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "halfbrown" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vzg46039pd730vc2hdhl09h86j4cd007awwlrf8l407hqd6d245")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/Licenser/halfbrown") + (synopsis "Multi backend HashMap for different key space sizes") + (description "This package provides a multi backend @code{HashMap} for +higher performance on different key space sizes.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-handlebars-5 + (package + (name "rust-handlebars") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "handlebars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r51g648z3skfp65xysh3zcai1qlm7z405izxqfnjrlyp5v38a5b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-rhai" ,rust-rhai-1) + ("rust-rust-embed" ,rust-rust-embed-8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-pprof" ,rust-pprof-0.13) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-tiny-http" ,rust-tiny-http-0.12)))) + (home-page "https://github.com/sunng87/handlebars-rust") + (synopsis "Handlebars templating implemented in Rust") + (description "Handlebars templating implemented in Rust.") + (license license:expat))) + +(define-public rust-handlebars-4 + (package + (inherit rust-handlebars-5) + (name "rust-handlebars") + (version "4.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "handlebars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09dj4rk6r9ngy1ki34mppcqq4pcnlhjd02yhnf724qpkkympp9ps")))) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-rhai" ,rust-rhai-1) + ("rust-rust-embed" ,rust-rust-embed-8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-pprof" ,rust-pprof-0.10) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-tiny-http" ,rust-tiny-http-0.11)))) + (native-inputs (list protobuf)))) + (define-public rust-home-0.5 (package (name "rust-home") - (version "0.5.5") + (version "0.5.9") (source (origin (method url-fetch) (uri (crate-uri "home" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nqx1krijvpd03d96avsdyknd12h8hs3xhxwgqghf8v9xxzc4i2l")))) + (base32 "19grxyg35rqfd802pcc9ys1q3lafzlcjcv2pl2s5q8xpyr5kblg3")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.48)))) + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://github.com/rust-lang/cargo") (synopsis "Shared definitions of home directories") (description "This package provides the definition of @code{home_dir} @@ -28003,8 +31111,28 @@ (define-public rust-hash-hasher-2 already-hashed or hash-like data.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hash32-0.3 + (package + (name "rust-hash32") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hash32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01h68z8qi5gl9lnr17nz10lay8wjiidyjdyd60kqx8ibj090pmj7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)))) + (home-page "https://github.com/japaric/hash32") + (synopsis "32-bit hashing machinery") + (description "This package provides 32-bit hashing machinery.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hash32-0.2 (package + (inherit rust-hash32-0.3) (name "rust-hash32") (version "0.2.1") (source @@ -28014,15 +31142,9 @@ (define-public rust-hash32-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0rrbv5pc5b1vax6j6hk7zvlrpw0h6aybshxy9vbpgsrgfrc5zhxh")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1)))) - (home-page "https://github.com/japaric/hash32") - (synopsis "32-bit hashing machinery") - (description "This package provides 32-bit hashing machinery.") - (license (list license:expat license:asl2.0)))) + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)))))) (define-public rust-hash32-0.1 (package @@ -28066,6 +31188,30 @@ (define-public rust-hash32-derive-0.1 @code{#[derive(Hash32)]}.") (license (list license:expat license:asl2.0)))) +(define-public rust-hashbag-0.1 + (package + (name "rust-hashbag") + (version "0.1.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "hashbag" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14wx5rx11h0nb1rmlwmiw7719q2qf941x7ipcdg8yahb0sr99x4q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-griddle" ,rust-griddle-0.5) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/jonhoo/hashbag.git") + (synopsis "Unordered multiset implementation using a hash bag") + (description + "This crate implements an unordered multiset implementation using a hash bag.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hashbrown-0.14 (package (name "rust-hashbrown") @@ -28317,8 +31463,32 @@ (define-public rust-hashbrown-0.3 ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-serde" ,rust-serde-1)))))) +(define-public rust-hashlink-0.9 + (package + (name "rust-hashlink") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hashlink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vi5nxldy84raw4jy0fq059xq7mnfha0y2gg7kfihxb0yzvslbk9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/kyren/hashlink") + (synopsis "HashMap-like containers with user controllable order") + (description "This package provides HashMap-like containers that hold +their key-value pairs in a user controllable order.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hashlink-0.8 (package + (inherit rust-hashlink-0.9) (name "rust-hashlink") (version "0.8.2") (source (origin @@ -28328,19 +31498,13 @@ (define-public rust-hashlink-0.8 (sha256 (base32 "1ap6ar5jlqq6ln7d9r2j5079mbx0zg8643xacqyjwkqw96ws2q87")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://github.com/kyren/hashlink") - (synopsis "HashMap-like containers with user controllable order") - (description "This package provides HashMap-like containers that hold -their key-value pairs in a user controllable order.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-hashlink-0.7 (package @@ -28397,8 +31561,35 @@ (define-public rust-hdrhistogram-7 (description "This package provides a port of @code{HdrHistogram} to Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-heapless-0.8 + (package + (name "rust-heapless") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "heapless" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b9zpdjv4qkl2511s2c80fz16fx9in4m9qkhbaa8j73032v9xyqb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-defmt" ,rust-defmt-0.3) + ("rust-hash32" ,rust-hash32-0.3) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-ufmt-write" ,rust-ufmt-write-0.1)) + #:cargo-development-inputs (("rust-ufmt" ,rust-ufmt-0.2)))) + (home-page "https://github.com/japaric/heapless") + (synopsis "Static friendly data structures") + (description "This package provides @code{static} friendly data structures +that don't require dynamic memory allocation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-heapless-0.7 (package + (inherit rust-heapless-0.8) (name "rust-heapless") (version "0.7.16") (source @@ -28408,7 +31599,6 @@ (define-public rust-heapless-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hq7ifnzpdj9rc06rhys4qa3qkr6q3k01kwfca0ak7lbl4jbq16v")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--lib") @@ -28421,13 +31611,7 @@ (define-public rust-heapless-0.7 ("rust-spin" ,rust-spin-0.9) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) ("rust-ufmt-write" ,rust-ufmt-write-0.1)) - #:cargo-development-inputs - (("rust-ufmt" ,rust-ufmt-0.1)))) - (home-page "https://github.com/rust-embedded/heapless") - (synopsis "Static friendly data structures") - (description "This package provides @code{static} friendly data structures -that don't require dynamic memory allocation.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-ufmt" ,rust-ufmt-0.1)))))) (define-public rust-heapless-0.6 (package @@ -28542,8 +31726,29 @@ (define-public rust-heapsize-plugin-0.1 total runtime size of an object on the heap") (license license:mpl2.0))) +(define-public rust-heck-0.5 + (package + (name "rust-heck") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "heck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sjmpsdl8czyh9ywl3qcsfsq9a307dg4ni2vnlwgnzzqhc4y0113")))) + (build-system cargo-build-system) + (home-page "https://github.com/withoutboats/heck") + (synopsis "Case conversion library") + (description + "This library exists to provide case conversion between common cases like +CamelCase and snake_case. It is intended to be unicode aware, internally +consistent, and reasonably well performing.") + (license (list license:expat license:asl2.0)))) + (define-public rust-heck-0.4 (package + (inherit rust-heck-0.5) (name "rust-heck") (version "0.4.1") (source @@ -28553,18 +31758,9 @@ (define-public rust-heck-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) - (home-page "https://github.com/withoutboats/heck") - (synopsis "Case conversion library") - (description - "This library exists to provide case conversion between common cases like -CamelCase and snake_case. It is intended to be unicode aware, internally -consistent, and reasonably well performing.") - (license (list license:asl2.0 - license:expat)))) + (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))))) (define-public rust-heck-0.3 (package @@ -28828,6 +32024,19 @@ (define-public rust-hexf-parse-0.2 provided for each type.") (license license:cc0))) +(define-public rust-hexf-parse-0.1 + (package + (inherit rust-hexf-parse-0.2) + (name "rust-hexf-parse") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hexf-parse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b2h0lvksn8748764x46729ygpz8grack24spin0k29ssmr6yabr")))))) + (define-public rust-hostname-0.3 (package (name "rust-hostname") @@ -28892,17 +32101,47 @@ (define-public rust-hound-3 (description "This package provides a wav encoding and decoding library.") (license license:asl2.0))) -(define-public rust-html5ever-0.26 +(define-public rust-html5ever-0.27 (package (name "rust-html5ever") - (version "0.26.0") + (version "0.27.0") (source (origin (method url-fetch) (uri (crate-uri "html5ever" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my")))) + "1m24sbpk572f5qhhkj4kkxvsd64rn968s0vxwvqlds76w2pp2dy1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-mac" ,rust-mac-0.1) + ("rust-markup5ever" ,rust-markup5ever-0.12) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-typed-arena" ,rust-typed-arena-2)))) + (home-page "https://github.com/servo/html5ever") + (synopsis "High-performance browser-grade HTML5 parser") + (description + "This package provides a high-performance browser-grade HTML5 parser.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-html5ever-0.26 + (package + (inherit rust-html5ever-0.27) + (name "rust-html5ever") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "html5ever" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx3lhfwngi21wa79cpjv5rd4wn5vmklr50wrwbryidq92mqr9my")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -28914,12 +32153,7 @@ (define-public rust-html5ever-0.26 ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-typed-arena" ,rust-typed-arena-1)))) - (home-page "https://github.com/servo/html5ever") - (synopsis "High-performance browser-grade HTML5 parser") - (description - "This package provides a high-performance browser-grade HTML5 parser.") - (license (list license:expat license:asl2.0)))) + ("rust-typed-arena" ,rust-typed-arena-1)))))) (define-public rust-html5ever-0.25 (package @@ -29220,6 +32454,31 @@ (define-public rust-kuchiki-0.8 and traversing, manipulating, and querying the document tree.") (license license:expat))) +(define-public rust-human-date-parser-0.1 + (package + (name "rust-human-date-parser") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "human-date-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g7hlbayw3jknj010jhrcxscyrgpz2s08q3v74337h7xs4x5pmlj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `concat_idents` + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/technologicalMayhem/human-date-parser") + (synopsis "Parse human-readable strings that express dates") + (description + "This package parses strings that express dates in a human way into ones +usable by code.") + (license license:expat))) + (define-public rust-human-format-1 (package (name "rust-human-format") @@ -29515,18 +32774,17 @@ (define-public rust-iai-macro-0.1 (define-public rust-iana-time-zone-haiku-0.1 (package (name "rust-iana-time-zone-haiku") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "iana-time-zone-haiku" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jix9qrqxclj9r4wkg7d3fr987d77vdg3qy2c5hl4ry19wlaw0q7")))) + (base32 "17r6jmj31chn7xs9698r122mapq85mfnv98bb4pg6spm0si2f67k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cxx" ,rust-cxx-1) - ("rust-cxx-build" ,rust-cxx-build-1)))) + (("rust-cc" ,rust-cc-1)))) (home-page "https://github.com/strawlab/iana-time-zone") (synopsis "IANA-time-zone support crate for Haiku OS") (description @@ -29536,14 +32794,14 @@ (define-public rust-iana-time-zone-haiku-0.1 (define-public rust-iana-time-zone-0.1 (package (name "rust-iana-time-zone") - (version "0.1.53") + (version "0.1.60") (source (origin (method url-fetch) (uri (crate-uri "iana-time-zone" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ra7nvai8n3alvljswacjbnhfcpivpi7xqbc5n048w18gdk25hb4")))) + "0hdid5xz3jznm04lysjm3vi93h3c523w0hcc3xba47jl3ddbpzz7")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -29553,7 +32811,7 @@ (define-public rust-iana-time-zone-0.1 ("rust-iana-time-zone-haiku" ,rust-iana-time-zone-haiku-0.1) ("rust-js-sys" ,rust-js-sys-0.3) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-windows-core" ,rust-windows-core-0.52)) #:cargo-development-inputs (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/strawlab/iana-time-zone") @@ -29847,6 +33105,35 @@ (define-public rust-ignore-0.4 ignore files such as @file{.gitignore} against file paths.") (license (list license:unlicense license:expat)))) +(define-public rust-ignore-files-1 + (package + (name "rust-ignore-files") + (version "1.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ignore-files" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ifzz6i2ypv1ffvnx75yflzzbv04jzgzil5lci25aik3bkcfsa17")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dunce" ,rust-dunce-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-gix-config" ,rust-gix-config-0.31) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-miette" ,rust-miette-5) + ("rust-project-origins" ,rust-project-origins-1) + ("rust-radix-trie" ,rust-radix-trie-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/watchexec/watchexec") + (synopsis "Find, parse, and interpret ignore files") + (description "This package provides functions to find, parse, and interpret +ignore files.") + (license license:asl2.0))) + (define-public rust-im-rc-15 (package (name "rust-im-rc") @@ -29911,6 +33198,67 @@ (define-public rust-imara-diff-0.1 (description "This package provides a minimal terminfo libary.") (license license:asl2.0))) +(define-public rust-imbl-2 + (package + (name "rust-imbl") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "imbl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11bhchs0d1bbbmr8ari4y4d62vqxs7xg4fkhjlhgbv98h0n193cp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bitmaps" ,rust-bitmaps-3) + ("rust-imbl-sized-chunks" ,rust-imbl-sized-chunks-0.1) + ("rust-proptest" ,rust-proptest-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6) + ("rust-rayon" ,rust-rayon-1) + ("rust-refpool" ,rust-refpool-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs + (("rust-metrohash" ,rust-metrohash-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive" ,rust-proptest-derive-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/jneem/imbl") + (synopsis "Immutable collection datatypes") + (description "This crate provides immutable collection datatypes.") + (license license:mpl2.0))) + +(define-public rust-imbl-sized-chunks-0.1 + (package + (name "rust-imbl-sized-chunks") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "imbl-sized-chunks" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qzdw55na2w6fd44p7y9rh05nxa98gzpaigmwg57sy7db3xhch0l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-array-ops" ,rust-array-ops-0.1) + ("rust-bitmaps" ,rust-bitmaps-3) + ("rust-refpool" ,rust-refpool-0.4)))) + (home-page "https://github.com/jneem/imbl-sized-chunks") + (synopsis "Sized chunk datatypes") + (description "This package provides sized chunk datatypes.") + (license license:mpl2.0))) + (define-public rust-impl-codec-0.5 (package (name "rust-impl-codec") @@ -29932,6 +33280,24 @@ (define-public rust-impl-codec-0.5 for uint and fixed hash.") (license (list license:expat license:asl2.0)))) +(define-public rust-impl-more-0.1 + (package + (name "rust-impl-more") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "impl-more" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bdv06br4p766rcgihhjwqyz8fcz31xyaq14rr53vfh3kifafv10")))) + (build-system cargo-build-system) + (arguments (list #:tests? #f)) ; use of undeclared crate or module `eyre` + (home-page "https://github.com/robjtede/impl-more") + (synopsis "Concise, declarative trait implementation macros") + (description "Concise, declarative trait implementation macros.") + (license (list license:expat license:asl2.0)))) + (define-public rust-impl-rlp-0.3 (package (name "rust-impl-rlp") @@ -30005,6 +33371,23 @@ (define-public rust-impl-trait-for-tuples-0.2 a trait for tuples.") (license (list license:asl2.0 license:expat)))) +(define-public rust-impls-1 + (package + (name "rust-impls") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "impls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g2i16vn99kmzfaag6df9bjg3k9p2p1jc3qdm5hqhlvhpmdn8iks")))) + (build-system cargo-build-system) + (home-page "https://github.com/nvzqz/impls") + (synopsis "Determine if a type implements a logical trait expression") + (description "Determine if a type implements a logical trait expression.") + (license (list license:expat license:asl2.0)))) + (define-public rust-include-dir-0.7 (package (name "rust-include-dir") @@ -30048,24 +33431,24 @@ (define-public rust-include-dir-macros-0.7 (description "The procedural macro used by include_dir.") (license license:expat))) -(define-public rust-include-flate-0.1 +(define-public rust-include-flate-0.2 (package (name "rust-include-flate") - (version "0.1.3") + (version "0.2.0") (source (origin (method url-fetch) (uri (crate-uri "include-flate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xd63rhr03ax1w327ws46wc9zyw5k9jsaxfy24j6wg9km3xhfqii")))) + (base32 "1c5dsx6j9jwrd6calhxdgip85qjy45hc8v1740fr61k46ilibqf2")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-include-flate-codegen-exports" ,rust-include-flate-codegen-exports-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libflate" ,rust-libflate-0.1)))) + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-include-flate-codegen-exports" + ,rust-include-flate-codegen-exports-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libflate" ,rust-libflate-1)))) (home-page "https://github.com/SOF3/include-flate") (synopsis "Variant of @code{include_bytes!/include_str!} with compression") (description @@ -30073,26 +33456,45 @@ (define-public rust-include-flate-0.1 with compile-time deflation and runtime lazy inflation.") (license license:asl2.0))) +(define-public rust-include-flate-0.1 + (package + (inherit rust-include-flate-0.2) + (name "rust-include-flate") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "include-flate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j71284rcjl2pnnrnvp2i4r9dyikpw939gcvz0f7qm91qx4v9p6z")))) + (arguments + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs + (("rust-include-flate-codegen-exports" ,rust-include-flate-codegen-exports-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libflate" ,rust-libflate-1)))))) + (define-public rust-include-flate-codegen-0.1 (package (name "rust-include-flate-codegen") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "include-flate-codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mbw6fcczmfw4dabps4l90mdn2wdy9zhqwh60xx4fjcxqfsm9ksb")))) + (base32 "1s34ssq0l3d2sn8n3mxmkz3jbm600fbckd0213mjjcgs34a6wz9s")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel #:cargo-inputs - (("rust-libflate" ,rust-libflate-0.1) + (("rust-libflate" ,rust-libflate-1) ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/SOF3/include-flate") (synopsis "Macro codegen for the @code{include-flate} crate") (description @@ -30103,17 +33505,17 @@ (define-public rust-include-flate-codegen-0.1 (define-public rust-include-flate-codegen-exports-0.1 (package (name "rust-include-flate-codegen-exports") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "include-flate-codegen-exports" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dk7xdrck9f3bjnwm3rmh5gl1hs64lr2gnd3dv3jznharcmyb4mw")))) + (base32 "00qswg7avv92mjp0p3kmswp3jask0psz1bmq3h7jin73zx1p0rbm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel #:cargo-inputs (("rust-include-flate-codegen" ,rust-include-flate-codegen-0.1) ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) @@ -30147,18 +33549,19 @@ (define-public rust-indenter-0.3 (define-public rust-indexmap-2 (package (name "rust-indexmap") - (version "2.1.0") + (version "2.2.5") (source (origin (method url-fetch) (uri (crate-uri "indexmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07rxrqmryr1xfnmhrjlz8ic6jw28v6h5cig3ws2c9d0wifhy2c6m")))) + "1x4x9zdqvlkfks3y84dsynh1p8na3nn48nn454s26rqla6fr42vv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-borsh" ,rust-borsh-1) ("rust-equivalent" ,rust-equivalent-1) ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-quickcheck" ,rust-quickcheck-1) @@ -30168,7 +33571,7 @@ (define-public rust-indexmap-2 #:cargo-development-inputs (("rust-fnv" ,rust-fnv-1) ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-itertools" ,rust-itertools-0.11) + ("rust-itertools" ,rust-itertools-0.12) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) @@ -30292,8 +33695,49 @@ (define-public rust-indextree-4 of reference counted pointers.") (license license:expat))) +(define-public rust-indicatif-0.17 + (package + (name "rust-indicatif") + (version "0.17.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "indicatif" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18xyqxw9i5x4sbpzckhfz3nm984iq9r7nbi2lk76nz888n7mlfkn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=style::tests::wide_element_style") + #:cargo-inputs (("rust-console" ,rust-console-0.15) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-instant" ,rust-instant-0.1) + ("rust-number-prefix" ,rust-number-prefix-0.4) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vt100" ,rust-vt100-0.15)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-4) + ("rust-futures" ,rust-futures-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/console-rs/indicatif") + (synopsis "Progress bar and cli reporting library for Rust") + (description + "This package provides a progress bar and cli reporting library for +Rust.") + (license license:expat))) + (define-public rust-indicatif-0.16 (package + (inherit rust-indicatif-0.17) (name "rust-indicatif") (version "0.16.2") (source (origin @@ -30303,7 +33747,6 @@ (define-public rust-indicatif-0.16 (sha256 (base32 "06xyjs0kzqiqkjn60n1miwm2l87sa9p2lmzz0ymq18y72z37s81d")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-console" ,rust-console-0.15) @@ -30313,15 +33756,8 @@ (define-public rust-indicatif-0.16 ("rust-regex" ,rust-regex-1) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/console-rs/indicatif") - (synopsis "Progress bar and cli reporting library for Rust") - (description - "This package provides a progress bar and cli reporting library for -Rust.") - (license license:expat))) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-indicatif-0.15 (package @@ -30462,6 +33898,59 @@ (define-public rust-infer-0.2 signature.") (license license:expat))) +(define-public rust-inferno-0.11 + (package + (name "rust-inferno") + (version "0.11.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "inferno" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ndqcz0p6n4gqrqlq53j42v516nnnii0ljshx634cjnlkj1hy7rj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=collapse::dtrace::tests::test_collapse_multi_dtrace" + "--skip=collapse::dtrace::tests::test_collapse_multi_dtrace_simple" + "--skip=collapse::perf::tests::test_collapse_multi_perf" + "--skip=collapse::perf::tests::test_collapse_multi_perf_simple" + "--skip=collapse::perf::tests::test_multiple_skip_after" + "--skip=collapse::perf::tests::test_one_skip_after") + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-clap" ,rust-clap-4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-dashmap" ,rust-dashmap-5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-itoa" ,rust-itoa-1) + ("rust-log" ,rust-log-0.4) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-quick-xml" ,rust-quick-xml-0.26) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-str-stack" ,rust-str-stack-0.1)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-libflate" ,rust-libflate-2) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-testing-logger" ,rust-testing-logger-0.1)))) + (home-page "https://github.com/jonhoo/inferno") + (synopsis "Rust port of the FlameGraph performance profiling tools") + (description + "@code{inferno} is a Rust port of the @code{FlameGraph} performance +profiling tool suite.") + (license license:cddl1.0))) + (define-public rust-inflate-0.4 (package (name "rust-inflate") @@ -30529,6 +34018,31 @@ (define-public rust-inflector-0.11 as both traits and pure functions acting on String types.") (license license:bsd-2))) +(define-public rust-inlinable-string-0.1 + (package + (name "rust-inlinable-string") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "inlinable_string" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ysjci8yfvxgf51z0ny2nnwhxrclhmb3vbngin8v4bznhr3ybyn8")))) + (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/fitzgen/inlinable_string") + (synopsis "Crate which provides the `InlinableString` type") + (description + "The @code{inlinable_string} crate provides the @code{InlinableString} type +-- an owned, grow-able UTF-8 string that stores small strings inline and avoids +heap-allocation -- and the @code{StringExt} trait which abstracts string +operations over both @code{std::string::String} and @code{InlinableString} (or +even your own custom string type).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-inline-c-0.1 (package (name "rust-inline-c") @@ -30951,21 +34465,22 @@ (define-public rust-instant-0.1 (define-public rust-integer-encoding-3 (package (name "rust-integer-encoding") - (version "3.0.2") + (version "3.0.4") (source (origin (method url-fetch) (uri (crate-uri "integer-encoding" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f0mk7d694g2sz4my5zh7i5w4kijx5y16x6dip7fv0pazx013hch")))) + (base32 "00ng7jmv6pqwqc8w1297f768bn0spwwicdr7hb40baax00r3gc4b")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-tokio" ,rust-tokio-1)))) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/dermesser/integer-encoding-rs") (synopsis "Encoding and decoding integers to and from bytestrings") (description @@ -30977,20 +34492,20 @@ (define-public rust-integer-encoding-1 (package (inherit rust-integer-encoding-3) (name "rust-integer-encoding") - (version "1.2.2") + (version "1.1.7") (source (origin (method url-fetch) (uri (crate-uri "integer-encoding" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c032xhif5d6a8nc4cak60g5ylwd6p9569122m5hm67brx2l5yhb")))) + (base32 "0vxmsfxwsf8dclppdmikjklzh84w341crl0lb3bpydwv18c53p28")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-tokio" ,rust-tokio-0.2)))))) + ("rust-tokio" ,rust-tokio-0.2)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-0.2)))))) (define-public rust-interpolate-name-0.2 (package @@ -31015,6 +34530,23 @@ (define-public rust-interpolate-name-0.2 "Simple procedural macro attribute for repetitive tests.") (license license:expat))) +(define-public rust-invalidstring-0.1 + (package + (name "rust-invalidstring") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "invalidstring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vxin67ybys7ihmwr5xvvwqv3q7lcn2pxg1skw14xr8kjpa0z5nj")))) + (build-system cargo-build-system) + (home-page "https://github.com/extrawurst/gitui") + (synopsis "Invalid string data for testing") + (description "This crate is just for testing invalid string data.") + (license license:expat))) + (define-public rust-inventory-0.3 (package (name "rust-inventory") @@ -31131,6 +34663,32 @@ (define-public rust-io-close-0.3 @code{BufWriter}.") (license (list license:expat license:asl2.0)))) +(define-public rust-io-extras-0.18 + (package + (name "rust-io-extras") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "io-extras" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vfi3dm8667naalicaaq1lqp8pvnjp805x5903k2k2hfp4zyf0f3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-io-lifetimes" ,rust-io-lifetimes-2) + ("rust-mio" ,rust-mio-0.8) + ("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.52)) + #:cargo-development-inputs (("rust-os-pipe" ,rust-os-pipe-1)))) + (home-page "https://github.com/sunfishcode/io-extras") + (synopsis "File/socket handle/descriptor utilities") + (description "File/socket handle/descriptor utilities.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-io-lifetimes-2 (package (name "rust-io-lifetimes") @@ -31231,6 +34789,30 @@ (define-public rust-io-uring-0.5 (description "The low-level `io_uring` userspace interface for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-ioslice-0.6 + (package + (name "rust-ioslice") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ioslice" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06z38yklsxn53ypslljk21cj25py7wbyagifs5s91f53r1916msy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/4lDO2/ioslice-rs") + (synopsis "@code{no_std} I/O slices compatible with @code{std} and @code{lbc}") + (description + "This package provides @code{no_std} I/O slices that are still optionally +ABI compatible with @code{std} and @code{lbc}.") + (license license:expat))) + (define-public rust-iovec-0.1 (package (name "rust-iovec") @@ -31272,21 +34854,22 @@ (define-public rust-iri-string-0.7 #: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}.") + (description + "This package provides string types for @acronym{IRIs, Internationalized +Resource Identifiers} and @acronym{URIs, Uniform Resource Identifiers}.") (license (list license:expat license:asl2.0)))) (define-public rust-is-ci-1 (package (name "rust-is-ci") - (version "1.1.1") + (version "1.2.0") (source (origin (method url-fetch) (uri (crate-uri "is_ci" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ywra2z56x6d4pc02zq24a4x7gvpixynh9524icbpchbf9ydwv31")))) + "0ifwvxmrsj4r29agfzr71bjq6y1bihkx38fbzafq5vl0jn1wjmbn")))) (build-system cargo-build-system) (home-page "https://github.com/zkat/is_ci") (synopsis "Lightweight CI environment checker") @@ -31452,6 +35035,26 @@ (define-public rust-is-debug-1 (description "get build model is debug") (license (list license:expat license:asl2.0)))) +(define-public rust-is-docker-0.2 + (package + (name "rust-is-docker") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "is-docker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cyibrv6817cqcpf391m327ss40xlbik8wxcv5h9pj9byhksx2wj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/TheLarkInn/is-docker") + (synopsis "Checks if the process is running inside a Docker container") + (description "This package provides a helper function to check if the +process is running inside a Docker container.") + (license license:expat))) + (define-public rust-is-executable-1 (package (name "rust-is-executable") @@ -31505,8 +35108,57 @@ (define-public rust-is-terminal-0.4 stream runs in a TTY.") (license license:expat))) +(define-public rust-is-wsl-0.4 + (package + (name "rust-is-wsl") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "is-wsl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19bs5pq221d4bknnwiqqkqrnsx2in0fsk8fylxm1747iim4hjdhp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-is-docker" ,rust-is-docker-0.2) + ("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/TheLarkInn/is-wsl") + (synopsis + "Checks if the process is running inside Windows Subsystem for Linux") + (description + "This package provides functions to check if the process is running inside +Windows Subsystem for Linux.") + (license license:expat))) + +(define-public rust-iso8601-0.6 + (package + (name "rust-iso8601") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "iso8601" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lqif1zp19fjmrbhcdjx0ydnljax3090san5zq8r1x98x9rmsklj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-nom" ,rust-nom-7) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/badboy/iso8601") + (synopsis "Parsing ISO8601 dates using @code{nom}") + (description "This crate parses ISO8601 dates using @code{nom}.") + (license license:expat))) + (define-public rust-iso8601-0.4 (package + (inherit rust-iso8601-0.6) (name "rust-iso8601") (version "0.4.2") (source @@ -31516,13 +35168,8 @@ (define-public rust-iso8601-0.4 (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))) + `(#:cargo-inputs (("rust-nom" ,rust-nom-7)))))) (define-public rust-iso8601-0.3 (package @@ -31570,14 +35217,14 @@ (define-public rust-isolang-2 (define-public rust-itertools-0.12 (package (name "rust-itertools") - (version "0.12.0") + (version "0.12.1") (source (origin (method url-fetch) (uri (crate-uri "itertools" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c07gzdlc6a1c8p8jrvvw3gs52bss3y58cs2s21d9i978l36pnr5")))) + (base32 "0s95jbb3ndj1lvfxyq5wanc0fm0r6hg6q4ngb92qlfdxvci10ads")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1)) @@ -31764,14 +35411,14 @@ (define-public rust-itertools-num-0.1 (define-public rust-itoa-1 (package (name "rust-itoa") - (version "1.0.6") + (version "1.0.11") (source (origin (method url-fetch) (uri (crate-uri "itoa" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19jc2sa3wvdc29zhgbwf3bayikq4rq18n20dbyg9ahd4hbsxjfj5")))) + (base32 "0nv9cqjwzr3q58qz84dcz63ggc54yhf1yqar1m858m1kfd4g3wa9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-no-panic" ,rust-no-panic-0.1)))) @@ -32456,7 +36103,7 @@ (define-public rust-jni-sys-0.3 (define-public rust-jobserver-0.1 (package (name "rust-jobserver") - (version "0.1.27") + (version "0.1.28") (source (origin (method url-fetch) @@ -32464,7 +36111,7 @@ (define-public rust-jobserver-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0z9w6vfqwbr6hfk9yaw7kydlh6f7k39xdlszxlh39in4acwzcdwc")))) + "1mji1wis4w76v3issgpah2x3j1k0ybq0cz3qgypg7pkdablscimb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -32481,6 +36128,29 @@ (define-public rust-jobserver-0.1 "An implementation of the GNU make jobserver for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-joinery-2 + (package + (name "rust-joinery") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "joinery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xg4cjnz8cd6ya9hynb9wx79ijd3j6307f47aijviqzwyml7s5kj")))) + (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/Lucretiel/joinery") + (synopsis + "Crate for generically joining iterators with a separator") + (description "This package provides a small crate for generically joining +iterators with a separator.") + (license license:expat))) + (define-public rust-jsonpath-lib-0.3 (package (name "rust-jsonpath-lib") @@ -32583,6 +36253,27 @@ (define-public rust-json-0.12 friction with idiomatic Rust structs to ease interopability.") (license (list license:expat license:asl2.0)))) +(define-public rust-json-deserializer-0.4 + (package + (name "rust-json-deserializer") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "json-deserializer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gv8qa9bprcw0ypz4kmpp844yfjg1dpzayk7xc5i1d3fw4hv8qsz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency graph. + #:cargo-inputs (("rust-indexmap" ,rust-indexmap-1)))) + (home-page "https://github.com/jorgecarleitao/json-deserializer") + (synopsis "Performant library to deserialize JSON") + (description + "This package provides a performant library to deserialize JSON.") + (license license:asl2.0))) + (define-public rust-juliex-0.3 (package (name "rust-juliex") @@ -32613,8 +36304,40 @@ (define-public rust-juliex-0.3 concurrency primitives and multiple allocations.") (license (list license:expat license:asl2.0)))) +(define-public rust-juniper-codegen-0.15 + (package + (name "rust-juniper-codegen") + (version "0.15.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "juniper_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nvigsc1yrfv09wx1yv830dd60ay556haz87p80h7m8s0rqpdsdf")))) + (build-system cargo-build-system) + (arguments + ;; XXX: Tests fail with "error[E0599]: no variant or associated item + ;; named `__TestExhaustive` found for enum `syn::Type` in the current + ;; scope". + `(#:tests? #false + #: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-juniper" ,rust-juniper-0.15)))) + (home-page "https://github.com/graphql-rust/juniper") + (synopsis "Internal custom derive trait for Juniper GraphQL") + (description + "This package provides an internal custom derive trait for Juniper +GraphQL.") + (license license:bsd-2))) + (define-public rust-juniper-codegen-0.14 (package + (inherit rust-juniper-codegen-0.15) (name "rust-juniper-codegen") (version "0.14.2") (source @@ -32624,7 +36347,6 @@ (define-public rust-juniper-codegen-0.14 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06ym8568k9p75kvnfc4ywqbkzaa4ib6gngx9vpbsjwg9v0sg42nl")))) - (build-system cargo-build-system) (arguments `(#:tests? #false ;FIXME: fail due to unresolved import #:cargo-inputs @@ -32632,40 +36354,44 @@ (define-public rust-juniper-codegen-0.14 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-juniper" ,rust-juniper-0.14)))) - (home-page "https://github.com/graphql-rust/juniper") - (synopsis "Internal custom derive trait for Juniper GraphQL") - (description - "This package provides an internal custom derive trait for Juniper -GraphQL.") - (license license:bsd-2))) + (("rust-juniper" ,rust-juniper-0.14)))))) -(define-public rust-juniper-0.14 +(define-public rust-juniper-0.15 (package (name "rust-juniper") - (version "0.14.2") + (version "0.15.12") (source (origin (method url-fetch) (uri (crate-uri "juniper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s56rb31yddhvjynl5bk8jihcdln8h5yfsx63kfxdhzvw98vlqpn")))) + (base32 "1dg1b5msr8k4kwmam2h0f64z7aamk4799vdh3cg55c881idclpc7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bson" ,rust-bson-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.5) ("rust-fnv" ,rust-fnv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-enum" ,rust-futures-enum-0.1) + ("rust-graphql-parser" ,rust-graphql-parser-0.3) ("rust-indexmap" ,rust-indexmap-1) - ("rust-juniper-codegen" ,rust-juniper-codegen-0.14) + ("rust-juniper-codegen" ,rust-juniper-codegen-0.15) ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-static-assertions" ,rust-static-assertions-1) ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.7)) + ("rust-uuid" ,rust-uuid-0.8)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-serde-json" ,rust-serde-json-1)))) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/graphql-rust/juniper") (synopsis "GraphQL server library for Rust") (description @@ -32680,6 +36406,33 @@ (define-public rust-juniper-0.14 debugging.") (license license:bsd-2))) +(define-public rust-juniper-0.14 + (package + (inherit rust-juniper-0.15) + (name "rust-juniper") + (version "0.14.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "juniper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s56rb31yddhvjynl5bk8jihcdln8h5yfsx63kfxdhzvw98vlqpn")))) + (arguments + `(#:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-fnv" ,rust-fnv-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-juniper-codegen" ,rust-juniper-codegen-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.7)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-keccak-0.1 (package (name "rust-keccak") @@ -32848,8 +36601,47 @@ (define-public rust-kv-log-macro-1 "This package provides a Log macro for log's kv-unstable backend.") (license (list license:expat license:asl2.0)))) +(define-public rust-k9-0.12 + (package + (name "rust-k9") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "k9" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "056ngrvyla95qj737h7xjw5ja697h07mpw6pci5v3cb8bfxwx2q8")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; k9@0.11.7 was yanked by upstream, provide 0.11.6. + (("0\\.11\\.7") "0.11.6")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-colored" ,rust-colored-2) + ("rust-diff" ,rust-diff-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-2) + ("rust-terminal-size" ,rust-terminal-size-0.2)) + #:cargo-development-inputs + (("rust-derive-builder" ,rust-derive-builder-0.9) + ("rust-k9" ,rust-k9-0.11) + ("rust-rand" ,rust-rand-0.7) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)))) + (home-page "https://github.com/aaronabramov/k9") + (synopsis "Testing library") + (description "This package contains helper macros for writing unit tests.") + (license license:expat))) + (define-public rust-k9-0.11 (package + (inherit rust-k9-0.12) (name "rust-k9") (version "0.11.6") (source (origin @@ -32859,7 +36651,6 @@ (define-public rust-k9-0.11 (sha256 (base32 "1a8pxz6fygqzknxdlb4l835kqxgjk7snm4bjhhhn783r025vbp9j")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -32870,12 +36661,7 @@ (define-public rust-k9-0.11 ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-regex" ,rust-regex-1) ("rust-syn" ,rust-syn-1) - ("rust-term-size" ,rust-term-size-0.3)))) - (home-page "https://github.com/aaronabramov/k9") - (synopsis "Testing library") - (description - "This package contains helper macros for writing unit tests.") - (license license:expat))) + ("rust-term-size" ,rust-term-size-0.3)))))) (define-public rust-language-tags-0.3 (package @@ -32953,8 +36739,45 @@ (define-public rust-lab-0.11 space, and comparing differences in color.") (license license:expat))) +(define-public rust-lalrpop-0.20 + (package + (name "rust-lalrpop") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "lalrpop" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jn1qg7gs9kka6sy2sbxx8wp6z8lm892ksr414b9yaansrx0gjsm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ascii-canvas" ,rust-ascii-canvas-3) + ("rust-bit-set" ,rust-bit-set-0.5) + ("rust-ena" ,rust-ena-0.14) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.20) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-pico-args" ,rust-pico-args-0.5) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) + ("rust-string-cache" ,rust-string-cache-0.8) + ("rust-term" ,rust-term-0.7) + ("rust-tiny-keccak" ,rust-tiny-keccak-2) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-diff" ,rust-diff-0.1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/lalrpop/lalrpop") + (synopsis "Convenient LR(1) parser generator for Rust") + (description "LALRPOP is a Rust parser generator framework with usability +as its primary goal. You should be able to write compact, DRY, readable +grammars.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-lalrpop-0.19 (package + (inherit rust-lalrpop-0.20) (name "rust-lalrpop") (version "0.19.1") (source @@ -32964,7 +36787,6 @@ (define-public rust-lalrpop-0.19 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1j52sybjhn82ydgsmnw7nkywjyb7pvg50mvyb48m7vdq3wcmdyv0")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -32985,14 +36807,7 @@ (define-public rust-lalrpop-0.19 ("rust-string-cache" ,rust-string-cache-0.8) ("rust-term" ,rust-term-0.5) ("rust-unicode-xid" ,rust-unicode-xid-0.2)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.7)))) - (home-page "https://github.com/lalrpop/lalrpop") - (synopsis "Convenient LR(1) parser generator for Rust") - (description "LALRPOP is a Rust parser generator framework with usability -as its primary goal. You should be able to write compact, DRY, readable -grammars.") - (license (list license:asl2.0 license:expat)))) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.7)))))) (define-public rust-lalrpop-0.17 (package @@ -33029,8 +36844,29 @@ (define-public rust-lalrpop-0.17 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))))) +(define-public rust-lalrpop-util-0.20 + (package + (name "rust-lalrpop-util") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "lalrpop-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lr5r12bh9gjjlmnjrbblf4bfcwnad4gz1hqjvp34yzb22ln0x2h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-regex-automata" ,rust-regex-automata-0.4)))) + (home-page "https://github.com/lalrpop/lalrpop") + (synopsis "Runtime library for parsers generated by LALRPOP") + (description "THis package provides the runtime library for parsers +generated by LALRPOP.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-lalrpop-util-0.19 (package + (inherit rust-lalrpop-util-0.20) (name "rust-lalrpop-util") (version "0.19.1") (source @@ -33040,16 +36876,9 @@ (define-public rust-lalrpop-util-0.19 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0224r8gsbk8and96nhwgzdj4hc1c01g78zmvv3x4f5jnzwg1cwb7")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/lalrpop/lalrpop") - (synopsis "Runtime library for parsers generated by LALRPOP") - (description "THis package provides the runtime library for parsers -generated by LALRPOP.") - (license (list license:asl2.0 license:expat)))) + #:cargo-inputs (("rust-regex" ,rust-regex-1)))))) (define-public rust-lalrpop-util-0.17 (package @@ -33131,6 +36960,52 @@ (define-public rust-lazy-bytes-cast-5 "This crate provides simple methods to cast from and into byte arrays.") (license license:boost1.0))) +(define-public rust-lazy-regex-3 + (package + (name "rust-lazy-regex") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lazy-regex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k3sjdcr13j119kgz1h7f1k2mnl787ig9ag436ymipxgjm2vw4jx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-regex-proc-macros" ,rust-lazy-regex-proc-macros-3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-regex-lite" ,rust-regex-lite-0.1)))) + (home-page "https://github.com/Canop/lazy-regex") + (synopsis "Lazy static regular expressions checked at compile time") + (description "Lazy static regular expressions checked at compile time.") + (license license:expat))) + +(define-public rust-lazy-regex-proc-macros-3 + (package + (name "rust-lazy-regex-proc-macros") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lazy-regex-proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02zgaxdq95s0xm4svbdz6f4xkf4kncl5gjfdzyxgr9wpdj7dbg24")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find macro `regex_replace_all` in this scope + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/Canop/lazy-regex") + (synopsis "Proc macros for the lazy_regex crate") + (description "This package provides proc macros for the lazy_regex crate.") + (license license:expat))) + (define-public rust-lazy-static-1 (package (name "rust-lazy-static") @@ -33241,6 +37116,28 @@ (define-public rust-lddtree-0.3 (description "Read the ELF dependency tree.") (license license:expat))) +(define-public rust-leb128-0.2 + (package + (name "rust-leb128") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "leb128" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rxxjdn76sjbrb08s4bi7m4x47zg68f71jzgx8ww7j0cnivjckl8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.8)))) + (home-page "https://github.com/gimli-rs/leb128") + (synopsis + "Read and write DWARF LEB128 variable length integer encoding") + (description + "Read and write DWARF's @code{Little Endian Base 128} (LEB128) variable +length integer encoding.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-lebe-0.5 (package (name "rust-lebe") @@ -33294,6 +37191,39 @@ (define-public rust-lettre-0.9 sending emails from Rust applications.") (license license:expat))) +(define-public rust-lettre-email-0.9 + (package + (name "rust-lettre-email") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "lettre_email" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=book_test") + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-email" ,rust-email-0.0.20) + ("rust-lettre" ,rust-lettre-0.9) + ("rust-mime" ,rust-mime-0.3) + ("rust-time" ,rust-time-0.1) + ("rust-uuid" ,rust-uuid-0.7)) + #:cargo-development-inputs (("rust-glob" ,rust-glob-0.3) + ("rust-lettre" ,rust-lettre-0.9)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/lettre/lettre") + (synopsis "Mailer library for Rust") + (description "Lettre is a mailer library for Rust. It provides multiple +transport methods, unicode support, secure delivery with SMTP using encryption +and authentication, easy email builders, and async support.") + (license license:expat))) + (define-public rust-levenshtein-1 (package (name "rust-levenshtein") @@ -33601,14 +37531,14 @@ (define-public rust-lexopt-0.3 (define-public rust-libc-0.2 (package (name "rust-libc") - (version "0.2.151") + (version "0.2.153") (source (origin (method url-fetch) (uri (crate-uri "libc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x28f0zgp4zcwr891p8n9ag9w371sbib30vp4y6hi2052frplb9h")))) + (base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -33627,19 +37557,6 @@ (define-public rust-libc-0.2 (license (list license:expat license:asl2.0)))) -(define-public rust-libc-0.2.153 - (package - (inherit rust-libc-0.2) - (name "rust-libc") - (version "0.2.153") - (source - (origin - (method url-fetch) - (uri (crate-uri "libc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw")))))) - (define-public rust-libc-print-0.1 (package (name "rust-libc-print") @@ -33776,31 +37693,52 @@ (define-public rust-libdeflater-0.11 (("rust-criterion" ,rust-criterion-0.3) ("rust-flate2" ,rust-flate2-1)))))) -(define-public rust-libflate-1 +(define-public rust-libflate-2 (package (name "rust-libflate") - (version "1.1.1") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "libflate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07hlzg1zly4dw9s39fv2ik6nfcjpjgx82b5kkf3bafdvdvvlldhn")))) + (base32 "1gxjqgbzzn6sdalrd2cfn7zb14c75if3dx3nzz3sz58pmra5czcz")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-libflate-lz77" ,rust-libflate-lz77-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2)))) + `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1) + ("rust-core2" ,rust-core2-0.4) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-dary-heap" ,rust-dary-heap-0.3) + ("rust-libflate-lz77" ,rust-libflate-lz77-2)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-2)))) (home-page "https://github.com/sile/libflate") (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)") (description "This package provides a Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP).") (license license:expat))) +(define-public rust-libflate-1 + (package + (inherit rust-libflate-2) + (name "rust-libflate") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "063xw2z477h3vh7j32y0f54a6nbndd7yf7rr5wpsvfw5nrqsxx2z")))) + (arguments + `(#:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-core2" ,rust-core2-0.4) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-libflate-lz77" ,rust-libflate-lz77-1)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2)))))) + (define-public rust-libflate-0.1 (package (inherit rust-libflate-1) @@ -33824,8 +37762,32 @@ (define-public rust-libflate-0.1 #:cargo-development-inputs (("rust-clap" ,rust-clap-2)))))) +(define-public rust-libflate-lz77-2 + (package + (name "rust-libflate-lz77") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libflate_lz77" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "096map4a8xvf3819kgdxbg08nf97nggg9lvrdgn7c5a5ikxm4pxy")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `libflate` + #:cargo-inputs + (("rust-core2" ,rust-core2-0.4) + ("rust-hashbrown" ,rust-hashbrown-0.13) + ("rust-rle-decode-fast" ,rust-rle-decode-fast-1)))) + (home-page "https://github.com/sile/libflate") + (synopsis "LZ77 encoder for libflate crate") + (description "This package provides a LZ77 encoder for libflate crate.") + (license license:expat))) + (define-public rust-libflate-lz77-1 (package + (inherit rust-libflate-lz77-2) (name "rust-libflate-lz77") (version "1.2.0") (source @@ -33835,18 +37797,13 @@ (define-public rust-libflate-lz77-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1gxc75fb2sk0xgrh3qxvxcx1l93yhmyxn9241r251wl5zj5klbd5")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-core2" ,rust-core2-0.4) ("rust-hashbrown" ,rust-hashbrown-0.13) ("rust-rle-decode-fast" ,rust-rle-decode-fast-1)) #:cargo-development-inputs - (("rust-libflate" ,rust-libflate-1)))) - (home-page "https://github.com/sile/libflate") - (synopsis "LZ77 encoder for libflate crate") - (description "This package provides a LZ77 encoder for libflate crate.") - (license license:expat))) + (("rust-libflate" ,rust-libflate-1)))))) (define-public rust-libfuzzer-sys-0.4 (package @@ -34005,25 +37962,22 @@ (define-public rust-libloading-0.5 (define-public rust-libm-0.2 (package (name "rust-libm") - (version "0.2.6") + (version "0.2.8") (source (origin (method url-fetch) (uri (crate-uri "libm" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ywg7jfcgfv4jypxi3f6rpf7n9509ky695bfzy1fqhms7ymhi09l")))) + (base32 "0n4hk1rs8pzw8hdfmwn96c4568s93kfxqgcqswr7sajd2diaihjf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-rand" ,rust-rand-0.6)) - #:cargo-development-inputs - (("rust-no-panic" ,rust-no-panic-0.1)))) + `(#:cargo-inputs (("rust-rand" ,rust-rand-0.6)) + #:cargo-development-inputs (("rust-no-panic" ,rust-no-panic-0.1)))) (home-page "https://github.com/rust-lang/libm") (synopsis "Libm in pure Rust") - (description "This package provides an implementation of libm in pure Rust.") + (description + "This package provides an implementation of libm in pure Rust.") (license (list license:expat license:asl2.0)))) (define-public rust-libm-0.1 @@ -34088,6 +38042,25 @@ (define-public rust-libmacchina-6 information.") (license license:expat))) +(define-public rust-libmath-0.2 + (package + (name "rust-libmath") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libmath" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00j546nfjsd4i1z1di800crazjyz6bv0dc63sn0awlx86ill3lyz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/scoobadog/libmath-rs") + (synopsis "Mathematical utilities") + (description "This package provides some mathematical utilities.") + (license license:expat))) + (define-public rust-libmimalloc-sys-0.1 (package (name "rust-libmimalloc-sys") @@ -34224,6 +38197,33 @@ (define-public rust-libnghttp2-sys-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-libproc-0.14 + (package + (name "rust-libproc") + (version "0.14.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "libproc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0va3jzmgfj57lf0zfq59acfkid3frs6nvx9xlsnc5jd4g1q4kdlf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-errno" ,rust-errno-0.3) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-procfs" ,rust-procfs-0.16) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/andrewdavidmackenzie/libproc-rs") + (synopsis "Library to get information about running processes") + (description + "This package provides a library to get information about running +processes for both MacOS and Linux.") + (license license:expat))) + (define-public rust-libpulse-binding-2 (package (name "rust-libpulse-binding") @@ -34396,8 +38396,31 @@ (define-public rust-libradicl-0.4 single-cell and single-nucleus sequencing data.") (license license:bsd-3))) +(define-public rust-libredox-0.1 + (package + (name "rust-libredox") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "libredox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "139602gzgs0k91zb7dvgj1qh4ynb8g1lbxsswdim18hcb6ykgzy0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-ioslice" ,rust-ioslice-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-redox-syscall" ,rust-redox-syscall-0.5)))) + (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-libredox-0.0.2 (package + (inherit rust-libredox-0.1) (name "rust-libredox") (version "0.0.2") (source @@ -34407,15 +38430,10 @@ (define-public rust-libredox-0.0.2 (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))) + ("rust-redox-syscall" ,rust-redox-syscall-0.4)))))) (define-public rust-librespot-audio-0.4 (package @@ -34698,17 +38716,17 @@ (define-public rust-libsensors-sys-0.2 (description "This package provides Rust bindings to libsensors.") (license license:miros))) -(define-public rust-libsqlite3-sys-0.27 +(define-public rust-libsqlite3-sys-0.28 (package (name "rust-libsqlite3-sys") - (version "0.27.0") + (version "0.28.0") (source (origin (method url-fetch) (uri (crate-uri "libsqlite3-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05pp60ncrmyjlxxjj187808jkvpxm06w5lvvdwwvxd2qrmnj4kng")))) + (base32 "0gzwfw0n2wqgaihcgj65wzd3lclfxyy62gixq8sv6z04fi15h40c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) @@ -34722,9 +38740,32 @@ (define-public rust-libsqlite3-sys-0.27 (inputs (list sqlite)) (home-page "https://github.com/rusqlite/rusqlite") (synopsis "Native bindings to the libsqlite3 library") - (description "Native bindings to the libsqlite3 library.") + (description + "This package provides native Rust bindings to the libsqlite3 library.") (license license:expat))) +(define-public rust-libsqlite3-sys-0.27 + (package + (inherit rust-libsqlite3-sys-0.28) + (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")))) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (define-public rust-libsqlite3-sys-0.26 (package (inherit rust-libsqlite3-sys-0.27) @@ -34846,15 +38887,14 @@ (define-public rust-libxml-0.2 (package (inherit rust-libxml-0.3) (name "rust-libxml") - (version "0.2.17") + (version "0.2.16") (source (origin (method url-fetch) (uri (crate-uri "libxml" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1z567rqb55hxn0g7hpvcsh3nfvz9mdzlwk4mk179z9bkf7v10r29")))))) + (base32 "1xx1bsay6c0jy9vi7qcvliidya33lvbkxwpdfz9qmzl23f11xxxh")))))) (define-public rust-libz-sys-1 (package @@ -35309,23 +39349,23 @@ (define-public rust-libssh2-sys-0.2 ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))))) -(define-public rust-libtest-mimic-0.6 +(define-public rust-libtest-mimic-0.7 (package (name "rust-libtest-mimic") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "libtest-mimic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rwwdrzc5hmfisc9c3zcvnab14rgh0zfa636c2jbhv4az5qf73bd")))) + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02y7l5bcwli37hl625bp6l0m95mry8cavwj3nkl55zgc8iplq3vz")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-clap" ,rust-clap-4) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-threadpool" ,rust-threadpool-1)) + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-escape8259" ,rust-escape8259-0.5) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-threadpool" ,rust-threadpool-1)) #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) @@ -35336,6 +39376,27 @@ (define-public rust-libtest-mimic-0.6 harness used by @code{rustc --test}.") (license (list license:expat license:asl2.0)))) +(define-public rust-libtest-mimic-0.6 + (package + (inherit rust-libtest-mimic-0.7) + (name "rust-libtest-mimic") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rwwdrzc5hmfisc9c3zcvnab14rgh0zfa636c2jbhv4az5qf73bd")))) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-threadpool" ,rust-threadpool-1)) + #:cargo-development-inputs + (("rust-fastrand" ,rust-fastrand-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + (define-public rust-libtest-mimic-0.5 (package (inherit rust-libtest-mimic-0.6) @@ -35379,8 +39440,58 @@ (define-public rust-libtest-mimic-0.3 ("rust-structopt" ,rust-structopt-0.3) ("rust-termcolor" ,rust-termcolor-1)))))) +(define-public rust-listenfd-1 + (package + (name "rust-listenfd") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "listenfd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15jc2xgrp4j6508s5f9d9gq6w1ssgv2mvc5b3795jqnrmiih8l70")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-uuid" ,rust-uuid-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14) + ("rust-tokio" ,rust-tokio-1) + ("rust-warp" ,rust-warp-0.3)))) + (home-page "https://github.com/mitsuhiko/rust-listenfd") + (synopsis "Library to work with listenfds passed from the outside") + (description + "This package provides a simple library to work with listenfds passed from +the outside, such as systemd/catflap socket activation.") + (license license:asl2.0))) + +(define-public rust-litrs-0.4 + (package + (name "rust-litrs") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "litrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19cssch9gc0x2snd9089nvwzz79zx6nzsi3icffpx25p4hck1kml")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-unicode-xid" ,rust-unicode-xid-0.2)))) + (home-page "https://github.com/LukasKalbertodt/litrs/") + (synopsis "Parse and inspect Rust literals") + (description + "Parse and inspect Rust literals (i.e. tokens in the Rust programming +language representing fixed values). Particularly useful for proc macros, but +can also be used outside of a proc-macro context.") + (license (list license:expat license:asl2.0)))) + (define-public rust-litrs-0.2 (package + (inherit rust-litrs-0.4) (name "rust-litrs") (version "0.2.3") (source (origin @@ -35389,16 +39500,8 @@ (define-public rust-litrs-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1akrxglqv6dz41jrjr409pjjysd00z5w0949007v52yg6c4mw9zr")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)))) - (home-page "https://github.com/LukasKalbertodt/litrs/") - (synopsis "Parse and inspect Rust literals") - (description - "Parse and inspect Rust literals (i.e. tokens in the Rust programming -language representing fixed values). Particularly useful for proc macros, but -can also be used outside of a proc-macro context.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)))))) (define-public rust-llvm-bitcode-0.1 (package @@ -35419,6 +39522,49 @@ (define-public rust-llvm-bitcode-0.1 (description "This package provides an LLVM Bitcode parser in Rust.") (license license:expat))) +(define-public rust-local-channel-0.1 + (package + (name "rust-local-channel") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "local-channel" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j1ywn459kl4fdmjfyljm379k40qwwscd7mqp25lppxqd5gcijxn")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `futures_util` + #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-local-waker" ,rust-local-waker-0.1)))) + (home-page "https://github.com/actix/actix-net") + (synopsis + "Non-threadsafe multi-producer, single-consumer, futures-aware, FIFO queue") + (description + "This package provides a non-threadsafe multi-producer, single-consumer, +futures-aware, FIFO queue.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-local-waker-0.1 + (package + (name "rust-local-waker") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "local-waker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11vlcm8q6dhdf0srkgjnwca48dn9zcz820fq20hv82ffcxy3v1sd")))) + (build-system cargo-build-system) + (home-page "https://github.com/actix/actix-net") + (synopsis "Synchronization primitive for thread-local task wakeup") + (description "This package provides a synchronization primitive for +thread-local task wakeup.") + (license (list license:expat license:asl2.0)))) + (define-public rust-locale-0.2 (package (name "rust-locale") @@ -35572,7 +39718,7 @@ (define-public rust-lock-api-0.1 (define-public rust-log-0.4 (package (name "rust-log") - (version "0.4.20") + (version "0.4.21") (source (origin (method url-fetch) @@ -35580,7 +39726,7 @@ (define-public rust-log-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13rf7wphnwd61vazpxr7fiycin6cb1g8fmvgqg18i464p0y1drmm")))) + "074hldq1q8rlzq2s2qa8f25hj4s3gpw71w64vdwzjd01a4g8rvch")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all test files included in release. @@ -35592,6 +39738,7 @@ (define-public rust-log-0.4 #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-test" ,rust-serde-test-1) ("rust-sval" ,rust-sval-2) ("rust-sval-derive" ,rust-sval-derive-2) @@ -35847,18 +39994,17 @@ (define-public rust-loom-0.1 (define-public rust-loop9-0.1 (package (name "rust-loop9") - (version "0.1.3") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "loop9" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h4rys8001cdq4l2f30k66wmvscm4lb2laxgpia794p5652800x7")))) + (base32 "0qphc1c0cbbx43pwm6isnwzwbg6nsxjh7jah04n1sg5h4p0qgbhg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-imgref" ,rust-imgref-1)))) (home-page "https://lib.rs/loop9") (synopsis "Helper function to visit every pixel and its neighbors") @@ -35867,8 +40013,47 @@ (define-public rust-loop9-0.1 image together with its neighboring pixels.") (license license:expat))) +(define-public rust-lopdf-0.31 + (package + (name "rust-lopdf") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lopdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0npqs454hz7z8ycldyi154fxmra0vkmp5xbjbzm346sb32vf3j07")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-image" ,rust-image-0.24) + ("rust-itoa" ,rust-itoa-1) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-md5" ,rust-md5-0.7) + ("rust-nom" ,rust-nom-7) + ("rust-pom" ,rust-pom-3) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-time" ,rust-time-0.3) + ("rust-weezl" ,rust-weezl-0.1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/J-F-Liu/lopdf") + (synopsis "Rust library for PDF document manipulation") + (description + "This package provides a Rust library for PDF document manipulation.") + (license license:expat))) + (define-public rust-lopdf-0.29 (package + (inherit rust-lopdf-0.31) (name "rust-lopdf") (version "0.29.0") (source @@ -35878,7 +40063,6 @@ (define-public rust-lopdf-0.29 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1p59fkn9rkas0jywm7z24970k3lpv71sxxabmkmnig3d1p26j3yy")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) @@ -35893,14 +40077,8 @@ (define-public rust-lopdf-0.29 ("rust-rayon" ,rust-rayon-1) ("rust-time" ,rust-time-0.2) ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.9) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/J-F-Liu/lopdf") - (synopsis "Rust library for PDF document manipulation") - (description - "This package provides a Rust library for PDF document manipulation.") - (license license:expat))) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-lopdf-0.26 (package @@ -36016,8 +40194,32 @@ (define-public rust-lru-cache-0.1 key-value pairs.") (license (list license:expat license:asl2.0)))) +(define-public rust-lscolors-0.17 + (package + (name "rust-lscolors") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lscolors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08z5jslgigvnpc1gj2i8r9pi8yn4m0pf8dzf3rk9grdidbzlyc2k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/sharkdp/lscolors") + (synopsis "Colorize paths using the LS_COLORS environment variable") + (description + "Colorize paths using the LS_COLORS environment variable.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lscolors-0.16 (package + (inherit rust-lscolors-0.17) (name "rust-lscolors") (version "0.16.0") (source @@ -36027,19 +40229,13 @@ (define-public rust-lscolors-0.16 (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.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") - (synopsis "Colorize paths using the LS_COLORS environment variable") - (description - "Colorize paths using the LS_COLORS environment variable.") - (license (list license:expat license:asl2.0)))) + (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-lscolors-0.13 (package @@ -36060,34 +40256,75 @@ (define-public rust-lscolors-0.13 #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-lsp-server-0.7 + (package + (name "rust-lsp-server") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "lsp-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15bhdhkinhhw5fifrpmiiqdd4hwblac40jv0n7hxidbdiyvnb3r4")))) + (build-system cargo-build-system) + (arguments + `(#: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-development-inputs (("rust-ctrlc" ,rust-ctrlc-3) + ("rust-lsp-types" ,rust-lsp-types-0.95)))) + (home-page + "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server") + (synopsis "Generic LSP server scaffold") + (description "This package provides generic LSP server scaffold.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lsp-types-0.95 + (package + (name "rust-lsp-types") + (version "0.95.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lsp-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ra36fd4yr7lf5igfrdvwjx9g87z3a99mrjgzk9nq04viqxd6d4f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/gluon-lang/lsp-types") + (synopsis "Types for interaction with a language server") + (description + "Types for interaction with a language server, using VSCode's Language +Server Protocol.") + (license license:expat))) + (define-public rust-lsp-types-0.91 (package + (inherit rust-lsp-types-0.95) (name "rust-lsp-types") (version "0.91.1") (source (origin (method url-fetch) (uri (crate-uri "lsp-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13")))) - (build-system cargo-build-system) + (base32 "1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13")))) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-repr" ,rust-serde-repr-0.1) - ("rust-url" ,rust-url-2)))) - (home-page "https://github.com/gluon-lang/lsp-types") - (synopsis "Types for interaction with a language server") - (description - "This package provides types useful for interacting with a language -server (LSP).") - (license license:expat))) + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-url" ,rust-url-2)))))) (define-public rust-lsp-types-0.89 (package @@ -36230,6 +40467,27 @@ (define-public rust-lz4-flex-0.11 (description "LZ4 implementation in Rust, no unsafe by default.") (license license:expat))) +(define-public rust-lz4-flex-0.9 + (package + (inherit rust-lz4-flex-0.11) + (name "rust-lz4-flex") + (version "0.9.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "lz4_flex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18xm7s81bpfgvvrra2kknrbgfbi295diz90mkhxvr00phfrbp30s")))) + (arguments + `(#:cargo-inputs (("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-lz4-compress" ,rust-lz4-compress-0.1) + ("rust-lzzzz" ,rust-lzzzz-1) + ("rust-more-asserts" ,rust-more-asserts-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snap" ,rust-snap-1)))))) + (define-public rust-lz4-sys-1 (package (name "rust-lz4-sys") @@ -36725,8 +40983,35 @@ (define-public rust-markup-0.13 "This package provides a fast, type-safe template engine for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-markup5ever-0.12 + (package + (name "rust-markup5ever") + (version "0.12.1") + (source (origin + (method url-fetch) + (uri (crate-uri "markup5ever" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0idy4vjihg2dw73j2vkb5kdghvga3bwnw0qx8jwci4m6xfxkmkhn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-string-cache" ,rust-string-cache-0.8) + ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5) + ("rust-tendril" ,rust-tendril-0.4)))) + (home-page "https://github.com/servo/html5ever") + (synopsis "Common code for xml5ever and html5ever") + (description + "Common code for xml5ever and html5ever.") + (license (list license:expat license:asl2.0)))) + (define-public rust-markup5ever-0.11 (package + (inherit rust-markup5ever-0.12) (name "rust-markup5ever") (version "0.11.0") (source (origin @@ -36736,7 +41021,6 @@ (define-public rust-markup5ever-0.11 (sha256 (base32 "05mhzsp6lfxla1fgd0ac283b405s6kyj27wj5r6d7wq42jxjj9ks")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) @@ -36744,12 +41028,7 @@ (define-public rust-markup5ever-0.11 ("rust-phf-codegen" ,rust-phf-codegen-0.10) ("rust-string-cache" ,rust-string-cache-0.8) ("rust-string-cache-codegen" ,rust-string-cache-codegen-0.5) - ("rust-tendril" ,rust-tendril-0.4)))) - (home-page "https://github.com/servo/html5ever") - (synopsis "Common code for xml5ever and html5ever") - (description - "Common code for xml5ever and html5ever.") - (license (list license:expat license:asl2.0)))) + ("rust-tendril" ,rust-tendril-0.4)))))) (define-public rust-markup5ever-0.10 (package @@ -36868,6 +41147,27 @@ (define-public rust-markup5ever-rcdom-0.1 (("rust-rustc-test" ,rust-rustc-test-0.3) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-mas-iana-0.7 + (package + (name "rust-mas-iana") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mas-iana" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18yz6lv54crny8nmx4dpy3j2j00v8s80zsczzcg4fh1jyw6q4j0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://matrix-org.github.io/matrix-authentication-service/") + (synopsis "IANA registry data for JOSE and OAuth 2.0") + (description "This package provides IANA registry data for JOSE and +OAuth 2.0.") + (license license:asl2.0))) + (define-public rust-matchit-0.7 (package (name "rust-matchit") @@ -37563,21 +41863,18 @@ (define-public rust-memoffset-0.5 (package (inherit rust-memoffset-0.6) (name "rust-memoffset") - (version "0.5.3") + (version "0.5.6") (source (origin (method url-fetch) (uri (crate-uri "memoffset" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1fblqzc25hfaym8m0pj112s66pqq87avvaqm5hp5rskib2w9w63m")))) + (base32 "1ahi51aa650s2p9ib1a4ifgqv0pzmsxlm9z4xdgvi9zdd7q7ac84")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))) + `(#:tests? #f ; reference to packed field is unaligned + #:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) (inputs '()))) (define-public rust-memory-units-0.4 @@ -37600,22 +41897,20 @@ (define-public rust-memory-units-0.4 (define-public rust-memsec-0.6 (package (name "rust-memsec") - (version "0.6.0") + (version "0.6.3") (source (origin (method url-fetch) (uri (crate-uri "memsec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pfbpl75586bjdkphnaa4j58d668rl1wgcqzpnpzzx1phxfzkx1a")))) + (base32 "0z5s2pawma2xdwiswzshp4r9s8m0yhivsw91h99x50hm01mr380g")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.1) + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.2) ("rust-libc" ,rust-libc-0.2) - ("rust-mach-o-sys" ,rust-mach-o-sys-0.1) - ("rust-winapi" ,rust-winapi-0.3)))) + ("rust-windows-sys" ,rust-windows-sys-0.45)))) (home-page "https://github.com/quininer/memsec") (synopsis "Rust implementation of libsodium/utils") (description "This package provides a Rust implementation of @@ -37633,7 +41928,12 @@ (define-public rust-memsec-0.5 (uri (crate-uri "memsec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c")))))) + (base32 "13ir50j549gdz94pds1i7ljnk14d66q5x91s11hncm1pih7jif8c")))) + (arguments + `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-mach-o-sys" ,rust-mach-o-sys-0.1) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-memuse-0.2 (package @@ -37707,8 +42007,40 @@ (define-public rust-merge-0.1 to merge two objects of the same type into one.") (license (list license:asl2.0 license:expat)))) +(define-public rust-merlin-3 + (package + (name "rust-merlin") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "merlin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z9rh9jlpcs0i0cijbs6pcq26gl4qwz05y7zbnv7h2gwk4kqxhsq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-hex" ,rust-hex-0.3) + ("rust-keccak" ,rust-keccak-0.1) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-curve25519-dalek-ng" ,rust-curve25519-dalek-ng-4) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-strobe-rs" ,rust-strobe-rs-0.5)))) + (home-page "https://docs.rs/merlin") + (synopsis + "Composable proof transcripts for public-coin arguments of knowledge") + (description + "Merlin is a STROBE-based transcript construction for zero-knowledge +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-merlin-2 (package + (inherit rust-merlin-3) (name "rust-merlin") (version "2.0.0") (source @@ -37726,63 +42058,7 @@ (define-public rust-merlin-2 ("rust-hex" ,rust-hex-0.3) ("rust-keccak" ,rust-keccak-0.1) ("rust-rand-core" ,rust-rand-core-0.5) - ("rust-zeroize" ,rust-zeroize-1)))) - (home-page "https://docs.rs/merlin") - (synopsis "Composable proof transcripts for public-coin arguments of -knowledge") - (description - "Merlin is a STROBE-based transcript construction for zero-knowledge -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-thousands-0.2 - (package - (name "rust-thousands") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "thousands" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0848gnkn7ah51lrx15z9zmn701ipn6gc4xbk4kfdlfahkypkpxiv")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t)) - (home-page "https://github.com/tov/thousands-rs") - (synopsis "Adds digit separators to numerals, configurably.") - (description "This package provides thousand separators for numerals.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-twox-hash-1 - (package - (name "rust-twox-hash") - (version "1.6.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "twox-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xgn72j36a270l5ls1jk88n7bmq2dhlfkbhdh5554hbagjsydzlp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-digest" ,rust-digest-0.8) - ("rust-digest" ,rust-digest-0.9) - ("rust-digest" ,rust-digest-0.10) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-static-assertions" ,rust-static-assertions-1)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/shepmaster/twox-hash") - (synopsis "Rust implementation of the XXHash and XXH3 algorithms") - (description "This package provides a Rust implementation of the XXHash -and XXH3 algorithms.") - (license license:expat))) + ("rust-zeroize" ,rust-zeroize-1)))))) (define-public rust-metrics-macros-0.2 (package @@ -37883,6 +42159,126 @@ (define-public rust-meval-0.2 "This package provides a simple math expression parser and evaluator.") (license (list license:unlicense license:expat)))) +(define-public rust-miette-7 + (package + (name "rust-miette") + (version "7.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miette" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hdgjkkj1vgiqn9dq445m1p8z4y8adiaig8gh2mhsahc699qip2f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-backtrace-ext" ,rust-backtrace-ext-0.2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-miette-derive" ,rust-miette-derive-7) + ("rust-owo-colors" ,rust-owo-colors-4) + ("rust-serde" ,rust-serde-1) + ("rust-supports-color" ,rust-supports-color-3) + ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-3) + ("rust-supports-unicode" ,rust-supports-unicode-3) + ("rust-syntect" ,rust-syntect-5) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-textwrap" ,rust-textwrap-0.16) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-indenter" ,rust-indenter-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-syn" ,rust-syn-2) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/zkat/miette") + (synopsis "Diagnostic reporting library and protocol") + (description + "This package provides a diagnostic reporting library and protocol.") + (license license:asl2.0))) + +(define-public rust-miette-5 + (package + (inherit rust-miette-7) + (name "rust-miette") + (version "5.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miette" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vl5qvl3bgha6nnkdl7kiha6v4ypd6d51wyc4q1bvdpamr75ifsr")))) + (arguments + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-backtrace-ext" ,rust-backtrace-ext-0.2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-miette-derive" ,rust-miette-derive-5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-owo-colors" ,rust-owo-colors-3) + ("rust-serde" ,rust-serde-1) + ("rust-supports-color" ,rust-supports-color-2) + ("rust-supports-hyperlinks" ,rust-supports-hyperlinks-2) + ("rust-supports-unicode" ,rust-supports-unicode-2) + ("rust-terminal-size" ,rust-terminal-size-0.1) + ("rust-textwrap" ,rust-textwrap-0.15) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-indenter" ,rust-indenter-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-trybuild" ,rust-trybuild-1)))))) + +(define-public rust-miette-derive-7 + (package + (name "rust-miette-derive") + (version "7.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miette-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v4sczg1n88arqwilhir1g97y5vsq9zjmpxn8v1ni05czaprrw6w")))) + (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/zkat/miette") + (synopsis "Derive macros for miette") + (description + "This package provides derive macros for miette.") + (license license:asl2.0))) + +(define-public rust-miette-derive-5 + (package + (inherit rust-miette-derive-7) + (name "rust-miette-derive") + (version "5.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miette-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p33msrngkxlp5ajm8nijamii9vcwwpy8gfh4m53qnmrc0avrrs9")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-migrations-internals-1 (package (name "rust-migrations-internals") @@ -37940,6 +42336,29 @@ (define-public rust-migrations-macros-1 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") @@ -38050,7 +42469,7 @@ (define-public rust-mime-0.2 (define-public rust-mime-guess-2 (package (name "rust-mime-guess") - (version "2.0.3") + (version "2.0.4") (source (origin (method url-fetch) @@ -38058,15 +42477,14 @@ (define-public rust-mime-guess-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04pjpbl90z4yn0cmifvwgf4mqznciw6b095k626q96bxx71d9116")))) + "1vs28rxnbfwil6f48hh58lfcx90klcvg68gxdc60spwa4cy2d4j1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-mime" ,rust-mime-0.3) ("rust-unicase" ,rust-unicase-2)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-unicase" ,rust-unicase-2)))) + (("rust-criterion" ,rust-criterion-0.3)))) (home-page "https://github.com/abonander/mime_guess") (synopsis "Detect a file's MIME type by its extension") (description "This package provides a simple crate for detection of a @@ -38193,8 +42611,28 @@ (define-public rust-minijinja-0.34 ("rust-serde-json" ,rust-serde-json-1) ("rust-similar-asserts" ,rust-similar-asserts-1)))))) +(define-public rust-minimad-0.13 + (package + (name "rust-minimad") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "minimad" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s72q9h0807pc450n23nzis4s38m6ihiil5azj1bhj8f8c7n3i7n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/Canop/minimad") + (synopsis "Light markdown parser") + (description "Light markdown parser.") + (license license:expat))) + (define-public rust-minimad-0.9 (package + (inherit rust-minimad-0.13) (name "rust-minimad") (version "0.9.1") (source (origin @@ -38204,13 +42642,8 @@ (define-public rust-minimad-0.9 (sha256 (base32 "0d2qnjwdrb3ngb0sayzj2b56pjb75ajqiaz4iw7zfs4537q3jxi7")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/Canop/minimad") - (synopsis "Light markdown parser") - (description "Light markdown parser.") - (license license:expat))) + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-minimal-lexical-0.2 (package @@ -38403,6 +42836,41 @@ (define-public rust-mint-0.5 "This package provides math interoperability standard types.") (license license:expat))) +(define-public rust-minus-5 + (package + (name "rust-minus") + (version "5.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "minus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19cwjr8ikqpngxj6c4xbbvylkjkp19cs4k2dnnav5ngzz4nywv6p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; unresolved imports + "--skip=src/lib.rs - (line 174)" + "--skip=src/lib.rs - (line 200)" + "--skip=src/lib.rs - (line 233)") + #:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-regex" ,rust-regex-1) + ("rust-textwrap" ,rust-textwrap-0.16) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/arijit79/minus") + (synopsis "Asynchronous data feedable terminal paging library for Rust") + (description + "This package provides a asynchronous data feedable terminal paging +library for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mio-0.8 (package (name "rust-mio") @@ -38486,8 +42954,36 @@ (define-public rust-mio-0.6 ("rust-env-logger" ,rust-env-logger-0.4) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-mio-aio-0.8 + (package + (name "rust-mio-aio") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mio-aio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ynga39vd3r7i3bjqsiv8b6b9z8ympby88l7vkk5cvhp6kn3livj")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; unresolved import `nix::sys::event` + #:cargo-inputs (("rust-mio" ,rust-mio-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-pin-utils" ,rust-pin-utils-0.1)) + #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-mio" ,rust-mio-0.8) + ("rust-nix" ,rust-nix-0.27) + ("rust-sysctl" ,rust-sysctl-0.1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/asomers/mio-aio") + (synopsis "POSIX AIO bindings for mio") + (description "This package provides POSIX AIO bindings for mio.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mio-aio-0.7 (package + (inherit rust-mio-aio-0.8) (name "rust-mio-aio") (version "0.7.0") (source @@ -38497,7 +42993,6 @@ (define-public rust-mio-aio-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; no variant named `SigevKevent` found for enum `SigevNotify` #:cargo-inputs @@ -38509,11 +43004,7 @@ (define-public rust-mio-aio-0.7 ("rust-mio" ,rust-mio-0.8) ("rust-nix" ,rust-nix-0.24) ("rust-sysctl" ,rust-sysctl-0.1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/asomers/mio-aio") - (synopsis "POSIX AIO bindings for mio") - (description "This package provides POSIX AIO bindings for mio.") - (license (list license:expat license:asl2.0)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-mio-anonymous-pipes-0.2 (package @@ -38642,8 +43133,29 @@ (define-public rust-mirai-annotations-1 (description "Macros that provide source code annotations for MIRAI") (license license:expat))) +(define-public rust-mock-instant-0.3 + (package + (name "rust-mock-instant") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mock_instant" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "180yr3i44a98w1mj36dd8xmym33rbzndpj0j1g13di52n8g8crlk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/museun/mock_instant") + (synopsis "Mock an std::time::Instant") + (description + "This package provides a simple way to mock an std::time::Instant in Rust.") + (license license:bsd-0))) + (define-public rust-mock-instant-0.2 (package + (inherit rust-mock-instant-0.3) (name "rust-mock-instant") (version "0.2.1") (source (origin @@ -38652,33 +43164,27 @@ (define-public rust-mock-instant-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0vg0kmz96zazjdq57l57nm24mc2in57y090ywcq827xq8fi2jzki")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/museun/mock_instant") - (synopsis "Mock an std::time::Instant") - (description - "This package provides a simple way to mock an std::time::Instant in rust.") - (license license:bsd-0))) + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-mockall-0.11 (package (name "rust-mockall") - (version "0.11.1") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "mockall" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0k3g3xxf195vsnzmwza047dv89zlg6h5yj5774wjlndgpdvf8han")))) + "15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-downcast" ,rust-downcast-0.11) - ("rust-fragile" ,rust-fragile-1) + ("rust-fragile" ,rust-fragile-2) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-mockall-derive" ,rust-mockall-derive-0.11) ("rust-predicates" ,rust-predicates-2) @@ -38700,14 +43206,14 @@ (define-public rust-mockall-0.11 (define-public rust-mockall-derive-0.11 (package (name "rust-mockall-derive") - (version "0.11.1") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "mockall_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ixhmsrg5ky4b2jlvbxhlpr3mbv7frd6wr8msm005vijb5rmcb96")))) + "1fvc9kwjcc9ia6ng7z9z02b4qkl9dvsx9m4z51xz9i0mj1k7bki2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -38716,7 +43222,7 @@ (define-public rust-mockall-derive-0.11 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://github.com/asomers/mockall") (synopsis "Procedural macros for the Mockall crate") (description @@ -38786,6 +43292,20 @@ (define-public rust-more-asserts-0.3 debug_assert_* macros.") (license (list license:unlicense license:expat license:asl2.0 license:cc0)))) +(define-public rust-more-asserts-0.2 + (package + (inherit rust-more-asserts-0.3) + (name "rust-more-asserts") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "more-asserts" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12b3fypg2sr4qmxy6wiyx6k9sdg573f5ij98cdmbrg00whnyqhvq")))) + (license license:cc0))) + (define-public rust-mozim-0.2 (package (name "rust-mozim") @@ -38880,8 +43400,71 @@ (define-public rust-mptcp-pm-0.1 (description "Linux kernel MPTCP path manager netlink Library.") (license license:expat))) +(define-public rust-msvc-demangler-0.9 + (package + (name "rust-msvc-demangler") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "msvc-demangler" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j7kkmbd9yvhk7dmvd29pqcg9mcjdw5p1ia1kihh16zss1nprdmz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)))) + (home-page "https://github.com/mstange/msvc-demangler-rust") + (synopsis "Rust library that demangles C++ symbols mangled by MSVC") + (description + "This package provides a rust library that demangles (undecorates) +C++ symbols mangled by MSVC.") + (license (list license:expat license:ncsa)))) + +(define-public rust-multer-3 + (package + (name "rust-multer") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "multer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06ajkcp0cjf66qxbp7swvdxkhmlg2wnjfbk3s9py9hx9w0mm4pd1")))) + (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-1) + ("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-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rwf2/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-multer-2 (package + (inherit rust-multer-3) (name "rust-multer") (version "2.1.0") (source @@ -38891,7 +43474,6 @@ (define-public rust-multer-2 (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) @@ -38909,15 +43491,7 @@ (define-public rust-multer-2 ("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))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-muldiv-1 (package @@ -38962,8 +43536,32 @@ (define-public rust-multimap-0.8 (description "This package provides a multimap implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-multiversion-0.7 + (package + (name "rust-multiversion") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "multiversion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0al7yrf489lqzxx291sx9566n7slk2njwlqrxbjhqxk1zvbvkixj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-multiversion-macros" ,rust-multiversion-macros-0.7) + ("rust-target-features" ,rust-target-features-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-rustversion" ,rust-rustversion-1)))) + (home-page "https://github.com/calebzulawski/multiversion") + (synopsis "Function multiversioning attribute macros for Rust") + (description "This crate provides function multiversioning attribute +macros for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-multiversion-0.6 (package + (inherit rust-multiversion-0.7) (name "rust-multiversion") (version "0.6.1") (source @@ -38973,41 +43571,52 @@ (define-public rust-multiversion-0.6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0wsk9ykdqjd6c54rf5l6yb6ps4hx409cda8aa875xk6k7lm9cp02")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-multiversion-macros" ,rust-multiversion-macros-0.6)))) + (("rust-multiversion-macros" ,rust-multiversion-macros-0.6)))))) + +(define-public rust-multiversion-macros-0.7 + (package + (name "rust-multiversion-macros") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "multiversion-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j1avbxw7jscyi7dmnywhlwbiny1fvg1vpp9fy4dc1pd022kva16")))) + (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-target-features" ,rust-target-features-0.1)))) (home-page "https://github.com/calebzulawski/multiversion") - (synopsis "Function multiversioning attribute macros for Rust") - (description "This crate provides function multiversioning attribute -macros for Rust.") + (synopsis "Implementation crate for multiversion") + (description "This is an implementation crate for multiversion Rust +library.") (license (list license:expat license:asl2.0)))) (define-public rust-multiversion-macros-0.6 (package + (inherit rust-multiversion-macros-0.7) (name "rust-multiversion-macros") (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "multiversion-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1bzkmxgyiwsanqf4lsdzx5gn4harza4rdrzkq5hgksw2wfyy58x8")))) - (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://github.com/calebzulawski/multiversion") - (synopsis "Implementation crate for multiversion") - (description "This is an implementation crate for multiversion Rust -library.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-mustache-0.9 (package @@ -41073,7 +45682,7 @@ (define-public rust-nix-0.28 #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) - ("rust-libc" ,rust-libc-0.2.153) + ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.9) ("rust-pin-utils" ,rust-pin-utils-0.1)) #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1) @@ -41085,11 +45694,15 @@ (define-public rust-nix-0.28 ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/nix-rust/nix") (synopsis "Rust friendly bindings to *nix APIs") - (description "Rust friendly bindings to *nix APIs") + (description + "Nix seeks to provide friendly bindings to various *nix platform APIs. +The goal is to not provide a 100% unified interface, but to unify what can be +while still providing platform specific APIs.") (license license:expat))) (define-public rust-nix-0.27 (package + (inherit rust-nix-0.28) (name "rust-nix") (version "0.27.1") (source @@ -41099,7 +45712,6 @@ (define-public rust-nix-0.27 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `nix::sys::aio` #:cargo-inputs @@ -41115,36 +45727,57 @@ (define-public rust-nix-0.27 ("rust-rand" ,rust-rand-0.8) ("rust-semver" ,rust-semver-1) ("rust-sysctl" ,rust-sysctl-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/nix-rust/nix") - (synopsis "Rust friendly bindings to *nix APIs") - (description - "Nix seeks to provide friendly bindings to various *nix platform APIs. -The goal is to not provide a 100% unified interface, but to unify what can be -while still providing platform specific APIs.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.26 (package (inherit rust-nix-0.27) (name "rust-nix") - (version "0.26.2") + (version "0.26.4") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06lfvjhsj5zlslsg2jhijrm69npprmsh7r1667qnl7c2jv8s7pdz")))) + (base32 "06xgl4ybb8pvjrbmc3xggbgk3kbs1j0c4c0nzdfrmpbgrkrym2sr")))) (arguments - (list #:skip-build? #t + (list #:cargo-test-flags + `(list "--release" "--" + "--skip=sys::resource::test::test_self_cpu_time" + "--skip=test_unistd::test_execve::test_cstr_ref" + "--skip=test_unistd::test_execve::test_cstring" + "--skip=test_unistd::test_execveat_absolute::test_cstr_ref" + "--skip=test_unistd::test_execveat_absolute::test_cstring" + ;; Some of the tests hang. + "--skip=test_unistd::test_execveat_empty::test_cstr_ref" + "--skip=test_unistd::test_execveat_empty::test_cstring" + "--skip=test_unistd::test_execveat_relative::test_cstr_ref" + "--skip=test_unistd::test_execveat_relative::test_cstring" + "--skip=test_unistd::test_fexecve::test_cstr_ref" + "--skip=test_unistd::test_fexecve::test_cstring" + ;; Some doctests segfault. + "--skip=sys::personality::set" + "--skip=sys::socket::sendmsg" + "--skip=unistd::Group::from_gid" + "--skip=unistd::Group::from_name" + "--skip=unistd::User::from_name" + "--skip=unistd::User::from_uid") #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.7) - ("rust-pin-utils" ,rust-pin-utils-0.1) - ("rust-static-assertions" ,rust-static-assertions-1)))))) + ("rust-pin-utils" ,rust-pin-utils-0.1)) + #:cargo-development-inputs + `(("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-caps" ,rust-caps-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-sysctl" ,rust-sysctl-0.4) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.25 (package @@ -41201,22 +45834,49 @@ (define-public rust-nix-0.23 (package (inherit rust-nix-0.24) (name "rust-nix") - (version "0.23.1") + (version "0.23.2") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1iimixk7y2qk0jswqich4mkd8kqyzdghcgy6203j8fmxmhbn71lz")))) + "0p5kxhm5d8lry0szqbsllpcb5i3z7lg1dkglw0ni2l011b090dwg")))) (arguments - (list #:skip-build? #t + (list #:cargo-test-flags + `(list "--release" "--" + "--skip=test_unistd::test_execve::test_cstr_ref" + "--skip=test_unistd::test_execve::test_cstring" + "--skip=test_unistd::test_execveat_absolute::test_cstr_ref" + "--skip=test_unistd::test_execveat_absolute::test_cstring" + ;; Some of the tests hang. + "--skip=test_unistd::test_execveat_empty::test_cstr_ref" + "--skip=test_unistd::test_execveat_empty::test_cstring" + "--skip=test_unistd::test_execveat_relative::test_cstr_ref" + "--skip=test_unistd::test_execveat_relative::test_cstring" + "--skip=test_unistd::test_fexecve::test_cstr_ref" + "--skip=test_unistd::test_fexecve::test_cstring" + ;; Some doctests segfault. + "--skip=sys::personality::set" + "--skip=unistd::Group::from_gid" + "--skip=unistd::Group::from_name" + "--skip=unistd::User::from_name" + "--skip=unistd::User::from_uid") #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) ("rust-cc" ,rust-cc-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.6)))))) + ("rust-memoffset" ,rust-memoffset-0.6)) + #:cargo-development-inputs + `(("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-caps" ,rust-caps-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-sysctl" ,rust-sysctl-0.1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.22 (package @@ -41229,13 +45889,31 @@ (define-public rust-nix-0.22 (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bsgc8vjq07a1wg9vz819bva3dvn58an4r87h80dxrfqkqanz4g4")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - ((">= 1\\.1\\.0, < 1\\.3\\.0") ">= 1.1.0")))))) + (base32 "1bsgc8vjq07a1wg9vz819bva3dvn58an4r87h80dxrfqkqanz4g4")))) (arguments - `(#:tests? #f ; Tests hang forever. + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_unistd::test_execve::test_cstr_ref" + "--skip=test_unistd::test_execve::test_cstring" + "--skip=test_unistd::test_execveat_absolute::test_cstr_ref" + "--skip=test_unistd::test_execveat_absolute::test_cstring" + ;; Some of the tests hang. + "--skip=sys::test_socket::test_af_alg_aead" + "--skip=test_unistd::test_execveat_empty::test_cstr_ref" + "--skip=test_unistd::test_execveat_empty::test_cstring" + "--skip=test_unistd::test_execveat_relative::test_cstr_ref" + "--skip=test_unistd::test_execveat_relative::test_cstring" + "--skip=test_unistd::test_fexecve::test_cstr_ref" + "--skip=test_unistd::test_fexecve::test_cstring" + ;; cannot find macro `libc_bitflags` in this scope + "--skip=macros::libc_bitflags" + "--skip=macros::libc_enum" + ;; Some doctests segfault. + "--skip=sys::personality::set" + "--skip=unistd::Group::from_gid" + "--skip=unistd::Group::from_name" + "--skip=unistd::User::from_name" + "--skip=unistd::User::from_uid") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cc" ,rust-cc-1) @@ -41249,51 +45927,122 @@ (define-public rust-nix-0.22 ("rust-rand" ,rust-rand-0.8) ("rust-semver" ,rust-semver-1) ("rust-sysctl" ,rust-sysctl-0.1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs - (list rust-bitflags-1 rust-cc-1 rust-cfg-if-1 rust-libc-0.2 - rust-memoffset-0.6)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.21 (package (inherit rust-nix-0.22) (name "rust-nix") - (version "0.21.0") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1isfgr239sxvkcjhcp08rz2nqi4s6w5ik2l2m183ldlxqkz2hdsw")))) + (base32 "1iqj1mvf15bja6i3kmsfrmmg5jwd02pxsg1v2ld69q583r9g7nbp")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_unistd::test_execve::test_cstr_ref" + "--skip=test_unistd::test_execve::test_cstring" + "--skip=test_unistd::test_execveat_absolute::test_cstr_ref" + "--skip=test_unistd::test_execveat_absolute::test_cstring" + ;; Some of the tests hang. + "--skip=sys::test_socket::test_af_alg_aead" + "--skip=test_unistd::test_execveat_empty::test_cstr_ref" + "--skip=test_unistd::test_execveat_empty::test_cstring" + "--skip=test_unistd::test_execveat_relative::test_cstr_ref" + "--skip=test_unistd::test_execveat_relative::test_cstring" + "--skip=test_unistd::test_fexecve::test_cstr_ref" + "--skip=test_unistd::test_fexecve::test_cstring" + ;; cannot find macro `libc_bitflags` in this scope + "--skip=macros::libc_bitflags" + "--skip=macros::libc_enum" + ;; Some doctests segfault. + "--skip=sys::personality::set" + "--skip=unistd::Group::from_gid" + "--skip=unistd::Group::from_name" + "--skip=unistd::User::from_name" + "--skip=unistd::User::from_uid") #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) + (("rust-bitflags" ,rust-bitflags-1.2) ; Not a newer version. ("rust-cc" ,rust-cc-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.6)))))) + ("rust-memoffset" ,rust-memoffset-0.6)) + #:cargo-development-inputs + (("rust-assert-impl" ,rust-assert-impl-0.1) + ("rust-caps" ,rust-caps-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-sysctl" ,rust-sysctl-0.1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.20 (package (inherit rust-nix-0.21) (name "rust-nix") - (version "0.20.0") + (version "0.20.2") (source (origin (method url-fetch) (uri (crate-uri "nix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12n1syfd967hblrcrrqk63a4s1h4hsybfqwblh71rihvv8cli6zs")))) + (base32 "0ia96wf568sksplpcxzzf2m5jj974sri93469vpnh5b1zcln3q7m")))) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_unistd::test_execve::test_cstr_ref" + "--skip=test_unistd::test_execve::test_cstring" + "--skip=test_unistd::test_execveat_absolute::test_cstr_ref" + "--skip=test_unistd::test_execveat_absolute::test_cstring" + "--skip=sys::test_aio::test_liocb_listio_nowait" + "--skip=sys::test_aio::test_liocb_listio_signal" + "--skip=sys::test_aio::test_liocb_listio_wait" + "--skip=sys::test_aio::test_write_sigev_signal" + "--skip=sys::test_select::test_pselect" + "--skip=sys::test_signal::test_old_sigaction_flags" + "--skip=sys::test_signal::test_signal" + "--skip=sys::test_signal::test_signal_sigaction" + "--skip=sys::test_signal::test_sigprocmask" + "--skip=sys::test_signalfd::test_signalfd" + "--skip=test_unistd::test_alarm" + "--skip=test_unistd::test_canceling_alarm" + ;; Some of the tests hang. + "--skip=sys::test_socket::test_af_alg_aead" + "--skip=test_unistd::test_execveat_empty::test_cstr_ref" + "--skip=test_unistd::test_execveat_empty::test_cstring" + "--skip=test_unistd::test_execveat_relative::test_cstr_ref" + "--skip=test_unistd::test_execveat_relative::test_cstring" + "--skip=test_unistd::test_fexecve::test_cstr_ref" + "--skip=test_unistd::test_fexecve::test_cstring" + ;; cannot find macro `libc_bitflags` in this scope + "--skip=macros::libc_bitflags" + "--skip=macros::libc_enum" + ;; Some doctests segfault. + "--skip=sys::aio::LioCb<'a>::listio" + "--skip=sys::aio::aio_suspend" + "--skip=sys::personality::set" + "--skip=unistd::Group::from_gid" + "--skip=unistd::Group::from_name" + "--skip=unistd::User::from_name" + "--skip=unistd::User::from_uid") #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) + (("rust-bitflags" ,rust-bitflags-1.2) ; Not a newer version. ("rust-cc" ,rust-cc-1) ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-libc" ,rust-libc-0.2)))))) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6)) + #:cargo-development-inputs (("rust-bytes" ,rust-bytes-0.4) + ("rust-caps" ,rust-caps-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.6) + ("rust-semver" ,rust-semver-0.9) + ("rust-sysctl" ,rust-sysctl-0.1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.19 (package @@ -41505,8 +46254,31 @@ (define-public rust-no-std-compat-0.4 make porting your crate to no_std *easy*.") (license license:expat))) +(define-public rust-no-std-net-0.6 + (package + (name "rust-no-std-net") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "no-std-net" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ravflgyh0q2142gjdz9iav5yqci3ga7gbnk4mmfcnqkrq54lya3")))) + (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/dunmatt/no-std-net") + (synopsis "Rust's @code{std::net} without the @code{std}") + (description "This package provides Rust's @code{std::net} in an environment +without @code{std}.") + (license license:expat))) + (define-public rust-no-std-net-0.5 (package + (inherit rust-no-std-net-0.6) (name "rust-no-std-net") (version "0.5.0") (source @@ -41516,17 +46288,7 @@ (define-public rust-no-std-net-0.5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0lkilh0wc7big3m5lsn9wqiz2xvj21kgmpbc15z92j93n51wxkhv")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/dunmatt/no-std-net") - (synopsis "Rust's std::net... without the @code{std}") - (description "This package provides Rust's std::net for environment -without the @code{std}.") - (license license:expat))) + "0lkilh0wc7big3m5lsn9wqiz2xvj21kgmpbc15z92j93n51wxkhv")))))) (define-public rust-nodrop-0.1 (package @@ -41721,6 +46483,27 @@ (define-public rust-nom-3 ("rust-memchr" ,rust-memchr-1) ("rust-regex" ,rust-regex-0.2)))))) +(define-public rust-nom-2 + (package + (inherit rust-nom-4) + (name "rust-nom") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; Cannot find file for tests. + "--skip=stream::tests::seeking_consumer" + "--skip=big_bunny_test" + "--skip=small_test") + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-0.2) + ("rust-regex" ,rust-regex-0.2)))))) + (define-public rust-nom-1 (package (inherit rust-nom-4) @@ -41851,6 +46634,24 @@ (define-public rust-noop-proc-macro-0.3 nothing.") (license license:expat))) +(define-public rust-normalize-path-0.2 + (package + (name "rust-normalize-path") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "normalize-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bc919zp34b9312wqd92jbi3xa9gxljxh8nfw7v6sk7znb98shzm")))) + (build-system cargo-build-system) + (home-page "https://github.com/cargo-bins/cargo-binstall") + (synopsis "Like canonicalize, but without performing I/O") + (description "This package provides a rust function like canonicalize, but +without performing I/O.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-normalize-line-endings-0.3 (package (name "rust-normalize-line-endings") @@ -42082,6 +46883,60 @@ (define-public rust-notify-4 (("rust-tempfile" ,rust-tempfile-3)))) (license license:cc0))) +(define-public rust-notify-debouncer-mini-0.4 + (package + (name "rust-notify-debouncer-mini") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify-debouncer-mini" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hwxdbzyx01pzwyld1dk7sc7ak5k3xkjz2l59ppwa7rajwhv4h2x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-notify" ,rust-notify-6) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Notify mini debouncer") + (description "This crate is notify mini debouncer for events.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-notify-debouncer-full-0.3 + (package + (name "rust-notify-debouncer-full") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "notify-debouncer-full" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m31ad5wv0lhrncn6qqk4zmryf0fl9h1j9kzrx89p2rlkjsxmxa9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-file-id" ,rust-file-id-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-notify" ,rust-notify-6) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-deser-hjson" ,rust-deser-hjson-1) + ("rust-mock-instant" ,rust-mock-instant-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rstest" ,rust-rstest-0.17) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/notify-rs/notify") + (synopsis "Notify event debouncer optimized for ease of use") + (description + "This package provides a notify event debouncer optimized for ease of use.") + (license (list license:expat license:asl2.0)))) + (define-public rust-notmuch-0.8 (package (name "rust-notmuch") @@ -42148,6 +47003,27 @@ (define-public rust-notmuch-0.6 ("rust-maildir" ,rust-maildir-0.5) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-now-0.1 + (package + (name "rust-now") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "now" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l135786rb43rjfhwfdj7hi3b5zxxyl9gwf15yjz18cp8f3yk2bd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)) + #:cargo-development-inputs (("rust-cargo-husky" ,rust-cargo-husky-1) + ("rust-criterion" ,rust-criterion-0.4)))) + (home-page "https://github.com/Kilerd/now") + (synopsis "Time toolkit for chrono") + (description "This package provides a time toolkit for chrono.") + (license license:expat))) + (define-public rust-ntapi-0.4 (package (name "rust-ntapi") @@ -42421,14 +47297,14 @@ (define-public rust-ntex-bytes-0.1 (define-public rust-num-0.4 (package (name "rust-num") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "num" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bz7kvj94pyw4zi1pm7knziljzii218sw79ap8qfb81xkvb80ldh")))) + (base32 "0hbaawqgb3gsmx2i94ygbhc7nyqi6a30zbpja453n43xya5b0d9i")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -42681,17 +47557,36 @@ (define-public rust-num-bigint-dig-0.7 ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) ("rust-serde-test" ,rust-serde-test-1)))))) +(define-public rust-num-cmp-0.1 + (package + (name "rust-num-cmp") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-cmp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1alavi36shn32b3cwbmkncj1wal3y3cwzkm21bxy5yil5hp5ncv3")))) + (build-system cargo-build-system) + (home-page "https://github.com/lifthrasiir/num-cmp") + (synopsis "Comparison between differently typed numbers") + (description + "This crate provides tools for comparison between differently typed +numbers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-num-complex-0.4 (package (name "rust-num-complex") - (version "0.4.4") + (version "0.4.6") (source (origin (method url-fetch) (uri (crate-uri "num-complex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "051j73vvdj07kdlpqv056s3a50ragsx3183cbpl1shc51355g88v")))) + (base32 "15cla16mnw12xzf5g041nxbjjm9m85hdgadd5dl5d0b30w9qmy3k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -42768,6 +47663,26 @@ (define-public rust-num-complex-0.1 ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-serde" ,rust-serde-0.8)))))) +(define-public rust-num-conv-0.1 + (package + (name "rust-num-conv") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-conv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ndiyg82q73783jq18isi71a7mjh56wxrk52rlvyx0mi5z9ibmai")))) + (build-system cargo-build-system) + (home-page "https://github.com/jhpratt/num-conv") + (synopsis "Convert between integer types") + (description + "@code{num_conv} is a crate to convert between integer types without using +@code{as} casts. This provides better certainty when refactoring, makes the +exact behavior of code more explicit, and allows using turbofish syntax.") + (license (list license:expat license:asl2.0)))) + (define-public rust-num-cpus-1 (package (name "rust-num-cpus") @@ -43066,7 +47981,7 @@ (define-public rust-num-format-windows-0.4 (define-public rust-num-integer-0.1 (package (name "rust-num-integer") - (version "0.1.45") + (version "0.1.46") (source (origin (method url-fetch) @@ -43074,7 +47989,7 @@ (define-public rust-num-integer-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ncwavvwdmsqzxnn65phv6c6nn72pnv9xhpmjd6a429mzf4k6p92")))) + "13w5g54a9184cqlbsq80rnxw4jj4s0d8wv75jsq5r2lms8gncsbr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -43090,7 +48005,7 @@ (define-public rust-num-integer-0.1 (define-public rust-num-iter-0.1 (package (name "rust-num-iter") - (version "0.1.43") + (version "0.1.45") (source (origin (method url-fetch) @@ -43098,7 +48013,7 @@ (define-public rust-num-iter-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0lp22isvzmmnidbq9n5kbdh8gj0zm3yhxv1ddsn5rp65530fc0vx")))) + "1gzm7vc5g9qsjjl3bqk9rz1h6raxhygbrcpbfl04swlh0i506a8l")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -43225,14 +48140,14 @@ (define-public rust-num-threads-0.1 (define-public rust-num-traits-0.2 (package (name "rust-num-traits") - (version "0.2.17") + (version "0.2.19") (source (origin (method url-fetch) (uri (crate-uri "num-traits" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0z16bi5zwgfysz6765v3rd6whfbjpihx3mhsn4dg8dzj2c221qrr")))) + (base32 "0h984rhdkkqd4ny9cif7y2azl3xdfb7768hb9irhpsch4q3gq787")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -43301,8 +48216,40 @@ (define-public rust-number-prefix-0.3 giga, kibi.") (license license:expat))) +(define-public rust-numtoa-0.2 + (package + (name "rust-numtoa") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "numtoa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03yhkhjb3d1zx22m3pgcbpk8baj0zzvaxqc25c584sdq77jw98ka")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=base10_i128_array_too_small" + "--skip=base10_i16_array_too_small" + "--skip=base10_i32_array_too_small" + "--skip=base10_i64_array_too_small" + "--skip=base10_i8_array_too_small" + "--skip=base10_u128_array_too_small" + "--skip=base10_u16_array_too_small" + "--skip=base10_u32_array_too_small" + "--skip=base10_u64_array_too_small" + "--skip=base10_u8_array_too_small"))) + (home-page "https://gitlab.com/mmstick/numtoa") + (synopsis "Convert numbers into stack-allocated byte arrays") + (description + "This package can convert numbers into stack-allocated byte arrays.") + (license (list license:expat license:asl2.0)))) + (define-public rust-numtoa-0.1 (package + (inherit rust-numtoa-0.2) (name "rust-numtoa") (version "0.1.0") (source @@ -43313,13 +48260,41 @@ (define-public rust-numtoa-0.1 (sha256 (base32 "1vs9rhggqbql1p26x8nkha1j06wawwgb2jp5fs88b5gi7prvvy5q")))) + (arguments '(#:tests? #f)))) + +(define-public rust-oauth2-types-0.7 + (package + (name "rust-oauth2-types") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "oauth2-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08pis87992xd6gj072k4kr4inlaaviq6as5h65pnjmk86siky37x")))) (build-system cargo-build-system) - (arguments '(#:tests? #f)) - (home-page "https://gitlab.com/mmstick/numtoa") - (synopsis "Convert numbers into stack-allocated byte arrays") - (description - "This package can convert numbers into stack-allocated byte arrays.") - (license (list license:expat license:asl2.0)))) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-http" ,rust-http-0.2) + ("rust-language-tags" ,rust-language-tags-0.3) + ("rust-mas-iana" ,rust-mas-iana-0.7) + ("rust-mas-jose" ,rust-mas-jose-0.7) + ("rust-parse-display" ,rust-parse-display-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with" ,rust-serde-with-3) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1)))) + (home-page "https://matrix-org.github.io/matrix-authentication-service/") + (synopsis "OAuth 2.0 types used by the Matrix Authentication Service") + (description "This package provides OAuth 2.0 types used by the Matrix +Authentication Service.") + (license license:asl2.0))) (define-public rust-obfstr-0.3 (package @@ -43384,8 +48359,44 @@ (define-public rust-obj-0.9 "This package provides a package for loading Wavefront @code{.obj} files.") (license license:asl2.0))) +(define-public rust-object-0.32 + (package + (name "rust-object") + (version "0.32.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hc4cjwyngiy6k51hlzrlsxgv5z25vv7c2cp0ky1lckfic0259m6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files are included + "--skip=read::coff::coff_extended_relocations") + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-memchr" ,rust-memchr-2) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-ruzstd" ,rust-ruzstd-0.5) + ("rust-wasmparser" ,rust-wasmparser-0.118)))) + (home-page "https://github.com/gimli-rs/object") + (synopsis "Unified interface for reading and writing object file formats") + (description + "This package provides a unified interface for reading and writing object +file formats.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-object-0.30 (package + (inherit rust-object-0.32) (name "rust-object") (version "0.30.3") (source (origin @@ -43395,7 +48406,6 @@ (define-public rust-object-0.30 (sha256 (base32 "0fdl7qjsz1j9kl3j7f4656fswzrqpyj2kgaizhknmjrx7mfjd1pa")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -43410,13 +48420,7 @@ (define-public rust-object-0.30 ("rust-memchr" ,rust-memchr-2) ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-wasmparser" ,rust-wasmparser-0.57)))) - (home-page "https://github.com/gimli-rs/object") - (synopsis "Unified interface for reading and writing object file formats") - (description - "This package provides a unified interface for reading and writing object -file formats.") - (license (list license:asl2.0 license:expat)))) + ("rust-wasmparser" ,rust-wasmparser-0.57)))))) (define-public rust-object-0.29 (package @@ -43507,6 +48511,54 @@ (define-public rust-object-0.27 ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-wasmparser" ,rust-wasmparser-0.57)))))) +(define-public rust-object-store-0.9 + (package + (name "rust-object-store") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "object_store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cwx0xg57cp3z6xjgrqwp0gxgxsagls4h5cd212pmxpxcn5qywdq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-humantime" ,rust-humantime-2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-rand" ,rust-rand-0.8) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-ring" ,rust-ring-0.17) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snafu" ,rust-snafu-0.7) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-futures-test" ,rust-futures-test-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-nix" ,rust-nix-0.28) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/apache/arrow-rs/tree/master/object_store") + (synopsis "Generic object store interface") + (description "This package provides a generic object store interface for +uniformly interacting with AWS S3, Google Cloud Storage, Azure Blob Storage and +local files.") + (license (list license:expat license:asl2.0)))) + (define-public rust-oboe-0.4 (package (name "rust-oboe") @@ -43558,6 +48610,56 @@ (define-public rust-oboe-sys-0.4 "Unsafe bindings for oboe an android library for low latency audio IO.") (license license:asl2.0))) +(define-public rust-odbc-api-0.36 + (package + (name "rust-odbc-api") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "odbc-api" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04xcqqhm7w24b1gj6v4b24z9j65r1zzyxjadlv3xf73fm92cmnd3")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect a running odbc server. + #:cargo-inputs (("rust-force-send-sync" ,rust-force-send-sync-1) + ("rust-log" ,rust-log-0.4) + ("rust-odbc-sys" ,rust-odbc-sys-0.21) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-widestring" ,rust-widestring-0.5) + ("rust-winit" ,rust-winit-0.26)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-csv" ,rust-csv-1) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-case" ,rust-test-case-2)))) + (inputs (list unixodbc)) + (home-page "https://github.com/pacman82/odbc-api") + (synopsis "Write ODBC Applications in (mostly) safe Rust") + (description "Write ODBC Applications in (mostly) safe Rust.") + (license license:expat))) + +(define-public rust-odbc-sys-0.21 + (package + (name "rust-odbc-sys") + (version "0.21.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "odbc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "024gylzq3q7s6b10qhbb8cjis6aj8a83jay553jdsiwgwm65qb2r")))) + (build-system cargo-build-system) + (inputs (list unixodbc)) + (home-page "https://github.com/pacman82/odbc-sys") + (synopsis "ODBC FFI bindings") + (description "This package provides ODBC FFI bindings.") + (license license:expat))) + (define-public rust-odds-0.3 (package (name "rust-odds") @@ -43642,6 +48744,23 @@ (define-public rust-ogg-0.8 spec in pure Rust.") (license license:expat))) +(define-public rust-omnipath-0.1 + (package + (name "rust-omnipath") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "omnipath" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xd5a4xwsfmhzk59v6wz65f59rk16d7gvkg90w1qhb0jg08b7bc0")))) + (build-system cargo-build-system) + (home-page "https://github.com/ChrisDenton/omnipath") + (synopsis "Path utility library") + (description "This package provides a path utility library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-onig-6 (package (name "rust-onig") @@ -43781,8 +48900,49 @@ (define-public rust-opaque-debug-0.2 (base32 "02942l2gc7w5r4js7i9063x99szic5mzzk1055j83v4diqpbpxck")))))) +(define-public rust-open-5 + (package + (name "rust-open") + (version "5.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "open" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ciy22dh82rdgmmsiai2wksx7sj9abb4ddnmxpqxnpfqapw0z7s4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-is-wsl" ,rust-is-wsl-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-pathdiff" ,rust-pathdiff-0.2)))) + (home-page "https://github.com/Byron/open-rs") + (synopsis "Open a path or URL using the program configured on the system") + (description + "Use this library to open a path or URL using the program configured on +the system.") + (license license:expat))) + +(define-public rust-open-4 + (package + (inherit rust-open-5) + (name "rust-open") + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "open" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04kw6xmsjm0wdqidjndhpzl79iksyrhwyik32z28wjjygq63q21s")))) + (arguments + `(#:cargo-inputs (("rust-is-wsl" ,rust-is-wsl-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-pathdiff" ,rust-pathdiff-0.2)))))) + (define-public rust-open-3 (package + (inherit rust-open-4) (name "rust-open") (version "3.2.0") (source @@ -43792,34 +48952,26 @@ (define-public rust-open-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1y3nhpgh444ns5vqy87jbcnlryqmw62akyi85k2a0m3akq1w0y10")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-windows-sys" ,rust-windows-sys-0.42)))) - (home-page "https://github.com/Byron/open-rs") - (synopsis "Open a path or URL using the program configured on the system") - (description - "Use this library to open a path or URL using the program configured on -the system.") - (license license:expat))) + ("rust-windows-sys" ,rust-windows-sys-0.42)))))) (define-public rust-open-2 (package (inherit rust-open-3) (name "rust-open") - (version "2.0.2") + (version "2.1.3") (source (origin (method url-fetch) (uri (crate-uri "open" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dq9c6dgq7iv5kvqfk8gvkfq34j5pdinfcs1hbdd4x6i62vf8vhp")))) + (base32 "137r49qinkxvw85z2cjlz03ds8w9jrakcm5iqdc2xf25ykxkyhpj")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-winapi" ,rust-winapi-0.3)))))) + ("rust-windows-sys" ,rust-windows-sys-0.36)))))) (define-public rust-open-1 (package @@ -43946,14 +49098,14 @@ (define-public rust-openssl-macros-0.1 (define-public rust-openssl-0.10 (package (name "rust-openssl") - (version "0.10.57") + (version "0.10.64") (source (origin (method url-fetch) (uri (crate-uri "openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0z0f8g84y0lvnbc60586ibjpf8r1q1dv672vfqan5d5bk7imxhms")) + "07vb455yh08qh3n493ssw1qsa3zg3zfj438kk2180453hq94i84m")) (snippet #~(begin (use-modules (guix build utils)) (substitute* "Cargo.toml" @@ -44039,14 +49191,14 @@ (define-public rust-openssl-probe-0.1 (define-public rust-openssl-sys-0.9 (package (name "rust-openssl-sys") - (version "0.9.93") + (version "0.9.101") (source (origin (method url-fetch) (uri (crate-uri "openssl-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "078vnn4s18kj8m5sd7b684frhjnxjcjc9z7s7h4871s7q2j5ckfv")) + (base32 "1zwd35nc5bq7m26vjsmja4hxf3fzk389blgpmhpzr3p78krv18nx")) (snippet #~(begin (use-modules (guix build utils)) @@ -44054,12 +49206,15 @@ (define-public rust-openssl-sys-0.9 (substitute* "Cargo.toml.orig" (("vendored = .*") "vendored = []\n") ((".*bssl.*") "") - ((".*openssl-src.*") "")) + ((".*openssl-src.*") "") + ;; Allow any version of bindgen. + (("(bindgen = \\{ version =) \".*\"," _ bindgen) + (string-append bindgen "\"*\","))) (copy-file "Cargo.toml.orig" "Cargo.toml"))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.64) + (("rust-bindgen" ,rust-bindgen-0.69) ("rust-cc" ,rust-cc-1) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) @@ -44137,6 +49292,34 @@ (define-public rust-openssl-sys-extras-0.7 "Extra FFI bindings to OpenSSL that require a C shim.") (license license:expat))) +(define-public rust-opentelemetry-0.21 + (package + (name "rust-opentelemetry") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "opentelemetry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12jfmyx8k9q2sjlx4wp76ddzaf94i7lnkliv1c9mj164bnd36chy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-urlencoding" ,rust-urlencoding-2)))) + (home-page "https://github.com/open-telemetry/opentelemetry-rust") + (synopsis "Metrics collection and distributed tracing framework") + (description + "This package provides a metrics collection and distributed tracing +framework.") + (license license:asl2.0))) + (define-public rust-opml-1 (package (name "rust-opml") @@ -44300,6 +49483,29 @@ (define-public rust-orbclient-0.3 "This package provides the Orbital Client Library, used for RedoxOS.") (license license:expat))) +(define-public rust-orc-format-0.3 + (package + (name "rust-orc-format") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "orc-format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02qzqhy1zx9bmylvkmbjrc2mxyddjgn2sqiwwd7kr9zh2p7jsaj0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-prost" ,rust-prost-0.9)))) + (home-page "https://github.com/DataEngineeringLabs/orc-format") + (synopsis "Unofficial implementation of Apache ORC spec in safe Rust") + (description "Unofficial implementation of Apache ORC spec in safe Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ord-subset-3 (package (name "rust-ord-subset") @@ -44321,18 +49527,48 @@ (define-public rust-ord-subset-3 PartialOrd types, like floats.") (license (list license:expat license:asl2.0)))) -(define-public rust-ordered-float-3 +(define-public rust-ordered-float-4 (package (name "rust-ordered-float") - (version "3.4.0") + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-float" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kjqcvvbcsibbx3hnj7ag06bd9gv2zfi5ja6rgyh2kbxbh3zfvd7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-borsh" ,rust-borsh-1) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-speedy" ,rust-speedy-0.8)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/reem/rust-ordered-float") + (synopsis "Wrappers for total ordering on floats") + (description + "This package provides wrappers for total ordering on floats in Rust.") + (license license:expat))) + +(define-public rust-ordered-float-3 + (package + (inherit rust-ordered-float-4) + (name "rust-ordered-float") + (version "3.9.2") (source (origin (method url-fetch) (uri (crate-uri "ordered-float" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1gr31ksgbqariv6hz3s5bc15a5vh4k65dyn8m7j59lhnji0b2knq")))) - (build-system cargo-build-system) + "1p3jkxlz89ndm4lmwr2n5kdnckhm5pcmqqkihkag259dff8c7qgi")))) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-bytemuck" ,rust-bytemuck-1) @@ -44342,32 +49578,30 @@ (define-public rust-ordered-float-3 ("rust-rkyv" ,rust-rkyv-0.7) ("rust-schemars" ,rust-schemars-0.8) ("rust-serde" ,rust-serde-1) - ("rust-speedy" ,rust-speedy-0.8)))) - (home-page "https://github.com/reem/rust-ordered-float") - (synopsis "Wrappers for total ordering on floats") - (description - "This package provides wrappers for total ordering on floats in Rust.") - (license license:expat))) + ("rust-speedy" ,rust-speedy-0.8)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-ordered-float-2 (package (inherit rust-ordered-float-3) (name "rust-ordered-float") - (version "2.1.1") + (version "2.10.1") (source (origin (method url-fetch) (uri (crate-uri "ordered-float" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn")))) + "075i108hr95pr7hy4fgxivib5pky3b6b22rywya5qyd2wmkrvwb8")))) (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2) + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-schemars" ,rust-schemars-0.6) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) @@ -44376,19 +49610,45 @@ (define-public rust-ordered-float-1 (package (inherit rust-ordered-float-2) (name "rust-ordered-float") - (version "1.0.2") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "ordered-float" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq")))))) + "1drp3v9jsm1mn0wqp4p5y19j3bmz3w5rw4yxzi39zlld4wssy19k")))) + (arguments + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) + +(define-public rust-ordered-multimap-0.4 + (package + (name "rust-ordered-multimap") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-multimap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jljv1257pfyf855jlwwas5mqkzk40b9lqfx40f73qbpf7ildmyc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.3) + ("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/sgodwincs/ordered-multimap-rs") + (synopsis "Insertion ordered multimap") + (description "This crate provides a multimap type object that maintains +insertion order across all keys and values.") + (license license:expat))) (define-public rust-ordered-multimap-0.3 (package + (inherit rust-ordered-multimap-0.4) (name "rust-ordered-multimap") (version "0.3.1") (source @@ -44398,18 +49658,12 @@ (define-public rust-ordered-multimap-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1194q7sb2d6chbllsn7237dhhvx04iqr3sq0ii16w1pcv5x2qrqw")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.2) ("rust-hashbrown" ,rust-hashbrown-0.9) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/sgodwincs/ordered-multimap-rs") - (synopsis "Insertion ordered multimap") - (description "This crate provides a multimap type object that maintains -insertion order across all keys and values.") - (license license:expat))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-ordered-stream-0.2 (package @@ -44519,6 +49773,25 @@ (define-public rust-orgize-0.9 "This package provides a Rust library for parsing orgmode files.") (license license:expat))) +(define-public rust-os-display-0.1 + (package + (name "rust-os-display") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "os_display" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xfgfqvfg5nyidv5p85fb87l0mif1nniisxarw6npd4jv2x2jqks")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/blyxxyz/os_display") + (synopsis "Display strings in a safe platform-appropriate way") + (description "Display strings in a safe platform-appropriate way.") + (license license:expat))) + (define-public rust-os-info-3 (package (name "rust-os-info") @@ -44548,19 +49821,19 @@ (define-public rust-os-info-3 (define-public rust-os-pipe-1 (package (name "rust-os-pipe") - (version "1.1.4") + (version "1.1.5") (source (origin (method url-fetch) (uri (crate-uri "os_pipe" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xy1igr1jfd9ijhr4sccvl8mzp0jic7njdmr56lsk3220ym5ks0a")))) + (base32 "1fcgfg3ddnsh6vfhkk579p7z786kh1khb1dar4g4k1iri4xrq4ap")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (native-inputs (list python-minimal-wrapper)) ; For the tests. (home-page "https://github.com/oconnor663/os_pipe.rs") @@ -44866,14 +50139,16 @@ (define-public rust-owo-colors-3 (package (inherit rust-owo-colors-4) (name "rust-owo-colors") - (version "3.6.0") + (version "3.5.0") (source (origin (method url-fetch) (uri (crate-uri "owo-colors" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0943lynkwz1glq3w7m9anv73lnrhd8yabs09krbh49g1wz4lxp39")))))) + "0vyvry6ba1xmpd45hpi6savd8mbx09jpmvnnwkf6z62pk6s4zc61")))) + (arguments + `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-1)))))) (define-public rust-owned-ttf-parser-0.6 (package @@ -45239,6 +50514,31 @@ (define-public rust-pandoc-0.8 executable.") (license (list license:expat license:asl2.0)))) +(define-public rust-papergrid-0.10 + (package + (name "rust-papergrid") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "papergrid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j6hhk8lgzz53rzrlpxqrsq9gqi7cis445l7m7wn5nxny8avxk52")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testing_table` + #:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-ansitok" ,rust-ansitok-0.2) + ("rust-bytecount" ,rust-bytecount-0.6) + ("rust-fnv" ,rust-fnv-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + (home-page "https://github.com/zhiburt/tabled") + (synopsis "Core library to print a table") + (description "Papergrid is a core library to print a table.") + (license license:expat))) + (define-public rust-parasailors-0.3 (package (name "rust-parasailors") @@ -45583,14 +50883,14 @@ (define-public rust-parking-lot-0.4 (define-public rust-parking-lot-core-0.9 (package (name "rust-parking-lot-core") - (version "0.9.8") + (version "0.9.9") (source (origin (method url-fetch) (uri (crate-uri "parking_lot_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ixlak319bpzldq20yvyfqk0y1vi736zxbw101jvzjp7by30rw4k")))) + "13h0imw1aq86wj28gxkblhkzx6z1gk8q18n0v76qmmj6cliajhjc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -45598,10 +50898,10 @@ (define-public rust-parking-lot-core-0.9 ("rust-cfg-if" ,rust-cfg-if-1) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-redox-syscall" ,rust-redox-syscall-0.3) + ("rust-redox-syscall" ,rust-redox-syscall-0.4) ("rust-smallvec" ,rust-smallvec-1) ("rust-thread-id" ,rust-thread-id-4) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-targets" ,rust-windows-targets-0.48)))) (home-page "https://github.com/Amanieu/parking_lot") (synopsis "API for creating custom synchronization primitives") (description "This package provides an advanced API for creating custom @@ -45611,7 +50911,7 @@ (define-public rust-parking-lot-core-0.9 (define-public rust-parking-lot-core-0.8 (package (name "rust-parking-lot-core") - (version "0.8.4") + (version "0.8.6") (source (origin (method url-fetch) @@ -45619,14 +50919,7 @@ (define-public rust-parking-lot-core-0.8 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08n7w09q6b2prvazbzgwrc9ml7aaf8yg3132ifsayrkwy1nwwzs6")) - (modules '((guix build utils))) - (snippet - '(begin - ;; XXX: The file demands 0.3.60; we have 0.3.56, but - ;; that works well, really. - (substitute* "Cargo.toml" - (("0\\.3\\.60") "0.3.56")))))) + "1p2nfcbr0b9lm9rglgm28k6mwyjwgm4knipsmqbgqaxdy3kcz8k0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -45649,16 +50942,14 @@ (define-public rust-parking-lot-core-0.7 (package (inherit rust-parking-lot-core-0.8) (name "rust-parking-lot-core") - (version "0.7.2") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "parking_lot_core" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "18s0cw5y32447c06fhg2mp3xfng22fn1h9fpx3il98sbimv7r36m")))) + (base32 "167wvxai4a5zhpy5zfgfbm5c566vfffjlr3fkrwkq21kn9mkhgxr")))) (arguments `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) @@ -45675,31 +50966,26 @@ (define-public rust-parking-lot-core-0.6 (package (inherit rust-parking-lot-core-0.7) (name "rust-parking-lot-core") - (version "0.6.2") + (version "0.6.3") (source (origin (method url-fetch) (uri (crate-uri "parking_lot_core" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ay67dpnrn68ryyvp720m9i8hzp189fd4d6slrs1lvmcwywv2xmq")))) + (base32 "02kbwqrr0w5mw0hkklqcg35aaiq1cck3g1w0d8bpbgk21a0np9mx")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-cloudabi" ,rust-cloudabi-0.0) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.4) - ("rust-rand" ,rust-rand-0.4) ("rust-redox-syscall" ,rust-redox-syscall-0.1) + ("rust-rustc-version" ,rust-rustc-version-0.2) ("rust-smallvec" ,rust-smallvec-0.6) ("rust-thread-id" ,rust-thread-id-3) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-rustc-version" ,rust-rustc-version-0.2)))))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-parking-lot-core-0.5 (package @@ -45826,8 +51112,70 @@ (define-public rust-parquet-format-async-temp-0.2 definitions compiled to support read+write async.") (license license:asl2.0))) +(define-public rust-parquet-format-safe-0.2 + (package + (name "rust-parquet-format-safe") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "parquet-format-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07wf6wf4jrxlq5p3xldxsnabp7jl06my2qp7kiwy9m3x2r5wac8i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures" ,rust-futures-0.3)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/jorgecarleitao/parquet-format-safe") + (synopsis "Safe Parquet and Thrift reader and writer (sync and async)") + (description "Safe Parquet and Thrift reader and writer (sync and async).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-parquet2-0.17 + (package + (name "rust-parquet2") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "parquet2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kiv50rj44y6flsa2879wi4kwsfldwhyvgrnybaz7kh2bxsfb7sp")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-brotli" ,rust-brotli-3) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-lz4" ,rust-lz4-1) + ("rust-lz4-flex" ,rust-lz4-flex-0.9) + ("rust-parquet-format-safe" ,rust-parquet-format-safe-0.2) + ("rust-seq-macro" ,rust-seq-macro-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-snap" ,rust-snap-1) + ("rust-streaming-decompression" ,rust-streaming-decompression-0.1) + ("rust-xxhash-rust" ,rust-xxhash-rust-0.8) + ("rust-zstd" ,rust-zstd-0.12)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://github.com/jorgecarleitao/parquet2") + (synopsis "Safe implementation of Parquet IO") + (description + "Parquet2 is a re-write of the official Parquet crate with performance, +parallelism and safety in mind.") + (license license:asl2.0))) + (define-public rust-parquet2-0.6 (package + (inherit rust-parquet2-0.17) (name "rust-parquet2") (version "0.6.0") (source @@ -45837,7 +51185,6 @@ (define-public rust-parquet2-0.6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0v9xc20wmn2r1pyaxqd8zf9vnschbf8r00c5kg9332fqrmadz0nv")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -45851,12 +51198,60 @@ (define-public rust-parquet2-0.6 ("rust-snap" ,rust-snap-1) ("rust-streaming-decompression" ,rust-streaming-decompression-0.1) ("rust-zstd" ,rust-zstd-0.9)))) - (home-page "https://crates.io/crates/parquet2") - (synopsis "Safe implementation of Parquet IO") + (native-inputs '()) + (inputs '()))) + +(define-public rust-parse-display-0.8 + (package + (name "rust-parse-display") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "parse-display" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p5w8jmb05lp3s9m5crwp1fkmgnc49xh5wlpzvdfhlrbf849sl66")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-parse-display-derive" ,rust-parse-display-derive-0.8) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/frozenlib/parse-display") + (synopsis + "Procedural macro to implement Display and FromStr using common settings") (description - "Parquet2 is a re-write of the official Parquet crate with performance, -parallelism and safety in mind.") - (license license:asl2.0))) + "This package provides a procedural macro to implement @code{Display} and +@code{FromStr} using common settings.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-parse-display-derive-0.8 + (package + (name "rust-parse-display-derive") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "parse-display-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hgkhjnk0xlaixql207p7vvg41vyq7y7gdqdijh8vxysr297hlb8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.7) + ("rust-structmeta" ,rust-structmeta-0.2) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/frozenlib/parse-display") + (synopsis + "Procedural macro to implement Display and FromStr using common settings") + (description + "This package provides a procedural macro to implement @code{Display} and +@code{FromStr} using common settings.") + (license (list license:expat license:asl2.0)))) (define-public rust-parse-zoneinfo-0.3 (package @@ -45984,14 +51379,14 @@ (define-public rust-partition-identity-0.3 (define-public rust-pasetors-0.6 (package (name "rust-pasetors") - (version "0.6.7") + (version "0.6.8") (source (origin (method url-fetch) (uri (crate-uri "pasetors" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1h4li2j46hdy58dpnn5ji4z4b4clbr2a6689jmaqv409lfcmcxms")))) + "1fkdp4lya95nrkrds3i14288g4a85gxrlg8lnz8hs8zjcryd8dkb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -46083,7 +51478,7 @@ (define-public rust-password-hash-0.3 (string-append ">=" version))))))) (arguments `(#:cargo-inputs - (("rust-base64ct" ,rust-base64ct-1.0.1) + (("rust-base64ct" ,rust-base64ct-1) ("rust-rand-core" ,rust-rand-core-0.6) ("rust-subtle" ,rust-subtle-2)))))) @@ -46231,8 +51626,29 @@ (define-public rust-path-abs-0.5 Rust with reasonable performance.") (license (list license:expat license:asl2.0)))) +(define-public rust-path-clean-1 + (package + (name "rust-path-clean") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "path-clean" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vzwcrlz39rd94l89rppvkbsn7dvng449f1bnkyk3ayp43y9ld8p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.2)))) + (home-page "https://github.com/danreeves/path-clean") + (synopsis "Rust implementation of cleanname or path.Clean") + (description "This package provides a Rust implementation of cleanname or +path.Clean.") + (license (list license:expat license:asl2.0)))) + (define-public rust-path-clean-0.1 (package + (inherit rust-path-clean-1) (name "rust-path-clean") (version "0.1.0") (source @@ -46243,12 +51659,7 @@ (define-public rust-path-clean-0.1 (sha256 (base32 "1pcgqxw0mgg3ha5hi5xkjhyjf488bw5rw1g3qlr9awbq4szh3fpc")))) - (build-system cargo-build-system) - (home-page "https://github.com/danreeves/path-clean") - (synopsis "Rust implementation of cleanname or path.Clean") - (description "This package provides a Rust implementation of cleanname or -path.Clean.") - (license (list license:expat license:asl2.0)))) + (arguments '()))) (define-public rust-path-slash-0.2 (package @@ -46296,8 +51707,45 @@ (define-public rust-pathdiff-0.2 path.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pcap-1 + (package + (name "rust-pcap") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pcap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ygzsi7v2x9ld5cb61dfg8jgifs2rln6qlknypzqjjnmfgy3bscr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-errno" ,rust-errno-0.2) + ("rust-etherparse" ,rust-etherparse-0.13) + ("rust-futures" ,rust-futures-0.3) + ("rust-gat-std" ,rust-gat-std-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.6) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tun-tap" ,rust-tun-tap-0.1) + ("rust-windows-sys" ,rust-windows-sys-0.36)) + #:cargo-development-inputs (("rust-eui48" ,rust-eui48-1) + ("rust-mockall" ,rust-mockall-0.11) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (inputs (list libpcap)) + (home-page "https://github.com/rust-pcap/pcap") + (synopsis "Packet capture API around (w)pcap") + (description + "This package provides a packet capture API around pcap/wpcap.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pcap-0.7 (package + (inherit rust-pcap-1) (name "rust-pcap") (version "0.7.0") (source @@ -46308,7 +51756,6 @@ (define-public rust-pcap-0.7 (sha256 (base32 "14blflnbj87z3ajlj1hszsl6k7rwa338y4aw2yjm2j0xdpjvj4pr")))) (native-inputs (list libpcap)) - (build-system cargo-build-system) (arguments `(#:tests? #f ; can't find crate for `futures` #:cargo-inputs @@ -46318,11 +51765,7 @@ (define-public rust-pcap-0.7 ("rust-mio" ,rust-mio-0.6) ("rust-tokio-core" ,rust-tokio-core-0.1)) #:cargo-development-inputs - (("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)))) + (("rust-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-pcap-sys-0.1 (package @@ -46470,8 +51913,30 @@ (define-public rust-pdqselect-0.1 pdqsort.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pear-0.2 + (package + (name "rust-pear") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "pear" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j03s6m80iqldnm6jzh3k1fbyk0lxirx8bi4ivgq3k3sq7va1k2c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-inlinable-string" ,rust-inlinable-string-0.1) + ("rust-pear-codegen" ,rust-pear-codegen-0.2) + ("rust-yansi" ,rust-yansi-1)))) + (home-page "https://crates.io/crates/pear") + (synopsis "Pear is a fruit") + (description "This package provides a pear is a fruit.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pear-0.1 (package + (inherit rust-pear-0.2) (name "rust-pear") (version "0.1.5") (source @@ -46481,15 +51946,9 @@ (define-public rust-pear-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "02lnp8c414z5ds0lskd4zxlalrjljzpkg8g6kizszij4h52sgprj")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-pear-codegen" ,rust-pear-codegen-0.1)))) - (home-page "https://crates.io/crates/pear") - (synopsis "Pear is a fruit") - (description "This package provides a pear is a fruit.") - (license (list license:expat license:asl2.0)))) + #:cargo-inputs (("rust-pear-codegen" ,rust-pear-codegen-0.1)))))) (define-public rust-pear-codegen-0.2 (package @@ -47212,16 +52671,16 @@ (define-public rust-phf-0.9 (package (inherit rust-phf-0.10) (name "rust-phf") - (version "0.9.1") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "phf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0sk9arhiv4hkg3hbmbxnpjvr0bffhyz7kpb2pn86mn6ia4c566xj")))) + "0dsgl8gqaia5lwg9sjlg4ccihn5dija2drg0gi2sjz1samkqpb5j")))) (arguments - `(#:tests? #f ; Doc tests fail. + `(#:tests? #f ; unresolved imports `phf::phf_map`, `phf::phf_set` #:cargo-inputs (("rust-phf-macros" ,rust-phf-macros-0.9) ("rust-phf-shared" ,rust-phf-shared-0.9) @@ -47316,14 +52775,14 @@ (define-public rust-phf-codegen-0.9 (package (inherit rust-phf-codegen-0.10) (name "rust-phf-codegen") - (version "0.9.1") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "phf_codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1q4r7mqisvzjz5fzfnr16nb5bxrj6xv32qnq1ds75xql783md31z")))) + "00q5chz1v9idglrzk5qbijjyr80sgibpbkq1skgnbvi2rw8xnfln")))) (arguments `(#:cargo-inputs (("rust-phf-generator" ,rust-phf-generator-0.9) @@ -47544,14 +53003,14 @@ (define-public rust-phf-macros-0.9 (package (inherit rust-phf-macros-0.10) (name "rust-phf-macros") - (version "0.9.1") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "phf_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rpc0jy5sfrk3ir87k2q0kk44a45nsrbwc131jmsi6f8hi3fqi7g")))) + "11mbi4x03gz7jnf4bg9fzxdxn6gd8ddkj29hms0dh3mmds9za1mp")))) (arguments `(#:cargo-inputs (("rust-phf-generator" ,rust-phf-generator-0.9) @@ -47562,7 +53021,7 @@ (define-public rust-phf-macros-0.9 ("rust-syn" ,rust-syn-1) ("rust-unicase" ,rust-unicase-2)) #:cargo-development-inputs - (("rust-phf" ,rust-phf-0.9) + (("rust-phf" ,rust-phf-0.8) ("rust-trybuild" ,rust-trybuild-1) ("rust-unicase" ,rust-unicase-2)))))) @@ -47726,6 +53185,23 @@ (define-public rust-phf-shared-0.7 "Support code shared by PHF libraries.") (license license:expat))) +(define-public rust-pico-args-0.5 + (package + (name "rust-pico-args") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pico-args" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05d30pvxd6zlnkg2i3ilr5a70v3f3z2in18m67z25vinmykngqav")))) + (build-system cargo-build-system) + (home-page "https://github.com/RazrFalcon/pico-args") + (synopsis "CLI arguments parser.") + (description "This package provides an ultra simple CLI arguments parser.") + (license license:expat))) + (define-public rust-pikchr-0.1 (package (name "rust-pikchr") @@ -47750,17 +53226,20 @@ (define-public rust-pikchr-0.1 (define-public rust-pin-project-1 (package (name "rust-pin-project") - (version "1.0.12") + (version "1.1.5") (source (origin (method url-fetch) (uri (crate-uri "pin-project" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1k3f9jkia3idxl2pqxamszwnl89dk52fa4jqj3p7zmmwnq4scadd")))) + (base32 "1cxl146x0q7lawp0m1826wsgj8mmmfs6ja8q7m6f7ff5j6vl7gxn")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + ;; XXX: Tests fail with "error[E0433]: failed to resolve: use of + ;; undeclared crate or module `macrotest`". + `(#:tests? #false + #:cargo-inputs (("rust-pin-project-internal" ,rust-pin-project-internal-1)) #:cargo-development-inputs (("rust-macrotest" ,rust-macrotest-1) @@ -47826,21 +53305,21 @@ (define-public rust-pin-project-0.4 (define-public rust-pin-project-internal-1 (package (name "rust-pin-project-internal") - (version "1.0.12") + (version "1.1.5") (source (origin (method url-fetch) (uri (crate-uri "pin-project-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0maa6icn7rdfy4xvgfaq7m7bwpw9f19wg76f1ncsiixd0lgdp6q6")))) + (base32 "0r9r4ivwiyqf45sv6b30l1dx282lxaax2f6gl84jwa3q590s8f1g")))) (build-system cargo-build-system) (arguments `(#:tests? #false #:cargo-inputs (("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/taiki-e/pin-project") (synopsis "Implementation detail of the @code{pin-project} crate") (description @@ -47961,6 +53440,25 @@ (define-public rust-pinot-0.1 along with strong support for variations and the core header tables.") (license (list license:expat license:asl2.0)))) +(define-public rust-pipe-trait-0.4 + (package + (name "rust-pipe-trait") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pipe-trait" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ql988sa4appx60q0wfmn1d6i2qrk7vadvw4zsp600wzwp4ixgn1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))) + (home-page "https://github.com/KSXGitHub/pipe-trait.git") + (synopsis "Make it possible to chain regular functions") + (description "This package makes it possible to chain regular functions.") + (license license:expat))) + (define-public rust-piper-0.2 (package (name "rust-piper") @@ -48096,6 +53594,29 @@ (define-public rust-plain-0.2 (license (list license:asl2.0 license:expat)))) +(define-public rust-planus-0.3 + (package + (name "rust-planus") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "planus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17x8mr175b9clg998xpi5z45f9fsspb0ncfnx2644bz817fr25pw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `planus_example` + #:cargo-inputs (("rust-array-init-cursor" ,rust-array-init-cursor-0.2)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/planus-org/planus") + (synopsis "Alternative compiler for flatbuffers") + (description + "Planus is an alternative compiler for flatbuffers, a cross platform +serialization library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-platform-info-2 (package (name "rust-platform-info") @@ -48120,6 +53641,28 @@ (define-public rust-platform-info-2 a system.") (license license:expat))) +(define-public rust-platforms-3 + (package + (name "rust-platforms") + (version "3.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "platforms" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k7q6pigmnvgpfasvssb12m2pv3pc94zrhrfg9by3h3wmhyfqvb2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://rustsec.org") + (synopsis "Registry of valid Rust platforms from the Rust compiler") + (description + "This package provides a Rust platform registry with information +about valid Rust platforms (target triple, target_arch, target_os), +sourced from the Rust compiler.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pledge-0.4 (package (name "rust-pledge") @@ -48174,30 +53717,53 @@ (define-public rust-plist-1 (define-public rust-plotters-0.3 (package (name "rust-plotters") - (version "0.3.1") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "plotters" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0akgmm5kqghl2b1q1qkzjggiqnb9smaz54fd5374k5qbqfggv8rj")))) + (base32 "0igxq58bx96gz58pqls6g3h80plf17rfl3b6bi6xvjnp02x29hnj")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=src/lib.rs - (line 310)" + "--skip=src/lib.rs - (line 458)" + "--skip=src/lib.rs - (line 480)" + "--skip=src/lib.rs - (line 508)" + "--skip=src/lib.rs - (line 534)" + "--skip=src/lib.rs - (line 576)") #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-font-kit" ,rust-font-kit-0.10) - ("rust-image" ,rust-image-0.23) + (("rust-ab-glyph" ,rust-ab-glyph-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-font-kit" ,rust-font-kit-0.11) + ("rust-image" ,rust-image-0.24) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5) ("rust-plotters-backend" ,rust-plotters-backend-0.3) ("rust-plotters-bitmap" ,rust-plotters-bitmap-0.3) ("rust-plotters-svg" ,rust-plotters-svg-0.3) - ("rust-ttf-parser" ,rust-ttf-parser-0.12) + ("rust-ttf-parser" ,rust-ttf-parser-0.17) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3)))) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-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)))) + (native-inputs (list pkg-config)) + (inputs (list fontconfig)) (home-page "https://github.com/38/plotters") (synopsis "Rust drawing library focus on data plotting") (description @@ -48208,16 +53774,15 @@ (define-public rust-plotters-0.3 (define-public rust-plotters-backend-0.3 (package (name "rust-plotters-backend") - (version "0.3.2") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "plotters-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "075ccyz814q46dkr93zz7crj9mmyqgk0w6mmrpyz1sm0ilqig16q")))) + (base32 "02cn98gsj2i1bwrfsymifmyas1wn2gibdm9mk8w82x9s9n5n4xly")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://plotters-rs.github.io") (synopsis "Plotters Backend API") (description "This package provides Plotters backend API.") @@ -48226,21 +53791,23 @@ (define-public rust-plotters-backend-0.3 (define-public rust-plotters-bitmap-0.3 (package (name "rust-plotters-bitmap") - (version "0.3.1") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "plotters-bitmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m0bq3fqrnhgg37k6lz0m328n3ifymc965pxmqc5cpk90nljydi1")))) + (base32 "0hw5zd70l7q122np8m731sksclmv6m82k2wyqsmrjli0f0gvxsqc")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; use of undeclared crate or module `plotters` #:cargo-inputs - (("rust-gif" ,rust-gif-0.11) - ("rust-image" ,rust-image-0.23) - ("rust-plotters-backend" ,rust-plotters-backend-0.3)))) + (("rust-gif" ,rust-gif-0.12) + ("rust-image" ,rust-image-0.24) + ("rust-plotters-backend" ,rust-plotters-backend-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-rayon" ,rust-rayon-1)))) (home-page "https://plotters-rs.github.io") (synopsis "Plotters Bitmap Backend") (description "This package provides Plotters bitmap backend.") @@ -48249,19 +53816,20 @@ (define-public rust-plotters-bitmap-0.3 (define-public rust-plotters-svg-0.3 (package (name "rust-plotters-svg") - (version "0.3.1") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "plotters-svg" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1aavi3i4jrwydw3i6x0zxs3i3c7gki7jlhg9agff35x5ixisj7sj")))) + (base32 "1axbw82frs5di4drbyzihr5j35wpy2a75hp3f49p186cjfcd7xiq")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; use of undeclared crate or module `plotters` #:cargo-inputs - (("rust-plotters-backend" ,rust-plotters-backend-0.3)))) + (("rust-image" ,rust-image-0.24) + ("rust-plotters-backend" ,rust-plotters-backend-0.3)))) (home-page "https://plotters-rs.github.io") (synopsis "Plotters SVG backend") (description "This package provides Plotters SVG backend.") @@ -48314,8 +53882,31 @@ (define-public rust-pmutil-0.5 (description "This package provides utils for proc-macro.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pnet-base-0.34 + (package + (name "rust-pnet-base") + (version "0.34.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k2z3jh6vw99bwl0ckpsd142n4yiscza1bmj3b86i2xk7bxzck7y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-no-std-net" ,rust-no-std-net-0.6) + ("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-base-0.27 (package + (inherit rust-pnet-base-0.34) (name "rust-pnet-base") (version "0.27.2") (source @@ -48325,20 +53916,40 @@ (define-public rust-pnet-base-0.27 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1v8bcbv9jh581ill77qjzzw2ay76pl781982yclj3xky96m8hijf")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) + +(define-public rust-pnet-datalink-0.34 + (package + (name "rust-pnet-datalink") + (version "0.34.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_datalink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zlq1z3y6flpqh0x2yqczxvzavwpr3mlazbzjv9vnzh6y2mm8n5d")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-test" ,rust-serde-test-1)))) + `(#:cargo-inputs (("rust-ipnetwork" ,rust-ipnetwork-0.20) + ("rust-libc" ,rust-libc-0.2) + ("rust-netmap-sys" ,rust-netmap-sys-0.1) + ("rust-pcap" ,rust-pcap-1) + ("rust-pnet-base" ,rust-pnet-base-0.34) + ("rust-pnet-sys" ,rust-pnet-sys-0.34) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/libpnet/libpnet") - (synopsis "Fundamental base types and code used by pnet") + (synopsis "Cross-platform, datalink layer networking") (description - "This crate implements fundamental base types and code used by pnet.") + "This crate implements cross-platform, datalink layer networking.") (license (list license:expat license:asl2.0)))) (define-public rust-pnet-datalink-0.27 (package + (inherit rust-pnet-datalink-0.34) (name "rust-pnet-datalink") (version "0.27.2") (source @@ -48348,25 +53959,41 @@ (define-public rust-pnet-datalink-0.27 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1iws7c2mf88ip43ccmr5p8r6kzb6lwsg3amgc4pvy8wx9nf1q02r")))) + (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)))))) + +(define-public rust-pnet-sys-0.34 + (package + (name "rust-pnet-sys") + (version "0.34.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pnet_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "004d28vbaxv3m55cd741mpjm34031c3p2dpp8kazcwxms7n0nz21")))) (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)))) + `(#: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 "Cross-platform, datalink layer networking") + (synopsis "Access to network related system functions") (description - "This crate implements cross-platform, datalink layer networking.") + "This crate providess access to network related system function and calls.") (license (list license:expat license:asl2.0)))) (define-public rust-pnet-sys-0.27 (package + (inherit rust-pnet-sys-0.34) (name "rust-pnet-sys") (version "0.27.2") (source @@ -48375,18 +54002,7 @@ (define-public rust-pnet-sys-0.27 (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)))) + (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm")))))) (define-public rust-pocket-resources-0.3 (package @@ -48407,8 +54023,42 @@ (define-public rust-pocket-resources-0.3 applications.") (license license:expat))) +(define-public rust-polars-0.37 + (package + (name "rust-polars") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bv5w5abfqy5hmiblq6j4477d0wyfqbslz128lfqbjqhj329adz4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests" "--" + "--skip=io::csv::test_projection" + "--skip=io::csv::test_read_csv_file" + "--skip=io::csv::test_with_row_index") + #:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-io" ,rust-polars-io-0.37) + ("rust-polars-lazy" ,rust-polars-lazy-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-plan" ,rust-polars-plan-0.37) + ("rust-polars-sql" ,rust-polars-sql-0.37) + ("rust-polars-time" ,rust-polars-time-0.37) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://www.pola.rs/") + (synopsis "DataFrame library based on Apache Arrow") + (description "Polars is a @code{DataFrame} library based on Apache Arrow.") + (license license:expat))) + (define-public rust-polars-0.17 (package + (inherit rust-polars-0.37) (name "rust-polars") (version "0.17.0") (source @@ -48418,21 +54068,90 @@ (define-public rust-polars-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-polars-core" ,rust-polars-core-0.17) ("rust-polars-io" ,rust-polars-io-0.17) - ("rust-polars-lazy" ,rust-polars-lazy-0.17)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "DataFrame Library based on Apache Arrow") + ("rust-polars-lazy" ,rust-polars-lazy-0.17)))))) + +(define-public rust-polars-arrow-0.37 + (package + (name "rust-polars-arrow") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-arrow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03wvwh80cvs3gxdm9if6yfh2kq589538ssrdqx86vyj84ldd5b7s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=ffi::data::binview_nullable_buffered" + "--skip=ffi::data::binview_nullable_inlined") + #: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-async-stream" ,rust-async-stream-0.3) + ("rust-atoi" ,rust-atoi-2) + ("rust-atoi-simd" ,rust-atoi-simd-0.15) + ("rust-avro-schema" ,rust-avro-schema-0.3) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-dyn-clone" ,rust-dyn-clone-1) + ("rust-either" ,rust-either-1) + ("rust-ethnum" ,rust-ethnum-1) + ("rust-fast-float" ,rust-fast-float-0.2) + ("rust-foreign-vec" ,rust-foreign-vec-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-itoap" ,rust-itoap-1) + ("rust-lz4" ,rust-lz4-1) + ("rust-multiversion" ,rust-multiversion-0.7) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-polars-arrow-format" ,rust-polars-arrow-format-0.1) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-streaming-iterator" ,rust-streaming-iterator-0.1) + ("rust-strength-reduce" ,rust-strength-reduce-0.2) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs (("rust-apache-avro" ,rust-apache-avro-0.16) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-flate2" ,rust-flate2-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-sample-arrow2" ,rust-sample-arrow2-0.17) + ("rust-sample-std" ,rust-sample-std-0.1) + ("rust-sample-test" ,rust-sample-test-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) + (home-page "https://www.pola.rs/") + (synopsis "Arrow interfaces for Polars DataFrame library") (description - "Polars is a dataframe Library based on Apache Arrow.") - (license license:expat))) + "This crate provides Arrow interfaces for Polars DataFrame library.") + (license (list license:asl2.0 license:expat)))) (define-public rust-polars-arrow-0.17 (package + (inherit rust-polars-arrow-0.37) (name "rust-polars-arrow") (version "0.17.0") (source @@ -48442,21 +54161,113 @@ (define-public rust-polars-arrow-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16aakfkiaqk71c3n3274r9ra44v0jrc8wwp5nqdr0srd5y6lii0w")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-arrow2" ,rust-arrow2-0.7) ("rust-num" ,rust-num-0.4) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "Arrow interfaces for Polars DataFrame library") + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-polars-arrow-format-0.1 + (package + (name "rust-polars-arrow-format") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-arrow-format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k5qci66rcwqv4ycb43zlkk128wrdvcqkc95j2qrd4xgfhjfzc0r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-planus" ,rust-planus-0.3) + ("rust-prost" ,rust-prost-0.11) + ("rust-prost-derive" ,rust-prost-derive-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-tonic" ,rust-tonic-0.8)))) + (home-page "https://github.com/polar-rs/arrow-format") + (synopsis "Unofficial flatbuffers and tonic code of Apache Arrow spec") + (description "Unofficial flatbuffers and tonic code of Apache Arrow spec.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-polars-compute-0.37 + (package + (name "rust-polars-compute") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-compute" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p868zl3l4cn8kbdlyp1pf058d1a5g4rmbgmxvny0fh0z23xrn9j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://www.pola.rs/") + (synopsis "Private compute kernels for the Polars DataFrame library") + (description "This package provides private compute kernels for the Polars +@code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-core-0.37 + (package + (name "rust-polars-core") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xvp3ppcsfd4z5j0qkarijcnbfnf349r0ksw0c0rl8c218l4vzdy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-arrow-array" ,rust-arrow-array-47) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-comfy-table" ,rust-comfy-table-7) + ("rust-either" ,rust-either-1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-ndarray" ,rust-ndarray-0.15) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-compute" ,rust-polars-compute-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-row" ,rust-polars-row-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-xxhash-rust" ,rust-xxhash-rust-0.8)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://www.pola.rs/") + (synopsis "Core of the Polars DataFrame library") (description - "This crate provides Arrow interfaces for Polars DataFrame library.") + "This crate provides the core of the Polars @code{DataFrame} library.") (license license:expat))) (define-public rust-polars-core-0.17 (package + (inherit rust-polars-core-0.37) (name "rust-polars-core") (version "0.17.0") (source @@ -48466,10 +54277,8 @@ (define-public rust-polars-core-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xjv2rja2pzcnn6sazgj2dqzy7gpbp57as6rcf0s0hnpcd054wb7")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? - #t + `(#:skip-build? #t #:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) ("rust-anyhow" ,rust-anyhow-1) @@ -48492,15 +54301,115 @@ (define-public rust-polars-core-0.17 ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "Core of the Polars DataFrame library") + ("rust-unsafe-unwrap" ,rust-unsafe-unwrap-0.1)))))) + +(define-public rust-polars-error-0.37 + (package + (name "rust-polars-error") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-error" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "163pbm00v5p60rbjq4d30lkhnk2fs35259znq7c3dfni09dl7wjh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-avro-schema" ,rust-avro-schema-0.3) + ("rust-object-store" ,rust-object-store-0.9) + ("rust-polars-arrow-format" ,rust-polars-arrow-format-0.1) + ("rust-regex" ,rust-regex-1) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://www.pola.rs/") + (synopsis "Error definitions for the Polars DataFrame library") + (description "This package contains the error definitions for the Polars +@code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-ffi-0.37 + (package + (name "rust-polars-ffi") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1afprspzpr00kr3xv6zg1pwi1l44vv97qik8gd78kj16jql328zh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-core" ,rust-polars-core-0.37)))) + (home-page "https://www.pola.rs/") + (synopsis "FFI utils for the Polars project") + (description "FFI utils for the Polars project.") + (license license:expat))) + +(define-public rust-polars-io-0.37 + (package + (name "rust-polars-io") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13m8qk2bji7zm2fbnnp67djdpf8gah0xclw3ng13kjqly0nbl7xm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-atoi-simd" ,rust-atoi-simd-0.15) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-fast-float" ,rust-fast-float-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-home" ,rust-home-0.5) + ("rust-itoa" ,rust-itoa-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-object-store" ,rust-object-store-0.9) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-json" ,rust-polars-json-0.37) + ("rust-polars-parquet" ,rust-polars-parquet-0.37) + ("rust-polars-time" ,rust-polars-time-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simd-json" ,rust-simd-json-0.13) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-url" ,rust-url-2) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://www.pola.rs/") + (synopsis "IO related logic for the Polars DataFrame library") (description - "This crate provides the core of the Polars DataFrame library.") + "This crate provides IO related logic for the Polars @code{DataFrame} library.") (license license:expat))) (define-public rust-polars-io-0.17 (package + (inherit rust-polars-io-0.37) (name "rust-polars-io") (version "0.17.0") (source @@ -48510,7 +54419,6 @@ (define-public rust-polars-io-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mq921184vwmadxz3996g0ilb4wiws3fajgxpvkkw1152pszb98i")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -48531,14 +54439,84 @@ (define-public rust-polars-io-0.17 ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1) ("rust-simdutf8" ,rust-simdutf8-0.1)))) - (home-page "https://github.com/ritchie46/polars") - (synopsis "IO related logic for the Polars DataFrame library") - (description - "This crate provides IO related logic for the Polars DataFrame library.") + (native-inputs '()) + (inputs '()))) + +(define-public rust-polars-json-0.37 + (package + (name "rust-polars-json") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v8jwfyagh8vq8l8hbgp72an83w5lxb90xrq037p0klnp901ygcp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-ryu" ,rust-ryu-1) + ("rust-simd-json" ,rust-simd-json-0.13) + ("rust-streaming-iterator" ,rust-streaming-iterator-0.1)))) + (home-page "https://www.pola.rs/") + (synopsis "JSON related logic for the Polars DataFrame library") + (description "JSON related logic for the Polars @code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-lazy-0.37 + (package + (name "rust-polars-lazy") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-lazy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y6z1l5rfhii45w2hj0sf3dbml5mlh77rl2s7a7h8vrl2gj46cyq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `cum_sum` found for enum `polars_plan::dsl::Expr` + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-glob" ,rust-glob-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-io" ,rust-polars-io-0.37) + ("rust-polars-json" ,rust-polars-json-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-pipe" ,rust-polars-pipe-0.37) + ("rust-polars-plan" ,rust-polars-plan-0.37) + ("rust-polars-time" ,rust-polars-time-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-rayon" ,rust-rayon-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://www.pola.rs/") + (synopsis "Lazy query engine for the Polars DataFrame library") + (description "This crate provides a lazy query engine for the Polars +@code{DataFrame} library.") (license license:expat))) (define-public rust-polars-lazy-0.17 (package + (inherit rust-polars-lazy-0.37) (name "rust-polars-lazy") (version "0.17.0") (source @@ -48548,7 +54526,6 @@ (define-public rust-polars-lazy-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qabh08q4978s33d2mn2m8c90spg21frr4lhpyxx2ngsw93scgns")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -48558,12 +54535,299 @@ (define-public rust-polars-lazy-0.17 ("rust-polars-core" ,rust-polars-core-0.17) ("rust-polars-io" ,rust-polars-io-0.17) ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/ritchie46/polars") + ("rust-regex" ,rust-regex-1)))))) + +(define-public rust-polars-ops-0.37 + (package + (name "rust-polars-ops") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-ops" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02ii63ba0l6zgilb4id1lx4s7hc1654hlg20srph3pqsbvyzb5b3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-argminmax" ,rust-argminmax-0.6) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-either" ,rust-either-1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-jsonpath-lib" ,rust-jsonpath-lib-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-compute" ,rust-polars-compute-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-json" ,rust-polars-json-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-unicode-reverse" ,rust-unicode-reverse-1) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://www.pola.rs/") + (synopsis "More operations on Polars data structures") + (description "More operations on Polars data structures.") + (license license:expat))) + +(define-public rust-polars-parquet-0.37 + (package + (name "rust-polars-parquet") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-parquet" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bvdx7mb9sd3kx969297b8rxg417gj74ln5sdwa9zk1n2v2clr5n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=parquet::compression::tests::test_codec_brotli_default" + "--skip=parquet::compression::tests::test_codec_brotli_high_compression" + "--skip=parquet::compression::tests::test_codec_brotli_low_compression" + "--skip=parquet::compression::tests::test_codec_gzip_default" + "--skip=parquet::compression::tests::test_codec_gzip_high_compression" + "--skip=parquet::compression::tests::test_codec_gzip_low_compression" + "--skip=parquet::compression::tests::test_codec_lz4_raw" + "--skip=parquet::compression::tests::test_codec_snappy" + "--skip=parquet::compression::tests::test_codec_zstd_default") + #:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-async-stream" ,rust-async-stream-0.3) + ("rust-base64" ,rust-base64-0.21) + ("rust-brotli" ,rust-brotli-3) + ("rust-ethnum" ,rust-ethnum-1) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-lz4" ,rust-lz4-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-parquet-format-safe" ,rust-parquet-format-safe-0.2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-seq-macro" ,rust-seq-macro-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-snap" ,rust-snap-1) + ("rust-streaming-decompression" ,rust-streaming-decompression-0.1) + ("rust-xxhash-rust" ,rust-xxhash-rust-0.8) + ("rust-zstd" ,rust-zstd-0.13)))) + (home-page "https://www.pola.rs/") + (synopsis "Polars Parquet IO") + (description "This package provides polars parquet IO.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-polars-pipe-0.37 + (package + (name "rust-polars-pipe") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-pipe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zxqg0hfws3rl66cy8rp18ka9dnz6185kc30n967miabhqdq62ir")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) + ("rust-enum-dispatch" ,rust-enum-dispatch-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-compute" ,rust-polars-compute-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-io" ,rust-polars-io-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-plan" ,rust-polars-plan-0.37) + ("rust-polars-row" ,rust-polars-row-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-rayon" ,rust-rayon-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-version-check" ,rust-version-check-0.9)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://www.pola.rs/") (synopsis "Lazy query engine for the Polars DataFrame library") - (description - "This crate provides a lazy query engine for the Polars DataFrame -library.") + (description "Lazy query engine for the Polars @code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-plan-0.37 + (package + (name "rust-polars-plan") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-plan" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s292gfd4d9l4x5hl0gcaz6zg7gbf9khy079mjx37ap2gd9dgdvz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-futures" ,rust-futures-0.3) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-ffi" ,rust-polars-ffi-0.37) + ("rust-polars-io" ,rust-polars-io-0.37) + ("rust-polars-json" ,rust-polars-json-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-parquet" ,rust-polars-parquet-0.37) + ("rust-polars-time" ,rust-polars-time-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://www.pola.rs/") + (synopsis "Lazy query engine for the Polars DataFrame library") + (description "Lazy query engine for the Polars @code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-row-0.37 + (package + (name "rust-polars-row") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-row" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "130nsv61fa8dmq1mg2v12q97mqxm22mvqvp7my9dpl6kmablv67l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37)))) + (home-page "https://www.pola.rs/") + (synopsis "Row encodings for the Polars DataFrame library") + (description "Row encodings for the Polars @code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-sql-0.37 + (package + (name "rust-polars-sql") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-sql" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jllznqx496lzndl8ph32204w5zbgvbl1wrfxg0nw54kiy5jmxkp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hex" ,rust-hex-0.4) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-lazy" ,rust-polars-lazy-0.37) + ("rust-polars-plan" ,rust-polars-plan-0.37) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sqlparser" ,rust-sqlparser-0.39)) + #:cargo-development-inputs (("rust-polars-core" ,rust-polars-core-0.37)))) + (home-page "https://www.pola.rs/") + (synopsis "SQL transpiler for Polars") + (description "This package contains an SQL transpiler for Polars. It can +convert SQL to Polars logical plans.") + (license license:expat))) + +(define-public rust-polars-time-0.37 + (package + (name "rust-polars-time") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ly7dpch3h8s9sn8q9y6mxfnrb566p5hx1nzhcxpzjfha6538xbd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-atoi" ,rust-atoi-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-now" ,rust-now-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-core" ,rust-polars-core-0.37) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-smartstring" ,rust-smartstring-1)))) + (home-page "https://www.pola.rs/") + (synopsis "Time related code for the Polars DataFrame library") + (description "This package contains the time related code for the Polars +@code{DataFrame} library.") + (license license:expat))) + +(define-public rust-polars-utils-0.37 + (package + (name "rust-polars-utils") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polars-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sdmyyd2nzgbkjbxl2jzpqdf09l89r7gxdxf6pc5b6qypdawky9q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-polars-error" ,rust-polars-error-0.37) + ("rust-rayon" ,rust-rayon-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://www.pola.rs/") + (synopsis "Private utils for the Polars DataFrame library") + (description "This package contains the private utils for the Polars +@code{DataFrame} library.") (license license:expat))) (define-public rust-polling-3 @@ -48672,23 +54936,43 @@ (define-public rust-pollster-macro-0.1 (define-public rust-pom-3 (package (name "rust-pom") - (version "3.2.0") + (version "3.4.0") (source (origin (method url-fetch) (uri (crate-uri "pom" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1v14c2p1irblagnljkw4n0f1w5r8mbybzycz0j1f5y79h0kikqh7")))) + "0jvlsxzzwwmfng3sk0drig8x36klbabfh10b5m9sshz9hs7jv5vc")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)))) (home-page "https://github.com/J-F-Liu/pom") (synopsis "PEG parser combinators using operator overloading without macros") (description "This package provides a PEG parser combinators using operator overloading without macros in Rust.") (license license:expat))) +(define-public rust-pori-0.0.0 + (package + (name "rust-pori") + (version "0.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pori" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01p9g4fn3kasnmwj8i4plzk6nnnk7ak2qsfcv9b9y4zcilrkv9m4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7)))) + (home-page "https://github.com/olson-sean-k/pori") + (synopsis "Parser state and error extensions for nom") + (description "Parser state and error extensions for nom.") + (license license:expat))) + (define-public rust-portable-atomic-1 (package (name "rust-portable-atomic") @@ -48785,6 +55069,55 @@ (define-public rust-portaudio-sys-0.1 I/O library.") (license license:expat))) +(define-public rust-postcard-1 + (package + (name "rust-postcard") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "postcard" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y106iwjv6vm7s4zkszgxlhacca1xbw6qcwf8il7xc0ddkp52p55")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cobs" ,rust-cobs-0.2) + ("rust-const-format" ,rust-const-format-0.2) + ("rust-crc" ,rust-crc-3) + ("rust-defmt" ,rust-defmt-0.3) + ("rust-embedded-io" ,rust-embedded-io-0.4) + ("rust-heapless" ,rust-heapless-0.7) + ("rust-paste" ,rust-paste-1) + ("rust-postcard-derive" ,rust-postcard-derive-0.1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/jamesmunns/postcard") + (synopsis "A no_std + serde compatible message library for Rust") + (description + "This package provides a no_std + serde compatible message library for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-postcard-derive-0.1 + (package + (name "rust-postcard-derive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "postcard-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ycsfl3nb37syvlj92nl98lphykq78b7af7nv8h49pc7hwhh2jzw")))) + (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/jamesmunns/postcard") + (synopsis "Derive crate for postcard") + (description "This package provides the implementation details for postcard.") + (license (list license:expat license:asl2.0)))) + (define-public rust-postgres-0.19 (package (name "rust-postgres") @@ -48953,6 +55286,85 @@ (define-public rust-powerfmt-macros-0.1 and should not be relied upon directly.") (license (list license:expat license:asl2.0)))) +(define-public rust-pprof-0.13 + (package + (name "rust-pprof") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pprof" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jqi6yakwwhln5b1vr3aprgl2kdlvsmidqh24is7wk6k3g2rfp7g")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `flamegraph` found for struct `pprof::Report` + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-findshlibs" ,rust-findshlibs-0.10) + ("rust-inferno" ,rust-inferno-0.11) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prost" ,rust-prost-0.12) + ("rust-prost-build" ,rust-prost-build-0.12) + ("rust-prost-derive" ,rust-prost-derive-0.12) + ("rust-protobuf" ,rust-protobuf-2) + ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-symbolic-demangle" ,rust-symbolic-demangle-12) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/tikv/pprof-rs") + (synopsis "Internal perf tools for rust programs") + (description "This package provides internal perf tools for Rust +programs.") + (license license:asl2.0))) + +(define-public rust-pprof-0.10 + (package + (inherit rust-pprof-0.13) + (name "rust-pprof") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pprof" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vvqawd720d39a87zhdjdh7ipmq6im5766658sn44ma7v7z2niyn")))) + (arguments + `(#:tests? #f ; no method named `flamegraph` found for struct `pprof::Report` + #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-findshlibs" ,rust-findshlibs-0.10) + ("rust-inferno" ,rust-inferno-0.11) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prost" ,rust-prost-0.10) + ("rust-prost-build" ,rust-prost-build-0.10) + ("rust-prost-derive" ,rust-prost-derive-0.10) + ("rust-protobuf" ,rust-protobuf-2) + ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-symbolic-demangle" ,rust-symbolic-demangle-9) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-pq-sys-0.4 (package (name "rust-pq-sys") @@ -49005,14 +55417,14 @@ (define-public rust-precomputed-hash-0.1 (define-public rust-predicates-3 (package (name "rust-predicates") - (version "3.0.4") + (version "3.1.0") (source (origin (method url-fetch) (uri (crate-uri "predicates" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "182q0wiabllvbg0nzfkf8a6qkbk0ckrkmfbk7k5ijgrfbibjiz3d")))) + (base32 "1s676s13sva6ikv2qmfmm7n3y3jnzvwbbhy1xzgnr4h58vyppf38")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -49022,7 +55434,6 @@ (define-public rust-predicates-3 (("rust-anstyle" ,rust-anstyle-1) ("rust-difflib" ,rust-difflib-0.4) ("rust-float-cmp" ,rust-float-cmp-0.9) - ("rust-itertools" ,rust-itertools-0.11) ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) ("rust-predicates-core" ,rust-predicates-core-1) ("rust-regex" ,rust-regex-1)) @@ -49309,6 +55720,26 @@ (define-public rust-pretty-assertions-0.6 ("rust-ansi-term" ,rust-ansi-term-0.11) ("rust-difference" ,rust-difference-2)))))) +(define-public rust-pretty-assertions-0.5 + (package + (inherit rust-pretty-assertions-0.7) + (name "rust-pretty-assertions") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty_assertions" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ins6swkpxmrh8q5h96h8nv0497d3dclsiyx2lyvqi6py0q980is")))) + (arguments + `(#:tests? #f ;XXX: Tests fail + #:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.11) + ("rust-difference" ,rust-difference-2)))))) + (define-public rust-pretty-assertions-0.4 (package (inherit rust-pretty-assertions-0.6) @@ -49554,6 +55985,29 @@ (define-public rust-print-bytes-0.4 #:cargo-development-inputs (("rust-os-str-bytes" ,rust-os-str-bytes-2)))))) +(define-public rust-print-positions-0.6 + (package + (name "rust-print-positions") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "print-positions" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "026jzdf63b37bb9ix3mpczln2pqylsiwkkxhikj05x9y1r3r7x8x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)))) + (home-page "https://github.com/bobhy/print-positions") + (synopsis "Library providing string segmentation on grapheme clusters") + (description + "This package provides a library providing string segmentation on grapheme +clusters and ANSI escape sequences for accurate length arithmetic based on +visible print positions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-priority-queue-1 (package (name "rust-priority-queue") @@ -49833,22 +56287,25 @@ (define-public rust-proc-macro-nested-0.1 (define-public rust-proc-macro2-1 (package (name "rust-proc-macro2") - (version "1.0.76") + (version "1.0.79") (source (origin (method url-fetch) (uri (crate-uri "proc-macro2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "136cp0fgl6rg5ljm3b1xpc0bn0lyvagzzmxvbxgk5hxml36mdz4m")))) + (base32 "0bn004ybzdqid81cqppr5c9jrvqsxv50x60sxc41cwpmk0igydg8")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--lib") #:cargo-inputs (("rust-unicode-ident" ,rust-unicode-ident-1)) #:cargo-development-inputs - (("rust-quote" ,rust-quote-1) - ("rust-rustversion" ,rust-rustversion-1)))) + (("rust-flate2" ,rust-flate2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-tar" ,rust-tar-0.4)))) (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 @@ -49916,7 +56373,7 @@ (define-public rust-proc-macro2-diagnostics-0.10 (base32 "1j48ipc80pykvhx6yhndfa774s58ax1h6sm6mlhf09ls76f6l1mg")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; cannot determine resolution for the macro `diagnostic_item` + `(#:cargo-test-flags '("--release" "--" "--skip=main") #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2) @@ -49925,9 +56382,30 @@ (define-public rust-proc-macro2-diagnostics-0.10 #: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.") + (description "Diagnostics for stable and nightly proc-macros!") (license (list license:expat license:asl2.0)))) +(define-public rust-proc-macro2-diagnostics-0.9 + (package + (inherit rust-proc-macro2-diagnostics-0.10) + (name "rust-proc-macro2-diagnostics") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-macro2-diagnostics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nmazlb1dkznjds7qwms7yxhi33ajc3isji2lsgx8r3lsqk9gwjb")))) + (arguments + `(#:cargo-test-flags '("--release" "--" "--skip=main") + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-0.5)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-proc-mounts-0.3 (package (name "rust-proc-mounts") @@ -49948,8 +56426,200 @@ (define-public rust-proc-mounts-0.3 "This package provides fetching active mounts and swaps on a Linux system.") (license license:expat))) +(define-public rust-proc-quote-0.4 + (package + (name "rust-proc-quote") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-quote" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0051nax31x1yzr1imbp200l2gpz6pqcmlcna099r33773lbap12y")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; The test suite hasn't aged well + #:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-quote-impl" ,rust-proc-quote-impl-0.3) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/Goncalerta/proc-quote") + (synopsis "Procedural macro implementation of quote!") + (description + "This package provides a procedural macro implementation of quote!.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-proc-quote-impl-0.3 + (package + (name "rust-proc-quote-impl") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-quote-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "184ax14pyazv5g6yma60ls7x4hd5q6wah1kf677xng06idifrcvz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) + (home-page "https://github.com/Goncalerta/proc-quote") + (synopsis "Procedural macro implementation of quote!") + (description + "This package provides a procedural macro implementation of quote!.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-procfs-0.16 + (package + (name "rust-procfs") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "procfs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d4k8ai16b5cv05dpz7b87qn5dap3jdyfnrvycb5zhmhas9hs7kk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=net::tests::test_snmp" + "--skip=process::task::tests::test_task_runsinglethread" + "--skip=process::tests::test_proc_status_for_kthreadd" + "--skip=tests::test_meminfo" + "--skip=process::tests::test_proc_fd_count_runsinglethread") + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-flate2" ,rust-flate2-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-procfs-core" ,rust-procfs-core-0.16) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-failure" ,rust-failure-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-procinfo" ,rust-procinfo-0.4)))) + (home-page "https://github.com/eminence/procfs") + (synopsis "Interface to the Linux procfs pseudo-filesystem") + (description + "This package provides an interface to the Linux procfs pseudo-filesystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-procfs-core-0.16 + (package + (name "rust-procfs-core") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "procfs-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0acs0p19yfcs0h787ls24vi5ql4g6c62cm57qh2cxx397a958d9d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-hex" ,rust-hex-0.4) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/eminence/procfs") + (synopsis "Data structures and parsing for the procfs pseudo-filesystem") + (description + "This package provides data structures and parsing for the Linux procfs +pseudo-filesystem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-procinfo-0.4 + (package + (name "rust-procinfo") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "procinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "175l4cprsb56jrkycpz0743clgc8fyhxv4i8hhgqjd967mzl5cba")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; thread panic on bad unwrap. + "--skip=pid::status::tests::test_status") + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nom" ,rust-nom-2) + ("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page "https://github.com/danburkert/procinfo-rs") + (synopsis "Library for accessing Linux processes and system information") + (description + "This package provides a library for accessing Linux processes and system +information.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-prodash-28 + (package + (name "rust-prodash") + (version "28.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "prodash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y9d16s79168rc5k2djjb16vjcx27yargbfb6xz6m2mq4r6jcjkl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-io" ,rust-async-io-2) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crosstermion" ,rust-crosstermion-0.13) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dashmap" ,rust-dashmap-5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-human-format" ,rust-human-format-1) + ("rust-humantime" ,rust-humantime-2) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-ratatui" ,rust-ratatui-0.25) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-time" ,rust-time-0.3) + ("rust-tui-react" ,rust-tui-react-0.22) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) + ("rust-async-executor" ,rust-async-executor-1) + ("rust-async-io" ,rust-async-io-2) + ("rust-blocking" ,rust-blocking-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/Byron/prodash") + (synopsis + "Dashboard for visualizing progress of asynchronous and possibly blocking tasks") + (description + "This package provides a dashboard for visualizing the progress of asynchronous +and possibly blocking tasks.") + (license license:expat))) + (define-public rust-prodash-26 (package + (inherit rust-prodash-28) (name "rust-prodash") (version "26.2.2") (source @@ -49959,7 +56629,6 @@ (define-public rust-prodash-26 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1kxvsxyh79qz524vl0r50svga84fcax4ngpcvkf576yiwbw5njvr")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-io" ,rust-async-io-1) ("rust-bytesize" ,rust-bytesize-1) @@ -49990,14 +56659,7 @@ (define-public rust-prodash-26 ("rust-futures-util" ,rust-futures-util-0.3) ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/Byron/prodash") - (synopsis - "Dashboard for visualizing progress of asynchronous and possibly blocking tasks") - (description - "This package provides a dashboard for visualizing the progress of asynchronous -and possibly blocking tasks.") - (license license:expat))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-prodash-25 (package @@ -50145,6 +56807,31 @@ (define-public rust-progressing-3 progress-bars for Rust.") (license license:asl2.0))) +(define-public rust-project-origins-1 + (package + (name "rust-project-origins") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "project-origins" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lizp7dp6ddrlgh3xigl8pyai5qn8ab7lnhgwsb19ihgpyix8xm0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; failed to resolve: could not find `main` in `tokio` + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1)) + #:cargo-development-inputs + (("rust-miette" ,rust-miette-5) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/watchexec/watchexec") + (synopsis "Resolve project origins and kinds from a path") + (description "Resolve project origins and kinds from a path.") + (license license:asl2.0))) + (define-public rust-propfuzz-0.0.1 (package (name "rust-propfuzz") @@ -50325,8 +57012,45 @@ (define-public rust-proptest-0.3 #:cargo-development-inputs (("rust-regex" ,rust-regex-0.2)))))) +(define-public rust-proptest-derive-0.4 + (package + (name "rust-proptest-derive") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "proptest-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vhb7zmnbmn0qvv6x7ibs88pg0mn6d3131c9qzlq982w80vn7wcw")) + (modules '((guix build utils))) + ;; Need never_type nightly feature. + (snippet '(begin (delete-file "tests/uninhabited-pass.rs") + (delete-file "tests/enum.rs") + (delete-file "tests/skip.rs"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; can't find crate for `proptest_derive` + "--skip=compile_test") + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs-0.9) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-proptest" ,rust-proptest-1)))) + (home-page + "https://proptest-rs.github.io/proptest/proptest-derive/index.html") + (synopsis "Custom-derive for the Arbitrary trait of proptest") + (description "This package provides a custom-derive for the Arbitrary +trait of proptest.") + (license (list license:expat license:asl2.0)))) + (define-public rust-proptest-derive-0.3 (package + (inherit rust-proptest-derive-0.4) (name "rust-proptest-derive") (version "0.3.0") (source @@ -50336,7 +57060,6 @@ (define-public rust-proptest-derive-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1p4x6k1zxq9lrpk46npdnzj6894mjx5bpwkwrdk63ird72an5d4h")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Needs nightly features. #:cargo-inputs @@ -50346,13 +57069,7 @@ (define-public rust-proptest-derive-0.3 #:cargo-development-inputs (("rust-compiletest-rs" ,rust-compiletest-rs-0.3) ("rust-criterion" ,rust-criterion-0.2) - ("rust-proptest" ,rust-proptest-1)))) - (home-page - "https://altsysrq.github.io/proptest-book/proptest-derive/index.html") - (synopsis "Custom-derive for the Arbitrary trait of proptest") - (description "This package provides a Custom-derive for the Arbitrary -trait of proptest.") - (license (list license:expat license:asl2.0)))) + ("rust-proptest" ,rust-proptest-1)))))) (define-public rust-proptest-derive-0.1 (package @@ -50426,6 +57143,27 @@ (define-public rust-prost-0.11 ("rust-proptest" ,rust-proptest-1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-prost-0.10 + (package + (inherit rust-prost-0.12) + (name "rust-prost") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gh81qwzpi04cfxiypddpad9pvcdssy31fv9zjpdm84anqfz9bbi")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-prost-derive" ,rust-prost-derive-0.10)) + #: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) @@ -50444,6 +57182,75 @@ (define-public rust-prost-0.9 (("rust-bytes" ,rust-bytes-1) ("rust-prost-derive" ,rust-prost-derive-0.9)))))) +(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-build-0.10 + (package + (inherit rust-prost-build-0.12) + (name "rust-prost-build") + (version "0.10.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1aqc9cjrfwd5kh65xig0vp4cs8dhaqya7pn0kxd83mb2hwwa9rca")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cmake" ,rust-cmake-0.1) + ("rust-heck" ,rust-heck-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-multimap" ,rust-multimap-0.8) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-prost" ,rust-prost-0.10) + ("rust-prost-types" ,rust-prost-types-0.10) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-4)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8)))))) + (define-public rust-prost-derive-0.12 (package (name "rust-prost-derive") @@ -50490,6 +57297,25 @@ (define-public rust-prost-derive-0.11 ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-prost-derive-0.10 + (package + (inherit rust-prost-derive-0.12) + (name "rust-prost-derive") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k77nir4xa06gbsdjzlygyv73razj9d11dnvxd18byspv92hyrvv")))) + (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) @@ -50511,46 +57337,6 @@ (define-public rust-prost-derive-0.9 ("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") @@ -50573,6 +57359,23 @@ (define-public rust-prost-types-0.12 Protobuf reference for more information about well known types.") (license license:asl2.0))) +(define-public rust-prost-types-0.10 + (package + (inherit rust-prost-types-0.12) + (name "rust-prost-types") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s0y8sc045xjynikw7n9ywm0z39fdkna3j39ivf1241n551022id")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-prost" ,rust-prost-0.10)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)))))) + ;; It's recommended that rust-protobuf, rust-protobuf-codegen ;; and rust-probuf-codegen-pure be the same version (define-public rust-protobuf-2 @@ -50873,6 +57676,68 @@ (define-public rust-publicsuffix-1 ("rust-regex" ,rust-regex-1) ("rust-url" ,rust-url-2)))))) +(define-public rust-public-api-0.33 + (package + (name "rust-public-api") + (version "0.33.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "public-api" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i1qg7z96l0y5cjna6kppsvkvlpqkvmsns75zjb61jbsh3pfwndp")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-hashbag" ,rust-hashbag-0.1) + ("rust-rustdoc-types" ,rust-rustdoc-types-0.23) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-expect-test" ,rust-expect-test-1) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-predicates" ,rust-predicates-3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rustdoc-json" ,rust-rustdoc-json-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page + "https://github.com/Enselic/cargo-public-api/tree/main/public-api") + (synopsis "List diff public API of Rust library crates") + (description "List and diff the public API of Rust library crates. Relies +on rustdoc JSON output from the nightly toolchain.") + (license license:expat))) + +(define-public rust-public-api-0.32 + (package + (inherit rust-public-api-0.33) + (name "rust-public-api") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "public-api" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02wpk9j21fxjf5is5jpkq00cl7vvpnkib1l72v7wylkw8ah5rgfq")))) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-hashbag" ,rust-hashbag-0.1) + ("rust-rustdoc-types" ,rust-rustdoc-types-0.23) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-expect-test" ,rust-expect-test-1) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-predicates" ,rust-predicates-3) + ("rust-rustdoc-json" ,rust-rustdoc-json-0.8) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-puffin-0.18 (package (name "rust-puffin") @@ -50998,6 +57863,28 @@ (define-public rust-pulldown-cmark-0.8 ("rust-regex" ,rust-regex-1) ("rust-tendril" ,rust-tendril-0.4)))))) +(define-public rust-pulldown-cmark-to-cmark-7 + (package + (inherit rust-pulldown-cmark-to-cmark-10) + (name "rust-pulldown-cmark-to-cmark") + (version "7.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark-to-cmark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03f6bnqjzchmzs4qaf63pirgj95b0x3l2rlp1wj1z27mp734phcb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))))) + (define-public rust-pulldown-cmark-0.4 (package (inherit rust-pulldown-cmark-0.8) @@ -51071,37 +57958,6 @@ (define-public rust-pulldown-cmark-0.1 (("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") - (version "7.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pulldown-cmark-to-cmark" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03f6bnqjzchmzs4qaf63pirgj95b0x3l2rlp1wj1z27mp734phcb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)) - #: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 - "This package provides a convert pulldown-cmark Events back to the string -they were parsed from") - (license license:asl2.0))) - (define-public rust-pulse-0.5 (package (name "rust-pulse") @@ -51159,17 +58015,37 @@ (define-public rust-pure-rust-locales-0.7 (arguments (list #:tests? #f)))) ; Not all files included. -(define-public rust-pyo3-build-config-0.20 +(define-public rust-pwd-1 + (package + (name "rust-pwd") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pwd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18p4j95sqqcxn3fbm6gbi7klxp8n40xmcjqy9vz1ww5rg461rivj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://gitlab.com/pwoolcoc/pwd.git") + (synopsis "Safe interface to pwd.h") + (description "This package provides a safe interface to @code{pwd.h}.") + (license license:public-domain))) + +(define-public rust-pyo3-build-config-0.21 (package (name "rust-pyo3-build-config") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-build-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gk3a4y8jc2z1j3hb9xjg1gfvcd7s6ph1wwkcbr039p5iw6nyhh7")))) + (base32 "0l0vxvnqsbjrpdmysnwaljf4q3zcr1kb526qq23svzgs6mcdz0vq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) @@ -51185,6 +58061,25 @@ (define-public rust-pyo3-build-config-0.20 ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-build-config-0.20 + (package + (inherit rust-pyo3-build-config-0.21) + (name "rust-pyo3-build-config") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-build-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ms83n1qa81989c6pakpznifalvxv5fiyyji23732lizvr2mgany")))) + (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)))))) + (define-public rust-pyo3-build-config-0.19 (package (inherit rust-pyo3-build-config-0.20) @@ -51224,14 +58119,14 @@ (define-public rust-pyo3-build-config-0.18 (define-public rust-pyo3-build-config-0.16 (package (name "rust-pyo3-build-config") - (version "0.16.5") + (version "0.16.6") (source (origin (method url-fetch) (uri (crate-uri "pyo3-build-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j2jj5qnnpagi3gvkwjpydcxfsd5qv3vmpghnaqs7n1mdia5pdmm")))) + (base32 "1hndr61lxc2kw7wnnggps3h08lnsqapwa3lxc0l5ji2rg0wrv0cw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -51262,21 +58157,22 @@ (define-public rust-pyo3-build-config-0.15 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) -(define-public rust-pyo3-ffi-0.20 +(define-public rust-pyo3-ffi-0.21 (package (name "rust-pyo3-ffi") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-ffi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv")))) + (base32 "00vlp4gmzn76gz250pz1r3fydd5r41nwl7dd9nmidfb0vi1migh1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))) + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21)))) (native-inputs (list python)) (home-page "https://github.com/pyo3/pyo3") (synopsis "Python API bindings for the PyO3 ecosystem") @@ -51284,6 +58180,23 @@ (define-public rust-pyo3-ffi-0.20 "This crate provides Rust FFI declarations for Python 3.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-ffi-0.20 + (package + (inherit rust-pyo3-ffi-0.21) + (name "rust-pyo3-ffi") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yja1npmzh4i73jn5dv2rnw7idif8bns51bf3zpx821ys0qjbd32")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))))) + (define-public rust-pyo3-ffi-0.19 (package (inherit rust-pyo3-ffi-0.20) @@ -51322,17 +58235,16 @@ (define-public rust-pyo3-ffi-0.16 (package (inherit rust-pyo3-ffi-0.19) (name "rust-pyo3-ffi") - (version "0.16.5") + (version "0.16.6") (source (origin (method url-fetch) (uri (crate-uri "pyo3-ffi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0avls4q393nmzhb124zg6kp5lj6xzy2f6qx564qa7b614xqs0xf2")))) + "0pzpcmndak7y72p4rw494cki1bxh86diiqdzsw14gxammc1jg26a")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.16)))))) @@ -51363,29 +58275,50 @@ (define-public rust-pyo3-log-0.8 extension to python.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pyo3-macros-backend-0.20 +(define-public rust-pyo3-macros-backend-0.21 (package (name "rust-pyo3-macros-backend") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g")))) + (base32 "0p58yp8ajlc8bq56wghw1syrjszmadasasdfpsjy3d9dychhf9h8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) + (native-inputs (list python-minimal)) (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.20 + (package + (inherit rust-pyo3-macros-backend-0.21) + (name "rust-pyo3-macros-backend") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11b1z7qnbdnd9hy74ds3xcjx3mjkz43mvpnan32ljccwpdl9nzkw")))) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-pyo3-macros-backend-0.19 (package (inherit rust-pyo3-macros-backend-0.20) @@ -51402,7 +58335,8 @@ (define-public rust-pyo3-macros-backend-0.19 `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) + ("rust-syn" ,rust-syn-1)))) + (native-inputs '()))) (define-public rust-pyo3-macros-backend-0.18 (package @@ -51426,19 +58360,17 @@ (define-public rust-pyo3-macros-backend-0.16 (package (inherit rust-pyo3-macros-backend-0.19) (name "rust-pyo3-macros-backend") - (version "0.16.5") + (version "0.16.6") (source (origin (method url-fetch) (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1bvzvdx2a6hhliny12n2vy7v7gbsgzanxjckjr1cbxbkizss1gak")))) + "1f0y9vxmyq1cidk544pwg3my30f6xfqfgf42grw4gx4q5pl687v1")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.16) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) @@ -51462,29 +58394,50 @@ (define-public rust-pyo3-macros-backend-0.15 ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) -(define-public rust-pyo3-macros-0.20 +(define-public rust-pyo3-macros-0.21 (package (name "rust-pyo3-macros") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lsfyx1shdyi7zybs3maakh2h3zsij3l5wap35qval0dwjs3ixq5")))) + (base32 "0g65z9yj2iffjrkrkzan9hwhhj7rrchh7lfv64dy30h6zill1cvp")))) (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)))) + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.21) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (native-inputs (list python-minimal)) (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.20 + (package + (inherit rust-pyo3-macros-0.21) + (name "rust-pyo3-macros") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n61s98qb2qc1wlda3bz4r0wi0vsr9p4lj2yr5g0bf01z8hcf1bk")))) + (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)))))) + (define-public rust-pyo3-macros-0.19 (package (inherit rust-pyo3-macros-0.20) @@ -51502,7 +58455,8 @@ (define-public rust-pyo3-macros-0.19 (("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)))))) + ("rust-syn" ,rust-syn-1)))) + (native-inputs '()))) (define-public rust-pyo3-macros-0.18 (package @@ -51546,18 +58500,18 @@ (define-public rust-pyo3-macros-0.16 (package (inherit rust-pyo3-macros-0.19) (name "rust-pyo3-macros") - (version "0.16.5") + (version "0.16.6") (source (origin (method url-fetch) (uri (crate-uri "pyo3-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xwh7sl4n73746q80n5m5afd261zg0kxcqfnlr89ik7vbd4c8kr8")))) + (base32 "089z1x8fm7078kyhpjcsaipd6745jf2rp86rpbkppbam5504k1sn")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.16) + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.16) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) @@ -51580,18 +58534,73 @@ (define-public rust-pyo3-macros-0.15 ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) -(define-public rust-pyo3-0.20 +(define-public rust-pyo3-0.21 (package (name "rust-pyo3") - (version "0.20.2") + (version "0.21.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q3g7ppg2qskigbgqg3w9280klkil5is9hhyps1ykl2hb1xdr2cs")))) + (base32 "1n39y183jfqbyvimscqr0ysxxa6804pn46ivw048ww91lnb0pq55")))) (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-chrono-tz" ,rust-chrono-tz-0.6) + ("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-portable-atomic" ,rust-portable-atomic-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.21) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.21) + ("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-chrono-tz" ,rust-chrono-tz-0.6) + ("rust-futures" ,rust-futures-0.3) + ("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)))) + (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.20 + (package + (inherit rust-pyo3-0.21) + (name "rust-pyo3") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cw2pgab0pq5gd98nhv18xgxvyigygspla6c8mfycmwisjbbpgak")))) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cfg-if" ,rust-cfg-if-1) @@ -51622,15 +58631,7 @@ (define-public rust-pyo3-0.20 ("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)))) + ("rust-widestring" ,rust-widestring-0.5)))))) (define-public rust-pyo3-0.19 (package @@ -51734,14 +58735,14 @@ (define-public rust-pyo3-0.16 (package (inherit rust-pyo3-0.19) (name "rust-pyo3") - (version "0.16.5") + (version "0.16.6") (source (origin (method url-fetch) (uri (crate-uri "pyo3" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p5kjsj3jdw2gnahdjrzljmi93w3nxdp11qq8x3i80b0a3l04qqy")))) + (base32 "1jn6nhp9a8i5kfwds6fzy3hzb938qim8bajp8gfkkcn9892c8802")))) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -51755,7 +58756,6 @@ (define-public rust-pyo3-0.16 ("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-complex" ,rust-num-complex-0.4) ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-paste" ,rust-paste-0.1) ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.16) ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.16) ("rust-pyo3-macros" ,rust-pyo3-macros-0.16) @@ -51763,16 +58763,15 @@ (define-public rust-pyo3-0.16 ("rust-unindent" ,rust-unindent-0.1)) #:cargo-development-inputs (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-bitflags" ,rust-bitflags-1.2) ("rust-criterion" ,rust-criterion-0.3) - ("rust-half" ,rust-half-1) ("rust-proptest" ,rust-proptest-0.10) ("rust-rustversion" ,rust-rustversion-1) ("rust-send-wrapper" ,rust-send-wrapper-0.5) + ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-trybuild" ,rust-trybuild-1) ("rust-widestring" ,rust-widestring-0.5)) - ;; FIXME: fails to initialize Python interpreter. + ;; SIGSEGV: invalid memory reference #:tests? #f)))) (define-public rust-pyo3-macros-0.13 @@ -51979,6 +58978,26 @@ (define-public rust-python-pkginfo-0.5 ("rust-zip" ,rust-zip-0.6)) #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-quad-rand-0.2 + (package + (name "rust-quad-rand") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "quad-rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "125bw7b295khgwk7bnb6vkcdjyki1xbfzrcygh2mzk54yzxa33v5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/not-fl3/quad-rand") + (synopsis "Pseudo random implementation with std atomics") + (description + "This package provides a pseudo random implementation with std atomics.") + (license license:expat))) + (define-public rust-quantiles-0.7 (package (name "rust-quantiles") @@ -52160,6 +59179,20 @@ (define-public rust-quick-xml-0.27 ("rust-tokio" ,rust-tokio-1) ("rust-tokio-test" ,rust-tokio-test-0.4)))))) +(define-public rust-quick-xml-0.26 + (package + (inherit rust-quick-xml-0.27) + (name "rust-quick-xml") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kckgj8qscpi23y62zrfmni73k6h78nvhs3z9myiwq9q7g3b2l3z")))))) + (define-public rust-quick-xml-0.22 (package (inherit rust-quick-xml-0.27) @@ -53615,6 +60648,32 @@ (define-public rust-rand-pcg-0.1 #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))))) +(define-public rust-rand-regex-0.15 + (package + (name "rust-rand-regex") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand_regex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gfgx78k1sf3y5z7hf3rn8qnplmvlm908y6ig4razvnrszi9yalb")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests segfault. + #:cargo-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-regex-syntax" ,rust-regex-syntax-0.6)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/kennytm/rand_regex") + (synopsis "Generates random strings and byte strings matching a regex") + (description "Generates random strings and byte strings matching a regex.") + (license license:expat))) + (define-public rust-rand-xorshift-0.3 (package (name "rust-rand-xorshift") @@ -53847,8 +60906,161 @@ (define-public rust-randomize-4 (license (list license:zlib license:asl2.0 license:expat)))) +(define-public rust-ratatui-0.26 + (package + (name "rust-ratatui") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n1ivnbpng797ssrw1rv1i0j4sjgylm3bssn1m5n2qkcpy7jzcdw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds" + "--skip=buffer::Buffer::index_of" + "--skip=buffer::Buffer::pos_of" + "--skip=terminal::frame::Frame" + "--skip=src/widgets.rs") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-compact-str" ,rust-compact-str-0.7) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-indoc" ,rust-indoc-2) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-lru" ,rust-lru-0.12) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-stability" ,rust-stability-0.1) + ("rust-strum" ,rust-strum-0.26) + ("rust-termion" ,rust-termion-3) + ("rust-termwiz" ,rust-termwiz-0.22) + ("rust-time" ,rust-time-0.3) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-argh" ,rust-argh-0.1) + ("rust-better-panic" ,rust-better-panic-0.3) + ("rust-cargo-husky" ,rust-cargo-husky-1) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-derive-builder" ,rust-derive-builder-0.13) + ("rust-fakeit" ,rust-fakeit-1) + ("rust-font8x8" ,rust-font8x8-0.3) + ("rust-palette" ,rust-palette-0.7) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/ratatui-org/ratatui") + (synopsis "Library for cooking up terminal user interfaces") + (description + "This package provides a library that's all about cooking up terminal user +interfaces.") + (license license:expat))) + +(define-public rust-ratatui-0.25 + (package + (inherit rust-ratatui-0.26) + (name "rust-ratatui") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sw0s4s9y09n2nsxs996frrlmy4fay7ibwfrvar0fvmswi99wrd5")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds" + "--skip=buffer::Buffer::index_of" + "--skip=buffer::Buffer::pos_of") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-indoc" ,rust-indoc-2) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-lru" ,rust-lru-0.12) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-stability" ,rust-stability-0.1) + ("rust-strum" ,rust-strum-0.25) + ("rust-termion" ,rust-termion-2) + ("rust-termwiz" ,rust-termwiz-0.20) + ("rust-time" ,rust-time-0.3) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-argh" ,rust-argh-0.1) + ("rust-better-panic" ,rust-better-panic-0.3) + ("rust-cargo-husky" ,rust-cargo-husky-1) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-fakeit" ,rust-fakeit-1) + ("rust-palette" ,rust-palette-0.7) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8)))))) + +(define-public rust-ratatui-0.24 + (package + (inherit rust-ratatui-0.26) + (name "rust-ratatui") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "099433has5bhl6zbckpv2qskb66h7xz4rfgc6xn5cyjjzdy93g0f")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=buffer::tests::index_of_panics_on_out_of_bounds" + "--skip=buffer::tests::pos_of_panics_on_out_of_bounds" + "--skip=buffer::Buffer::index_of" + "--skip=buffer::Buffer::pos_of") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-indoc" ,rust-indoc-2) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-lru" ,rust-lru-0.12) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-strum" ,rust-strum-0.25) + ("rust-termion" ,rust-termion-2) + ("rust-termwiz" ,rust-termwiz-0.20) + ("rust-time" ,rust-time-0.3) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-argh" ,rust-argh-0.1) + ("rust-better-panic" ,rust-better-panic-0.3) + ("rust-cargo-husky" ,rust-cargo-husky-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-fakeit" ,rust-fakeit-1) + ("rust-palette" ,rust-palette-0.7) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-ratatui-0.20 (package + (inherit rust-ratatui-0.24) (name "rust-ratatui") (version "0.20.1") (source @@ -53858,7 +61070,6 @@ (define-public rust-ratatui-0.20 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ab8w62dkp2c2l8s1xb904imqlv7aqkc07hm6bp01afbphrd1h6w")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -53874,15 +61085,8 @@ (define-public rust-ratatui-0.20 ("rust-termion" ,rust-termion-2) ("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/ratatui-org/ratatui") - (synopsis "Library for cooking up terminal user interfaces") - (description - "This package provides a library that's all about cooking up terminal user -interfaces.") - (license license:expat))) + #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-raw-cpuid-10 (package @@ -54007,19 +61211,20 @@ (define-public rust-rawslice-0.1 (define-public rust-rayon-1 (package (name "rust-rayon") - (version "1.8.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (crate-uri "rayon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cfdnvchf7j4cpha5jkcrrsr61li9i9lp5ak7xdq6d3pvc1xn9ww")))) + (base32 "1ylgnzwgllajalr4v00y4kj22klq2jbwllm70aha232iah0sc65l")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1) - ("rust-rayon-core" ,rust-rayon-core-1)) + ("rust-rayon-core" ,rust-rayon-core-1) + ("rust-wasm-sync" ,rust-wasm-sync-0.1)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)))) @@ -54081,20 +61286,20 @@ (define-public rust-rawkey-0.1 (define-public rust-rayon-core-1 (package (name "rust-rayon-core") - (version "1.12.0") + (version "1.12.1") (source (origin (method url-fetch) (uri (crate-uri "rayon-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vaq0q71yfvcwlmia0iqf6ixj2fibjcf2xjy92n1m1izv1mgpqsw")))) + (base32 "1qpwim68ai5h0j7axa8ai8z0payaawv3id0lrgkqmapx7lx8fr8l")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; `Sender` cannot be shared between threads safely - #:cargo-inputs + `(#:cargo-inputs (("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-wasm-sync" ,rust-wasm-sync-0.1)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) ("rust-rand" ,rust-rand-0.8) @@ -54105,6 +61310,29 @@ (define-public rust-rayon-core-1 (description "This package provides core APIs for Rayon.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rclite-0.2 + (package + (name "rust-rclite") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rclite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fa379adiwincgywigi341zd969d3459ljq71n5ymwwficp0r7zf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-branches" ,rust-branches-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-rayon" ,rust-rayon-1)))) + (home-page "https://github.com/fereidani/rclite") + (synopsis "Reference counting compatible with Arc and Rc APIs") + (description + "This package provides reference counting, which is compatible with +Arc and Rc APIs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rctree-0.5 (package (name "rust-rctree") @@ -54161,6 +61389,49 @@ (define-public rust-rdrand-0.4 @code{rdrand} and @code{rdseed} instructions") (license license:isc))) +(define-public rust-readlock-0.1 + (package + (name "rust-readlock") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "readlock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18l0la7zxavbw1ppfigq84f994lyw65rbpl4hlf5gakd37kj7cyp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rclite" ,rust-rclite-0.2)))) + (home-page "https://github.com/jplatte/readlock") + (synopsis "Weird alternative to Arc>") + (description + "This package provides a weird alternative to @code{Arc>}.") + (license license:mpl2.0))) + +(define-public rust-readlock-tokio-0.1 + (package + (name "rust-readlock-tokio") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "readlock-tokio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zc356rp6x0imb4rq2jyq238lv065h4gnyr7zsh3c6aj0s4kd8zv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rclite" ,rust-rclite-0.2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/jplatte/readlock") + (synopsis "Weird alternative to Arc> using tokio's RwLock") + (description + "This package provides a weird alternative to Arc<@code{RwLock>}, +using tokio's @code{RwLock}") + (license license:mpl2.0))) + (define-public rust-recycler-0.1 (package (name "rust-recycler") @@ -54182,8 +61453,32 @@ (define-public rust-recycler-0.1 owned memory.") (license license:expat))) +(define-public rust-redox-syscall-0.5 + (package + (name "rust-redox-syscall") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "redox_syscall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zja6y3av9z50gg1hh0vsc053941wng21r43whhk8mfb9n4m5426")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Functions not implemented on Linux. + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("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.4 (package + (inherit rust-redox-syscall-0.5) (name "rust-redox-syscall") (version "0.4.1") (source @@ -54193,17 +61488,11 @@ (define-public rust-redox-syscall-0.4 (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))) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) (define-public rust-redox-syscall-0.3 (package @@ -54279,21 +61568,22 @@ (define-public rust-redox-termios-0.1 (define-public rust-redox-users-0.4 (package (name "rust-redox-users") - (version "0.4.0") + (version "0.4.5") (source (origin (method url-fetch) (uri (crate-uri "redox_users" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r5y1a26flkn6gkayi558jg5dzh2m2fdsapgkpn7mj01v3rk51aj")))) + (base32 "1498qyfyc2k3ih5aaffddvbhzi36na8iqg54hcm4pnpfa6b3sa5x")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-redox-syscall" ,rust-redox-syscall-0.2) - ("rust-rust-argon2" ,rust-rust-argon2-0.8)))) + ("rust-libredox" ,rust-libredox-0.1) + ("rust-rust-argon2" ,rust-rust-argon2-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-zeroize" ,rust-zeroize-1)))) (home-page "https://gitlab.redox-os.org/redox-os/users") (synopsis "Rust library to access Redox users and groups functionality") (description @@ -54342,6 +61632,46 @@ (define-public rust-reduce-0.1 initial value.") (license (list license:expat license:asl2.0)))) +(define-public rust-reedline-0.30 + (package + (name "rust-reedline") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "reedline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z5q65x873112q2a3rpsrnvb12widbxmp5qymv9kgjfqlnk9yfj1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arboard" ,rust-arboard-3) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-fd-lock" ,rust-fd-lock-3) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-rusqlite" ,rust-rusqlite-0.31) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-gethostname" ,rust-gethostname-0.4) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/nushell/reedline") + (synopsis "Readline-like crate for CLI text input") + (description + "This package provides a readline-like crate for CLI text input.") + (license license:expat))) + (define-public rust-ref-cast-1 (package (name "rust-ref-cast") @@ -54460,6 +61790,46 @@ (define-public rust-ref-cast-test-suite-0.0.0 (description "Test suite of the ref-cast crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-ref-thread-local-0.1 + (package + (name "rust-ref-thread-local") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ref_thread_local" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w7zw42bzywh9jfhlj5dswdh79dk7bvh4mmsamw9jy40lrh1dmd0")))) + (build-system cargo-build-system) + (home-page "https://github.com/Xeiron/ref_thread_local.rs") + (synopsis "Macro for declaring thread-local `static`s") + (description "This package provides a macro for declaring thread-local +`static`s like using both of `lazy_static!` and `@code{RefCell`}") + (license license:expat))) + +(define-public rust-reference-counted-singleton-0.1 + (package + (name "rust-reference-counted-singleton") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "reference-counted-singleton" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fcc50l2xh74r2qn4nx2kk0h4i5ys3v4fhgpg5cz793g00gq8br4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-serial-test" ,rust-serial-test-3)))) + (home-page "https://codeberg.org/koutheir/reference-counted-singleton.git") + (synopsis "Reference-counted singleton with recreatable data") + (description + "This package provides a reference-counted singleton whose protected data +can be recreated as needed.") + (license license:expat))) + (define-public rust-refpool-0.4 (package (name "rust-refpool") @@ -54487,14 +61857,14 @@ (define-public rust-refpool-0.4 (define-public rust-regex-1 (package (name "rust-regex") - (version "1.10.2") + (version "1.10.4") (source (origin (method url-fetch) (uri (crate-uri "regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hxkd814n4irind8im5c9am221ri6bprx49nc7yxv02ykhd9a2rq")))) + (base32 "0k5sb0h2mkwf51ab0gvv3x38jp1q7wgxf63abfbhi0wwvvgxn5y1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -54575,14 +61945,14 @@ (define-public rust-regex-0.1 (define-public rust-regex-automata-0.4 (package (name "rust-regex-automata") - (version "0.4.3") + (version "0.4.6") (source (origin (method url-fetch) (uri (crate-uri "regex-automata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gs8q9yhd3kcg4pr00ag4viqxnh5l7jpyb9fsfr8hzh451w4r02z")))) + (base32 "1spaq7y4im7s56d1gxa2hi4hzf6dwswb1bv8xyavzya7k25kpf46")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -54658,6 +62028,30 @@ (define-public rust-regex-automata-0.1 ("rust-serde-derive" ,rust-serde-derive-1) ("rust-toml" ,rust-toml-0.5)))))) ; 0.4 +(define-public rust-regex-lite-0.1 + (package + (name "rust-regex-lite") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-lite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13ndx7ibckvlasyzylqpmwlbp4kahrrdl3ph2sybsdviyar63dih")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-regex-test" ,rust-regex-test-0.1)))) + (home-page "https://github.com/rust-lang/regex/tree/master/regex-lite") + (synopsis + "Lightweight regex engine optimized for binary size and compilation time") + (description + "This package provides a lightweight regex engine that optimizes for binary +size and compilation time.") + (license (list license:expat license:asl2.0)))) + (define-public rust-regex-syntax-0.8 (package (name "rust-regex-syntax") @@ -55149,6 +62543,74 @@ (define-public rust-rfc2047-decoder-0.2 MIME Message Headers.") (license license:expat))) +(define-public rust-rhai-1 + (package + (name "rust-rhai") + (version "1.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rhai" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0alqy1jglawbh3wq77axikl0613i3vm81h5yn2jah12d4ir369zn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=tests::check_struct_sizes") + #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-core-error" ,rust-core-error-0.0.0) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-instant" ,rust-instant-0.1) + ("rust-libm" ,rust-libm-0.2) + ("rust-no-std-compat" ,rust-no-std-compat-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rhai-codegen" ,rust-rhai-codegen-2) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-rustyline" ,rust-rustyline-13) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-smartstring" ,rust-smartstring-1) + ("rust-thin-vec" ,rust-thin-vec-0.2) + ("rust-unicode-xid" ,rust-unicode-xid-0.2)) + #:cargo-development-inputs (("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://rhai.rs") + (synopsis "Embedded scripting for Rust") + (description "Embedded scripting for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rhai-codegen-2 + (package + (name "rust-rhai-codegen") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rhai_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v45b68rf6yd7z5flryjh8mjb599qis0amff2wx1hj4x9kfgidwx")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; TODO: Only 36/68 tests pass. + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-rhai" ,rust-rhai-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://rhai.rs/book/plugins/index.html") + (synopsis "Procedural macros support package for Rhai") + (description "This package provides procedural macros support package for +Rhai, a scripting language and engine for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ringbuf-0.2 (package (name "rust-ringbuf") @@ -55365,6 +62827,34 @@ (define-public rust-roadmap-0.5 (description "Model a project roadmap as a directed acyclic graph.") (license license:expat-0))) +(define-public rust-rodio-0.15 + (package + (name "rust-rodio") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rodio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07kkrx0hxfcqgkpg0lrh9355bj1rl0k65nwsk3qwdri6yvlkj2gc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-claxon" ,rust-claxon-0.4) + ("rust-cpal" ,rust-cpal-0.13) + ("rust-hound" ,rust-hound-3) + ("rust-lewton" ,rust-lewton-0.10) + ("rust-minimp3" ,rust-minimp3-0.5) + ("rust-symphonia" ,rust-symphonia-0.4)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.9)))) + (native-inputs (list pkg-config)) + (inputs (list alsa-lib)) + (home-page "https://github.com/RustAudio/rodio") + (synopsis "Pure Rust audio playback library") + (description "Audio playback library written in pure Rust that supports +many formats including AAC, FLAC, MP3, MP4 and WAV.") + (license (list license:expat license:asl2.0)))) + (define-public rust-roff-0.2 (package (name "rust-roff") @@ -55542,23 +63032,25 @@ (define-public rust-ron-0.4 (define-public rust-ropey-1 (package (name "rust-ropey") - (version "1.2.0") + (version "1.6.1") (source (origin (method url-fetch) (uri (crate-uri "ropey" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10qsj7m6hz953ar68q7iqwwizrh89jaclgffzglb7nwzb0bfzwzh")))) + (base32 "1dckf3likfi1my2ilqwhq2ifsm9iq8cayg6ws7fpa6nd1d11whck")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-smallvec" ,rust-smallvec-1)) + `(#:cargo-inputs + (("rust-smallvec" ,rust-smallvec-1) + ("rust-str-indices" ,rust-str-indices-0.4)) #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-proptest" ,rust-proptest-0.9) - ("rust-rand" ,rust-rand-0.7) + (("rust-criterion" ,rust-criterion-0.3) + ("rust-fnv" ,rust-fnv-1) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) (home-page "https://github.com/cessen/ropey") (synopsis "Fast and robust text rope for Rust") @@ -55599,6 +63091,126 @@ (define-public rust-rowan-0.15 "This package provides a library for generic lossless syntax trees.") (license (list license:expat license:asl2.0)))) +(define-public rust-roxmltree-0.19 + (package + (name "rust-roxmltree") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "roxmltree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zs0q8hg5nnh91s1ib6r0fky7xm8ay63ayfa5i1afxxpwgalzl9w")))) + (build-system cargo-build-system) + (home-page "https://github.com/RazrFalcon/roxmltree") + (synopsis "Represent an XML as a read-only tree") + (description + "@code{roxmltree} represents an XML 1.0 document as a read-only tree.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-roxmltree-0.14 + (package + (inherit rust-roxmltree-0.19) + (name "rust-roxmltree") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "roxmltree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "010mahzyarkzb7kaawgga1a9y46nsp209yh2i4g4pq98bg8afn5z")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-xmlparser" ,rust-xmlparser-0.13)))))) + +(define-public rust-rpassword-7 + (package + (name "rust-rpassword") + (version "7.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "rpassword" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08l3jbjwpsj6awm4lacm2bcj3cn9jhy4j6q21n68k49lmdiwyy36")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-rtoolbox" ,rust-rtoolbox-0.0.1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/conradkleinespel/rpassword") + (synopsis "Read passwords in Rust console applications") + (description "This package provides a crate for reading passwords in +console applications.") + (license license:asl2.0))) + +(define-public rust-rpassword-6 + (package + (inherit rust-rpassword-7) + (name "rust-rpassword") + (version "6.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "rpassword" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mnrpxvai78mn9wqkqx8wp1gd280jjhn29ixd1dm84l6i2hrkw1b")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-rpassword-5 + (package + (inherit rust-rpassword-6) + (name "rust-rpassword") + (version "5.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rpassword" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yry1kmgjcb4qd5wak91203493x42ak3dz9hy1c0r9kyib7kdjgz")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-rpds-1 + (package + (name "rust-rpds") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rpds" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "194hjbsicmgqi3dyllqrz09mmhh597m2j9l49lr16cyfscambqd0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-archery" ,rust-archery-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/orium/rpds") + (synopsis "Persistent data structures with structural sharing") + (description "This package provides support for fully persistent data +structures with structural sharing.") + (license license:mpl2.0))) + (define-public rust-rspec-1 (package (name "rust-rspec") @@ -56275,29 +63887,125 @@ (define-public rust-rstest-test-0.9 ("rust-rstest" ,rust-rstest-0.15) ("rust-temp-testdir" ,rust-temp-testdir-0.2)))))) +(define-public rust-rt-format-0.3 + (package + (name "rust-rt-format") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rt-format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225")))) + (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/vstojkovic/rt-format") + (synopsis "Runtime equivalent of the Rust format! macro") + (description "This package provides a runtime equivalent of the Rust +format! macro. It allows formatting strings like the format! macro, with the +formatting string and the arguments provided at runtime. This crate supports +all the formatting features of the format! macro, except for the fill +character.") + (license license:asl2.0))) + +(define-public rust-rtnetlink-0.14 + (package + (name "rust-rtnetlink") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rtnetlink" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19dbbky7bcrwk4jhgam148s8ykxc7pfrblxjvmciipyq8i9lg15n")))) + (build-system cargo-build-system) + (arguments + `(#: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-rtoolbox-0.0.1 + (package + (name "rust-rtoolbox") + (version "0.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "rtoolbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0jjjngwn1fa39kschc8zb4hynp4b0jdind7z225cph7m2k2j4kh3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "") + (synopsis "Utility functions for other crates") + (description + "This package provides utility functions for other crates with no +backwards compatibility guarantees.") + (license license:asl2.0))) + (define-public rust-rug-1 (package (name "rust-rug") - (version "1.14.0") + (version "1.18.0") (source (origin (method url-fetch) (uri (crate-uri "rug" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1iw52gyw0hshymqa04g76m7qnrds5vkgc5s8svqx5nv1jz1wrdgm")))) + (base32 "1f81id6y3vljys0nvl9mimhm0kh8z0vxnrh2ki1x2838mddklcam")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-az" ,rust-az-1) - ("rust-gmp-mpfr-sys" ,rust-gmp-mpfr-sys-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-test" ,rust-serde-test-1)))) + `(#:cargo-test-flags + '("--release" "--lib" "--bins" "--tests") + #:cargo-inputs + (("rust-az" ,rust-az-1) + ("rust-gmp-mpfr-sys" ,rust-gmp-mpfr-sys-1) + ("rust-libc" ,rust-libc-0.2) + ("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-bincode" ,rust-bincode-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) (inputs (list gmp mpc mpfr)) (home-page "https://gitlab.com/tspiteri/rug") @@ -56307,92 +64015,6 @@ (define-public rust-rug-1 floating-point, and complex numbers based on GMP, MPFR and MPC.") (license license:lgpl3+))) -(define-public rust-rpassword-7 - (package - (name "rust-rpassword") - (version "7.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "rpassword" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "08l3jbjwpsj6awm4lacm2bcj3cn9jhy4j6q21n68k49lmdiwyy36")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-rtoolbox" ,rust-rtoolbox-0.0.1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/conradkleinespel/rpassword") - (synopsis "Read passwords in Rust console applications") - (description "This package provides a crate for reading passwords in -console applications.") - (license license:asl2.0))) - -(define-public rust-rpassword-6 - (package - (inherit rust-rpassword-7) - (name "rust-rpassword") - (version "6.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "rpassword" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mnrpxvai78mn9wqkqx8wp1gd280jjhn29ixd1dm84l6i2hrkw1b")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-rpassword-5 - (package - (inherit rust-rpassword-6) - (name "rust-rpassword") - (version "5.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rpassword" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yry1kmgjcb4qd5wak91203493x42ak3dz9hy1c0r9kyib7kdjgz")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-rpds-1 - (package - (name "rust-rpds") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rpds" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "194hjbsicmgqi3dyllqrz09mmhh597m2j9l49lr16cyfscambqd0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-archery" ,rust-archery-1) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-criterion" ,rust-criterion-0.5) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/orium/rpds") - (synopsis "Persistent data structures with structural sharing") - (description "This package provides support for fully persistent data -structures with structural sharing.") - (license license:mpl2.0))) - (define-public rust-run-script-0.10 (package (name "rust-run-script") @@ -56554,8 +64176,84 @@ (define-public rust-runtime-tokio-0.3 (description "This package provides a Tokio-based asynchronous runtime.") (license (list license:expat license:asl2.0)))) +(define-public rust-rusqlite-0.31 + (package + (name "rust-rusqlite") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))) + (inputs (list sqlite)) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Wrapper for SQLite") + (description "This crate provides a wrapper for SQLite.") + (license license:expat))) + +(define-public rust-rusqlite-0.30 + (package + (inherit rust-rusqlite-0.31) + (name "rust-rusqlite") + (version "0.30.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kgjk7h53wp8k2di2j83ivf50f0bk6rg7bq8j36ygxb42lb4d057")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + (define-public rust-rusqlite-0.29 (package + (inherit rust-rusqlite-0.30) (name "rust-rusqlite") (version "0.29.0") (source (origin @@ -56565,7 +64263,6 @@ (define-public rust-rusqlite-0.29 (sha256 (base32 "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -56587,12 +64284,7 @@ (define-public rust-rusqlite-0.29 ("rust-regex" ,rust-regex-1) ("rust-tempfile" ,rust-tempfile-3) ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-1)))) - (inputs (list sqlite)) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Wrapper for SQLite") - (description "This crate provides a wrapper for SQLite.") - (license license:expat))) + ("rust-uuid" ,rust-uuid-1)))))) (define-public rust-rusqlite-0.26 (package @@ -56626,6 +64318,44 @@ (define-public rust-rusqlite-0.26 ("rust-url" ,rust-url-2) ("rust-uuid" ,rust-uuid-0.8)))))) +(define-public rust-rusqlite-macros-0.2 + (package + (name "rust-rusqlite-macros") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-litrs" ,rust-litrs-0.4) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Private implementation detail of rusqlite crate") + (description "This package provides a private implementation detail of the +@code{rusqlite} crate.") + (license license:expat))) + +(define-public rust-rusqlite-macros-0.1 + (package + (inherit rust-rusqlite-macros-0.2) + (name "rust-rusqlite-macros") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bbgnp7pgk358js63666ix6a9p4fr4lgigaaf4av3aj45qksi4ix")))) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) + (define-public rust-rust-htslib-0.38 (package (name "rust-rust-htslib") @@ -56707,39 +64437,49 @@ (define-public rust-rust-base58-0.0 (define-public rust-rust-decimal-1 (package (name "rust-rust-decimal") - (version "1.17.0") + (version "1.35.0") (source (origin (method url-fetch) (uri (crate-uri "rust_decimal" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1s3k05vpq9ba8mj1wx1fj52kdbq1n8y88zvkrbf0wh0zdbwpadrm")))) + "0ymlnlykg2k9cxxs6wcy41sz6xij6cbazq70k49j30faq32d340p")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; not all test files included. #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-byteorder" ,rust-byteorder-1) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-borsh" ,rust-borsh-1) ("rust-bytes" ,rust-bytes-1) ("rust-diesel" ,rust-diesel-1) + ("rust-diesel" ,rust-diesel-2) + ("rust-ndarray" ,rust-ndarray-0.15) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-postgres" ,rust-postgres-0.19) + ("rust-postgres-types" ,rust-postgres-types-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-rocket" ,rust-rocket-0.5) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-tokio-postgres" ,rust-tokio-postgres-0.7)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) ("rust-bytes" ,rust-bytes-1) - ("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion" ,rust-criterion-0.5) ("rust-csv" ,rust-csv-1) ("rust-futures" ,rust-futures-0.3) - ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-postgres" ,rust-postgres-0.19) + ("rust-rand" ,rust-rand-0.8) + ("rust-rust-decimal-macros" ,rust-rust-decimal-macros-1) + ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tokio" ,rust-tokio-1)))) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-postgres" ,rust-tokio-postgres-0.7) + ("rust-version-sync" ,rust-version-sync-0.9)))) (home-page "https://github.com/paupino/rust-decimal") (synopsis "Decimal implementation suitable for financial calculations") (description @@ -56747,8 +64487,69 @@ (define-public rust-rust-decimal-1 suitable for financial calculations.") (license license:expat))) +(define-public rust-rust-decimal-macros-1 + (package + (name "rust-rust-decimal-macros") + (version "1.34.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust_decimal_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10kdmfm95z9yx3ypk3kfqjbvnr5dhfsg4md6wyayz6vji0ap0674")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-rust-decimal" ,rust-rust-decimal-1)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/paupino/rust-decimal") + (synopsis "Shorthand macros to assist creating Decimal types") + (description "Shorthand macros to assist creating Decimal types.") + (license license:expat))) + +(define-public rust-rust-embed-8 + (package + (name "rust-rust-embed") + (version "8.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-embed" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ic70vd4lh6dhjnxaq8wywq3bg23jf78jyyashb3s1b601nz8y7v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=create_is_accurate" + "--skip=last_modified_is_accurate" + "--skip=RustEmbed") + #:cargo-inputs (("rust-actix-web" ,rust-actix-web-4) + ("rust-axum" ,rust-axum-0.7) + ("rust-hex" ,rust-hex-0.4) + ("rust-include-flate" ,rust-include-flate-0.2) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-poem" ,rust-poem-1) + ("rust-rocket" ,rust-rocket-0.5) + ("rust-rust-embed-impl" ,rust-rust-embed-impl-8) + ("rust-rust-embed-utils" ,rust-rust-embed-utils-8) + ("rust-salvo" ,rust-salvo-0.16) + ("rust-tokio" ,rust-tokio-1) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-warp" ,rust-warp-0.3)) + #:cargo-development-inputs (("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/pyrossh/rust-embed") + (synopsis "Rust custom @code{Derive} macro") + (description + "This package provides a custom @code{Derive} macro which loads files +into the Rust binary at compile time during release and loads the file from +the file-system during development.") + (license license:expat))) + (define-public rust-rust-embed-5 (package + (inherit rust-rust-embed-8) (name "rust-rust-embed") (version "5.9.0") (source @@ -56758,9 +64559,10 @@ (define-public rust-rust-embed-5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "08smnqn21vn5zaywfki391v2l9v30cs0446qzzhvjssxmimgxq9g")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + "--skip=RustEmbed") #:cargo-inputs (("rust-actix-web" ,rust-actix-web-3) ("rust-include-flate" ,rust-include-flate-0.1) @@ -56770,8 +64572,28 @@ (define-public rust-rust-embed-5 ("rust-rust-embed-utils" ,rust-rust-embed-utils-5) ("rust-tokio" ,rust-tokio-0.2) ("rust-walkdir" ,rust-walkdir-2) - ("rust-warp" ,rust-warp-0.2)))) - (home-page "https://github.com/pyros2097/rust-embed") + ("rust-warp" ,rust-warp-0.2)))))) + +(define-public rust-rust-embed-impl-8 + (package + (name "rust-rust-embed-impl") + (version "8.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-embed-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j2gqh8dl6c26y9iicjfgj9r5in3fw8k52fxnczhlln0qsiw46mr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rust-embed-utils" ,rust-rust-embed-utils-8) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-syn" ,rust-syn-2) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/pyrossh/rust-embed") (synopsis "Rust custom @code{Derive} macro") (description "This package provides a custom @code{Derive} macro which loads files @@ -56781,6 +64603,7 @@ (define-public rust-rust-embed-5 (define-public rust-rust-embed-impl-5 (package + (inherit rust-rust-embed-impl-8) (name "rust-rust-embed-impl") (version "5.9.0") (source @@ -56790,26 +64613,40 @@ (define-public rust-rust-embed-impl-5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0rlykmykrpllkf4900wv2jfdmq3m5qqrqhw4fdlbzxrfqi0irn9y")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rust-embed-utils" ,rust-rust-embed-utils-5) ("rust-shellexpand" ,rust-shellexpand-2) ("rust-syn" ,rust-syn-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/pyros2097/rust-embed") - (synopsis "Rust custom @code{Derive} macro") - (description - "This package provides a custom @code{Derive} macro which loads files -into the Rust binary at compile time during release and loads the file from -the file-system during development.") + ("rust-walkdir" ,rust-walkdir-2)))))) + +(define-public rust-rust-embed-utils-8 + (package + (name "rust-rust-embed-utils") + (version "8.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-embed-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10am6j29b5p7na45cz6vqxkg8gy47xbir95d9vzzyrr50f4r1xl6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-globset" ,rust-globset-0.4) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/pyrossh/rust-embed") + (synopsis "Utilities for @code{rust-embed}") + (description "This package provides utilities for @code{rust-embed}.") (license license:expat))) (define-public rust-rust-embed-utils-5 (package + (inherit rust-rust-embed-utils-8) (name "rust-rust-embed-utils") (version "5.1.0") (source @@ -56819,15 +64656,8 @@ (define-public rust-rust-embed-utils-5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0vc7492a6qlq7r899p7vyx5cwiqwkw2pf85mfw5anwr42ccj4l9a")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/pyros2097/rust-embed") - (synopsis "Utilities for @code{rust-embed}") - (description "This package provides utilities for @code{rust-embed}.") - (license license:expat))) + `(#:cargo-inputs (("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-eml-parser-0.1 (package @@ -56926,6 +64756,23 @@ (define-public rust-etherparse-0.13 based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") (license (list license:expat license:asl2.0)))) +(define-public rust-etherparse-0.9 + (package + (inherit rust-etherparse-0.13) + (name "rust-etherparse") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "etherparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01s86nj0k663mgxpj3r7y5wr50l5c3aq0pm4rpzyb7hz50i0k8ig")))) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-proptest" ,rust-proptest-0.9)))))) + (define-public rust-rust-hawktracer-0.7 (package (name "rust-rust-hawktracer") @@ -57048,8 +64895,32 @@ (define-public rust-rust-hawktracer-sys-0.4 "This package provides a sys crate for the rust_hawktracer library.") (license (list license:expat license:asl2.0)))) +(define-public rust-rust-ini-0.18 + (package + (name "rust-rust-ini") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-ini" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1px22l3m84v7f46pa3p4bsjykivw8ryq6af8kpkzdd16c11z5mgn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ordered-multimap" ,rust-ordered-multimap-0.4) + ("rust-unicase" ,rust-unicase-2)))) + (home-page "https://github.com/zonyitoo/rust-ini") + (synopsis "INI configuration file parsing library in Rust") + (description + "This package is an INI configuration file parsing library in Rust.") + (license license:expat))) + (define-public rust-rust-ini-0.17 (package + (inherit rust-rust-ini-0.18) (name "rust-rust-ini") (version "0.17.0") (source @@ -57059,18 +64930,12 @@ (define-public rust-rust-ini-0.17 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-ordered-multimap" ,rust-ordered-multimap-0.3) - ("rust-unicase" ,rust-unicase-2)))) - (home-page "https://github.com/zonyitoo/rust-ini") - (synopsis "INI configuration file parsing library in Rust") - (description - "This package is an INI configuration file parsing library in Rust.") - (license license:expat))) + ("rust-unicase" ,rust-unicase-2)))))) (define-public rust-rust-ini-0.13 (package @@ -57143,7 +65008,7 @@ (define-public rust-rustc-ap-rustc-lexer-725 (define-public rust-rustc-demangle-0.1 (package (name "rust-rustc-demangle") - (version "0.1.16") + (version "0.1.23") (source (origin (method url-fetch) @@ -57151,11 +65016,10 @@ (define-public rust-rustc-demangle-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "10qp42sl1wrdbgbbh8rnay2grm976z7hqgz32c4y09l1c071qsac")))) + "0xnbk2bmyzshacjm2g1kd4zzv2y2az14bw3sjccq5qkpmsfvn9nn")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) (home-page "https://github.com/alexcrichton/rustc-demangle") @@ -57365,29 +65229,28 @@ (define-public rust-rustc-rayon-core-0.4 (define-public rust-rustc-serialize-0.3 (package (name "rust-rustc-serialize") - (version "0.3.24") + (version "0.3.25") (source - (origin - (method url-fetch) - (uri (crate-uri "rustc-serialize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw")))) + (origin + (method url-fetch) + (uri (crate-uri "rustc-serialize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00c494bsxjqjvc15h9x2nkgwl6bjdp9bmb9v0xs4ckv0h33lp0zy")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rand" ,rust-rand-0.3)))) - (home-page "https://github.com/rust-lang-deprecated/rustc-serialize") + `(#:tests? #f ; could not find `rustc_serialize` in the crate root + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/rust-lang/rustc-serialize") (synopsis "Generic serialization/deserialization support") (description "This package provides generic serialization/deserialization support corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the compiler. Also includes support for hex, base64, and json encoding and -decoding.") - (license (list license:asl2.0 - license:expat)))) +decoding. + +This crate is deprecated in favor of serde.") + (license (list license:asl2.0 license:expat)))) (define-public rust-rustc-std-workspace-alloc-1 (package @@ -57453,26 +65316,24 @@ (define-public rust-rustc-std-workspace-std-1 (define-public rust-rustc-test-0.3 (package (name "rust-rustc-test") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "rustc-test" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0a27mlcg0ck0hgsdvwk792x9z1k1qq1wj091f1l5yggbdbcsnx5w")))) + (base32 "1fsr9rnlsch5gygxhz0mq3d02vzrrf0jgbwcihhaz0xfn1kpkk5a")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Name collision with the rust compiler. #:cargo-inputs (("rust-getopts" ,rust-getopts-0.2) ("rust-libc" ,rust-libc-0.2) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-rustc-version" ,rust-rustc-version-0.2) ("rust-term" ,rust-term-0.4) - ("rust-time" ,rust-time-0.1) - ("rust-rustc-version" ,rust-rustc-version-0.2)))) + ("rust-time" ,rust-time-0.1)))) (home-page "https://github.com/servo/rustc-test") (synopsis "Fork of Rust's test crate") (description @@ -57555,6 +65416,36 @@ (define-public rust-rustc-version-0.1 `(#:cargo-inputs (("rust-semver" ,rust-semver-0.1)))))) +(define-public rust-rustdoc-json-0.8 + (package + (name "rust-rustdoc-json") + (version "0.8.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustdoc-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "120k214xy255pfvizb6xlks0yv7psgjr3nh6l9xj9bgdfis747m2")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-cargo-manifest" ,rust-cargo-manifest-0.13) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-expect-test" ,rust-expect-test-1) + ("rust-predicates" ,rust-predicates-3) + ("rust-public-api" ,rust-public-api-0.33) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page + "https://github.com/Enselic/cargo-public-api/tree/main/rustdoc-json") + (synopsis "Utilities for working with rustdoc JSON.") + (description "Utilities for working with rustdoc JSON.") + (license license:expat))) + (define-public rust-rustdoc-stripper-0.1 (package (name "rust-rustdoc-stripper") @@ -57577,8 +65468,82 @@ (define-public rust-rustdoc-stripper-0.1 "This package provides a tool to manipulate rustdoc comments.") (license license:asl2.0))) +(define-public rust-rustdoc-types-0.23 + (package + (name "rust-rustdoc-types") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustdoc-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "095jdf44p0b02xq0n9vx1qpnrfgdqkd8nsbmp61r0s4x0q4nyr6c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("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/aDotInTheVoid/rustdoc-types/") + (synopsis "Types for rustdoc's json output") + (description "Types for rustdoc's json output.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustfix-0.8 + (package + (name "rust-rustfix") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustfix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1975qnw1rdd1bsj8qzii0vx0mdxv4946xp4gfprmvnj6f04lp1l1")))) + (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) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-similar" ,rust-similar-2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Automatically apply the suggestions made by rustc") + (description "Automatically apply the suggestions made by rustc.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustfix-0.7 + (package + (inherit rust-rustfix-0.8) + (name "rust-rustfix") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustfix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xaicbgcbvwkf4m9wxmd8jic1a1di0k63mjlyd74jbiap6z0rhby")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-similar" ,rust-similar-2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + (define-public rust-rustfix-0.6 (package + (inherit rust-rustfix-0.7) (name "rust-rustfix") (version "0.6.1") (source @@ -57588,18 +65553,13 @@ (define-public rust-rustfix-0.6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10b4qlvfwljp7yss8afj0lnn8vqj78n93n9vfmkq9616kqyqblpc")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Cut the dependency chain here #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-log" ,rust-log-0.4) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/rust-lang/rustfix") - (synopsis "Automatically apply the suggestions made by rustc") - (description "Automatically apply the suggestions made by rustc.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-rustfix-0.5 (package @@ -57650,17 +65610,39 @@ (define-public rust-rustfix-0.4 `(("rust-failure" ,rust-failure-0.1) ,@(alist-delete "rust-anyhow" cargo-inputs))))))) +(define-public rust-rusticata-macros-4 + (package + (name "rust-rusticata-macros") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusticata-macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03dmfxhgwzpm1360iwcpcg3y18ddgya0i0hc599am212pdvj7ib5")))) + (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)))) + (define-public rust-rustix-0.38 (package (name "rust-rustix") - (version "0.38.28") + (version "0.38.31") (source (origin (method url-fetch) (uri (crate-uri "rustix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05m3vacvbqbg6r6ksmx9k5afpi0lppjdv712crrpsrfax2jp5rbj")) + (base32 "0jg9yj3i6qnzk1y82hng7rb1bwhslfbh57507dxcs9mgcakf38vf")) (snippet #~(begin (use-modules (guix build utils)) (for-each delete-file (find-files "." "\\.a$")) @@ -57943,6 +65925,30 @@ (define-public rust-rusttype-0.7 ("rust-lazy-static" ,rust-lazy-static-1) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))))) +(define-public rust-rustup-toolchain-0.1 + (package + (name "rust-rustup-toolchain") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustup-toolchain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15fcw826mrgml07qw1h0ylgqvhj3wr7ggry2dwr9q63z8rh6yh34")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-expect-test" ,rust-expect-test-1) + ("rust-public-api" ,rust-public-api-0.32) + ("rust-rustdoc-json" ,rust-rustdoc-json-0.8)))) + (home-page + "https://github.com/Enselic/cargo-public-api/tree/main/rustup-toolchain") + (synopsis "Utilities for rustup toolchain") + (description "Utilities for working with rustup toolchains.") + (license license:expat))) + (define-public rust-rustversion-1 (package (name "rust-rustversion") @@ -58035,8 +66041,55 @@ (define-public rust-rusty-fork-0.2 ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2)))))) +(define-public rust-rustyline-13 + (package + (name "rust-rustyline") + (version "13.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11mywskk2jcxhanlsgzza5yx6ywpdlzr64qhbgpsx45clj1xd8h2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=binding::test::size_of_event") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clipboard-win" ,rust-clipboard-win-5) + ("rust-fd-lock" ,rust-fd-lock-4) + ("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.27) + ("rust-radix-trie" ,rust-radix-trie-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-rusqlite" ,rust-rusqlite-0.30) + ("rust-rustyline-derive" ,rust-rustyline-derive-0.10) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-skim" ,rust-skim-0.10) + ("rust-termios" ,rust-termios-0.3) + ("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-12 (package + (inherit rust-rustyline-13) (name "rust-rustyline") (version "12.0.0") (source @@ -58046,7 +66099,6 @@ (define-public rust-rustyline-12 (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) @@ -58072,12 +66124,7 @@ (define-public rust-rustyline-12 ("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))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-rustyline-10 (package @@ -58250,17 +66297,17 @@ (define-public rust-rustyline-6 ("rust-rustyline-derive" ,rust-rustyline-derive-0.3) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-rustyline-derive-0.9 +(define-public rust-rustyline-derive-0.10 (package (name "rust-rustyline-derive") - (version "0.9.0") + (version "0.10.0") (source (origin (method url-fetch) (uri (crate-uri "rustyline-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hvaj1n0k7ys8iqfxvymmakv9aqqpvm53hagw55jw7954xaaycjs")))) + (base32 "0lfr25qdrn0awccq999d6g8m7bhsyxbkliibdpzimbzniff9bbz5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -58271,6 +66318,23 @@ (define-public rust-rustyline-derive-0.9 (description "This package provides Rustyline macros implementation in Rust.") (license license:expat))) +(define-public rust-rustyline-derive-0.9 + (package + (inherit rust-rustyline-derive-0.10) + (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")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-rustyline-derive-0.7 (package (inherit rust-rustyline-derive-0.9) @@ -58305,8 +66369,45 @@ (define-public rust-rustyline-derive-0.3 (("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-ruzstd-0.5 + (package + (name "rust-ruzstd") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruzstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ga8jciw7ka3mxrzl39skmsbdslajghzglcil10g0z4rh65fpi2q")))) + (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-derive-more" ,rust-derive-more-0.99) + ("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/KillingSpark/zstd-rs") + (synopsis "Decoder for the zstd compression format") + (description + "This package provides a decoder for the zstd compression format.") + (license license:expat))) + (define-public rust-ruzstd-0.4 (package + (inherit rust-ruzstd-0.5) (name "rust-ruzstd") (version "0.4.0") (source @@ -58316,7 +66417,6 @@ (define-public rust-ruzstd-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -58334,12 +66434,7 @@ (define-public rust-ruzstd-0.4 ("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))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-rkyv-0.7 (package @@ -58582,8 +66677,29 @@ (define-public rust-salsa-0.17 computation (experimental)") (license (list license:asl2.0 license:expat)))) +(define-public rust-safe-arch-0.7 + (package + (name "rust-safe-arch") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "safe_arch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m63dasp3rs9mkaa5wai6l6v14lbb788igaidys7k8g6w5f0g67k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)))) + (home-page "https://github.com/Lokathor/safe_arch") + (synopsis "Access core::arch safely") + (description "This package exposes @code{core::arch} safely via +@code{#[cfg()]}.") + (license (list license:zlib license:asl2.0 license:expat)))) + (define-public rust-safe-arch-0.6 (package + (inherit rust-safe-arch-0.7) (name "rust-safe-arch") (version "0.6.0") (source @@ -58593,16 +66709,8 @@ (define-public rust-safe-arch-0.6 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ad5ykwgq9ll1ymp83d9cayzj8q191rik71ga5wzkndhrkj22j3r")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bytemuck" ,rust-bytemuck-1)))) - (home-page "https://github.com/Lokathor/safe_arch") - (synopsis "Access core::arch safely") - (description "This package exposes @code{core::arch} safely via -@code{#[cfg()]}.") - (license (list license:zlib license:asl2.0 license:expat)))) - + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)))))) (define-public rust-safe-arch-0.5 (package @@ -58690,6 +66798,187 @@ (define-public rust-same-file-0.1 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-sample-arrow2-0.17 + (package + (name "rust-sample-arrow2") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-arrow2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xw9mdhzb0wx26b4bq1d94ib179lmzc5kfsrhgp5gk75g84k0ash")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrow2" ,rust-arrow2-0.17) + ("rust-sample-std" ,rust-sample-std-0.2)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sample-test" ,rust-sample-test-0.2)))) + (home-page "https://docs.rs/sample-arrow2") + (synopsis "Samplers for arrow2 for use with sample-test") + (description "Samplers for arrow2 for use with sample-test.") + (license license:asl2.0))) + +(define-public rust-sample-arrow2-0.1 + (package + (inherit rust-sample-arrow2-0.17) + (name "rust-sample-arrow2") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-arrow2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b0pqyxsv6qjg16xsj8isx5maj6cdmy12rg31b7gc14cg4npqmav")))) + (arguments + `(#:cargo-inputs (("rust-arrow2" ,rust-arrow2-0.17) + ("rust-sample-std" ,rust-sample-std-0.1)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sample-test" ,rust-sample-test-0.1)))))) + +(define-public rust-sample-std-0.2 + (package + (name "rust-sample-std") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-std" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j2q8flzjjcbfnqkj08fyqa2dwdwigxaxn04w2hjqazbqqcx52wl")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Errors in the test code. + #:cargo-inputs (("rust-casey" ,rust-casey-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-regex" ,rust-rand-regex-0.15) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-sample-test" ,rust-sample-test-0.2)))) + (home-page "https://docs.rs/sample-std") + (synopsis "Sampler definitions and implementations for st") + (description "Sampler definitions and implementations for st.") + (license license:asl2.0))) + +(define-public rust-sample-std-0.1 + (package + (inherit rust-sample-std-0.2) + (name "rust-sample-std") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-std" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j2p3bj3c8gcxrfx5402zygm5l564p09bc0gj8wfhb1hqcyiayjn")))) + (arguments + `(#:tests? #f ; Errors in the test code. + #:cargo-inputs (("rust-casey" ,rust-casey-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-regex" ,rust-rand-regex-0.15) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-sample-test" ,rust-sample-test-0.1)))))) + +(define-public rust-sample-test-0.2 + (package + (name "rust-sample-test") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gymqxvr6avi40g73mg56lgzbs2x4yvy50mm15mpa5k4a7557cp8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sample-std" ,rust-sample-std-0.2) + ("rust-sample-test-macros" ,rust-sample-test-macros-0.2)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://docs.rs/sample-test") + (synopsis "Sampling strategies and machinery for testing arbitrary data") + (description + "Sampling strategies and machinery for testing arbitrary data") + (license license:asl2.0))) + +(define-public rust-sample-test-0.1 + (package + (inherit rust-sample-test-0.2) + (name "rust-sample-test") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cli62gcy91d4n97visnqqpbpws5xwrzlnl0w8dgq6gz8w4m0gki")))) + (arguments + `(#:cargo-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sample-std" ,rust-sample-std-0.1) + ("rust-sample-test-macros" ,rust-sample-test-macros-0.1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) + +(define-public rust-sample-test-macros-0.2 + (package + (name "rust-sample-test-macros") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-test-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vxmx4i0hcnbbaky4d7xpzw2ckff00bkkdmdzn0lbfw9fnd47ijw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-sample-std" ,rust-sample-std-0.2) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-sample-test" ,rust-sample-test-0.2)))) + (home-page "https://docs.rs/sample-test-macros") + (synopsis "Proc-macros used by sample-test") + (description "Proc-macros used by sample-test.") + (license license:asl2.0))) + +(define-public rust-sample-test-macros-0.1 + (package + (inherit rust-sample-test-macros-0.2) + (name "rust-sample-test-macros") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sample-test-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kjkavrzz8zs6jkjya6l73ggy4bi6yma67gdnsasx6i55a1jq6nz")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-sample-std" ,rust-sample-std-0.1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-sample-test" ,rust-sample-test-0.1)))))) + (define-public rust-sanakirja-0.10 (package (name "rust-sanakirja") @@ -58867,18 +67156,20 @@ (define-public rust-scheduled-thread-pool-0.2 (define-public rust-schemars-0.8 (package (name "rust-schemars") - (version "0.8.8") + (version "0.8.20") (source (origin (method url-fetch) (uri (crate-uri "schemars" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qvhq1yixygd8ihc0qxmnhw4x08fa44q88v088gvc6pa1k4a7df6")))) + (base32 "0aby31lm1jwlj5hlw5lqq7xyzhc6vrmghdjq995f5asbl7p8q8dh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-bigdecimal" ,rust-bigdecimal-0.4) ("rust-bigdecimal" ,rust-bigdecimal-0.3) ("rust-bytes" ,rust-bytes-1) ("rust-chrono" ,rust-chrono-0.4) @@ -58886,15 +67177,19 @@ (define-public rust-schemars-0.8 ("rust-either" ,rust-either-1) ("rust-enumset" ,rust-enumset-1) ("rust-indexmap" ,rust-indexmap-1) + ("rust-indexmap" ,rust-indexmap-2) ("rust-rust-decimal" ,rust-rust-decimal-1) ("rust-schemars-derive" ,rust-schemars-derive-0.8) + ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-smallvec" ,rust-smallvec-1) + ("rust-smol-str" ,rust-smol-str-0.1) ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-0.8)) + ("rust-uuid" ,rust-uuid-0.8) + ("rust-uuid" ,rust-uuid-1)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + (("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://graham.cool/schemars/") (synopsis "Generate JSON Schemas from Rust code") @@ -58902,32 +67197,80 @@ (define-public rust-schemars-0.8 Rust code.") (license license:expat))) +(define-public rust-schemars-0.6 + (package + (inherit rust-schemars-0.8) + (name "rust-schemars") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "schemars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v6acgxkbhaw7fzg4mp09jv231f0mr224my629435wxasrrrfmh7")))) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=doc_comments_struct") + #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-either" ,rust-either-1) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-schemars-derive" ,rust-schemars-derive-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-uuid" ,rust-uuid-0.8)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) + (define-public rust-schemars-derive-0.8 (package (name "rust-schemars-derive") - (version "0.8.8") + (version "0.8.20") (source (origin (method url-fetch) (uri (crate-uri "schemars_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16xfvm16d8nsxdx82fdcyqfi12v61lffyf1wmi34qqg82g74vbj1")))) + (base32 "1lzlj36qcjjpynadbi4x152i5pd2wbv42p8n3bin5ycgrv6a3m9y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.25) + ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.29) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://graham.cool/schemars/") (synopsis "Macros for @code{#[derive(JsonSchema)]}, for use with schemars") (description "This package provides macros for @code{#[derive(JsonSchema)]}, for use with schemars.") (license license:expat))) +(define-public rust-schemars-derive-0.6 + (package + (inherit rust-schemars-derive-0.8) + (name "rust-schemars-derive") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "schemars_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a9h8bqqqd0i6605gyhz2jw2hi1wq1vfi262qrflkn3pyk75wlrq")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.25) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) + (define-public rust-scoped-threadpool-0.1 (package (name "rust-scoped-threadpool") @@ -58996,7 +67339,7 @@ (define-public rust-scoped-tls-0.1 (define-public rust-scopeguard-1 (package (name "rust-scopeguard") - (version "1.1.0") + (version "1.2.0") (source (origin (method url-fetch) @@ -59004,7 +67347,7 @@ (define-public rust-scopeguard-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1kbqm85v43rq92vx7hfiay6pmcga03vrjbbfwqpyj3pwsg3b16nj")))) + "0jcz9sd47zlsgcnm1hdw0664krxwb5gczlif4qngj2aif8vky54l")))) (build-system cargo-build-system) (home-page "https://github.com/bluss/scopeguard") (synopsis "Scope guard which will run a closure even out of scope") @@ -59031,6 +67374,25 @@ (define-public rust-scopeguard-0.3 (base32 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) +(define-public rust-scopetime-0.1 + (package + (name "rust-scopetime") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "scopetime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ngkasx6l072cvigx7q5r33i8acjardr4g8jnwdrcym4758f5vb6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/extrawurst/gitui") + (synopsis "Log scope runtime") + (description "This create is for logging runtime of arbitrary scope.") + (license license:expat))) + (define-public rust-scraper-0.12 (package (name "rust-scraper") @@ -59423,6 +67785,19 @@ (define-public rust-sd-notify-0.4 notifications.") (license (list license:expat license:asl2.0)))) +(define-public rust-sd-notify-0.3 + (package + (inherit rust-sd-notify-0.4) + (name "rust-sd-notify") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sd-notify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j1ff6hhzcyh3m9c0adxnnjrasnvl1v6qaiv5vj2zgajz0hqml0c")))))) + (define-public rust-seahash-3 (package (name "rust-seahash") @@ -59658,17 +68033,72 @@ (define-public rust-self-cell-1 in stable Rust.") (license license:asl2.0))) +(define-public rust-selinux-0.4 + (package + (name "rust-selinux") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "selinux" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02vy0n6rrhh8idxadi5xjmv5phvfg1f8jg5cwmjzvzxvkcg1ndsk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-reference-counted-singleton" ,rust-reference-counted-singleton-0.1) + ("rust-selinux-sys" ,rust-selinux-sys-0.6) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-socketpair" ,rust-socketpair-0.19) + ("rust-tempfile" ,rust-tempfile-3)))) + (inputs (list clang libselinux)) + (home-page "https://codeberg.org/koutheir/selinux.git") + (synopsis "Flexible Mandatory Access Control for Linux") + (description "This package provides a Rust interface to the flexible +Mandatory Access Control for Linux.") + (license license:expat))) + +(define-public rust-selinux-sys-0.6 + (package + (name "rust-selinux-sys") + (version "0.6.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "selinux-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v2z4002x3k7vzfq3z2p05xn85f0439iybmpxg47xh9x6yc59m49")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (inputs (list clang libselinux)) + (home-page "https://codeberg.org/koutheir/selinux-sys.git") + (synopsis "Flexible Mandatory Access Control (MAC) for Linux") + (description "Flexible Mandatory Access Control (MAC) for Linux.") + (license license:expat))) + (define-public rust-semver-1 (package (name "rust-semver") - (version "1.0.20") + (version "1.0.22") (source (origin (method url-fetch) (uri (crate-uri "semver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "140hmbfa743hbmah1zjf07s8apavhvn04204qjigjiz5w6iscvw3")))) + (base32 "1jir6q2ps4s5v52bqxpvwj35p0m0ahl5pf62ppwksbv5kvk3zm4j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -59896,10 +68326,31 @@ (define-public rust-seq-io-0.3 @end itemize") (license license:expat))) +(define-public rust-seq-macro-0.3 + (package + (name "rust-seq-macro") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "seq-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d50kbaslrrd0374ivx15jg57f03y5xzil1wd2ajlvajzlkbzw53")))) + (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 "Repeat sequentially indexed copies of a fragment of code") + (description + "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.194") + (version "1.0.197") (source (origin (method url-fetch) @@ -59907,7 +68358,7 @@ (define-public rust-serde-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wxplk1ayrsb81bdwh8zmkldw1b0xigs3qc90r5ck6374nc4848b")))) + "1qjcxqd3p4yh5cmmax9q4ics1zy34j5ij32cvjj5dc5rw5rwic9z")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -60336,7 +68787,7 @@ (define-public rust-serdeconv-0.4 (define-public rust-serde-derive-1 (package (name "rust-serde-derive") - (version "1.0.194") + (version "1.0.197") (source (origin (method url-fetch) @@ -60344,7 +68795,7 @@ (define-public rust-serde-derive-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1q6l0ycrykdg960c350fgnac6d653q1v608g84qrk3rf692mwf53")))) + "02v1x0sdv8qy06lpr6by4ar1n3jz3hmab15cgimpzhgd895v7c3y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -60387,8 +68838,31 @@ (define-public rust-serde-derive-0.9 ("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14) ("rust-syn" ,rust-syn-0.11)))))) +(define-public rust-serde-derive-internals-0.29 + (package + (name "rust-serde-derive-internals") + (version "0.29.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_derive_internals" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04g7macx819vbnxhi52cx0nhxi56xlhrybgwybyy7fb9m4h6mlhq")))) + (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://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.26 (package + (inherit rust-serde-derive-internals-0.29) (name "rust-serde-derive-internals") (version "0.26.0") (source @@ -60398,17 +68872,11 @@ (define-public rust-serde-derive-internals-0.26 (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` + `(#: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)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-serde-derive-internals-0.25 (package @@ -60457,18 +68925,17 @@ (define-public rust-serde-ignored-0.1 (define-public rust-serde-json-1 (package (name "rust-serde-json") - (version "1.0.111") + (version "1.0.114") (source (origin (method url-fetch) (uri (crate-uri "serde_json" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x441azvvdy6x8am4bvkxhswhzw5cr8ml0cqspnihvri8bx4cvhp")))) + (base32 "1q4saigxwkf8bw4y5kp6k33dnavlvvwa2q4zmag59vrjsqdrpw65")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; could not find `RandomState` in `hash` - #:cargo-inputs + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) ("rust-itoa" ,rust-itoa-1) ("rust-ryu" ,rust-ryu-1) @@ -60582,8 +69049,45 @@ (define-public rust-serde-path-to-error-0.1 "This package provides a path to the element that failed to deserialize.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-qs-0.8 + (package + (name "rust-serde-qs") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_qs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19pngnlga4xnap85kdvn661662hf42lkkppp9sd04py7xs056wf7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-actix-web" ,rust-actix-web-3) + ("rust-actix-web" ,rust-actix-web-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-warp" ,rust-warp-0.3)) + #:cargo-development-inputs + (("rust-csv" ,rust-csv-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-serde-with" ,rust-serde-with-1)))) + (home-page "https://github.com/samscott89/serde_qs") + (synopsis "Querystrings for Serde") + (description + "This crate is a Rust library for serialising to and deserialising from +querystrings. This crate is designed to extend @code{serde_urlencoded} when +using nested parameters, similar to those used by @code{qs} for Node, and +commonly used by Ruby on Rails via Rack.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-qs-0.7 (package + (inherit rust-serde-qs-0.8) (name "rust-serde-qs") (version "0.7.2") (source @@ -60593,7 +69097,6 @@ (define-public rust-serde-qs-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1jz6gpr02d393f8cwdxbgfl3jhx5svr1z5ilxhdh16slqvijvy2s")))) - (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. @@ -60607,15 +69110,7 @@ (define-public rust-serde-qs-0.7 ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-csv" ,rust-csv-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) - (home-page "https://github.com/samscott89/serde_qs") - (synopsis "Querystrings for Serde") - (description - "This crate is a Rust library for serialising to and deserialising from -querystrings. This crate is designed to extend @code{serde_urlencoded} when -using nested parameters, similar to those used by @code{qs} for Node, and -commonly used by Ruby on Rails via Rack.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))))) (define-public rust-serde-regex-1 (package @@ -60675,16 +69170,20 @@ (define-public rust-serde-repr-0.1 (define-public rust-serde-spanned-0.6 (package (name "rust-serde-spanned") - (version "0.6.4") + (version "0.6.5") (source (origin (method url-fetch) (uri (crate-uri "serde_spanned" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "102ym47sr1y48ml42wjv6aq8y77bij1qckx1j0gb3rbka21jn0hj")))) + (base32 "1hgh6s3jjwyzhfk3xwb6pnnr1misq9nflwq0f026jafi37s24dpb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + `(#:tests? #f ; unresolved import `toml` + #:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-untagged" ,rust-serde-untagged-0.1)))) (home-page "https://github.com/toml-rs/toml") (synopsis "Encoder and decoder of TOML-formatted files and streams") (description "This package provides a native Rust encoder and decoder of @@ -60794,6 +69293,27 @@ (define-public rust-serde-test-0.8 ((", path = \"../serde\"") "")) #t))))))) +(define-public rust-serde-transcode-1 + (package + (name "rust-serde-transcode") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-transcode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qlh34kw4knbs83xy6x0wwbb71pbiivcw6swpy2nxfx5q8jhw32r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/sfackler/serde-transcode") + (synopsis "Transcode from one Serde format to another") + (description "This package provides functions to transcode from one Serde +format to another.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-untagged-0.1 (package (name "rust-serde-untagged") @@ -60895,14 +69415,14 @@ (define-public rust-serde-value-0.7 (define-public rust-serde-with-3 (package (name "rust-serde-with") - (version "3.4.0") + (version "3.8.1") (source (origin (method url-fetch) (uri (crate-uri "serde_with" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08sw83b6hfwzylr0waf4mc29h6fxnb02g7vkwbkjjyhvrin27kb4")) + (base32 "082a7j42h79rs2jzafw67lay0497hnip56fdxfjxaj81mg987m0a")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -60910,12 +69430,13 @@ (define-public rust-serde-with-3 (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags + `(#:skip-build? #t ; Not all dependencies packaged + #:cargo-test-flags '("--release" "--" ;; Test fails in release tarball. "--skip=test_serde_with_macros_dependency") #:cargo-inputs - (("rust-base64" ,rust-base64-0.21) + (("rust-base64" ,rust-base64-0.22) ("rust-chrono" ,rust-chrono-0.4) ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-document-features" ,rust-document-features-0.2) @@ -60923,11 +69444,60 @@ (define-public rust-serde-with-3 ("rust-hex" ,rust-hex-0.4) ("rust-indexmap" ,rust-indexmap-1) ("rust-indexmap" ,rust-indexmap-2) + ("rust-schemars" ,rust-schemars-0.8) ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-with-macros" ,rust-serde-with-macros-3) ("rust-time" ,rust-time-0.3)) #:cargo-development-inputs + (("rust-expect-test" ,rust-expect-test-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-glob" ,rust-glob-0.3) + ;("rust-jsonschema" ,rust-jsonschema-0.17) + ("rust-mime" ,rust-mime-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-ron" ,rust-ron-0.8) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-xml-rs" ,rust-serde-xml-rs-0.6) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/jonasbb/serde_with/") + (synopsis "Custom de/serialization functions for Rust's serde") + (description "This package provides custom de/serialization functions for +Rust's serde.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-serde-with-1 + (package + (inherit rust-serde-with-3) + (name "rust-serde-with") + (version "1.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_with" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zqjlc9ypm8y0r9bcgdhh62zcdn2yzfxh31dsbn01gshkq35m2v7")))) + (arguments + `(#:tests? #f ; could not find `Deserializer` in `serde_test` + #:cargo-inputs (("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-with-macros" ,rust-serde-with-macros-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-expect-test" ,rust-expect-test-1) ("rust-fnv" ,rust-fnv-1) ("rust-glob" ,rust-glob-0.3) @@ -60935,31 +69505,25 @@ (define-public rust-serde-with-3 ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-regex" ,rust-regex-1) ("rust-rmp-serde" ,rust-rmp-serde-1) - ("rust-ron" ,rust-ron-0.8) + ("rust-ron" ,rust-ron-0.7) ("rust-rustversion" ,rust-rustversion-1) - ("rust-serde-xml-rs" ,rust-serde-xml-rs-0.6) + ("rust-serde-xml-rs" ,rust-serde-xml-rs-0.5) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-test" ,rust-serde-test-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.9) - ("rust-version-sync" ,rust-version-sync-0.9) - ("rust-xml-rs" ,rust-xml-rs-0.8)))) - (home-page "https://github.com/jonasbb/serde_with/") - (synopsis "Custom de/serialization functions for Rust's serde") - (description "This package provides custom de/serialization functions for -Rust's serde.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("rust-version-sync" ,rust-version-sync-0.9)))))) (define-public rust-serde-with-macros-3 (package (name "rust-serde-with-macros") - (version "3.4.0") + (version "3.8.1") (source (origin (method url-fetch) (uri (crate-uri "serde_with_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1277nm0ry2bs52zd5kkddgkzk5s2mhi80x74dnqj68ssyyslwqwk")))) + (base32 "1qmwh1bw83p8h24ijmivfaz0nifhkdvwbcdvr25kwi215xq9nmk5")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -60985,6 +69549,31 @@ (define-public rust-serde-with-macros-3 @code{serde_with}.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-with-macros-1 + (package + (inherit rust-serde-with-macros-3) + (name "rust-serde-with-macros") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_with_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10l0rsy0k61nvpn1brcfvzp8yfnvsqdgh6zdwp03qf85dzndd0p1")))) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.13) + ("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) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-version-sync" ,rust-version-sync-0.9)))))) + (define-public rust-serde-xml-rs-0.6 (package (name "rust-serde-xml-rs") @@ -61149,8 +69738,38 @@ (define-public rust-serde-wasm-bindgen-0.3 (description "Native Serde adapter for wasm-bindgen.") (license license:expat))) +(define-public rust-serial-test-3 + (package + (name "rust-serial-test") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1381b9z83a0a39sx0jrrf1q91m08s1yhjp648g5sgb1s5csdjflm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-fslock" ,rust-fslock-0.2) + ("rust-futures" ,rust-futures-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serial-test-derive" ,rust-serial-test-derive-3)) + #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/palfrey/serial_test") + (synopsis "Allows for the creation of serialised Rust tests") + (description + "This package allows for the creation of serialised Rust tests.") + (license license:expat))) + (define-public rust-serial-test-2 (package + (inherit rust-serial-test-3) (name "rust-serial-test") (version "2.0.0") (source @@ -61160,7 +69779,6 @@ (define-public rust-serial-test-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0b9v0csv9wxl1gcjq99plwimxbmhgr6kzbwqyb457qh3d22xsmhf")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-dashmap" ,rust-dashmap-5) @@ -61173,12 +69791,7 @@ (define-public rust-serial-test-2 ("rust-serial-test-derive" ,rust-serial-test-derive-2)) #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/palfrey/serial_test") - (synopsis "Allows for the creation of serialised Rust tests") - (description - "This package allows for the creation of serialised Rust tests.") - (license license:expat))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-serial-test-1 (package @@ -61285,8 +69898,33 @@ (define-public rust-serial-test-0.1 `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)))))) +(define-public rust-serial-test-derive-3 + (package + (name "rust-serial-test-derive") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial_test_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04i240k9ml91nz2knj2qxaksm6qnqj65xm7p8wdsq880qynv8gxr")))) + (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-env-logger" ,rust-env-logger-0.10) + ("rust-prettyplease" ,rust-prettyplease-0.2)))) + (home-page "https://github.com/palfrey/serial_test") + (synopsis "Helper crate for serial_test") + (description + "This package is an helper crate for @code{rust-serial-test}.") + (license license:expat))) + (define-public rust-serial-test-derive-2 (package + (inherit rust-serial-test-derive-3) (name "rust-serial-test-derive") (version "2.0.0") (source @@ -61296,19 +69934,13 @@ (define-public rust-serial-test-derive-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13zvd5ds76hhjn3z0axc05n15lzpxpz77jcykic8q5knhlbjklci")))) - (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-env-logger" ,rust-env-logger-0.10)))) - (home-page "https://github.com/palfrey/serial_test") - (synopsis "Helper crate for serial_test") - (description - "This package is an helper crate for @code{rust-serial-test}.") - (license license:expat))) + (("rust-env-logger" ,rust-env-logger-0.10)))))) (define-public rust-serial-test-derive-1 (package @@ -61580,8 +70212,45 @@ (define-public rust-sensors-0.2 "This package provides a Rust-friendly interface to lm-sensors.") (license license:miros))) +(define-public rust-shadow-rs-0.26 + (package + (name "rust-shadow-rs") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "shadow-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15xrlf66f10773k9kwpvz8909akfjspyy0yy9ss665wrfs15qp1y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=date_time::tests::test_local_now_human_format" + "--skip=git::tests::test_command_last_tag" + "--skip=git::tests::test_current_branch" + "--skip=git::tests::test_git") + #:cargo-inputs (("rust-const-format" ,rust-const-format-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-git2" ,rust-git2-0.18) + ("rust-is-debug" ,rust-is-debug-1) + ("rust-time" ,rust-time-0.3) + ("rust-tzdb" ,rust-tzdb-0.6)) + #:cargo-development-inputs (("rust-winnow" ,rust-winnow-0.5)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 zlib)) + (home-page "https://github.com/baoyachi/shadow-rs") + (synopsis "Recall properties of the build process at run time") + (description + "@code{shadow-rs} allows you to recall properties of the build process +and environment at run time. You can use this tool to check in production +exactly where a binary came from and how it was built.") + (license (list license:expat license:asl2.0)))) + (define-public rust-shadow-rs-0.8 (package + (inherit rust-shadow-rs-0.26) (name "rust-shadow-rs") (version "0.8.1") (source @@ -61591,20 +70260,11 @@ (define-public rust-shadow-rs-0.8 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.13) - ("rust-is-debug" ,rust-is-debug-1)))) - (home-page "https://github.com/baoyachi/shadow-rs") - (synopsis "Recall properties of the build process at run time") - (description - "@code{shadow-rs} allows you to recall properties of the build process -and environment at run time. You can use this tool to check in production -exactly where a binary came from and how it was built.") - (license (list license:expat license:asl2.0)))) + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-git2" ,rust-git2-0.13) + ("rust-is-debug" ,rust-is-debug-1)))))) (define-public rust-shannon-0.2 (package @@ -61800,14 +70460,14 @@ (define-public rust-shellexpand-2 (define-public rust-shlex-1 (package (name "rust-shlex") - (version "1.2.0") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "shlex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1033pj9dyb76nm5yv597nnvj3zpvr2aw9rm5wy0gah3dk99f1km7")))) + (base32 "0r1y6bv26c1scpxvhg2cabimrmwgbp4p3wy6syj9n0c4s3q2znhg")))) (build-system cargo-build-system) (home-page "https://github.com/comex/rust-shlex") (synopsis "Split a string into shell words, like Python's shlex") @@ -62168,7 +70828,7 @@ (define-public rust-simd-0.2 (define-public rust-simd-adler32-0.3 (package (name "rust-simd-adler32") - (version "0.3.4") + (version "0.3.7") (source (origin (method url-fetch) @@ -62176,7 +70836,7 @@ (define-public rust-simd-adler32-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "060b9v15s3miq06582cj2ywam92ph6xs34s62mc8az3xc4wxz98l")))) + "1zkq40c3iajcnr5936gjp9jjh1lpzhy44p3dq3fiw75iwr1w2vfn")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -62185,8 +70845,7 @@ (define-public rust-simd-adler32-0.3 ("rust-criterion" ,rust-criterion-0.3) ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/mcountryman/simd-adler32") - (synopsis - "Adler-32 rolling hash algorithm implementation") + (synopsis "Adler-32 rolling hash algorithm implementation") (description "This package provides a SIMD-accelerated Adler-32 rolling hash algorithm implementation in Rust.") @@ -62216,6 +70875,59 @@ (define-public rust-simd-helpers-0.1 "This package provides helpers to write more compact simd code.") (license license:expat))) +(define-public rust-simd-json-0.13 + (package + (name "rust-simd-json") + (version "0.13.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "simd-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xmzpzklnxxnwspf7abhzgr3khbnrw4h8svag8rq9i4v3c88zbrg")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Remove some of the optional dependencies: + (substitute* "Cargo.toml.orig" + ((".*alloc_counter.*") "") + ((".*colored.*") "") + ((".*jemallocator.*") "") + ((".*perfcnt.*") "")) + (rename-file "Cargo.toml.orig" "Cargo.toml"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ;("rust-alloc-counter" ,rust-alloc-counter-0.0.4) + ("rust-beef" ,rust-beef-0.5) + ;("rust-colored" ,rust-colored-2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-halfbrown" ,rust-halfbrown-0.2) + ;("rust-jemallocator" ,rust-jemallocator-0.5) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ;("rust-perfcnt" ,rust-perfcnt-0.8) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simdutf8" ,rust-simdutf8-0.1) + ("rust-value-trait" ,rust-value-trait-0.8)) + #:cargo-development-inputs (("rust-core-affinity" ,rust-core-affinity-0.8) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-float-cmp" ,rust-float-cmp-0.9) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-proptest" ,rust-proptest-1)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (delete-file "tests/jsonchecker.rs")))))) + (home-page "https://github.com/simd-lite/simd-json") + (synopsis "High performance JSON parser based on a port of simdjson") + (description "High performance JSON parser based on a port of simdjson.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-simdutf8-0.1 (package (name "rust-simdutf8") @@ -62239,14 +70951,14 @@ (define-public rust-simdutf8-0.1 (define-public rust-similar-2 (package (name "rust-similar") - (version "2.2.1") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "similar" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1kszsllryv6lh6771ah0apqk57qh4jp9mrlr1hhkiq6smx2cn2j2")))) + "08gspd5a2w21k9s641z6fxvrzj34611rcjbjr5685vh9r8da9zij")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -62341,6 +71053,25 @@ (define-public rust-simplelog-0.12 small to medium sized project") (license (list license:expat license:asl2.0)))) +(define-public rust-simplerand-1 + (package + (name "rust-simplerand") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "simplerand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yw9p3sk5c57gwz60ydpvsbx9kkwyccwlcv0z3q4v66b4455libh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://github.com/PumpkinSeed/srand") + (synopsis "Random number generator") + (description "Simple and fast random number generator.") + (license license:expat))) + (define-public rust-simple-logger-4 (package (name "rust-simple-logger") @@ -62948,30 +71679,6 @@ (define-public rust-slog-2 license:asl2.0)))) (define-public rust-slog-async-2 - (package - (name "rust-slog-async") - (version "2.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "slog-async" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1p7v0jl82snmk1c7f6ch528ladzyprlk5gzaqkdqa342ky3i6266")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-slog" ,rust-slog-2) - ("rust-take-mut" ,rust-take-mut-0.2) - ("rust-thread-local" ,rust-thread-local-1)))) - (home-page "https://github.com/slog-rs/slog") - (synopsis "Asynchronous drain for @code{slog-rs}") - (description "This package provides an asynchronous drain for slog.") - (license (list license:mpl2.0 license:expat license:asl2.0)))) - -(define-public rust-slog-async-2-8 (package (name "rust-slog-async") (version "2.8.0") @@ -62984,12 +71691,13 @@ (define-public rust-slog-async-2-8 (base32 "113b17aw7jx7mr68vwfq2yiv6mb4702hz6a0g587jb4ai67h7j3j")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-slog" ,rust-slog-2) - ("rust-take-mut" ,rust-take-mut-0.2) - ("rust-thread-local" ,rust-thread-local-1)))) + `(#:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-slog" ,rust-slog-2) + ("rust-take-mut" ,rust-take-mut-0.2) + ("rust-thread-local" ,rust-thread-local-1)))) (home-page "https://github.com/slog-rs/slog") - (synopsis "Asynchronous drain for slog-rs") + (synopsis "Asynchronous drain for @code{slog-rs}") (description "This package provides an asynchronous drain for slog-rs, the Rust logging library.") @@ -63216,26 +71924,25 @@ (define-public rust-slugify-0.1 (define-public rust-sluice-0.5 (package (name "rust-sluice") - (version "0.5.3") + (version "0.5.5") (source (origin (method url-fetch) (uri (crate-uri "sluice" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w9brs9dqyvr2w7cs5nxkp2wggw2xh76bc4qq0p4yxwfvhgfs94f")))) + (base32 "1d9ywr5039ibgaby8sc72f8fs5lpp8j5y6p3npya4jplxz000x3d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-futures-channel" ,rust-futures-channel-0.3) + (("rust-async-channel" ,rust-async-channel-1) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3)) #:cargo-development-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-criterion" ,rust-criterion-0.3) + (("rust-criterion" ,rust-criterion-0.3) ("rust-futures" ,rust-futures-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-quickcheck-macros" ,rust-quickcheck-macros-0.9)))) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)))) (home-page "https://github.com/sagebind/sluice") (synopsis "Ring buffer for byte buffers, FIFO queues, and SPSC channels") (description @@ -63268,14 +71975,14 @@ (define-public rust-smallbitvec-2 (define-public rust-smallvec-1 (package (name "rust-smallvec") - (version "1.11.1") + (version "1.13.1") (source (origin (method url-fetch) (uri (crate-uri "smallvec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nmx8aw3v4jglqdcjv4hhn10d6g52c4bhjlzwf952885is04lawl")))) + (base32 "1mzk9j117pn3k1gabys0b7nz8cdjsx5xc6q7fwnm8r0an62d7v76")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -63700,14 +72407,14 @@ (define-public rust-snap-0.2 (define-public rust-snapbox-macros-0.3 (package (name "rust-snapbox-macros") - (version "0.3.7") + (version "0.3.8") (source (origin (method url-fetch) (uri (crate-uri "snapbox-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0rxn80n3y6h7cp75zd3g3akpw3whh31fhvv9zy20k55dk82xxk3q")))) + "0h6yy5h83y17bghi1lq9pw3knbqba1rwns20flian5axn0wbii71")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)))) @@ -63739,8 +72446,58 @@ (define-public rust-snapbox-macros-0.2 (base32 "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0")))))) +(define-public rust-snapbox-0.5 + (package + (name "rust-snapbox") + (version "0.5.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "snapbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ajnz1yv53jh667gdj4jpapy3g7sadnkfzyl4f2gcy7nxkhl3i4a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anstyle-svg" ,rust-anstyle-svg-0.1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-content-inspector" ,rust-content-inspector-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-dunce" ,rust-dunce-1) + ("rust-escargot" ,rust-escargot-0.5) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) + ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-similar" ,rust-similar-2) + ("rust-snapbox-macros" ,rust-snapbox-macros-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-wait-timeout" ,rust-wait-timeout-0.2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox") + (synopsis "Snapshot testing toolbox") + (description + "Snapbox is a snapshot-testing toolbox that is ready to use for verifying +output from + +@itemize +@item Function return values +@item CLI stdout/stderr +@item Filesystem changes +@end itemize + +It is also flexible enough to build your own test harness like @code{trycmd}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-snapbox-0.4 (package + (inherit rust-snapbox-0.5) (name "rust-snapbox") (version "0.4.16") (source (origin @@ -63750,7 +72507,6 @@ (define-public rust-snapbox-0.4 (sha256 (base32 "1v732vpzkjyawwvcq2xdf5q4s6bxrqmqih8kgc5gada9vwq5l53k")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) @@ -63772,21 +72528,7 @@ (define-public rust-snapbox-0.4 ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2) ("rust-walkdir" ,rust-walkdir-2) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) - (home-page "https://github.com/assert-rs/trycmd/tree/main/crates/snapbox") - (synopsis "Snapshot testing toolbox") - (description - "Snapbox is a snapshot-testing toolbox that is ready to use for verifying -output from - -@itemize -@item Function return values -@item CLI stdout/stderr -@item Filesystem changes -@end itemize - -It is also flexible enough to build your own test harness like @code{trycmd}.") - (license (list license:expat license:asl2.0)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))))) (define-public rust-snapbox-0.2 (package @@ -63904,6 +72646,33 @@ (define-public rust-socket2-0.3 #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-socketpair-0.19 + (package + (name "rust-socketpair") + (version "0.19.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "socketpair" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xln407qisgd1rrq54ff7b9dbm0mjwvkl17ry6bph4clz2vhvicx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-io-extras" ,rust-io-extras-0.18) + ("rust-io-lifetimes" ,rust-io-lifetimes-2) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-tokio" ,rust-tokio-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)))) + (home-page "https://github.com/sunfishcode/socketpair") + (synopsis "Cross-platform socketpair functionality") + (description + "This package provides cross-platform socketpair functionality.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-socks-0.3 (package (name "rust-socks") @@ -64465,6 +73234,37 @@ (define-public rust-sqlite-0.26 (("rust-libc" ,rust-libc-0.2) ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13)))))) +(define-public rust-sqlite3-parser-0.12 + (package + (name "rust-sqlite3-parser") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx8j16ki2fsrwn1p36wnf079pvcs17549rin29x99vhkcpjbpcs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cc" ,rust-cc-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-phf-shared" ,rust-phf-shared-0.11) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/gwenn/lemon-rs") + (synopsis "SQL parser (as understood by SQLite)") + (description "This package provides an SQL parser (as understood by SQLite).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-sqlite3-src-0.5 (package (name "rust-sqlite3-src") @@ -64598,6 +73398,95 @@ (define-public rust-sqlite3-sys-0.13 (("rust-libc" ,rust-libc-0.2) ("rust-sqlite3-src" ,rust-sqlite3-src-0.3)))))) +(define-public rust-sqlparser-0.43 + (package + (name "rust-sqlparser") + (version "0.43.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlparser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m7mddhgj9j0hpw8lxzxbbzkrrmd4q019xq6sl5x6z5sbap4np7r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bigdecimal" ,rust-bigdecimal-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sqlparser-derive" ,rust-sqlparser-derive-0.2)) + #:cargo-development-inputs (("rust-matches" ,rust-matches-0.1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-simple-logger" ,rust-simple-logger-4)))) + (home-page "https://github.com/sqlparser-rs/sqlparser-rs") + (synopsis "Extensible SQL Lexer and Parser") + (description + "Extensible SQL Lexer and Parser with support for ANSI SQL:2011.") + (license license:asl2.0))) + +(define-public rust-sqlparser-0.39 + (package + (inherit rust-sqlparser-0.43) + (name "rust-sqlparser") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlparser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mrbqjdqr179qnhy43d0dnrl3yipsp4qyji5rc68j4fyrg14sfvl")))) + (arguments + `(#:cargo-inputs (("rust-bigdecimal" ,rust-bigdecimal-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sqlparser-derive" ,rust-sqlparser-derive-0.1)) + #:cargo-development-inputs + (("rust-matches" ,rust-matches-0.1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-simple-logger" ,rust-simple-logger-4)))))) + +(define-public rust-sqlparser-derive-0.2 + (package + (name "rust-sqlparser-derive") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlparser_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m05d4cxcsk1ljgy8zx79dibq62pdfbgp4zmfm9z2r2ma62y3ch1")))) + (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/sqlparser-rs/sqlparser-rs") + (synopsis "Implementation for sqlparser") + (description + "This package contains the implementaion details for sqlparser.") + (license license:asl2.0))) + +(define-public rust-sqlparser-derive-0.1 + (package + (inherit rust-sqlparser-derive-0.2) + (name "rust-sqlparser-derive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlparser_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07knj4cvqd9r7jb7b6fzdifxipabv34bnzbcw1x7yk1n9b5pbzjm")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-st-map-0.1 (package (name "rust-st-map") @@ -64620,6 +73509,26 @@ (define-public rust-st-map-0.1 (description "This package provides a runtime for a stack-alocated map.") (license license:expat))) +(define-public rust-stability-0.1 + (package + (name "rust-stability") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "stability" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kn3vcicmpg8bnyalp15i2j0dbv6c0wc62022bcs58jdi5vv3lgb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/sagebind/stability") + (synopsis "Rust API stability attributes") + (description "Rust API stability attributes for the rest of us.") + (license license:expat))) + (define-public rust-stable-deref-trait-1 (package (name "rust-stable-deref-trait") @@ -64644,6 +73553,27 @@ (define-public rust-stable-deref-trait-1 (license (list license:asl2.0 license:expat)))) +(define-public rust-stable-pattern-0.1 + (package + (name "rust-stable-pattern") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "stable-pattern" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i8hq82vm82mqj02qqcsd7caibrih7x5w3a1xpm8hpv30261cr25")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `as_str` found for struct `std::str::Split` + #:cargo-inputs (("rust-memchr" ,rust-memchr-2)))) + (home-page "https://github.com/SergioBenitez/stable-pattern") + (synopsis "Stable port of std::str::Pattern and friends") + (description + "This package provides a stable port of @code{std::str::Pattern} and friends.") + (license (list license:expat license:asl2.0)))) + (define-public rust-stacker-0.1 (package (name "rust-stacker") @@ -64693,8 +73623,32 @@ (define-public rust-standback-0.2 (description "New standard library, old compiler.") (license (list license:expat license:asl2.0)))) +(define-public rust-state-0.6 + (package + (name "rust-state") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n3n2h324h1y5zhaajh6kplvzfvg1l6hsr8siggmf4yq8m24m31b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-loom" ,rust-loom-0.5)) + #:cargo-development-inputs + (("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/SergioBenitez/state") + (synopsis "Library for safe global and thread-local state management") + (description + "This package provides a library for safe global and thread-local state +management.") + (license (list license:expat license:asl2.0)))) + (define-public rust-state-0.5 (package + (inherit rust-state-0.6) (name "rust-state") (version "0.5.3") (source (origin @@ -64704,18 +73658,11 @@ (define-public rust-state-0.5 (sha256 (base32 "0fzji31ijbkimbzdy4dln9mp5xp7lm1a0dnqxv4n10hywphnds6v")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-loom" ,rust-loom-0.5)) #:cargo-development-inputs - (("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/SergioBenitez/state") - (synopsis "Library for safe global and thread-local state management") - (description - "This package provides a library for safe global and thread-local state -management.") - (license (list license:expat license:asl2.0)))) + (("rust-static-assertions" ,rust-static-assertions-1)))))) (define-public rust-state-0.4 (package @@ -64794,7 +73741,10 @@ (define-public rust-statistical-1 "0wm35q6p6jcq1r1darczv4if7qss460kd391nlw5x3hjpc17kma9")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--" + "--skip=univariate_::test::test_pkurtosis") + #:cargo-inputs (("rust-num" ,rust-num-0.2) ("rust-rand" ,rust-rand-0.6)))) (home-page "https://github.com/JeffBelgum/statistical") @@ -65075,6 +74025,69 @@ (define-public rust-str-buf-1 (description "This package provides a static string buffer.") (license license:boost1.0))) +(define-public rust-str-indices-0.4 + (package + (name "rust-str-indices") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "str_indices" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p6kggjax1mx0niq22dsm5xq2jvg6l4nyrm8a6f0138yaav7qmg9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/cessen/str_indices") + (synopsis "Count and convert between indexing schemes on string slices") + (description + "Count and convert between indexing schemes on string slices.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-str-stack-0.1 + (package + (name "rust-str-stack") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "str_stack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sxl8xd8kiaffsryqpfwcb02lnd3djfin7gf38ag5980908vd4ch")))) + (build-system cargo-build-system) + (home-page "https://github.com/Stebalien/str_stack") + (synopsis "String allocator for allocating many write-once strings") + (description + "This package provides a string allocator for allocating many write-once +strings. This library is primarily useful for parsing where you need to +repeatedly build many strings, use them, and then throw them away. Instead of +allocating many independent strings, this library will put them all in the same +buffer.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-stream-assert-0.1 + (package + (name "rust-stream-assert") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "stream_assert" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15jbd1wzd1pl7mc7wkhrcnj5km4bv51gng664w23y0f9ff56gavz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)))) + (home-page "https://codeberg.org/jplatte/stream_assert") + (synopsis "Macros to simplify testing of `Stream` based APIs") + (description "This package provides macros to simplify testing of +`Stream` based APIs.") + (license license:mpl2.0))) + (define-public rust-streaming-decompression-0.1 (package (name "rust-streaming-decompression") @@ -65102,16 +74115,15 @@ (define-public rust-streaming-decompression-0.1 (define-public rust-streaming-iterator-0.1 (package (name "rust-streaming-iterator") - (version "0.1.5") + (version "0.1.9") (source (origin (method url-fetch) (uri (crate-uri "streaming-iterator" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xc1gyq137b020m29g85zdhbbdrksdmhf3dq4ri4fjlrfz0kacih")))) + (base32 "0845zdv8qb7zwqzglpqc0830i43xh3fb6vqms155wz85qfvk28ib")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/sfackler/streaming-iterator") (synopsis "Streaming iterators") (description "The iterator APIs in the Rust standard library do not allow @@ -65397,6 +74409,61 @@ (define-public rust-strip-ansi-escapes-0.1 #:cargo-inputs (("rust-vte" ,rust-vte-0.10)))))) +(define-public rust-strobe-rs-0.8 + (package + (name "rust-strobe-rs") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strobe-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bdb9fqjpgck3fzmlsdsq5b14zhm1l66f0xp9x6gmk6c3j527fzs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-keccak" ,rust-keccak-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-big-array" ,rust-serde-big-array-0.4) + ("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-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/rozbb/strobe-rs") + (synopsis "Rust implementation of the Strobe protocol framework") + (description + "This package provides an implementation of the Strobe protocol +framework in pure Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-strobe-rs-0.5 + (package + (inherit rust-strobe-rs-0.8) + (name "rust-strobe-rs") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "strobe-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10s7f7kr5zlza5f5r06wp0ylhyvp904hyw1kagz9r27af7hsx6qs")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-subtle" ,rust-subtle-2) + ("rust-tiny-keccak" ,rust-tiny-keccak-2)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + (define-public rust-strong-xml-0.6 (package (name "rust-strong-xml") @@ -65451,19 +74518,17 @@ (define-public rust-strong-xml-derive-0.6 "This package provides a strong typed XML parser, based on xmlparser.") (license license:expat))) -(define-public rust-strsim-0.10 +(define-public rust-strsim-0.11 (package (name "rust-strsim") - (version "0.10.0") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "strsim" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk")))) + (base32 "00gsdp2x1gkkxsbjxgrjyil2hsbdg49bwv8q2y1f406dwk4p7q2y")))) (build-system cargo-build-system) (home-page "https://github.com/dguo/strsim-rs") (synopsis "Rust implementations of string similarity metrics") @@ -65472,6 +74537,19 @@ (define-public rust-strsim-0.10 and Jaro-Winkler.") (license license:expat))) +(define-public rust-strsim-0.10 + (package + (inherit rust-strsim-0.11) + (name "rust-strsim") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "strsim" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk")))))) + (define-public rust-strsim-0.9 (package (inherit rust-strsim-0.10) @@ -65544,8 +74622,79 @@ (define-public rust-strsim-0.5 (base32 "0z3zzvmilfldp4xw42qbkjf901dcnbk58igrzsvivydjzd24ry37")))))) +(define-public rust-struct-patch-0.4 + (package + (name "rust-struct-patch") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "struct-patch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hlmncwmq6005znjjk12f5asx4r4m7cfzaxv88i1gcw97r9fylkw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-struct-patch-derive" ,rust-struct-patch-derive-0.4)) + #:cargo-development-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/yanganto/struct-patch/") + (synopsis "Library for partial updates of structs") + (description + "This package provides a library that helps you implement partial updates +for your structs.") + (license license:expat))) + +(define-public rust-struct-patch-derive-0.4 + (package + (name "rust-struct-patch-derive") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "struct-patch-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nsdjvm1xinqx53s520y4fkqshjdfff3r4rglamrzrgb4yf38jpi")))) + (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/yanganto/struct-patch/") + (synopsis "Library for partial updates of structs") + (description + "This package provides a library that helps you implement partial updates +for your structs.") + (license license:expat))) + +(define-public rust-structmeta-0.2 + (package + (name "rust-structmeta") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "structmeta" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bcj4c2p2j091mn9ld2hbcx77flqjx65ihb9gbb5c12gal4rxbbq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-structmeta-derive" ,rust-structmeta-derive-0.2) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/frozenlib/structmeta") + (synopsis "Parse Rust's attribute arguments by defining a struct.") + (description "This package lets you parse Rust's attribute arguments by +defining a struct.") + (license (list license:expat license:asl2.0)))) + (define-public rust-structmeta-0.1 (package + (inherit rust-structmeta-0.2) (name "rust-structmeta") (version "0.1.6") (source (origin @@ -65555,21 +74704,39 @@ (define-public rust-structmeta-0.1 (sha256 (base32 "0alyl12b7fab8izrpliil73sxs1ivr5vm0pisallmxlb4zb44j0h")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-structmeta-derive" ,rust-structmeta-derive-0.1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-structmeta-derive-0.2 + (package + (name "rust-structmeta-derive") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "structmeta-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "005ybz4ha874w81pg15n00p01m9hir1dpl8p0352s1wpfgzwl2x6")))) + (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-syn" ,rust-syn-2)))) (home-page "https://github.com/frozenlib/structmeta") - (synopsis "Parse Rust's attribute arguments by defining a struct.") - (description "This package lets you parse Rust's attribute arguments by -defining a struct.") + (synopsis "Derive macro for structmeta crate") + (description + "This package provides a derive macro for the structmeta crate.") (license (list license:expat license:asl2.0)))) (define-public rust-structmeta-derive-0.1 (package + (inherit rust-structmeta-derive-0.2) (name "rust-structmeta-derive") (version "0.1.6") (source (origin @@ -65579,17 +74746,11 @@ (define-public rust-structmeta-derive-0.1 (sha256 (base32 "14vxik2m3dm7bwx016qfz062fwznkbq02fyq8vby545m0pj0nhi4")))) - (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/frozenlib/structmeta") - (synopsis "Derive macro for structmeta crate") - (description "This package lets you parse Rust's attribute arguments by -defining a struct.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-structopt-0.3 (package @@ -65713,8 +74874,36 @@ (define-public rust-structopt-derive-0.2 "Parse command line argument by defining a struct, derive crate.") (license (list license:asl2.0 license:expat)))) +(define-public rust-strum-0.26 + (package + (name "rust-strum") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0przl5xmy1gzf4rlp8ff7wla43slsyk1vlg2xdjsk6nzmpl96fvj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=EnumMessage" + "--skip=EnumProperty" + "--skip=EnumIterator") + #:cargo-inputs (("rust-phf" ,rust-phf-0.10) + ("rust-strum-macros" ,rust-strum-macros-0.26)) + #:cargo-development-inputs (("rust-strum-macros" ,rust-strum-macros-0.26)))) + (home-page "https://github.com/Peternator7/strum") + (synopsis "Set of traits for working with enums and strings") + (description + "Strum is a set of macros and traits for working with enums and strings +easier in Rust.") + (license license:expat))) + (define-public rust-strum-0.25 (package + (inherit rust-strum-0.26) (name "rust-strum") (version "0.25.0") (source @@ -65724,20 +74913,11 @@ (define-public rust-strum-0.25 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `strum::EnumIter` - #:cargo-inputs - (("rust-phf" ,rust-phf-0.10) - ("rust-strum-macros" ,rust-strum-macros-0.25)) - #:cargo-development-inputs - (("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 - "Strum is a set of macros and traits for working with enums and strings -easier in Rust.") - (license license:expat))) + #:cargo-inputs (("rust-phf" ,rust-phf-0.10) + ("rust-strum-macros" ,rust-strum-macros-0.25)) + #:cargo-development-inputs (("rust-strum-macros" ,rust-strum-macros-0.25)))))) (define-public rust-strum-0.24 (package @@ -65827,8 +75007,37 @@ (define-public rust-strum-0.18 `(#:cargo-inputs (("rust-strum-macros" ,rust-strum-macros-0.18)))))) +(define-public rust-strum-macros-0.26 + (package + (name "rust-strum-macros") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "066dsk2f1psyyjllr1yc50251jvpjyh585m0fkcl0rypjgy1fd3s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=enum_discriminants" + "--skip=static_variants_array") + #: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.26)))) + (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.25 (package + (inherit rust-strum-macros-0.26) (name "rust-strum-macros") (version "0.25.3") (source @@ -65838,19 +75047,13 @@ (define-public rust-strum-macros-0.25 (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))) + #:cargo-development-inputs (("rust-strum" ,rust-strum-0.25)))))) (define-public rust-strum-macros-0.24 (package @@ -66183,8 +75386,29 @@ (define-public rust-superluminal-perf-sys-0.1 (description "Superluminal Performance C API bindings.") (license (list license:expat license:asl2.0)))) +(define-public rust-supports-color-3 + (package + (name "rust-supports-color") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "supports-color" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kw5miaai8sarcikzdvsf2ys6rkakngyf2g4yifmgz0xc8ab6acq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-is-ci" ,rust-is-ci-1)))) + (home-page "https://github.com/zkat/supports-color") + (synopsis "Detects whether a terminal supports color") + (description + "Detects whether a terminal supports color, and gives details about that support.") + (license license:asl2.0))) + (define-public rust-supports-color-2 (package + (inherit rust-supports-color-3) (name "rust-supports-color") (version "2.0.0") (source (origin @@ -66194,20 +75418,49 @@ (define-public rust-supports-color-2 (sha256 (base32 "0m5kayz225f23k5jyjin82sfkrqhfdq3j72ianafkazz9cbyfl29")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; panicked at 'assertion failed: `(left == right)` #:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4) - ("rust-is-ci" ,rust-is-ci-1)))) - (home-page "https://github.com/zkat/supports-color") - (synopsis "Detects whether a terminal supports color") - (description - "Detects whether a terminal supports color, and gives details about that support.") + ("rust-is-ci" ,rust-is-ci-1)))))) + +(define-public rust-supports-color-1 + (package + (inherit rust-supports-color-3) + (name "rust-supports-color") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "supports-color" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vqdhwc3yf1bv1xbaz5d8p2brmlv1ap4fhwg8pfjzr3yrbrgm9lb")))) + (arguments + `(#:tests? #f ; panicked at 'assertion failed: `(left == right)` + #:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-is-ci" ,rust-is-ci-1)))))) + +(define-public rust-supports-hyperlinks-3 + (package + (name "rust-supports-hyperlinks") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "supports-hyperlinks" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vh4wjflrpa0vadfirzn57glk1wwrdfxkxwgyqzmy7q4d18iw2ic")))) + (build-system cargo-build-system) + (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-supports-hyperlinks-2 (package + (inherit rust-supports-hyperlinks-3) (name "rust-supports-hyperlinks") (version "2.1.0") (source @@ -66217,14 +75470,41 @@ (define-public rust-supports-hyperlinks-2 (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.") + `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4)))))) + +(define-public rust-supports-unicode-3 + (package + (name "rust-supports-unicode") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "supports-unicode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qpc344453x3ai4k9iygxnbk6lr2nw5jflj8ns5q3dbcmwq1lh5p")))) + (build-system cargo-build-system) + (home-page "https://github.com/zkat/supports-unicode") + (synopsis "Detects whether a terminal supports unicode") + (description "Detects whether a terminal supports unicode.") (license license:asl2.0))) +(define-public rust-supports-unicode-2 + (package + (inherit rust-supports-unicode-3) + (name "rust-supports-unicode") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "supports-unicode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yp703pvpzpmaw9mpncvwf0iqis4xmhs569ii1g20jhqvngc2l7q")))) + (arguments + `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4)))))) + (define-public rust-sval-2 (package (name "rust-sval") @@ -66681,6 +75961,105 @@ (define-public rust-swayipc-types-1 sway's IPC interface.") (license license:expat))) +(define-public rust-symbolic-common-12 + (package + (name "rust-symbolic-common") + (version "12.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symbolic-common" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zhda5h4qykrb38x9yb6s846hpq59mzhglkclb9v4fxvqvxzzk0w")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `symbolic_testutils` + #:cargo-inputs (("rust-debugid" ,rust-debugid-0.8) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-similar-asserts" ,rust-similar-asserts-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/getsentry/symbolic") + (synopsis "Common types and utilities for the symbolic library") + (description + "Common types and utilities for symbolic: a library to symbolicate +and process stack traces from native applications, minidumps or minified +@code{JavaScript}.") + (license license:expat))) + +(define-public rust-symbolic-common-9 + (package + (inherit rust-symbolic-common-12) + (name "rust-symbolic-common") + (version "9.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "symbolic-common" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cl2jfm3fd4cqvmc364s1622gg0zp2966z2g9apa428b6fx662c0")))) + (arguments + `(#:tests? #f ; unresolved import `symbolic_testutils` + #:cargo-inputs (("rust-debugid" ,rust-debugid-0.8) + ("rust-memmap2" ,rust-memmap2-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-similar-asserts" ,rust-similar-asserts-1) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-symbolic-demangle-12 + (package + (name "rust-symbolic-demangle") + (version "12.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symbolic-demangle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s0s4af53p9h1xwgz5842wa4qdl7ikq43sy4frzac820v899iabn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) + ("rust-msvc-demangler" ,rust-msvc-demangler-0.9) + ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) + ("rust-symbolic-common" ,rust-symbolic-common-12)) + #:cargo-development-inputs + (("rust-similar-asserts" ,rust-similar-asserts-1)))) + (home-page "https://github.com/getsentry/symbolic") + (synopsis "Library to demangle symbols from various compilers") + (description + "This package provides a library to demangle symbols from various +languages and compilers.") + (license license:expat))) + +(define-public rust-symbolic-demangle-9 + (package + (inherit rust-symbolic-demangle-12) + (name "rust-symbolic-demangle") + (version "9.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "symbolic-demangle" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l0s1lwsrfb8sq1wz4yh8szdncnkdkz4ww9qkqvb6ay7vcghm51b")))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cpp-demangle" ,rust-cpp-demangle-0.3) + ("rust-msvc-demangler" ,rust-msvc-demangler-0.9) + ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) + ("rust-symbolic-common" ,rust-symbolic-common-9)) + #:cargo-development-inputs + (("rust-similar-asserts" ,rust-similar-asserts-1)))))) + (define-public rust-symlink-0.1 (package (name "rust-symlink") @@ -67386,14 +76765,14 @@ (define-public rust-synstructure-test-traits-0.1 (define-public rust-syntect-5 (package (name "rust-syntect") - (version "5.1.0") + (version "5.2.0") (source (origin (method url-fetch) (uri (crate-uri "syntect" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14cg314vzabi45cdbqgcpav0dlx3d18blp24n3z8pl7q7cq4naz0")))) + (base32 "1ca68wxr8qs99ivqc266492sz8qwfngswizr7hrh8mlrcfiwykc7")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;missing files @@ -67406,18 +76785,23 @@ (define-public rust-syntect-5 ("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-regex-syntax" ,rust-regex-syntax-0.8) ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-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-expect-test" ,rust-expect-test-1) ("rust-getopts" ,rust-getopts-0.2) ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-public-api" ,rust-public-api-0.33) ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1)))) + ("rust-regex" ,rust-regex-1) + ("rust-rustdoc-json" ,rust-rustdoc-json-0.8) + ("rust-rustup-toolchain" ,rust-rustup-toolchain-0.1)))) (home-page "https://github.com/trishume/syntect") (synopsis "Library for syntax highlighting and code intelligence") (description @@ -67568,8 +76952,36 @@ (define-public rust-sys-info-0.9 "This Rust crate gathers system information.") (license license:expat))) +(define-public rust-sys-locale-0.3 + (package + (name "rust-sys-locale") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sys-locale" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c29m5z9bbg4ix5vy25jma83xlakvmkhs9rxy1qwsv6dkqiwy0g8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/1Password/sys-locale") + (synopsis "Lightweight library to obtain the active system locale") + (description + "Sys-locale is small library for obtaining the current locale set for the +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-sys-locale-0.1 (package + (inherit rust-sys-locale-0.3) (name "rust-sys-locale") (version "0.1.0") (source @@ -67579,22 +76991,13 @@ (define-public rust-sys-locale-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pv3hl604vnbk7fi5s47zmb555znjj7ddhmgbzvd8c7sb6xrxy4i")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-cstr-core" ,rust-cstr-core-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/1Password/sys-locale") - (synopsis "Lightweight library to obtain the active system locale") - (description - "Sys-locale is small library for obtaining the current locale set for the -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)))) + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-cstr-core" ,rust-cstr-core-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-syscallz-0.17 (package @@ -67716,8 +77119,47 @@ (define-public rust-sysctl-0.1 ("rust-errno" ,rust-errno-0.2) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-sysinfo-0.30 + (package + (name "rust-sysinfo") + (version "0.30.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "064d267hiqnj2jd9rmkki3fra9yjza6gr6i02qm8a2iqxy45hf0c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; These files aren't available in the build environment. + "--skip=test::check_system_info" + "--skip=test::check_uid_gid" + "--skip=test_networks" + "--skip=test_wait_non_child" + "--skip=test_process_disk_usage") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-windows" ,rust-windows-0.52)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/GuillaumeGomez/sysinfo") + (synopsis "System handler to interact with processes") + (description + "This package is a library to get system information such as processes, +processors, disks, components and networks.") + (license license:expat))) + (define-public rust-sysinfo-0.28 (package + (inherit rust-sysinfo-0.30) (name "rust-sysinfo") (version "0.28.4") (source @@ -67727,11 +77169,12 @@ (define-public rust-sysinfo-0.28 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06zk8awy8gjrk3w68wpkqyprm3j82vq1cibji6db5zlkcv5g7hml")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" - ;; These files aren't available in the build environment. + ;; These tests rely on networking, on UIDs and GIDs not + ;; in the build environment, or on unavailable files. + "--skip=test::check_all_process_uids_resolvable" "--skip=test::check_system_info" "--skip=test::check_uid_gid" "--skip=test_networks" @@ -67748,13 +77191,7 @@ (define-public rust-sysinfo-0.28 ("rust-winapi" ,rust-winapi-0.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 - "This package is a library to get system information such as processes, -processors, disks, components and networks.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-sysinfo-0.27 (package @@ -67788,35 +77225,6 @@ (define-public rust-sysinfo-0.27 #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-sysinfo-0.23 - (package - (name "rust-sysinfo") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sysinfo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14d5fgg24x4rfd6226dl1grsv5lnid0kynp6kfzb3lmylh070xcy")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #: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.3) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/GuillaumeGomez/sysinfo") - (synopsis "System handler to interact with processes") - (description - "This package is a library to get system information such as processes, -processors, disks, components and networks.") - (license license:expat))) - (define-public rust-syslog-6 (package (name "rust-syslog") @@ -67979,6 +77387,56 @@ (define-public rust-system-deps-1 #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.9)))))) +(define-public rust-tabled-0.14 + (package + (name "rust-tabled") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tabled" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08jx39f86941n5mklw387j5myriqxng3zmhy2fjsn0d15miw7sfz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testing_table` + #:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-ansitok" ,rust-ansitok-0.2) + ("rust-papergrid" ,rust-papergrid-0.10) + ("rust-tabled-derive" ,rust-tabled-derive-0.6) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + (home-page "https://github.com/zhiburt/tabled") + (synopsis "Library for pretty print tables of Rust `struct`s and `enum`s") + (description "This package provides a library for pretty print tables of +Rust @code{struct}s and @code{enum}s.") + (license license:expat))) + +(define-public rust-tabled-derive-0.6 + (package + (name "rust-tabled-derive") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tabled_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r1z7qj37h1x4nyqbxq9jvbd713qvgpjlf1w18pz1x2lifh8ixlr")))) + (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-1)))) + (home-page "https://github.com/zhiburt/tabled") + (synopsis "Derive macros which is used by tabled crate") + (description + "This package provides derive macros which is used by tabled crate.") + (license license:expat))) + (define-public rust-tabwriter-1 (package (name "rust-tabwriter") @@ -68108,6 +77566,27 @@ (define-public rust-tar-0.4 (license (list license:asl2.0 license:expat)))) +(define-public rust-tardar-0.1 + (package + (name "rust-tardar") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tardar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05imkznxr59dqp0s37i7qkrpyjx2zz9lmxy8ijcvka5nhcpr834h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-miette" ,rust-miette-5) + ("rust-vec1" ,rust-vec1-1)))) + (home-page "https://github.com/olson-sean-k/tardar") + (synopsis "Extensions for diagnostic error handling with `miette`") + (description "This package provides extensione for diagnostic error handling +with `miette`.") + (license license:expat))) + (define-public rust-target-2 (package (name "rust-target") @@ -68129,6 +77608,23 @@ (define-public rust-target-2 (description "Get information on compilation target.") (license license:cc0))) +(define-public rust-target-features-0.1 + (package + (name "rust-target-features") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "target-features" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gb974chm9aj8ifkyibylxkyb5an4bf5y8dxb18pqmck698gmdfg")))) + (build-system cargo-build-system) + (home-page "https://github.com/calebzulawski/target-features") + (synopsis "Rust compiler target feature database") + (description "This package contains a Rust compiler target feature database.") + (license (list license:expat license:asl2.0)))) + (define-public rust-target-lexicon-0.12 (package (name "rust-target-lexicon") @@ -68165,17 +77661,17 @@ (define-public rust-target-lexicon-0.11 (base32 "15gax4765vm2inh45m7cvaf4mgd2mb2mn0i87np0i1d95qhla822")))) (arguments '()))) -(define-public rust-tectonic-bridge-core-0.3 +(define-public rust-tectonic-bridge-core-0.4 (package (name "rust-tectonic-bridge-core") - (version "0.3.2") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "tectonic_bridge_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zqhyn00wx6qxs4a0m9iy1qmd1451vx2i3b31ng256x7rm0k6dx4")))) + (base32 "1j730zbzi19z45pp995483g1dcax50j4n67aymyhvyscypibv87c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68185,7 +77681,7 @@ (define-public rust-tectonic-bridge-core-0.3 ("rust-libc" ,rust-libc-0.2) ("rust-md-5" ,rust-md-5-0.10) ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.4) + ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.3) ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2)))) (inputs (list zlib)) (native-inputs (list pkg-config)) @@ -68197,6 +77693,29 @@ (define-public rust-tectonic-bridge-core-0.3 the various C/C++ ``engines`` implementing the TeX software.") (license license:expat))) +(define-public rust-tectonic-bridge-core-0.3 + (package + (inherit rust-tectonic-bridge-core-0.4) + (name "rust-tectonic-bridge-core") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tectonic_bridge_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zqhyn00wx6qxs4a0m9iy1qmd1451vx2i3b31ng256x7rm0k6dx4")))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) + ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.4) + ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2)))))) + (define-public rust-tectonic-bridge-flate-0.1 (package (name "rust-tectonic-bridge-flate") @@ -68278,14 +77797,14 @@ (define-public rust-tectonic-bridge-graphite2-0.2 (define-public rust-tectonic-bridge-harfbuzz-0.2 (package (name "rust-tectonic-bridge-harfbuzz") - (version "0.2.8") + (version "0.2.9") (source (origin (method url-fetch) (uri (crate-uri "tectonic_bridge_harfbuzz" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18mn8yjrnh2dv7r40ipzj8qzqda09cn3c7dsl7134wv1whn42hvb")) + (base32 "17mj3qks5nv0cc65h7h27j1kz3l5lib0krcai1mwdng72igmrypp")) (snippet #~(begin (use-modules (guix build utils)) (delete-file-recursively "harfbuzz") @@ -68298,8 +77817,7 @@ (define-public rust-tectonic-bridge-harfbuzz-0.2 `(#:cargo-inputs (("rust-cc" ,rust-cc-1) ("rust-tectonic-bridge-graphite2" ,rust-tectonic-bridge-graphite2-0.2) - ("rust-tectonic-bridge-icu" ,rust-tectonic-bridge-icu-0.2) - ("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) + ("rust-tectonic-bridge-icu" ,rust-tectonic-bridge-icu-0.2)))) (inputs (list freetype graphite2 harfbuzz icu4c)) (native-inputs (list pkg-config)) (home-page "https://tectonic-typesetting.github.io/") @@ -68313,14 +77831,14 @@ (define-public rust-tectonic-bridge-harfbuzz-0.2 (define-public rust-tectonic-bridge-icu-0.2 (package (name "rust-tectonic-bridge-icu") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "tectonic_bridge_icu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kbqi4gn26ymjxlg912p1f2v9rb8a39fr3mvpg2j2hm503vh4dj5")))) + (base32 "0zhvqbysn58ja5f4ki7ip6asdqbii45f5l79g90g50q293pfc12d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68419,14 +77937,14 @@ (define-public rust-tectonic-dep-support-0.1 (define-public rust-tectonic-docmodel-0.2 (package (name "rust-tectonic-docmodel") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "tectonic_docmodel" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "176wl4f1na18s0bjmxf9chw3854jbpkh64nzsm32d2bvgja9acih")))) + (base32 "1dn539wm8lcb34zqwybcwdnhj4yd44adk2wky0frx7s2lr5hfaas")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68467,8 +77985,43 @@ (define-public rust-tectonic-engine-bibtex-0.1 @code{bibtex} program as a reusable crate.") (license license:expat))) +(define-public rust-tectonic-engine-spx2html-0.3 + (package + (name "rust-tectonic-engine-spx2html") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tectonic_engine_spx2html" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1skbxcng0spml3lhb9mmh7sr4nvfvwq715hggxr6pjs3id5p4s5q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-html-escape" ,rust-html-escape-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pinot" ,rust-pinot-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) + ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) + ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.4) + ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2) + ("rust-tectonic-xdv" ,rust-tectonic-xdv-0.2) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tera" ,rust-tera-1)))) + (inputs (list zlib)) + (native-inputs (list pkg-config)) + (home-page "https://tectonic-typesetting.github.io/") + (synopsis "Tectonic engine that converts SPX output to HTML") + (description "This crate implements the Tectonic engine that converts SPX +output to HTML.") + (license license:expat))) + (define-public rust-tectonic-engine-spx2html-0.1 (package + (inherit rust-tectonic-engine-spx2html-0.3) (name "rust-tectonic-engine-spx2html") (version "0.1.1") (source @@ -68478,7 +78031,6 @@ (define-public rust-tectonic-engine-spx2html-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "15nxgx20x3ii9ksdj2w9jis1qm1rd451kw3jh87ydvwqnzg88f3m")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) @@ -68490,26 +78042,19 @@ (define-public rust-tectonic-engine-spx2html-0.1 ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2) ("rust-tectonic-xdv" ,rust-tectonic-xdv-0.2) ("rust-tempfile" ,rust-tempfile-3) - ("rust-tera" ,rust-tera-1)))) - (inputs (list zlib)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Tectonic engine that converts SPX output to HTML") - (description "This crate implements the Tectonic engine that converts SPX -output to HTML.") - (license license:expat))) + ("rust-tera" ,rust-tera-1)))))) (define-public rust-tectonic-engine-xetex-0.4 (package (name "rust-tectonic-engine-xetex") - (version "0.4.3") + (version "0.4.4") (source (origin (method url-fetch) (uri (crate-uri "tectonic_engine_xetex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hkby5n9hsyzxkgmwzp2xdm0n53f7rp0vs198ns8zgxy5rvl8xv8")))) + (base32 "11if3zyzp8149gf1j4fhwk8kbbs2agxkk5la1lhmq4icrj6szwrf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68622,14 +78167,14 @@ (define-public rust-tectonic-geturl-0.3 (define-public rust-tectonic-io-base-0.4 (package (name "rust-tectonic-io-base") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "tectonic_io_base" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zb04vlg5i082wlv7cfjrkg7yrzd8mhkc7chw15dh26x2z96is18")))) + (base32 "13vqkvxn2r6y827ghj84ndmx991m26sdd4zxpgb7fll00bqwcr6v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68751,14 +78296,14 @@ (define-public rust-tectonic-xdv-0.2 (define-public rust-tectonic-xetex-layout-0.2 (package (name "rust-tectonic-xetex-layout") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "tectonic_xetex_layout" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0n7wlmxzcn78gvidrqmc9vbrim1zlwsfj4d7qhpj5fspxpsi24b2")))) + (base32 "0sbh8wnyrkfvzjlzyk3p9zbzp277p1qhmz0davz2sgnzzgp8ffsn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -68809,6 +78354,21 @@ (define-public rust-temp-env-0.3 "This Rust library lets you set environment variables temporarily.") (license (list license:expat license:asl2.0)))) +(define-public rust-temp-env-0.2 + (package + (inherit rust-temp-env-0.3) + (name "rust-temp-env") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "temp-env" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mxbfwcrbzgplf5ixs4n2xsl3pqazna25h2kfjwc9y6xq8v72425")))) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) + (define-public rust-temp-testdir-0.2 (package (name "rust-temp-testdir") @@ -68856,20 +78416,19 @@ (define-public rust-tempdir-0.3 (define-public rust-tempfile-3 (package (name "rust-tempfile") - (version "3.9.0") + (version "3.10.1") (source (origin (method url-fetch) (uri (crate-uri "tempfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ypkl7rvv57n16q28psxpb61rnyhmfaif12ascdnsyljm90l3kh1")))) + (base32 "1wdzz35ri168jn9al4s1g2rnsrr5ci91khgarc2rvpb3nappzdw5")))) (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.4) ("rust-rustix" ,rust-rustix-0.38) ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs @@ -69172,6 +78731,29 @@ (define-public rust-term-size-0.3 (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-termbg-0.5 + (package + (name "rust-termbg") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termbg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pidjkz38z13iz8xchrz1nidxny5zjmxvbl1fs4arilvpzhfc4ic")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/dalance/termbg") + (synopsis "Terminal background color detection") + (description "This package provides terminal background color detection.") + (license (list license:expat license:asl2.0)))) + (define-public rust-termbox-sys-0.2 (package (name "rust-termbox-sys") @@ -69231,8 +78813,36 @@ (define-public rust-termcolor-0.3 #:cargo-inputs (("rust-wincolor" ,rust-wincolor-0.1)))))) +(define-public rust-termimad-0.25 + (package + (name "rust-termimad") + (version "0.25.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "termimad" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l27mr4pzg44sh150wapc22hq1yzv7fxlm7gj95phz4j5pz91l61")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency graph + #:cargo-inputs (("rust-coolor" ,rust-coolor-0.8) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-crossterm" ,rust-crossterm-0.23) + ("rust-lazy-regex" ,rust-lazy-regex-3) + ("rust-minimad" ,rust-minimad-0.13) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/Canop/termimad") + (synopsis "Markdown Renderer for the Terminal") + (description "Markdown Renderer for the Terminal.") + (license license:expat))) + (define-public rust-termimad-0.20 (package + (inherit rust-termimad-0.25) (name "rust-termimad") (version "0.20.6") (source (origin @@ -69247,7 +78857,6 @@ (define-public rust-termimad-0.20 '(begin (substitute* "Cargo.toml" (("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version) (string-append "^" version))))))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Cut the dependency graph #:cargo-inputs @@ -69256,11 +78865,7 @@ (define-public rust-termimad-0.20 ("rust-crossterm" ,rust-crossterm-0.23) ("rust-minimad" ,rust-minimad-0.9) ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/Canop/termimad") - (synopsis "Markdown Renderer for the Terminal") - (description "Markdown Renderer for the Terminal.") - (license license:expat))) + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-terminal-size-0.3 (package @@ -69320,8 +78925,36 @@ (define-public rust-terminal-size-0.1 `(("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-terminfo-0.8 + (package + (name "rust-terminfo") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "terminfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13s9920jzmnr0jidik8yn6gvkic9n39sl28440mx4x8pd2kd6v36")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=Database" + "--skip=expand::expand" + "--skip=src/lib.rs") + #:cargo-inputs (("rust-dirs" ,rust-dirs-4) + ("rust-fnv" ,rust-fnv-1) + ("rust-nom" ,rust-nom-7) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11)))) + (home-page "https://github.com/meh/rust-terminfo") + (synopsis "Terminal information") + (description "Terminal capabilities with type-safe getters.") + (license license:wtfpl2))) + (define-public rust-terminfo-0.7 (package + (inherit rust-terminfo-0.8) (name "rust-terminfo") (version "0.7.3") (source @@ -69331,22 +78964,42 @@ (define-public rust-terminfo-0.7 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zkln56bsixjad6rsfy9mm15d9ygm89i63cn3gn685hjwrvik5vn")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs - (("rust-dirs" ,rust-dirs-2) - ("rust-fnv" ,rust-fnv-1) - ("rust-nom" ,rust-nom-5) - ("rust-phf" ,rust-phf-0.8) - ("rust-phf-codegen" ,rust-phf-codegen-0.8)))) - (home-page "https://github.com/meh/rust-terminfo") - (synopsis "Terminal information") - (description "Terminal capabilities with type-safe getters.") - (license license:wtfpl2))) + #:cargo-inputs (("rust-dirs" ,rust-dirs-2) + ("rust-fnv" ,rust-fnv-1) + ("rust-nom" ,rust-nom-5) + ("rust-phf" ,rust-phf-0.8) + ("rust-phf-codegen" ,rust-phf-codegen-0.8)))))) + +(define-public rust-termion-3 + (package + (name "rust-termion") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19f7q542ih13j13jp5lr750z5yav7v035pmz46zznkahb9ki6y21")))) + (build-system cargo-build-system) + (arguments + `(#: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-termios" ,rust-redox-termios-0.1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://gitlab.redox-os.org/redox-os/termion") + (synopsis "Library for manipulating terminals") + (description + "This package provides a bindless library for manipulating terminals.") + (license license:expat))) (define-public rust-termion-2 (package + (inherit rust-termion-3) (name "rust-termion") (version "2.0.3") (source (origin @@ -69356,7 +79009,6 @@ (define-public rust-termion-2 (sha256 (base32 "0zcxsj2mms9hv8gizg2x3358ibjynzwvj5w6asr4683gxxyqqr64")))) - (build-system cargo-build-system) (arguments (list #:tests? #f ;tests require a terminal #:cargo-inputs @@ -69364,12 +79016,7 @@ (define-public rust-termion-2 ("rust-libredox" ,rust-libredox-0.0.2) ("rust-numtoa" ,rust-numtoa-0.1) ("rust-redox-termios" ,rust-redox-termios-0.1) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://gitlab.redox-os.org/redox-os/termion") - (synopsis "Library for manipulating terminals") - (description - "This package provides a bindless library for manipulating terminals.") - (license license:expat))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-termion-1 (package @@ -69395,7 +79042,7 @@ (define-public rust-termion-1 (define-public rust-termios-0.3 (package (name "rust-termios") - (version "0.3.1") + (version "0.3.3") (source (origin (method url-fetch) @@ -69403,7 +79050,7 @@ (define-public rust-termios-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09any1p4jp4bphvb5ikagnvwjc3xn2djchy96nkpa782xb2j1dkj")))) + "0sxcs0g00538jqh5xbdqakkzijadr8nj7zmip0c7jz3k83vmn721")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69434,6 +79081,125 @@ (define-public rust-termtree-0.4 (description "Visualize tree-like data on the command-line.") (license license:expat))) +(define-public rust-termwiz-0.22 + (package + (name "rust-termwiz") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termwiz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1laiwns3l16ilnpxysrm0i6afymrncsj0h1ix8348pfs44z32xas")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-colored" ,rust-colored-2) + ("rust-fancy-regex" ,rust-fancy-regex-0.11) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-finl-unicode" ,rust-finl-unicode-1) + ("rust-fixedbitset" ,rust-fixedbitset-0.4) + ("rust-fnv" ,rust-fnv-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-image" ,rust-image-0.24) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memmem" ,rust-memmem-0.1) + ("rust-nix" ,rust-nix-0.26) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-ordered-float" ,rust-ordered-float-4) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-phf" ,rust-phf-0.11) + ("rust-semver" ,rust-semver-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-siphasher" ,rust-siphasher-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-terminfo" ,rust-terminfo-0.8) + ("rust-termios" ,rust-termios-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-ucd-trie" ,rust-ucd-trie-0.1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-vtparse" ,rust-vtparse-0.6) + ("rust-wezterm-bidi" ,rust-wezterm-bidi-0.2) + ("rust-wezterm-blob-leases" ,rust-wezterm-blob-leases-0.1) + ("rust-wezterm-color-types" ,rust-wezterm-color-types-0.3) + ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.2) + ("rust-wezterm-input-types" ,rust-wezterm-input-types-0.1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-k9" ,rust-k9-0.11) + ("rust-varbincode" ,rust-varbincode-0.1)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Terminal wizardry") + (description "Terminal Wizardry for Unix and Windows.") + (license license:expat))) + +(define-public rust-termwiz-0.20 + (package + (inherit rust-termwiz-0.22) + (name "rust-termwiz") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termwiz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yj80sli95wcw0im2iic9h7mx20hms3f9shxk7jarjqgl5waj2cm")))) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-colored" ,rust-colored-2) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-finl-unicode" ,rust-finl-unicode-1) + ("rust-fixedbitset" ,rust-fixedbitset-0.4) + ("rust-fnv" ,rust-fnv-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-image" ,rust-image-0.24) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memmem" ,rust-memmem-0.1) + ("rust-nix" ,rust-nix-0.24) + ("rust-num-derive" ,rust-num-derive-0.3) + ("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-phf" ,rust-phf-0.10) + ("rust-regex" ,rust-regex-1) + ("rust-semver" ,rust-semver-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-signal-hook" ,rust-signal-hook-0.1) + ("rust-siphasher" ,rust-siphasher-0.3) + ("rust-terminfo" ,rust-terminfo-0.7) + ("rust-termios" ,rust-termios-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-ucd-trie" ,rust-ucd-trie-0.1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-vtparse" ,rust-vtparse-0.6) + ("rust-wezterm-bidi" ,rust-wezterm-bidi-0.2) + ("rust-wezterm-color-types" ,rust-wezterm-color-types-0.2) + ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-k9" ,rust-k9-0.11) + ("rust-varbincode" ,rust-varbincode-0.1)))))) + (define-public rust-test-assembler-0.1 (package (name "rust-test-assembler") @@ -69855,6 +79621,23 @@ (define-public rust-testing-logger-0.1 (description "Supports writing tests to verify `log` crate calls.") (license license:bsd-3))) +(define-public rust-text-block-macros-0.1 + (package + (name "rust-text-block-macros") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "text-block-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ja0p1vz33sakzyxb1n9j6nb9n59g40hzs0xmzg1f5qwvas5k2vz")))) + (build-system cargo-build-system) + (home-page "https://github.com/KSXGitHub/text-block-macros.git") + (synopsis "Create a multiline string literal") + (description "Create a multiline string literal.") + (license license:expat))) + (define-public rust-text-size-1 (package (name "rust-text-size") @@ -69883,6 +79666,28 @@ (define-public rust-text-size-1 (description "This package provides a newtypes for text offsets") (license (list license:expat license:asl2.0)))) +(define-public rust-textnonce-1 + (package + (name "rust-textnonce") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "textnonce" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10v653sz0305dlzdqh6wh795hxypk24s21iiqcfyv16p1kbzhhvp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.12) + ("rust-rand" ,rust-rand-0.7) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))) + (home-page "https://github.com/mikedilger/textnonce") + (synopsis "Text based random nonce generator") + (description "Text based random nonce generator.") + (license (list license:expat license:asl2.0)))) + (define-public rust-textwrap-0.16 (package (name "rust-textwrap") @@ -70001,6 +79806,29 @@ (define-public rust-thin-slice-0.1 "An owned slice that packs the slice storage into a single word when possible.") (license license:mpl2.0))) +(define-public rust-thin-vec-0.2 + (package + (name "rust-thin-vec") + (version "0.2.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "thin-vec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jsyprh9gjyp2ivnpbfpqmwdcqxfyjj1s9srmfikdhjjh7a91353")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=std_tests::test_set_len_invalid") + #:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/gankra/thin-vec") + (synopsis "Vec that takes up less space on the stack") + (description + "This package provides a vec that takes up less space on the stack.") + (license (list license:expat license:asl2.0)))) + (define-public rust-thiserror-1 (package (name "rust-thiserror") @@ -70094,22 +79922,40 @@ (define-public rust-thiserror-impl-1 @code{thiserror} crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-thousands-0.2 + (package + (name "rust-thousands") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "thousands" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0848gnkn7ah51lrx15z9zmn701ipn6gc4xbk4kfdlfahkypkpxiv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t)) + (home-page "https://github.com/tov/thousands-rs") + (synopsis "Adds digit separators to numerals, configurably.") + (description "This package provides thousand separators for numerals.") + (license (list license:expat license:asl2.0)))) + (define-public rust-thread-id-4 (package (name "rust-thread-id") - (version "4.0.0") + (version "4.2.1") (source (origin (method url-fetch) (uri (crate-uri "thread-id" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zvikdngp0950hi0jgiipr8l36rskk1wk7pc8cd43xr3g5if1psz")))) + (base32 "02xph1955cpsriazs73hnwgjs1fzi8a2zgjplbm0vdcydv283v7h")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-redox-syscall" ,rust-redox-syscall-0.2) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/ruuda/thread-id") (synopsis "Get a unique ID for the current thread in Rust") @@ -70290,8 +80136,34 @@ (define-public rust-threadpool-1 (license (list license:asl2.0 license:expat)))) +(define-public rust-thrift-0.17 + (package + (name "rust-thrift") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrift" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02cydaqqlp25ri19y3ixi77a7nd85fwvbfn4fp0qpakzzj2vqm3y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-integer-encoding" ,rust-integer-encoding-3) + ("rust-log" ,rust-log-0.4) + ("rust-ordered-float" ,rust-ordered-float-2) + ("rust-threadpool" ,rust-threadpool-1)))) + (home-page "https://thrift.apache.org") + (synopsis "Rust bindings for the Apache Thrift RPC system") + (description + "This package provides Rust bindings for the Apache Thrift RPC +system.") + (license license:asl2.0))) + (define-public rust-thrift-0.13 (package + (inherit rust-thrift-0.17) (name "rust-thrift") (version "0.13.0") (source @@ -70301,7 +80173,6 @@ (define-public rust-thrift-0.13 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0nvbrflb5fw6hmayqppkp97dh63vs2znww92dlkcfz4laia9cv8c")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -70309,12 +80180,7 @@ (define-public rust-thrift-0.13 ("rust-integer-encoding" ,rust-integer-encoding-1) ("rust-log" ,rust-log-0.4) ("rust-ordered-float" ,rust-ordered-float-1) - ("rust-threadpool" ,rust-threadpool-1)))) - (home-page "https://thrift.apache.org") - (synopsis "Rust bindings for the Apache Thrift RPC system") - (description - "This crate provides Rust bindings for the Apache Thrift RPC system.") - (license license:asl2.0))) + ("rust-threadpool" ,rust-threadpool-1)))))) (define-public rust-tikv-jemalloc-sys-0.4 (package @@ -70409,14 +80275,14 @@ (define-public rust-tikv-jemalloc-ctl-0.4 (define-public rust-time-0.3 (package (name "rust-time") - (version "0.3.31") + (version "0.3.34") (source (origin (method url-fetch) (uri (crate-uri "time" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gjqcdsdbh0r5vi4c2vrj5a6prdviapx731wwn07cvpqqd1blmzn")))) + (base32 "0jc7wgprzqjhzd0nqkbmdlnjwyddnswmjw86ni2vq55v45jqn968")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included @@ -70425,7 +80291,9 @@ (define-public rust-time-0.3 ("rust-itoa" ,rust-itoa-1) ("rust-js-sys" ,rust-js-sys-0.3) ("rust-libc" ,rust-libc-0.2) + ("rust-num-conv" ,rust-num-conv-0.1) ("rust-num-threads" ,rust-num-threads-0.1) + ("rust-powerfmt" ,rust-powerfmt-0.2) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) ("rust-serde" ,rust-serde-1) @@ -70433,6 +80301,7 @@ (define-public rust-time-0.3 ("rust-time-macros" ,rust-time-macros-0.2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-num-conv" ,rust-num-conv-0.1) ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) ("rust-rand" ,rust-rand-0.8) ("rust-rstest" ,rust-rstest-0.18) @@ -70565,17 +80434,18 @@ (define-public rust-time-core-0.1 (define-public rust-time-macros-0.2 (package (name "rust-time-macros") - (version "0.2.16") + (version "0.2.17") (source (origin (method url-fetch) (uri (crate-uri "time-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gx4ngf5g7ydqa8lf7kh9sy72rd4dhvpi31y1jvswi0288rpw696")))) + (base32 "0x3pahhk2751c6kqqq9dk6lz0gydbnxr44q01wpjlrz687ps78vv")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-time-core" ,rust-time-core-0.1)))) + `(#:cargo-inputs (("rust-num-conv" ,rust-num-conv-0.1) + ("rust-time-core" ,rust-time-core-0.1)))) (home-page "https://github.com/time-rs/time") (synopsis "Procedural macros for the time crate") (description "This package provides procedural macros for the time @@ -70889,29 +80759,23 @@ (define-public rust-tinyfiledialogs-3 (define-public rust-tinytemplate-1 (package (name "rust-tinytemplate") - (version "1.1.0") + (version "1.2.1") (source (origin (method url-fetch) (uri (crate-uri "tinytemplate" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0by1k1hdz6jgv4ykd0izirwsm6p3qb6s9g1jb4ffqg500ihcfgbd")))) + (base32 "1g5n77cqkdh9hy75zdb01adxn45mkh9y40wdr7l68xpz35gnnkdy")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-serde-derive" ,rust-serde-derive-1)))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-serde-derive" ,rust-serde-derive-1)))) (home-page "https://github.com/bheisler/TinyTemplate") (synopsis "Simple, lightweight template engine") - (description - "Simple, lightweight template engine.") + (description "Simple, lightweight template engine.") (license (list license:asl2.0 license:expat)))) (define-public rust-tinyvec-1 @@ -70943,24 +80807,48 @@ (define-public rust-tinyvec-1 (define-public rust-tinyvec-macros-0.1 (package (name "rust-tinyvec-macros") - (version "0.1.0") + (version "0.1.1") (source (origin (method url-fetch) (uri (crate-uri "tinyvec_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p5zvgbas5nh403fbxica819mf3g83n8g2hzpfazfr56w6klv9yd")))) + (base32 "081gag86208sc3y6sdkshgw3vysm5d34p431dzw0bshz66ncng0z")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/Soveu/tinyvec_macros") (synopsis "Some macros for tiny containers") (description "This package provides a few useful macros for tiny containers.") (license (list license:expat license:asl2.0 license:zlib)))) +(define-public rust-titlecase-2 + (package + (name "rust-titlecase") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "titlecase" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hi0hkh2x78rvq7rhdgdzsgwcnlpvvb59hgnifsgwz01vf67lf9q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-joinery" ,rust-joinery-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/wezm/titlecase") + (synopsis "Tool and Rust crate for transforming text into title case") + (description + "This package provides a tool and library that capitalizes text according +to a style defined by John Gruber for post titles on his website ``Daring +Fireball''.") + (license license:expat))) + (define-public rust-titlecase-1 (package + (inherit rust-titlecase-2) (name "rust-titlecase") (version "1.1.0") (source @@ -70970,19 +80858,10 @@ (define-public rust-titlecase-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05qizspxihjhmzsd9y6kfxzrss4jl4y042wni4m2yk62rw8f8rgm")))) - (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/wezm/titlecase") - (synopsis "Tool and Rust crate for transforming text into title case") - (description - "This package provides a tool and library that capitalizes text according -to a style defined by John Gruber for post titles on his website ``Daring -Fireball''.") - (license license:expat))) + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))))) (define-public rust-to-shmem-0.0.0 (package @@ -71066,14 +80945,14 @@ (define-public rust-tobj-2 (define-public rust-tokio-1 (package (name "rust-tokio") - (version "1.35.1") + (version "1.36.0") (source (origin (method url-fetch) (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01613rkziqp812a288ga65aqygs254wgajdi57v8brivjkx4x6y8")))) + (base32 "0c89p36zbd4abr1z3l5mipp43x7z4c9b4vp4s6r8y0gs2mjmya31")))) (build-system cargo-build-system) (arguments (list #:tests? #f ; unresolved imports `crate::runtime::task` @@ -71095,7 +80974,7 @@ (define-public rust-tokio-1 ("rust-futures" ,rust-futures-0.3) ("rust-libc" ,rust-libc-0.2) ("rust-loom" ,rust-loom-0.7) - ("rust-mio-aio" ,rust-mio-aio-0.7) + ("rust-mio-aio" ,rust-mio-aio-0.8) ("rust-mockall" ,rust-mockall-0.11) ("rust-nix" ,rust-nix-0.27) ("rust-rand" ,rust-rand-0.8) @@ -71634,6 +81513,36 @@ (define-public rust-tokio-macros-0.2 #:cargo-development-inputs (("rust-tokio" ,rust-tokio-0.2)))))) +(define-public rust-tokio-metrics-0.3 + (package + (name "rust-tokio-metrics") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-metrics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04p1kf7sgcrs2n62331fm5yvv8scqv2x81qixdz8pjb23lj0kkpa")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `tokio_metrics::RuntimeMonitor` + #:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1)) + #:cargo-development-inputs (("rust-axum" ,rust-axum-0.6) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://tokio.rs") + (synopsis "Runtime and task level metrics for Tokio applications") + (description "Runtime and task level metrics for Tokio applications.") + (license license:expat))) + (define-public rust-tokio-mock-task-0.1 (package (name "rust-tokio-mock-task") @@ -72569,8 +82478,45 @@ (define-public rust-tokio-tls-0.2 ("rust-security-framework" ,rust-security-framework-0.2) ("rust-tokio" ,rust-tokio-0.1)))))) +(define-public rust-tokio-tungstenite-0.21 + (package + (name "rust-tokio-tungstenite") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f5wj0crsx74rlll97lhw0wk6y12nhdnqvmnjx002hjn08fmcfy8")))) + (build-system cargo-build-system) + (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.22) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.25) + ("rust-tungstenite" ,rust-tungstenite-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)) + #: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.20 (package + (inherit rust-tokio-tungstenite-0.21) (name "rust-tokio-tungstenite") (version "0.20.1") (source @@ -72580,7 +82526,6 @@ (define-public rust-tokio-tungstenite-0.20 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0v1v24l27hxi5hlchs7hfd5rgzi167x0ygbw220nvq0w5b5msb91")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) ("rust-log" ,rust-log-0.4) @@ -72596,13 +82541,7 @@ (define-public rust-tokio-tungstenite-0.20 ("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))) + ("rust-url" ,rust-url-2)))))) (define-public rust-tokio-tungstenite-0.19 (package @@ -72635,6 +82574,35 @@ (define-public rust-tokio-tungstenite-0.19 ("rust-tokio" ,rust-tokio-1) ("rust-url" ,rust-url-2)))))) +(define-public rust-tokio-tungstenite-0.16 + (package + (inherit rust-tokio-tungstenite-0.21) + (name "rust-tokio-tungstenite") + (version "0.16.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wnadcv9q2yi7bjkdp6z0g4rk7kbdblsv613fpgjrhgwdbgkj2z8")))) + (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.20) + ("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.23) + ("rust-tungstenite" ,rust-tungstenite-0.16) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))))) + (define-public rust-tokio-tungstenite-0.11 (package (name "rust-tokio-tungstenite") @@ -72967,21 +82935,21 @@ (define-public rust-tokio-vsock-0.3 (define-public rust-toml-0.8 (package (name "rust-toml") - (version "0.8.8") + (version "0.8.12") (source (origin (method url-fetch) (uri (crate-uri "toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ddbahcrrxf9374mkn3c1h2a2g6a883qx23kywl6k8lxikn9b8d1")))) + (base32 "18rs8cbzmapwcxf0lpdwz84fmsgp9h5vv6xay5d4m2r0x12ibpg9")))) (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.21)) + ("rust-toml-edit" ,rust-toml-edit-0.22)) #:cargo-development-inputs (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) @@ -73153,18 +83121,49 @@ (define-public rust-toml-datetime-0.5 (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))))) -(define-public rust-toml-edit-0.21 +(define-public rust-toml-edit-0.22 (package (name "rust-toml-edit") - (version "0.21.0") + (version "0.22.9") (source (origin (method url-fetch) (uri (crate-uri "toml_edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00xa3qfk34qazvnkfxyyyqqc6nyl2ksks1c5bd53n5has0y3hkfk")))) + (base32 "1i3lhd5krd4ah3mgn4m73yla01l7rdlfpl5asy7jb1sikivvnh4f")))) (build-system cargo-build-system) + (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.6)) + #:cargo-development-inputs + (("rust-libtest-mimic" ,rust-libtest-mimic-0.7) + ("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)))) + (home-page "https://github.com/toml-rs/toml") + (synopsis "Yet another format-preserving TOML parser") + (description "This package provides yet another format-preserving TOML +parser.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-toml-edit-0.21 + (package + (inherit rust-toml-edit-0.22) + (name "rust-toml-edit") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "toml_edit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qch02syrd9c8krcimfl72gyjz11fmjssh03hrg41dbqgzyk91ba")))) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) ("rust-kstring" ,rust-kstring-2) @@ -73177,12 +83176,7 @@ (define-public rust-toml-edit-0.21 ("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)))) - (home-page "https://github.com/toml-rs/toml") - (synopsis "Yet another format-preserving TOML parser") - (description "This package provides yet another format-preserving TOML -parser.") - (license (list license:expat license:asl2.0)))) + ("rust-toml-test-harness" ,rust-toml-test-harness-0.4)))))) (define-public rust-toml-edit-0.20 (package @@ -73363,13 +83357,13 @@ (define-public rust-toml-test-0.3 (define-public rust-toml-test-data-1 (package (name "rust-toml-test-data") - (version "1.4.0") + (version "1.8.0") (source (origin (method url-fetch) (uri (crate-uri "toml-test-data" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bgdwyjsqgpwwi5s1w483a1g3qrwmq0l3742k07575qzcc6sx0h0")))) + (base32 "0pf13igrg0rm5fmy1sj57y9m313wyfwwjrqxgp3fhg41kvcvmdf6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-include-dir" ,rust-include-dir-0.7)))) @@ -73979,8 +83973,44 @@ (define-public rust-traitobject-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-trash-3 + (package + (name "rust-trash") + (version "3.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mssqp3qyv2jwihkkmc5zga51bbrhn6xikdmld9s3mfr8s6lan66")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("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-once-cell" ,rust-once-cell-1) + ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-url" ,rust-url-2) + ("rust-windows" ,rust-windows-0.44)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/ArturKovacs/trash") + (synopsis "Library for moving files and folders to the recycle bin") + (description + "This package provides a library for moving files and folders to the +recycle bin.") + (license license:expat))) + (define-public rust-trash-2 (package + (inherit rust-trash-3) (name "rust-trash") (version "2.1.5") (source @@ -73991,7 +84021,6 @@ (define-public rust-trash-2 (sha256 (base32 "0djjjvvpxhx4li3y0jp1q48xabvazzif8g7z6110rm4chikh62gy")) (patches (search-patches "rust-trash-2-update-windows.patch")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) @@ -74007,13 +84036,7 @@ (define-public rust-trash-2 ("rust-env-logger" ,rust-env-logger-0.9) ("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8) - ("rust-serial-test" ,rust-serial-test-0.6)))) - (home-page "https://github.com/ArturKovacs/trash-rs") - (synopsis "Library for moving files and folders to the recycle bin") - (description - "This package provides a library for moving files and folders to the -recycle bin.") - (license license:expat))) + ("rust-serial-test" ,rust-serial-test-0.6)))))) (define-public rust-tree-magic-db-3 (package @@ -74196,25 +84219,25 @@ (define-public rust-try-lock-0.2 (define-public rust-trybuild-1 (package (name "rust-trybuild") - (version "1.0.89") + (version "1.0.91") (source (origin (method url-fetch) (uri (crate-uri "trybuild" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13s8pchqdkwr4zby1y5hamw0p8aywwczc0r3fbb86d4icak3p7cs")))) + (base32 "0nkxwbgpvpkkbxwkd40vv0yvfm5wjddgiwdc7p5fpbgb35iypmwa")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-basic-toml" ,rust-basic-toml-0.1) - ("rust-dissimilar" ,rust-dissimilar-1) + (("rust-dissimilar" ,rust-dissimilar-1) ("rust-glob" ,rust-glob-0.3) ("rust-once-cell" ,rust-once-cell-1) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-termcolor" ,rust-termcolor-1)) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-toml" ,rust-toml-0.8)) #:cargo-development-inputs (("rust-automod" ,rust-automod-1)))) (home-page "https://github.com/dtolnay/trybuild") (synopsis "Test harness for ui tests of compiler diagnostics") @@ -74252,8 +84275,41 @@ (define-public rust-trybuild2-1 (with support for inline tests).") (license (list license:expat license:asl2.0)))) +(define-public rust-trycmd-0.15 + (package + (name "rust-trycmd") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "trycmd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05sklyyprn2a365jzby0zn7z97p6mpgi2yzlr2s506m80cvdnkj6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-escargot" ,rust-escargot-0.5) + ("rust-glob" ,rust-glob-0.3) + ("rust-humantime" ,rust-humantime-2) + ("rust-humantime-serde" ,rust-humantime-serde-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-snapbox" ,rust-snapbox-0.5) + ("rust-toml-edit" ,rust-toml-edit-0.22)))) + (home-page "https://github.com/assert-rs/trycmd") + (synopsis "Snapshot testing for a herd of CLI tests") + (description "trycmd is a test harness that will enumerate test case files +and run them to verify the results, taking inspiration from @code{trybuild} and +@code{cram}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-trycmd-0.14 (package + (inherit rust-trycmd-0.15) (name "rust-trycmd") (version "0.14.19") (source (origin @@ -74262,7 +84318,6 @@ (define-public rust-trycmd-0.14 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1yz4prkmnb1y406p0aq3r8yf11alj8i94yvnz3k07c9glir9607d")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) @@ -74276,13 +84331,7 @@ (define-public rust-trycmd-0.14 ("rust-serde-json" ,rust-serde-json-1) ("rust-shlex" ,rust-shlex-1) ("rust-snapbox" ,rust-snapbox-0.4) - ("rust-toml-edit" ,rust-toml-edit-0.20)))) - (home-page "https://github.com/assert-rs/trycmd") - (synopsis "Snapshot testing for a herd of CLI tests") - (description "trycmd is a test harness that will enumerate test case files -and run them to verify the results, taking inspiration from @code{trybuild} and -@code{cram}.") - (license (list license:expat license:asl2.0)))) + ("rust-toml-edit" ,rust-toml-edit-0.20)))))) (define-public rust-trycmd-0.13 (package @@ -74376,6 +84425,22 @@ (define-public rust-ttf-parser-0.19 parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-ttf-parser-0.17 + (package + (inherit rust-ttf-parser-0.19) + (name "rust-ttf-parser") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ttf-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zrbcjmyz3280wlbdbxskz0gd25lxizjzkcmq50xzdns8kx14n1p")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t)))) ; Cut the dependency graph. + (define-public rust-ttf-parser-0.12 (package (inherit rust-ttf-parser-0.19) @@ -74494,8 +84559,33 @@ (define-public rust-tui-0.15 #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-tui-react-0.22 + (package + (name "rust-tui-react") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tui-react" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04b5av7fpg46bz3zbgqxdwkrx42lcfcap1afxhd6qrnlw9rwvyig")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-ratatui" ,rust-ratatui-0.25) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/Byron/tui-crates") + (synopsis "TUI widgets using a react-like paradigm") + (description + "TUI widgets using a react-like paradigm, allowing mutable component state and +render properties.") + (license license:expat))) + (define-public rust-tui-react-0.20 (package + (inherit rust-tui-react-0.22) (name "rust-tui-react") (version "0.20.0") (source @@ -74505,18 +84595,40 @@ (define-public rust-tui-react-0.20 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19zr81rz3i7ckp0f0jmz7r8iv5jcj0a1g71zpkr2n46svxz3mw8i")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-ratatui" ,rust-ratatui-0.20) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/Byron/tui-crates") - (synopsis "TUI widgets using a react-like paradigm") + ("rust-unicode-width" ,rust-unicode-width-0.1)))))) + +(define-public rust-tui-textarea-0.4 + (package + (name "rust-tui-textarea") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tui-textarea" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13mxwxqq6r6kplszs2r2qlnc8hw4hpk2zgrzjby9q6ll3znqrqx3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-crossterm" ,rust-crossterm-0.25) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-ratatui" ,rust-ratatui-0.24) + ("rust-regex" ,rust-regex-1) + ("rust-termion" ,rust-termion-2) + ("rust-termwiz" ,rust-termwiz-0.20) + ("rust-tui" ,rust-tui-0.19) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/rhysd/tui-textarea") + (synopsis "Text editor widget for ratatui and tui-rs") (description - "TUI widgets using a react-like paradigm, allowing mutable component state and -render properties.") + "Tui-textarea is a text editor widget for ratatui and tui-rs. This +multi-line text editor can be easily put as part of your TUI application.") (license license:expat))) (define-public rust-tuikit-0.5 @@ -74604,6 +84716,35 @@ (define-public rust-tuikit-0.2 #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.6)))))) +(define-public rust-tun-tap-0.1 + (package + (name "rust-tun-tap") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tun-tap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l5yp9xs5kyhzrkqfhnqjwj97ylzr5xd0g6jfp42miv7jd77liws")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=it_receives_packets" + "--skip=it_sents_packets") + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("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-etherparse" ,rust-etherparse-0.9) + ("rust-serial-test" ,rust-serial-test-0.4) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/vorner/tuntap") + (synopsis "TUN/TAP interface wrapper") + (description "This package provides a TUN/TAP interface wrapper.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-twoway-0.2 (package (name "rust-twoway") @@ -74644,6 +84785,35 @@ (define-public rust-twoway-0.1 (base32 "1lbf64snscr3vz71jbl6i2c8zr2ndsiqbk6316z39fj1a8mipcar")))))) +(define-public rust-twox-hash-1 + (package + (name "rust-twox-hash") + (version "1.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "twox-hash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xgn72j36a270l5ls1jk88n7bmq2dhlfkbhdh5554hbagjsydzlp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-digest" ,rust-digest-0.8) + ("rust-digest" ,rust-digest-0.9) + ("rust-digest" ,rust-digest-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/shepmaster/twox-hash") + (synopsis "Rust implementation of the XXHash and XXH3 algorithms") + (description "This package provides a Rust implementation of the XXHash +and XXH3 algorithms.") + (license license:expat))) + (define-public rust-typeable-0.1 (package (name "rust-typeable") @@ -74665,7 +84835,7 @@ (define-public rust-typeable-0.1 (define-public rust-typed-arena-2 (package (name "rust-typed-arena") - (version "2.0.1") + (version "2.0.2") (source (origin (method url-fetch) @@ -74674,7 +84844,7 @@ (define-public rust-typed-arena-2 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1bnhphrksp9krxhsfhfimrxvkbah2pa6rf9ygmpw5lalbm6wi186")))) + "0shj0jpmglhgw2f1i4b33ycdzwd1z205pbs1rd5wx7ks2qhaxxka")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) (home-page "https://github.com/SimonSapin/rust-typed-arena") @@ -74720,6 +84890,22 @@ (define-public rust-typed-builder-0.18 "This package provides compile-time type-checked builder derive.") (license (list license:expat license:asl2.0)))) +(define-public rust-typed-builder-0.16 + (package + (inherit rust-typed-builder-0.18) + (name "rust-typed-builder") + (version "0.16.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05ny1brm9ff3hxrps3n328w28myk4lz0h24jhxx64dhyjhbmq21l")))) + (arguments + `(#:cargo-inputs + (("rust-typed-builder-macro" ,rust-typed-builder-macro-0.16)))))) + (define-public rust-typed-builder-0.5 (package (inherit rust-typed-builder-0.18) @@ -74760,6 +84946,23 @@ (define-public rust-typed-builder-macro-0.18 (description "Compile-time type-checked builder derive.") (license (list license:expat license:asl2.0)))) +(define-public rust-typed-builder-macro-0.16 + (package + (inherit rust-typed-builder-macro-0.18) + (name "rust-typed-builder-macro") + (version "0.16.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-builder-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vp94vzcnrqlz93swkai13w9dmklpdh2c2800zpjnvi0735s8g7h")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-typemap-0.3 (package (name "rust-typemap") @@ -74806,6 +85009,163 @@ (define-public rust-typenum-1 (license (list license:asl2.0 license:expat)))) +(define-public rust-typetag-0.2 + (package + (name "rust-typetag") + (version "0.2.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "typetag" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bwswa9ah2sc6fmlfw2pim73rr1n6vhfwmidrsga8cn09r0ih7b6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-erased-serde" ,rust-erased-serde-0.4) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-typetag-impl" ,rust-typetag-impl-0.2)) + #:cargo-development-inputs (("rust-postcard" ,rust-postcard-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/dtolnay/typetag") + (synopsis "Serde serializable and deserializable trait objects") + (description + "This package provides serde serializable and deserializable trait objects.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-typetag-impl-0.2 + (package + (name "rust-typetag-impl") + (version "0.2.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "typetag-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cabnvm526bcgh1sh34js5ils0gz4xwlgvwhm992acdr8xzqhwxc")))) + (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/dtolnay/typetag") + (synopsis "Implementation detail of the typetag crate") + (description + "This package provides the implementation detail of the typetag crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-typewit-1 + (package + (name "rust-typewit") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "typewit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "093fgb1q5n48vr4nj3hggbhfi6jzab5048scs6jz1ynalgk9myy6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-typewit-proc-macros" ,rust-typewit-proc-macros-1)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/rodrimati1992/typewit/") + (synopsis "Type-witness-based abstractions") + (description "This package provides type-witness-based abstractions, mostly +for emulating polymorphism in const fns.") + (license license:zlib))) + +(define-public rust-typewit-proc-macros-1 + (package + (name "rust-typewit-proc-macros") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "typewit_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mlkh4mhbn4b7xg9640blk74bm5ddaa44ihvl0sljw1w5gm86sp3")))) + (build-system cargo-build-system) + (home-page "https://github.com/rodrimati1992/typewit/") + (synopsis "Implementation detail of typewit") + (description "Implementation detail of typewit.") + (license license:zlib))) + +(define-public rust-tz-rs-0.6 + (package + (name "rust-tz-rs") + (version "0.6.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "tz-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d720z3p6g65awzv3924dipjnldrdsv6np0h9g7x5yj8r0aip19k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=timezone::test::test_time_zone_from_posix_tz" + "--skip=src/lib.rs - (line 21)" + "--skip=src/lib.rs - (line 60)") + #:cargo-inputs (("rust-const-fn" ,rust-const-fn-0.4)))) + (home-page "https://github.com/x-hgg-x/tz-rs") + (synopsis + "Rust reimplementation of libc functions localtime, gmtime and mktime") + (description + "This package provides a pure Rust reimplementation of libc functions +localtime, gmtime and mktime.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-tzdb-0.6 + (package + (name "rust-tzdb") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tzdb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cbzd2c4bs9ik9dpwbacw6j08kakbnjikdndcxbrza2z6rmhyn0v")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Doc tests segfault. + #:cargo-inputs (("rust-iana-time-zone" ,rust-iana-time-zone-0.1) + ("rust-tz-rs" ,rust-tz-rs-0.6) + ("rust-tzdb-data" ,rust-tzdb-data-0.1)))) + (home-page "https://github.com/Kijewski/tzdb") + (synopsis "Static time zone information for tz-rs") + (description "This package provides static time zone information for tz-rs.") + (license license:asl2.0))) + +(define-public rust-tzdb-data-0.1 + (package + (name "rust-tzdb-data") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tzdb_data" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mlqm5z8324hw2gnwhlgfn6as8cv5qhdahjwv70nb7f0zbgrz26i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-tz-rs" ,rust-tz-rs-0.6)))) + (home-page "https://github.com/Kijewski/tzdb") + (synopsis "Static, #![no_std] time zone information for tz-rs") + (description + "This package provides static, #![no_std] time zone information for tz-rs.") + (license license:expat-0))) + (define-public rust-ubyte-0.10 (package (name "rust-ubyte") @@ -74897,8 +85257,31 @@ (define-public rust-ucd-util-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-ufmt-0.2 + (package + (name "rust-ufmt") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ufmt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17dbpq5r09mcpalra2hmpgb2ly282s6xjsb4il8fjmrbq1p88r0s")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; method cannot be called on `String` due to unsatisfied trait bounds + #:cargo-inputs (("rust-ufmt-macros" ,rust-ufmt-macros-0.3) + ("rust-ufmt-write" ,rust-ufmt-write-0.1)))) + (home-page "https://github.com/japaric/ufmt") + (synopsis "Faster and panic-free alternative to @code{core::fmt}") + (description "This package provides a (6-40x) smaller, (2-9x) faster and +panic-free alternative to @code{core::fmt}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ufmt-0.1 (package + (inherit rust-ufmt-0.2) (name "rust-ufmt") (version "0.1.2") (source @@ -74909,22 +85292,38 @@ (define-public rust-ufmt-0.1 (sha256 (base32 "1pbc0gcfi7m21ly00x460pv1k2h12zb184f7wpcckpqj6g3c1lri")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests") #:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) ("rust-ufmt-macros" ,rust-ufmt-macros-0.2) - ("rust-ufmt-write" ,rust-ufmt-write-0.1)))) + ("rust-ufmt-write" ,rust-ufmt-write-0.1)))))) + +(define-public rust-ufmt-macros-0.3 + (package + (name "rust-ufmt-macros") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ufmt-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05ipcslk5bcpkw3j8405hhzxibr9wkn8sg33nif1cjblc6zd6dyk")))) + (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/japaric/ufmt") - (synopsis "Faster and panic-free alternative to @code{core::fmt}") - (description "This package provides a (6-40x) smaller, (2-9x) faster and -panic-free alternative to @code{core::fmt}.") + (synopsis "μfmt macros") + (description "This package provides μfmt macros.") (license (list license:expat license:asl2.0)))) (define-public rust-ufmt-macros-0.2 (package + (inherit rust-ufmt-macros-0.3) (name "rust-ufmt-macros") (version "0.2.0") (source @@ -74935,17 +85334,12 @@ (define-public rust-ufmt-macros-0.2 (sha256 (base32 "1nfpgpimg04n08cxi0mcsz803kh3kzpmllmxm2a6768cyf96raz4")))) - (build-system cargo-build-system) (arguments `(#: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/japaric/ufmt") - (synopsis "μfmt macros") - (description "This package provides μfmt macros.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-ufmt-write-0.1 (package @@ -75057,8 +85451,29 @@ (define-public rust-uluru-3 "This package provides a simple, fast, LRU cache implementation.") (license license:mpl2.0))) +(define-public rust-umask-2 + (package + (name "rust-umask") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "umask" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "071xszsd6znk0ik11pxl7mwhf07clsiq3qpzw1ac0dcyak14d6pc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Canop/umask") + (synopsis "Utility to deal with unix access mode") + (description + "This package provides an utility to deal with Unix access mode.") + (license license:expat))) + (define-public rust-umask-1 (package + (inherit rust-umask-2) (name "rust-umask") (version "1.0.0") (source @@ -75068,13 +85483,7 @@ (define-public rust-umask-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ipyyv82lpy5xpqzmq3ra0d61vsd3bfh6b06c9w8zln41vvznblq")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/Canop/umask") - (synopsis "Utility to deal with unix access mode") - (description - "This package provides an utility to deal with Unix access mode.") - (license license:expat))) + (arguments `(#:skip-build? #t)))) (define-public rust-unarray-0.1 (package @@ -75287,6 +85696,27 @@ (define-public rust-unic-emoji-char-0.9 in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-unic-normal-0.9 + (package + (name "rust-unic-normal") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-normal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qmsdf7b902mmaslhwww0hzmzqn26mzh7sraphl4dac96p9n97gh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unic-ucd-normal" ,rust-unic-ucd-normal-0.9)) + #:cargo-development-inputs + (("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis "UNIC Unicode Normalization Forms") + (description "UNIC Unicode Normalization Forms.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unic-segment-0.9 (package (name "rust-unic-segment") @@ -75312,6 +85742,76 @@ (define-public rust-unic-segment-0.9 grapheme clusters), words, and sentences.") (license (list license:expat license:asl2.0)))) +(define-public rust-unic-ucd-category-0.9 + (package + (name "rust-unic-ucd-category") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-ucd-category" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h4ixzplc2s441vc8mc4zxliw6qfqh1ziaiv8pa1pzpwyn8lb38v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-matches" ,rust-matches-0.1) + ("rust-unic-char-property" ,rust-unic-char-property-0.9) + ("rust-unic-char-range" ,rust-unic-char-range-0.9) + ("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis "UNIC Unicode Character Database General Category") + (description "UNIC Unicode Character Database General Category.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-unic-ucd-hangul-0.9 + (package + (name "rust-unic-ucd-hangul") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-ucd-hangul" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m001jjck7j34hsf6kw9aidzapms9hi175yv7r9f244hw68cc7gb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis + "UNIC Unicode Character Database Hangul Syllable Composition & Decomposition") + (description + "UNIC Unicode Character Database Hangul Syllable Composition & Decomposition.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-unic-ucd-normal-0.9 + (package + (name "rust-unic-ucd-normal") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-ucd-normal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "044laqqf09xqv4gl27f328a2f780gkzabpar72qj4b90p1rxibl6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unic-char-property" ,rust-unic-char-property-0.9) + ("rust-unic-char-range" ,rust-unic-char-range-0.9) + ("rust-unic-ucd-category" ,rust-unic-ucd-category-0.9) + ("rust-unic-ucd-hangul" ,rust-unic-ucd-hangul-0.9) + ("rust-unic-ucd-version" ,rust-unic-ucd-version-0.9)) + #:cargo-development-inputs + (("rust-unic-ucd-category" ,rust-unic-ucd-category-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis + "UNIC Unicode Character Database Normalization Properties") + (description + "UNIC Unicode Character Database Normalization Properties.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unic-ucd-segment-0.9 (package (name "rust-unic-ucd-segment") @@ -75567,17 +86067,37 @@ (define-public rust-unicode-normalization-0.1 described in Unicode Standard Annex #15.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-reverse-1 + (package + (name "rust-unicode-reverse") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-reverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b4n480vd897pm4klmmz07w8p45kb5ds0037kakd1lmhxfn5vshb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.4)))) + (home-page "https://github.com/mbrubeck/unicode-reverse") + (synopsis "Unicode-aware in-place string reversal") + (description "Unicode-aware in-place string reversal.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unicode-segmentation-1 (package (name "rust-unicode-segmentation") - (version "1.10.1") + (version "1.11.0") (source (origin (method url-fetch) (uri (crate-uri "unicode-segmentation" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dky2hm5k51xy11hc3nk85p533rvghd462b6i0c532b7hl4j9mhx")))) + (base32 "00kjpwp1g8fqm45drmwivlacn3y9jx73bvs09n6s3x73nqi7vj6l")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -75590,6 +86110,28 @@ (define-public rust-unicode-segmentation-1 boundaries according to Unicode Standard Annex #29 rules.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-truncate-0.2 + (package + (name "rust-unicode-truncate") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-truncate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hlf6k1d7s1qqdvhxwh4xl8wd1wvqm0vr0pazxq74jksbz5fajx0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/Aetf/unicode-truncate") + (synopsis "Unicode-aware `str` truncate") + (description + "This package provides a unicode-aware algorithm to pad or truncate `str` +in terms of displayed width.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unicode-width-0.1 (package (name "rust-unicode-width") @@ -75912,6 +86454,40 @@ (define-public rust-untrusted-0.6 (sha256 (base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam")))))) +(define-public rust-uom-0.34 + (package + (name "rust-uom") + (version "0.34.0") + (source (origin + (method url-fetch) + (uri (crate-uri "uom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "190n79b5ywa9w0j13ld0q6dphz7vzsjkwrpp8pjnwrczsvfhxxg8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("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-typenum" ,rust-typenum-1) + ("rust-serde" ,rust-serde-1) + ("rust-num-bigint" ,rust-num-bigint-0.4)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/iliekturtles/uom") + (synopsis "Units of measurement") + (description + "@code{uom} (Units of measurement) is a crate that does automatic type-safe +zero-cost dimensional analysis. You can create your own systems or use the pre-built +International System of Units (SI) which is based on the International System of +Quantities (ISQ) and includes numerous quantities (length, mass, time, ...) with +conversion factors for even more numerous measurement units (meter, kilometer, foot, +mile, ...).") + (license (list license:expat license:asl2.0)))) + (define-public rust-ureq-2 (package (name "rust-ureq") @@ -76196,6 +86772,213 @@ (define-public rust-utf8parse-0.1 (base32 "0zamsj2986shm4x9zncjf2m5qy9scaw7qnxw4f89b2afpg6a8wl7")))))) +(define-public rust-uu-cp-0.0.23 + (package + (name "rust-uu-cp") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_cp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1snwk4fh6fvvvvqc1y660dr8lw95in9hazi49licnlgszh60k3jc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-exacl" ,rust-exacl-0.11) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-libc" ,rust-libc-0.2) + ("rust-quick-error" ,rust-quick-error-2) + ("rust-selinux" ,rust-selinux-0.4) + ("rust-uucore" ,rust-uucore-0.0.25) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-xattr" ,rust-xattr-1)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "cp ~ (uutils) copy SOURCE to DESTINATION") + (description "This package provides the @code{cp} command from uutils.") + (license license:expat))) + +(define-public rust-uu-mkdir-0.0.23 + (package + (name "rust-uu-mkdir") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_mkdir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lf84gxjw1ii53xmlr4rnlgpqci5zw8scqf1qpmid3bkkry6bgyw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-uucore" ,rust-uucore-0.0.25)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "mkdir ~ (uutils) create DIRECTORY") + (description "This package provides the @code{mkdir} command from uutils.") + (license license:expat))) + +(define-public rust-uu-mktemp-0.0.23 + (package + (name "rust-uu-mktemp") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_mktemp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jrik3nawxcxxqbhlzjl9sb8xwwxmmb5lm7rkdi61hcyilh32i8m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-uucore" ,rust-uucore-0.0.25)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "mktemp ~ (uutils) create and display a temporary file or directory") + (description "This package provides the @code{mktemp} command from uutils.") + (license license:expat))) + +(define-public rust-uu-mv-0.0.23 + (package + (name "rust-uu-mv") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_mv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z2cdcnf1q6zgzycimlbg0xyqh43v8x49vsr0sx1sbjdsdhpwc2y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-fs-extra" ,rust-fs-extra-1) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-uucore" ,rust-uucore-0.0.25)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "mv ~ (uutils) move (rename) SOURCE to DESTINATION") + (description "This package provides the @code{mv} command from uutils.") + (license license:expat))) + +(define-public rust-uu-whoami-0.0.23 + (package + (name "rust-uu-whoami") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_whoami" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k9p305ph1nx29gr02alasj3y8xczhh8yaxj3zzcnd0znk1rsn3h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-libc" ,rust-libc-0.2) + ("rust-uucore" ,rust-uucore-0.0.25) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis + "whoami ~ (uutils) display user name of current effective user ID") + (description "This package provides the @code{whoami} command from uutils.") + (license license:expat))) + +(define-public rust-uucore-0.0.25 + (package + (name "rust-uucore") + (version "0.0.25") + (source + (origin + (method url-fetch) + (uri (crate-uri "uucore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d59qc3d2z9dkf89y22c5kj7l5izfb4p3qkpd32xnhyb59r4m693")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-blake2b-simd" ,rust-blake2b-simd-1) + ("rust-blake3" ,rust-blake3-1) + ("rust-clap" ,rust-clap-4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-data-encoding-macro" ,rust-data-encoding-macro-0.1) + ("rust-digest" ,rust-digest-0.10) + ("rust-dns-lookup" ,rust-dns-lookup-2) + ("rust-dunce" ,rust-dunce-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-libc" ,rust-libc-0.2) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-nix" ,rust-nix-0.28) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-os-display" ,rust-os-display-0.1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sha3" ,rust-sha3-0.10) + ("rust-sm3" ,rust-sm3-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-uucore-procs" ,rust-uucore-procs-0.0.25) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-wild" ,rust-wild-2) + ("rust-winapi-util" ,rust-winapi-util-0.1) + ("rust-windows-sys" ,rust-windows-sys-0.48) + ("rust-xattr" ,rust-xattr-1) + ("rust-z85" ,rust-z85-3)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "uutils ~ 'core' uutils code library") + (description "This packge provides the core uutils code library.") + (license license:expat))) + +(define-public rust-uucore-procs-0.0.25 + (package + (name "rust-uucore-procs") + (version "0.0.25") + (source + (origin + (method url-fetch) + (uri (crate-uri "uucore_procs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02bkjwh4fp1cc8cmp6jqda8f48kpav9iqss424cb2lrfhfa1bxgp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-uuhelp-parser" ,rust-uuhelp-parser-0.0.25)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "uutils ~ 'uucore' proc-macros") + (description "This package provides the uucore proc-macros.") + (license license:expat))) + +(define-public rust-uuhelp-parser-0.0.25 + (package + (name "rust-uuhelp-parser") + (version "0.0.25") + (source + (origin + (method url-fetch) + (uri (crate-uri "uuhelp_parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gsfy0dkwzlyyq4abwf0c7gks7m1qm0yzl58sl265n5dllr6hymc")))) + (build-system cargo-build-system) + (home-page "https://github.com/uutils/coreutils") + (synopsis + "Collection of functions to parse the markdown code of help files") + (description + "This package provides a collection of functions to parse the markdown code +of help files.") + (license license:expat))) + (define-public rust-uuid-1 (package (name "rust-uuid") @@ -76348,8 +87131,30 @@ (define-public rust-uuid-macro-internal-1 ;; The user can choose either license. (license (list license:asl2.0 license:expat)))) +(define-public rust-uutils-term-grid-0.6 + (package + (name "rust-uutils-term-grid") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "uutils_term_grid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ys1y4bjdgwhvd3c9b2c8hx2dmnxjsgqgg3sll1mgfmlmnsfz7gq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansi-width" ,rust-ansi-width-0.1)))) + (home-page "https://github.com/uutils/uutils-term-grid") + (synopsis + "Fork of the @code{term_grid} for formatting strings into a grid layout") + (description "A fork of @code{term_grid}, this package provides a library +for formatting strings into a grid layout.") + (license license:expat))) + (define-public rust-uutils-term-grid-0.3 (package + (inherit rust-uutils-term-grid-0.6) (name "rust-uutils-term-grid") (version "0.3.0") (source @@ -76359,16 +87164,8 @@ (define-public rust-uutils-term-grid-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ixvj893jrcvv76m7cgr99fc25la6xl2101qva6ni646aqm4b2dk")))) - (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://github.com/uutils/uutils-term-grid") - (synopsis - "Fork of the @code{term_grid} for formatting strings into a grid layout") - (description - "A fork of @code{term_grid}, this package provides a library for -formatting strings into a grid layout.") - (license license:expat))) + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))))) (define-public rust-uzers-0.11 (package @@ -76523,14 +87320,14 @@ (define-public rust-valuable-serde-0.1 (define-public rust-value-bag-1 (package (name "rust-value-bag") - (version "1.4.2") + (version "1.9.0") (source (origin (method url-fetch) (uri (crate-uri "value-bag" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gjvsnhhf9jp8h62zin6azqrpmgmnxq2ppj72d2dcayy5n8f2wja")))) + (base32 "00aij8p1n7vcggkb9nxpwx9g5nqzclrf7prd1wpi9c3sscvw312s")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -76547,18 +87344,18 @@ (define-public rust-value-bag-1 (define-public rust-value-bag-serde1-1 (package (name "rust-value-bag-serde1") - (version "1.4.2") + (version "1.9.0") (source (origin (method url-fetch) (uri (crate-uri "value-bag-serde1" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gsp0cn62ay2qq52wzck0j66iavf9k03y6ipmnx3bjqyg7f3kfh7")))) + (base32 "12rjnrh2g3ijvjgfh78y7x1ilk3mw2svri93nymsjxxhbh6gbb6c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-erased-serde" ,rust-erased-serde-0.3) + (("rust-erased-serde" ,rust-erased-serde-0.4) ("rust-serde" ,rust-serde-1) ("rust-serde-buf" ,rust-serde-buf-0.1) ("rust-serde-fmt" ,rust-serde-fmt-1) @@ -76572,14 +87369,14 @@ (define-public rust-value-bag-serde1-1 (define-public rust-value-bag-sval2-1 (package (name "rust-value-bag-sval2") - (version "1.4.2") + (version "1.9.0") (source (origin (method url-fetch) (uri (crate-uri "value-bag-sval2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i899mjnryxw0sp92n8qgnm1s2m56ba27l3qazsbnmqah486rq63")))) + (base32 "0nr8453w1357xc70ilbvwcg4qa6bgll44pci0fbznb82hvjbm18p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -76596,6 +87393,54 @@ (define-public rust-value-bag-sval2-1 (description "Implementation detail for value-bag.") (license (list license:asl2.0 license:expat)))) +(define-public rust-value-trait-0.8 + (package + (name "rust-value-trait") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "value-trait" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d3yl8g6xzp4ah4r7nrqrb1vxy9vgp53z80vy9ypjxz6q6cdpn6s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-abi-stable" ,rust-abi-stable-0.11) + ("rust-float-cmp" ,rust-float-cmp-0.9) + ("rust-halfbrown" ,rust-halfbrown-0.2) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1)))) + (home-page "https://github.com/simd-lite/value-trait") + (synopsis "Traits to deal with JSONesque values") + (description "This package provides traits to deal with JSONesque values.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-varbincode-0.1 + (package + (name "rust-varbincode") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "varbincode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17vgwalm7a1lryjj565p4rnx5h3hr8vwm5504r92s7j41f8gl4mp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-leb128" ,rust-leb128-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/wez/varbincode") + (synopsis "Binary encoder and decoder with variable length integer") + (description + "This package provides a binary encoder / decoder with variable length +integer encoding implementation in Rust.") + (license license:expat))) + (define-public rust-vcpkg-0.2 (package (name "rust-vcpkg") @@ -76654,6 +87499,29 @@ (define-public rust-vec-map-0.8 (license (list license:asl2.0 license:expat)))) +(define-public rust-vec1-1 + (package + (name "rust-vec1") + (version "1.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "vec1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dk9qlly3n6b5g71p9rxnnfyx7v1d31364x8wbabz2f1zz7hvdpz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/rustonaut/vec1/") + (synopsis "Vec wrapper assuring that it has at least 1 element") + (description "This package provides a std Vec wrapper 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") @@ -77115,17 +87983,16 @@ (define-public rust-vte-0.10 (package (inherit rust-vte-0.11) (name "rust-vte") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "vte" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mnjw3f071xbvapdgdf8mcdglw60dadcc5hhvz5zpljm53nmzwid")))) + (base32 "10srmy9ssircrwsb5lpx3fbhx71460j77kvz0krz38jcmf9fdg3c")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) ("rust-utf8parse" ,rust-utf8parse-0.2) ("rust-vte-generate-state-changes" @@ -77256,14 +88123,14 @@ (define-public rust-waker-fn-1 (define-public rust-walkdir-2 (package (name "rust-walkdir") - (version "2.4.0") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "walkdir" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vjl9fmfc4v8k9ald23qrpcbyb8dl1ynyq8d516cm537r1yqa7fp")))) + (base32 "0jsy7a710qv8gld5957ybrnc07gavppp963gs32xk4ag8130jy99")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -77752,8 +88619,64 @@ (define-public rust-wasm-bindgen-test-macro-0.2 (("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6)))))) +(define-public rust-wasm-encoder-0.38 + (package + (name "rust-wasm-encoder") + (version "0.38.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-encoder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gwzfwals53swmp18n4mwaqx9jldrgy4647xw97pz76yhhcbblha")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `wasmparser` + #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2) + ("rust-wasmparser" ,rust-wasmparser-0.118)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page + "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder") + (synopsis "Low-level WebAssembly encoder") + (description + "This package provides a low-level @code{WebAssembly} encoder.") + (license license:asl2.0))) + +(define-public rust-wasm-streams-0.4 + (package + (name "rust-wasm-streams") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm-streams" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ad17c59xb8fffsnbrqbyqz93hb66nzxhizpii31icb31g4w8pdn")))) + (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.3 (package + (inherit rust-wasm-streams-0.4) (name "rust-wasm-streams") (version "0.3.0") (source @@ -77763,7 +88686,6 @@ (define-public rust-wasm-streams-0.3 (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) @@ -77773,12 +88695,7 @@ (define-public rust-wasm-streams-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)))) + ("rust-web-sys" ,rust-web-sys-0.3)))))) (define-public rust-wasm-streams-0.2 (package @@ -77804,8 +88721,62 @@ (define-public rust-wasm-streams-0.2 ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) ("rust-web-sys" ,rust-web-sys-0.3)))))) +(define-public rust-wasm-sync-0.1 + (package + (name "rust-wasm-sync") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasm_sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1smhpgk5jiir089y5w6y2rgqq9aqzrbxlb4x1vzl3v3zvv561wyg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)))) + (home-page "https://github.com/DouglasDwyer/wasm_sync") + (synopsis "Synchronization primitives for both web and native") + (description "This package provides synchronization primitives for both web +and native running processes.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-wasmparser-0.118 + (package + (name "rust-wasmparser") + (version "0.118.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasmparser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0365n7dd01fh2jklq6q41nszhyyaz82shd4q3nhf4s5q397ibwbp")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; failed to resolve: use of undeclared crate or module `wat` + #:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-semver" ,rust-semver-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-wasm-encoder" ,rust-wasm-encoder-0.38)))) + (home-page + "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser") + (synopsis "Simple event-driven library for parsing WebAssembly binary files") + (description + "This package provides a simple event-driven library for parsing +@code{WebAssembly} binary files.") + (license license:asl2.0))) + (define-public rust-wasmparser-0.57 (package + (inherit rust-wasmparser-0.118) (name "rust-wasmparser") (version "0.57.0") (source @@ -77815,50 +88786,287 @@ (define-public rust-wasmparser-0.57 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser") - (synopsis "Simple event-driven library for parsing WebAssembly binary files") - (description - "This package provides a simple event-driven library for parsing -WebAssembly binary files.") - (license license:asl2.0))) + (arguments `(#:skip-build? #t)))) -(define-public rust-watchexec-1 +(define-public rust-watchexec-2 (package (name "rust-watchexec") - (version "1.16.0") + (version "2.3.2") (source (origin (method url-fetch) (uri (crate-uri "watchexec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1v52fi5fvjr7h5npyjkwnfc7801qrl4ayzgq4k03ylxr4lkbvhsb")))) + (base32 "120g73qpywbrzlcma9nhgaymm44aw2516xwl0fima8yy2ig22car")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-clearscreen" ,rust-clearscreen-1) - ("rust-derive-builder" ,rust-derive-builder-0.10) - ("rust-glob" ,rust-glob-0.3) - ("rust-globset" ,rust-globset-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.20) - ("rust-notify" ,rust-notify-4) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/watchexec/watchexec") - (synopsis - "Library to execute commands in response to file modifications") + `(#:cargo-inputs + (("rust-async-priority-channel" ,rust-async-priority-channel-0.1) + ("rust-async-recursion" ,rust-async-recursion-1) + ("rust-atomic-take" ,rust-atomic-take-1) + ("rust-clearscreen" ,rust-clearscreen-2) + ("rust-command-group" ,rust-command-group-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-ignore-files" ,rust-ignore-files-1) + ("rust-miette" ,rust-miette-5) + ("rust-nix" ,rust-nix-0.26) + ("rust-normalize-path" ,rust-normalize-path-0.2) + ("rust-notify" ,rust-notify-5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-project-origins" ,rust-project-origins-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-watchexec-events" ,rust-watchexec-events-1) + ("rust-watchexec-signals" ,rust-watchexec-signals-1)) + #:cargo-development-inputs + (("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://watchexec.github.io") + (synopsis "Library to execute commands in response to file modifications") (description "This crate is a library to execute commands in response to file modifications.") (license license:asl2.0))) +(define-public rust-watchexec-1 + (package + (inherit rust-watchexec-2) + (name "rust-watchexec") + (version "1.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "watchexec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r8j6qvkbr5k5ipyzw0v1lsglhf7l99n9m529mck2ki7ymzqv4iq")) + (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=gitignore::tests::handles_negative_patterns" + "--skip=gitignore::tests::leading_double_wildcard" + "--skip=gitignore::tests::leading_slash" + "--skip=gitignore::tests::matches_exact" + "--skip=gitignore::tests::matches_simple_wildcard" + "--skip=gitignore::tests::matches_subdir_exact" + "--skip=gitignore::tests::sandwiched_double_wildcard" + "--skip=gitignore::tests::wildcard_with_dir" + "--skip=ignore::tests::handles_whitelisting" + "--skip=ignore::tests::leading_double_wildcard" + "--skip=ignore::tests::leading_slash" + "--skip=ignore::tests::matches_exact" + "--skip=ignore::tests::matches_simple_wildcard" + "--skip=ignore::tests::matches_subdir_exact" + "--skip=ignore::tests::sandwiched_double_wildcard" + "--skip=ignore::tests::wildcard_with_dir" + "--skip=notification_filter::tests::test_filename" + "--skip=notification_filter::tests::test_ignores_take_precedence" + "--skip=notification_filter::tests::test_multiple_ignores" + "--skip=notification_filter::tests::test_recursive_directory_ignore") + #:cargo-inputs (("rust-clearscreen" ,rust-clearscreen-1) + ("rust-command-group" ,rust-command-group-1) + ("rust-derive-builder" ,rust-derive-builder-0.10) + ("rust-glob" ,rust-glob-0.3) + ("rust-globset" ,rust-globset-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.22) + ("rust-notify" ,rust-notify-4) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-watchexec-events-1 + (package + (name "rust-watchexec-events") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "watchexec-events" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qra2hpkdf5ln1vb5jpxp17s3va7dm2svb8d067r2xgx0az3nq01")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `Event: serde::de::Deserialize<'_>` is not satisfied + #:cargo-inputs (("rust-nix" ,rust-nix-0.26) + ("rust-notify" ,rust-notify-5) + ("rust-serde" ,rust-serde-1) + ("rust-watchexec-signals" ,rust-watchexec-signals-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-snapbox" ,rust-snapbox-0.4)))) + (home-page "https://github.com/watchexec/watchexec") + (synopsis "Watchexec's event types") + (description "This package provides watchexec's event types.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-watchexec-filterer-globset-1 + (package + (name "rust-watchexec-filterer-globset") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "watchexec-filterer-globset" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "045j0cp83yl6csn04qi19d5jfgfzylgcnvgziksqjcdgrv6b1c54")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `tracing_subscriber::EnvFilter` + #:cargo-inputs + (("rust-ignore" ,rust-ignore-0.4) + ("rust-ignore-files" ,rust-ignore-files-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-watchexec" ,rust-watchexec-2) + ("rust-watchexec-filterer-ignore" ,rust-watchexec-filterer-ignore-1)) + #:cargo-development-inputs + (("rust-project-origins" ,rust-project-origins-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://watchexec.github.io") + (synopsis "Watchexec filterer component based on globset") + (description + "This package provides a watchexec filterer component based on globsets.") + (license license:asl2.0))) + +(define-public rust-watchexec-filterer-ignore-1 + (package + (name "rust-watchexec-filterer-ignore") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "watchexec-filterer-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18sfshgvi8d68xc9vc9pz7dar6cfbgzclnfdkyhvgkbw6qhg0igk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `tracing_subscriber::EnvFilter` + #:cargo-inputs (("rust-dunce" ,rust-dunce-1) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-ignore-files" ,rust-ignore-files-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-watchexec" ,rust-watchexec-2) + ("rust-watchexec-signals" ,rust-watchexec-signals-1)) + #:cargo-development-inputs + (("rust-project-origins" ,rust-project-origins-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://watchexec.github.io") + (synopsis "Watchexec filterer component for ignore files") + (description + "This package provides a watchexec filterer component for ignore files.") + (license license:asl2.0))) + +(define-public rust-watchexec-signals-1 + (package + (name "rust-watchexec-signals") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "watchexec-signals" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rd7sqfvd96lbf05w74p7v59ch8xspy5ah509k4h329qdkwmsanc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-miette" ,rust-miette-5) + ("rust-nix" ,rust-nix-0.26) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/watchexec/watchexec") + (synopsis "Watchexec's signal types") + (description "This package provides watchexec's signal types.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-wax-0.6 + (package + (name "rust-wax") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wax" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mqk9qxsjlbwnjnj0gkaa29qm3mmgbgrc6pd4qpjvcmsl25af4ld")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-const-format" ,rust-const-format-0.2) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-miette" ,rust-miette-5) + ("rust-nom" ,rust-nom-7) + ("rust-pori" ,rust-pori-0.0.0) + ("rust-regex" ,rust-regex-1) + ("rust-tardar" ,rust-tardar-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-build-fs-tree" ,rust-build-fs-tree-0.6) + ("rust-dunce" ,rust-dunce-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/olson-sean-k/wax") + (synopsis "Globs that can be matched against paths and directory trees") + (description + "This package provides opinionated and portable globs that can be matched +against paths and directory trees.") + (license license:expat))) + +(define-public rust-wl-clipboard-rs-0.8 + (package + (name "rust-wl-clipboard-rs") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wl-clipboard-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nwa0bg6jpq5sd8x94xgkj0yk7zcz2m3sg2mm26b35qlj5rigd0j")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Failed to create a server socket. + #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.28) + ("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-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-wlr" ,rust-wayland-protocols-wlr-0.2)) + #:cargo-development-inputs + (("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive" ,rust-proptest-derive-0.4) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.31) + ("rust-wayland-protocols-wlr" ,rust-wayland-protocols-wlr-0.2) + ("rust-wayland-server" ,rust-wayland-server-0.31)))) + (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.7 (package + (inherit rust-wl-clipboard-rs-0.8) (name "rust-wl-clipboard-rs") (version "0.7.0") (source @@ -77868,7 +89076,6 @@ (define-public rust-wl-clipboard-rs-0.7 (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) @@ -77883,12 +89090,7 @@ (define-public rust-wl-clipboard-rs-0.7 ("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)))) + ("rust-wayland-server" ,rust-wayland-server-0.29)))))) (define-public rust-wl-clipboard-rs-0.4 (package @@ -77949,8 +89151,43 @@ (define-public rust-web-sys-0.3 "Bindings for all Web APIs, a procedurally generated crate from WebIDL.") (license (list license:expat license:asl2.0)))) +(define-public rust-web-time-1 + (package + (name "rust-web-time") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "web-time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fx05yqx83dhx628wb70fyy10yjfq1jpl20qfqhdkymi13rq0ras")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; TODO: check if not all files included. + #:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) + ("rust-serde" ,rust-serde-1) + ("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-serde-json" ,rust-serde-json-1) + ("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 + "This package provides a drop-in replacement for @code{std::time} +for Wasm in browsers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-web-time-0.2 (package + (inherit rust-web-time-1) (name "rust-web-time") (version "0.2.4") (source @@ -77960,11 +89197,10 @@ (define-public rust-web-time-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a")))) - (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. + `(#:tests? #f ; TODO: check if not all files included. #:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + ("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) @@ -77973,12 +89209,7 @@ (define-public rust-web-time-0.2 ("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)))) + ("rust-web-sys" ,rust-web-sys-0.3)))))) (define-public rust-webbrowser-0.8 (package @@ -78102,8 +89333,223 @@ (define-public rust-wepoll-sys-stjepang-1 using @code{bindgen}.") (license license:mpl2.0))) +(define-public rust-wezterm-bidi-0.2 + (package + (name "rust-wezterm-bidi") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-bidi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v7kwmnxfplv9kgdmamn6csbn2ag5xjr0y6gs797slk0alsnw2hc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.2)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11) + ("rust-k9" ,rust-k9-0.12)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Unicode Bidi Algorithm") + (description "The Unicode Bidi Algorithm (UBA).") + (license (list license:expat)))) + +(define-public rust-wezterm-blob-leases-0.1 + (package + (name "rust-wezterm-blob-leases") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-blob-leases" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02z6m7p9vf4wvr9g2qv1kxp6zaxxli4ziphhcjbnivbyvw55wnlf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-mac-address" ,rust-mac-address-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uuid" ,rust-uuid-1)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Image blob caching/leasing for wezterm") + (description "Manage image blob caching/leasing for wezterm.") + (license license:expat))) + +(define-public rust-wezterm-color-types-0.3 + (package + (name "rust-wezterm-color-types") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-color-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15j29f60p1dc0msx50x940niyv9d5zpynavpcc6jf44hbkrixs3x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-csscolorparser" ,rust-csscolorparser-0.6) + ("rust-deltae" ,rust-deltae-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-serde" ,rust-serde-1) + ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.2)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Types for colors") + (description "This package provides types for working with colors.") + (license license:expat))) + +(define-public rust-wezterm-color-types-0.2 + (package + (inherit rust-wezterm-color-types-0.3) + (name "rust-wezterm-color-types") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-color-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xvphmrqgg69v9l879xj5lq010z13f5ixi854ykmny6j7m47lvjc")))) + (arguments + `(#:cargo-inputs (("rust-csscolorparser" ,rust-csscolorparser-0.6) + ("rust-deltae" ,rust-deltae-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-serde" ,rust-serde-1) + ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.1)))))) + +(define-public rust-wezterm-dynamic-0.2 + (package + (name "rust-wezterm-dynamic") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-dynamic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dbppcd5s509w3b25q2fx2c4c52cwdl61yw1fvh38rx8ryx2icfz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-ordered-float" ,rust-ordered-float-4) + ("rust-strsim" ,rust-strsim-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-wezterm-dynamic-derive" ,rust-wezterm-dynamic-derive-0.1)) + #:cargo-development-inputs (("rust-maplit" ,rust-maplit-1)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Config serialization for wezterm") + (description + "This package provides configuration serialization for wezterm via dynamic +json-like data values.") + (license license:expat))) + +(define-public rust-wezterm-dynamic-0.1 + (package + (inherit rust-wezterm-dynamic-0.2) + (name "rust-wezterm-dynamic") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-dynamic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1al8fmfr852m62mlcr0v2lg3a18icl2sv79zv7jnv9v0rk07hpm7")))) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-ordered-float" ,rust-ordered-float-3) + ("rust-strsim" ,rust-strsim-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-wezterm-dynamic-derive" ,rust-wezterm-dynamic-derive-0.1)) + #:cargo-development-inputs (("rust-maplit" ,rust-maplit-1)))))) + +(define-public rust-wezterm-dynamic-derive-0.1 + (package + (name "rust-wezterm-dynamic-derive") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-dynamic-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w07qf8njyq19nxi9vpshwprk00blhzg9ybis2rhfba433rmx7qc")))) + (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/wez/wezterm") + (synopsis "Config serialization for wezterm") + (description + "This package provides configuration serialization for wezterm via dynamic +json-like data values.") + (license license:expat))) + +(define-public rust-wezterm-input-types-0.1 + (package + (name "rust-wezterm-input-types") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wezterm-input-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zp557014d458a69yqn9dxfy270b6kyfdiynr5p4algrb7aas4kh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-euclid" ,rust-euclid-0.22) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-serde" ,rust-serde-1) + ("rust-wezterm-dynamic" ,rust-wezterm-dynamic-0.2)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Wezterm input types") + (description "Input types for wezterm.") + (license license:expat))) + +(define-public rust-which-6 + (package + (name "rust-which") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "which" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "070hbvl3hjxywychmz7nj5gbsprdm38rir3kqnm48zzp1g0y19bz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--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.52)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/harryfei/which-rs.git") + (synopsis "Rust equivalent of @command{which}") + (description + "This package provides a cross-platform Rust equivalent of the +Unix @command{which} command. It returns the full path of an installed +executable.") + (license license:expat))) + (define-public rust-which-5 (package + (inherit rust-which-6) (name "rust-which") (version "5.0.0") (source @@ -78118,7 +89564,6 @@ (define-public rust-which-5 '(begin (substitute* "Cargo.toml" (("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) (string-append "\"^" version))))))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -78130,14 +89575,7 @@ (define-public rust-which-5 ("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 - "This package provides a cross-platform Rust equivalent of the -Unix @command{which} command. It returns the full path of an installed -executable.") - (license license:expat))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-which-4 (package @@ -78240,21 +89678,20 @@ (define-public rust-whoami-0.8 (define-public rust-wide-0.7 (package (name "rust-wide") - (version "0.7.4") + (version "0.7.15") (source (origin (method url-fetch) (uri (crate-uri "wide" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0psw31mh21cn4w7i0klsz7law8p8iddsqir8x35cf6n3vb8s5axk")))) + "071cl37d9ni0a4r8y1hjyr5vq0w0w3wf742lqagnfvi49xafrgl9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-safe-arch" ,rust-safe-arch-0.6)))) + ("rust-safe-arch" ,rust-safe-arch-0.7)))) (home-page "https://github.com/Lokathor/wide") (synopsis "Rust for wide blocks") (description "This crate has data types for blocks of primitives packed @@ -78360,14 +89797,14 @@ (define-public rust-widestring-0.4 (define-public rust-wild-2 (package (name "rust-wild") - (version "2.1.0") + (version "2.2.1") (source (origin (method url-fetch) (uri (crate-uri "wild" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0x0a65qrifm3q1gp7cy74qw69nr6zz5k8cqhb8pwbq3bb9l1dc85")))) + (base32 "1q8hnhmv3fvgx0j7bv8qig00599a15mfsdhgx3hq2ljpiky1l4x3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glob" ,rust-glob-0.3)) @@ -78379,18 +89816,70 @@ (define-public rust-wild-2 command-line, uniformly on all platforms") (license (list license:asl2.0 license:expat)))) -(define-public rust-winnow-0.5 +(define-public rust-wildmatch-2 + (package + (name "rust-wildmatch") + (version "2.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "wildmatch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09dhkskicsyi74abcav57mschy7g16r9ibfsgwsl45bkpk0mk7lk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-glob" ,rust-glob-0.3) + ("rust-ntest" ,rust-ntest-0.9) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-regex-lite" ,rust-regex-lite-0.1)))) + (home-page "https://github.com/becheran/wildmatch") + (synopsis + "String matching with single- and multi-character wildcard operator") + (description "This package provides simple string matching with single- and +multi-character wildcard operator.") + (license license:expat))) + +(define-public rust-winnow-0.6 (package (name "rust-winnow") - (version "0.5.31") + (version "0.6.5") (source (origin (method url-fetch) (uri (crate-uri "winnow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0734xa05a1x1wg2kcphdhfb39pdcy5qpaf1sjll6qk8kdcp8i94p")))) + (base32 "1f0m48kfdvds456b1i1qd6ia9w3mckk2jf4q6z94snpdcw741ynz")))) (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency graph. + #:cargo-inputs (("rust-anstream" ,rust-anstream-0.3) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-terminal-size" ,rust-terminal-size-0.2)))) + (home-page "https://github.com/winnow-rs/winnow") + (synopsis "Byte-oriented, zero-copy, parser combinators library") + (description "This package provides a byte-oriented, zero-copy, parser +combinators library.") + (license license:expat))) + +(define-public rust-winnow-0.5 + (package + (inherit rust-winnow-0.6) + (name "rust-winnow") + (version "0.5.40") + (source + (origin + (method url-fetch) + (uri (crate-uri "winnow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xk8maai7gyxda673mmw3pj1hdizy5fpi7287vaywykkk19sk4zm")))) (arguments `(#:skip-build? #t ; Cut the dependency graph. #:cargo-inputs @@ -78398,12 +89887,7 @@ (define-public rust-winnow-0.5 ("rust-anstyle" ,rust-anstyle-1) ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-memchr" ,rust-memchr-2) - ("rust-terminal-size" ,rust-terminal-size-0.2)))) - (home-page "https://github.com/winnow-rs/winnow") - (synopsis "Byte-oriented, zero-copy, parser combinators library") - (description "This package provides a byte-oriented, zero-copy, parser -combinators library.") - (license license:expat))) + ("rust-terminal-size" ,rust-terminal-size-0.2)))))) (define-public rust-winnow-0.4 (package @@ -78598,21 +90082,27 @@ (define-public rust-x86-0.33 (define-public rust-xattr-1 (package (name "rust-xattr") - (version "1.0.1") + (version "1.3.1") (source (origin (method url-fetch) (uri (crate-uri "xattr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11b93igkwsq88b6m14x63c13zns418njh6ngvg2fbwqzyw4n0s7l")))) + (base32 "0kqxm36w89vc6qcpn6pizlhgjgzq138sx4hdhbv2g6wk4ld4za4d")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Tries to access files outside of build environment. + `(#:cargo-test-flags '("--release" "--" + "--skip=test_fd" + "--skip=test_multi" + "--skip=test_path") #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)) + (("rust-libc" ,rust-libc-0.2) + ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.4) + ("rust-rustix" ,rust-rustix-0.38)) #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))) + (("rust-rustix" ,rust-rustix-0.38) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/Stebalien/xattr") (synopsis "Unix extended file system attributes") (description @@ -78938,23 +90428,45 @@ (define-public rust-xmltree-0.8 (define-public rust-xxhash-rust-0.8 (package (name "rust-xxhash-rust") - (version "0.8.2") + (version "0.8.10") (source (origin (method url-fetch) (uri (crate-uri "xxhash-rust" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1v9dk6shls1rsmidf2dxdi3460bn7ingqgvn5mf7prgnxmdy2xg5")))) + (base32 "00zfsfigb6zh0x8aaickkkyd3vyjgnrq36ym04lil7my4lgahzcj")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t)) + `(#:tests? #f ; Only doc tests, which fail. + #:cargo-development-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-xxhash-c-sys" ,rust-xxhash-c-sys-0.8)))) (home-page "https://github.com/DoumanAsh/xxhash-rust") (synopsis "Implementation of xxHash in Rust") (description "This package provides an implementation of the xxHash algorithm in Rust.") (license license:boost1.0))) +(define-public rust-xxhash-c-sys-0.8 + (package + (name "rust-xxhash-c-sys") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "xxhash-c-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13g8cy4w91nwmficbmkrqp40axpwidcna588gzxr47m0ld99jh6j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/DoumanAsh/xxhash-c-sys") + (synopsis "Bindings to xxhash") + (description "This package provides bindings to xxhash.") + (license license:boost1.0))) + (define-public rust-xz-0.1 (package (name "rust-xz") @@ -78981,7 +90493,7 @@ (define-public rust-xz-0.1 (define-public rust-xz2-0.1 (package (name "rust-xz2") - (version "0.1.6") + (version "0.1.7") (source (origin (method url-fetch) @@ -78989,17 +90501,20 @@ (define-public rust-xz2-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0v4jb0193gx8s1kvd2ajsgh0ffmwhqhfmrrw1n1h2z7w6jgqcyf1")))) + "1qk7nzpblizvayyq4xzi4b0zacmmbqr6vb9fc0v1avyp17f4931q")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included in the tarball. + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included in the tarball. + "--skip=standard_files") #:cargo-inputs (("rust-futures" ,rust-futures-0.1) ("rust-lzma-sys" ,rust-lzma-sys-0.1) ("rust-tokio-io" ,rust-tokio-io-0.1)) #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.7) - ("rust-rand" ,rust-rand-0.5) + (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) ("rust-tokio-core" ,rust-tokio-core-0.1)))) (native-inputs (list pkg-config xz)) @@ -79216,6 +90731,28 @@ (define-public rust-yeslogic-fontconfig-sys-2 (("rust-const-cstr" ,rust-const-cstr-0.3) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) +(define-public rust-z-base-32-0.1 + (package + (name "rust-z-base-32") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "z-base-32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fqk028mzvgnx9phqzvhzrx3fbzv4r736cm3x3hid136g157pgr1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-pyo3" ,rust-pyo3-0.20)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/matusf/z-base-32") + (synopsis "Human-oriented base-32 encoding") + (description "This package provides human-oriented base-32 encoding.") + (license license:expat))) + (define-public rust-zbase32-0.1 (package (name "rust-zbase32") @@ -79455,7 +90992,12 @@ (define-public rust-zerocopy-0.7 (uri (crate-uri "zerocopy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l")))) + (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `testutil` @@ -79521,7 +91063,12 @@ (define-public rust-zerocopy-derive-0.7 (uri (crate-uri "zerocopy-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw")))) + (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `zerocopy` @@ -79666,6 +91213,8 @@ (define-public rust-zip-0.6 ("rust-getrandom" ,rust-getrandom-0.2) ("rust-time" ,rust-time-0.3) ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) (home-page "https://github.com/zip-rs/zip") (synopsis "Library to support the reading and writing of zip files") @@ -79695,7 +91244,9 @@ (define-public rust-zip-0.5 ("rust-crc32fast" ,rust-crc32fast-1) ("rust-flate2" ,rust-flate2-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.1)))))) + ("rust-time" ,rust-time-0.1)))) + (native-inputs '()) + (inputs '()))) (define-public rust-zoneinfo-compiled-0.5 (package @@ -79740,6 +91291,8 @@ (define-public rust-zstd-0.13 ("rust-humansize" ,rust-humansize-2) ("rust-partial-io" ,rust-partial-io-0.5) ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) (home-page "https://github.com/gyscos/zstd-rs") (synopsis "Binding to the zstd compression library") (description @@ -79816,7 +91369,9 @@ (define-public rust-zstd-0.9 (("rust-clap" ,rust-clap-3) ("rust-humansize" ,rust-humansize-1) ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))))) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs '()) + (inputs '()))) (define-public rust-zstd-safe-7 (package @@ -79832,6 +91387,8 @@ (define-public rust-zstd-safe-7 (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-zstd-sys" ,rust-zstd-sys-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) (home-page "https://github.com/gyscos/zstd-rs") (synopsis "Safe low-level bindings to the zstd compression library") (description @@ -79888,31 +91445,31 @@ (define-public rust-zstd-safe-4 (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-zstd-sys" ,rust-zstd-sys-1)))))) + ("rust-zstd-sys" ,rust-zstd-sys-1)))) + (native-inputs '()) + (inputs '()))) -;; TODO: Unbundle zstd. -;; The 'legacy' feature, enabled by default, needs headers which aren't -;; installed by default in zstd. (define-public rust-zstd-sys-2 (package (name "rust-zstd-sys") - (version "2.0.8+zstd.1.5.5") + (version "2.0.10+zstd.1.5.6") (source (origin (method url-fetch) (uri (crate-uri "zstd-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "137c0wkxb04l0ig5df8a1ni94dl0g2ibz2q9dicg4bfk4ppfcmjm")))) + (base32 "1ak51pq1ni6q3qgyr58iq1pcz0vyh80f8vn8m27zrfpm9a8s8ly2")) + (snippet #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "zstd"))))) (build-system cargo-build-system) (arguments - `(#:install-source? #f ; invalid inclusion of reserved file name - #:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.64) - ("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) (home-page "https://github.com/gyscos/zstd-rs") (synopsis "Low-level bindings to the zstd compression library") (description "This package provides low-level Rust bindings to the zstd diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index ee061cedcf..61ce82cda8 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2020 Valentin Ignatev ;;; Copyright © 2020, 2023, 2024 Efraim Flashner -;;; Copyright © 2020, 2021 Nicolas Goaziou +;;; Copyright © 2020, 2021, 2024 Nicolas Goaziou ;;; Copyright © 2021 Alexandru-Sergiu Marton ;;; Copyright © 2022 Aleksandr Vityazev ;;; Copyright © 2022 Ricardo Wurmus @@ -424,18 +424,19 @@ (define-public rust-aws-lc-sys-0.13 (define-public rust-der-0.7 (package (name "rust-der") - (version "0.7.5") + (version "0.7.8") (source (origin (method url-fetch) (uri (crate-uri "der" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06f2clallhpjc51s3dc7mpcw5ms3jak727qc5yrfg3ncrpzqvr85")))) + "070bwiyr80800h31c5zd96ckkgagfjgnrrdmz3dzg2lccsd3dypz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bytes" ,rust-bytes-1) ("rust-const-oid" ,rust-const-oid-0.9) ("rust-der-derive" ,rust-der-derive-0.7) ("rust-flagset" ,rust-flagset-0.4) @@ -523,14 +524,14 @@ (define-public rust-der-0.4 (define-public rust-der-derive-0.7 (package (name "rust-der-derive") - (version "0.7.1") + (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "der_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0cmyza28s52wfb67ymydjmvsc4m3sfp98dv9vprx6ibmdfx94iqi")))) + "0jg0y3k46bpygwc5cqha07axz5sdnsx5116g3nxf0rwrabj7rs2z")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1451,18 +1452,22 @@ (define-public rust-rustls-pemfile-0.2 (define-public rust-rustls-pki-types-1 (package (name "rust-rustls-pki-types") - (version "1.0.1") + (version "1.7.0") (source (origin (method url-fetch) (uri (crate-uri "rustls-pki-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16rkx6gn5l2zximxy8fx9h2vzks1hfxi5z5cd9y97r0fl853wrz7")))) + (base32 "0banlc9xzwqrx8n0h4bd0igmq3z5hc72rn941lf22cp3gkkraqlp")))) (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-web-time" ,rust-web-time-1)))) (home-page "https://github.com/rustls/pki-types") (synopsis "Shared types for the rustls PKI ecosystem") - (description "Shared types for the rustls PKI ecosystem.") + (description + "This crate provides shared types for the rustls PKI ecosystem.") (license (list license:expat license:asl2.0)))) (define-public rust-rustls-webpki-0.102 @@ -1578,6 +1583,42 @@ (define-public rust-tls-parser-0.11 (description "This package provides a Rust parser for the TLS protocol.") (license (list license:expat license:asl2.0)))) +(define-public rust-x509-cert-0.2 + (package + (name "rust-x509-cert") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "x509-cert" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "155f42vm6m7phn8w7s2wmk9vli3ws45dqpk5z3jilw0a04syj08k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-const-oid" ,rust-const-oid-0.9) + ("rust-der" ,rust-der-0.7) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-spki" ,rust-spki-0.7) + ("rust-tls-codec" ,rust-tls-codec-0.4)) + #:cargo-development-inputs + (("rust-ecdsa" ,rust-ecdsa-0.16) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-p256" ,rust-p256-0.13) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/x509-cert") + (synopsis "X.509 Public Key Infrastructure Certificate format in Rust") + (description + "This package provides a pure Rust implementation of the X.509 +Public Key Infrastructure Certificate format as described in RFC 5280.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-x509-parser-0.15 (package (name "rust-x509-parser") diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 6a3ff50edb..e6aa0ddf10 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -44,6 +44,52 @@ (define-module (gnu packages crates-vcs) #:use-module (gnu packages tls) #:use-module (gnu packages version-control)) +(define-public rust-asyncgit-0.25 + (package + (name "rust-asyncgit") + (version "0.25.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "asyncgit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05qlwp63k5zd4yd7n18v6bs32fhbx5qlsc98j203maacy0vlm9h7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip" "reject_in_subfolder" ; /bin/sh + "--skip" "test_pre_commit_workdir" ; /bin/sh + "--skip" "sync::submodules::tests::test_smoke") ; network + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-easy-cast" ,rust-easy-cast-0.5) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-git2" ,rust-git2-0.18) + ("rust-git2-hooks" ,rust-git2-hooks-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-rayon" ,rust-rayon-1) + ("rust-rayon-core" ,rust-rayon-core-1) + ("rust-scopetime" ,rust-scopetime-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-truncate" ,rust-unicode-truncate-0.2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.11) + ("rust-invalidstring" ,rust-invalidstring-0.1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config git-minimal)) + (inputs (list libgit2-1.7 libssh2 openssl zlib)) + (home-page "https://github.com/extrawurst/gitui") + (synopsis "Use git2 in an asynchronous context") + (description + "This package provides for using git2 in an asynchronous context.") + (license license:expat))) + (define-public rust-git-testament-0.2 (package (name "rust-git-testament") @@ -170,14 +216,14 @@ (define-public rust-git-version-macro-0.3 (define-public rust-git2-0.18 (package (name "rust-git2") - (version "0.18.1") + (version "0.18.3") (source (origin (method url-fetch) (uri (crate-uri "git2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kf0kvg3i7p1223zs2h9fz99ndm0l9kdx3hcw63g73dh5nlppygv")))) + (base32 "0w7gcq6v9kdlh0vcv27xrk09c1bhkarqhnp52pvnnximzrxnlbi3")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -189,7 +235,7 @@ (define-public rust-git2-0.18 ("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) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) ("rust-tempfile" ,rust-tempfile-3) ("rust-time" ,rust-time-0.1)))) (native-inputs (list pkg-config)) @@ -421,8 +467,198 @@ (define-public rust-git2-curl-0.17 ("rust-log" ,rust-log-0.4) ("rust-url" ,rust-url-2)))))) +(define-public rust-git2-hooks-0.3 + (package + (name "rust-git2-hooks") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2-hooks" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1grq79ggjp2b10yxl205kjkfqcijmmncnf47az3g1g713irpzgwx")))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 libssh2 openssl zlib)) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; missing git2_testing + #:cargo-inputs (("rust-git2" ,rust-git2-0.17) + ("rust-log" ,rust-log-0.4) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/extrawurst/gitui") + (synopsis "Git hooks") + (description "This crate adds git hooks support based on git2-rs.") + (license license:expat))) + +(define-public rust-gix-0.57 + (package + (name "rust-gix") + (version "0.57.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pnprvkywvzqqzlm5zsawjzjx71zh36q45ffm40bbiwj50w2bl3d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-curl" ,rust-curl-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.29) + ("rust-gix-archive" ,rust-gix-archive-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.21) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.23) + ("rust-gix-config" ,rust-gix-config-0.33) + ("rust-gix-credentials" ,rust-gix-credentials-0.23) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-diff" ,rust-gix-diff-0.39) + ("rust-gix-discover" ,rust-gix-discover-0.28) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-filter" ,rust-gix-filter-0.8) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-ignore" ,rust-gix-ignore-0.10) + ("rust-gix-index" ,rust-gix-index-0.28) + ("rust-gix-lock" ,rust-gix-lock-12) + ("rust-gix-macros" ,rust-gix-macros-0.1) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.21) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.11) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-odb" ,rust-gix-odb-0.56) + ("rust-gix-pack" ,rust-gix-pack-0.46) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.5) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-protocol" ,rust-gix-protocol-0.43) + ("rust-gix-ref" ,rust-gix-ref-0.40) + ("rust-gix-refspec" ,rust-gix-refspec-0.21) + ("rust-gix-revision" ,rust-gix-revision-0.25) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.4) + ("rust-gix-submodule" ,rust-gix-submodule-0.7) + ("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.40) + ("rust-gix-traverse" ,rust-gix-traverse-0.36) + ("rust-gix-url" ,rust-gix-url-0.26) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-gix-worktree" ,rust-gix-worktree-0.29) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.6) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-28) + ("rust-regex" ,rust-regex-1) + ("rust-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.56 + (package + (inherit rust-gix-0.57) + (name "rust-gix") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jqq0vl71qdphspdkcanjkwp4pk35bmafh7sjxc56rhdqv4ws3av")))) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-curl" ,rust-curl-0.4) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.28) + ("rust-gix-archive" ,rust-gix-archive-0.7) + ("rust-gix-attributes" ,rust-gix-attributes-0.20) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.22) + ("rust-gix-config" ,rust-gix-config-0.32) + ("rust-gix-credentials" ,rust-gix-credentials-0.22) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-diff" ,rust-gix-diff-0.38) + ("rust-gix-discover" ,rust-gix-discover-0.27) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-filter" ,rust-gix-filter-0.7) + ("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.27) + ("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.10) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-odb" ,rust-gix-odb-0.55) + ("rust-gix-pack" ,rust-gix-pack-0.45) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.4) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-protocol" ,rust-gix-protocol-0.42) + ("rust-gix-ref" ,rust-gix-ref-0.39) + ("rust-gix-refspec" ,rust-gix-refspec-0.20) + ("rust-gix-revision" ,rust-gix-revision-0.24) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.10) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.3) + ("rust-gix-submodule" ,rust-gix-submodule-0.6) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.39) + ("rust-gix-traverse" ,rust-gix-traverse-0.35) + ("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.28) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.5) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.7) + ("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.55 (package + (inherit rust-gix-0.56) (name "rust-gix") (version "0.55.2") (source @@ -432,7 +668,6 @@ (define-public rust-gix-0.55 (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) @@ -495,12 +730,7 @@ (define-public rust-gix-0.55 ("rust-async-std" ,rust-async-std-1) ("rust-is-ci" ,rust-is-ci-1) ("rust-serial-test" ,rust-serial-test-2) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Interact with Git repositories using a pure Rust implementation") - (description "Gitoxide is a pure Rust implementation of Git that aims to be lean -and correct. Interact with Git repositories just like Git would.") - (license (list license:expat license:asl2.0)))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-gix-0.54 (package @@ -647,8 +877,40 @@ (define-public rust-gix-0.45 ("rust-serial-test" ,rust-serial-test-2) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-gix-actor-0.29 + (package + (name "rust-gix-actor") + (version "0.29.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n6rq4nln61kvppz304llwl3ricckx04ikfwj7w5zixm9amva9ys")))) + (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.37) + ("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.28 (package + (inherit rust-gix-actor-0.29) (name "rust-gix-actor") (version "0.28.1") (source @@ -658,7 +920,6 @@ (define-public rust-gix-actor-0.28 (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) @@ -670,12 +931,8 @@ (define-public rust-gix-actor-0.28 ("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)))) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-gix-actor-0.27 (package @@ -731,8 +988,64 @@ (define-public rust-gix-actor-0.21 #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-archive-0.8 + (package + (name "rust-gix-archive") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04yz6382qx6r6g1x2czvpz80ympa33mg3ihkmdf2mcahmgc1mz8w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.8) + ("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.7 + (package + (inherit rust-gix-archive-0.8) + (name "rust-gix-archive") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-archive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f6c5qmf905wm1fp0ra255925avzwgvp7p2rrpqnk4xwiidhklf9")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.7) + ("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-archive-0.6 (package + (inherit rust-gix-archive-0.7) (name "rust-gix-archive") (version "0.6.0") (source @@ -742,7 +1055,6 @@ (define-public rust-gix-archive-0.6 (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) @@ -755,12 +1067,7 @@ (define-public rust-gix-archive-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)))) + ("rust-zip" ,rust-zip-0.6)))))) (define-public rust-gix-archive-0.5 (package @@ -788,22 +1095,22 @@ (define-public rust-gix-archive-0.5 ("rust-time" ,rust-time-0.3) ("rust-zip" ,rust-zip-0.6)))))) -(define-public rust-gix-attributes-0.20 +(define-public rust-gix-attributes-0.21 (package (name "rust-gix-attributes") - (version "0.20.1") + (version "0.21.1") (source (origin (method url-fetch) (uri (crate-uri "gix-attributes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "109kciz3cssfbx9zgslngdrkzwf3zd9mlv0srm3yqxlcsdlm8f8g")))) + (base32 "066y16rw994wrvvhv1xwf5gnc51bh727jxyql7wzrkkb7mhffvdx")))) (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-glob" ,rust-gix-glob-0.15) ("rust-gix-path" ,rust-gix-path-0.10) ("rust-gix-quote" ,rust-gix-quote-0.4) ("rust-gix-trace" ,rust-gix-trace-0.1) @@ -819,6 +1126,31 @@ (define-public rust-gix-attributes-0.20 @code{.gitattributes} files.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-attributes-0.20 + (package + (inherit rust-gix-attributes-0.21) + (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")))) + (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)))))) + (define-public rust-gix-attributes-0.19 (package (inherit rust-gix-attributes-0.20) @@ -873,14 +1205,14 @@ (define-public rust-gix-attributes-0.13 (define-public rust-gix-bitmap-0.2 (package (name "rust-gix-bitmap") - (version "0.2.10") + (version "0.2.11") (source (origin (method url-fetch) (uri (crate-uri "gix-bitmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09bk3y4mb4zpncqv07mj6n0if69g245b1jgsv96h70314h7wvdkq")))) + (base32 "1bl7gqqlsdwngvvpgj6cby07cwidf7m0yk6wv473zqflrdkdnwd3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) @@ -894,14 +1226,14 @@ (define-public rust-gix-bitmap-0.2 (define-public rust-gix-chunk-0.4 (package (name "rust-gix-chunk") - (version "0.4.7") + (version "0.4.8") (source (origin (method url-fetch) (uri (crate-uri "gix-chunk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y2wp3clilp5rdl727x4q4qw1chbgq91l9spq6h7d07nmkgccgh0")))) + (base32 "0lhcmzamr5rlcw8h9bvsjqn9dak1mwj3ng2i1djaf6wnd48pbj25")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) @@ -912,8 +1244,34 @@ (define-public rust-gix-chunk-0.4 commit-graph files.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-command-0.3 + (package + (name "rust-gix-command") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xsbllakppwpn3z5qzyivlqa7q068wry2a7dpr3xxcy41l10j07r")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-shell-words" ,rust-shell-words-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-command-0.2 (package + (inherit rust-gix-command-0.3) (name "rust-gix-command") (version "0.2.10") (source @@ -923,19 +1281,40 @@ (define-public rust-gix-command-0.2 (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)))) + #:cargo-inputs (("rust-bstr" ,rust-bstr-1)))))) + +(define-public rust-gix-commitgraph-0.23 + (package + (name "rust-gix-commitgraph") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-commitgraph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z0hn19phbwcwmvp6mn21pvmlq92jyjzw19y0rvs87wm6kscp3by")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/Byron/gitoxide") - (synopsis "Handle internal git command execution") - (description - "This package provides a crate of the gitoxide project handling internal git -command execution.") + (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.22 (package + (inherit rust-gix-commitgraph-0.23) (name "rust-gix-commitgraph") (version "0.22.1") (source @@ -945,7 +1324,6 @@ (define-public rust-gix-commitgraph-0.22 (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) @@ -954,12 +1332,7 @@ (define-public rust-gix-commitgraph-0.22 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-commitgraph-0.21 (package @@ -1006,8 +1379,75 @@ (define-public rust-gix-commitgraph-0.16 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-config-0.33 + (package + (name "rust-gix-config") + (version "0.33.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y8h4j2rzdvh20a0clchsy6kga8dlaivapzfqk5av71nbf2h8wrn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.40) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-winnow" ,rust-winnow-0.5)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Git-config file parser and editor from the Gitoxide project") + (description + "This package provides a git-config file parser and editor from the +Gitoxide project. Gitoxide is a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-config-0.32 + (package + (inherit rust-gix-config-0.33) + (name "rust-gix-config") + (version "0.32.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hz0rj2nx16jrmp6sjzamk2wk96zcmq1s4lfp2c6wryqalflfh83")))) + (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.39) + ("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.31 (package + (inherit rust-gix-config-0.32) (name "rust-gix-config") (version "0.31.0") (source @@ -1017,7 +1457,6 @@ (define-public rust-gix-config-0.31 (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) @@ -1034,13 +1473,7 @@ (define-public rust-gix-config-0.31 ("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)))) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))))) (define-public rust-gix-config-0.30 (package @@ -1110,14 +1543,14 @@ (define-public rust-gix-config-0.23 (define-public rust-gix-config-value-0.14 (package (name "rust-gix-config-value") - (version "0.14.4") + (version "0.14.6") (source (origin (method url-fetch) (uri (crate-uri "gix-config-value" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0n1rbwp35jwjwhx61r6vdgan22ladmxb73a6p386x91pzdxix2jv")))) + (base32 "0158q089kc151h3n0wk43fg4s28v0cjscll2r1w3mcx9n41n5l7v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -1156,8 +1589,65 @@ (define-public rust-gix-config-value-0.12 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-credentials-0.23 + (package + (name "rust-gix-credentials") + (version "0.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07wpl3ahldcaa44iscr8ashbym0x51rw8gj0wqx78qqpqfkz631q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-url" ,rust-gix-url-0.26) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (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 helpers.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-credentials-0.22 + (package + (inherit rust-gix-credentials-0.23) + (name "rust-gix-credentials") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gcgr1wvgji9l4wk8pifabb77r48b8x5llx0s1mr89qb8m1aqgai")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-credentials-0.21 (package + (inherit rust-gix-credentials-0.22) (name "rust-gix-credentials") (version "0.21.0") (source @@ -1167,7 +1657,6 @@ (define-public rust-gix-credentials-0.21 (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) @@ -1179,13 +1668,7 @@ (define-public rust-gix-credentials-0.21 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-credentials-0.20 (package @@ -1241,14 +1724,14 @@ (define-public rust-gix-credentials-0.15 (define-public rust-gix-date-0.8 (package (name "rust-gix-date") - (version "0.8.3") + (version "0.8.5") (source (origin (method url-fetch) (uri (crate-uri "gix-date" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zh6yjxvzxbw92gz3f6846cbxk66wdjbwhp6nm4k9gmyfbxkszzv")))) + (base32 "1755v9rxk388x8ypinlmw5qcl2q9qxll3kinppghx1s1985162qq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -1287,8 +1770,72 @@ (define-public rust-gix-date-0.5 #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-gix-diff-0.39 + (package + (name "rust-gix-diff") + (version "0.39.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fmrkrs2d3sfkrr0k0mvglmhhz3igh2q9w772xpnhbf4z1a08spx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-filter" ,rust-gix-filter-0.8) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.29) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Calculate differences between various Git objects") + (description "Calculate differences between various Git objects. This +package is a part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-diff-0.38 + (package + (inherit rust-gix-diff-0.39) + (name "rust-gix-diff") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pf88521djzb0gygr0idi1rqlxdwcjym2bprpps6izkwi22sj6c1")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-filter" ,rust-gix-filter-0.7) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.28) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-diff-0.37 (package + (inherit rust-gix-diff-0.38) (name "rust-gix-diff") (version "0.37.0") (source @@ -1298,7 +1845,6 @@ (define-public rust-gix-diff-0.37 (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) @@ -1306,12 +1852,7 @@ (define-public rust-gix-diff-0.37 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-diff-0.36 (package @@ -1355,24 +1896,24 @@ (define-public rust-gix-diff-0.30 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-discover-0.26 +(define-public rust-gix-discover-0.28 (package (name "rust-gix-discover") - (version "0.26.0") + (version "0.28.1") (source (origin (method url-fetch) (uri (crate-uri "gix-discover" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wlhqkrfyln97arr3hyllw4xc9gnk2qb4nkh70z8hy0i6bq5qpd4")))) + (base32 "1mj29906cd3qn9q6am0fc2k2g63jvz3cqim652fqjgfwds4v5mxq")))) (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-hash" ,rust-gix-hash-0.14) ("rust-gix-path" ,rust-gix-path-0.10) - ("rust-gix-ref" ,rust-gix-ref-0.38) + ("rust-gix-ref" ,rust-gix-ref-0.40) ("rust-gix-sec" ,rust-gix-sec-0.10) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-defer" ,rust-defer-0.1) @@ -1387,6 +1928,56 @@ (define-public rust-gix-discover-0.26 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.27 + (package + (inherit rust-gix-discover-0.28) + (name "rust-gix-discover") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01wwjb9g91nzjfnlhgblsdn7nh8259714r44yxykn2xydr0qkbbg")))) + (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.39) + ("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.26 + (package + (inherit rust-gix-discover-0.27) + (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")))) + (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)))))) + (define-public rust-gix-discover-0.25 (package (inherit rust-gix-discover-0.26) @@ -1441,8 +2032,81 @@ (define-public rust-gix-discover-0.19 ("rust-serial-test" ,rust-serial-test-2) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-features-0.38 + (package + (name "rust-gix-features") + (version "0.38.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-features" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0drbqqn7bxf4zqbnc34zf5ls6ih1flrr79vs6sh4g8i0gl1m8hnv")))) + (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.14) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-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-28) + ("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.37 + (package + (inherit rust-gix-features-0.38) + (name "rust-gix-features") + (version "0.37.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-features" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bsp9lb4cy00irinxis6wvqvsdcm9fc1fnvkl05z6rf6vkl700nm")))) + (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.14) + ("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-28) + ("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.36 (package + (inherit rust-gix-features-0.38) (name "rust-gix-features") (version "0.36.1") (source @@ -1452,7 +2116,6 @@ (define-public rust-gix-features-0.36 (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) @@ -1471,14 +2134,7 @@ (define-public rust-gix-features-0.36 ("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)))) + #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)))))) (define-public rust-gix-features-0.35 (package @@ -1545,8 +2201,71 @@ (define-public rust-gix-features-0.30 #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1)))))) +(define-public rust-gix-filter-0.8 + (package + (name "rust-gix-filter") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05p5yr0syd91k0yfn6pdqw66yvbq7q6ffzpd53s5g7dzi3bc367m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.21) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-0.17) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-2)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this package implements Git filters in Rust") + (description + "This package provides a crate from the Gitoxide project implementing +Git filters in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-filter-0.7 + (package + (inherit rust-gix-filter-0.8) + (name "rust-gix-filter") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w1bgvzr9yjrh00ba2325lwy32x2r4crr496qbkn9hsmisfmqskd")))) + (arguments + `(#: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.3) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-0.17) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) + (define-public rust-gix-filter-0.6 (package + (inherit rust-gix-filter-0.7) (name "rust-gix-filter") (version "0.6.0") (source @@ -1556,7 +2275,6 @@ (define-public rust-gix-filter-0.6 (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) @@ -1571,13 +2289,7 @@ (define-public rust-gix-filter-0.6 ("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)))) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) (define-public rust-gix-filter-0.5 (package @@ -1607,8 +2319,32 @@ (define-public rust-gix-filter-0.5 ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))))) +(define-public rust-gix-fs-0.9 + (package + (name "rust-gix-fs") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pgcmp17qizq2zk0s7cn08kd9jhq9rlkk2fbpx5l6dsm00xc4mbm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.37) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "File system utilities for Gitoxide") + (description + "Gitoxide is a pure Rust implementation of Git. This package provides +file system utilities for Gitoxide.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-fs-0.8 (package + (inherit rust-gix-fs-0.9) (name "rust-gix-fs") (version "0.8.1") (source @@ -1618,17 +2354,10 @@ (define-public rust-gix-fs-0.8 (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)))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-fs-0.7 (package @@ -1662,8 +2391,35 @@ (define-public rust-gix-fs-0.2 `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.30)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-glob-0.15 + (package + (name "rust-gix-glob") + (version "0.15.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f610aws4ah12phhbj7h4ypbkj8i00f4dpfw8gip09r6igqk4qmf")))) + (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.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Gitoxide project crate dealing with pattern matching") + (description + "This package provides a crate of the gitoxide project dealing with pattern +matching.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-glob-0.14 (package + (inherit rust-gix-glob-0.15) (name "rust-gix-glob") (version "0.14.1") (source @@ -1673,20 +2429,13 @@ (define-public rust-gix-glob-0.14 (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)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-gix-glob-0.13 (package @@ -1731,17 +2480,17 @@ (define-public rust-gix-glob-0.8 ("rust-gix-path" ,rust-gix-path-0.8) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-gix-hash-0.13 +(define-public rust-gix-hash-0.14 (package (name "rust-gix-hash") - (version "0.13.3") + (version "0.14.2") (source (origin (method url-fetch) (uri (crate-uri "gix-hash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q1xcp8f5prpyr4x62jixrlgm99snscnf87bny1faqvg4v1gi30z")))) + (base32 "0pjdlxbqxd9lbkccryfw2ghifiq3gz9h8ylliw0va8b16vvpsggr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) @@ -1756,6 +2505,24 @@ (define-public rust-gix-hash-0.13 package is part of Gitoxide, a pure Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-hash-0.13 + (package + (inherit rust-gix-hash-0.14) + (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")))) + (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)))))) + (define-public rust-gix-hash-0.11 (package (inherit rust-gix-hash-0.13) @@ -1775,20 +2542,20 @@ (define-public rust-gix-hash-0.11 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-hashtable-0.4 +(define-public rust-gix-hashtable-0.5 (package (name "rust-gix-hashtable") - (version "0.4.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "gix-hashtable" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jnk93sz53b28ajkn4yrvmh0hj3x2jcb81h6nbqc8zkdh601idpy")))) + (base32 "0hp2m2rvbv0vav5lkq7d7bvx74qrb6w3hnj1rq3aq69wdzhq1pvx")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.13) + `(#:cargo-inputs (("rust-gix-hash" ,rust-gix-hash-0.14) ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-parking-lot" ,rust-parking-lot-0.12)))) (home-page "https://github.com/Byron/gitoxide") @@ -1799,6 +2566,23 @@ (define-public rust-gix-hashtable-0.4 keys. Part of Gitoxide a Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-hashtable-0.4 + (package + (inherit rust-gix-hashtable-0.5) + (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")))) + (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)))))) + (define-public rust-gix-hashtable-0.2 (package (inherit rust-gix-hashtable-0.4) @@ -1816,8 +2600,34 @@ (define-public rust-gix-hashtable-0.2 ("rust-hashbrown" ,rust-hashbrown-0.14) ("rust-parking-lot" ,rust-parking-lot-0.12)))))) +(define-public rust-gix-ignore-0.10 + (package + (name "rust-gix-ignore") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hr6zmh9gx1qx0rwzj1m44sn8plw5wspyi7kf9zdpbk01i2cwmpk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-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.9 (package + (inherit rust-gix-ignore-0.10) (name "rust-gix-ignore") (version "0.9.1") (source @@ -1827,19 +2637,13 @@ (define-public rust-gix-ignore-0.9 (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)))) + ("rust-unicode-bom" ,rust-unicode-bom-2)))))) (define-public rust-gix-ignore-0.8 (package @@ -1882,8 +2686,87 @@ (define-public rust-gix-ignore-0.3 ("rust-serde" ,rust-serde-1) ("rust-unicode-bom" ,rust-unicode-bom-2)))))) +(define-public rust-gix-index-0.28 + (package + (name "rust-gix-index") + (version "0.28.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y47r8830i6fw7djq6la8rn7badk8dvg50mqgxzi7m68yqyycl4y")))) + (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.37) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-12) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-traverse" ,rust-gix-traverse-0.36) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Part of Gitoxide, this crate implements the Git index file") + (description + "Part of Gitoxide, a pure Rust implementation of Rust. This package's +crate implements the Git index file.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-index-0.27 + (package + (inherit rust-gix-index-0.28) + (name "rust-gix-index") + (version "0.27.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "173yd650vwvd7ynmwsc7pbf4zr50x4qij3ab4xmfk4i9rpshiwzk")))) + (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.39) + ("rust-gix-traverse" ,rust-gix-traverse-0.35) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-index-0.26 (package + (inherit rust-gix-index-0.27) (name "rust-gix-index") (version "0.26.0") (source @@ -1893,7 +2776,6 @@ (define-public rust-gix-index-0.26 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0l0n7cld8m5fq1cnd3lyygmsirw5kzw7gxl8j082wbqv2b64yfn8")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -1914,13 +2796,7 @@ (define-public rust-gix-index-0.26 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-index-0.25 (package @@ -1987,8 +2863,32 @@ (define-public rust-gix-index-0.17 ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-lock-12 + (package + (name "rust-gix-lock") + (version "12.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "001bh0yx1xnkhnbkfj3p3v649sp5hypm4pgq9jsk1qpijy9l62pl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (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-11 (package + (inherit rust-gix-lock-12) (name "rust-gix-lock") (version "11.0.1") (source @@ -1998,17 +2898,11 @@ (define-public rust-gix-lock-11 (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)))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-lock-10 (package @@ -2051,14 +2945,14 @@ (define-public rust-gix-lock-6 (define-public rust-gix-macros-0.1 (package (name "rust-gix-macros") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "gix-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1fz8dqvavv28b6fksjdff4cj6sld3dvxh6nwdmgmk7q552vplpnp")))) + (base32 "0cj048i0a5xzqbv99514xfvhxwn833yzaclkmc9pfzp62j7l7zqx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -2071,22 +2965,22 @@ (define-public rust-gix-macros-0.1 implementation of Git.") (license (list license:expat license:asl2.0)))) -(define-public rust-gix-mailmap-0.20 +(define-public rust-gix-mailmap-0.21 (package (name "rust-gix-mailmap") - (version "0.20.1") + (version "0.21.1") (source (origin (method url-fetch) (uri (crate-uri "gix-mailmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "01wzzs8gifl6i4vzwbx1ywzwgazy1db6yfh8b3bjsssy1pn5ycp2")))) + (base32 "05sscbs0qzn40syp0v7s2xrjx10pdfqqg53axr8xrggcmv1mm1dv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.28) + ("rust-gix-actor" ,rust-gix-actor-0.29) ("rust-gix-date" ,rust-gix-date-0.8) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))) @@ -2097,6 +2991,26 @@ (define-public rust-gix-mailmap-0.20 Gitoxide, a pure Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-mailmap-0.20 + (package + (inherit rust-gix-mailmap-0.21) + (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")))) + (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)))))) + (define-public rust-gix-mailmap-0.19 (package (inherit rust-gix-mailmap-0.20) @@ -2139,8 +3053,59 @@ (define-public rust-gix-mailmap-0.13 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-negotiate-0.11 + (package + (name "rust-gix-negotiate") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10nmbml8jz86rq6p2pcc4i7ks0naa9s069i80nnzcng2x6shp0p6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.23) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements Git's negotiation algorithms as part of Gixoxide") + (description + "Gitoxide is a pure Rust implementation of Git. This package consists of +Git's negotiation algorithms.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-negotiate-0.10 + (package + (inherit rust-gix-negotiate-0.11) + (name "rust-gix-negotiate") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0540dz6pcybn1g3mq47nvpnmj90akkrasl4b07fv6lf0v766m7wp")))) + (arguments + `(#: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.39) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-negotiate-0.9 (package + (inherit rust-gix-negotiate-0.10) (name "rust-gix-negotiate") (version "0.9.0") (source @@ -2150,7 +3115,6 @@ (define-public rust-gix-negotiate-0.9 (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) @@ -2160,13 +3124,7 @@ (define-public rust-gix-negotiate-0.9 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-negotiate-0.8 (package @@ -2214,26 +3172,26 @@ (define-public rust-gix-negotiate-0.2 ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-object-0.38 +(define-public rust-gix-object-0.40 (package (name "rust-gix-object") - (version "0.38.0") + (version "0.40.1") (source (origin (method url-fetch) (uri (crate-uri "gix-object" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lbaz0mzsg5vvm5qvi1nf6f0hyz62hfx18xk3h57fn3z4r22l3vl")))) + (base32 "18hklfk1a1mpnr1syxb40dhy92c5yfl6b1ilvsgv8hdaiwp4128c")))) (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-actor" ,rust-gix-actor-0.29) ("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-features" ,rust-gix-features-0.37) + ("rust-gix-hash" ,rust-gix-hash-0.14) ("rust-gix-validate" ,rust-gix-validate-0.8) ("rust-itoa" ,rust-itoa-1) ("rust-serde" ,rust-serde-1) @@ -2252,6 +3210,66 @@ (define-public rust-gix-object-0.38 support.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-object-0.39 + (package + (inherit rust-gix-object-0.40) + (name "rust-gix-object") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cqya07cwq0wcx2kzmxsm9acpl4mwsxwfx797z3c282phb2pkgzy")))) + (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)))))) + +(define-public rust-gix-object-0.38 + (package + (inherit rust-gix-object-0.39) + (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")))) + (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)))))) + (define-public rust-gix-object-0.37 (package (inherit rust-gix-object-0.38) @@ -2312,8 +3330,68 @@ (define-public rust-gix-object-0.30 #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-odb-0.56 + (package + (name "rust-gix-odb") + (version "0.56.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c9kgiv8frpwz9nz9n6wai8xys8vawnfhw1mnz1cchfyffl6vbj6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-pack" ,rust-gix-pack-0.46) + ("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.55 + (package + (inherit rust-gix-odb-0.56) + (name "rust-gix-odb") + (version "0.55.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b1vr5yp96a3ik32a41rp749v2nir7n6hhwdrip9rja02nbmzbhz")))) + (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.39) + ("rust-gix-pack" ,rust-gix-pack-0.45) + ("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.54 (package + (inherit rust-gix-odb-0.55) (name "rust-gix-odb") (version "0.54.0") (source @@ -2323,7 +3401,6 @@ (define-public rust-gix-odb-0.54 (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) @@ -2337,12 +3414,7 @@ (define-public rust-gix-odb-0.54 ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-serde" ,rust-serde-1) ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements various Git object databases") - (description "Implements various Git object databases for Gitoxide. -Gitoxide is a pure Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-odb-0.53 (package @@ -2404,8 +3476,79 @@ (define-public rust-gix-odb-0.46 ("rust-maplit" ,rust-maplit-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-pack-0.46 + (package + (name "rust-gix-pack") + (version "0.46.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16jsy3b1rnp0xinwlaz71zsnamqzhnlys3a0bhnhf50ag514savq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared create gix_testtools + #:cargo-inputs (("rust-clru" ,rust-clru-0.6) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-diff" ,rust-gix-diff-0.39) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-traverse" ,rust-gix-traverse-0.36) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uluru" ,rust-uluru-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implements Git packs and related data structures") + (description + "Git packs and related data structures for Gitoxide. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-pack-0.45 + (package + (inherit rust-gix-pack-0.46) + (name "rust-gix-pack") + (version "0.45.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "019jbbbxq53r5l7sfh3vcbyyzagrmxhg6vs5fgrxsvs4j8f4jsa5")))) + (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.38) + ("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.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-11) + ("rust-gix-traverse" ,rust-gix-traverse-0.35) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uluru" ,rust-uluru-3)))))) + (define-public rust-gix-pack-0.44 (package + (inherit rust-gix-pack-0.45) (name "rust-gix-pack") (version "0.44.0") (source @@ -2415,7 +3558,6 @@ (define-public rust-gix-pack-0.44 (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) @@ -2434,13 +3576,7 @@ (define-public rust-gix-pack-0.44 ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-uluru" ,rust-uluru-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Implements Git packs and related data structures") - (description - "Git packs and related data structures for Gitoxide. Gitoxide is a pure -Rust implementation of Git.") - (license (list license:expat license:asl2.0)))) + ("rust-uluru" ,rust-uluru-3)))))) (define-public rust-gix-pack-0.43 (package @@ -2507,8 +3643,41 @@ (define-public rust-gix-pack-0.36 ("rust-thiserror" ,rust-thiserror-1) ("rust-uluru" ,rust-uluru-3)))))) +(define-public rust-gix-packetline-0.17 + (package + (name "rust-gix-packetline") + (version "0.17.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-packetline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05d5airkhk7pykgs4p1nwvscv62hb106xyjxnvavc0q9vaz8c15p")))) + (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.9) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-gix-trace" ,rust-gix-trace-0.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-0.16 (package + (inherit rust-gix-packetline-0.17) (name "rust-gix-packetline") (version "0.16.7") (source @@ -2518,7 +3687,6 @@ (define-public rust-gix-packetline-0.16 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ayp00k4a6qgjjyrd2rmzxyx0n8h36dxscjn1pzil5b4x6qq90wa")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -2531,17 +3699,38 @@ (define-public rust-gix-packetline-0.16 ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-maybe-async" ,rust-maybe-async-0.2)))) + ("rust-maybe-async" ,rust-maybe-async-0.2)))))) + +(define-public rust-gix-packetline-blocking-0.17 + (package + (name "rust-gix-packetline-blocking") + (version "0.17.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-packetline-blocking" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xx2kd51hbrrhsrixka0sc2chcyh6k090bjppzrjc3m57vfzd3na")))) + (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.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 - "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.") + "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-packetline-blocking-0.16 (package + (inherit rust-gix-packetline-blocking-0.17) (name "rust-gix-packetline-blocking") (version "0.16.6") (source @@ -2551,32 +3740,24 @@ (define-public rust-gix-packetline-blocking-0.16 (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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-path-0.10 (package (name "rust-gix-path") - (version "0.10.4") + (version "0.10.7") (source (origin (method url-fetch) (uri (crate-uri "gix-path" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h1fkwz2ll7ahyd3sy127w3bkcv4lncl1ml37z6bxldf44k2i9hl")))) + (base32 "10w7abk2wcp0w2y943sdlsic3xc91d6qr29zjinilsbmykq3qqi3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -2615,24 +3796,24 @@ (define-public rust-gix-path-0.8 #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-pathspec-0.4 +(define-public rust-gix-pathspec-0.5 (package (name "rust-gix-pathspec") - (version "0.4.1") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "gix-pathspec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ka9h2lfgbfbby5rciipgy6nkl1qkcrhp0xvr11z13m3flpvkfqx")))) + (base32 "0iqj3l4z29sg2z4bb21dn3n58wd1jgl6ydpnradzh13wa7lhxnqc")))) (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-attributes" ,rust-gix-attributes-0.21) ("rust-gix-config-value" ,rust-gix-config-value-0.14) - ("rust-gix-glob" ,rust-gix-glob-0.14) + ("rust-gix-glob" ,rust-gix-glob-0.15) ("rust-gix-path" ,rust-gix-path-0.10) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) @@ -2644,6 +3825,29 @@ (define-public rust-gix-pathspec-0.4 part of Gitoxide, a Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-pathspec-0.4 + (package + (inherit rust-gix-pathspec-0.5) + (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")))) + (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)))))) + (define-public rust-gix-pathspec-0.3 (package (inherit rust-gix-pathspec-0.4) @@ -2668,20 +3872,20 @@ (define-public rust-gix-pathspec-0.3 #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) ("rust-serial-test" ,rust-serial-test-2)))))) -(define-public rust-gix-prompt-0.7 +(define-public rust-gix-prompt-0.8 (package (name "rust-gix-prompt") - (version "0.7.0") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "gix-prompt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y26b3d7z222b223ir9qf8yqwhknzc3c5yksjffmwvsid4vr36jw")))) + (base32 "1n2m39if2wkxdgs3p2w8p5arv822sqaj6p7cbp9fbdg7gjqmwcpm")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.2) + `(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.3) ("rust-gix-config-value" ,rust-gix-config-value-0.14) ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-rustix" ,rust-rustix-0.38) @@ -2695,6 +3899,27 @@ (define-public rust-gix-prompt-0.7 terminals prompt.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-prompt-0.7 + (package + (inherit rust-gix-prompt-0.8) + (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")))) + (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)))))) + (define-public rust-gix-prompt-0.5 (package (inherit rust-gix-prompt-0.7) @@ -2718,8 +3943,79 @@ (define-public rust-gix-prompt-0.5 (("rust-expectrl" ,rust-expectrl-0.7) ("rust-serial-test" ,rust-serial-test-2)))))) +(define-public rust-gix-protocol-0.43 + (package + (name "rust-gix-protocol") + (version "0.43.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pfg4b0b6a753mxrp2x7jaclry6d88x3lzxx7dgi14ar8cw2g9gc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bstr" ,rust-bstr-1) + ("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-2) + ("rust-gix-credentials" ,rust-gix-credentials-0.23) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-transport" ,rust-gix-transport-0.40) + ("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.17)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Implementation of Git protocols that's part of Gitoxide") + (description + "This package implements Git protocols for Gitoxide. Gitoxide is a pure +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-protocol-0.42 + (package + (inherit rust-gix-protocol-0.43) + (name "rust-gix-protocol") + (version "0.42.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05zq1vpak1nd83155j4n7gqvj8zmzkxr39yybddd22yv0zs6wwwm")))) + (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.22) + ("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.39) + ("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.17)))))) + (define-public rust-gix-protocol-0.41 (package + (inherit rust-gix-protocol-0.42) (name "rust-gix-protocol") (version "0.41.1") (source @@ -2729,7 +4025,6 @@ (define-public rust-gix-protocol-0.41 (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) @@ -2746,14 +4041,9 @@ (define-public rust-gix-protocol-0.41 ("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)))) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) (define-public rust-gix-protocol-0.40 (package @@ -2822,19 +4112,19 @@ (define-public rust-gix-protocol-0.33 (define-public rust-gix-quote-0.4 (package (name "rust-gix-quote") - (version "0.4.10") + (version "0.4.12") (source (origin (method url-fetch) (uri (crate-uri "gix-quote" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07rjs58hp9mi41dpkd8idczaqdmhi08zi0pv206rcfnp0c1w2zcz")))) + (base32 "1zyrl6qchw2f6j25ian699ifzas3a5a2zrhflwjpmym3ksdlzzyb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) + ("rust-gix-utils" ,rust-gix-utils-0.1) ("rust-thiserror" ,rust-thiserror-1)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Various quotations used by git") @@ -2843,8 +4133,74 @@ (define-public rust-gix-quote-0.4 quotations used by git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-ref-0.40 + (package + (name "rust-gix-ref") + (version "0.40.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j96yj1j6mr06qspgxjdssssbf7dzj2bxz5224sqz3b3hhcvvnb4")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; undeclared crate gix_testtools + #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.29) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-12) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.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.39 + (package + (inherit rust-gix-ref-0.40) + (name "rust-gix-ref") + (version "0.39.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zmvbjqg7b46banbp7a7507wa1mx992gcmgg2wrpzkqjqannj81v")))) + (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.39) + ("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.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.5)))))) + (define-public rust-gix-ref-0.38 (package + (inherit rust-gix-ref-0.39) (name "rust-gix-ref") (version "0.38.0") (source @@ -2854,7 +4210,6 @@ (define-public rust-gix-ref-0.38 (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) @@ -2871,12 +4226,7 @@ (define-public rust-gix-ref-0.38 ("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)))) + ("rust-winnow" ,rust-winnow-0.5)))))) (define-public rust-gix-ref-0.37 (package @@ -2940,22 +4290,22 @@ (define-public rust-gix-ref-0.30 #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-refspec-0.19 +(define-public rust-gix-refspec-0.21 (package (name "rust-gix-refspec") - (version "0.19.0") + (version "0.21.1") (source (origin (method url-fetch) (uri (crate-uri "gix-refspec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rx6q4k13zciaajz9a6g1wb1w70y92m6fzqc30xb9g8xqi69gc6c")))) + (base32 "01771g6dr5jqg9p1pvl6d7m5x52yfzgwqgm5namka5rc17srs8dy")))) (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-hash" ,rust-gix-hash-0.14) + ("rust-gix-revision" ,rust-gix-revision-0.25) ("rust-gix-validate" ,rust-gix-validate-0.8) ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))) @@ -2966,6 +4316,46 @@ (define-public rust-gix-refspec-0.19 a pure Rust implementation of Git.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-refspec-0.20 + (package + (inherit rust-gix-refspec-0.21) + (name "rust-gix-refspec") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-refspec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vivb1g2ispw1mgibnq7yirvqbbclxgfldqwvk08zrqy5swd7nbn")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-revision" ,rust-gix-revision-0.24) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-refspec-0.19 + (package + (inherit rust-gix-refspec-0.20) + (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")))) + (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)))))) + (define-public rust-gix-refspec-0.18 (package (inherit rust-gix-refspec-0.19) @@ -3007,26 +4397,26 @@ (define-public rust-gix-refspec-0.11 ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-revision-0.23 +(define-public rust-gix-revision-0.25 (package (name "rust-gix-revision") - (version "0.23.0") + (version "0.25.1") (source (origin (method url-fetch) (uri (crate-uri "gix-revision" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1215fz886j5gzf31kg32g566vm9pds5679d4d9vg79sr6k3pma9c")))) + (base32 "17ydyj6f75zsz6ygmh3im4631cdx5b58spxi9myr7g1k6vgy2y5a")))) (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-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) ("rust-gix-trace" ,rust-gix-trace-0.1) ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))) @@ -3038,6 +4428,54 @@ (define-public rust-gix-revision-0.23 handles finding names and parsing specifications.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-revision-0.24 + (package + (inherit rust-gix-revision-0.25) + (name "rust-gix-revision") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revision" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i4mb8d34ar2g7flwjbnf8vwb0xlzaa078sy66y38m6f20bxapgy")))) + (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.39) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.10) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-gix-revision-0.23 + (package + (inherit rust-gix-revision-0.24) + (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")))) + (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)))))) + (define-public rust-gix-revision-0.22 (package (inherit rust-gix-revision-0.23) @@ -3088,8 +4526,57 @@ (define-public rust-gix-revision-0.15 ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-revwalk-0.11 + (package + (name "rust-gix-revwalk") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pz411j9hpdls77qglgcwxk794pb4fbqnflz460dxg9bbkzfabbh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.23) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.40) + ("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.10 + (package + (inherit rust-gix-revwalk-0.11) + (name "rust-gix-revwalk") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pf15qvha76skcyvysmmxfvb7fpq3s716izizmss956ajcjfvm39")))) + (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.39) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-revwalk-0.9 (package + (inherit rust-gix-revwalk-0.10) (name "rust-gix-revwalk") (version "0.9.0") (source @@ -3099,7 +4586,6 @@ (define-public rust-gix-revwalk-0.9 (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) @@ -3107,13 +4593,7 @@ (define-public rust-gix-revwalk-0.9 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-revwalk-0.8 (package @@ -3160,14 +4640,14 @@ (define-public rust-gix-revwalk-0.1 (define-public rust-gix-sec-0.10 (package (name "rust-gix-sec") - (version "0.10.4") + (version "0.10.6") (source (origin (method url-fetch) (uri (crate-uri "gix-sec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ln6lgb92xq2jlggqn5dkj5dhd3cpjfkk9yb44hmzw7a5x3bzngq")))) + (base32 "18brd8k370ddq19fbq04fkq8ry84b1ar0xz90gfj0fv49ac2gp7x")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -3206,8 +4686,65 @@ (define-public rust-gix-sec-0.8 #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-status-0.4 + (package + (name "rust-gix-status") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07diw4dvb49m3ip1vh1vn7fx4sdapysbwc5vhzxmc15c9dl70gwh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-filter" ,rust-gix-filter-0.8) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.28) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.29) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Provides @code{git status} functionality") + (description + "This package provides @code{git status} functionality to Gitoxide, a +Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-status-0.3 + (package + (inherit rust-gix-status-0.4) + (name "rust-gix-status") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "091xhhk3g9ccizv5qw8gdj1h87v6qn84nqd5b7psda9hjd2i2ni5")))) + (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.7) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-index" ,rust-gix-index-0.27) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.28) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-status-0.2 (package + (inherit rust-gix-status-0.3) (name "rust-gix-status") (version "0.2.0") (source @@ -3217,7 +4754,6 @@ (define-public rust-gix-status-0.2 (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) @@ -3230,13 +4766,7 @@ (define-public rust-gix-status-0.2 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-status-0.1 (package @@ -3262,8 +4792,57 @@ (define-public rust-gix-status-0.1 ("rust-gix-pathspec" ,rust-gix-pathspec-0.3) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-submodule-0.7 + (package + (name "rust-gix-submodule") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0day1xp9pfxki9cmp0z4kyhh6ygrm427z2f9zkgj9pi2j903im11")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.33) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.5) + ("rust-gix-refspec" ,rust-gix-refspec-0.21) + ("rust-gix-url" ,rust-gix-url-0.26) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Functions for dealing with Git submodules") + (description + "Functions for dealing with Git submodules. Part of Gitoxide a pure Rust +implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-submodule-0.6 + (package + (inherit rust-gix-submodule-0.7) + (name "rust-gix-submodule") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y89k2c4isa9r4j9a5mim91dxx69s6ckqrl1i7mwmgcm1bvdg8q2")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.32) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.4) + ("rust-gix-refspec" ,rust-gix-refspec-0.20) + ("rust-gix-url" ,rust-gix-url-0.25) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-submodule-0.5 (package + (inherit rust-gix-submodule-0.6) (name "rust-gix-submodule") (version "0.5.0") (source @@ -3273,7 +4852,6 @@ (define-public rust-gix-submodule-0.5 (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) @@ -3282,13 +4860,7 @@ (define-public rust-gix-submodule-0.5 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-submodule-0.4 (package @@ -3312,22 +4884,22 @@ (define-public rust-gix-submodule-0.4 ("rust-gix-url" ,rust-gix-url-0.24) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-tempfile-11 +(define-public rust-gix-tempfile-12 (package (name "rust-gix-tempfile") - (version "11.0.1") + (version "12.0.1") (source (origin (method url-fetch) (uri (crate-uri "gix-tempfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08vykvfdgxvqqm63zav1rw730qm6cdnnvqni52dwcvm82j8x539q")))) + (base32 "1aiypbizzx997lw8yvz2sk4nnmxz1yq233j5kc8my7wbf5nkgvx8")))) (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-gix-fs" ,rust-gix-fs-0.9) ("rust-libc" ,rust-libc-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-parking-lot" ,rust-parking-lot-0.12) @@ -3341,6 +4913,29 @@ (define-public rust-gix-tempfile-11 tempfile capability with a global registry to assure clean-up.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-tempfile-11 + (package + (inherit rust-gix-tempfile-12) + (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")))) + (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)))))) + (define-public rust-gix-tempfile-10 (package (inherit rust-gix-tempfile-11) @@ -3391,14 +4986,14 @@ (define-public rust-gix-tempfile-6 (define-public rust-gix-trace-0.1 (package (name "rust-gix-trace") - (version "0.1.7") + (version "0.1.8") (source (origin (method url-fetch) (uri (crate-uri "gix-trace" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cd9288nj861b9ixm0pd79rsvn4avafaiiicdrczrzm7cvbh5ch2")))) + (base32 "1ay5zplv97jysfs2ra214zizwrqv4n6w5943si3r8b7np0nqp0wv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3411,8 +5006,87 @@ (define-public rust-gix-trace-0.1 can be turned off to zero cost.") (license (list license:expat license:asl2.0)))) +(define-public rust-gix-transport-0.40 + (package + (name "rust-gix-transport") + (version "0.40.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w4pngjzbyvm68affvglnkzcyksgv5wxivnakx05lfg9acha40dy")))) + (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-2) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-credentials" ,rust-gix-credentials-0.23) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-packetline" ,rust-gix-packetline-0.17) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.26) + ("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.39 + (package + (inherit rust-gix-transport-0.40) + (name "rust-gix-transport") + (version "0.39.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-transport" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i5ig30l4gqyh70qhm1gdmm2aa3qf33galr0vp36h96nqkpwycgp")))) + (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.3) + ("rust-gix-credentials" ,rust-gix-credentials-0.22) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-packetline" ,rust-gix-packetline-0.17) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-url" ,rust-gix-url-0.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)))))) + (define-public rust-gix-transport-0.38 (package + (inherit rust-gix-transport-0.39) (name "rust-gix-transport") (version "0.38.0") (source @@ -3422,7 +5096,6 @@ (define-public rust-gix-transport-0.38 (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) @@ -3445,13 +5118,7 @@ (define-public rust-gix-transport-0.38 ("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)))) + ("rust-maybe-async" ,rust-maybe-async-0.2)))))) (define-public rust-gix-transport-0.37 (package @@ -3529,8 +5196,58 @@ (define-public rust-gix-transport-0.32 ("rust-blocking" ,rust-blocking-1) ("rust-maybe-async" ,rust-maybe-async-0.2)))))) +(define-public rust-gix-traverse-0.36 + (package + (name "rust-gix-traverse") + (version "0.36.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qbiq230wj8ak60zzg613pgflwnvsyj71x9liys0k957bd29w435")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.23) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.11) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Ways to traverse Git commit graphs and trees for Gix") + (description "Part of Gitoxide, a pure Rust implementation of Git. This +package is used to traverse Git commit graphs and trees.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-traverse-0.35 + (package + (inherit rust-gix-traverse-0.36) + (name "rust-gix-traverse") + (version "0.35.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x04z3xybwkr6wls0rpdr8n3pdhd091bsky8j9jj1812h44148fz")))) + (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.39) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-traverse-0.34 (package + (inherit rust-gix-traverse-0.35) (name "rust-gix-traverse") (version "0.34.0") (source @@ -3540,7 +5257,6 @@ (define-public rust-gix-traverse-0.34 (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) @@ -3549,12 +5265,7 @@ (define-public rust-gix-traverse-0.34 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-traverse-0.33 (package @@ -3597,8 +5308,40 @@ (define-public rust-gix-traverse-0.26 ("rust-gix-object" ,rust-gix-object-0.30) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-url-0.26 + (package + (name "rust-gix-url") + (version "0.26.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i6wjjaq1yhxqk9gbriv9raldhs04yy91ipys4qs4lkmxg61f3wg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-features" ,rust-gix-features-0.37) + ("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.25 (package + (inherit rust-gix-url-0.26) (name "rust-gix-url") (version "0.25.2") (source @@ -3608,7 +5351,6 @@ (define-public rust-gix-url-0.25 (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) @@ -3618,14 +5360,8 @@ (define-public rust-gix-url-0.25 ("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)))) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1)))))) (define-public rust-gix-url-0.24 (package @@ -3678,18 +5414,19 @@ (define-public rust-gix-url-0.19 (define-public rust-gix-utils-0.1 (package (name "rust-gix-utils") - (version "0.1.9") + (version "0.1.11") (source (origin (method url-fetch) (uri (crate-uri "gix-utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f3a4slyvxw72b1xz988h3ppd8c0wyzacg9625j2k2vrs3rkks2n")))) + (base32 "14lg6k6v3pqb9y3zq3j1r9l1ycx5grcrl9wiy1vrhzr79hnl6rh0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-fastrand" ,rust-fastrand-2) + (("rust-bstr" ,rust-bstr-1) + ("rust-fastrand" ,rust-fastrand-2) ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)))) (home-page "https://github.com/Byron/gitoxide") (synopsis @@ -3702,14 +5439,14 @@ (define-public rust-gix-utils-0.1 (define-public rust-gix-validate-0.8 (package (name "rust-gix-validate") - (version "0.8.3") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "gix-validate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m1qi0xp59sa3540zdhdshjhfj44nsdjiyd0vindkmbb95pw6z5c")))) + (base32 "0i8m4jv53yn8nhp2niifb03p6lcyj1sd8d6x36n5x624c3hcd7z3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -3737,8 +5474,68 @@ (define-public rust-gix-validate-0.7 (("rust-bstr" ,rust-bstr-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-worktree-0.29 + (package + (name "rust-gix-worktree") + (version "0.29.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lld035lsx3y0d2qxpnys2j63nhl36510i76k6arly7hpy52z62k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-attributes" ,rust-gix-attributes-0.21) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-ignore" ,rust-gix-ignore-0.10) + ("rust-gix-index" ,rust-gix-index-0.28) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Gitoxide functions for handling shared Git worktree types and utilities") + (description + "This package provides functions for handling shared Git worktree related +types and utilities. Part of Gitoxide a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-worktree-0.28 + (package + (inherit rust-gix-worktree-0.29) + (name "rust-gix-worktree") + (version "0.28.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d30k1748k5zdxa24ifww9ym16lga7bphz8ir3lan57f3ph0l7bz")))) + (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.27) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-gix-worktree-0.27 (package + (inherit rust-gix-worktree-0.28) (name "rust-gix-worktree") (version "0.27.0") (source @@ -3748,7 +5545,6 @@ (define-public rust-gix-worktree-0.27 (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) @@ -3761,14 +5557,7 @@ (define-public rust-gix-worktree-0.27 ("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)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-gix-worktree-0.26 (package @@ -3830,8 +5619,68 @@ (define-public rust-gix-worktree-0.18 ("rust-tempfile" ,rust-tempfile-3) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-gix-worktree-state-0.6 + (package + (name "rust-gix-worktree-state") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1890rq778ac6va1pki0d4379mpinirs892z71hvm3h1449rlxiyq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-filter" ,rust-gix-filter-0.8) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-glob" ,rust-gix-glob-0.15) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.28) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.29) + ("rust-io-close" ,rust-io-close-0.3) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis + "Gitoxide project functions that set Git's worktree to a particular state") + (description + "This package provides functions for setting the Git worktree to a particular +state. Used by Gitoxide a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-worktree-state-0.5 + (package + (inherit rust-gix-worktree-state-0.6) + (name "rust-gix-worktree-state") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00gsa6vzxc8ya5h9yp33wa668ak6ah95llcilfycy331zqf3rvxg")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.36) + ("rust-gix-filter" ,rust-gix-filter-0.7) + ("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.27) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-worktree" ,rust-gix-worktree-0.28) + ("rust-io-close" ,rust-io-close-0.3) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-worktree-state-0.4 (package + (inherit rust-gix-worktree-state-0.5) (name "rust-gix-worktree-state") (version "0.4.0") (source @@ -3841,7 +5690,6 @@ (define-public rust-gix-worktree-state-0.4 (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) @@ -3854,14 +5702,7 @@ (define-public rust-gix-worktree-state-0.4 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-worktree-state-0.3 (package @@ -3889,8 +5730,62 @@ (define-public rust-gix-worktree-state-0.3 ("rust-io-close" ,rust-io-close-0.3) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-worktree-stream-0.8 + (package + (name "rust-gix-worktree-stream") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05qb9603wdv15l3h27i9s657j6yrpdnnli0x9x9jvkcas98jk1mg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-attributes" ,rust-gix-attributes-0.21) + ("rust-gix-features" ,rust-gix-features-0.37) + ("rust-gix-filter" ,rust-gix-filter-0.8) + ("rust-gix-fs" ,rust-gix-fs-0.9) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-object" ,rust-gix-object-0.40) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-traverse" ,rust-gix-traverse-0.36) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "This crate generates a byte-stream from a git-tree") + (description "This crate provides the ability to generate a byte-stream +from a git-tree. It's part of Gitoxide, a pure Rust implementation of Git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-worktree-stream-0.7 + (package + (inherit rust-gix-worktree-stream-0.8) + (name "rust-gix-worktree-stream") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-worktree-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v0hcsljsiw2c3vcjc5gvgd4iyw9m84h5cpc1fh960fkkqk3qy1w")))) + (arguments + `(#: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.7) + ("rust-gix-fs" ,rust-gix-fs-0.8) + ("rust-gix-hash" ,rust-gix-hash-0.13) + ("rust-gix-object" ,rust-gix-object-0.39) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-traverse" ,rust-gix-traverse-0.35) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-worktree-stream-0.6 (package + (inherit rust-gix-worktree-stream-0.7) (name "rust-gix-worktree-stream") (version "0.6.0") (source @@ -3900,7 +5795,6 @@ (define-public rust-gix-worktree-stream-0.6 (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) @@ -3912,12 +5806,7 @@ (define-public rust-gix-worktree-stream-0.6 ("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)))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-gix-worktree-stream-0.5 (package @@ -3947,14 +5836,14 @@ (define-public rust-gix-worktree-stream-0.5 (define-public rust-libgit2-sys-0.16 (package (name "rust-libgit2-sys") - (version "0.16.1+1.7.1") + (version "0.16.2+1.7.2") (source (origin (method url-fetch) (uri (crate-uri "libgit2-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "030dnq7hz79qs4rxdllc3ailvqzc432jwwxk7g8av55hh0vbp8pj")) + (base32 "1s149nkximw3n42925rp0jax1sf1zmf8gpcim2g9sp7fnkc2chgf")) (modules '((guix build utils))) (snippet #~(begin (delete-file-recursively "libgit2"))))) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 60c735efa7..ee32c99374 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -3,12 +3,13 @@ ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2020 John Soo ;;; Copyright © 2020, 2023, 2024 Efraim Flashner -;;; Copyright © 2020-2022 Nicolas Goaziou +;;; Copyright © 2020-2022, 2024 Nicolas Goaziou ;;; Copyright © 2022 Aleksandr Vityazev ;;; Copyright © 2023 Steve George ;;; Copyright © 2023 VÖRÖSKŐI András ;;; Copyright © 2024 Wilko Meyer ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -120,8 +121,38 @@ (define-public rust-actix-0.8 #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))))) +(define-public rust-actix-codec-0.5 + (package + (name "rust-actix-codec") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-codec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12m2jxysk2xpxi193340zv4w215cv9fyyna7rxvzh6wck0hhlysz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `tokio_test` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-sink" ,rust-futures-sink-0.3) + ("rust-memchr" ,rust-memchr-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-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/actix/actix-net") + (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.3 (package + (inherit rust-actix-codec-0.5) (name "rust-actix-codec") (version "0.3.0") (source @@ -131,7 +162,6 @@ (define-public rust-actix-codec-0.3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0w7506qd2f8q83z6l5lqx1363ks0ysx8f7qgvy8fknrq70xq7lbq")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -141,13 +171,7 @@ (define-public rust-actix-codec-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)))) + ("rust-tokio-util" ,rust-tokio-util-0.3)))))) (define-public rust-actix-codec-0.2 (package @@ -242,11 +266,7 @@ (define-public rust-actix-connect-1 (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 + `(#:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-0.2) ("rust-actix-rt" ,rust-actix-rt-1) ("rust-actix-service" ,rust-actix-service-1) @@ -260,19 +280,11 @@ (define-public rust-actix-connect-1 ("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-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.18.0-alpha.2) ("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))))))) + (("rust-actix-testing" ,rust-actix-testing-1)))))) (define-public rust-actix-connect-0.2 (package @@ -357,8 +369,61 @@ (define-public rust-actix-derive-0.4 ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-actix-http-3 + (package + (name "rust-actix-http") + (version "3.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hx7rjc1cwrrql5qmihl31hf7nblwyd6a4mvhcghvz41shzv28yj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `once_cell` + #:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-0.5) + ("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-service" ,rust-actix-service-2) + ("rust-actix-tls" ,rust-actix-tls-3) + ("rust-actix-utils" ,rust-actix-utils-3) + ("rust-ahash" ,rust-ahash-0.8) + ("rust-base64" ,rust-base64-0.21) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-brotli" ,rust-brotli-3) + ("rust-bytes" ,rust-bytes-1) + ("rust-bytestring" ,rust-bytestring-1) + ("rust-derive-more" ,rust-derive-more-0.99) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-h2" ,rust-h2-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-language-tags" ,rust-language-tags-0.3) + ("rust-local-channel" ,rust-local-channel-0.1) + ("rust-mime" ,rust-mime-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-zstd" ,rust-zstd-0.13)))) + (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-2 (package + (inherit rust-actix-http-3) (name "rust-actix-http") (version "2.2.0") (source @@ -368,7 +433,6 @@ (define-public rust-actix-http-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0x78h9lzqdhp06v1kf4dhbiqp8sc911w4lqfj5rmdbhpg3l9j8j5")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -412,12 +476,7 @@ (define-public rust-actix-http-2 ("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)))) + ("rust-time" ,rust-time-0.2)))))) (define-public rust-actix-http-1 (package @@ -674,8 +733,34 @@ (define-public rust-actix-macros-0.1 ("rust-futures-util" ,rust-futures-util-0.3) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-actix-router-0.5 + (package + (name "rust-actix-router") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-router" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04f5cdag2h9lbrgb0pzwznpfrl3ajbdxlsvb8a2kci1rcmcpa96j")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find derive macro `Deserialize` in this scope + #:cargo-inputs (("rust-bytestring" ,rust-bytestring-0.1) + ("rust-http" ,rust-http-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/actix/actix-web") + (synopsis "Resource path matching and router library") + (description + "This package provides resource path matching and router library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-router-0.2 (package + (inherit rust-actix-router-0.5) (name "rust-actix-router") (version "0.2.5") (source @@ -685,7 +770,6 @@ (define-public rust-actix-router-0.2 (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 @@ -694,11 +778,7 @@ (define-public rust-actix-router-0.2 ("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)))) + ("rust-serde" ,rust-serde-1)))))) (define-public rust-actix-router-0.1 (package @@ -789,8 +869,40 @@ (define-public rust-actix-rt-0.2 ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) +(define-public rust-actix-server-2 + (package + (name "rust-actix-server") + (version "2.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m62qbg7vl1wddr6mm8sd4rnvd3w5v3zcn8fmdpfl8q4xxz3xc9y")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `actix_codec` + #:cargo-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-service" ,rust-actix-service-2) + ("rust-actix-utils" ,rust-actix-utils-3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-mio" ,rust-mio-0.8) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-uring" ,rust-tokio-uring-0.4) + ("rust-tracing" ,rust-tracing-0.1)))) + (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-1 (package + (inherit rust-actix-server-2) (name "rust-actix-server") (version "1.0.4") (source @@ -800,7 +912,6 @@ (define-public rust-actix-server-1 (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 @@ -816,13 +927,7 @@ (define-public rust-actix-server-1 ("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)))) + ("rust-socket2" ,rust-socket2-0.3)))))) (define-public rust-actix-server-0.6 (package @@ -932,8 +1037,33 @@ (define-public rust-actix-server-config-0.1 (description "Actix server config utils.") (license (list license:expat license:asl2.0)))) +(define-public rust-actix-service-2 + (package + (name "rust-actix-service") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-service" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fipjcc5kma7j47jfrw55qm09dakgvx617jbriydrkqqz10lk29v")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `actix_rt` + #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-paste" ,rust-paste-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)))) + (home-page "https://github.com/actix/actix-net") + (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-1 (package + (inherit rust-actix-service-2) (name "rust-actix-service") (version "1.0.6") (source @@ -943,21 +1073,13 @@ (define-public rust-actix-service-1 (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)))) + ("rust-criterion" ,rust-criterion-0.3)))))) (define-public rust-actix-service-0.4 (package @@ -1110,8 +1232,54 @@ (define-public rust-actix-threadpool-0.1 ("rust-parking-lot" ,rust-parking-lot-0.9) ("rust-threadpool" ,rust-threadpool-1)))))) +(define-public rust-actix-tls-3 + (package + (name "rust-actix-tls") + (version "3.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pxyqpr5nangbl55gdc5zpc84viah7qhmpjw5v3pnirb5w5fdk6l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `actix_server` + #:cargo-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-service" ,rust-actix-service-2) + ("rust-actix-utils" ,rust-actix-utils-3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-http" ,rust-http-1) + ("rust-impl-more" ,rust-impl-more-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("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.25) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-webpki-roots" ,rust-webpki-roots-0.25) + ("rust-webpki-roots" ,rust-webpki-roots-0.22) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) + (home-page "https://github.com/actix/actix-net") + (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-2 (package + (inherit rust-actix-tls-3) (name "rust-actix-tls") (version "2.0.0") (source @@ -1121,7 +1289,6 @@ (define-public rust-actix-tls-2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1yqmlyn02c72a1rrmjkfx5hnz286130y3sq4ll1mbkv1fdyrny14")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -1136,12 +1303,7 @@ (define-public rust-actix-tls-2 ("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)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.20)))))) (define-public rust-actix-tls-1 (package @@ -1176,8 +1338,32 @@ (define-public rust-actix-tls-1 #:cargo-development-inputs (("rust-actix-testing" ,rust-actix-testing-1)))))) +(define-public rust-actix-utils-3 + (package + (name "rust-actix-utils") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n05nzwdkx6jhmzr6f9qsh57a8hqlwv5rjz1i0j3qvj6y7gxr8c8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `futures_util` + #:cargo-inputs (("rust-local-waker" ,rust-local-waker-0.1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)))) + (home-page "https://github.com/actix/actix-net") + (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-2 (package + (inherit rust-actix-utils-3) (name "rust-actix-utils") (version "2.0.0") (source @@ -1187,7 +1373,6 @@ (define-public rust-actix-utils-2 (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) @@ -1201,13 +1386,7 @@ (define-public rust-actix-utils-2 ("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)))) + ("rust-slab" ,rust-slab-0.4)))))) (define-public rust-actix-utils-1 (package @@ -1260,8 +1439,64 @@ (define-public rust-actix-utils-0.4 #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-0.2)))))) +(define-public rust-actix-web-4 + (package + (name "rust-actix-web") + (version "4.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1159grrp031zy9j97vr3c376w8pdawr8akbib0iqqqxvvrnmb9j3")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; could not find `brotli` in the list of imported crates + #:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-0.5) + ("rust-actix-http" ,rust-actix-http-3) + ("rust-actix-macros" ,rust-actix-macros-0.2) + ("rust-actix-router" ,rust-actix-router-0.5) + ("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-server" ,rust-actix-server-2) + ("rust-actix-service" ,rust-actix-service-2) + ("rust-actix-tls" ,rust-actix-tls-3) + ("rust-actix-utils" ,rust-actix-utils-3) + ("rust-actix-web-codegen" ,rust-actix-web-codegen-4) + ("rust-ahash" ,rust-ahash-0.8) + ("rust-bytes" ,rust-bytes-1) + ("rust-bytestring" ,rust-bytestring-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cookie" ,rust-cookie-0.16) + ("rust-derive-more" ,rust-derive-more-0.99) + ("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-itoa" ,rust-itoa-1) + ("rust-language-tags" ,rust-language-tags-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("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-smallvec" ,rust-smallvec-1) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (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-3 (package + (inherit rust-actix-web-4) (name "rust-actix-web") (version "3.3.2") (source @@ -1271,7 +1506,6 @@ (define-public rust-actix-web-3 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "11kv8y1p9dw78lnhrw3rqavhmazmy7s0z8j14a3a1yp7fahx8hg6")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -1307,13 +1541,7 @@ (define-public rust-actix-web-3 ("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)))) + ("rust-url" ,rust-url-2)))))) (define-public rust-actix-web-2 (package @@ -1418,8 +1646,33 @@ (define-public rust-actix-web-1 ("rust-serde-derive" ,rust-serde-derive-1) ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) +(define-public rust-actix-web-codegen-4 + (package + (name "rust-actix-web-codegen") + (version "4.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-web-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xalrv1s7imzfgxyql6zii5bpxxkk11rlcc8n4ia3v1hpgmm07zb")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `rustversion` + #:cargo-inputs (("rust-actix-router" ,rust-actix-router-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://actix.rs") + (synopsis "Routing and runtime macros for Actix Web") + (description + "This package provides routing and runtime macros for Actix Web.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-web-codegen-0.4 (package + (inherit rust-actix-web-codegen-4) (name "rust-actix-web-codegen") (version "0.4.0") (source @@ -1429,17 +1682,12 @@ (define-public rust-actix-web-codegen-0.4 (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)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-actix-web-codegen-0.2 (package @@ -1490,6 +1738,34 @@ (define-public rust-actix-web-codegen-0.1 (inputs (list openssl)))) +(define-public rust-ammonia-4 + (package + (name "rust-ammonia") + (version "4.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ammonia" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nd432yg1cl9kj4i9c37a9hvwffayqh6zsvb4fmh31g5bsp9xf8s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("html5ever" ,rust-html5ever-0.27) + ("maplit" ,rust-maplit-1) + ("tendril" ,rust-tendril-0.4) + ("url" ,rust-url-2) + ("once_cell" ,rust-once-cell-1)) + #:cargo-development-inputs (("version-sync" ,rust-version-sync-0.9) + ("env_logger" ,rust-env-logger-0.10)))) + (home-page "https://github.com/rust-ammonia/ammonia") + (synopsis "Repair and secure untrusted HTML") + (description "Ammonia is a whitelist-based HTML sanitization library. +It is designed to prevent cross-site scripting, layout breaking, +and clickjacking caused by untrusted user-provided HTML +being mixed into a larger web page.") + (license (list license:expat license:asl2.0)))) + (define-public rust-async-h1-2 (package (name "rust-async-h1") @@ -1633,8 +1909,77 @@ (define-public rust-awc-0.2 ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6) ("rust-tokio-timer" ,rust-tokio-timer-0.2)))))) +(define-public rust-axum-0.7 + (package + (name "rust-axum") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17kv7v8m981cqmfbv5m538fzxhw51l9bajv06kfddi7njarb8dhj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-axum-core" ,rust-axum-core-0.4) + ("rust-axum-macros" ,rust-axum-macros-0.4) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("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-3) + ("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.21) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-http" ,rust-tower-http-0.5) + ("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.4) + ("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-tokio-tungstenite" ,rust-tokio-tungstenite-0.21) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-http" ,rust-tower-http-0.5) + ("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-0.6 (package + (inherit rust-axum-0.7) (name "rust-axum") (version "0.6.20") (source @@ -1644,7 +1989,6 @@ (define-public rust-axum-0.6 (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") @@ -1696,14 +2040,51 @@ (define-public rust-axum-0.6 ("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)))) + ("rust-uuid" ,rust-uuid-1)))))) + +(define-public rust-axum-core-0.4 + (package + (name "rust-axum-core") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qx28wg4j6qdcdrisqwyaavlzc0zvbsrcwa99zf9456lfbyn6p51")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + ;; The doc tests contain references to axum_extra. + '("--release" "--lib" "--bins" "--tests") + #: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-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-mime" ,rust-mime-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-sync-wrapper" ,rust-sync-wrapper-0.1) + ("rust-tower-http" ,rust-tower-http-0.5) + ("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.7) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower-http" ,rust-tower-http-0.5)))) (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.") + (synopsis "Core types and traits for @code{axum}") + (description "Core types and traits for @code{axum}.") (license license:expat))) (define-public rust-axum-core-0.3 (package + (inherit rust-axum-core-0.4) (name "rust-axum-core") (version "0.3.4") (source @@ -1713,7 +2094,6 @@ (define-public rust-axum-core-0.3 (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) @@ -1730,14 +2110,95 @@ (define-public rust-axum-core-0.3 ("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)))) + ("rust-tower-http" ,rust-tower-http-0.4)))))) + +(define-public rust-axum-macros-0.4 + (package + (name "rust-axum-macros") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ahfy8z5z2xlibj41gyr2jm84di1x1s660g13jcfajh15pp5bh00")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests unexpectedly pass. + #: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.7) + ("rust-axum-extra" ,rust-axum-extra-0.9) + ("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 "Core types and traits for @code{axum}") - (description "Core types and traits for @code{axum}.") + (synopsis "Macros for axum") + (description "This package provides macros for axum.") + (license license:expat))) + +(define-public rust-axum-extra-0.9 + (package + (name "rust-axum-extra") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-extra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13yxdzc0jj9d2q4yqf13qs4psrx9l86vk3zn79vifrh1f8pz8pw9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-axum" ,rust-axum-0.7) + ("rust-axum-core" ,rust-axum-core-0.4) + ("rust-axum-macros" ,rust-axum-macros-0.4) + ("rust-bytes" ,rust-bytes-1) + ("rust-cookie" ,rust-cookie-0.18) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.4) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-mime" ,rust-mime-0.3) + ("rust-multer" ,rust-multer-3) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-prost" ,rust-prost-0.12) + ("rust-serde" ,rust-serde-1) + ("rust-serde-html-form" ,rust-serde-html-form-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.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.7) + ("rust-hyper" ,rust-hyper-1) + ("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.5)))) + (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-extra-0.7 (package + (inherit rust-axum-extra-0.9) (name "rust-axum-extra") (version "0.7.7") (source @@ -1747,7 +2208,6 @@ (define-public rust-axum-extra-0.7 (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) @@ -1782,11 +2242,7 @@ (define-public rust-axum-extra-0.7 ("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))) + ("rust-tower-http" ,rust-tower-http-0.4)))))) (define-public rust-axum-macros-0.3 (package @@ -1820,6 +2276,32 @@ (define-public rust-axum-macros-0.3 (description "Macros for @code{axum}.") (license license:expat))) +(define-public rust-chardetng-0.1 + (package + (name "rust-chardetng") + (version "0.1.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "chardetng" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1spikjcnblwa5n1nnk46fxkwn86yfiqxgs47h4yaw23vbfvg1f0l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find macro `println` in this scope + #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-memchr" ,rust-memchr-2) + ("rust-rayon" ,rust-rayon-1)) + #:cargo-development-inputs (("rust-detone" ,rust-detone-1)))) + (home-page "https://docs.rs/chardetng/") + (synopsis "Character encoding detector for legacy Web content") + (description + "This package provides a character encoding detector for legacy Web content.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-chunked-transfer-1 (package (name "rust-chunked-transfer") @@ -1883,48 +2365,84 @@ (define-public rust-gemini-fetch-0.2 (description "This package provides a library to fetch gemini pages.") (license license:expat))) -(define-public rust-h2-0.3 +(define-public rust-h2-0.4 (package (name "rust-h2") - (version "0.3.21") + (version "0.4.4") (source (origin (method url-fetch) (uri (crate-uri "h2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cq8g5bgk3fihnqicy3g8gc3dpsalzqjg4bjyip9g4my26m27z4i")))) + (base32 "0sc0ymhiqp4hbz39d405cjbga77wnz2pprbgyc498xs58hlwfvl1")))) (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)) + `(#: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-1) + ("rust-indexmap" ,rust-indexmap-2) + ("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-env-logger" ,rust-env-logger-0.10) ("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-tokio-rustls" ,rust-tokio-rustls-0.24) ("rust-walkdir" ,rust-walkdir-2) - ("rust-webpki-roots" ,rust-webpki-roots-0.22)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)))) (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.") + (synopsis "HTTP/2 client and server") + (description "This package provides an HTTP/2 client and server.") (license license:expat))) +(define-public rust-h2-0.3 + (package + (inherit rust-h2-0.4) + (name "rust-h2") + (version "0.3.25") + (source + (origin + (method url-fetch) + (uri (crate-uri "h2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sqq8rnv3vrwra7wzgc6099j9zw80rnm9aslhsa8d674qlh2igag")))) + (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.10) + ("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.24) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)))))) + (define-public rust-h2-0.2 (package (inherit rust-h2-0.3) @@ -2006,25 +2524,25 @@ (define-public rust-h2-0.1 ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) -(define-public rust-h3-0.0.3 +(define-public rust-h3-0.0.4 (package (name "rust-h3") - (version "0.0.3") + (version "0.0.4") (source (origin (method url-fetch) (uri (crate-uri "h3" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "101vg73galsyk5gnjb49cjb6q40c9z2npcdxpfsj99ky2waijgmq")))) + (base32 "04clhh6b5iqlgnbppikbz4zpxl78g4vkyhyrjgnyg4vfkrmqij5i")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included + `(#: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-http" ,rust-http-1) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1)) @@ -2045,6 +2563,41 @@ (define-public rust-h3-0.0.3 (description "This package provides an async HTTP/3 implementation.") (license license:expat))) +(define-public rust-h3-0.0.3 + (package + (inherit rust-h3-0.0.4) + (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")))) + (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)))))) + (define-public rust-h3-0.0.2 (package (inherit rust-h3-0.0.3) @@ -2066,8 +2619,36 @@ (define-public rust-h3-0.0.2 ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1)))))) +(define-public rust-h3-quinn-0.0.5 + (package + (name "rust-h3-quinn") + (version "0.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3-quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ii06bi5a19k4qfkppn5019nw8xca2wzfl66cax949jc1v66ny3k")))) + (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.4) + ("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-h3-quinn-0.0.4 (package + (inherit rust-h3-quinn-0.0.5) (name "rust-h3-quinn") (version "0.0.4") (source @@ -2077,7 +2658,6 @@ (define-public rust-h3-quinn-0.0.4 (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) @@ -2085,12 +2665,7 @@ (define-public rust-h3-quinn-0.0.4 ("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))) + ("rust-tokio-util" ,rust-tokio-util-0.7)))))) (define-public rust-h3-quinn-0.0.3 (package @@ -2112,8 +2687,34 @@ (define-public rust-h3-quinn-0.0.3 ("rust-quinn-proto" ,rust-quinn-proto-0.10) ("rust-tokio-util" ,rust-tokio-util-0.7)))))) +(define-public rust-headers-0.4 + (package + (name "rust-headers") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1abari69kjl2yv2dg06g2x17qgd1a20xp7aqmmg2vfhcppk0c89j")))) + (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.3) + ("rust-http" ,rust-http-1) + ("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.3 (package + (inherit rust-headers-0.4) (name "rust-headers") (version "0.3.9") (source @@ -2123,7 +2724,6 @@ (define-public rust-headers-0.3 (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) @@ -2132,11 +2732,7 @@ (define-public rust-headers-0.3 ("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))) + ("rust-sha1" ,rust-sha1-0.10)))))) (define-public rust-headers-0.2 (package @@ -2161,8 +2757,28 @@ (define-public rust-headers-0.2 ("rust-sha-1" ,rust-sha-1-0.8) ("rust-time" ,rust-time-0.1)))))) +(define-public rust-headers-core-0.3 + (package + (name "rust-headers-core") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "headers-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r1w80i2bhmyh8s5mjr2dz6baqlrm6cak6yvzm4jq96lacjs5d2l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-http" ,rust-http-1)))) + (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.2 (package + (inherit rust-headers-core-0.3) (name "rust-headers-core") (version "0.2.0") (source @@ -2172,15 +2788,9 @@ (define-public rust-headers-core-0.2 (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))) + #:cargo-inputs (("rust-http" ,rust-http-0.2)))))) (define-public rust-headers-core-0.1 (package @@ -2584,19 +3194,20 @@ (define-public rust-http-0.1 (define-public rust-http-auth-0.1 (package (name "rust-http-auth") - (version "0.1.8") + (version "0.1.9") (source (origin (method url-fetch) (uri (crate-uri "http-auth" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g6gpn2py0c4l45wp61k3zc45vg5l20zq39mxgxh56hzgb6wlc2l")))) + (base32 "0mf27f963mxpbyjw20sjmm0ziqvr9z9m7kdlsrbada2fdazrng34")))) (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-1) ("rust-http" ,rust-http-0.2) ("rust-log" ,rust-log-0.4) ("rust-md-5" ,rust-md-5-0.10) @@ -2617,8 +3228,31 @@ (define-public rust-http-auth-0.1 extended with server support and additional auth schemes.") (license (list license:expat license:asl2.0)))) +(define-public rust-http-body-1 + (package + (name "rust-http-body") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hyn8n3iadrbwq8y0p1rl1275s4nm49bllw5wji29g4aa3dqbb0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-http" ,rust-http-1)))) + (home-page "https://github.com/hyperium/http-body") + (synopsis "Asynchronous, streaming, HTTP request or response body") + (description + "This package provides a trait representing an asynchronous, streaming, +HTTP request or response body.") + (license license:expat))) + (define-public rust-http-body-0.4 (package + (inherit rust-http-body-1) (name "rust-http-body") (version "0.4.6") (source @@ -2628,18 +3262,11 @@ (define-public rust-http-body-0.4 (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))) + ("rust-http" ,rust-http-0.2)))))) (define-public rust-http-body-0.3 (package @@ -2678,17 +3305,44 @@ (define-public rust-http-body-0.1 ("rust-http" ,rust-http-0.1) ("rust-tokio-buf" ,rust-tokio-buf-0.1)))))) +(define-public rust-http-body-util-0.1 + (package + (name "rust-http-body-util") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-body-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h78a6jj2vky0wmgmq5f1h541cmhmlij09gw63fxl59h77mpkjs1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) + #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/hyperium/http-body") + (synopsis "Combinators and adapters for HTTP request/response bodies") + (description + "This package provides combinators and adapters for HTTP request or +response bodies.") + (license license:expat))) + (define-public rust-http-client-6 (package (name "rust-http-client") - (version "6.3.4") + (version "6.5.3") (source (origin (method url-fetch) (uri (crate-uri "http-client" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i0mys38gsih9kkrdbfsmd8p9lnb2nd5wch76cpkjmqk8mm2mhcq")))) + (base32 "19g19jli98cd0ywrzcsbw5j34rypm8n43yszxa3gaaqyr46m2iqr")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -2699,7 +3353,7 @@ (define-public rust-http-client-6 ("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-dashmap" ,rust-dashmap-5) ("rust-deadpool" ,rust-deadpool-0.7) ("rust-futures" ,rust-futures-0.3) ("rust-futures-util" ,rust-futures-util-0.3) @@ -2709,6 +3363,8 @@ (define-public rust-http-client-6 ("rust-isahc" ,rust-isahc-0.9) ("rust-js-sys" ,rust-js-sys-0.3) ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.18) + ("rust-tokio" ,rust-tokio-0.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)))) @@ -2717,17 +3373,17 @@ (define-public rust-http-client-6 (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 +(define-public rust-http-range-header-0.4 (package (name "rust-http-range-header") - (version "0.3.1") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "http-range-header" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13vm511vq3bhschkw2xi9nhxzkw53m55gn9vxg7qigfxc29spl5d")))) + (base32 "1zhigmvyrk50jzll6nmn7n1rxkfzh8xn0838dvdvnj52rlqyzr1w")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -2736,25 +3392,38 @@ (define-public rust-http-range-header-0.3 ("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.") + (synopsis "Zero-dependency range header parser") + (description "This package provides a range header parser without any +dependencies.") (license license:expat))) +(define-public rust-http-range-header-0.3 + (package + (inherit rust-http-range-header-0.4) + (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")))))) + (define-public rust-http-types-2 (package (name "rust-http-types") - (version "2.10.0") + (version "2.12.0") (source (origin (method url-fetch) (uri (crate-uri "http-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p7g2rzgzvnd419a5ddlyb2nz85z9bw7cdkqyl7467cx2fxkwq9j")))) + (base32 "1bgmfmvirsa1alcyw15mkh227j3a62aq1x47lkxxnfnnf9x1i6vf")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-async-channel" ,rust-async-channel-1) ("rust-async-std" ,rust-async-std-1) @@ -2767,9 +3436,11 @@ (define-public rust-http-types-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-qs" ,rust-serde-qs-0.8) ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-url" ,rust-url-2)))) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-http" ,rust-http-0.2)))) (home-page "https://github.com/http-rs/http-types") (synopsis "Common types for HTTP operations") (description @@ -2818,8 +3489,55 @@ (define-public rust-httpdate-1 "This crates parses and formats HTTP datetime strings.") (license (list license:expat license:asl2.0)))) +(define-public rust-hyper-1 + (package + (name "rust-hyper") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fi6k7hz5fmdph0a5r8hw50d7h2n9zxkizmafcmb65f67bblhr8q")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved imports `super::DecodedLength`, `super::Sender` + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.4) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-httparse" ,rust-httparse-1) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-want" ,rust-want-0.3)) + #:cargo-development-inputs + (("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("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)))) + (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.14 (package + (inherit rust-hyper-1) (name "rust-hyper") (version "0.14.27") (source @@ -2862,11 +3580,7 @@ (define-public rust-hyper-0.14 ("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))) + ("rust-url" ,rust-url-2)))))) (define-public rust-hyper-0.13 (package @@ -3056,8 +3770,48 @@ (define-public rust-hyper-proxy-0.9 (description "Proxy connector for the Hyper HTTP library.") (license license:expat))) +(define-public rust-hyper-rustls-0.26 + (package + (name "rust-hyper-rustls") + (version "0.26.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b4m1jvs147hxi8677n2dxxib663s7c31xmfni7b5qkanihsggm0")))) + (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-1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.25) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)) + #:cargo-development-inputs + (("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("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.24 (package + (inherit rust-hyper-rustls-0.26) (name "rust-hyper-rustls") (version "0.24.2") (source @@ -3067,9 +3821,8 @@ (define-public rust-hyper-rustls-0.24 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1475j4a2nczz4aajzzsq3hpwg1zacmzbqg393a14j80ff8izsgpc")))) - (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. + `(#: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) @@ -3082,12 +3835,7 @@ (define-public rust-hyper-rustls-0.24 #: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)))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-hyper-rustls-0.23 (package @@ -3231,8 +3979,42 @@ (define-public rust-hyper-timeout-0.4 to be used with Hyper client.") (license (list license:expat license:asl2.0)))) +(define-public rust-hyper-tls-0.6 + (package + (name "rust-hyper-tls") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q36x2yps6hhvxq5r7mc8ph9zz6xlb573gx0x3yskb0fi736y83h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs + (("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (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.5 (package + (inherit rust-hyper-tls-0.6) (name "rust-hyper-tls") (version "0.5.0") (source @@ -3242,7 +4024,6 @@ (define-public rust-hyper-tls-0.5 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3250,12 +4031,7 @@ (define-public rust-hyper-tls-0.5 ("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)))) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)))))) (define-public rust-hyper-tls-0.4 (package @@ -3284,6 +4060,45 @@ (define-public rust-hyper-tls-0.4 #:cargo-development-inputs (("rust-tokio" ,rust-tokio-0.2)))))) +(define-public rust-hyper-util-0.1 + (package + (name "rust-hyper-util") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-util" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1akngan7j0n2n0wd25c6952mvqbkj9gp1lcwzyxjc0d37l8yyf6a")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; could not find `client` in `hyper_util` + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-hyper" ,rust-hyper-1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper" ,rust-hyper-1) + ("rust-pnet-datalink" ,rust-pnet-datalink-0.34) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) + (home-page "https://hyper.rs") + (synopsis "@code{hyper} utilities") + (description "This package provides utilities for the @code{hyper} crate.") + (license license:expat))) + (define-public rust-iron-0.6 (package (name "rust-iron") @@ -3318,8 +4133,72 @@ (define-public rust-iron-0.6 and locking in the core framework.") (license license:expat))) +(define-public rust-isahc-1 + (package + (name "rust-isahc") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "isahc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1scfgyv3dpjbkqa9im25cd12cs6rbd8ygcaw67f3dx41sys08kik")) + (modules '((guix build utils))) + (snippet '(substitute* "Cargo.toml" + ((".*static-curl.*") ""))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `testserver` + #:cargo-inputs (("rust-async-channel" ,rust-async-channel-1) + ("rust-castaway" ,rust-castaway-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) + ("rust-curl" ,rust-curl-0.4) + ("rust-curl-sys" ,rust-curl-sys-0.4) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-event-listener" ,rust-event-listener-2) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-http" ,rust-http-0.2) + ("rust-httpdate" ,rust-httpdate-1) + ("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.9) + ("rust-polling" ,rust-polling-2) + ("rust-publicsuffix" ,rust-publicsuffix-2) + ("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.9) + ("rust-flate2" ,rust-flate2-1) + ("rust-indicatif" ,rust-indicatif-0.15) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-case" ,rust-test-case-2) + ("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 and fun 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-isahc-0.9 (package + (inherit rust-isahc-1) (name "rust-isahc") (version "0.9.14") (source @@ -3329,11 +4208,9 @@ (define-public rust-isahc-0.9 (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) + (modules '((guix build utils))) + (snippet '(substitute* "Cargo.toml" + (("\"static-curl\", ") ""))))) (arguments `(#:tests? #f ; use of undeclared crate or module `testserver` #:cargo-inputs @@ -3364,18 +4241,98 @@ (define-public rust-isahc-0.9 ("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") + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)))))) + +(define-public rust-json5-0.4 + (package + (name "rust-json5") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "json5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h9hni897zmn3vcixfbwwkj2gkz27h7z9dah8bk1qv37mwhxpc4n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-matches" ,rust-matches-0.1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/callum-oakley/json5-rs") + (synopsis "Rust JSON5 serializer and deserializer which speaks Serde") (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.") + "This package provides a Rust JSON5 serializer and deserializer +which speaks Serde.") + (license license:isc))) + +(define-public rust-jsonwebtoken-7 + (package + (name "rust-jsonwebtoken") + (version "7.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "jsonwebtoken" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ciz205wcjcn7n6i871zz5xlbzk863b0ybgiqi7li9ipwhawraxg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.12) + ("rust-pem" ,rust-pem-0.8) + ("rust-ring" ,rust-ring-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simple-asn1" ,rust-simple-asn1-0.4)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)))) + (home-page "https://github.com/Keats/jsonwebtoken") + (synopsis "Create and decode JWTs in a strongly typed way") + (description "Create and decode JWTs in a strongly typed way.") + (license license:expat))) + +(define-public rust-mockito-1 + (package + (name "rust-mockito") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mockito" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07mz6yyfnl1ka29wkl1qa6mvm66lwsjf8y3cl0m3kpsvm8iy1xnj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_assert_with_last_unmatched_request" + "--skip=test_assert_with_last_unmatched_request_and_headers" + "--skip=test_assert_with_last_unmatched_request_and_query") + #:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-colored" ,rust-colored-2) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-similar" ,rust-similar-2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-futures" ,rust-futures-0.3) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-testing-logger" ,rust-testing-logger-0.1) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/lipanski/mockito") + (synopsis "HTTP mocking for Rust") + (description "This package provides HTTP mocking for Rust.") (license license:expat))) (define-public rust-multipart-0.18 @@ -3491,8 +4448,242 @@ (define-public rust-nickel-0.11 @code{express} framework for JavaScript.") (license license:expat))) +(define-public rust-opentelemetry-http-0.10 + (package + (name "rust-opentelemetry-http") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "opentelemetry-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17irqlgsqr1f0in5rhvgl224x2gdcycy8w3ybydlyrdyx2f1hlbz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bytes" ,rust-bytes-1) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-isahc" ,rust-isahc-1) + ("rust-opentelemetry" ,rust-opentelemetry-0.21) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-surf" ,rust-surf-2) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/open-telemetry/opentelemetry-rust") + (synopsis "Helpers for exchange of traces and metrics over HTTP") + (description + "This package provides helper implementations for exchange of traces +and metrics over HTTP.") + (license license:asl2.0))) + +(define-public rust-poem-1 + (package + (name "rust-poem") + (version "1.3.59") + (source + (origin + (method url-fetch) + (uri (crate-uri "poem" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0159agmjig6s45sjf1jcbira8icpbakfadwa23pc2i07gg4p8ish")) + (patches (search-patches "rust-poem-1-fewer-deps.patch")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; use of undeclared crate or module `futures_util` + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-compression" ,rust-async-compression-0.4) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-cookie" ,rust-cookie-0.17) + ("rust-csrf" ,rust-csrf-0.4) + ;("rust-eyre" ,rust-eyre-0.6) + ;("rust-fluent" ,rust-fluent-0.16) + ;("rust-fluent-langneg" ,rust-fluent-langneg-0.13) + ;("rust-fluent-syntax" ,rust-fluent-syntax-0.11) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-http" ,rust-http-0.2) + ("rust-httpdate" ,rust-httpdate-1) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.24) + ;("rust-intl-memoizer" ,rust-intl-memoizer-0.5) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-multer" ,rust-multer-2) + ("rust-nix" ,rust-nix-0.27) + ("rust-openssl" ,rust-openssl-0.10) + ;("rust-opentelemetry" ,rust-opentelemetry-0.21) + ;("rust-opentelemetry-http" ,rust-opentelemetry-http-0.10) + ;("rust-opentelemetry-prometheus" ,rust-opentelemetry-prometheus-0.14) + ;("rust-opentelemetry-semantic-conventions" ,rust-opentelemetry-semantic-conventions-0.13) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-poem-derive" ,rust-poem-derive-1) + ("rust-priority-queue" ,rust-priority-queue-1) + ;("rust-prometheus" ,rust-prometheus-0.13) + ("rust-quick-xml" ,rust-quick-xml-0.30) + ("rust-rand" ,rust-rand-0.8) + ("rust-rcgen" ,rust-rcgen-0.11) + ;("rust-redis" ,rust-redis-0.23) + ("rust-regex" ,rust-regex-1) + ("rust-rfc7239" ,rust-rfc7239-0.1) + ("rust-ring" ,rust-ring-0.16) + ("rust-rust-embed" ,rust-rust-embed-8) + ("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-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-smallvec" ,rust-smallvec-1) + ;("rust-sse-codec" ,rust-sse-codec-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-metrics" ,rust-tokio-metrics-0.3) + ("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-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower" ,rust-tower-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ;("rust-unic-langid" ,rust-unic-langid-0.9) + ("rust-wildmatch" ,rust-wildmatch-2) + ("rust-x509-parser" ,rust-x509-parser-0.15)) + #:cargo-development-inputs (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/poem-web/poem") + (synopsis + "Web framework written in the Rust programming language") + (description "Poem is a full-featured and easy-to-use web framework written +in the Rust programming language.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-poem-derive-1 + (package + (name "rust-poem-derive") + (version "1.3.59") + (source + (origin + (method url-fetch) + (uri (crate-uri "poem-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cdvid2ryn4h9wj7087shf20ijvahh1n44bmwghngn6qh13czpa2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("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)))) + (home-page "https://github.com/poem-web/poem") + (synopsis "Macros for poem") + (description "This package provides macros for poem.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-reqwest-0.12 + (package + (name "rust-reqwest") + (version "0.12.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "reqwest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "047aa0qnngnlnf9i0abrs6pgmz15vk81p5pvscwhk3l6jbfsyv2n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=badssl" + "--skip=test_allowed_methods" + "--skip=test_tls_info" + "--skip=connect_many_timeout" + "--skip=connect_timeout") + #:cargo-inputs + (("rust-async-compression" ,rust-async-compression-0.4) + ("rust-base64" ,rust-base64-0.22) + ("rust-bytes" ,rust-bytes-1) + ("rust-cookie" ,rust-cookie-0.17) + ("rust-cookie-store" ,rust-cookie-store-0.20) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-h2" ,rust-h2-0.4) + ("rust-h3" ,rust-h3-0.0.4) + ("rust-h3-quinn" ,rust-h3-quinn-0.0.5) + ("rust-hickory-resolver" ,rust-hickory-resolver-0.24) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.26) + ("rust-hyper-tls" ,rust-hyper-tls-0.6) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("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.22) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-sync-wrapper" ,rust-sync-wrapper-0.1) + ("rust-system-configuration" ,rust-system-configuration-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.25) + ("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-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.4) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-winreg" ,rust-winreg-0.52)) + #:cargo-development-inputs + (("rust-brotli" ,rust-brotli-3) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("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) + ("rust-zstd" ,rust-zstd-0.13)))) + (native-inputs (list pkg-config)) + (inputs (list openssl (list zstd "lib"))) + (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.11 (package + (inherit rust-reqwest-0.12) (name "rust-reqwest") (version "0.11.23") (source @@ -3502,7 +4693,6 @@ (define-public rust-reqwest-0.11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hgvzb7r46656r9vqhl5qk1kbr2xzjb91yr2cb321160ka6sxc9p")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -3571,15 +4761,7 @@ (define-public rust-reqwest-0.11 ("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)))) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) (define-public rust-reqwest-0.10 (package @@ -3656,8 +4838,83 @@ (define-public rust-reqwest-0.10 (inputs (list openssl)))) +(define-public rust-rfc7239-0.1 + (package + (name "rust-rfc7239") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rfc7239" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ixsyn8y2jfhfqnhwivgil3cvdr4jdr5s0nr7gqq3d3yryrifwq8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-uncased" ,rust-uncased-0.9)))) + (home-page "https://github.com/icewind1991/rfc7239") + (synopsis "Parser for rfc7239 formatted Forwarded headers") + (description "Parser for rfc7239 formatted Forwarded headers.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rocket-0.5 + (package + (name "rust-rocket") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l4i93dai7pyzlkvdjkqg2g7ni1r6749cwx4nrrhsrr6rdybaywy")))) + (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-atomic" ,rust-atomic-0.5) + ("rust-binascii" ,rust-binascii-0.1) + ("rust-bytes" ,rust-bytes-1) + ("rust-either" ,rust-either-1) + ("rust-figment" ,rust-figment-0.10) + ("rust-futures" ,rust-futures-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-multer" ,rust-multer-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-rocket-codegen" ,rust-rocket-codegen-0.5) + ("rust-rocket-http" ,rust-rocket-http-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-state" ,rust-state-0.6) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-ubyte" ,rust-ubyte-0.10) + ("rust-uuid" ,rust-uuid-1) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-1)) + #:cargo-development-inputs (("rust-figment" ,rust-figment-0.10) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (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-0.4 (package + (inherit rust-rocket-0.5) (name "rust-rocket") (version "0.4.7") (source @@ -3667,7 +4924,6 @@ (define-public rust-rocket-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3684,17 +4940,45 @@ (define-public rust-rocket-0.4 ("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)))) + ("rust-yansi" ,rust-yansi-0.5)))))) + +(define-public rust-rocket-codegen-0.5 + (package + (name "rust-rocket-codegen") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k6hdf9s9y73kzj89qs688gnfjj1sl4imp6pdjz22pzpmdk808x2")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; can't find crate for `rocket` + #:cargo-inputs (("rust-devise" ,rust-devise-0.4) + ("rust-glob" ,rust-glob-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rocket-http" ,rust-rocket-http-0.5) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-time" ,rust-time-0.3) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-version-check" ,rust-version-check-0.9)))) (home-page "https://rocket.rs") - (synopsis - "Web framework with focus on ease-of-use, expressibility, and speed") + (synopsis "Procedural macros for the Rocket web framework") (description - "Rocket is a web framework with a focus on ease-of-use, expressibility, -and speed.") + "This package provides procedural macros for the Rocket web framework.") (license (list license:expat license:asl2.0)))) (define-public rust-rocket-codegen-0.4 (package + (inherit rust-rocket-codegen-0.5) (name "rust-rocket-codegen") (version "0.4.7") (source @@ -3704,7 +4988,6 @@ (define-public rust-rocket-codegen-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3714,15 +4997,56 @@ (define-public rust-rocket-codegen-0.4 ("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)))) + ("rust-yansi" ,rust-yansi-0.5)))))) + +(define-public rust-rocket-http-0.5 + (package + (name "rust-rocket-http") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17iq208zf9rfxdnx8hfjxnn51074cc9li99yjigzwnfhjhv6d89p")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; can't find crate for `rocket` + #:cargo-inputs (("rust-cookie" ,rust-cookie-0.18) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-pear" ,rust-pear-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-stable-pattern" ,rust-stable-pattern-0.1) + ("rust-state" ,rust-state-0.6) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-uuid" ,rust-uuid-1) + ("rust-x509-parser" ,rust-x509-parser-0.13)))) (home-page "https://rocket.rs") - (synopsis "Procedural macros for the Rocket web framework") + (synopsis "HTTP requests, responses and headers tooling for Rocket") (description - "This package provides procedural macros for the Rocket web framework.") + "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-rocket-http-0.4 (package + (inherit rust-rocket-http-0.5) (name "rust-rocket-http") (version "0.4.7") (source @@ -3732,7 +5056,6 @@ (define-public rust-rocket-http-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -3746,12 +5069,187 @@ (define-public rust-rocket-http-0.4 ("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") + ("rust-unicode-xid" ,rust-unicode-xid-0.1)))))) + +(define-public rust-salvo-0.16 + (package + (name "rust-salvo") + (version "0.16.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "salvo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jw9h9aac4ms9shvssc8mw53q9842f5bfqv1a8aqkpcyd2j23n4b")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `salvo_extra` + #:cargo-inputs (("rust-salvo-core" ,rust-salvo-core-0.16) + ("rust-salvo-extra" ,rust-salvo-extra-0.16)) + #:cargo-development-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-jsonwebtoken" ,rust-jsonwebtoken-7) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://salvo.rs") + (synopsis "Salvo is a web framework") (description - "This package provides types, traits, and parsers for HTTP requests, -responses, and headers for the Rocket web framework.") + "Salvo is a powerful web framework that can make your work easier.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-salvo-core-0.16 + (package + (name "rust-salvo-core") + (version "0.16.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "salvo_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01dazprfzmjmvwgcrvqxjd12hgwwlk71mskwyl4cj2y2gm5p80bv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=fs::test::test_named_file_builder" + "--skip=routing::filter::path::tests::test_parse_multi_regex" + "--skip=routing::filter::path::tests::test_parse_multi_regex_with_prefix" + "--skip=routing::filter::path::tests::test_parse_multi_regex_with_prefix_and_suffix" + "--skip=routing::filter::path::tests::test_parse_multi_regex_with_suffix" + "--skip=routing::filter::path::tests::test_parse_single_regex" + "--skip=routing::filter::path::tests::test_parse_single_regex_with_prefix" + "--skip=routing::filter::path::tests::test_parse_single_regex_with_prefix_and_suffix" + "--skip=routing::filter::path::tests::test_parse_single_regex_with_suffix" + "--skip=routing::filter::path::tests::test_parse_wildcard_regex") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-compression" ,rust-async-compression-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-cookie" ,rust-cookie-0.16) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-multer" ,rust-multer-2) + ("rust-multimap" ,rust-multimap-0.8) + ("rust-num-cpus" ,rust-num-cpus-1) + ("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-pin-utils" ,rust-pin-utils-0.1) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-salvo-macros" ,rust-salvo-macros-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-textnonce" ,rust-textnonce-1) + ("rust-thiserror" ,rust-thiserror-1) + ("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-stream" ,rust-tokio-stream-0.1) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs (("rust-reqwest" ,rust-reqwest-0.11)))) + (inputs (list openssl)) + (native-inputs (list pkg-config)) + (home-page "https://salvo.rs") + (synopsis "Core components of the Salvo web framework") + (description + "This package provides the core components of the Salvo web framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-salvo-extra-0.16 + (package + (name "rust-salvo-extra") + (version "0.16.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "salvo_extra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "023wagm5mpkp1jnpggllbddqigsy5h4qnw2lk8m3j25fj61fl3iy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=proxy::tests::test_proxy" + "--skip=serve::tests::test_serve_static_files" + "--skip=sse::tests::test_sse_retry") + #:cargo-inputs (("rust-async-compression" ,rust-async-compression-0.3) + ("rust-async-session" ,rust-async-session-3) + ("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-cookie" ,rust-cookie-0.16) + ("rust-csrf" ,rust-csrf-0.4) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.23) + ("rust-jsonwebtoken" ,rust-jsonwebtoken-7) + ("rust-mime" ,rust-mime-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-salvo-core" ,rust-salvo-core-0.16) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.16) + ("rust-tokio-util" ,rust-tokio-util-0.6) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs (("rust-reqwest" ,rust-reqwest-0.11)))) + (inputs (list openssl)) + (native-inputs (list pkg-config)) + (home-page "https://salvo.rs") + (synopsis "Extra components of the Salvo web framework") + (description + "This package provides the extra components of the Salvo web framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-salvo-macros-0.16 + (package + (name "rust-salvo-macros") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "salvo_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hdlzvcv2vvbr60w1kmfr9bx8glx4xs9g0ry1pwa7yf7ig987z90")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-quote" ,rust-proc-quote-0.4) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://salvo.rs") + (synopsis "Salvo proc macros") + (description "This package provides proc macros for salvo.") (license (list license:expat license:asl2.0)))) (define-public rust-stdweb-0.4 @@ -3919,29 +5417,32 @@ (define-public rust-stdweb-internal-test-macro-0.1 (define-public rust-surf-2 (package (name "rust-surf") - (version "2.2.0") + (version "2.3.2") (source (origin (method url-fetch) (uri (crate-uri "surf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a33kw06jspi54rf38ncyqjj8861bid0wxhwzpk1ypkbr8rls59a")))) + (base32 "1mwd0fj0pcdd1q3qp4r045znf0gnvsq1s0pzxlnrhl83npk1m2vi")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-async-std" ,rust-async-std-1) + (("rust-async-native-tls" ,rust-async-native-tls-0.3) + ("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-getrandom" ,rust-getrandom-0.2) ("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-rustls" ,rust-rustls-0.18) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-web-sys" ,rust-web-sys-0.3)))) @@ -3983,6 +5484,32 @@ (define-public rust-tiny-http-0.12 (description "This package provides a low level HTTP server library.") (license (list license:expat license:asl2.0)))) +(define-public rust-tiny-http-0.11 + (package + (inherit rust-tiny-http-0.12) + (name "rust-tiny-http") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jkpniq72ppbhppyxd2q36kjji05qljsvv1fhvxiwg6j217fzmp0")))) + (arguments + `(#:cargo-inputs (("rust-ascii" ,rust-ascii-1) + ("rust-chunked-transfer" ,rust-chunked-transfer-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) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-fdlimit" ,rust-fdlimit-0.1) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-sha1" ,rust-sha1-0.6)))))) + (define-public rust-tiny-http-0.6 (package (inherit rust-tiny-http-0.12) @@ -4058,6 +5585,58 @@ (define-public rust-tonic-0.10 on high performance, interoperability, and flexibility.") (license license:expat))) +(define-public rust-tonic-0.8 + (package + (inherit rust-tonic-0.10) + (name "rust-tonic") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yymp2xi1p60g81p5jfaybcawpfkb01vqvzqn4cyz6wj7fnry8cg")))) + (arguments + `(#:cargo-test-flags '("--release" "--lib" "--bins" "--tests") + #: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.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.11) + ("rust-prost-derive" ,rust-prost-derive-0.11) + ("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.23) + ("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) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-futures" ,rust-tracing-futures-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #: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-0.6 (package (inherit rust-tonic-0.10) @@ -4179,8 +5758,75 @@ (define-public rust-tower-0.4 robust clients and servers.") (license license:expat))) +(define-public rust-tower-http-0.5 + (package + (name "rust-tower-http") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bmgfh1hr92blw7kv2636ykd0gf3h0aqdd89kvjk6b2fg8kr788d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove disabled doctests with unresolved imports. + (substitute* "src/lib.rs" (("//!.*") "")) + (substitute* "src/classify/status_in_range_is_error.rs" + (("///.*") "")))))) + (build-system cargo-build-system) + (arguments + `(#: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-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-http-range-header" ,rust-http-range-header-0.4) + ("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-async-trait" ,rust-async-trait-0.1) + ("rust-brotli" ,rust-brotli-3) + ("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sync-wrapper" ,rust-sync-wrapper-0.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)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://github.com/tower-rs/tower-http") + (synopsis "Tower middleware and utilities for HTTP clients and servers") + (description + "This package provides Tower middleware and utilities for HTTP +clients and servers.") + (license license:expat))) + (define-public rust-tower-http-0.4 (package + (inherit rust-tower-http-0.5) (name "rust-tower-http") (version "0.4.4") (source @@ -4190,7 +5836,6 @@ (define-public rust-tower-http-0.4 (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. @@ -4229,12 +5874,7 @@ (define-public rust-tower-http-0.4 ("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))) + ("rust-zstd" ,rust-zstd-0.12)))))) (define-public rust-tower-layer-0.3 (package @@ -4495,18 +6135,18 @@ (define-public rust-trust-dns-https-0.19 (("rust-env-logger" ,rust-env-logger-0.7) ("rust-futures" ,rust-futures-0.3)))))) -(define-public rust-trust-dns-https-0.18 +(define-public rust-trust-dns-https-0.18.0-alpha.2 (package (inherit rust-trust-dns-https-0.19) (name "rust-trust-dns-https") - (version "0.18.1") + (version "0.18.0-alpha.2") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-https" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03dapd5larsjlpk6mr4xnm2sb0h7l6dg988wjnaxd8zfi5swq5nl")))) + (base32 "10mad0ys35mp0w91pydk0pzxqd0q2yqvwcf4ppfww7s0l7m8dyid")))) (arguments `(#:tests? #false ;network unreachable #:cargo-inputs @@ -4520,8 +6160,8 @@ (define-public rust-trust-dns-https-0.18 ("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-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.18.0-alpha.2) ("rust-typed-headers" ,rust-typed-headers-0.2) ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.18)) @@ -4621,27 +6261,30 @@ (define-public rust-trust-dns-native-tls-0.19 (inputs (list openssl)))) -(define-public rust-trust-dns-native-tls-0.18 +(define-public rust-trust-dns-native-tls-0.18.0-alpha.2 (package (inherit rust-trust-dns-native-tls-0.19) (name "rust-trust-dns-native-tls") - (version "0.18.1") + (version "0.18.0-alpha.2") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-native-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rcg018vdd5chd4hcmjp753qjlf4k311nmrxa5ay2hxjllzmqd1y")))) + (base32 "0z99xb24g75lpfg57k91bf4s6niw9aq2dd4bwzlgbfm97byi7akb")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ;missing files + `(#: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.18)))))) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2)))))) (define-public rust-trust-dns-native-tls-0.6 (package @@ -4721,25 +6364,25 @@ (define-public rust-trust-dns-openssl-0.19 (inputs (list openssl)))) -(define-public rust-trust-dns-openssl-0.18 +(define-public rust-trust-dns-openssl-0.18.0-alpha.2 (package (inherit rust-trust-dns-openssl-0.19) (name "rust-trust-dns-openssl") - (version "0.18.1") + (version "0.18.0-alpha.2") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1870s27ifsdh9plgcwwbxzvlw17r3dn9v6s0zfryf6kfp9hzpfz2")))) + (base32 "16h58wlwgm4jhadi0vxnppdbxlhnxnfid9jxwgnv2fs4d8q9dhg9")))) (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)) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2)) #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-0.2)))))) @@ -4961,18 +6604,18 @@ (define-public rust-trust-dns-proto-0.19 ("rust-futures" ,rust-futures-0.3) ("rust-tokio" ,rust-tokio-0.2)))))) -(define-public rust-trust-dns-proto-0.18 +(define-public rust-trust-dns-proto-0.18.0-alpha.2 (package (inherit rust-trust-dns-proto-0.19) (name "rust-trust-dns-proto") - (version "0.18.1") + (version "0.18.0-alpha.2") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-proto" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vmhw7vdaa6b7wfv438f272ijjl2qlpcp6b1myvif4iay8pp4fi5")))) + (base32 "0gs15ckm4d4s59jqmm35lbpx7mvylrk8hiialpnga6d9p0m3lzra")))) (arguments `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) @@ -5201,21 +6844,35 @@ (define-public rust-trust-dns-resolver-0.19 (("rust-env-logger" ,rust-env-logger-0.7) ("rust-futures" ,rust-futures-0.3)))))) -(define-public rust-trust-dns-resolver-0.18 +(define-public rust-trust-dns-resolver-0.18.0-alpha.2 (package (inherit rust-trust-dns-resolver-0.19) (name "rust-trust-dns-resolver") - (version "0.18.1") + (version "0.18.0-alpha.2") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-resolver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cldg6y937il4kjk7rirgfhmk0chz41w7qys9h96skaznh4dzmvj")))) + (base32 "0bsal2vz7q3fqdyxa0j1rbbh1hm8mxxv7mf62hjqnvr25d8b343g")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ;network unreachable + `(#:cargo-test-flags + '("--release" "--lib" "--bins" "--tests" "--" + "--skip=async_resolver::tests::test_domain_search" + "--skip=async_resolver::tests::test_fqdn" + "--skip=async_resolver::tests::test_idna" + "--skip=async_resolver::tests::test_large_ndots" + "--skip=async_resolver::tests::test_lookup_cloudflare" + "--skip=async_resolver::tests::test_lookup_google" + "--skip=async_resolver::tests::test_lookup_quad9" + "--skip=async_resolver::tests::test_ndots" + "--skip=async_resolver::tests::test_search_list" + "--skip=hosts::tests::test_read_hosts_conf" + "--skip=name_server::name_server::tests::test_name_server" + "--skip=resolver::tests::test_lookup" + "--skip=system_conf::unix::tests::test_read_resolv_conf") #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-failure" ,rust-failure-0.1) @@ -5229,11 +6886,11 @@ (define-public rust-trust-dns-resolver-0.18 ("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-trust-dns-https" ,rust-trust-dns-https-0.18.0-alpha.2) + ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.18.0-alpha.2) + ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.18.0-alpha.2) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.18.0-alpha.2) ("rust-webpki-roots" ,rust-webpki-roots-0.18)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7) @@ -5338,28 +6995,31 @@ (define-public rust-trust-dns-rustls-0.19 (inputs (list openssl)))) -(define-public rust-trust-dns-rustls-0.18 +(define-public rust-trust-dns-rustls-0.18.0-alpha.2 (package (inherit rust-trust-dns-rustls-0.19) (name "rust-trust-dns-rustls") - (version "0.18.1") + (version "0.18.0-alpha.2") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19vhb0xsyr0wy4p0liwhv4rqmwv6szfmmid6439gq7wah1x1hzp4")))) + (base32 "1qbqn9isrn9awbbhfd72nfqx529idzwdc025ga85vqpxkpryadhc")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ;missing file + `(#: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.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-proto" ,rust-trust-dns-proto-0.18.0-alpha.2) ("rust-webpki" ,rust-webpki-0.21)) #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10)))))) @@ -5397,8 +7057,53 @@ (define-public rust-trust-dns-rustls-0.6 (("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-0.1)))))) +(define-public rust-tungstenite-0.21 + (package + (name "rust-tungstenite") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qaphb5kgwgid19p64grhv2b9kxy7f1059yy92l9kwrlx90sdwcy")))) + (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-1) + ("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.22) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("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.26)) + #: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-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.5)))) + (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.20 (package + (inherit rust-tungstenite-0.21) (name "rust-tungstenite") (version "0.20.1") (source @@ -5408,7 +7113,6 @@ (define-public rust-tungstenite-0.20 (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) @@ -5429,16 +7133,7 @@ (define-public rust-tungstenite-0.20 ("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)))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-tungstenite-0.19 (package @@ -5477,6 +7172,41 @@ (define-public rust-tungstenite-0.19 ("rust-net2" ,rust-net2-0.2) ("rust-rand" ,rust-rand-0.8)))))) +(define-public rust-tungstenite-0.16 + (package + (inherit rust-tungstenite-0.21) + (name "rust-tungstenite") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l9s7gi9kgl4zynhbyb7737lmwaxaim4b818lwi7y95f2hx73lva")))) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.13) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("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.20) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) + ("rust-sha-1" ,rust-sha-1-0.9) + ("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.22)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("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) @@ -5551,8 +7281,62 @@ (define-public rust-typed-headers-0.1 ("rust-http" ,rust-http-0.1) ("rust-mime" ,rust-mime-0.3)))))) +(define-public rust-warp-0.3 + (package + (name "rust-warp") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "warp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sfimrpxkyka1mavfhg5wa4x977qs8vyxa510c627w9zw0i2xsf1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-compression" ,rust-async-compression-0.3) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-headers" ,rust-headers-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-multer" ,rust-multer-2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("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.7) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.20) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-handlebars" ,rust-handlebars-4) + ("rust-listenfd" ,rust-listenfd-1) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://github.com/seanmonstar/warp") + (synopsis "Serve the web at warp speeds") + (description "Warp is a composable, web server framework.") + (license license:expat))) + (define-public rust-warp-0.2 (package + (inherit rust-warp-0.3) (name "rust-warp") (version "0.2.5") (source @@ -5562,7 +7346,6 @@ (define-public rust-warp-0.2 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01wl8kv5hh1dd7gcwdrmn9xfs7jjsh9yc8xa06ph8yf9akgyc6zl")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -5587,11 +7370,7 @@ (define-public rust-warp-0.2 ("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))) + ("rust-urlencoding" ,rust-urlencoding-1)))))) (define-public rust-web-view-0.7 (package @@ -5991,3 +7770,44 @@ (define-public rust-webview-sys-0.6 implementation of webview, a tiny cross-platform library to render web-based GUIs as desktop applications.") (license license:expat))) + +(define-public rust-wiremock-0.5 + (package + (name "rust-wiremock") + (version "0.5.22") + (source + (origin + (method url-fetch) + (uri (crate-uri "wiremock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sf2adr5q3xqrj4sa89fmbr5vl3x51wb1cfp63fr1wrlmwzab8qk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-deadpool" ,rust-deadpool-0.9) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-http-types" ,rust-http-types-2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-isahc" ,rust-isahc-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-surf" ,rust-surf-2) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list curl openssl zlib)) + (home-page "https://github.com/LukeMathWalker/wiremock-rs") + (synopsis "HTTP mocking to test Rust applications.") + (description "This package provides HTTP mocking to test Rust +applications.") + (license (list license:expat license:asl2.0)))) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index e50c63f80f..ef91db0e96 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -101,18 +101,18 @@ (define-public rust-anstyle-wincon-0.2 (define-public rust-cargo-credential-wincred-0.4 (package (name "rust-cargo-credential-wincred") - (version "0.4.1") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-wincred" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1d3h1y0f42xv2sjvn2bmyib4pdimpxjmsi17npx0bd6wlsn568xs")))) + (base32 "0bb9yczmk3ral2r20v5c4jzf3l9qp0nmm11i20s0w5inprp9b228")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) (home-page "https://github.com/rust-lang/cargo") (synopsis "Cargo credential process that stores tokens with Windows Credential Manager") @@ -138,8 +138,31 @@ (define-public rust-cargo-credential-wincred-0.3 (("rust-cargo-credential" ,rust-cargo-credential-0.3) ("rust-windows-sys" ,rust-windows-sys-0.48)))))) +(define-public rust-clipboard-win-5 + (package + (name "rust-clipboard-win") + (version "5.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clipboard-win" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15x28184cw6r8hx30farqvcir0kz151dfbfms4avl9q11rqa1y8j")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `clipboard_win::raw` + #:cargo-inputs (("rust-error-code" ,rust-error-code-3) + ("rust-windows-win" ,rust-windows-win-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-4 (package + (inherit rust-clipboard-win-5) (name "rust-clipboard-win") (version "4.5.0") (source @@ -149,18 +172,12 @@ (define-public rust-clipboard-win-4 (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))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-clipboard-win-3 (package @@ -719,14 +736,14 @@ (define-public rust-user32-sys-0.2 (define-public rust-win-crypto-ng-0.5 (package (name "rust-win-crypto-ng") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "win-crypto-ng" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0faf5bd4d5kaf642yw91lh0n2bfwnz0l70bm85ysmj3dsj4hg9mf")))) + "14mv2wsvji8x7ds72zsjpz6hdq57y4r8r38xjyr4mrbib91zpawr")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Windows library @@ -941,8 +958,44 @@ (define-public rust-wincolor-0.1 #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-winreg-0.52 + (package + (name "rust-winreg") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19gh9vp7mp1ab84kc3ag48nm9y7xgjhh3xa4vxss1gylk1rsaxx2")) + (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-transcode" ,rust-serde-transcode-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-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.51 (package + (inherit rust-winreg-0.52) (name "rust-winreg") (version "0.51.0") (source @@ -967,12 +1020,7 @@ (define-public rust-winreg-0.51 #: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))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-winreg-0.50 (package @@ -1134,6 +1182,29 @@ (define-public rust-winres-0.1 icons to windows executables and dynamic libraries.") (license license:expat))) +(define-public rust-winresource-0.1 + (package + (name "rust-winresource") + (version "0.1.17") + (source + (origin + (method url-fetch) + (uri (crate-uri "winresource" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0aakwh8llq2zvm7qihkrg7sz50hzccyl4x831j60g4psijpsmqkp")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; failed to resolve: could not find `um` in `winapi` + #:cargo-inputs (("rust-toml" ,rust-toml-0.7) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/BenjaminRi/winresource") + (synopsis "Create and set windows icons and metadata for executables") + (description "This package provides functions to create and set windows +icons and metadata for executables.") + (license license:expat))) + (define-public rust-winutil-0.1 (package (name "rust-winutil") @@ -1238,8 +1309,34 @@ (define-public rust-ws2-32-sys-0.2 "Contains function definitions for the Windows API library ws2_32.") (license license:expat))) +(define-public rust-windows-0.52 + (package + (name "rust-windows") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gnh210qjlprpd1szaq04rjm1zqgdm9j7l9absg0kawi2rwm72p4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.52) + ("rust-windows-implement" ,rust-windows-implement-0.52) + ("rust-windows-interface" ,rust-windows-interface-0.52) + ("rust-windows-targets" ,rust-windows-targets-0.52)))) + (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.48 (package + (inherit rust-windows-0.52) (name "rust-windows") (version "0.48.0") (source @@ -1249,19 +1346,11 @@ (define-public rust-windows-0.48 (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)))) + ("rust-windows-targets" ,rust-windows-targets-0.48)))))) (define-public rust-windows-0.46 (package @@ -1387,16 +1476,16 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_aarch64_gnullvm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1g71yxi61c410pwzq05ld7si4p9hyx6lf5fkw21sinvr3cp5gbli")) + "1n05v7qblg1ci3i567inc7xrkmywczxrs1z3lj3rkkxw18py6f1b")) (snippet - '(delete-file "lib/libwindows.0.48.0.a")))) + '(delete-file "lib/libwindows.0.48.5.a")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-aarch64-gnullvm-0.42 @@ -1441,16 +1530,16 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_aarch64_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1wvwipchhywcjaw73h998vzachf668fpqccbhrxzrz5xszh2gvxj")) + "1g5l4ry968p73g6bg6jgyvy9lb8fyhcs54067yzxpcpkf44k2dfw")) (snippet - #~(delete-file "lib/windows.0.48.0.lib")))) + #~(delete-file "lib/windows.0.48.5.lib")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-aarch64-msvc-0.42 @@ -1567,6 +1656,25 @@ (define-public rust-windows-bindgen-0.51 ("rust-syn" ,rust-syn-2) ("rust-windows-metadata" ,rust-windows-metadata-0.51)))))) +(define-public rust-windows-core-0.52 + (package + (name "rust-windows-core") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nc3qv7sy24x0nlnb32f7alzpd6f72l4p24vl65vydbyil669ark")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Rust for Windows") + (description "This package provides the core of Rust for Windows.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-i686-gnu-0.52 (package (name "rust-windows-i686-gnu") @@ -1592,16 +1700,16 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_i686_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hd2v9kp8fss0rzl83wzhw0s5z8q1b4875m6s1phv0yvlxi1jak2")) + "0gklnglwd9ilqx7ac3cn8hbhkraqisd0n83jxzf9837nvvkiand7")) (snippet - #~(delete-file "lib/libwindows.0.48.0.a")))) + #~(delete-file "lib/libwindows.0.48.5.a")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-i686-gnu-0.42 @@ -1703,15 +1811,15 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_i686_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "004fkyqv3if178xx9ksqc4qqv8sz8n72mpczsr2vy8ffckiwchj5")) + (base32 "01m4rik437dl9rdf0ndnm2syh10hizvq0dajdkv2fjqcywrw4mcg")) (snippet - #~(delete-file "lib/windows.0.48.0.lib")))) + #~(delete-file "lib/windows.0.48.5.lib")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-i686-msvc-0.42 @@ -1788,8 +1896,31 @@ (define-public rust-windows-i686-msvc-0.28 (base32 "0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai")))))) +(define-public rust-windows-implement-0.52 + (package + (name "rust-windows-implement") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0il91jkdgnwl20gm8dwbjswsmiq7paif49dyk5kvhwv72wrqq5hj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "The implement macro for the windows crate") + (description "This package provides the @code{implement} macro for the +windows crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-implement-0.48 (package + (inherit rust-windows-implement-0.52) (name "rust-windows-implement") (version "0.48.0") (source @@ -1799,17 +1930,11 @@ (define-public rust-windows-implement-0.48 (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)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-windows-implement-0.46 (package @@ -1882,8 +2007,31 @@ (define-public rust-windows-implement-0.32 (("rust-syn" ,rust-syn-1) ("rust-windows-tokens" ,rust-windows-tokens-0.32)))))) +(define-public rust-windows-interface-0.52 + (package + (name "rust-windows-interface") + (version "0.52.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1la254wzd8qlbxplvb667z5mwdh9jngg1qyhxg6fx9wm00pc73cx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "The interface macro for the windows crate") + (description "This package provides the interface macro for the windows +crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-interface-0.48 (package + (inherit rust-windows-interface-0.52) (name "rust-windows-interface") (version "0.48.0") (source @@ -1893,17 +2041,11 @@ (define-public rust-windows-interface-0.48 (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)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-windows-interface-0.46 (package @@ -2175,14 +2317,14 @@ (define-public rust-windows-targets-0.48 (package (inherit rust-windows-targets-0.52) (name "rust-windows-targets") - (version "0.48.0") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows-targets" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mfzg94w0c8h4ya9sva7rra77f3iy1712af9b6bwg03wrpqbc7kv")))) + "034ljxqshifs1lan89xwpcy1hp0lhdh4b5n0d2z4fwjx2piacbws")))) (arguments `(#:cargo-inputs (("rust-windows-aarch64-gnullvm" ,rust-windows-aarch64-gnullvm-0.48) @@ -2248,6 +2390,28 @@ (define-public rust-windows-tokens-0.32 (base32 "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn")))))) +(define-public rust-windows-win-3 + (package + (name "rust-windows-win") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-win" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p7jbk3i7wj1i6w7chfp4rpbyd6ckgncp6h493wm4frbc8rkxqjq")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `windows_win::sys` + #:cargo-inputs (("rust-error-code" ,rust-error-code-3)) + #:cargo-development-inputs (("rust-clipboard-win" ,rust-clipboard-win-5)))) + (home-page "https://github.com/DoumanAsh/windows-win-rs") + (synopsis "Windows hacking library to find windows and access them") + (description + "Some windows hacking library with utilities to find windows and access them.") + (license license:boost1.0))) + (define-public rust-windows-x86-64-gnu-0.52 (package (name "rust-windows-x86-64-gnu") @@ -2273,16 +2437,16 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_x86_64_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya")) + "13kiqqcvz2vnyxzydjh73hwgigsdr2z1xpzx313kxll34nyhmm2k")) (snippet - #~(delete-file "lib/libwindows.0.48.0.a")))) + #~(delete-file "lib/libwindows.0.48.5.a")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-x86-64-gnu-0.42 @@ -2384,16 +2548,16 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_x86_64_gnullvm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0lxryz3ysx0145bf3i38jkr7f9nxiym8p3syklp8f20yyk0xp5kq")) + "1k24810wfbgz8k48c2yknqjmiigmql6kk3knmddkv8k8g1v54yqb")) (snippet - '(delete-file "lib/libwindows.0.48.0.a")))) + '(delete-file "lib/libwindows.0.48.5.a")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-x86-64-gnullvm-0.42 @@ -2437,15 +2601,15 @@ (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") + (version "0.48.5") (source (origin (method url-fetch) (uri (crate-uri "windows_x86_64_msvc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s")) + (base32 "0f4mdp895kkjh9zv8dxvn4pc10xr7839lf5pa9l0193i2pkgr57d")) (snippet - #~(delete-file "lib/windows.0.48.0.lib")))) + #~(delete-file "lib/windows.0.48.5.lib")))) (arguments (list #:skip-build? #t)))) (define-public rust-windows-x86-64-msvc-0.42 diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 9c62689d18..d5d32d72fb 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1554,14 +1554,14 @@ (define-public rust-blake3-0.3 (define-public rust-blake3-1 (package (name "rust-blake3") - (version "1.5.0") + (version "1.5.1") (source (origin (method url-fetch) (uri (crate-uri "blake3" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11ysh12zcqq6xkjxh5cbrmnwzalprm3z552i5ff7wm5za9hz0c82")))) + (base32 "0lpgw3gl564wqwf98v9jsa29lp6nv7w7nn1cvw6w75s5cz9sdk1h")))) (build-system cargo-build-system) (arguments (list @@ -1573,7 +1573,7 @@ (define-public rust-blake3-1 ("rust-cfg-if" ,rust-cfg-if-1) ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) ("rust-digest" ,rust-digest-0.10) - ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-memmap2" ,rust-memmap2-0.9) ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1) ("rust-zeroize" ,rust-zeroize-1)) diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index d558079f44..9224a8ed5a 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -323,11 +323,12 @@ (define-public nsncd ;; These tests fail with the current builder network setup "--skip=ffi::test_gethostbyaddr_r" "--skip=ffi::test_gethostbyname2_r") + #:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-atoi" ,rust-atoi-2) ("rust-slog" ,rust-slog-2) - ("rust-slog-async" ,rust-slog-async-2-8) + ("rust-slog-async" ,rust-slog-async-2) ("rust-slog-term" ,rust-slog-term-2) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) ("rust-nix" ,rust-nix-0.28) diff --git a/gnu/packages/patches/rust-poem-1-fewer-deps.patch b/gnu/packages/patches/rust-poem-1-fewer-deps.patch new file mode 100644 index 0000000000..b98947b407 --- /dev/null +++ b/gnu/packages/patches/rust-poem-1-fewer-deps.patch @@ -0,0 +1,229 @@ +diff --git a/Cargo.toml b/Cargo.toml +index 79b878c..95ec54c 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -71,26 +71,26 @@ features = ["clock"] + optional = true + default-features = false + +-[dependencies.eyre06] +-version = "0.6" +-optional = true +-package = "eyre" ++#[dependencies.eyre06] ++#version = "0.6" ++#optional = true ++#package = "eyre" + +-[dependencies.fluent] +-version = "0.16.0" +-optional = true ++#[dependencies.fluent] ++#version = "0.16.0" ++#optional = true + +-[dependencies.fluent-langneg] +-version = "0.13.0" +-optional = true ++#[dependencies.fluent-langneg] ++#version = "0.13.0" ++#optional = true + +-[dependencies.fluent-syntax] +-version = "0.11.0" +-optional = true ++#[dependencies.fluent-syntax] ++#version = "0.11.0" ++#optional = true + +-[dependencies.futures-util] +-version = "0.3.17" +-features = ["sink"] ++#[dependencies.futures-util] ++#version = "0.3.17" ++#features = ["sink"] + + [dependencies.headers] + version = "0.3.7" +@@ -125,9 +125,9 @@ features = [ + optional = true + default-features = false + +-[dependencies.intl-memoizer] +-version = "0.5.1" +-optional = true ++#[dependencies.intl-memoizer] ++#version = "0.5.1" ++#optional = true + + [dependencies.libcookie] + version = "0.17" +@@ -146,16 +146,16 @@ version = "0.4.1" + optional = true + package = "csrf" + +-[dependencies.libopentelemetry] +-version = "0.21.0" +-features = ["metrics"] +-optional = true +-package = "opentelemetry" ++#[dependencies.libopentelemetry] ++#version = "0.21.0" ++#features = ["metrics"] ++#optional = true ++#package = "opentelemetry" + +-[dependencies.libprometheus] +-version = "0.13.0" +-optional = true +-package = "prometheus" ++#[dependencies.libprometheus] ++#version = "0.13.0" ++#optional = true ++#package = "prometheus" + + [dependencies.libtempfile] + version = "3.2.0" +@@ -178,17 +178,17 @@ optional = true + version = "0.10.56" + optional = true + +-[dependencies.opentelemetry-http] +-version = "0.10.0" +-optional = true ++#[dependencies.opentelemetry-http] ++#version = "0.10.0" ++#optional = true + +-[dependencies.opentelemetry-prometheus] +-version = "0.14.0" +-optional = true ++#[dependencies.opentelemetry-prometheus] ++#version = "0.14.0" ++#optional = true + +-[dependencies.opentelemetry-semantic-conventions] +-version = "0.13.0" +-optional = true ++#[dependencies.opentelemetry-semantic-conventions] ++#version = "0.13.0" ++#optional = true + + [dependencies.parking_lot] + version = "0.12.0" +@@ -219,14 +219,14 @@ optional = true + version = "0.11.1" + optional = true + +-[dependencies.redis] +-version = "0.23.0" +-features = [ +- "aio", +- "tokio-comp", +- "connection-manager", +-] +-optional = true ++#[dependencies.redis] ++#version = "0.23.0" ++#features = [ ++# "aio", ++# "tokio-comp", ++# "connection-manager", ++#] ++#optional = true + + [dependencies.regex] + version = "1.5.5" +@@ -263,9 +263,9 @@ optional = true + [dependencies.smallvec] + version = "1.6.1" + +-[dependencies.sse-codec] +-version = "0.3.2" +-optional = true ++#[dependencies.sse-codec] ++#version = "0.3.2" ++#optional = true + + [dependencies.thiserror] + version = "1.0.30" +@@ -323,10 +323,10 @@ default-features = false + [dependencies.tracing] + version = "0.1.36" + +-[dependencies.unic-langid] +-version = "0.9.0" +-features = ["macros"] +-optional = true ++#[dependencies.unic-langid] ++#version = "0.9.0" ++#features = ["macros"] ++#optional = true + + [dependencies.wildmatch] + version = "2" +@@ -383,13 +383,13 @@ embed = [ + "hex", + "mime_guess", + ] +-i18n = [ +- "fluent", +- "fluent-langneg", +- "fluent-syntax", +- "unic-langid", +- "intl-memoizer", +-] ++#i18n = [ ++# "fluent", ++# "fluent-langneg", ++# "fluent-syntax", ++# "unic-langid", ++# "intl-memoizer", ++#] + multipart = ["multer"] + native-tls = [ + "server", +@@ -400,20 +400,20 @@ openssl-tls = [ + "tokio-openssl", + "openssl", + ] +-opentelemetry = [ +- "libopentelemetry", +- "opentelemetry-http", +- "opentelemetry-semantic-conventions", +-] +-prometheus = [ +- "libopentelemetry", +- "opentelemetry-prometheus", +- "libprometheus", +-] +-redis-session = [ +- "session", +- "redis", +-] ++#opentelemetry = [ ++# "libopentelemetry", ++# "opentelemetry-http", ++# "opentelemetry-semantic-conventions", ++#] ++#prometheus = [ ++# "libopentelemetry", ++# "opentelemetry-prometheus", ++# "libprometheus", ++#] ++#redis-session = [ ++# "session", ++# "redis", ++#] + rustls = [ + "server", + "tokio-rustls", +@@ -445,7 +445,7 @@ tempfile = [ + ] + test = [ + "sse", +- "sse-codec", ++# "sse-codec", + "tokio-util/compat", + ] + tower-compat = [ diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 96e607bfe9..cfabc618d2 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -173,11 +173,13 @@ (define-public python-cramjam ("rust-zstd" ,rust-zstd-0.11)) #:install-source? #f)) (native-inputs (list maturin + pkg-config python-pytest python-pytest-xdist python-numpy python-hypothesis python-wrapper)) + (inputs (list `(,zstd "lib"))) (home-page "https://github.com/milesgranger/cramjam") (synopsis "Python bindings to compression algorithms in Rust") (description diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d25059c86b..ffafee7dd6 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Eric Dvorsak -;;; Copyright © 2015-2021, 2023 Efraim Flashner +;;; Copyright © 2015-2021, 2023, 2024 Efraim Flashner ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari ;;; Copyright © 2016, 2017, 2020, 2022, 2023 Marius Bakke ;;; Copyright © 2017 Ben Sturmfels @@ -523,16 +523,18 @@ (define python-certifi/fixed (define-public python-cryptography-vectors (package (name "python-cryptography-vectors") - (version "41.0.4") + (version "42.0.5") (source (origin (method url-fetch) (uri (pypi-uri "cryptography_vectors" version)) (sha256 (base32 - "17m1azxfc3w0390jp9mkx1v0k3xfv4v1lrgch4hvbbm77s0z42j4")))) + "1lcflcvv0xjz5cyvf33iav1vd91qzjvl4w7h4qaxlcnbn3ixap2h")))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; No tests included. + (native-inputs + (list python-flit-core)) (home-page "https://github.com/pyca/cryptography") (synopsis "Test vectors for the cryptography package") (description @@ -543,14 +545,14 @@ (define-public python-cryptography-vectors (define-public python-cryptography (package (name "python-cryptography") - (version "41.0.4") + (version "42.0.5") (source (origin (method url-fetch) (uri (pypi-uri "cryptography" version)) (sha256 (base32 - "06pm952pr6f31pzwh5fb68zryqyss0hg9cbggxm15z15844w7svz")))) + "1qdz0yk5smi0dnywbxmanccwizilmnzgbbihjpmpgm6zjpn7xq3g")))) (build-system pyproject-build-system) (arguments (list @@ -561,8 +563,7 @@ (define-public python-cryptography ;; 'python-cryptography-rust', so there's no need ;; to build it here. (substitute* "pyproject.toml" - ((".*setuptools-rust.*") "")) - (delete-file "setup.py"))) + (("\\s+\\\"setuptools-rust.*") "")))) (add-before 'check 'symlink-rust-library (lambda* (#:key inputs outputs #:allow-other-keys) (symlink (search-input-file @@ -572,13 +573,12 @@ (define-public python-cryptography "_rust.abi3.so"))))))) (native-inputs - (list python-cryptography-vectors - python-hypothesis + (list python-certifi + python-cryptography-vectors python-iso8601 python-pretend python-pytest ;for subtests - python-pytest-benchmark - python-pytest-subtests)) + python-pytest-benchmark)) (inputs (list python-cryptography-rust)) (propagated-inputs (list python-cffi)) (home-page "https://github.com/pyca/cryptography") @@ -632,14 +632,15 @@ (define-public python-cryptography-rust #:cargo-inputs `(("rust-asn1" ,rust-asn1-0.15) ("rust-cc" ,rust-cc-1) + ("rust-cfg-if" ,rust-cfg-if-1) ("rust-foreign-types" ,rust-foreign-types-0.3) ("rust-foreign-types-shared" ,rust-foreign-types-shared-0.1) ("rust-once-cell" ,rust-once-cell-1) ("rust-openssl" ,rust-openssl-0.10) ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-ouroboros" ,rust-ouroboros-0.15) - ("rust-pem" ,rust-pem-1) - ("rust-pyo3" ,rust-pyo3-0.18)))) + ("rust-pem" ,rust-pem-3) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-self-cell" ,rust-self-cell-1)))) (native-inputs (list pkg-config python python-cffi)) ;; XXX: Adding rust-openssl-sys-0.9 is needed because #:cargo-inputs ;; doesn't honor propagated-inputs. @@ -650,14 +651,14 @@ (define-public python-cryptography-rust (define-public python-pyopenssl (package (name "python-pyopenssl") - (version "23.2.0") + (version "24.1.0") (source (origin (method url-fetch) (uri (pypi-uri "pyOpenSSL" version)) (sha256 (base32 - "1b4bkcpzhmablf592g21rq3l8apbhklp6wcwlvgfflm4algr6vr7")))) + "0vqsyji1q4vhd5yxlzks0z6va62knq64mxhfdjhz3yaxmazx9gna")))) (build-system python-build-system) (arguments (list @@ -669,25 +670,21 @@ (define-public python-pyopenssl ;; PyOpenSSL runs tests against a certificate with a fixed ;; expiry time. To ensure successful builds in the future, ;; set the time to roughly the release date. - (invoke "faketime" "2023-03-25" "pytest" "-vv" "-k" - (string-append - ;; This test tries to look up certificates from - ;; the compiled-in default path in OpenSSL, which - ;; does not exist in the build environment. - "not test_fallback_default_verify_paths " - ;; This test attempts to make a connection to - ;; an external web service. - "and not test_set_default_verify_paths " - ;; Fails on i686-linux and possibly other 32-bit platforms - ;; https://github.com/pyca/pyopenssl/issues/974 - "and not test_verify_with_time")))))))) + (invoke "faketime" "2024-03-09" "pytest" "-vv" "-k" + ;; This test tries to look up certificates from + ;; the compiled-in default path in OpenSSL, which + ;; does not exist in the build environment. + "not test_fallback_default_verify_paths "))))))) (propagated-inputs (list python-cryptography)) (inputs (list openssl)) - (native-inputs (list libfaketime python-flaky python-pretend python-pytest)) + (native-inputs (list libfaketime python-pretend python-pytest + python-pytest-rerunfailures)) (home-page "https://github.com/pyca/pyopenssl") (synopsis "Python wrapper module around the OpenSSL library") (description "PyOpenSSL is a high-level wrapper around a subset of the OpenSSL library.") + (properties `((updater-extra-inputs . ("openssl")) + (updater-extra-native-inputs . ("libfaketime")))) (license license:asl2.0))) (define-public python-ed25519 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 30da9c8c3c..94a0406ea7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -65,6 +65,7 @@ ;;; Copyright © 2024 Sharlatan Hellseher ;;; Copyright © 2024 normally_js ;;; Copyright © 2024 Markku Korkeala +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -83,6 +84,7 @@ (define-module (gnu packages python-web) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cargo) #:use-module (guix build-system copy) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) @@ -96,6 +98,8 @@ (define-module (gnu packages python-web) #:use-module (gnu packages bash) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages django) @@ -122,6 +126,7 @@ (define-module (gnu packages python-web) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages rpc) + #:use-module (gnu packages rust-apps) #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) #:use-module (gnu packages texinfo) @@ -3442,6 +3447,46 @@ (define-public python-ndg-httpsclient (home-page "https://github.com/cedadev/ndg_httpsclient/") (license license:bsd-3))) +(define-public python-nh3 + (package + (name "python-nh3") + (version "0.2.17") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nh3" version)) + (sha256 + (base32 "0a7hrca5bbbrz20cbqy16n8vaxf4v2q1r9zv9vjlbmn334d79l20")))) + (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 + (replace 'build (assoc-ref py:%standard-phases 'build)) + (replace 'install (assoc-ref py:%standard-phases 'install)) + ;; cargo-build-system's %standard-phases has 'check before 'install. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (py:add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "tests"))))) + #:cargo-inputs + `(("rust-ammonia" ,rust-ammonia-4) + ("rust-pyo3" ,rust-pyo3-0.21)) + #:install-source? #false)) + (native-inputs (list maturin python-pytest python-wrapper)) + (home-page "https://nh3.readthedocs.io") + (synopsis "Python bindings to Ammonia HTML sanitization library") + (description "This package provides Python bindings to Ammonia HTML +sanitizer Rust crate.") + (license license:expat))) + (define-public python-noiseprotocol (package (name "python-noiseprotocol") diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index d73bd1a030..d22cf2a98c 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2020 Leo Famulari ;;; Copyright © 2020 Mark H Weaver ;;; Copyright © 2020 Gabriel Arazas -;;; Copyright © 2020-2023 Nicolas Goaziou +;;; Copyright © 2020-2024 Nicolas Goaziou ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2021 Sharlatan Hellseher @@ -112,7 +112,12 @@ (define-public aardvark-dns (uri (crate-uri "aardvark-dns" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x")))) + (base32 "0ldqv9v3v9a1m2kka660d5v15y2zasy5z7m4fh5hif74r089cx6x")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* (find-files "." "^Cargo\\.toml$") + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -139,20 +144,20 @@ (define-public aardvark-dns (define-public agate (package (name "agate") - (version "3.2.4") + (version "3.3.5") (source (origin (method url-fetch) (uri (crate-uri "agate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wvbhzm4k3hdy8x7aq8rj3galhgfizdwf5fi419hzvg3kmvbawh1")))) + (base32 "0ja2lvlcvkcbjn8r9da4k0ppy7pb7xad8j4b0a4fhg0mbp244f9s")))) (build-system cargo-build-system) (arguments `(#:install-source? #f #:cargo-inputs (("rust-configparser" ,rust-configparser-3) - ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-getopts" ,rust-getopts-0.2) ("rust-glob" ,rust-glob-0.3) @@ -160,12 +165,10 @@ (define-public agate ("rust-mime-guess" ,rust-mime-guess-2) ("rust-once-cell" ,rust-once-cell-1) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rcgen" ,rust-rcgen-0.9) - ("rust-rustls" ,rust-rustls-0.20) + ("rust-rcgen" ,rust-rcgen-0.12) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) - ("rust-url" ,rust-url-2) - ("rust-webpki" ,rust-webpki-0.22)) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.25) + ("rust-url" ,rust-url-2)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-gemini-fetch" ,rust-gemini-fetch-0.2)))) (home-page "https://github.com/mbrubeck/agate") @@ -359,27 +362,28 @@ (define-public bat (define-public cargo-machete (package (name "cargo-machete") - (version "0.6.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri name version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lbymfxgcizmj1c1ydpzinjbjhc7c9j0wb5y1xq33j80s5hzayaz")))) + (base32 "1an8d88njnk8hfsnwnx52zlzdmijscv7m20as1ci986rxz3vgpcl")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;Error: No such file or directory (os error 2) + #:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-argh" ,rust-argh-0.1) ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) - ("rust-cargo-toml" ,rust-cargo-toml-0.16) - ("rust-grep" ,rust-grep-0.2) + ("rust-cargo-toml" ,rust-cargo-toml-0.19) + ("rust-grep" ,rust-grep-0.3) ("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-toml-edit" ,rust-toml-edit-0.22) ("rust-walkdir" ,rust-walkdir-2)))) (home-page "https://github.com/est31/cargo-udeps") (synopsis "Find unused dependencies in Cargo.toml") @@ -545,19 +549,20 @@ (define-public emacs-lsp-booster (define-public eza (package (name "eza") - (version "0.17.0") + (version "0.18.7") (source (origin (method url-fetch) (uri (crate-uri "eza" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "026xagh42nrdy2yg9197mmb2bhm5mdvbf9vd9fk9iysrj1iay63r")))) + (base32 "1wnkbzaza0bcw5rld3baikpwwvnajz3j6nbpaic5mhv86rshqlcq")))) (build-system cargo-build-system) (arguments (list #:install-source? #f - #:cargo-inputs `(("rust-ansiterm" ,rust-ansiterm-0.12) + #:cargo-inputs `(("rust-ansi-width" ,rust-ansi-width-0.1) + ("rust-ansiterm" ,rust-ansiterm-0.12) ("rust-chrono" ,rust-chrono-0.4) ("rust-git2" ,rust-git2-0.18) ("rust-glob" ,rust-glob-0.3) @@ -565,24 +570,24 @@ (define-public eza ("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-once-cell" ,rust-once-cell-1) ("rust-palette" ,rust-palette-0.7) + ("rust-path-clean" ,rust-path-clean-1) ("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-rayon" ,rust-rayon-1) ("rust-terminal-size" ,rust-terminal-size-0.3) ("rust-timeago" ,rust-timeago-0.4) ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-uutils-term-grid" ,rust-uutils-term-grid-0.3) + ("rust-uutils-term-grid" ,rust-uutils-term-grid-0.6) ("rust-uzers" ,rust-uzers-0.11) ("rust-windows-sys" ,rust-windows-sys-0.52) ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5)) #:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.5) - ("rust-trycmd" ,rust-trycmd-0.14)) + ("rust-trycmd" ,rust-trycmd-0.15)) #:phases #~(modify-phases %standard-phases (add-after 'build 'build-manual (lambda* (#:key inputs #:allow-other-keys) @@ -594,7 +599,9 @@ (define-public eza "-f" "markdown" "-t" "man" (string-append "man/" page ".md"))))) - (list "eza.1" "eza_colors.5"))))) + (list "eza.1" + "eza_colors.5" + "eza_colors-explanation.5"))))) (add-after 'install 'install-extras (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -611,6 +618,8 @@ (define-public eza (install-file "eza.1" man1)) (when (file-exists? "eza_colors.5") (install-file "eza_colors.5" man5)) + (when (file-exists? "eza_colors-explanation.5") + (install-file "eza_colors-explanation.5" man5)) (mkdir-p bash-completions-dir) (mkdir-p zsh-completions-dir) (mkdir-p fish-completions-dir) @@ -723,6 +732,89 @@ (define-public fd defaults for 80% of the use cases.") (license (list license:expat license:asl2.0)))) +(define-public gitui + (package + (name "gitui") + (version "0.25.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gitui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19xv6bvp0hs1m5y8a0myifvh8xrxrv14wd4gknlsrka0l7d8ijg7")))) + (build-system cargo-build-system) + (arguments + `(;; disable vendor-openssl from default flags + ;; use oniguruma regex lib which is faster and makes gitui 25% smaller + #:features '("ghemoji" "regex-onig" "trace-libgit") + #:cargo-build-flags + '("--release" "--no-default-features") + #:cargo-test-flags + '("--release" "--no-default-features" + "--features" "ghemoji regex-onig trace-libgit" + "--" + ;; this test fails with permission denied error + "--skip=test_symbolic_links") + #:install-source? #f + #:phases + (modify-phases %standard-phases + (replace 'install + ;; Add --no-default-features to the install phase. + (lambda* (#:key outputs features #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "cargo" "install" "--no-track" + "--path" "." + "--root" out + "--no-default-features" + "--features" (string-join features)))))) + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-asyncgit" ,rust-asyncgit-0.25) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-bugreport" ,rust-bugreport-0.5) + ("rust-bwrap" ,rust-bwrap-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-dirs" ,rust-dirs-5) + ("rust-easy-cast" ,rust-easy-cast-0.5) + ("rust-filetreelist" ,rust-filetreelist-0.5) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-gh-emoji" ,rust-gh-emoji-1) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-notify" ,rust-notify-6) + ("rust-notify-debouncer-mini" ,rust-notify-debouncer-mini-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-ratatui" ,rust-ratatui-0.24) + ("rust-rayon-core" ,rust-rayon-core-1) + ("rust-ron" ,rust-ron-0.8) + ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-scopetime" ,rust-scopetime-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-simplelog" ,rust-simplelog-0.12) + ("rust-struct-patch" ,rust-struct-patch-0.4) + ("rust-syntect" ,rust-syntect-5) + ("rust-tui-textarea" ,rust-tui-textarea-0.4) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-truncate" ,rust-unicode-truncate-0.2) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-which" ,rust-which-6)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.7 libssh2 openssl zlib)) + (home-page "https://github.com/extrawurst/gitui") + (synopsis "Terminal UI for git") + (description "This package provides a fast Terminal UI for git.") + (license license:expat))) + (define-public hexyl (package (name "hexyl") @@ -1366,7 +1458,12 @@ (define-public netavark (uri (crate-uri "netavark" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw")))) + (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* (find-files "." "^Cargo\\.toml$") + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -2043,22 +2140,24 @@ (define-public tectonic (define-public treefmt (package (name "treefmt") - (version "0.4.1") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "treefmt" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rarg6rffzl1cf6r167h9p14wr696kwnzr85kwbdy7x7x5zpj5li")))) + (base32 "1pfx8kgaf0rc8ijps2fqb61gjnak3sf430hvg52bnby9qqyd51h8")))) (build-system cargo-build-system) (arguments `(#:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-verbosity-flag" ,rust-clap-verbosity-flag-2) ("rust-console" ,rust-console-0.13) ("rust-directories" ,rust-directories-3) + ("rust-env-logger" ,rust-env-logger-0.10) ("rust-filetime" ,rust-filetime-0.2) ("rust-globset" ,rust-globset-0.4) ("rust-ignore" ,rust-ignore-0.4) @@ -2068,12 +2167,12 @@ (define-public treefmt ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-structopt" ,rust-structopt-0.3) ("rust-tempfile" ,rust-tempfile-3) ("rust-toml" ,rust-toml-0.5) ("rust-which" ,rust-which-4)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) + (("rust-criterion" ,rust-criterion-0.3) + ("rust-mockall" ,rust-mockall-0.11)))) (home-page "https://numtide.github.io/treefmt") (synopsis "Command-line application to format the code tree") (description @@ -2405,19 +2504,20 @@ (define-public rbw (define-public rust-cargo (package (name "rust-cargo") - (version "0.76.0") + (version "0.78.1") (source (origin (method url-fetch) (uri (crate-uri "cargo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14yjyvj9bl6mlzx6bbi3igflgdrx1hil9ifnf1dl9xnm4mb2gjw6")))) + (base32 "1p6564hg38xxbpjiiqxmnm1kmysxfjh0kbm5g56n85c3s0wmwc6n")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `cargo_test_support` #:cargo-inputs - (("rust-anstream" ,rust-anstream-0.6) + (("rust-annotate-snippets" ,rust-annotate-snippets-0.10) + ("rust-anstream" ,rust-anstream-0.6) ("rust-anstyle" ,rust-anstyle-1) ("rust-anyhow" ,rust-anyhow-1) ("rust-base64" ,rust-base64-0.21) @@ -2428,18 +2528,18 @@ (define-public rust-cargo ("rust-cargo-credential-wincred" ,rust-cargo-credential-wincred-0.4) ("rust-cargo-platform" ,rust-cargo-platform-0.1) ("rust-cargo-util" ,rust-cargo-util-0.2) + ("rust-cargo-util-schemas" ,rust-cargo-util-schemas-0.2) ("rust-clap" ,rust-clap-4) ("rust-color-print" ,rust-color-print-0.3) - ("rust-crates-io" ,rust-crates-io-0.39) + ("rust-crates-io" ,rust-crates-io-0.40) ("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-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-gix" ,rust-gix-0.57) + ("rust-gix-features" ,rust-gix-features-0.37) ("rust-glob" ,rust-glob-0.3) ("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12) @@ -2449,7 +2549,7 @@ (define-public rust-cargo ("rust-ignore" ,rust-ignore-0.4) ("rust-im-rc" ,rust-im-rc-15) ("rust-indexmap" ,rust-indexmap-2) - ("rust-itertools" ,rust-itertools-0.11) + ("rust-itertools" ,rust-itertools-0.12) ("rust-jobserver" ,rust-jobserver-0.1) ("rust-lazycell" ,rust-lazycell-1) ("rust-libc" ,rust-libc-0.2) @@ -2460,33 +2560,30 @@ (define-public rust-cargo ("rust-os-info" ,rust-os-info-3) ("rust-pasetors" ,rust-pasetors-0.6) ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) ("rust-rand" ,rust-rand-0.8) - ("rust-rustfix" ,rust-rustfix-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-rusqlite" ,rust-rusqlite-0.30) + ("rust-rustfix" ,rust-rustfix-0.8) ("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-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-time" ,rust-time-0.3) ("rust-toml" ,rust-toml-0.8) - ("rust-toml-edit" ,rust-toml-edit-0.20) + ("rust-toml-edit" ,rust-toml-edit-0.21) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-unicase" ,rust-unicase-2) ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2) ("rust-url" ,rust-url-2) ("rust-walkdir" ,rust-walkdir-2) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-same-file" ,rust-same-file-1) ("rust-snapbox" ,rust-snapbox-0.4)))) (native-inputs @@ -2502,19 +2599,19 @@ (define-public rust-cargo (define-public rust-cargo-c (package (name "rust-cargo-c") - (version "0.9.29+cargo-0.76.0") + (version "0.9.31+cargo-0.78.0") (source (origin (method url-fetch) (uri (crate-uri "cargo-c" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03ks9rl2skvf5j93sbmbz6l72k5cgvf4hc0nhnp7aadrvb05v5sr")))) + (base32 "1y60hhjikkzk5s36gskgbxbyzr6ik7w0dn5j84mvqlilcs3ab0lj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-cargo" ,rust-cargo-0.76) + ("rust-cargo" ,rust-cargo) ("rust-cargo-util" ,rust-cargo-util-0.2) ("rust-cbindgen" ,rust-cbindgen-0.26) ("rust-cc" ,rust-cc-1) @@ -2527,7 +2624,7 @@ (define-public rust-cargo-c ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-toml" ,rust-toml-0.7) + ("rust-toml" ,rust-toml-0.8) ("rust-windows-sys" ,rust-windows-sys-0.52)))) (native-inputs (list pkg-config)) @@ -3027,7 +3124,7 @@ (define-public git-delta (define-public rust-xremap (package (name "rust-xremap") - (version "0.8.14") + (version "0.10.0") (source (origin (method url-fetch) @@ -3035,7 +3132,7 @@ (define-public rust-xremap (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1691clzqbwcywz66k0lf5wjz3q5cpbks0l090bfv42idzr5a0ghl")))) + "13pvlc40zha7c9ma30s32x65c8qciqcnsznw43crx3wymlaqc9sn")))) (build-system cargo-build-system) (arguments `(#:features '() @@ -3048,7 +3145,6 @@ (define-public rust-xremap ("rust-env-logger" ,rust-env-logger-0.10) ("rust-evdev" ,rust-evdev-0.12) ("rust-fork" ,rust-fork-0.1) - ("rust-hyprland" ,rust-hyprland-0.3) ("rust-indoc" ,rust-indoc-2) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) @@ -3058,7 +3154,6 @@ (define-public rust-xremap ("rust-serde-json" ,rust-serde-json-1) ("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) @@ -3073,19 +3168,19 @@ (define-public rust-xremap (xremap (string-append out "/bin/xremap"))) (mkdir-p (string-append share "/bash-completion/completions")) (with-output-to-file - (string-append share "/bash-completion/completions/xremap") + (string-append share "/bash-completion/completions/xremap") (lambda _ (invoke xremap "--completions" "bash"))) (mkdir-p (string-append share "/fish/vendor_completions.d")) (with-output-to-file - (string-append share "/fish/vendor_completions.d/xremap.fish") + (string-append share "/fish/vendor_completions.d/xremap.fish") (lambda _ (invoke xremap "--completions" "fish"))) (mkdir-p (string-append share "/zsh/site-functions")) (with-output-to-file - (string-append share "/zsh/site-functions/_xremap") + (string-append share "/zsh/site-functions/_xremap") (lambda _ (invoke xremap "--completions" "zsh"))) (mkdir-p (string-append share "/elvish/lib")) (with-output-to-file - (string-append share "/elvish/lib/xremap") + (string-append share "/elvish/lib/xremap") (lambda _ (invoke xremap "--completions" "elvish"))))))))) (home-page "https://github.com/k0kubun/xremap") (synopsis "Dynamic key remapp for X and Wayland") @@ -3100,14 +3195,6 @@ (define-public xremap-gnome (substitute-keyword-arguments (package-arguments rust-xremap) ((#:features _) '(list "gnome")))))) -(define-public xremap-sway - (package - (inherit rust-xremap) - (name "xremap-sway") - (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) - ((#:features _) '(list "sway")))))) - (define-public xremap-wlroots (package (inherit rust-xremap) @@ -3116,6 +3203,12 @@ (define-public xremap-wlroots (substitute-keyword-arguments (package-arguments rust-xremap) ((#:features _) '(list "wlroots")))))) +(define-public xremap-hyprland + (deprecated-package "xremap-hyprland" xremap-wlroots)) + +(define-public xremap-sway + (deprecated-package "xremap-sway" xremap-wlroots)) + (define-public xremap-x11 (package (inherit rust-xremap) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 8119f4560a..465899fe9d 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -960,8 +960,8 @@ (define-public rust-1.76 (replace "llvm" llvm-17)))))) (define-public rust-1.77 - (let ((base-rust (rust-bootstrapped-package rust-1.76 "1.77.0" - "11rda8d8qj24a5mkjzj1x6x9pkvaq0zlhkgdp5b39zj5m0gwsv0d"))) + (let ((base-rust (rust-bootstrapped-package rust-1.76 "1.77.1" + "18d4ncdzp0nfimmw029xdf7vv1hgh82v30mjnnixnllzar66w47f"))) (package (inherit base-rust) (arguments @@ -1027,12 +1027,12 @@ (define (make-ignore-test-list strs) ;;; 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.75)) + (let ((base-rust rust-1.77)) (package (inherit base-rust) (properties (append (alist-delete 'hidden? (package-properties base-rust)) - (clang-compiler-cpu-architectures "15"))) + (clang-compiler-cpu-architectures "17"))) (outputs (cons* "rust-src" "tools" (package-outputs base-rust))) (source (origin @@ -1041,6 +1041,7 @@ (define-public rust '(begin (for-each delete-file-recursively '("src/llvm-project" + "vendor/jemalloc-sys/jemalloc" "vendor/openssl-src/openssl" "vendor/tikv-jemalloc-sys/jemalloc" ;; These are referenced by the cargo output @@ -1049,7 +1050,8 @@ (define-public rust "vendor/curl-sys-0.4.63+curl-8.1.2/curl" "vendor/libffi-sys/libffi" "vendor/libnghttp2-sys/nghttp2" - "vendor/libz-sys/src/zlib")) + "vendor/libz-sys/src/zlib" + "vendor/libz-sys-1.1.9/src/zlib")) ;; Use the packaged nghttp2 (delete-file "vendor/libnghttp2-sys/build.rs") (with-output-to-file "vendor/libnghttp2-sys/build.rs" @@ -1140,7 +1142,12 @@ (define-public rust '("fn uplift_dwp_of_bin_on_linux"))) (substitute* "cache_lock.rs" ,@(make-ignore-test-list - '("fn multiple_download"))))))) + '("fn multiple_shared" + "fn multiple_download" + "fn download_then_mutate"))) + (substitute* "global_cache_tracker.rs" + ,@(make-ignore-test-list + '("fn package_cache_lock_during_build"))))))) `()) (add-after 'unpack 'disable-tests-broken-on-aarch64 (lambda _ @@ -1193,7 +1200,7 @@ (define-public rust ;; The three tests which are known to fail upstream on QEMU ;; emulation on aarch64 and riscv64 also fail on x86_64 in ;; Guix's build system. Skip them on all builds. - (substitute* "sys/unix/process/process_common/tests.rs" + (substitute* "sys/pal/unix/process/process_common/tests.rs" ;; We can't use make-ignore-test-list because we will get ;; build errors due to the double [ignore] block. (("target_arch = \"arm\"" arm) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 067197ffc5..4012940897 100644 --- a/gnu/packages/sequoia.scm +++ b/gnu/packages/sequoia.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019, 2020, 2021 Hartmut Goebel -;;; Copyright © 2021, 2023 Efraim Flashner +;;; Copyright © 2021, 2023, 2024 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,25 +36,57 @@ (define-module (gnu packages sequoia) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages tls)) +(define-public rust-openpgp-cert-d-0.3 + (package + (name "rust-openpgp-cert-d") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "openpgp-cert-d" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kk2mr4rsib04cygv7jg55wvdxivakggqsfrn4apnaxxl5aknb0c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-dirs" ,rust-dirs-5) + ("rust-fd-lock" ,rust-fd-lock-3) + ("rust-libc" ,rust-libc-0.2) + ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-assert-fs" ,rust-assert-fs-1) + ("rust-predicates" ,rust-predicates-3)))) + (home-page "https://gitlab.com/sequoia-pgp/pgp-cert-d") + (synopsis "Shared OpenPGP Certificate Directory") + (description "This package provides the shared code for a @code{OpenPGP} +Certificate Directory.") + (license license:expat))) + (define-public rust-sequoia-autocrypt-0.25 (package (name "rust-sequoia-autocrypt") - (version "0.25.0") + (version "0.25.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-autocrypt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0796mn8kwrpfc8qzliwyyy62mrg2w0j6ax8929jwrkibvwy2axi2")))) + "0ns121ggmx690m8czhc7zbb7rwz0jjv3l5gw4igs6mn1hznc0kz2")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) + (("rust-base64" ,rust-base64-0.21) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)) #:cargo-development-inputs (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) @@ -69,37 +101,34 @@ (define-public rust-sequoia-autocrypt-0.25 than just headers; it requires tight integration with the MUA.") (license license:lgpl2.0+))) -(define-public rust-sequoia-cert-store-0.3 +(define-public rust-sequoia-cert-store-0.5 (package (name "rust-sequoia-cert-store") - (version "0.3.2") - (source (origin - (method url-fetch) - (uri (crate-uri "sequoia-cert-store" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gmkqn2f23i2xwjwmnaj3dx9l4ir74dyylkw1qsxawxd95i8dk02")))) + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-cert-store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rjakcnhwdvwrm0952rpi9ky8cxvv5bnmylval49s3a087jqcm76")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-dirs" ,rust-dirs-5) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.1) - ("rust-rayon" ,rust-rayon-1) - ("rust-rusqlite" ,rust-rusqlite-0.29) - ("rust-sequoia-net" ,rust-sequoia-net-0.27) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs - (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-tempfile" ,rust-tempfile-3)))) + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-dirs" ,rust-dirs-5) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-rusqlite" ,rust-rusqlite-0.29) + ("rust-sequoia-net" ,rust-sequoia-net-0.28) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list clang pkg-config)) (inputs @@ -109,92 +138,197 @@ (define-public rust-sequoia-cert-store-0.3 (description "This package provides a certificate database interface.") (license license:lgpl2.0+))) -(define-public rust-sequoia-ipc-0.30 +(define-public rust-sequoia-ipc-0.33 (package (name "rust-sequoia-ipc") - (version "0.30.1") + (version "0.33.0") (source - (origin - (method url-fetch) - (uri (crate-uri "sequoia-ipc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fgqjwaw9rz74y394i3n2a6y2vvy0214daamzswn5ahidhycm3x3")))) + (origin + (method url-fetch) + (uri (crate-uri "sequoia-ipc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h4b675m6r9r64ibv472fsyqkfh9xbx2wz4jaa4v01ivgsd7k3r1")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-buffered-reader" ,rust-buffered-reader-1) - ("rust-capnp-rpc" ,rust-capnp-rpc-0.14) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-ctor" ,rust-ctor-0.1) - ("rust-dirs" ,rust-dirs-4) - ("rust-fs2" ,rust-fs2-0.4) - ("rust-futures" ,rust-futures-0.3) - ("rust-lalrpop" ,rust-lalrpop-0.19) - ("rust-lalrpop-util" ,rust-lalrpop-util-0.19) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-memsec" ,rust-memsec-0.6) - ("rust-rand" ,rust-rand-0.8) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-3) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-tokio" ,rust-tokio-1)))) + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-buffered-reader" ,rust-buffered-reader-1) + ("rust-capnp-rpc" ,rust-capnp-rpc-0.19) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-ctor" ,rust-ctor-0.2) + ("rust-dirs" ,rust-dirs-5) + ("rust-fs2" ,rust-fs2-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-lalrpop" ,rust-lalrpop-0.17) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memsec" ,rust-memsec-0.5) + ("rust-rand" ,rust-rand-0.8) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tokio" ,rust-tokio-1)))) (native-inputs (list clang pkg-config)) (inputs (list nettle)) (home-page "https://sequoia-pgp.org/") (synopsis "Interprocess communication infrastructure for Sequoia") - (description "Interprocess communication infrastructure for Sequoia") + (description + "This package provides interprocess communication infrastructure for Sequoia.") (license license:lgpl2.0+))) -(define-public rust-sequoia-net-0.27 +(define-public rust-sequoia-keystore-0.2 (package - (name "rust-sequoia-net") - (version "0.27.0") - (source (origin - (method url-fetch) - (uri (crate-uri "sequoia-net" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gyk5765hi3s05l64a744f9a4vynfisja92l51az9dpqgfkiw3wn")))) + (name "rust-sequoia-keystore") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11rb2k5v2mc5nf2bafp78nydgcx4gizyxqa9b9lc3d1b73mqv2ad")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-base64" ,rust-base64-0.13) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-hyper-tls" ,rust-hyper-tls-0.5) - ("rust-libc" ,rust-libc-0.2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-capnp" ,rust-capnp-0.19) + ("rust-capnpc" ,rust-capnpc-0.19) + ("rust-dirs" ,rust-dirs-5) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-paste" ,rust-paste-1) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.33) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2) + ("rust-sequoia-keystore-softkeys" ,rust-sequoia-keystore-softkeys-0.2) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-tempfile" ,rust-tempfile-3) ("rust-thiserror" ,rust-thiserror-1) ("rust-tokio" ,rust-tokio-1) - ("rust-trust-dns-client" ,rust-trust-dns-client-0.22) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.22) - ("rust-url" ,rust-url-2) - ("rust-zbase32" ,rust-zbase32-0.1)) + ("rust-tokio-util" ,rust-tokio-util-0.7)) #:cargo-development-inputs - (("rust-hyper" ,rust-hyper-0.14) - ("rust-rand" ,rust-rand-0.8) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) + (("rust-dircpy" ,rust-dircpy-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-test-log" ,rust-test-log-0.2) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list capnproto clang pkg-config)) + (inputs (list nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Sequoia's private key store server") + (description "This package contains sequoia's private key store server.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-keystore-backend-0.2 + (package + (name "rust-sequoia-keystore-backend") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07v6rc27v0di2v59mixshhc4fkkf1ig0yqkzgqz0v2si4z8slv3s")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-blanket" ,rust-blanket-0.3) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) + (native-inputs (list clang pkg-config)) + (inputs (list nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Traits for private key store backends") + (description "This package contains traits for private key store backends.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-keystore-softkeys-0.2 + (package + (name "rust-sequoia-keystore-softkeys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-keystore-softkeys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "151f1ai0bxvab8fi314qcybilv4vq26gfdcs3yp7r28xqn9hldw0")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-dirs" ,rust-dirs-5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.2) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-test-log" ,rust-test-log-0.2) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (native-inputs (list clang pkg-config)) + (inputs (list nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "In-memory backend for Sequoia's private key store") + (description + "This package provides a soft key (in-memory key) backend for Sequoia's +private key store.") + (license license:lgpl2.0+))) + +(define-public rust-sequoia-net-0.28 + (package + (name "rust-sequoia-net") + (version "0.28.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-net" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jw1p8gwf505q6dh1281fl7kmh8mr1f4hswl5crrycwqlq5q3gva")))) + (build-system cargo-build-system) + (arguments + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.21) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hickory-client" ,rust-hickory-client-0.24) + ("rust-hickory-resolver" ,rust-hickory-resolver-0.24) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-tls" ,rust-hyper-tls-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2) + ("rust-z-base-32" ,rust-z-base-32-0.1)) + #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14) + ("rust-rand" ,rust-rand-0.8) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) (native-inputs (list clang pkg-config)) (inputs @@ -208,27 +342,23 @@ (define-public rust-sequoia-net-0.27 (define-public rust-sequoia-openpgp-1 (package (name "rust-sequoia-openpgp") - (version "1.16.0") + (version "1.19.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-openpgp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1z0xl7hnm1p51pyhwdqyzcnl2dhzfjnvssz7hi15ps1hk4zzzvrh")))) + (base32 "1x3d4yj8mhra8yhcxz6z73pb77pzk0zl1vgxx0yrimzk9b759wgb")))) (build-system cargo-build-system) - (native-inputs - (list clang pkg-config)) - (inputs - (list gmp nettle)) (arguments `(#:features '("crypto-nettle") #:cargo-test-flags (list "--release" "--" - ;; TODO: Figure out how this test is supposed to fail. - "--skip=parse::test::panic_on_short_zip") + "--skip=leak_tests::test_ed25519") #:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-aes-gcm" ,rust-aes-gcm-0.10) ("rust-anyhow" ,rust-anyhow-1) ("rust-base64" ,rust-base64-0.21) ("rust-block-padding" ,rust-block-padding-0.3) @@ -236,25 +366,26 @@ (define-public rust-sequoia-openpgp-1 ("rust-botan" ,rust-botan-0.10) ("rust-buffered-reader" ,rust-buffered-reader-1) ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-camellia" ,rust-camellia-0.1) ("rust-cast5" ,rust-cast5-0.11) ("rust-cfb-mode" ,rust-cfb-mode-0.8) ("rust-chrono" ,rust-chrono-0.4) ("rust-cipher" ,rust-cipher-0.4) ("rust-des" ,rust-des-0.8) ("rust-digest" ,rust-digest-0.10) + ("rust-dsa" ,rust-dsa-0.6) ("rust-dyn-clone" ,rust-dyn-clone-1) ("rust-eax" ,rust-eax-0.5) ("rust-ecb" ,rust-ecb-0.1) ("rust-ecdsa" ,rust-ecdsa-0.16) - ("rust-ed25519" ,rust-ed25519-1) - ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) + ("rust-ed25519" ,rust-ed25519-2) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-2) ("rust-flate2" ,rust-flate2-1) - ("rust-generic-array" ,rust-generic-array-0.14) ("rust-getrandom" ,rust-getrandom-0.2) ("rust-idea" ,rust-idea-0.5) - ("rust-idna" ,rust-idna-0.3) - ("rust-lalrpop" ,rust-lalrpop-0.19) - ("rust-lalrpop-util" ,rust-lalrpop-util-0.19) + ("rust-idna" ,rust-idna-0.5) + ("rust-lalrpop" ,rust-lalrpop-0.20) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.20) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-md-5" ,rust-md-5-0.10) @@ -265,29 +396,30 @@ (define-public rust-sequoia-openpgp-1 ("rust-openssl" ,rust-openssl-0.10) ("rust-openssl-sys" ,rust-openssl-sys-0.9) ("rust-p256" ,rust-p256-0.13) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand" ,rust-rand-0.7) ("rust-rand" ,rust-rand-0.8) ("rust-rand-core" ,rust-rand-core-0.6) ("rust-regex" ,rust-regex-1) - ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) ("rust-ripemd" ,rust-ripemd-0.1) ("rust-rsa" ,rust-rsa-0.9) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.2) + ("rust-sha1collisiondetection" ,rust-sha1collisiondetection-0.3) ("rust-sha2" ,rust-sha2-0.10) ("rust-thiserror" ,rust-thiserror-1) ("rust-twofish" ,rust-twofish-0.7) ("rust-typenum" ,rust-typenum-1) ("rust-win-crypto-ng" ,rust-win-crypto-ng-0.5) ("rust-winapi" ,rust-winapi-0.3) - ("rust-x25519-dalek-ng" ,rust-x25519-dalek-ng-1) + ("rust-x25519-dalek" ,rust-x25519-dalek-2) ("rust-xxhash-rust" ,rust-xxhash-rust-0.8)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) + (("rust-criterion" ,rust-criterion-0.5) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) - ("rust-rpassword" ,rust-rpassword-6)))) + ("rust-rpassword" ,rust-rpassword-7)))) + (native-inputs + (list clang pkg-config)) + (inputs + (list gmp nettle)) (home-page "https://sequoia-pgp.org/") (synopsis "OpenPGP data types and associated machinery") (description "This crate aims to provide a complete implementation of @@ -397,47 +529,43 @@ (define-public rust-sequoia-rfc2822-0.9 rules are rather complex. This crate implements the whole grammar." ) (license license:gpl3))) -(define-public rust-sequoia-wot-0.8 +(define-public rust-sequoia-wot-0.11 (package (name "rust-sequoia-wot") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "sequoia-wot" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rcp7ndjpdd4dkryhkkhakc8axbj93c1gr9qxxksdvrik803alfg")))) + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-wot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hb17adcqz357ci3d4v57pmywy4giq8591p1vb7p83h56zdk0sfi")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") - #:cargo-test-flags - (list "--release" "--" - ;; Not all files included. - "--skip=gpg_trust_roots") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-4) - ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-clap-mangen" ,rust-clap-mangen-0.2) - ("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-dot-writer" ,rust-dot-writer-0.1) - ("rust-enumber" ,rust-enumber-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.1) - ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.3) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-predicates" ,rust-predicates-2) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-tempfile" ,rust-tempfile-3)))) + #:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=gpg_trust_roots") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-dot-writer" ,rust-dot-writer-0.1) + ("rust-enumber" ,rust-enumber-0.3) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.5) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-predicates" ,rust-predicates-2) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3)))) (inputs (list nettle openssl sqlite)) (native-inputs @@ -450,22 +578,17 @@ (define-public rust-sequoia-wot-0.8 (define-public sequoia-sq (package (name "sequoia-sq") - (version "0.30.0") + (version "0.34.0") (source - (origin - (method url-fetch) - (uri (crate-uri "sequoia-sq" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0l3mlhvh93b8s1853gyzzfh1dznjdhbsbyxxcm3bbyxmkyr74wkd")))) + (origin + (method url-fetch) + (uri (crate-uri "sequoia-sq" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0394xr4wxf5ymc8difnih5s9dpw7rpz9b0n7nnp6782gw65ch6lx")))) (build-system cargo-build-system) - (inputs - (list nettle openssl sqlite)) - (native-inputs - (list clang pkg-config)) (arguments - `(#:tests? #f ; `(dyn std::fmt::Display + 'static)` cannot be sent between threads safely - #:install-source? #f + `(#:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-buffered-reader" ,rust-buffered-reader-1) @@ -473,27 +596,73 @@ (define-public sequoia-sq ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-clap-mangen" ,rust-clap-mangen-0.2) ("rust-dirs" ,rust-dirs-5) ("rust-dot-writer" ,rust-dot-writer-0.1) + ("rust-humantime" ,rust-humantime-2) + ("rust-indicatif" ,rust-indicatif-0.17) ("rust-itertools" ,rust-itertools-0.10) - ("rust-rpassword" ,rust-rpassword-6) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-roff" ,rust-roff-0.2) + ("rust-rpassword" ,rust-rpassword-7) ("rust-sequoia-autocrypt" ,rust-sequoia-autocrypt-0.25) - ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.3) - ("rust-sequoia-net" ,rust-sequoia-net-0.27) + ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.5) + ("rust-sequoia-keystore" ,rust-sequoia-keystore-0.2) + ("rust-sequoia-net" ,rust-sequoia-net-0.28) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-sequoia-wot" ,rust-sequoia-wot-0.8) + ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) + ("rust-sequoia-wot" ,rust-sequoia-wot-0.11) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-subplot-build" ,rust-subplot-build-0.7) ("rust-tempfile" ,rust-tempfile-3) - ("rust-term-size" ,rust-term-size-0.3) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-terminal-size" ,rust-terminal-size-0.2) + ("rust-textwrap" ,rust-textwrap-0.15) ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-dircpy" ,rust-dircpy-0.3) ("rust-fehler" ,rust-fehler-1) + ("rust-libc" ,rust-libc-0.2) ("rust-predicates" ,rust-predicates-2) - ("rust-subplotlib" ,rust-subplotlib-0.7)))) + ("rust-regex" ,rust-regex-1) + ("rust-subplotlib" ,rust-subplotlib-0.7)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-asset-out-dir + (lambda _ + (setenv "ASSET_OUT_DIR" "target/assets"))) + (add-after 'install 'install-more + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append out "/etc/bash_completion.d")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib")) + (man1 (string-append share "/man/man1"))) + ;; The completions are generated in build.rs. + (mkdir-p bash-completions-dir) + (mkdir-p elvish-completions-dir) + (for-each (lambda (file) + (install-file file man1)) + (find-files "target/assets/man-pages" "\\.1$")) + (copy-file "target/assets/shell-completions/sq.bash" + (string-append bash-completions-dir "/sq")) + (install-file "target/assets/shell-completions/_sq" + zsh-completions-dir) + (install-file "target/assets/shell-completions/sq.fish" + fish-completions-dir) + (copy-file "target/assets/shell-completions/sq.elv" + (string-append elvish-completions-dir "/sq")))))))) + (inputs + (list nettle openssl sqlite)) + (native-inputs + (list capnproto clang pkg-config)) (home-page "https://sequoia-pgp.org/") (synopsis "Command-line frontend for Sequoia OpenPGP") (description "This package provides the command-line frontend for Sequoia @@ -538,10 +707,10 @@ (define-public sequoia-sqv (define-public sequoia-wot (package - (inherit rust-sequoia-wot-0.8) + (inherit rust-sequoia-wot-0.11) (name "sequoia-wot") (arguments - (substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.8) + (substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.11) ((#:install-source? _ #t) #f) ((#:phases phases '%standard-phases) `(modify-phases ,phases @@ -553,14 +722,16 @@ (define-public sequoia-wot (for-each (lambda (file) (install-file file man1)) (find-files "target/release" "\\.1$")) - ;; TODO: Install _sq-wot.ps1, sq-wot.elv (mkdir-p (string-append out "/etc/bash_completion.d")) (mkdir-p (string-append share "/fish/vendor_completions.d")) + (mkdir-p (string-append share "/elvish/lib")) (copy-file (car (find-files "target/release" "sq-wot.bash")) (string-append out "/etc/bash_completion.d/sq-wot")) (copy-file (car (find-files "target/release" "sq-wot.fish")) (string-append share "/fish/vendor_completions.d/sq-wot.fish")) + (copy-file (car (find-files "target/release" "sq-wot.elv")) + (string-append share "/elvish/lib/sq-wot")) (install-file (car (find-files "target/release" "_sq-wot")) (string-append share "/zsh/site-functions"))))))))) @@ -573,7 +744,7 @@ (define-public sequoia-wot (define-public sequoia (package (name "sequoia") - (version "1.16.0") + (version "1.19.0") (source #f) (build-system trivial-build-system) (arguments diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 28d5670a1d..c416aaff5c 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2019, 2020, 2023 Janneke Nieuwenhuizen ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Ryan Prior -;;; Copyright © 2020, 2022 Efraim Flashner +;;; Copyright © 2020, 2022, 2024 Efraim Flashner ;;; Copyright © 2020, 2022 Marius Bakke ;;; Copyright © 2021, 2022 Nicolas Goaziou ;;; Copyright © 2021, 2022 Felix Gruber @@ -47,11 +47,14 @@ (define-module (gnu packages shells) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bison) + #:use-module (gnu packages c) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-apple) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-graphics) #: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 curl) @@ -1010,66 +1013,114 @@ (define-public gash-utils (define-public nushell (package (name "nushell") - (version "0.44.0") + (version "0.91.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/nushell/nushell") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (crate-uri "nu" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "122jlc766v7rpfrz1jwi89sw6jmz7lfnhnr059fhy763fzcvph9c")))) + (base32 "1zrw4jv57iwijd684vf43rw5sc9r0aq38shaizj96jqrgb8g9nja")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ;missing files + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included + "--skip=tests::test_config_path::test_alternate_config_path" + "--skip=tests::test_config_path::test_default_config_path" + "--skip=tests::test_config_path::test_default_config_path_symlinked_config_files" + "--skip=tests::test_config_path::test_default_symlink_config_path_broken_symlink_config_files" + "--skip=tests::test_config_path::test_default_symlinked_config_path_empty" + ;; Path not available inside build environment + "--skip=path::canonicalize::canonicalize_tilde" + "--skip=path::canonicalize::canonicalize_tilde_relative_to" + ;; could not get mutex lock: PoisonError { .. } + "--skip=plugins::config::closure" + "--skip=plugins::config::none" + "--skip=plugins::config::record" + "--skip=plugins::core_inc::by_one_with_field_passed" + "--skip=plugins::core_inc::by_one_with_no_field_passed" + "--skip=plugins::core_inc::chooses_highest_increment_if_given_more_than_one" + "--skip=plugins::core_inc::explicit_flag" + "--skip=plugins::core_inc::semversion_major_inc" + "--skip=plugins::core_inc::semversion_minor_inc" + "--skip=plugins::core_inc::semversion_patch_inc" + "--skip=plugins::core_inc::semversion_without_passing_field" + "--skip=plugins::custom_values::can_generate_and_updated_multiple_types_of_custom_values" + "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_instantly_collapse_it" + "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_pass_it_over" + "--skip=plugins::custom_values::can_get_custom_value_from_plugin_and_pass_it_over_as_an_argument" + "--skip=plugins::custom_values::can_get_describe_plugin_custom_values" + "--skip=plugins::custom_values::fails_if_passing_custom_values_across_plugins" + "--skip=plugins::custom_values::fails_if_passing_engine_custom_values_to_plugins" + "--skip=plugins::formats::eml::from_eml_get_another_header_field" + "--skip=plugins::formats::eml::from_eml_get_replyto_field" + "--skip=plugins::formats::eml::from_eml_get_subject_field" + "--skip=plugins::formats::eml::from_eml_get_to_field" + "--skip=plugins::formats::ics::from_ics_text_to_table" + "--skip=plugins::formats::ics::from_ics_text_with_linebreak_to_table" + "--skip=plugins::formats::ics::infers_types" + "--skip=plugins::formats::ini::parses_ini" + "--skip=plugins::formats::ini::parses_utf16_ini" + "--skip=plugins::formats::ini::read_ini_with_missing_session" + "--skip=plugins::formats::vcf::from_vcf_text_to_table" + "--skip=plugins::formats::vcf::from_vcf_text_with_linebreak_to_table" + "--skip=plugins::formats::vcf::infers_types" + "--skip=plugins::register::help" + "--skip=plugins::register::search_terms" + "--skip=plugins::stream::collect_external_accepts_list_of_binary" + "--skip=plugins::stream::collect_external_accepts_list_of_string" + "--skip=plugins::stream::collect_external_big_stream" + "--skip=plugins::stream::collect_external_produces_raw_input" + "--skip=plugins::stream::seq_big_stream" + "--skip=plugins::stream::seq_describe_no_collect_succeeds_without_error" + "--skip=plugins::stream::seq_produces_stream" + "--skip=plugins::stream::seq_stream_collects_to_correct_list" + "--skip=plugins::stream::sum_accepts_list_of_float" + "--skip=plugins::stream::sum_accepts_list_of_int" + "--skip=plugins::stream::sum_accepts_stream_of_float" + "--skip=plugins::stream::sum_accepts_stream_of_int" + "--skip=plugins::stream::sum_big_stream") #:features '("extra") + #:install-source? #f #:cargo-inputs - (("rust-ctrlc" ,rust-ctrlc-3) - ("rust-futures" ,rust-futures-0.3) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-mp4" ,rust-mp4-0.9) - ("rust-nu-cli" ,rust-nu-cli-0.44) - ("rust-nu-command" ,rust-nu-command-0.44) - ("rust-nu-completion" ,rust-nu-completion-0.44) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-engine" ,rust-nu-engine-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-parser" ,rust-nu-parser-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-nu-plugin-binaryview" ,rust-nu-plugin-binaryview-0.44) - ("rust-nu-plugin-chart" ,rust-nu-plugin-chart-0.44) - ("rust-nu-plugin-from-bson" ,rust-nu-plugin-from-bson-0.44) - ("rust-nu-plugin-from-sqlite" ,rust-nu-plugin-from-sqlite-0.44) - ("rust-nu-plugin-inc" ,rust-nu-plugin-inc-0.44) - ("rust-nu-plugin-match" ,rust-nu-plugin-match-0.44) - ("rust-nu-plugin-query-json" ,rust-nu-plugin-query-json-0.44) - ("rust-nu-plugin-s3" ,rust-nu-plugin-s3-0.44) - ("rust-nu-plugin-selector" ,rust-nu-plugin-selector-0.44) - ("rust-nu-plugin-start" ,rust-nu-plugin-start-0.44) - ("rust-nu-plugin-textview" ,rust-nu-plugin-textview-0.44) - ("rust-nu-plugin-to-bson" ,rust-nu-plugin-to-bson-0.44) - ("rust-nu-plugin-to-sqlite" ,rust-nu-plugin-to-sqlite-0.44) - ("rust-nu-plugin-tree" ,rust-nu-plugin-tree-0.44) - ("rust-nu-plugin-xpath" ,rust-nu-plugin-xpath-0.44)) + (("rust-crossterm" ,rust-crossterm-0.27) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-log" ,rust-log-0.4) + ("rust-miette" ,rust-miette-7) + ("rust-mimalloc" ,rust-mimalloc-0.1) + ("rust-nix" ,rust-nix-0.27) + ("rust-nu-cli" ,rust-nu-cli-0.91) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-cmd-dataframe" ,rust-nu-cmd-dataframe-0.91) + ("rust-nu-cmd-extra" ,rust-nu-cmd-extra-0.91) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-explore" ,rust-nu-explore-0.91) + ("rust-nu-lsp" ,rust-nu-lsp-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-plugin" ,rust-nu-plugin-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-std" ,rust-nu-std-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-reedline" ,rust-reedline-0.30) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simplelog" ,rust-simplelog-0.12) + ("rust-time" ,rust-time-0.3) + ("rust-winresource" ,rust-winresource-0.1)) #:cargo-development-inputs - (("rust-hamcrest2" ,rust-hamcrest2-0.3) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-rstest" ,rust-rstest-0.10) - ("rust-serial-test" ,rust-serial-test-0.5)))) - (native-inputs - (list pkg-config python)) - (inputs - (list curl - libgit2 - libx11 - libxcb - openssl - zlib)) + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-divan" ,rust-divan-0.1) + ("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list mimalloc openssl)) (home-page "https://www.nushell.sh") (synopsis "Shell with a structured approach to the command line") (description @@ -1082,8 +1133,33 @@ (define-public nushell of commands called a ``pipeline''.") (license license:expat))) +(define-public rust-nu-ansi-term-0.50 + (package + (name "rust-nu-ansi-term") + (version "0.50.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "057zhc62hcaxc73zfjwq7gir5bfilmx652hnh9krdp0babhh0a6x")))) + (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://github.com/nushell/nu-ansi-term") + (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.49 (package + (inherit rust-nu-ansi-term-0.50) (name "rust-nu-ansi-term") (version "0.49.0") (source @@ -1093,20 +1169,13 @@ (define-public rust-nu-ansi-term-0.49 (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))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-nu-ansi-term-0.46 (package @@ -1150,1063 +1219,803 @@ (define-public rust-nu-ansi-term-0.44 ("rust-serde" ,rust-serde-1) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-nu-cli-0.44 +(define-public rust-nu-cli-0.91 (package (name "rust-nu-cli") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-cli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p085vgkzrczdz6ana9bb4r9hrcjm1hgr8f3885ik6kjlwiy5ixa")))) + (base32 "1v7xz13n5gzhwkn4d8wq1v22zbdvfqd2zxnqf2q3k8cnnj51ql63")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ctrlc" ,rust-ctrlc-3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-nu-command" ,rust-nu-command-0.44) - ("rust-nu-completion" ,rust-nu-completion-0.44) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-engine" ,rust-nu-engine-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-parser" ,rust-nu-parser-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-stream" ,rust-nu-stream-0.44) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) - ("rust-rustyline" ,rust-rustyline-9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-shadow-rs" ,rust-shadow-rs-0.8) - ("rust-shadow-rs" ,rust-shadow-rs-0.8) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)))) - (home-page "https://www.nushell.sh") - (synopsis "CLI for nushell") - (description "CLI for nushell") + `(#:tests? #f ; 42 of 45 of the completions tests fail. + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-is-executable" ,rust-is-executable-1) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-miette" ,rust-miette-7) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-reedline" ,rust-reedline-0.30) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-which" ,rust-which-6)) + #:cargo-development-inputs + (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-rstest" ,rust-rstest-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-cli") + (synopsis "CLI-related functionality for Nushell") + (description "This package provides CLI-related functionality for Nushell.") (license license:expat))) -(define-public rust-nu-command-0.44 +(define-public rust-nu-cmd-base-0.91 + (package + (name "rust-nu-cmd-base") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i2bdvhl1qmpzrip4b45xr4vg0himfsi120xq5al9vs5y80x2lla")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-base") + (synopsis "Foundation tools to build Nushell commands") + (description + "This package provides the foundation tools to build Nushell commands.") + (license license:expat))) + +(define-public rust-nu-cmd-dataframe-0.91 + (package + (name "rust-nu-cmd-dataframe") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-dataframe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1avsx50kr0snbm62l91v7a7wfq05igv5aagwhczm1g4xdpl448x9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-num" ,rust-num-0.4) + ("rust-polars" ,rust-polars-0.37) + ("rust-polars-arrow" ,rust-polars-arrow-0.37) + ("rust-polars-io" ,rust-polars-io-0.37) + ("rust-polars-ops" ,rust-polars-ops-0.37) + ("rust-polars-plan" ,rust-polars-plan-0.37) + ("rust-polars-utils" ,rust-polars-utils-0.37) + ("rust-serde" ,rust-serde-1) + ("rust-sqlparser" ,rust-sqlparser-0.43)) + #:cargo-development-inputs (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-dataframe") + (synopsis "Nushell's dataframe commands based on polars") + (description + "This package contains nushell's dataframe commands based on polars.") + (license license:expat))) + +(define-public rust-nu-cmd-extra-0.91 + (package + (name "rust-nu-cmd-extra") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-extra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x905m6yci5n3ir89arq7vdvx0czqpjvr3j8i32f7bqh0z3jisc3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-heck" ,rust-heck-0.4) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rust-embed" ,rust-rust-embed-8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) + #:cargo-development-inputs + (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-extra") + (synopsis "Nushell's extra commands") + (description "This package contains nushell's extra commands that are not +part of the 1.0 api standard.") + (license license:expat))) + +(define-public rust-nu-cmd-lang-0.91 + (package + (name "rust-nu-cmd-lang") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-lang" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zwdw3y4jn6s6h41jnwljpj9cfyhr68av61idikjkhi7l6hygy5c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.12) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-shadow-rs" ,rust-shadow-rs-0.26)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-lang") + (synopsis "Nushell's core language commands") + (description "This package provides nushell's core language commands.") + (license license:expat))) + +(define-public rust-nu-color-config-0.91 + (package + (name "rust-nu-color-config") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-color-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "115bha7r4sy19w80vbbfc3av9g0pa1fcksdaqznm0yjlykv49czy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=style_computer::test_computable_style_closure_basic" + "--skip=style_computer::test_computable_style_closure_errors") + #:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-nu-test-support" ,rust-nu-test-support-0.91)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-color-config") + (synopsis "Color configuration code used by Nushell") + (description "This package contains color configuration code used by Nushell.") + (license license:expat))) + +(define-public rust-nu-command-0.91 (package (name "rust-nu-command") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-command" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h62df48z8vji10jsmpcfrgbr404kvsl1i3p5gns5gg9wscbpp8f")))) + (base32 "0jiz6bndkwfnhs4cc74am8krnhyb5kyq310nf7ma5038q6vqs8q9")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-calamine" ,rust-calamine-0.18) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-tz" ,rust-chrono-tz-0.5) - ("rust-crossterm" ,rust-crossterm-0.19) - ("rust-csv" ,rust-csv-1) - ("rust-ctrlc" ,rust-ctrlc-3) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-digest" ,rust-digest-0.9) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-dtparse" ,rust-dtparse-1) - ("rust-eml-parser" ,rust-eml-parser-0.1) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-filesize" ,rust-filesize-0.2) - ("rust-futures" ,rust-futures-0.3) - ("rust-glob" ,rust-glob-0.3) - ("rust-heck" ,rust-heck-0.4) - ("rust-htmlescape" ,rust-htmlescape-0.3) - ("rust-ical" ,rust-ical-0.7) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-meval" ,rust-meval-0.2) - ("rust-mime" ,rust-mime-0.3) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-engine" ,rust-nu-engine-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-json" ,rust-nu-json-0.44) - ("rust-nu-parser" ,rust-nu-parser-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-serde" ,rust-nu-serde-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-stream" ,rust-nu-stream-0.44) - ("rust-nu-table" ,rust-nu-table-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-format" ,rust-num-format-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-polars" ,rust-polars-0.17) - ("rust-quick-xml" ,rust-quick-xml-0.22) + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-alphanumeric-sort" ,rust-alphanumeric-sort-1) + ("rust-base64" ,rust-base64-0.21) + ("rust-bracoxide" ,rust-bracoxide-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-calamine" ,rust-calamine-0.24) + ("rust-chardetng" ,rust-chardetng-0.1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) + ("rust-chrono-tz" ,rust-chrono-tz-0.8) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-csv" ,rust-csv-1) + ("rust-dialoguer" ,rust-dialoguer-0.11) + ("rust-digest" ,rust-digest-0.10) + ("rust-dtparse" ,rust-dtparse-2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-filesize" ,rust-filesize-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-fs-extra" ,rust-fs-extra-1) + ("rust-human-date-parser" ,rust-human-date-parser-0.1) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-nix" ,rust-nix-0.27) + ("rust-notify-debouncer-full" ,rust-notify-debouncer-full-0.3) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.91) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-glob" ,rust-nu-glob-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-system" ,rust-nu-system-0.91) + ("rust-nu-table" ,rust-nu-table-0.91) + ("rust-nu-term-grid" ,rust-nu-term-grid-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-open" ,rust-open-5) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-pathdiff" ,rust-pathdiff-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-print-positions" ,rust-print-positions-0.6) + ("rust-procfs" ,rust-procfs-0.16) + ("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-roxmltree" ,rust-roxmltree-0.19) + ("rust-rusqlite" ,rust-rusqlite-0.31) + ("rust-same-file" ,rust-same-file-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-tabled" ,rust-tabled-0.14) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-titlecase" ,rust-titlecase-2) + ("rust-toml" ,rust-toml-0.8) + ("rust-trash" ,rust-trash-3) + ("rust-umask" ,rust-umask-2) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-ureq" ,rust-ureq-2) + ("rust-url" ,rust-url-2) + ("rust-uu-cp" ,rust-uu-cp-0.0.23) + ("rust-uu-mkdir" ,rust-uu-mkdir-0.0.23) + ("rust-uu-mktemp" ,rust-uu-mktemp-0.0.23) + ("rust-uu-mv" ,rust-uu-mv-0.0.23) + ("rust-uu-whoami" ,rust-uu-whoami-0.0.23) + ("rust-uuid" ,rust-uuid-1) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15) + ("rust-wax" ,rust-wax-0.6) + ("rust-which" ,rust-which-6) + ("rust-windows" ,rust-windows-0.52) + ("rust-winreg" ,rust-winreg-0.52)) + #:cargo-development-inputs + (("rust-dirs-next" ,rust-dirs-next-2) + ("rust-mockito" ,rust-mockito-1) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-quickcheck" ,rust-quickcheck-1) ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-roxmltree" ,rust-roxmltree-0.14) - ("rust-rust-embed" ,rust-rust-embed-5) - ("rust-rustyline" ,rust-rustyline-9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-ini" ,rust-serde-ini-0.2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-shadow-rs" ,rust-shadow-rs-0.8) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) - ("rust-sysinfo" ,rust-sysinfo-0.23) - ("rust-term" ,rust-term-0.7) - ("rust-term-size" ,rust-term-size-0.3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-titlecase" ,rust-titlecase-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-trash" ,rust-trash-2) - ("rust-umask" ,rust-umask-1) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-url" ,rust-url-2) - ("rust-users" ,rust-users-0.11) - ("rust-uuid" ,rust-uuid-0.8) - ("rust-which" ,rust-which-4) - ("rust-zip" ,rust-zip-0.5)))) - (home-page "https://www.nushell.sh") - (synopsis "CLI for nushell") - (description "CLI for nushell") + ("rust-rstest" ,rust-rstest-0.18)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-command") + (synopsis "Nushell's built-in commands") + (description "This package contains nushell's built-in commands.") (license license:expat))) -(define-public rust-nu-completion-0.44 - (package - (name "rust-nu-completion") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-completion" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pp3949cckivl57cqmcm5cc4pd6z8syyrbankk32vwlm0v4yly0q")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1) - ("rust-is-executable" ,rust-is-executable-1) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-engine" ,rust-nu-engine-0.44) - ("rust-nu-parser" ,rust-nu-parser-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44)))) - (home-page "https://www.nushell.sh") - (synopsis "Completions for nushell") - (description "Completions for nushell") - (license license:expat))) - -(define-public rust-nu-data-0.44 - (package - (name "rust-nu-data") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-data" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kjyp63fr18rym2xvfqpyw4z0z1j8ckf2aszfk1a4z0pj64w6bi6")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-byte-unit" ,rust-byte-unit-4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-common-path" ,rust-common-path-1) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-directories-next" ,rust-directories-next-2) - ("rust-getset" ,rust-getset-0.1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-table" ,rust-nu-table-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-format" ,rust-num-format-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-sys-locale" ,rust-sys-locale-0.1) - ("rust-toml" ,rust-toml-0.5)))) - (home-page "https://www.nushell.sh") - (synopsis "CLI for nushell") - (description "CLI for nushell") - (license license:expat))) - -(define-public rust-nu-engine-0.44 +(define-public rust-nu-engine-0.91 (package (name "rust-nu-engine") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-engine" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ry9x0ji4dikvd7vq4x9l1iqjwdhm80gcsvhfi7d0c26nvw8kpiz")))) + (base32 "0j4g3nhg9yw7nilnf3n1k4yfn5glmd3vbap1zxwzz24xw7ap62c7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-bytes" ,rust-bytes-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-codespan-reporting" ,rust-codespan-reporting-0.11) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-filesize" ,rust-filesize-0.2) - ("rust-fs-extra" ,rust-fs-extra-1) - ("rust-getset" ,rust-getset-0.1) - ("rust-glob" ,rust-glob-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-parser" ,rust-nu-parser-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-stream" ,rust-nu-stream-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-rayon" ,rust-rayon-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-term-size" ,rust-term-size-0.3) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-trash" ,rust-trash-2) - ("rust-umask" ,rust-umask-1) - ("rust-users" ,rust-users-0.11) - ("rust-which" ,rust-which-4)))) - (home-page "https://www.nushell.sh") - (synopsis "Core commands for nushell") - (description "Core commands for nushell") + `(#:cargo-inputs (("rust-nu-glob" ,rust-nu-glob-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-engine") + (synopsis "Nushell's evaluation engine") + (description "This package provides nushell's evaluation engine.") (license license:expat))) -(define-public rust-nu-errors-0.44 +(define-public rust-nu-explore-0.91 (package - (name "rust-nu-errors") - (version "0.44.0") + (name "rust-nu-explore") + (version "0.91.0") (source (origin (method url-fetch) - (uri (crate-uri "nu-errors" version)) + (uri (crate-uri "nu-explore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cd5rkqlhgab6hb1q31xqbrb0j9wbmwzp9z20rrsc59s5zajiivq")))) + (base32 "0j1xry4idjxrnyfz9l227s5hd82635dqc72gyw4zwq35izjrgqmm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-codespan-reporting" ,rust-codespan-reporting-0.11) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-getset" ,rust-getset-0.1) - ("rust-glob" ,rust-glob-0.3) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-toml" ,rust-toml-0.5)))) - (home-page "https://www.nushell.sh") - (synopsis "Core error subsystem for Nushell") - (description "Core error subsystem for Nushell") + `(#:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-json" ,rust-nu-json-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-table" ,rust-nu-table-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-ratatui" ,rust-ratatui-0.26) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-explore") + (synopsis "Nushell table pager") + (description "This package contains the nushell table pager.") (license license:expat))) -(define-public rust-nu-json-0.44 +(define-public rust-nu-glob-0.91 + (package + (name "rust-nu-glob") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "094jkfb7rlcl0dxs5gnw8x30zv75s372l72zsg1wmv8lblzbfybx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=test::test_iteration_errors") + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-glob") + (synopsis "Support for matching file paths against Unix shell style patterns") + (description + "This package provides support for matching file paths against Unix shell +style patterns.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-nu-json-0.91 (package (name "rust-nu-json") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-json" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vdp2brhiyvrkqd1127cixwdcqqmbhf7qha4jyx1ki4hh7w86l0b")))) + (base32 "1ga6kmmavd3rxjkk3j7jm6kjg2ny066a713ccca9nj0i9gbm6b1h")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://www.nushell.sh") - (synopsis "Fork of @code{serde-hjson}") - (description "This package is a fork of @code{serde-hjson}.") + `(#:cargo-inputs (("rust-linked-hash-map" ,rust-linked-hash-map-0.5) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-json") + (synopsis "Human JSON (Hjson) serialization file format") + (description "This crate is a Rust library for parsing and generating Human +JSON Hjson. It is built upon Serde, a high performance generic serialization +framework.") (license license:expat))) -(define-public rust-nu-parser-0.44 +(define-public rust-nu-lsp-0.91 + (package + (name "rust-nu-lsp") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-lsp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sj61lnw74jrd7az9b5367gk4qry06s783k5vqgjznx4nqvr80xj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=diagnostics::tests::publish_diagnostics_fixed_unknown_variable" + "--skip=diagnostics::tests::publish_diagnostics_variable_does_not_exists" + "--skip=notification::tests::hover_correct_documentation_on_let" + "--skip=notification::tests::hover_on_command_after_full_content_change" + "--skip=notification::tests::hover_on_command_after_partial_content_change" + "--skip=notification::tests::open_document_with_utf_char" + "--skip=tests::complete_command_with_space" + "--skip=tests::complete_command_with_utf_line" + "--skip=tests::complete_on_variable" + "--skip=tests::goto_definition_of_command" + "--skip=tests::goto_definition_of_command_parameter" + "--skip=tests::goto_definition_of_variable" + "--skip=tests::hover_on_command" + "--skip=tests::hover_on_variable") + #:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-lsp-server" ,rust-lsp-server-0.7) + ("rust-lsp-types" ,rust-lsp-types-0.95) + ("rust-miette" ,rust-miette-7) + ("rust-nu-cli" ,rust-nu-cli-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-reedline" ,rust-reedline-0.30) + ("rust-ropey" ,rust-ropey-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.91) + ("rust-nu-command" ,rust-nu-command-0.91) + ("rust-nu-test-support" ,rust-nu-test-support-0.91)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-lsp") + (synopsis "Nushell's integrated LSP server") + (description "This package contains nushell'e integrated LSP server.") + (license license:expat))) + +(define-public rust-nu-parser-0.91 (package (name "rust-nu-parser") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n4223kb9gnwmfhn4als68y1b2niw2zkl8wkra8622gm7p116xq6")))) + (base32 "110jgz6lr0bi6904k63yqbsrcgfrpn044j2xz9if8akprk4p5w4z")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-smart-default" ,rust-smart-default-0.6)))) - (home-page "https://www.nushell.sh") - (synopsis "Nushell parser") - (description "Nushell parser") + `(#:cargo-inputs (("rust-bytesize" ,rust-bytesize-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-plugin" ,rust-nu-plugin-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.18)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-parser") + (synopsis "Nushell's parser") + (description "This package contains nushell's parser") (license license:expat))) -(define-public rust-nu-path-0.44 +(define-public rust-nu-path-0.91 (package (name "rust-nu-path") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-path" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "069df6ikkaimcr1pjiycfr3ma6sjmb4ajmyxqdckckaqx4nj5wqk")))) + (base32 "146lm48vna9w5kr46dclqmzl1cbz5k7j1zz6jl8i6d83np4nn1sa")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-dirs-next" ,rust-dirs-next-2) ("rust-dunce" ,rust-dunce-1)))) - (home-page "https://www.nushell.sh") - (synopsis "Nushell parser") - (description "Nushell parser") + `(#:cargo-inputs (("rust-dirs-next" ,rust-dirs-next-2) + ("rust-omnipath" ,rust-omnipath-0.1) + ("rust-pwd" ,rust-pwd-1)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-path") + (synopsis "Path handling library for Nushell") + (description "This package provides path handling library for Nushell.") (license license:expat))) -(define-public rust-nu-plugin-0.44 +(define-public rust-nu-plugin-0.91 (package (name "rust-nu-plugin") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-plugin" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vs4f84krf859j9f9rqzggzq3i49gb84928l22ddshdsspynckmj")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://www.nushell.sh") - (synopsis "Nushell Plugin") - (description "Nushell Plugin") - (license license:expat))) - -(define-public rust-nu-plugin-binaryview-0.44 - (package - (name "rust-nu-plugin-binaryview") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_binaryview" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zk49hfp21akf6x7ml4b3h61y7jrj5i03zdmikci981idqm2fivm")))) + (base32 "054hmmz78njl6qhpcbbifip5r879ipa2j3y5ndlj588b9qaijvva")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossterm" ,rust-crossterm-0.19) - ("rust-image" ,rust-image-0.23) - ("rust-neso" ,rust-neso-0.5) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-rawkey" ,rust-rawkey-0.1)))) - (home-page "https://www.nushell.sh") - (synopsis "Binary viewer plugin for Nushell") + `(#:cargo-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-log" ,rust-log-0.4) + ("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-typetag" ,rust-typetag-0.2)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-plugin") + (synopsis "Functionality for building Nushell plugins") (description - "This package provides a binary viewer plugin for Nushell.") + "This package contains functionality for building Nushell plugins.") (license license:expat))) -(define-public rust-nu-plugin-chart-0.44 - (package - (name "rust-nu-plugin-chart") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_chart" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05nv8c1650w8bh71s7yl35ybbjky6b4vdwkw0ywanhm1nqziva7s")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossterm" ,rust-crossterm-0.19) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-tui" ,rust-tui-0.15)))) - (home-page "https://www.nushell.sh") - (synopsis "Plugin to display charts") - (description - "This package provides a plugin to display charts in Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-from-bson-0.44 - (package - (name "rust-nu-plugin-from-bson") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_from_bson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hmkqiqyqiin80fmlb31r6dgpif8r9nlda4w8ihzjflsbxnmp6wd")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-bson" ,rust-bson-2) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44)))) - (home-page "https://www.nushell.sh") - (synopsis "Converter plugin to the bson format for Nushell") - (description - "This package provides a converter plugin to the bson format for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-from-sqlite-0.44 - (package - (name "rust-nu-plugin-from-sqlite") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_from_sqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11dirmm78n6jwsq8qihx3sbjfa0j7s9ffl1j03v8f4zzfvsypxxb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-rusqlite" ,rust-rusqlite-0.26) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://www.nushell.sh") - (synopsis "Converter plugin to the bson format for Nushell") - (description - "This package provides a converter plugin to the bson format for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-inc-0.44 - (package - (name "rust-nu-plugin-inc") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_inc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gyj54ip1nl68rav3h78sjljh826cp71khmjsbsvyphhgdm1kbhw")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-test-support" ,rust-nu-test-support-0.44) - ("rust-nu-value-ext" ,rust-nu-value-ext-0.44) - ("rust-semver" ,rust-semver-0.11)))) - (home-page "https://www.nushell.sh") - (synopsis "Version incrementer plugin for Nushell") - (description - "This package provides a version incrementer plugin for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-match-0.44 - (package - (name "rust-nu-plugin-match") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_match" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hbs9h28qwwd8i3rb2klx2xmgcxs6l92x9dbmjx3bl85wmjk2skm")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://www.nushell.sh") - (synopsis "Regex match plugin for Nushell") - (description - "This package provides a regex match plugin for Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-query-json-0.44 - (package - (name "rust-nu-plugin-query-json") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_query_json" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yzcgm8sqzgr55hdcpzqrdfjc0yhz95qqpxyscm8cm6xw59ib0z2")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gjson" ,rust-gjson-0.8) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44)))) - (home-page "https://www.nushell.sh") - (synopsis "Query JSON files with Gjson") - (description "query json files with gjson") - (license license:expat))) - -(define-public rust-nu-plugin-s3-0.44 - (package - (name "rust-nu-plugin-s3") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_s3" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ims4p3z48ja8ygkhcbq1a506hp8ry3ipdpgv9j7iqi833g0vgjl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-s3handler" ,rust-s3handler-0.7)))) - (home-page "https://www.nushell.sh") - (synopsis "S3 plugin for Nushell") - (description "This package is an S3 plugin for Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-selector-0.44 - (package - (name "rust-nu-plugin-selector") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_selector" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ni51yr1vndjf7c9qmvrc23nn3csv5jy14bwd8kxd5b7648aidsy")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-scraper" ,rust-scraper-0.12)))) - (home-page "https://www.nushell.sh") - (synopsis "Web scraping using CSS selector") - (description - "This package provides web scraping using CSS selector.") - (license license:expat))) - -(define-public rust-nu-plugin-start-0.44 - (package - (name "rust-nu-plugin-start") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_start" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "028pb15y5dyywc84h79kdf0hz9l1m37djly8jhrcbj6v55x3k9h6")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-glob" ,rust-glob-0.3) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-open" ,rust-open-1) - ("rust-url" ,rust-url-2) - ("rust-webbrowser" ,rust-webbrowser-0.5)))) - (home-page "https://www.nushell.sh") - (synopsis "Plugin to open files/URLs directly from Nushell") - (description - "This package provides a plugin to open files/URLs directly from -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-textview-0.44 - (package - (name "rust-nu-plugin-textview") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_textview" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17amhjvx1jfdz98jiavhnn18263f3hg3is7x0rkdzddng0abzpc7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bat" ,rust-bat-0.18) - ("rust-nu-data" ,rust-nu-data-0.44) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-term-size" ,rust-term-size-0.3) - ("rust-url" ,rust-url-2)))) - (home-page "https://www.nushell.sh") - (synopsis "Text viewer plugin for Nushell") - (description "This package provides a text viewer plugin for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-to-bson-0.44 - (package - (name "rust-nu-plugin-to-bson") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_to_bson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "003x90qshcn7yv86zaw449akqvi4vz78s05g0qcgrfxgvpn7vdch")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bson" ,rust-bson-2) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://www.nushell.sh") - (synopsis "Converter plugin to the bson format for Nushell") - (description - "This package provides a converter plugin to the bson format for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-to-sqlite-0.44 - (package - (name "rust-nu-plugin-to-sqlite") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_to_sqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06d93a5xgssvxrbvcv12b9jwh9xwl6sz6admbpxnk9r78lpgfdaj")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hex" ,rust-hex-0.4) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-rusqlite" ,rust-rusqlite-0.26) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://www.nushell.sh") - (synopsis "Converter plugin to the bson format for Nushell") - (description - "This package provides a converter plugin to the bson format for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-tree-0.44 - (package - (name "rust-nu-plugin-tree") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_tree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "089mp7spa0fcxm45njmjcab685cv30jb0b3kkgvjp8ywwakyy8lb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-derive-new" ,rust-derive-new-0.5) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-ptree" ,rust-ptree-0.4)))) - (home-page "https://www.nushell.sh") - (synopsis "Tree viewer plugin for Nushell") - (description "This package provides a tree viewer plugin for -Nushell.") - (license license:expat))) - -(define-public rust-nu-plugin-xpath-0.44 - (package - (name "rust-nu-plugin-xpath") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu_plugin_xpath" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18qbhibn9pz9hnilqzv2g1s51fmlwpm60ma2r6qjsa5pcy9x12dh")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-plugin" ,rust-nu-plugin-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-sxd-document" ,rust-sxd-document-0.3) - ("rust-sxd-xpath" ,rust-sxd-xpath-0.4)))) - (home-page "https://www.nushell.sh") - (synopsis "Traverses XML") - (description "Traverses XML") - (license license:expat))) - -(define-public rust-nu-pretty-hex-0.44 +(define-public rust-nu-pretty-hex-0.91 (package (name "rust-nu-pretty-hex") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-pretty-hex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dizakbxm2c6vpjy5brqbjhk8m7lr7wammibb1vr8nq85aazrj5r")))) + (base32 "1iq8amp5hqf2xxp5n74l5sgqv2bj204zwbjcnarhy88ijzjicrl6")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-heapless" ,rust-heapless-0.7) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://www.nushell.sh") + `(#:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50)) + #:cargo-development-inputs + (("rust-heapless" ,rust-heapless-0.8) + ("rust-rand" ,rust-rand-0.8)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-pretty-hex") (synopsis "Pretty hex dump of bytes slice in the common style") (description - "This crate provides pretty hex dump of bytes slice in the common -style.") + "This package provides pretty hex dump of bytes slice in the common style.") (license license:expat))) -(define-public rust-nu-protocol-0.44 +(define-public rust-nu-protocol-0.91 (package (name "rust-nu-protocol") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-protocol" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r6cnrqsq3qx3132w0p78262vql1bk446ynnfjsiffd07rmba2f7")))) + (base32 "0h6ikglmx79w5izcb7jv66s7cdsq6302pgwzyjyaxyw8jyprvx2g")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-byte-unit" ,rust-byte-unit-4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-getset" ,rust-getset-0.1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("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-polars" ,rust-polars-0.17) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) - (home-page "https://www.nushell.sh") - (synopsis "Core values and protocols for Nushell") - (description "Core values and protocols for Nushell") - (license license:expat))) - -(define-public rust-nu-serde-0.44 - (package - (name "rust-nu-serde") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-serde" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "190lid6jqgrb50qzqk849hg44rcn392qbppdm8zhgy732fsjb2j4")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-insta" ,rust-insta-1) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://www.nushell.sh") - (synopsis "Turn any value into a @code{nu-protocol::Value} with Serde") + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=config_add_unsupported_key" + "--skip=config_add_unsupported_type" + "--skip=config_add_unsupported_value" + "--skip=config_affected_when_deep_mutated" + "--skip=config_affected_when_mutated" + "--skip=config_is_mutable" + "--skip=config_preserved_after_do" + "--skip=fancy_default_errors" + "--skip=filesize_format_auto_metric_false" + "--skip=filesize_format_auto_metric_true" + "--skip=filesize_metric_false" + "--skip=filesize_metric_overrides_format" + "--skip=filesize_metric_true" + "--skip=narratable_errors" + "--skip=plugins") + #:cargo-inputs (("rust-byte-unit" ,rust-byte-unit-5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) + ("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-lru" ,rust-lru-0.12) + ("rust-miette" ,rust-miette-7) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-system" ,rust-nu-system-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-typetag" ,rust-typetag-0.2)) + #:cargo-development-inputs + (("rust-nu-test-support" ,rust-nu-test-support-0.91) + ("rust-rstest" ,rust-rstest-0.18) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.26)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-protocol") + (synopsis "Nushell's internal protocols, including its abstract syntax tree") (description - "This crate turns any value into a @code{nu-protocol::Value} with -Serde.") + "This package provides nushell's internal protocols, including its abstract +syntax tree.") (license license:expat))) -(define-public rust-nu-source-0.44 +(define-public rust-nu-std-0.91 (package - (name "rust-nu-source") - (version "0.44.0") + (name "rust-nu-std") + (version "0.91.0") (source (origin (method url-fetch) - (uri (crate-uri "nu-source" version)) + (uri (crate-uri "nu-std" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04w4s4yk5byy5mmrhvcbcvf179vjmb9pa2jch5vgl6rckipzd31l")))) + (base32 "1igdid80qbfgqdmcg6szq2rsi7i5qlyhplw74byh81vkqsn5z74w")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-derive-new" ,rust-derive-new-0.5) - ("rust-getset" ,rust-getset-0.1) - ("rust-pretty" ,rust-pretty-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-termcolor" ,rust-termcolor-1)))) - (home-page "https://www.nushell.sh") - (synopsis "Source string characterizer for Nushell") - (description - "This package provides a source string characterizer for -Nushell.") + `(#:cargo-inputs (("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-parser" ,rust-nu-parser-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-std") + (synopsis "Standard library of Nushell") + (description "This package provides the standard library of Nushell.") (license license:expat))) -(define-public rust-nu-stream-0.44 +(define-public rust-nu-system-0.91 (package - (name "rust-nu-stream") - (version "0.44.0") + (name "rust-nu-system") + (version "0.91.0") (source (origin (method url-fetch) - (uri (crate-uri "nu-stream" version)) + (uri (crate-uri "nu-system" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14fs2dqa4papd48zil35901z4sc0p15dga96jbrsbhimk85g0gba")))) + (base32 "1jq87rjbmgpkf2cr2ajfs12f3wzpsh43m0drmrgj7b8lk2g6q9by")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44)))) - (home-page "https://www.nushell.sh") - (synopsis "Nushell stream") - (description "This package provides Nushell stream.") + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-libproc" ,rust-libproc-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-nix" ,rust-nix-0.27) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-procfs" ,rust-procfs-0.16) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-windows" ,rust-windows-0.52)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-system") + (synopsis "Nushell system querying") + (description "Nushell system querying") (license license:expat))) -(define-public rust-nu-table-0.44 +(define-public rust-nu-table-0.91 (package (name "rust-nu-table") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-table" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lk2cr8k0wbh5ya42ldz129yzfpqibzvjqy1bkpccfh2lf9n01g2")))) + (base32 "0r3b0lvkmjfkkcpxq6pls0sc5jp08a25ykfi0hifn0lsb9nady9m")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.44) - ("rust-regex" ,rust-regex-1) - ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) - ("rust-unicode-width" ,rust-unicode-width-0.1)))) - (home-page "https://www.nushell.sh") + `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.13) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-color-config" ,rust-nu-color-config-0.91) + ("rust-nu-engine" ,rust-nu-engine-0.91) + ("rust-nu-protocol" ,rust-nu-protocol-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-tabled" ,rust-tabled-0.14)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-table") (synopsis "Nushell table printing") - (description "Nushell table printing") + (description "This package provides nushell table printing.") (license license:expat))) -(define-public rust-nu-test-support-0.44 +(define-public rust-nu-term-grid-0.91 + (package + (name "rust-nu-term-grid") + (version "0.91.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-term-grid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12f0i7m6flpkf1valkjfg6chalifpb65cknq91p22sii4dx0x89r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-term-grid") + (synopsis "Nushell grid printing") + (description "This package provides nushell grid printing.") + (license license:expat))) + +(define-public rust-nu-test-support-0.91 (package (name "rust-nu-test-support") - (version "0.44.0") + (version "0.91.0") (source (origin (method url-fetch) (uri (crate-uri "nu-test-support" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fjaczf05lzs77f1chif11085xy2yklw2lzl0vz0sdzzkll1r374")))) + (base32 "146ncw3318hcbhb7cpz3bdz0ypd8x4cpzhhl0q55r2mxxci7ik38")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bigdecimal" ,rust-bigdecimal-0.3) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-getset" ,rust-getset-0.1) - ("rust-glob" ,rust-glob-0.3) - ("rust-hamcrest2" ,rust-hamcrest2-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-path" ,rust-nu-path-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://www.nushell.sh") + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=playground::tests::current_working_directory_back_to_root_from_anywhere" + "--skip=playground::tests::current_working_directory_in_sandbox_directory_created") + #:cargo-inputs (("rust-hamcrest2" ,rust-hamcrest2-0.3) + ("rust-nu-glob" ,rust-nu-glob-0.91) + ("rust-nu-path" ,rust-nu-path-0.91) + ("rust-nu-utils" ,rust-nu-utils-0.91) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-6)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-test-support") (synopsis "Support for writing Nushell tests") - (description "This package provides support for writing Nushell -tests.") + (description "This package contains support for writing Nushell tests.") (license license:expat))) -(define-public rust-nu-value-ext-0.44 +(define-public rust-nu-utils-0.91 (package - (name "rust-nu-value-ext") - (version "0.44.0") + (name "rust-nu-utils") + (version "0.91.0") (source (origin (method url-fetch) - (uri (crate-uri "nu-value-ext" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "nu-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ag5y6qfj53w6skyb0vhwhxiykvpmz5izpgxnbz5r0i0bdscrmdy")))) + (base32 "0xlnhli0zmv4nxznmjb2azq62ywq252zqvpx4668xv70japd74ag")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-nu-errors" ,rust-nu-errors-0.44) - ("rust-nu-protocol" ,rust-nu-protocol-0.44) - ("rust-nu-source" ,rust-nu-source-0.44) - ("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://www.nushell.sh") - (synopsis "@code{Extension} traits for values in Nushell") - (description - "This package provides @code{Extension} traits for values in -Nushell.") + `(#:cargo-inputs (("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-sys-locale" ,rust-sys-locale-0.3) + ("rust-unicase" ,rust-unicase-2)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-utils") + (synopsis "Nushell utility functions") + (description "This package contains utility functions for nushell.") (license license:expat))) + diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 18d3df5b6e..f7a6cea697 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner +;;; Copyright © 2016, 2017, 2019-2024 Efraim Flashner ;;; Copyright © 2018, 2019, 2021 Tobias Geerinckx-Rice ;;; Copyright © 2020, 2023 Vinicius Monego ;;; Copyright © 2021 Felix Gruber @@ -224,14 +224,14 @@ (define-public giara (define-public newsboat (package (name "newsboat") - (version "2.34") + (version "2.35") (source (origin (method url-fetch) (uri (string-append "https://newsboat.org/releases/" version "/newsboat-" version ".tar.xz")) (sha256 - (base32 "0kj3qbm3881fkrplvgnng4747bh29a8f2hhm7a2gc1n9n0wvbmvk")))) + (base32 "1i5nil0lwa621ixxp1vwkic56sxsqp46pyq1xw7lrr1qrbv07w7l")))) (build-system cargo-build-system) (native-inputs `(("gettext" ,gettext-minimal) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 3267a541a1..cf7f7b0ad8 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1635,7 +1635,12 @@ (define-public stgit-2 (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj")))) + (base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* (find-files "." "^Cargo\\.toml$") + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 62328ca868..e406e6e968 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -468,24 +468,24 @@ (define-public ablorb (define-public monolith (package (name "monolith") - (version "2.7.0") + (version "2.8.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/Y2Z/monolith.git") + (url "https://github.com/Y2Z/monolith") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0ccwjsp8gdgp0wafc3zvlfmx3f58axc1k1ac80qha3g60xccqn56")))) + (base32 "0xr63302yb5k9c2sihd1iy97j5c44d4jrzfaiwm81d9li577ih58")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-base64" ,rust-base64-0.13) + ("rust-base64" ,rust-base64-0.21) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-3) - ("rust-cssparser" ,rust-cssparser-0.29) + ("rust-cssparser" ,rust-cssparser-0.33) ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-html5ever" ,rust-html5ever-0.24) ("rust-percent-encoding" ,rust-percent-encoding-2) diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm index 70ddf063d2..48c5f9d4bf 100644 --- a/guix/build/cargo-build-system.scm +++ b/guix/build/cargo-build-system.scm @@ -219,6 +219,7 @@ (define* (configure #:key inputs (setenv "LIBGIT2_SYS_USE_PKG_CONFIG" "1") (setenv "LIBSSH2_SYS_USE_PKG_CONFIG" "1") + (setenv "ZSTD_SYS_USE_PKG_CONFIG" "1") (when (assoc-ref inputs "openssl") (setenv "OPENSSL_DIR" (assoc-ref inputs "openssl"))) (when (assoc-ref inputs "gettext")